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