Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Methods = builtin2.MethodsMultisig
Functions ¶
This section is empty.
Types ¶
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.UnsignedMessage, error) // Propose a transaction to the given multisig. Propose(msig, target address.Address, amt abi.TokenAmount, method abi.MethodNum, params []byte) (*types.UnsignedMessage, error) // Approve a multisig transaction. The "hash" is optional. Approve(msig address.Address, txID uint64, hash *ProposalHashData) (*types.UnsignedMessage, error) // Cancel a multisig transaction. The "hash" is optional. Cancel(msig address.Address, txID uint64, hash *ProposalHashData) (*types.UnsignedMessage, error) }
func Message ¶
func Message(version specactors.Version, from address.Address) MessageBuilder
type ProposalHashData ¶
type ProposalHashData = multisig2.ProposalHashData
this type is the same between v0 and v2
type ProposeReturn ¶
type ProposeReturn = multisig2.ProposeReturn
type State ¶
type State interface { cbor.Marshaler 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 }
type Transaction ¶
type Transaction = msig0.Transaction
Source Files ¶
Click to show internal directories.
Click to hide internal directories.