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