package
0.0.9
Repository: https://github.com/anoideaopen/foundation.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# Functions

AddrFromBase58Check creates address from base58 string.
AddrFromBytes creates address from bytes.
ConvertToAsset converts MultiSwapAsset to Asset.
IsValidAddressLen checks if address length is valid.
NewSenderFromAddr creates sender from address.

# Constants

AddressLength is expected bytes len for business entity Address.

# Structs

MultiSwapAsset is a wrapper for asset.
MultiSwapAssets is a wrapper for asset.
Sender is a wrapper for address.

# Interfaces

BytesDecoder defines an interface for decoding an object from bytes.
BytesEncoder defines an interface for encoding an object to bytes.
Checker is an interface that can be implemented by types that can check themselves.
CheckerWithStub is an interface that can be implemented by types that can check themselves.
BytesDecoder defines an interface for decoding an object from bytes with a stub.
BytesEncoder defines an interface for encoding an object to bytes with a stub.

# Type aliases

Address might be more complicated structure contains fields like isIndustrial bool or isMultisig bool.
Hex is a wrapper for []byte.