msig

package
v0.0.0-...-3dc42a4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 12, 2019 License: MIT Imports: 1 Imported by: 0

Documentation

Index

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"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL