Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CtTxTypeStrings ¶
func CtTxTypeStrings() []string
CtTxTypeStrings returns a slice of all String values of the enum
Types ¶
type CtTxType ¶
type CtTxType uint
const ( NoCtTxType CtTxType = iota Trade MarginTrade DerivativesFuturesTrade Deposit Income GiftTip RewardBonus Mining Airdrop AirdropNonTaxable Staking Masternode Minting MiningCommercial DividendsIncome LendingIncome InterestIncome DerivativesFuturesProfit MarginProfit OtherIncome IncomeNonTaxable RemoveLiquidity ReceiveLpToken LpRewards Withdrawal Spend Donation Gift Stolen Lost BorrowingFee SettlementFee MarginLoss MarginFee DerivativesFuturesLoss OtherFee OtherExpense ProvideLiquidity ReturnLpToken ExpenseNonTaxable SwapNonTaxable ReceiveLoan ReceiveCollateral SendCollateral RepayLoan Liquidation )
func CtTxTypeString ¶
CtTxTypeString retrieves an enum value from the enum constants string name. Throws an error if the param is not part of the enum.
func CtTxTypeValues ¶
func CtTxTypeValues() []CtTxType
CtTxTypeValues returns all values of the enum
func (CtTxType) IsACtTxType ¶
IsACtTxType returns "true" if the value is listed in the enum definition. "false" otherwise
func (CtTxType) MarshalJSON ¶
MarshalJSON implements the json.Marshaler interface for CtTxType
func (CtTxType) MarshalYAML ¶
MarshalYAML implements a YAML Marshaler for CtTxType
func (*CtTxType) UnmarshalJSON ¶
UnmarshalJSON implements the json.Unmarshaler interface for CtTxType
func (*CtTxType) UnmarshalYAML ¶
UnmarshalYAML implements a YAML Unmarshaler for CtTxType
Click to show internal directories.
Click to hide internal directories.