Documentation ¶
Index ¶
- func Equal(x, y *Address) bool
- type Address
- func (x *Address) Base64() string
- func (x *Address) Checksum() uint16
- func (x *Address) FromBase64(b64 string) (*Address, error)
- func (x *Address) FromString(str string) (*Address, error)
- func (x *Address) FromTonutils(addr *address.Address) (*Address, error)
- func (x *Address) MarshalJSON() ([]byte, error)
- func (x *Address) MustToTonutils() *address.Address
- func (x *Address) Scan(value interface{}) error
- func (x *Address) String() string
- func (x *Address) ToTonutils() (*address.Address, error)
- func (x *Address) UnmarshalJSON(raw []byte) error
- func (x *Address) UnmarshalText(data []byte) error
- func (x *Address) Value() (driver.Value, error)
- func (x *Address) Workchain() int8
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Address ¶
type Address [33]byte
Address consists of flags (1 byte), workchain_id (1 byte) and account_id (32 byte). https://docs.ton.org/learn/overviews/addresses#user-friendly-address-structure
func MustFromBase64 ¶
func MustFromString ¶
func MustFromTonutils ¶
func (*Address) FromTonutils ¶
func (*Address) MarshalJSON ¶
func (*Address) MustToTonutils ¶
func (*Address) UnmarshalJSON ¶
func (*Address) UnmarshalText ¶
Click to show internal directories.
Click to hide internal directories.