DisperseUgnot
func(addresses [].uverse.address, coins chain.Coins)DisperseUgnot parses receivers and amounts and sends out ugnot The function will send out the coins to the addresses and return the leftover coins to the caller if there are any to return
- OID
- 089002…6f64:3
DisperseUgnot details
DisperseUgnotString
func(addresses string, amounts string)DisperseUgnotString receives a string of addresses and a string of amounts and parses them to be used in DisperseUgnot
- OID
- 089002…6f64:5
DisperseUgnotString details
DisperseGRC20
func(addresses [].uverse.address, amounts []int64, symbols []string)DisperseGRC20 disperses tokens to multiple addresses Note that it is necessary to approve the realm to spend the tokens before calling this function see the corresponding filetests for examples
- OID
- 089002…6f64:6
DisperseGRC20 details
DisperseGRC20String
func(addresses string, tokens string)DisperseGRC20String receives a string of addresses and a string of tokens and parses them to be used in DisperseGRC20
- OID
- 089002…6f64:7
DisperseGRC20String details
ErrNotEnoughCoin
*errors.errorString- OID
- 089002…6f64:9
ErrNotEnoughCoin details
ErrNumAddrValMismatch
*errors.errorString- OID
- 089002…6f64:12
ErrNumAddrValMismatch details
ErrInvalidAddress
*errors.errorString- OID
- 089002…6f64:15
ErrInvalidAddress details
ErrNegativeCoinAmount
*errors.errorString- OID
- 089002…6f64:18
ErrNegativeCoinAmount details
ErrMismatchBetweenSentAndParams
*errors.errorString- OID
- 089002…6f64:21
ErrMismatchBetweenSentAndParams details
ErrArgLenAndSentLenMismatch
*errors.errorString- OID
- 089002…6f64:24
ErrArgLenAndSentLenMismatch details
ErrInvalidAmount
*errors.errorString- OID
- 089002…6f64:27
ErrInvalidAmount details
parseAddresses
func(addresses string) ([].uverse.address, .uverse.error)- OID
- 089002…6f64:29
parseAddresses details
splitString
func(input string) (string, string)- OID
- 089002…6f64:31
splitString details
parseTokens
func(tokens string) ([]int64, []string, .uverse.error)- OID
- 089002…6f64:32
parseTokens details
parseAmounts
func(amounts string) ([]int64, .uverse.error)- OID
- 089002…6f64:33