Documentation
¶
Index ¶
- func CollectibleApprovalActionStrings() []string
- func CollectibleTradeActionStrings() []string
- func ExchangeLiquidityActionStrings() []string
- func ExchangeStakingActionStrings() []string
- func MetaverseTradeActionStrings() []string
- func SocialProfileActionStrings() []string
- func SocialProxyActionStrings() []string
- func StandardStrings() []string
- func TransactionApprovalActionStrings() []string
- func TransactionBridgeActionStrings() []string
- type Authors
- type CollectibleApproval
- type CollectibleApprovalAction
- func (i CollectibleApprovalAction) IsACollectibleApprovalAction() bool
- func (i CollectibleApprovalAction) MarshalJSON() ([]byte, error)
- func (i *CollectibleApprovalAction) Scan(value interface{}) error
- func (i CollectibleApprovalAction) String() string
- func (t CollectibleApprovalAction) Type() filter.Type
- func (i *CollectibleApprovalAction) UnmarshalJSON(data []byte) error
- func (i CollectibleApprovalAction) Value() (driver.Value, error)
- func (CollectibleApprovalAction) Values() []string
- type CollectibleTrade
- type CollectibleTradeAction
- func (i CollectibleTradeAction) IsACollectibleTradeAction() bool
- func (i CollectibleTradeAction) MarshalJSON() ([]byte, error)
- func (i *CollectibleTradeAction) Scan(value interface{}) error
- func (i CollectibleTradeAction) String() string
- func (r CollectibleTradeAction) Type() filter.Type
- func (i *CollectibleTradeAction) UnmarshalJSON(data []byte) error
- func (i CollectibleTradeAction) Value() (driver.Value, error)
- func (CollectibleTradeAction) Values() []string
- type CollectibleTransfer
- type ExchangeLiquidity
- type ExchangeLiquidityAction
- func (i ExchangeLiquidityAction) IsAExchangeLiquidityAction() bool
- func (i ExchangeLiquidityAction) MarshalJSON() ([]byte, error)
- func (i *ExchangeLiquidityAction) Scan(value interface{}) error
- func (i ExchangeLiquidityAction) String() string
- func (t ExchangeLiquidityAction) Type() filter.Type
- func (i *ExchangeLiquidityAction) UnmarshalJSON(data []byte) error
- func (i ExchangeLiquidityAction) Value() (driver.Value, error)
- func (ExchangeLiquidityAction) Values() []string
- type ExchangeStaking
- type ExchangeStakingAction
- func (i ExchangeStakingAction) IsAExchangeStakingAction() bool
- func (i ExchangeStakingAction) MarshalJSON() ([]byte, error)
- func (i *ExchangeStakingAction) Scan(value interface{}) error
- func (i ExchangeStakingAction) String() string
- func (t ExchangeStakingAction) Type() filter.Type
- func (i *ExchangeStakingAction) UnmarshalJSON(data []byte) error
- func (i ExchangeStakingAction) Value() (driver.Value, error)
- func (ExchangeStakingAction) Values() []string
- type ExchangeStakingPeriod
- type ExchangeSwap
- type Media
- type Metadata
- type MetaverseTrade
- type MetaverseTradeAction
- func (i MetaverseTradeAction) IsAMetaverseTradeAction() bool
- func (i MetaverseTradeAction) MarshalJSON() ([]byte, error)
- func (i *MetaverseTradeAction) Scan(value interface{}) error
- func (i MetaverseTradeAction) String() string
- func (t MetaverseTradeAction) Type() filter.Type
- func (i *MetaverseTradeAction) UnmarshalJSON(data []byte) error
- func (i MetaverseTradeAction) Value() (driver.Value, error)
- func (MetaverseTradeAction) Values() []string
- type MetaverseTransfer
- type NonFungibleTokenMetadata
- type RSS
- type SocialPost
- type SocialProfile
- type SocialProfileAction
- func (i SocialProfileAction) IsASocialProfileAction() bool
- func (i SocialProfileAction) MarshalJSON() ([]byte, error)
- func (i *SocialProfileAction) Scan(value interface{}) error
- func (i SocialProfileAction) String() string
- func (s SocialProfileAction) Type() filter.Type
- func (i *SocialProfileAction) UnmarshalJSON(data []byte) error
- func (i SocialProfileAction) Value() (driver.Value, error)
- func (SocialProfileAction) Values() []string
- type SocialProxy
- type SocialProxyAction
- func (i SocialProxyAction) IsASocialProxyAction() bool
- func (i SocialProxyAction) MarshalJSON() ([]byte, error)
- func (i *SocialProxyAction) Scan(value interface{}) error
- func (i SocialProxyAction) String() string
- func (s SocialProxyAction) Type() filter.Type
- func (i *SocialProxyAction) UnmarshalJSON(data []byte) error
- func (i SocialProxyAction) Value() (driver.Value, error)
- func (SocialProxyAction) Values() []string
- type Standard
- func (i Standard) IsAStandard() bool
- func (i Standard) MarshalJSON() ([]byte, error)
- func (i *Standard) Scan(value interface{}) error
- func (i Standard) String() string
- func (i *Standard) UnmarshalJSON(data []byte) error
- func (i Standard) Value() (driver.Value, error)
- func (Standard) Values() []string
- type Token
- type TransactionApproval
- type TransactionApprovalAction
- func (i TransactionApprovalAction) IsATransactionApprovalAction() bool
- func (i TransactionApprovalAction) MarshalJSON() ([]byte, error)
- func (i *TransactionApprovalAction) Scan(value interface{}) error
- func (i TransactionApprovalAction) String() string
- func (i *TransactionApprovalAction) UnmarshalJSON(data []byte) error
- func (i TransactionApprovalAction) Value() (driver.Value, error)
- func (TransactionApprovalAction) Values() []string
- type TransactionBridge
- type TransactionBridgeAction
- func (i TransactionBridgeAction) IsATransactionBridgeAction() bool
- func (i TransactionBridgeAction) MarshalJSON() ([]byte, error)
- func (i *TransactionBridgeAction) Scan(value interface{}) error
- func (i TransactionBridgeAction) String() string
- func (t TransactionBridgeAction) Type() filter.Type
- func (i *TransactionBridgeAction) UnmarshalJSON(data []byte) error
- func (i TransactionBridgeAction) Value() (driver.Value, error)
- func (TransactionBridgeAction) Values() []string
- type TransactionTransfer
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CollectibleApprovalActionStrings ¶
func CollectibleApprovalActionStrings() []string
CollectibleApprovalActionStrings returns a slice of all String values of the enum
func CollectibleTradeActionStrings ¶
func CollectibleTradeActionStrings() []string
CollectibleTradeActionStrings returns a slice of all String values of the enum
func ExchangeLiquidityActionStrings ¶
func ExchangeLiquidityActionStrings() []string
ExchangeLiquidityActionStrings returns a slice of all String values of the enum
func ExchangeStakingActionStrings ¶
func ExchangeStakingActionStrings() []string
ExchangeStakingActionStrings returns a slice of all String values of the enum
func MetaverseTradeActionStrings ¶
func MetaverseTradeActionStrings() []string
MetaverseTradeActionStrings returns a slice of all String values of the enum
func SocialProfileActionStrings ¶
func SocialProfileActionStrings() []string
SocialProfileActionStrings returns a slice of all String values of the enum
func SocialProxyActionStrings ¶
func SocialProxyActionStrings() []string
SocialProxyActionStrings returns a slice of all String values of the enum
func StandardStrings ¶
func StandardStrings() []string
StandardStrings returns a slice of all String values of the enum
func TransactionApprovalActionStrings ¶
func TransactionApprovalActionStrings() []string
TransactionApprovalActionStrings returns a slice of all String values of the enum
func TransactionBridgeActionStrings ¶
func TransactionBridgeActionStrings() []string
TransactionBridgeActionStrings returns a slice of all String values of the enum
Types ¶
type CollectibleApproval ¶
type CollectibleApproval struct {
Action CollectibleApprovalAction `json:"action"`
Token
}
func (CollectibleApproval) Type ¶
func (c CollectibleApproval) Type() filter.Type
type CollectibleApprovalAction ¶
type CollectibleApprovalAction uint64
const ( ActionCollectibleApprovalApprove CollectibleApprovalAction = iota + 1 ActionCollectibleApprovalRevoke )
func CollectibleApprovalActionString ¶
func CollectibleApprovalActionString(s string) (CollectibleApprovalAction, error)
CollectibleApprovalActionString retrieves an enum value from the enum constants string name. Throws an error if the param is not part of the enum.
func CollectibleApprovalActionValues ¶
func CollectibleApprovalActionValues() []CollectibleApprovalAction
CollectibleApprovalActionValues returns all values of the enum
func (CollectibleApprovalAction) IsACollectibleApprovalAction ¶
func (i CollectibleApprovalAction) IsACollectibleApprovalAction() bool
IsACollectibleApprovalAction returns "true" if the value is listed in the enum definition. "false" otherwise
func (CollectibleApprovalAction) MarshalJSON ¶
func (i CollectibleApprovalAction) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaler interface for CollectibleApprovalAction
func (*CollectibleApprovalAction) Scan ¶
func (i *CollectibleApprovalAction) Scan(value interface{}) error
func (CollectibleApprovalAction) String ¶
func (i CollectibleApprovalAction) String() string
func (CollectibleApprovalAction) Type ¶
func (t CollectibleApprovalAction) Type() filter.Type
func (*CollectibleApprovalAction) UnmarshalJSON ¶
func (i *CollectibleApprovalAction) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for CollectibleApprovalAction
func (CollectibleApprovalAction) Value ¶
func (i CollectibleApprovalAction) Value() (driver.Value, error)
func (CollectibleApprovalAction) Values ¶
func (CollectibleApprovalAction) Values() []string
type CollectibleTrade ¶
type CollectibleTrade struct {
Action CollectibleTradeAction `json:"action"`
Token
Cost *Token `json:"cost,omitempty"`
}
func (CollectibleTrade) Type ¶
func (r CollectibleTrade) Type() filter.Type
type CollectibleTradeAction ¶
type CollectibleTradeAction uint64
const ( ActionCollectibleTradeBuy CollectibleTradeAction = iota + 1 ActionCollectibleTradeSell )
func CollectibleTradeActionString ¶
func CollectibleTradeActionString(s string) (CollectibleTradeAction, error)
CollectibleTradeActionString retrieves an enum value from the enum constants string name. Throws an error if the param is not part of the enum.
func CollectibleTradeActionValues ¶
func CollectibleTradeActionValues() []CollectibleTradeAction
CollectibleTradeActionValues returns all values of the enum
func (CollectibleTradeAction) IsACollectibleTradeAction ¶
func (i CollectibleTradeAction) IsACollectibleTradeAction() bool
IsACollectibleTradeAction returns "true" if the value is listed in the enum definition. "false" otherwise
func (CollectibleTradeAction) MarshalJSON ¶
func (i CollectibleTradeAction) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaler interface for CollectibleTradeAction
func (*CollectibleTradeAction) Scan ¶
func (i *CollectibleTradeAction) Scan(value interface{}) error
func (CollectibleTradeAction) String ¶
func (i CollectibleTradeAction) String() string
func (CollectibleTradeAction) Type ¶
func (r CollectibleTradeAction) Type() filter.Type
func (*CollectibleTradeAction) UnmarshalJSON ¶
func (i *CollectibleTradeAction) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for CollectibleTradeAction
func (CollectibleTradeAction) Values ¶
func (CollectibleTradeAction) Values() []string
type CollectibleTransfer ¶
type CollectibleTransfer Token
func (CollectibleTransfer) Type ¶
func (c CollectibleTransfer) Type() filter.Type
type ExchangeLiquidity ¶
type ExchangeLiquidity struct {
Action ExchangeLiquidityAction `json:"action"`
Tokens []Token `json:"tokens"`
}
func (ExchangeLiquidity) Type ¶
func (e ExchangeLiquidity) Type() filter.Type
type ExchangeLiquidityAction ¶
type ExchangeLiquidityAction uint64
const ( ActionExchangeLiquidityAdd ExchangeLiquidityAction = iota + 1 ActionExchangeLiquidityRemove ActionExchangeLiquidityCollect ActionExchangeLiquiditySupply ActionExchangeLiquidityBorrow ActionExchangeLiquidityRepay ActionExchangeLiquidityWithdraw )
func ExchangeLiquidityActionString ¶
func ExchangeLiquidityActionString(s string) (ExchangeLiquidityAction, error)
ExchangeLiquidityActionString retrieves an enum value from the enum constants string name. Throws an error if the param is not part of the enum.
func ExchangeLiquidityActionValues ¶
func ExchangeLiquidityActionValues() []ExchangeLiquidityAction
ExchangeLiquidityActionValues returns all values of the enum
func (ExchangeLiquidityAction) IsAExchangeLiquidityAction ¶
func (i ExchangeLiquidityAction) IsAExchangeLiquidityAction() bool
IsAExchangeLiquidityAction returns "true" if the value is listed in the enum definition. "false" otherwise
func (ExchangeLiquidityAction) MarshalJSON ¶
func (i ExchangeLiquidityAction) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaler interface for ExchangeLiquidityAction
func (*ExchangeLiquidityAction) Scan ¶
func (i *ExchangeLiquidityAction) Scan(value interface{}) error
func (ExchangeLiquidityAction) String ¶
func (i ExchangeLiquidityAction) String() string
func (ExchangeLiquidityAction) Type ¶
func (t ExchangeLiquidityAction) Type() filter.Type
func (*ExchangeLiquidityAction) UnmarshalJSON ¶
func (i *ExchangeLiquidityAction) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ExchangeLiquidityAction
func (ExchangeLiquidityAction) Value ¶
func (i ExchangeLiquidityAction) Value() (driver.Value, error)
func (ExchangeLiquidityAction) Values ¶
func (ExchangeLiquidityAction) Values() []string
type ExchangeStaking ¶
type ExchangeStaking struct {
Action ExchangeStakingAction `json:"action"`
Token Token `json:"token"`
Period *ExchangeStakingPeriod `json:"period,omitempty"`
}
func (ExchangeStaking) Type ¶
func (e ExchangeStaking) Type() filter.Type
type ExchangeStakingAction ¶
type ExchangeStakingAction uint64
const ( ActionExchangeStakingStake ExchangeStakingAction = iota + 1 ActionExchangeStakingUnstake ActionExchangeStakingClaim )
func ExchangeStakingActionString ¶
func ExchangeStakingActionString(s string) (ExchangeStakingAction, error)
ExchangeStakingActionString retrieves an enum value from the enum constants string name. Throws an error if the param is not part of the enum.
func ExchangeStakingActionValues ¶
func ExchangeStakingActionValues() []ExchangeStakingAction
ExchangeStakingActionValues returns all values of the enum
func (ExchangeStakingAction) IsAExchangeStakingAction ¶
func (i ExchangeStakingAction) IsAExchangeStakingAction() bool
IsAExchangeStakingAction returns "true" if the value is listed in the enum definition. "false" otherwise
func (ExchangeStakingAction) MarshalJSON ¶
func (i ExchangeStakingAction) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaler interface for ExchangeStakingAction
func (*ExchangeStakingAction) Scan ¶
func (i *ExchangeStakingAction) Scan(value interface{}) error
func (ExchangeStakingAction) String ¶
func (i ExchangeStakingAction) String() string
func (ExchangeStakingAction) Type ¶
func (t ExchangeStakingAction) Type() filter.Type
func (*ExchangeStakingAction) UnmarshalJSON ¶
func (i *ExchangeStakingAction) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ExchangeStakingAction
func (ExchangeStakingAction) Values ¶
func (ExchangeStakingAction) Values() []string
type ExchangeStakingPeriod ¶
type ExchangeSwap ¶
func (ExchangeSwap) Type ¶
func (e ExchangeSwap) Type() filter.Type
type MetaverseTrade ¶
type MetaverseTrade struct {
Action MetaverseTradeAction `json:"action,omitempty"`
Token
Cost Token `json:"cost,omitempty"`
}
func (MetaverseTrade) Tag ¶
func (m MetaverseTrade) Tag() filter.Tag
func (MetaverseTrade) Type ¶
func (m MetaverseTrade) Type() filter.Type
type MetaverseTradeAction ¶
type MetaverseTradeAction uint64
const ( ActionMetaverseTradeSell MetaverseTradeAction = iota + 1 ActionMetaverseTradeBuy ActionMetaverseTradeList )
func MetaverseTradeActionString ¶
func MetaverseTradeActionString(s string) (MetaverseTradeAction, error)
MetaverseTradeActionString retrieves an enum value from the enum constants string name. Throws an error if the param is not part of the enum.
func MetaverseTradeActionValues ¶
func MetaverseTradeActionValues() []MetaverseTradeAction
MetaverseTradeActionValues returns all values of the enum
func (MetaverseTradeAction) IsAMetaverseTradeAction ¶
func (i MetaverseTradeAction) IsAMetaverseTradeAction() bool
IsAMetaverseTradeAction returns "true" if the value is listed in the enum definition. "false" otherwise
func (MetaverseTradeAction) MarshalJSON ¶
func (i MetaverseTradeAction) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaler interface for MetaverseTradeAction
func (*MetaverseTradeAction) Scan ¶
func (i *MetaverseTradeAction) Scan(value interface{}) error
func (MetaverseTradeAction) String ¶
func (i MetaverseTradeAction) String() string
func (MetaverseTradeAction) Type ¶
func (t MetaverseTradeAction) Type() filter.Type
func (*MetaverseTradeAction) UnmarshalJSON ¶
func (i *MetaverseTradeAction) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for MetaverseTradeAction
func (MetaverseTradeAction) Values ¶
func (MetaverseTradeAction) Values() []string
type MetaverseTransfer ¶
type MetaverseTransfer Token
func (MetaverseTransfer) Tag ¶
func (m MetaverseTransfer) Tag() filter.Tag
func (MetaverseTransfer) Type ¶
func (m MetaverseTransfer) Type() filter.Type
type NonFungibleTokenMetadata ¶
type NonFungibleTokenMetadata struct {
Title string `json:"title,omitempty"`
Description string `json:"description,omitempty"`
ImageURL string `json:"image_url,omitempty"`
ExternalURL string `json:"external_url,omitempty"`
MediaURL string `json:"media_url,omitempty"`
AnimationURL string `json:"animation_url,omitempty"`
Properties json.RawMessage `json:"properties,omitempty"`
}
type RSS ¶
type SocialPost ¶
type SocialPost struct {
Handle string `json:"handle,omitempty"`
Title string `json:"title,omitempty"`
Summary string `json:"summary,omitempty"`
Body string `json:"body,omitempty"`
Media []Media `json:"media,omitempty"`
ProfileID string `json:"profile_id,omitempty"`
PublicationID string `json:"publication_id,omitempty"`
ContentURI string `json:"content_uri,omitempty"`
Tags []string `json:"tags,omitempty"`
AuthorURL string `json:"author_url,omitempty"`
Reward *Token `json:"reward,omitempty"`
Timestamp uint64 `json:"timestamp,omitempty"`
Target *SocialPost `json:"target,omitempty"`
TargetURL string `json:"target_url,omitempty"`
}
func (SocialPost) Type ¶
func (p SocialPost) Type() filter.Type
type SocialProfile ¶
type SocialProfile struct {
Action SocialProfileAction `json:"action,omitempty"`
ProfileID string `json:"profile_id,omitempty"`
Address common.Address `json:"address,omitempty"`
Handle string `json:"handle,omitempty"`
ImageURI string `json:"image_uri,omitempty"`
Bio string `json:"bio,omitempty"`
Name string `json:"name,omitempty"`
Expiry *time.Time `json:"expiry,omitempty"`
Key string `json:"key,omitempty"`
Value string `json:"value,omitempty"`
}
func (SocialProfile) Type ¶
func (f SocialProfile) Type() filter.Type
type SocialProfileAction ¶
type SocialProfileAction uint64
const ( ActionSocialProfileCreate SocialProfileAction = iota + 1 ActionSocialProfileUpdate ActionSocialProfileRenew ActionSocialProfileWrap ActionSocialProfileUnwrap )
func SocialProfileActionString ¶
func SocialProfileActionString(s string) (SocialProfileAction, error)
SocialProfileActionString retrieves an enum value from the enum constants string name. Throws an error if the param is not part of the enum.
func SocialProfileActionValues ¶
func SocialProfileActionValues() []SocialProfileAction
SocialProfileActionValues returns all values of the enum
func (SocialProfileAction) IsASocialProfileAction ¶
func (i SocialProfileAction) IsASocialProfileAction() bool
IsASocialProfileAction returns "true" if the value is listed in the enum definition. "false" otherwise
func (SocialProfileAction) MarshalJSON ¶
func (i SocialProfileAction) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaler interface for SocialProfileAction
func (*SocialProfileAction) Scan ¶
func (i *SocialProfileAction) Scan(value interface{}) error
func (SocialProfileAction) String ¶
func (i SocialProfileAction) String() string
func (SocialProfileAction) Type ¶
func (s SocialProfileAction) Type() filter.Type
func (*SocialProfileAction) UnmarshalJSON ¶
func (i *SocialProfileAction) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for SocialProfileAction
func (SocialProfileAction) Values ¶
func (SocialProfileAction) Values() []string
type SocialProxy ¶
type SocialProxy struct {
Action SocialProxyAction `json:"action,omitempty"`
ProxyAddress common.Address `json:"proxy_address"`
Profile SocialProfile `json:"profile,omitempty"`
}
func (SocialProxy) Tag ¶
func (s SocialProxy) Tag() filter.Tag
func (SocialProxy) Type ¶
func (s SocialProxy) Type() filter.Type
type SocialProxyAction ¶
type SocialProxyAction uint64
const ( ActionSocialProxyAppoint SocialProxyAction = iota + 1 ActionSocialProxyRemove )
func SocialProxyActionString ¶
func SocialProxyActionString(s string) (SocialProxyAction, error)
SocialProxyActionString retrieves an enum value from the enum constants string name. Throws an error if the param is not part of the enum.
func SocialProxyActionValues ¶
func SocialProxyActionValues() []SocialProxyAction
SocialProxyActionValues returns all values of the enum
func (SocialProxyAction) IsASocialProxyAction ¶
func (i SocialProxyAction) IsASocialProxyAction() bool
IsASocialProxyAction returns "true" if the value is listed in the enum definition. "false" otherwise
func (SocialProxyAction) MarshalJSON ¶
func (i SocialProxyAction) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaler interface for SocialProxyAction
func (*SocialProxyAction) Scan ¶
func (i *SocialProxyAction) Scan(value interface{}) error
func (SocialProxyAction) String ¶
func (i SocialProxyAction) String() string
func (SocialProxyAction) Type ¶
func (s SocialProxyAction) Type() filter.Type
func (*SocialProxyAction) UnmarshalJSON ¶
func (i *SocialProxyAction) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for SocialProxyAction
func (SocialProxyAction) Values ¶
func (SocialProxyAction) Values() []string
type Standard ¶
type Standard int
func StandardString ¶
StandardString retrieves an enum value from the enum constants string name. Throws an error if the param is not part of the enum.
func StandardValues ¶
func StandardValues() []Standard
StandardValues returns all values of the enum
func (Standard) IsAStandard ¶
IsAStandard returns "true" if the value is listed in the enum definition. "false" otherwise
func (Standard) MarshalJSON ¶
MarshalJSON implements the json.Marshaler interface for Standard
func (*Standard) UnmarshalJSON ¶
UnmarshalJSON implements the json.Unmarshaler interface for Standard
type Token ¶
type Token struct {
Address *string `json:"address,omitempty"`
ID *decimal.Decimal `json:"id,omitempty"`
Value *decimal.Decimal `json:"value,omitempty"`
Name string `json:"name,omitempty"`
Symbol string `json:"symbol,omitempty"`
URI string `json:"uri,omitempty"`
Decimals uint8 `json:"decimals,omitempty"`
Standard Standard `json:"standard,omitempty"`
ParsedImageURL string `json:"parsed_image_url,omitempty"`
}
type TransactionApproval ¶
type TransactionApproval struct {
Action TransactionApprovalAction `json:"action"`
Token
}
func (TransactionApproval) Type ¶
func (t TransactionApproval) Type() filter.Type
type TransactionApprovalAction ¶
type TransactionApprovalAction uint64
const ( ActionTransactionApprove TransactionApprovalAction = iota + 1 ActionTransactionRevoke )
func TransactionApprovalActionString ¶
func TransactionApprovalActionString(s string) (TransactionApprovalAction, error)
TransactionApprovalActionString retrieves an enum value from the enum constants string name. Throws an error if the param is not part of the enum.
func TransactionApprovalActionValues ¶
func TransactionApprovalActionValues() []TransactionApprovalAction
TransactionApprovalActionValues returns all values of the enum
func (TransactionApprovalAction) IsATransactionApprovalAction ¶
func (i TransactionApprovalAction) IsATransactionApprovalAction() bool
IsATransactionApprovalAction returns "true" if the value is listed in the enum definition. "false" otherwise
func (TransactionApprovalAction) MarshalJSON ¶
func (i TransactionApprovalAction) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaler interface for TransactionApprovalAction
func (*TransactionApprovalAction) Scan ¶
func (i *TransactionApprovalAction) Scan(value interface{}) error
func (TransactionApprovalAction) String ¶
func (i TransactionApprovalAction) String() string
func (*TransactionApprovalAction) UnmarshalJSON ¶
func (i *TransactionApprovalAction) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for TransactionApprovalAction
func (TransactionApprovalAction) Value ¶
func (i TransactionApprovalAction) Value() (driver.Value, error)
func (TransactionApprovalAction) Values ¶
func (TransactionApprovalAction) Values() []string
type TransactionBridge ¶
type TransactionBridge struct {
Action TransactionBridgeAction `json:"action"`
SourceNetwork filter.Network `json:"source_network"`
TargetNetwork filter.Network `json:"target_network"`
Token Token `json:"token"`
}
func (TransactionBridge) Type ¶
func (t TransactionBridge) Type() filter.Type
type TransactionBridgeAction ¶
type TransactionBridgeAction uint64
const ( ActionTransactionBridgeWithdraw TransactionBridgeAction = iota + 1 ActionTransactionBridgeDeposit )
func TransactionBridgeActionString ¶
func TransactionBridgeActionString(s string) (TransactionBridgeAction, error)
TransactionBridgeActionString retrieves an enum value from the enum constants string name. Throws an error if the param is not part of the enum.
func TransactionBridgeActionValues ¶
func TransactionBridgeActionValues() []TransactionBridgeAction
TransactionBridgeActionValues returns all values of the enum
func (TransactionBridgeAction) IsATransactionBridgeAction ¶
func (i TransactionBridgeAction) IsATransactionBridgeAction() bool
IsATransactionBridgeAction returns "true" if the value is listed in the enum definition. "false" otherwise
func (TransactionBridgeAction) MarshalJSON ¶
func (i TransactionBridgeAction) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaler interface for TransactionBridgeAction
func (*TransactionBridgeAction) Scan ¶
func (i *TransactionBridgeAction) Scan(value interface{}) error
func (TransactionBridgeAction) String ¶
func (i TransactionBridgeAction) String() string
func (TransactionBridgeAction) Type ¶
func (t TransactionBridgeAction) Type() filter.Type
func (*TransactionBridgeAction) UnmarshalJSON ¶
func (i *TransactionBridgeAction) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for TransactionBridgeAction
func (TransactionBridgeAction) Value ¶
func (i TransactionBridgeAction) Value() (driver.Value, error)
func (TransactionBridgeAction) Values ¶
func (TransactionBridgeAction) Values() []string
type TransactionTransfer ¶
type TransactionTransfer Token
func (TransactionTransfer) Type ¶
func (t TransactionTransfer) Type() filter.Type
Source Files
¶
- collectible.go
- collectible_approval.go
- collectible_trade.go
- exchange.go
- exchange_liquidity.go
- exchange_staking.go
- metadata.go
- metaverse.go
- metaverse_trade.go
- rss.go
- social.go
- social_profile.go
- social_proxy.go
- token.go
- token_standard.go
- token_standard_string.go
- transaction.go
- transaction_approval.go
- transaction_bridge.go