Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CustomFeeTotalAmounts ¶
type CustomFees ¶
type CustomFees struct { CreatedTimestamp string `json:"createdTimestamp"` RoyaltyFees []RoyaltyFee `json:"royaltyFees"` }
func (*CustomFees) InitFromResponse ¶
func (c *CustomFees) InitFromResponse(customFees token.CustomFees)
type FixedFee ¶
type FixedFee struct { Amount int64 `json:"amount"` DenominatingTokenId *string `json:"denominatingTokenId"` }
func (*FixedFee) InitFromResponse ¶
type FungibleAssetInfo ¶
type NativeAsset ¶
type NonFungibleAssetInfo ¶
type NonFungibleAssetInfo struct { Name string `json:"name"` Symbol string `json:"symbol"` IsNative bool `json:"isNative"` ReserveAmount *big.Int `json:"-"` CustomFees CustomFees `json:"customFees"` CustomFeeTotalAmounts CustomFeeTotalAmounts `json:"-"` TreasuryAccountId string `json:"-"` }
type RoyaltyFee ¶
type RoyaltyFee struct { Amount token.Fraction `json:"amount"` FallbackFee FixedFee `json:"fallbackFee"` CollectorAccountID string `json:"collectorAccountId"` }
func (*RoyaltyFee) InitFromResponse ¶
func (r *RoyaltyFee) InitFromResponse(fee token.RoyaltyFee)
Click to show internal directories.
Click to hide internal directories.