Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Erc1155Swap ¶
type Erc1155Swap struct { // amounts Amounts []string `json:"amounts"` // created at CreatedAt string `json:"created_at"` // dst chain id DstChainID string `json:"dst_chain_id"` // dst token addr DstTokenAddr string `json:"dst_token_addr"` // fill tx hash FillTxHash string `json:"fill_tx_hash"` // ids Ids []string `json:"ids"` // recipient Recipient string `json:"recipient"` // request tx hash RequestTxHash string `json:"request_tx_hash"` // sender Sender string `json:"sender"` // src chain id SrcChainID string `json:"src_chain_id"` // src token addr SrcTokenAddr string `json:"src_token_addr"` // state State string `json:"state"` // swap direction SwapDirection string `json:"swap_direction"` // updated at UpdatedAt string `json:"updated_at"` }
Erc1155Swap erc1155 swap
swagger:model Erc1155Swap
func (*Erc1155Swap) ContextValidate ¶
ContextValidate validates this erc1155 swap based on context it is used
func (*Erc1155Swap) MarshalBinary ¶
func (m *Erc1155Swap) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*Erc1155Swap) UnmarshalBinary ¶
func (m *Erc1155Swap) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Erc1155SwapPair ¶
type Erc1155SwapPair struct { // available Available bool `json:"available"` // create tx hash CreateTxHash string `json:"create_tx_hash"` // created at CreatedAt string `json:"created_at"` // dst chain id DstChainID string `json:"dst_chain_id"` // dst token addr DstTokenAddr string `json:"dst_token_addr"` // register tx hash RegisterTxHash string `json:"register_tx_hash"` // sponsor Sponsor string `json:"sponsor"` // src chain id SrcChainID string `json:"src_chain_id"` // src token addr SrcTokenAddr string `json:"src_token_addr"` // state State string `json:"state"` // updated at UpdatedAt string `json:"updated_at"` // uri URI string `json:"uri"` }
Erc1155SwapPair erc1155 swap pair
swagger:model Erc1155SwapPair
func (*Erc1155SwapPair) ContextValidate ¶
ContextValidate validates this erc1155 swap pair based on context it is used
func (*Erc1155SwapPair) MarshalBinary ¶
func (m *Erc1155SwapPair) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*Erc1155SwapPair) UnmarshalBinary ¶
func (m *Erc1155SwapPair) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Erc1155SwapPairs ¶
type Erc1155SwapPairs struct { // pairs Pairs []*Erc1155SwapPair `json:"pairs"` // total Total int64 `json:"total"` }
Erc1155SwapPairs erc1155 swap pairs
swagger:model Erc1155SwapPairs
func (*Erc1155SwapPairs) ContextValidate ¶
ContextValidate validate this erc1155 swap pairs based on the context it is used
func (*Erc1155SwapPairs) MarshalBinary ¶
func (m *Erc1155SwapPairs) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*Erc1155SwapPairs) UnmarshalBinary ¶
func (m *Erc1155SwapPairs) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Erc1155Swaps ¶
type Erc1155Swaps struct { // erc 1155 swaps Erc1155Swaps []*Erc1155Swap `json:"erc_1155_swaps"` // total Total int64 `json:"total"` }
Erc1155Swaps erc1155 swaps
swagger:model Erc1155Swaps
func (*Erc1155Swaps) ContextValidate ¶
ContextValidate validate this erc1155 swaps based on the context it is used
func (*Erc1155Swaps) MarshalBinary ¶
func (m *Erc1155Swaps) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*Erc1155Swaps) UnmarshalBinary ¶
func (m *Erc1155Swaps) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Erc721Swap ¶
type Erc721Swap struct { // base uri BaseURI string `json:"base_uri"` // created at CreatedAt string `json:"created_at"` // dst chain id DstChainID string `json:"dst_chain_id"` // dst token addr DstTokenAddr string `json:"dst_token_addr"` // dst token name DstTokenName string `json:"dst_token_name"` // fill tx hash FillTxHash string `json:"fill_tx_hash"` // recipient Recipient string `json:"recipient"` // request tx hash RequestTxHash string `json:"request_tx_hash"` // sender Sender string `json:"sender"` // src chain id SrcChainID string `json:"src_chain_id"` // src token addr SrcTokenAddr string `json:"src_token_addr"` // src token name SrcTokenName string `json:"src_token_name"` // state State string `json:"state"` // swap direction SwapDirection string `json:"swap_direction"` // token id TokenID string `json:"token_id"` // token uri TokenURI string `json:"token_uri"` // updated at UpdatedAt string `json:"updated_at"` }
Erc721Swap erc721 swap
swagger:model Erc721Swap
func (*Erc721Swap) ContextValidate ¶
ContextValidate validates this erc721 swap based on context it is used
func (*Erc721Swap) MarshalBinary ¶
func (m *Erc721Swap) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*Erc721Swap) UnmarshalBinary ¶
func (m *Erc721Swap) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Erc721SwapPair ¶
type Erc721SwapPair struct { // available Available bool `json:"available"` // base uri BaseURI string `json:"base_uri"` // create tx hash CreateTxHash string `json:"create_tx_hash"` // created at CreatedAt string `json:"created_at"` // dst chain id DstChainID string `json:"dst_chain_id"` // dst token addr DstTokenAddr string `json:"dst_token_addr"` // dst token name DstTokenName string `json:"dst_token_name"` // register tx hash RegisterTxHash string `json:"register_tx_hash"` // sponsor Sponsor string `json:"sponsor"` // src chain id SrcChainID string `json:"src_chain_id"` // src token addr SrcTokenAddr string `json:"src_token_addr"` // src token name SrcTokenName string `json:"src_token_name"` // state State string `json:"state"` // symbol // Example: USDT Symbol string `json:"symbol"` // updated at UpdatedAt string `json:"updated_at"` }
Erc721SwapPair erc721 swap pair
swagger:model Erc721SwapPair
func (*Erc721SwapPair) ContextValidate ¶
ContextValidate validates this erc721 swap pair based on context it is used
func (*Erc721SwapPair) MarshalBinary ¶
func (m *Erc721SwapPair) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*Erc721SwapPair) UnmarshalBinary ¶
func (m *Erc721SwapPair) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Erc721SwapPairs ¶
type Erc721SwapPairs struct { // pairs Pairs []*Erc721SwapPair `json:"pairs"` // total Total int64 `json:"total"` }
Erc721SwapPairs erc721 swap pairs
swagger:model Erc721SwapPairs
func (*Erc721SwapPairs) ContextValidate ¶
ContextValidate validate this erc721 swap pairs based on the context it is used
func (*Erc721SwapPairs) MarshalBinary ¶
func (m *Erc721SwapPairs) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*Erc721SwapPairs) UnmarshalBinary ¶
func (m *Erc721SwapPairs) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Erc721Swaps ¶
type Erc721Swaps struct { // erc 721 swaps Erc721Swaps []*Erc721Swap `json:"erc_721_swaps"` // total Total int64 `json:"total"` }
Erc721Swaps erc721 swaps
swagger:model Erc721Swaps
func (*Erc721Swaps) ContextValidate ¶
ContextValidate validate this erc721 swaps based on the context it is used
func (*Erc721Swaps) MarshalBinary ¶
func (m *Erc721Swaps) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*Erc721Swaps) UnmarshalBinary ¶
func (m *Erc721Swaps) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Error ¶
type Error struct { // code Code int64 `json:"code,omitempty"` // message // Required: true Message *string `json:"message"` }
Error error
swagger:model Error
func (*Error) ContextValidate ¶
ContextValidate validates this error based on context it is used
func (*Error) MarshalBinary ¶
MarshalBinary interface implementation
func (*Error) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type ServiceInfo ¶
type ServiceInfo struct { // bsc chain id BscChainID int64 `json:"bsc_chain_id"` // bsc erc 1155 swap agent BscErc1155SwapAgent string `json:"bsc_erc_1155_swap_agent"` // bsc erc 721 swap agent BscErc721SwapAgent string `json:"bsc_erc_721_swap_agent"` // eth chain id EthChainID int64 `json:"eth_chain_id"` // eth erc 1155 swap agent EthErc1155SwapAgent string `json:"eth_erc_1155_swap_agent"` // eth erc 721 swap agent EthErc721SwapAgent string `json:"eth_erc_721_swap_agent"` // fantom chain id FantomChainID int64 `json:"fantom_chain_id"` // fantom erc 1155 swap agent FantomErc1155SwapAgent string `json:"fantom_erc_1155_swap_agent"` // fantom erc 721 swap agent FantomErc721SwapAgent string `json:"fantom_erc_721_swap_agent"` // polygon chain id PolygonChainID int64 `json:"polygon_chain_id"` // polygon erc 1155 swap agent PolygonErc1155SwapAgent string `json:"polygon_erc_1155_swap_agent"` // polygon erc 721 swap agent PolygonErc721SwapAgent string `json:"polygon_erc_721_swap_agent"` }
ServiceInfo service info
swagger:model ServiceInfo
func (*ServiceInfo) ContextValidate ¶
ContextValidate validates this service info based on context it is used
func (*ServiceInfo) MarshalBinary ¶
func (m *ServiceInfo) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ServiceInfo) UnmarshalBinary ¶
func (m *ServiceInfo) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation