-
Notifications
You must be signed in to change notification settings - Fork 2
/
currency.go
12 lines (11 loc) · 967 Bytes
/
currency.go
1
2
3
4
5
6
7
8
9
10
11
12
package cmds
type CurrencyCommand struct {
CreateAccount CreateAccountCommand `cmd:"" name:"create-account" help:"create new account"`
UpdateKey UpdateKeyCommand `cmd:"" name:"update-key" help:"update account keys"`
Transfer TransferCommand `cmd:"" name:"transfer" help:"transfer"`
RegisterCurrency RegisterCurrencyCommand `cmd:"" name:"register-currency" help:"register new currency"`
UpdateCurrency UpdateCurrencyCommand `cmd:"" name:"update-currency" help:"update currency policy"`
CreateContractAccount CreateContractAccountCommand `cmd:"" name:"create-contract-account" help:"create new contract account"`
UpdateOperator UpdateOperatorCommand `cmd:"" name:"update-operator" help:"update operator of contract account"`
Withdraw WithdrawCommand `cmd:"" name:"withdraw" help:"withdraw amounts from target contract account"`
}