Documentation
¶
Index ¶
- Constants
- type AccountState
- type MCMSAccountContract
- func (c MCMSAccountContract) AcceptOwnership(opts *bind.TransactOpts) (*api.PendingTransaction, error)
- func (c MCMSAccountContract) AssertIsOwner() (bind.ModuleInformation, string, []aptos.TypeTag, [][]byte, error)
- func (c MCMSAccountContract) Encoder() MCMSAccountEncoder
- func (c MCMSAccountContract) IsSelfOwned(opts *bind.CallOpts) (bool, error)
- func (c MCMSAccountContract) Owner(opts *bind.CallOpts) (aptos.AccountAddress, error)
- func (c MCMSAccountContract) TransferOwnership(opts *bind.TransactOpts, to aptos.AccountAddress) (*api.PendingTransaction, error)
- func (c MCMSAccountContract) TransferOwnershipToSelf(opts *bind.TransactOpts) (*api.PendingTransaction, error)
- type MCMSAccountEncoder
- type MCMSAccountInterface
- type OwnershipTransferRequested
- type OwnershipTransferred
Constants ¶
View Source
const ( E_CANNOT_TRANSFER_TO_SELF uint64 = 1 E_MUST_BE_PROPOSED_OWNER uint64 = 2 E_UNAUTHORIZED uint64 = 3 )
Constants
View Source
const FunctionInfo = `` /* 388-byte string literal not displayed */
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AccountState ¶
type AccountState struct {
Owner aptos.AccountAddress `move:"address"`
PendingOwner aptos.AccountAddress `move:"address"`
}
type MCMSAccountContract ¶
type MCMSAccountContract struct {
*bind.BoundContract
// contains filtered or unexported fields
}
func (MCMSAccountContract) AcceptOwnership ¶
func (c MCMSAccountContract) AcceptOwnership(opts *bind.TransactOpts) (*api.PendingTransaction, error)
func (MCMSAccountContract) AssertIsOwner ¶
func (MCMSAccountContract) Encoder ¶
func (c MCMSAccountContract) Encoder() MCMSAccountEncoder
func (MCMSAccountContract) IsSelfOwned ¶
func (c MCMSAccountContract) IsSelfOwned(opts *bind.CallOpts) (bool, error)
func (MCMSAccountContract) Owner ¶
func (c MCMSAccountContract) Owner(opts *bind.CallOpts) (aptos.AccountAddress, error)
func (MCMSAccountContract) TransferOwnership ¶
func (c MCMSAccountContract) TransferOwnership(opts *bind.TransactOpts, to aptos.AccountAddress) (*api.PendingTransaction, error)
func (MCMSAccountContract) TransferOwnershipToSelf ¶
func (c MCMSAccountContract) TransferOwnershipToSelf(opts *bind.TransactOpts) (*api.PendingTransaction, error)
type MCMSAccountEncoder ¶
type MCMSAccountEncoder interface {
Owner() (bind.ModuleInformation, string, []aptos.TypeTag, [][]byte, error)
IsSelfOwned() (bind.ModuleInformation, string, []aptos.TypeTag, [][]byte, error)
TransferOwnership(to aptos.AccountAddress) (bind.ModuleInformation, string, []aptos.TypeTag, [][]byte, error)
TransferOwnershipToSelf() (bind.ModuleInformation, string, []aptos.TypeTag, [][]byte, error)
AcceptOwnership() (bind.ModuleInformation, string, []aptos.TypeTag, [][]byte, error)
AssertIsOwner() (bind.ModuleInformation, string, []aptos.TypeTag, [][]byte, error)
}
type MCMSAccountInterface ¶
type MCMSAccountInterface interface {
Owner(opts *bind.CallOpts) (aptos.AccountAddress, error)
IsSelfOwned(opts *bind.CallOpts) (bool, error)
TransferOwnership(opts *bind.TransactOpts, to aptos.AccountAddress) (*api.PendingTransaction, error)
TransferOwnershipToSelf(opts *bind.TransactOpts) (*api.PendingTransaction, error)
AcceptOwnership(opts *bind.TransactOpts) (*api.PendingTransaction, error)
// Encoder returns the encoder implementation of this module.
Encoder() MCMSAccountEncoder
}
func NewMCMSAccount ¶
func NewMCMSAccount(address aptos.AccountAddress, client aptos.AptosRpcClient) MCMSAccountInterface
type OwnershipTransferRequested ¶
type OwnershipTransferRequested struct {
From aptos.AccountAddress `move:"address"`
To aptos.AccountAddress `move:"address"`
}
type OwnershipTransferred ¶
type OwnershipTransferred struct {
From aptos.AccountAddress `move:"address"`
To aptos.AccountAddress `move:"address"`
}
Click to show internal directories.
Click to hide internal directories.