Documentation ¶
Index ¶
Constants ¶
View Source
const (
// AddressLength is the expected length of the address
AddressLength = 20
)
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ContractID ¶
func NewContractID ¶
func ParseContractID ¶
func ParseContractID(contractURL string) (*ContractID, error)
func (*ContractID) Clone ¶
func (t *ContractID) Clone() *ContractID
func (ContractID) MarshalText ¶
func (t ContractID) MarshalText() ([]byte, error)
func (*ContractID) String ¶
func (t *ContractID) String() string
func (*ContractID) StripQuery ¶
func (t *ContractID) StripQuery() *ContractID
func (*ContractID) UnmarshalText ¶
func (t *ContractID) UnmarshalText(text []byte) error
type EIP55 ¶
type EIP55 string
https://eips.ethereum.org/EIPS/eip-55
func (EIP55) MarshalText ¶
func (*EIP55) UnmarshalText ¶
type EIP681 ¶
https://eips.ethereum.org/EIPS/eip-681
func ParseEIP681 ¶
func (EIP681) MarshalText ¶
func (*EIP681) UnmarshalText ¶
Click to show internal directories.
Click to hide internal directories.