msig

package
v0.8.9 Latest Latest
Warning

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

Go to latest
Published: Mar 11, 2019 License: MIT Imports: 1 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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