Documentation ¶
Index ¶
Constants ¶
View Source
const (
DDC = "ddc-sdk-go"
)
Variables ¶
View Source
var ( AccountNameError = register(DDC, "1026", "account name is empty") AccountError = register(DDC, "1027", "account is not a standard address format") OwnerAccountError = register(DDC, "1028", "owner account is not a standard address format") SenderAccountError = register(DDC, "1029", "sender account is not a standard address format") OperatorAccountError = register(DDC, "1030", "owner account is not a standard address format") AccountsError = register(DDC, "1031", "accounts must not be empty") AccNamesError = register(DDC, "1032", "accNames must not be empty") AccDIDsError = register(DDC, "1033", "accDIDs must not be empty") LeaderDIDsError = register(DDC, "1034", "LeaderDIDs must not be empty") ToListError = register(DDC, "1035", "toList must not be empty") AmountsError = register(DDC, "1036", "amounts must not be empty") NameError = register(DDC, "1037", "name must not be null") SymbolError = register(DDC, "1038", "symbol must not be null") FromAccountError = register(DDC, "1007", "from account is not a standard address format") ToAccountError = register(DDC, "1008", "to account is not a standard address format") ContractAddressError = register(DDC, "1009", "contract address is not a standard address format") DDCInfoError = register(DDC, "1010", "the length of amounts and ddcURIs do not match") OwnersDDCIdsError = register(DDC, "1011", "the length of owners and ddcIds do not match") DDCIdError = register(DDC, "1016", "ddcID is wrong") DDCURIError = register(DDC, "1017", "ddcURI cannot be empty") AmountError = register(DDC, "1018", "Amount is wrong") DDCIdsError = register(DDC, "1019", "ddcIds must not be empty") TransactError = register(DDC, "3001", "failed to transact") QueryError = register(DDC, "3002", "failed to query") InternalError = register(DDC, "3003", "internal error") )
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.