Documentation ¶
Index ¶
- Variables
- func NewApprove(proposer zsw.AccountName, proposalName zsw.Name, level zsw.PermissionLevel) *zsw.Action
- func NewCancel(proposer zsw.AccountName, proposalName zsw.Name, canceler zsw.AccountName) *zsw.Action
- func NewExec(proposer zsw.AccountName, proposalName zsw.Name, executer zsw.AccountName) *zsw.Action
- func NewPropose(proposer zsw.AccountName, proposalName zsw.Name, ...) *zsw.Action
- func NewUnapprove(proposer zsw.AccountName, proposalName zsw.Name, level zsw.PermissionLevel) *zsw.Action
- type Approve
- type Cancel
- type Exec
- type ProposalRow
- type Propose
- type Unapprove
Constants ¶
This section is empty.
Variables ¶
View Source
var AN = zsw.AN
View Source
var ActN = zsw.ActN
View Source
var PN = zsw.PN
Functions ¶
func NewApprove ¶
func NewApprove(proposer zsw.AccountName, proposalName zsw.Name, level zsw.PermissionLevel) *zsw.Action
NewApprove returns a `approve` action that lives on the `eosio.msig` contract.
func NewCancel ¶
func NewCancel(proposer zsw.AccountName, proposalName zsw.Name, canceler zsw.AccountName) *zsw.Action
NewCancel returns a `cancel` action that lives on the `zswhq.msig` contract.
func NewExec ¶
func NewExec(proposer zsw.AccountName, proposalName zsw.Name, executer zsw.AccountName) *zsw.Action
NewExec returns a `exec` action that lives on the `zswhq.msig` contract.
func NewPropose ¶
func NewPropose(proposer zsw.AccountName, proposalName zsw.Name, requested []zsw.PermissionLevel, transaction *zsw.Transaction) *zsw.Action
NewPropose returns a `propose` action that lives on the `zswhq.msig` contract.
func NewUnapprove ¶
func NewUnapprove(proposer zsw.AccountName, proposalName zsw.Name, level zsw.PermissionLevel) *zsw.Action
NewUnapprove returns a `unapprove` action that lives on the `zswhq.msig` contract.
Types ¶
type Approve ¶
type Approve struct { Proposer zsw.AccountName `json:"proposer"` ProposalName zsw.Name `json:"proposal_name"` Level zsw.PermissionLevel `json:"level"` }
type Cancel ¶
type Cancel struct { Proposer zsw.AccountName `json:"proposer"` ProposalName zsw.Name `json:"proposal_name"` Canceler zsw.AccountName `json:"canceler"` }
type Exec ¶
type Exec struct { Proposer zsw.AccountName `json:"proposer"` ProposalName zsw.Name `json:"proposal_name"` Executer zsw.AccountName `json:"executer"` }
type ProposalRow ¶
type ProposalRow struct { ProposalName zsw.Name `json:"proposal_name"` RequestedApprovals []zsw.PermissionLevel `json:"requested_approvals"` ProvidedApprovals []zsw.PermissionLevel `json:"provided_approvals"` PackedTransaction zsw.HexBytes `json:"packed_transaction"` }
type Propose ¶
type Propose struct { Proposer zsw.AccountName `json:"proposer"` ProposalName zsw.Name `json:"proposal_name"` Requested []zsw.PermissionLevel `json:"requested"` Transaction *zsw.Transaction `json:"trx"` }
type Unapprove ¶
type Unapprove struct { Proposer zsw.AccountName `json:"proposer"` ProposalName zsw.Name `json:"proposal_name"` Level zsw.PermissionLevel `json:"level"` }
Click to show internal directories.
Click to hide internal directories.