Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Methods = builtintypes.MethodsMultisig
Functions ¶
Types ¶
type ApproveReturn ¶ added in v1.11.0
type ApproveReturn = msig16.ApproveReturn
type MessageBuilder ¶ added in v0.9.0
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 ¶ added in v0.9.0
func Message(version actorstypes.Version, from address.Address) MessageBuilder
type PendingTransactionChanges ¶ added in v1.1.3
type PendingTransactionChanges struct { Added []TransactionChange Modified []TransactionModification Removed []TransactionChange }
func DiffPendingTransactions ¶ added in v1.1.3
func DiffPendingTransactions(pre, cur State) (*PendingTransactionChanges, error)
type ProposalHashData ¶ added in v0.9.0
type ProposalHashData = msig16.ProposalHashData
this type is the same between v0 and v2
type ProposeParams ¶ added in v1.4.2
type ProposeParams = msig16.ProposeParams
type ProposeReturn ¶ added in v0.10.2
type ProposeReturn = msig16.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 ¶ added in v1.11.0
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 = msig16.Transaction
type TransactionChange ¶ added in v1.1.3
type TransactionChange struct { TxID int64 Tx Transaction }
type TransactionModification ¶ added in v1.1.3
type TransactionModification struct { TxID int64 From Transaction To Transaction }
Source Files ¶
- diff.go
- message0.go
- message10.go
- message11.go
- message12.go
- message13.go
- message14.go
- message15.go
- message16.go
- message2.go
- message3.go
- message4.go
- message5.go
- message6.go
- message7.go
- message8.go
- message9.go
- multisig.go
- v0.go
- v10.go
- v11.go
- v12.go
- v13.go
- v14.go
- v15.go
- v16.go
- v2.go
- v3.go
- v4.go
- v5.go
- v6.go
- v7.go
- v8.go
- v9.go
Click to show internal directories.
Click to hide internal directories.