Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Methods = builtintypes.MethodsMultisig
Functions ¶
Types ¶
type ApproveReturn ¶
type ApproveReturn = msig13.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 actorstypes.Version, from address.Address) MessageBuilder
type PendingTransactionChanges ¶
type PendingTransactionChanges struct { Added []TransactionChange Modified []TransactionModification Removed []TransactionChange }
func DiffPendingTransactions ¶
func DiffPendingTransactions(pre, cur State) (*PendingTransactionChanges, error)
type ProposalHashData ¶
type ProposalHashData = msig13.ProposalHashData
this type is the same between v0 and v2
type ProposeParams ¶
type ProposeParams = msig13.ProposeParams
type ProposeReturn ¶
type ProposeReturn = msig13.ProposeReturn
type State ¶
type State interface { cbor.Marshaler Code() cid.Cid ActorKey() string ActorVersion() actorstypes.Version 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) GetState() interface{} // contains filtered or unexported methods }
func MakeState ¶
func MakeState(store adt.Store, av actorstypes.Version, signers []address.Address, threshold uint64, startEpoch abi.ChainEpoch, unlockDuration abi.ChainEpoch, initialBalance abi.TokenAmount) (State, error)
type Transaction ¶
type Transaction = msig13.Transaction
type TransactionChange ¶
type TransactionChange struct { TxID int64 Tx Transaction }
type TransactionModification ¶
type TransactionModification struct { TxID int64 From Transaction To Transaction }
Source Files ¶
- actor.go
- diff.go
- message.v0.go
- message.v10.go
- message.v11.go
- message.v12.go
- message.v13.go
- message.v2.go
- message.v3.go
- message.v4.go
- message.v5.go
- message.v6.go
- message.v7.go
- message.v8.go
- message.v9.go
- state.v0.go
- state.v10.go
- state.v11.go
- state.v12.go
- state.v13.go
- state.v2.go
- state.v3.go
- state.v4.go
- state.v5.go
- state.v6.go
- state.v7.go
- state.v8.go
- state.v9.go
Click to show internal directories.
Click to hide internal directories.