msapprovals

package
v0.11.0-rc1 Latest Latest
Warning

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

Go to latest
Published: Jul 4, 2022 License: Apache-2.0, MIT Imports: 4 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MultisigApproval

type MultisigApproval struct {
	Height         int64    `pg:",pk,notnull,use_zero"`
	StateRoot      string   `pg:",pk,notnull"`
	MultisigID     string   `pg:",pk,notnull"`
	Message        string   `pg:",pk,notnull"`       // cid of message
	Method         uint64   `pg:",notnull,use_zero"` // method number used for the approval 2=propose, 3=approve
	Approver       string   `pg:",pk,notnull"`       // address of signer that triggered approval
	Threshold      uint64   `pg:",notnull,use_zero"`
	InitialBalance string   `pg:"type:numeric,notnull"`
	Signers        []string `pg:",notnull"`
	GasUsed        int64    `pg:",use_zero"`
	TransactionID  int64    `pg:",notnull,use_zero"`
	To             string   `pg:",use_zero"`            // address funds will move to in transaction
	Value          string   `pg:"type:numeric,notnull"` // amount of funds moved in transaction
	// contains filtered or unexported fields
}

func (*MultisigApproval) Persist

func (ma *MultisigApproval) Persist(ctx context.Context, s model.StorageBatch, version model.Version) error

type MultisigApprovalList

type MultisigApprovalList []*MultisigApproval

func (MultisigApprovalList) Persist

Jump to

Keyboard shortcuts

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