Compare commits

...

1 Commits

Author SHA1 Message Date
candida-d
1cd71450b9
chore(#2039): improve transfer descriptions 2022-11-11 17:28:53 +00:00

View File

@ -286,29 +286,28 @@ export enum ProposalUserAction {
// https://docs.vega.xyz/testnet/api/grpc/vega/vega.proto#transfertype
export enum TransferTypeMapping {
TRANSFER_TYPE_UNSPECIFIED = 'Default value, always invalid',
TRANSFER_TYPE_LOSS = 'Loss',
TRANSFER_TYPE_WIN = 'Win',
TRANSFER_TYPE_LOSS = 'Amount deducted after final settlement loss',
TRANSFER_TYPE_WIN = 'Amount added after final settlement gain',
TRANSFER_TYPE_CLOSE = 'Close',
TRANSFER_TYPE_MTM_LOSS = 'Mark to market loss',
TRANSFER_TYPE_MTM_WIN = 'Mark to market win',
TRANSFER_TYPE_MARGIN_LOW = 'Margin too low',
TRANSFER_TYPE_MARGIN_HIGH = 'Margin too high',
TRANSFER_TYPE_MARGIN_CONFISCATED = 'Margin was confiscated',
TRANSFER_TYPE_MAKER_FEE_PAY = 'Pay maker fee',
TRANSFER_TYPE_MAKER_FEE_RECEIVE = 'Receive maker fee',
TRANSFER_TYPE_INFRASTRUCTURE_FEE_PAY = 'Pay infrastructure fee',
TRANSFER_TYPE_INFRASTRUCTURE_FEE_DISTRIBUTE = 'Receive infrastructure fee',
TRANSFER_TYPE_LIQUIDITY_FEE_PAY = 'Pay liquidity fee',
TRANSFER_TYPE_LIQUIDITY_FEE_DISTRIBUTE = 'Receive liquidity fee',
TRANSFER_TYPE_BOND_LOW = 'Bond too low',
TRANSFER_TYPE_BOND_HIGH = 'Bond too high',
TRANSFER_TYPE_WITHDRAW_LOCK = 'Lock amount for withdraw',
TRANSFER_TYPE_WITHDRAW = 'Actual withdraw from system',
TRANSFER_TYPE_DEPOSIT = 'Deposit funds',
TRANSFER_TYPE_BOND_SLASHING = 'Bond slashing',
TRANSFER_TYPE_STAKE_REWARD = 'Stake reward',
TRANSFER_TYPE_TRANSFER_FUNDS_SEND = 'Transfer funds',
TRANSFER_TYPE_TRANSFER_FUNDS_DISTRIBUTE = 'Transfer funds',
TRANSFER_TYPE_CLEAR_ACCOUNT = 'Market is closed, accounts are cleared',
TRANSFER_TYPE_CHECKPOINT_BALANCE_RESTORE = 'Restore a balance from a checkpoint',
TRANSFER_TYPE_MTM_LOSS = 'Funds transferred out from mark to market loss',
TRANSFER_TYPE_MTM_WIN = 'Funds transferred in from mark to market gain',
TRANSFER_TYPE_MARGIN_LOW = 'Funds used to top up margin',
TRANSFER_TYPE_MARGIN_HIGH = 'Excess margin amount returned',
TRANSFER_TYPE_MARGIN_CONFISCATED = 'Margin confiscated to fulfil closeout',
TRANSFER_TYPE_MAKER_FEE_PAY = 'Maker fee paid',
TRANSFER_TYPE_MAKER_FEE_RECEIVE = 'Maker fee received',
TRANSFER_TYPE_INFRASTRUCTURE_FEE_PAY = 'Infrastructure fee paid',
TRANSFER_TYPE_INFRASTRUCTURE_FEE_DISTRIBUTE = 'Infrastructure fee received',
TRANSFER_TYPE_LIQUIDITY_FEE_PAY = 'Liquidity fee paid',
TRANSFER_TYPE_LIQUIDITY_FEE_DISTRIBUTE = 'Liquidity fee received',
TRANSFER_TYPE_BOND_LOW = 'Bond account funded to meet required bond amount',
TRANSFER_TYPE_BOND_HIGH = 'Bond returned after liquidity commitment was reduced',
TRANSFER_TYPE_WITHDRAW = 'Funds withdrawn',
TRANSFER_TYPE_DEPOSIT = 'Funds deposited',
TRANSFER_TYPE_BOND_SLASHING = 'Bond account slashed when liquidity commitment not met',
TRANSFER_TYPE_STAKE_REWARD = 'Staking reward received',
TRANSFER_TYPE_TRANSFER_FUNDS_SEND = 'Funds transferred to key',
TRANSFER_TYPE_TRANSFER_FUNDS_DISTRIBUTE = 'Funds received from a transfer',
TRANSFER_TYPE_CLEAR_ACCOUNT = 'Market-related accounts emptied because market has closed',
TRANSFER_TYPE_CHECKPOINT_BALANCE_RESTORE = 'Balanced restored after network restart',
}