package
0.79.0-preview.4
Repository: https://github.com/vegaprotocol/vega.git
Documentation: pkg.go.dev
# Functions
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
CheckEthereumConfig verifies the proto.EthereumConfig is valid.
CheckEthereumConfig verifies the proto.EthereumConfig is valid.
CheckEthereumConfig verifies the proto.EthereumConfig is valid.
CheckEVMChainConfig verifies the proto.EVMChainConfig is valid.
No description provided by the author
No description provided by the author
CheckUntypedEthereumConfig verifies the `v` parameter is a proto.EthereumConfig struct and check if it's valid.
No description provided by the author
CheckUntypedEVMChainConfig verifies the `v` parameter is a proto.EVMChainConfig struct and check if it's valid.
No description provided by the author
CheckEthereumConfig verifies the proto.EthereumConfig is valid.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
GetNodeKey is a utility function, we don't want this mess scattered throughout the code.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
KeyFromPayload is useful in snapshot engine, used by the Payload type, too.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
NewFee returns a new fee object, with all fields initialised.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
SnapshotFromTree traverses the given avl tree and represents it as a Snapshot.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Constants
Reward account for average notional metric.
This account is created to maintain liquidity providers funds commitments.
Account for buy back fees.
Account for eligible entities rewards.
External account represents an external source (deposit/withdrawal).
Infrastructure accounts contain fees earned by providing infrastructure on Vega.
Liquidity accounts contain fees earned by providing liquidity on Vega markets.
This account is created to hold fees earned by placing orders that sit on the book and are then matched with an incoming order to create a trade - These fees reward parties who provide the best priced liquidity that actually allows trading to take place.
General accounts contains general funds for a party.
Global insurance account for the asset.
Global reward accounts contain rewards per asset.
Market account for holding in-flight spot passive orders funds.
Insurance pool accounts contain insurance pool funds for a market.
No description provided by the author
Asset account for received LP fees.
Market account per LP to receive liquidity fees.
Asset account for paid taker fees.
Asset account for received maker fees.
Margin accounts contain margin funds for a party and each party will have multiple margin accounts, one for each market they have traded in
Margin account funds will alter as margin requirements on positions change.
Asset account for market proposers.
Per asset network treasury.
Margin account for isolated margin mode.
Account for pending fee referral rewards.
Global account to hold pending transfers.
Account for realised return rewards.
Reward account for relative return metric.
Reward account for return volatility metric.
Settlement accounts exist only during settlement or mark-to-market.
Default value.
Reward account for validator ranking metric.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
AssetStatusEnabled states the asset is fully usable in the network.
AssetStatusPendingListing states the asset is pending listing from the bridge.
AssetStatusProposed states the asset is proposed and under vote.
AssetStatusRejected states the asset has been rejected from governance.
AssetStatusUnspecified is the default value, always invalid.
AuctionTriggerAutomatedPurchase for market auction for automated purchase.
Batch auction.
Governance triggered auction.
Liquidity monitoring due to unmet target trigger.
AuctionTriggerLongBlock for market suspension due to a long block.
Opening auction.
Price monitoring trigger.
AuctionTriggerUnableToDeployLPOrders legacy liquidity provision supports.
Default value for AuctionTrigger, no auction triggered.
No description provided by the author
No description provided by the author
pseudo-checkpoint, really...
No description provided by the author
No description provided by the author
No description provided by the author
Mark price calculated as the last trade price.
Mark price calculated as the median of underlying mark prices.
Mark price calculated as the weighted average of underlying mark prices.
Default value, this is invalid.
No description provided by the author
No description provided by the author
DepositStatusCancelled The deposit has been cancelled or failed to be verified by the network.
DepositStatusDuplicateRejected The deposit was rejected as a duplicate.
DepositStatusFinalized The deposit has been finalised and accounts have been updated.
DepositStatusOpen The deposit is being processed by the network.
DepositStatusUnspecified Default value, always invalid.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
aim for 10MB.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
LiquidityProvisionStatusActive The liquidity provision is active.
LiquidityProvisionStatusCancelled The liquidity provision was cancelled by the liquidity provider.
LiquidityProvisionStatusPending The liquidity provision is valid and accepted by network but have never been deployed.
LiquidityProvisionStatusRejected The liquidity provision was invalid and got rejected.
LiquidityProvisionStatusStopped The liquidity provision was stopped by the network.
LiquidityProvisionStatusUndeployed The liquidity provision is valid and accepted by network, but orders aren't deployed.
LiquidityProvisionUnspecified The default value.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
LossTypeFunding indicates loss socialisation occurred during funding payments.
LossTypeSettlement indicates loss socialisation occurred during MTM or final settlement.
LossTypeUnspecified is the default value.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Enactment date reached and usual auction exit checks pass.
Market triggers cancellation condition or governance votes to close before market becomes Active.
Governance vote (to close).
Governance vote passes/wins.
The Governance proposal valid and accepted.
Outcome of governance votes is to reject the market.
Settlement triggered and completed as defined by product.
Price monitoring or liquidity monitoring trigger.
Market has been suspended via a governance proposal.
Defined by the product (i.e.
Default value, invalid.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Automated purchase auction.
Auction trading (FBA).
Normal trading.
Long block auction.
Auction triggered by monitoring.
No trading allowed.
Opening auction.
Special auction mode for market suspended via governance.
Default value, this is invalid.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
technically 16 * 1024 * 1024, but you know.
No description provided by the author
No description provided by the author
No description provided by the author
some constants we're relying on in multiple places.
NodeSignatureKindAssetNew represents a signature for a new asset allow-listing.
NodeSignatureKindAssetUpdate represents a signature for an asset update allow-listing.
Represents a signature for an asset withdrawal.
No description provided by the author
No description provided by the author
NodeSignatureKindUnspecified represents an unspecified or missing value from the input.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Amend failure because amend details do not match original order.
Buy pegged order cannot reference best ask price.
Amending from GFA or GFN is invalid.
Cannot amend a non pegged orders details.
Amending to FOK or IOC is invalid.
Amending to GFA or GFN is invalid.
Attempt to amend order to GTT without ExpiryAt.
Attempt to amend to GTC without an ExpiryAt value.
FOK orders are not allowed during auction.
A GFN order has got to the market when it is in auction mode.
IOC orders are not allowed during auction.
Order amend was submitted for an order field that cannot not be amended (e.g.
Attempt to amend ExpiryAt to a value before CreatedAt.
A GFA order has got to the market when it is in continuous trading mode.
Order was submitted with an incorrect or invalid market type.
The party has an insufficient balance, or does not have a general account to submit the order (no deposits made for the required asset).
Order was submitted, but the party did not have enough collateral to cover the fees for the order.
Unspecified internal error.
An order with `TimeInForce.TIME_IN_FORCE_GTT` was submitted or amended with an expiration that was badly formatted or otherwise invalid.
Order was submitted for a market that does not exist.
Order was submitted with an invalid identifier.
Order was submitted or amended with an invalid reference field.
Order was submitted with an invalid or missing party identifier.
Order was submitted with an invalid persistence for its type.
Order was amended with an invalid remaining size (e.g.
Order was submitted with an invalid or missing size (e.g.
Order was submitted with invalid time in force.
Order was submitted with an invalid type field.
No description provided by the author
Order was submitted, but the party did not have enough collateral to cover the order.
Order was submitted for a market that has closed.
Order was submitted, but the party did not have an account for this asset.
Pegged orders can only have TIF GTC or GTT.
Pegged orders must be LIMIT orders.
An FOK, IOC, or GFN order was rejected because it resulted in trades outside the price bounds.
Order not found in an order book or store.
Pegged order offset must be >= 0.
Pegged order offset must be > zero.
Order was amended with a sequence number that was not previous version + 1.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Failed to remove an order from the book.
Order was stopped as it would have traded with another order submitted from the same party.
Sell pegged order cannot reference best bid price.
No description provided by the author
Node was unable to get Vega (blockchain) time.
Unable to submit pegged order, temporarily too many pegged orders across all markets.
It is not possible to amend the price of an existing pegged order.
We are unable to re-price a pegged order because a market price is unavailable.
Default value, no error reported.
Pegged order must have a reference price.
Used for active unfilled or partially filled orders.
Used for orders cancelled by the party that created the order.
Used for expired GTT orders.
Used for closed fully filled orders.
Order has been removed from the order book and has been parked, this applies to pegged orders only.
Used for closed partially filled IOC orders.
Used for orders when not enough collateral was available to fill the margin requirements.
Used for unfilled FOK or IOC orders, and for orders that were stopped by the network.
Default value, always invalid.
Fill or kill.
Good for auction.
Good for normal.
Good until cancelled.
Good until specified time.
Immediate or cancel.
Default value for TimeInForce, can be valid for an amend.
Used for Limit orders.
Used for Market orders.
Used for orders where the initiating party is the network (with distressed traders).
Default value, always invalid.
No description provided by the author
Best ask price reference.
Best bid price reference.
Mid price reference.
Default value for PeggedReference, no reference given.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
used on updates, if the product is not set.
ProporsalErrorFailedGovernanceTransfer governance transfer failed.
ProporsalErrorFailedGovernanceTransferCancel governance transfer cancellation is invalid.
ProporsalErrorInvalidGovernanceTransfer governance transfer invalid.
ProposalErrorCloseTimeTooLate The specified close time is too late based on network parameters.
ProposalErrorCloseTimeTooSoon The specified close time is too early base on network parameters.
ProposalErrorCouldNotInstantiateMarket Market proposal market could not be instantiated during execution.
ProposalErrorEnactTimeTooLate The specified enact time is too late based on network parameters.
ProposalErrorEnactTimeTooSoon The specified enact time is too early based on network parameters.
ProposalErrorERC20AddressAlreadyInUse the proposal uses a erc20 address already used by another asset.
ProposalErrorIncompatibleTimestamps Proposal terms timestamps are not compatible (Validation < Closing < Enactment).
ProposalErrorInsufficientEquityLikeShare The party doesn't have enough equity-like share to propose an update on the market targeted by the proposal.
ProposalErrorInsufficientTokens The proposer for this proposal as insufficient tokens.
ProposalErrorInvalidAsset The asset identifier is invalid or does not exist on the Vega network.
ProposalErrorInvalidAssetDetails Asset proposal invalid asset details.
ProposalErrorInvalidAutomatedPurchase is returned when the automated purchase proposal in invalid.
ProposalErrorInvalidFreeform Validation failed for freeform proposal.
ProposalErrorInvalidFutureProduct Market proposal market contained invalid product definition.
ProposalErrorInvalidMarket The market targeted by the proposal does not exist or is not eligible to modification.
ProposalErrorInvalidPerpsProduct Market proposal market contained invalid product definition.
ProposalErrorInvalidReferralProgram is returned when the referral program proposal is not valid.
ProposalErrorInvalidRiskParameter Market proposal invalid risk parameter.
ProposalErrorInvalidSizeDecimalPlaces is returned in spot market when the proposed position decimal places is > base asset decimal places.
ProposalErrorMissingSLAParams indicates that mandatory SLA params for a new or update spot market is missing.
ProposalErrorInvalidFreeform Validation failed for spot proposal.
ProposalErrorInvalidStateUpdate indicates that a market state update has failed.
ProposalErrorInvalidSuccessorMarket indicates the successor market parameters were invalid.
ProposalErrorInvalidVolumeDiscountProgram is returned when the volume discount program proposal is not valid.
ProposalErrorInvalidVolumeRebateProgram is returned when the volume rebate program proposal is not valid.
ProposalErrorLinearSlippageOutOfRange linear slippage factor is negative or too large.
ProposalErrorMajorityThresholdNotReached Proposal was declined because vote didn't reach the majority threshold required.
ProposalErrorMissingBuiltinAssetField A field is missing in a builtin asset source.
ProposalErrorMissingErc20ContractAddress The contract address is missing in the ERC20 asset source.
ProposalErrorInvalidSLAParams indicates that liquidity provision SLA params are invalid.
ProposalErrorNetworkParameterInvalidKey Invalid key in update network parameter proposal.
ProposalErrorNetworkParameterInvalidValue Invalid valid in update network parameter proposal.
ProposalErrorNetworkParameterValidationFailed Validation failed for network parameter proposal.
ProposalErrorNodeValidationFailed The proposal failed node validation.
ProposalErrorNoProduct The proposal has no product.
ProposalErrorNoRiskParameters No risk parameters were specified.
ProposalErrorOpeningAuctionDurationTooLarge Opening auction duration is more than the network minimum opening auction time.
ProposalErrorOpeningAuctionDurationTooSmall Opening auction duration is less than the network minimum opening auction time.
ProposalErrorParticipationThresholdNotReached Proposal declined because the participation threshold was not reached.
ProposalErrorProposalInBatchDeclined is returned when one or more proposals in the batch are rejected.
ProposalErrorProposalInBatchRejected is returned when one or more proposals in the batch are rejected.
ProposalErrorSquaredSlippageOutOfRange squared slippage factor is negative or too large.
ProposalErrorSpotNotEnabled is returned when spots are not enabled.
ProposalErrorTooManyMarketDecimalPlaces the market uses more decimal places than the settlement asset.
ProposalErrorTooManyPriceMonitoringTriggers the market price monitoring setting uses too many triggers.
ProposalErrorUnknownRiskParameterType Proposal has an unknown risk parameter type.
ProposalErrorUnknownType Proposal is an unknown type.
ProposalErrorUnspecified Default value, always invalid.
ProposalErrorUnsupportedProduct The specified product is not supported.
ProposalStateDeclined Proposal didn't get enough votes (either failing to gain required participation or majority level).
ProposalStateEnacted Proposal enacted.
ProposalStateFailed Proposal enactment has failed - even though proposal has passed, its execution could not be performed.
ProposalStateOpen Proposal is open for voting.
ProposalStatePassed Proposal has gained enough support to be executed.
ProposalStateRejected Proposal wasn't accepted (proposal terms failed validation due to wrong configuration or failing to meet network requirements).
ProposalStateUnspecified Default value, always invalid.
ProposalStateWaitingForNodeVote Waiting for node validation of the proposal.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Buy order.
Sell order.
Default value, always invalid.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
The stop order should be cancelled if the expiry time is reached.
The order should be submitted if the expiry time is reached.
Never valid.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Never valid.
No size override is used.
Use the position size of the trader to override the order size.
Never valid.
Cancelled by the user.
Stop order has expired.
Pending to be executed once the trigger is breached.
Stop order was rejected at submission.
Stopped by the network, e.g: OCO other side has been triggered.
Stop order has been triggered and generated an order.
Never valid.
The stop order is triggered once the price falls below a certain level.
The stop order is triggered once the price rises above a certain level.
Never valid.
No description provided by the author
No description provided by the author
Normal trading between two parties.
Trading initiated by the network with another party off the book, with a distressed party in order to zero-out the position of the party.
Trading initiated by the network with another party on the book, which helps to zero-out the positions of one or more distressed parties.
Default value, always invalid.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Default value.
A cancelled transfer.
A finished transfer.
A pending transfer.
A rejected transfer.
A stopped transfer.
No description provided by the author
AMM account juggling.
No description provided by the author
Bond too high.
Bond too low.
Bond slashing.
additional fees transfers.
No description provided by the author
No description provided by the author
Deposit funds.
No description provided by the author
No description provided by the author
Pay high maker fee.
Receive high maker rebate.
No description provided by the author
Receive infrastructure fee.
Pay infrastructure fee.
No description provided by the author
Liquidity fees.
Receive liquidity fee.
No description provided by the author
Pay liquidity fee.
No description provided by the author
Loss.
Pay maker fee.
Receive maker fee.
Margin was confiscated.
Margin too high.
Margin too low.
Mark to market loss.
Mark to market win.
No description provided by the author
No description provided by the author
perps funding.
No description provided by the author
No description provided by the author
Reward payout.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Default value, always invalid.
Win.
Actual withdraw from system.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
VoteValueNo represents a vote against the proposal.
VoteValueUnspecified Default value, always invalid.
VoteValueYes represents a vote in favour of the proposal.
WithdrawalStatusFinalized The withdrawal went through and is fully finalised, the funds are removed from the Vega network and are unlocked on the foreign chain bridge, for example, on the Ethereum network.
WithdrawalStatusOpen The withdrawal is open and being processed by the network.
WithdrawalStatusRejected The withdrawal have been rejected.
WithdrawalStatusUnspecified Default value, always invalid.
Must be done before any engine that call RestoreResource.
# Variables
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Structs
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
AMMBaseCommand these 3 parameters should be always specified in both the the submit and amend commands.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
BuiltinAsset is a Vega internal asset.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Deposit represent a deposit on to the Vega network.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
An ERC20 token based asset, living on the ethereum network.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
NodeHash contains the data for a node in the IAVL, without its value, but the values hash instead.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
PartyContributionScore represents the fraction the party has in the total fee.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
ProposalParameters stores proposal specific parameters.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Just a wrapper, use the Kind on a switch to access the proper value.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
ValidatorData is delegation data for validator.
ValidatorVotingPower is the scaled voting power for the given tm key.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Vote represents a governance vote casted by a party for a given proposal.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Interfaces
PostRestore is basically a StateProvider which, after the full core state is restored, expects a callback to finalise the state restore Note that the order in which the calls to this OnStateLoaded functions are called is not pre-defined.
No description provided by the author
No description provided by the author
StateProvider - not a huge fan of this interface being here, but it ensures that the state providers don't have to import the snapshot package
go:generate go run github.com/golang/mock/mockgen -destination mocks/state_provider_mock.go -package mocks code.vegaprotocol.io/vega/core/types StateProvider.
# Type aliases
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author