Versions in this module Expand all Collapse all v0 v0.2.0 Mar 7, 2026 Changes in this version + const ERC20DIDMethod + const ERC721DIDMethod + const EthrDIDMethod + type ERC20DID struct + ChainID uint64 + ContractAddress common.Address + func DecodeERC20DID(did string) (ERC20DID, error) + func (e *ERC20DID) UnmarshalText(text []byte) error + func (e ERC20DID) MarshalText() ([]byte, error) + func (e ERC20DID) String() string + type ERC721DID struct + ChainID uint64 + ContractAddress common.Address + TokenID *big.Int + func DecodeERC721DID(did string) (ERC721DID, error) + func DecodeERC721orNFTDID(did string) (ERC721DID, error) + func DecodeLegacyNFTDID(did string) (ERC721DID, error) + func (e *ERC721DID) UnmarshalText(text []byte) error + func (e ERC721DID) MarshalText() ([]byte, error) + func (e ERC721DID) String() string + type EthrDID struct + ChainID uint64 + ContractAddress common.Address + func DecodeEthrDID(did string) (EthrDID, error) + func (e *EthrDID) UnmarshalText(text []byte) error + func (e EthrDID) MarshalText() ([]byte, error) + func (e EthrDID) String() string