Documentation ¶
Index ¶
- Variables
- func Bond(nodeClient client.NodeClient, keyClient keys.KeyClient, ...) (*txs.BondTx, error)
- func Call(nodeClient client.NodeClient, keyClient keys.KeyClient, ...) (*txs.CallTx, error)
- func Name(nodeClient client.NodeClient, keyClient keys.KeyClient, ...) (*txs.NameTx, error)
- func Permissions(nodeClient client.NodeClient, keyClient keys.KeyClient, ...) (*txs.PermissionsTx, error)
- func Rebond(addrS, heightS string) (*txs.RebondTx, error)
- func Send(nodeClient client.NodeClient, keyClient keys.KeyClient, ...) (*txs.SendTx, error)
- func Unbond(addrS, heightS string) (*txs.UnbondTx, error)
- type PermFunc
- type TxResult
Constants ¶
This section is empty.
Variables ¶
View Source
var (
MaxCommitWaitTimeSeconds = 20
)
View Source
var PermsFuncs = []PermFunc{
{"set_base", "address, permission flag, value"},
{"unset_base", "address, permission flag"},
{"set_global", "permission flag, value"},
{"add_role", "address, role"},
{"rm_role", "address, role"},
}
Functions ¶
func Permissions ¶
func Permissions(nodeClient client.NodeClient, keyClient keys.KeyClient, pubkey, addrS, nonceS, permFunc string, argsS []string) (*txs.PermissionsTx, error)
Types ¶
Click to show internal directories.
Click to hide internal directories.