Documentation ¶
Overview ¶
Code generated by: `make actors-gen`. DO NOT EDIT.
Code generated by: `make actors-gen`. DO NOT EDIT.
Code generated by: `make actors-gen`. DO NOT EDIT.
Code generated by: `make actors-gen`. DO NOT EDIT.
Code generated by: `make actors-gen`. DO NOT EDIT.
Code generated by: `make actors-gen`. DO NOT EDIT.
Code generated by: `make actors-gen`. DO NOT EDIT.
Code generated by: `make actors-gen`. DO NOT EDIT.
Code generated by: `make actors-gen`. DO NOT EDIT.
Code generated by: `make actors-gen`. DO NOT EDIT.
Code generated by: `make actors-gen`. DO NOT EDIT.
Code generated by: `make actors-gen`. DO NOT EDIT.
Code generated by: `make actors-gen`. DO NOT EDIT.
Code generated by: `make actors-gen`. DO NOT EDIT.
Code generated by: `make actors-gen`. DO NOT EDIT.
Index ¶
- Variables
- func AllCodes() []cid.Cid
- func NewTransactionDiffContainer(pre, cur State) *transactionDiffContainer
- type ApproveReturn
- type MessageBuilder
- type PendingTransactionChanges
- type ProposalHashData
- type ProposeParams
- type ProposeReturn
- type State
- type Transaction
- type TransactionChange
- type TransactionModification
- type TxnIDParams
Constants ¶
This section is empty.
Variables ¶
var Methods = builtin7.MethodsMultisig
Functions ¶
func NewTransactionDiffContainer ¶
func NewTransactionDiffContainer(pre, cur State) *transactionDiffContainer
Types ¶
type ApproveReturn ¶ added in v0.8.4
type ApproveReturn = msig7.ApproveReturn
type MessageBuilder ¶
type MessageBuilder interface { // Create a new multisig with the specified parameters. Create(signers []address.Address, threshold uint64, vestingStart, vestingDuration abi.ChainEpoch, initialAmount abi.TokenAmount) (*types.Message, error) // Propose a transaction to the given multisig. Propose(msig, target address.Address, amt abi.TokenAmount, method abi.MethodNum, params []byte) (*types.Message, error) // Approve a multisig transaction. The "hash" is optional. Approve(msig address.Address, txID uint64, hash *ProposalHashData) (*types.Message, error) // Cancel a multisig transaction. The "hash" is optional. Cancel(msig address.Address, txID uint64, hash *ProposalHashData) (*types.Message, error) }
func Message ¶
func Message(version actors.Version, from address.Address) MessageBuilder
type PendingTransactionChanges ¶
type PendingTransactionChanges struct { Added []TransactionChange Modified []TransactionModification Removed []TransactionChange }
func DiffPendingTransactions ¶
type ProposalHashData ¶
type ProposalHashData = msig7.ProposalHashData
these types are the same between v0 and v6
type ProposeParams ¶
type ProposeParams = msig7.ProposeParams
type ProposeReturn ¶
type ProposeReturn = msig7.ProposeReturn
type State ¶
type State interface { cbor.Marshaler Code() cid.Cid LockedBalance(epoch abi.ChainEpoch) (abi.TokenAmount, error) StartEpoch() (abi.ChainEpoch, error) UnlockDuration() (abi.ChainEpoch, error) InitialBalance() (abi.TokenAmount, error) Threshold() (uint64, error) Signers() ([]address.Address, error) ForEachPendingTxn(func(id int64, txn Transaction) error) error PendingTxnChanged(State) (bool, error) // contains filtered or unexported methods }
type Transaction ¶
type Transaction = msig7.Transaction
type TransactionChange ¶
type TransactionChange struct { TxID int64 Tx Transaction }
type TransactionModification ¶
type TransactionModification struct { TxID int64 From Transaction To Transaction }
type TxnIDParams ¶ added in v0.8.4
type TxnIDParams = msig7.TxnIDParams