Documentation ¶
Index ¶
- Constants
- Variables
- type Chain
- func (*Chain) Descriptor() ([]byte, []int)
- func (m *Chain) GetChainId() string
- func (m *Chain) GetChainName() string
- func (m *Chain) GetChainUrl() string
- func (m *Chain) Marshal() (dAtA []byte, err error)
- func (m *Chain) MarshalTo(dAtA []byte) (int, error)
- func (m *Chain) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Chain) ProtoMessage()
- func (m *Chain) Reset()
- func (m *Chain) Size() (n int)
- func (m *Chain) String() string
- func (m *Chain) Unmarshal(dAtA []byte) error
- func (m *Chain) XXX_DiscardUnknown()
- func (m *Chain) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Chain) XXX_Merge(src proto.Message)
- func (m *Chain) XXX_Size() int
- func (m *Chain) XXX_Unmarshal(b []byte) error
- type HexAddressString
- func (a HexAddressString) Bytes() []byte
- func (a HexAddressString) IsNull() bool
- func (a HexAddressString) Marshal() ([]byte, error)
- func (a HexAddressString) MarshalTo(data []byte) (int, error)
- func (a HexAddressString) Size() int
- func (a HexAddressString) String() string
- func (a *HexAddressString) Unmarshal(data []byte) error
- type Nft
- func (*Nft) Descriptor() ([]byte, []int)
- func (nft Nft) FormatString() string
- func (m *Nft) GetChainId() string
- func (m *Nft) Marshal() (dAtA []byte, err error)
- func (m *Nft) MarshalTo(dAtA []byte) (int, error)
- func (m *Nft) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Nft) ProtoMessage()
- func (m *Nft) Reset()
- func (m *Nft) Size() (n int)
- func (m *Nft) String() string
- func (m *Nft) Unmarshal(dAtA []byte) error
- func (m *Nft) XXX_DiscardUnknown()
- func (m *Nft) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Nft) XXX_Merge(src proto.Message)
- func (m *Nft) XXX_Size() int
- func (m *Nft) XXX_Unmarshal(b []byte) error
Constants ¶
View Source
const AccAddressByteSize = 20
Variables ¶
Functions ¶
This section is empty.
Types ¶
type Chain ¶ added in v0.5.0
type Chain struct { ChainId string `protobuf:"bytes,1,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"` ChainName string `protobuf:"bytes,2,opt,name=chain_name,json=chainName,proto3" json:"chain_name,omitempty"` ChainUrl string `protobuf:"bytes,3,opt,name=chain_url,json=chainUrl,proto3" json:"chain_url,omitempty"` }
func (*Chain) Descriptor ¶ added in v0.5.0
func (*Chain) GetChainId ¶ added in v0.5.0
func (*Chain) GetChainName ¶ added in v0.5.0
func (*Chain) GetChainUrl ¶ added in v0.5.0
func (*Chain) MarshalToSizedBuffer ¶ added in v0.5.0
func (*Chain) ProtoMessage ¶ added in v0.5.0
func (*Chain) ProtoMessage()
func (*Chain) XXX_DiscardUnknown ¶ added in v0.5.0
func (m *Chain) XXX_DiscardUnknown()
func (*Chain) XXX_Marshal ¶ added in v0.5.0
func (*Chain) XXX_Unmarshal ¶ added in v0.5.0
type HexAddressString ¶
type HexAddressString string
func NewHexAddrFromBytes ¶ added in v0.5.0
func NewHexAddrFromBytes(addr []byte) HexAddressString
func NoramlizeHexAddress ¶ added in v0.5.0
func NoramlizeHexAddress(addr string) HexAddressString
func (HexAddressString) Bytes ¶ added in v0.3.0
func (a HexAddressString) Bytes() []byte
func (HexAddressString) IsNull ¶ added in v0.5.1
func (a HexAddressString) IsNull() bool
func (HexAddressString) Marshal ¶
func (a HexAddressString) Marshal() ([]byte, error)
func (HexAddressString) Size ¶
func (a HexAddressString) Size() int
func (HexAddressString) String ¶
func (a HexAddressString) String() string
func (*HexAddressString) Unmarshal ¶
func (a *HexAddressString) Unmarshal(data []byte) error
type Nft ¶ added in v0.5.0
type Nft struct { ChainId string `protobuf:"bytes,1,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"` ContractAddr HexAddressString `protobuf:"bytes,2,opt,name=contract_addr,json=contractAddr,proto3,customtype=HexAddressString" json:"contract_addr"` TokenId HexAddressString `protobuf:"bytes,3,opt,name=token_id,json=tokenId,proto3,customtype=HexAddressString" json:"token_id"` }
func ParseNftId ¶ added in v0.5.0
func (*Nft) Descriptor ¶ added in v0.5.0
func (Nft) FormatString ¶ added in v0.5.0
func (*Nft) GetChainId ¶ added in v0.5.0
func (*Nft) MarshalToSizedBuffer ¶ added in v0.5.0
func (*Nft) ProtoMessage ¶ added in v0.5.0
func (*Nft) ProtoMessage()
func (*Nft) XXX_DiscardUnknown ¶ added in v0.5.0
func (m *Nft) XXX_DiscardUnknown()
func (*Nft) XXX_Marshal ¶ added in v0.5.0
func (*Nft) XXX_Unmarshal ¶ added in v0.5.0
Click to show internal directories.
Click to hide internal directories.