Versions in this module Expand all Collapse all v0 v0.0.2 Nov 13, 2024 v0.0.1 Nov 6, 2024 Changes in this version + func GetFullMockDCDTData(source map[string][]byte, systemAccStorage map[string][]byte) (map[string]*MockDCDTData, error) + func GetTokenBalance(tokenIdentifier []byte, nonce uint64, source map[string][]byte) (*big.Int, error) + func GetTokenData(tokenIdentifier []byte, nonce uint64, source map[string][]byte, ...) (*dcdt.DCDigitalToken, error) + func GetTokenRoles(tokenName []byte, source map[string][]byte) ([][]byte, error) + func MakeDCDTUserMetadataBytes(frozen bool) []byte + func SetLastNonce(tokenIdentifier []byte, lastNonce uint64, destination map[string][]byte) error + func SetTokenBalance(tokenIdentifier []byte, nonce uint64, balance *big.Int, ...) error + func SetTokenData(tokenIdentifier []byte, nonce uint64, tokenData *dcdt.DCDigitalToken, ...) error + func SetTokenRoles(tokenIdentifier []byte, roles [][]byte, destination map[string][]byte) error + func SetTokenRolesAsStrings(tokenIdentifier []byte, rolesAsStrings []string, destination map[string][]byte) error + func WriteScenariosDCDTToStorage(dcdtData []*scenmodel.DCDTData, destination map[string][]byte) error + type MockDCDTData struct + Instances []*dcdt.DCDigitalToken + LastNonce uint64 + Roles [][]byte + TokenIdentifier []byte