module_mcms_account

package
v0.0.0-...-59d031a Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 27, 2026 License: MIT Imports: 5 Imported by: 1

Documentation

Index

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 (c MCMSAccountContract) AssertIsOwner() (bind.ModuleInformation, string, []aptos.TypeTag, [][]byte, error)

func (MCMSAccountContract) Encoder

func (MCMSAccountContract) IsSelfOwned

func (c MCMSAccountContract) IsSelfOwned(opts *bind.CallOpts) (bool, error)

func (MCMSAccountContract) Owner

func (MCMSAccountContract) TransferOwnership

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"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL