AccountType
The various account types in Vega (used by collateral)
enum AccountType {
ACCOUNT_TYPE_INSURANCE
ACCOUNT_TYPE_GLOBAL_INSURANCE
ACCOUNT_TYPE_SETTLEMENT
ACCOUNT_TYPE_MARGIN
ACCOUNT_TYPE_GENERAL
ACCOUNT_TYPE_FEES_INFRASTRUCTURE
ACCOUNT_TYPE_FEES_LIQUIDITY
ACCOUNT_TYPE_FEES_MAKER
ACCOUNT_TYPE_BOND
ACCOUNT_TYPE_EXTERNAL
ACCOUNT_TYPE_GLOBAL_REWARD
ACCOUNT_TYPE_PENDING_TRANSFERS
ACCOUNT_TYPE_REWARD_MAKER_PAID_FEES
ACCOUNT_TYPE_REWARD_MAKER_RECEIVED_FEES
ACCOUNT_TYPE_REWARD_LP_RECEIVED_FEES
ACCOUNT_TYPE_REWARD_MARKET_PROPOSERS
}
Values
AccountType.ACCOUNT_TYPE_INSURANCE
Insurance pool account - only for 'system' party
AccountType.ACCOUNT_TYPE_GLOBAL_INSURANCE
Global insurance pool account for an asset
AccountType.ACCOUNT_TYPE_SETTLEMENT
Settlement - only for 'system' party
AccountType.ACCOUNT_TYPE_MARGIN
Margin - The leverage account for parties, contains funds set aside for the margin needed to support a party's open positions. Each party will have a margin account for each market they have traded in. The required initial margin is allocated to each market from the general account, and it cannot be withdrawn or used as margin on another market until it's released back into the general account. The protocol uses an internal accounting system to segregate funds held as margin from other funds to ensure they are never lost or 'double spent'
AccountType.ACCOUNT_TYPE_GENERAL
General account - the account containing 'unused' collateral for parties
AccountType.ACCOUNT_TYPE_FEES_INFRASTRUCTURE
Infrastructure fee account - the account where all infrastructure fees are collected
AccountType.ACCOUNT_TYPE_FEES_LIQUIDITY
Liquidity fee account - the account contains fees earned by providing liquidity
AccountType.ACCOUNT_TYPE_FEES_MAKER
Market maker fee account - holds fees paid to the passive side when a trade matches
AccountType.ACCOUNT_TYPE_BOND
Bond - an account use to maintain liquidity commitments
AccountType.ACCOUNT_TYPE_EXTERNAL
External - an account use to refer to external account
AccountType.ACCOUNT_TYPE_GLOBAL_REWARD
GlobalReward - a global account for the reward pool
AccountType.ACCOUNT_TYPE_PENDING_TRANSFERS
PendingTransfers - a global account for the pending transfers pool
AccountType.ACCOUNT_TYPE_REWARD_MAKER_PAID_FEES
RewardMakerPaidFees - an account holding rewards for maker paid fees
AccountType.ACCOUNT_TYPE_REWARD_MAKER_RECEIVED_FEES
RewardMakerReceivedFees - an account holding rewards for maker received fees
AccountType.ACCOUNT_TYPE_REWARD_LP_RECEIVED_FEES
RewardLpReceivedFees - an account holding rewards for a liquidity provider's received fees
AccountType.ACCOUNT_TYPE_REWARD_MARKET_PROPOSERS
RewardMarketProposers - an account holding rewards for market proposers
Member of
AccountBalance
object ● AccountDetails
object ● AccountEvent
object ● AccountFilter
input ● accounts
subscription ● AccountUpdate
object ● AggregatedBalance
object ● AggregatedLedgerEntry
object ● EpochRewardSummary
object ● Reward
object ● Transfer
object