walletmain

package
v0.5.3 Latest Latest
Warning

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

Go to latest
Published: Sep 13, 2021 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const WalletMainABI = "" /* 6983-byte string literal not displayed */

WalletMainABI is the input ABI used to generate the binding from.

View Source
const WalletMainBin = "" /* 23240-byte string literal not displayed */

WalletMainBin is the compiled bytecode used for deploying new contracts.

Variables

This section is empty.

Functions

This section is empty.

Types

type IModuleCallsTransaction

type IModuleCallsTransaction struct {
	DelegateCall  bool
	RevertOnError bool
	GasLimit      *big.Int
	Target        common.Address
	Value         *big.Int
	Data          []byte
}

IModuleCallsTransaction is an auto generated low-level Go binding around an user-defined struct.

type WalletMain

type WalletMain struct {
	WalletMainCaller     // Read-only binding to the contract
	WalletMainTransactor // Write-only binding to the contract
	WalletMainFilterer   // Log filterer for contract events
}

WalletMain is an auto generated Go binding around an Ethereum contract.

func DeployWalletMain

func DeployWalletMain(auth *bind.TransactOpts, backend bind.ContractBackend, _factory common.Address) (common.Address, *types.Transaction, *WalletMain, error)

DeployWalletMain deploys a new Ethereum contract, binding an instance of WalletMain to it.

func NewWalletMain

func NewWalletMain(address common.Address, backend bind.ContractBackend) (*WalletMain, error)

NewWalletMain creates a new instance of WalletMain, bound to a specific deployed contract.

type WalletMainCaller

type WalletMainCaller struct {
	// contains filtered or unexported fields
}

WalletMainCaller is an auto generated read-only Go binding around an Ethereum contract.

func NewWalletMainCaller

func NewWalletMainCaller(address common.Address, caller bind.ContractCaller) (*WalletMainCaller, error)

NewWalletMainCaller creates a new read-only instance of WalletMain, bound to a specific deployed contract.

func (*WalletMainCaller) FACTORY

func (_WalletMain *WalletMainCaller) FACTORY(opts *bind.CallOpts) (common.Address, error)

FACTORY is a free data retrieval call binding the contract method 0x2dd31000.

Solidity: function FACTORY() view returns(address)

func (*WalletMainCaller) INITCODEHASH

func (_WalletMain *WalletMainCaller) INITCODEHASH(opts *bind.CallOpts) ([32]byte, error)

INITCODEHASH is a free data retrieval call binding the contract method 0x257671f5.

Solidity: function INIT_CODE_HASH() view returns(bytes32)

func (*WalletMainCaller) IsValidSignature

func (_WalletMain *WalletMainCaller) IsValidSignature(opts *bind.CallOpts, _hash [32]byte, _signatures []byte) ([4]byte, error)

IsValidSignature is a free data retrieval call binding the contract method 0x1626ba7e.

Solidity: function isValidSignature(bytes32 _hash, bytes _signatures) view returns(bytes4)

func (*WalletMainCaller) IsValidSignature0

func (_WalletMain *WalletMainCaller) IsValidSignature0(opts *bind.CallOpts, _data []byte, _signatures []byte) ([4]byte, error)

IsValidSignature0 is a free data retrieval call binding the contract method 0x20c13b0b.

Solidity: function isValidSignature(bytes _data, bytes _signatures) view returns(bytes4)

func (*WalletMainCaller) Nonce

func (_WalletMain *WalletMainCaller) Nonce(opts *bind.CallOpts) (*big.Int, error)

Nonce is a free data retrieval call binding the contract method 0xaffed0e0.

Solidity: function nonce() view returns(uint256)

func (*WalletMainCaller) ReadHook

func (_WalletMain *WalletMainCaller) ReadHook(opts *bind.CallOpts, _signature [4]byte) (common.Address, error)

ReadHook is a free data retrieval call binding the contract method 0x1a9b2337.

Solidity: function readHook(bytes4 _signature) view returns(address)

func (*WalletMainCaller) ReadNonce

func (_WalletMain *WalletMainCaller) ReadNonce(opts *bind.CallOpts, _space *big.Int) (*big.Int, error)

ReadNonce is a free data retrieval call binding the contract method 0x8c3f5563.

Solidity: function readNonce(uint256 _space) view returns(uint256)

func (*WalletMainCaller) SupportsInterface

func (_WalletMain *WalletMainCaller) SupportsInterface(opts *bind.CallOpts, _interfaceID [4]byte) (bool, error)

SupportsInterface is a free data retrieval call binding the contract method 0x01ffc9a7.

Solidity: function supportsInterface(bytes4 _interfaceID) pure returns(bool)

type WalletMainCallerRaw

type WalletMainCallerRaw struct {
	Contract *WalletMainCaller // Generic read-only contract binding to access the raw methods on
}

WalletMainCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.

func (*WalletMainCallerRaw) Call

func (_WalletMain *WalletMainCallerRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error

Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.

type WalletMainCallerSession

type WalletMainCallerSession struct {
	Contract *WalletMainCaller // Generic contract caller binding to set the session for
	CallOpts bind.CallOpts     // Call options to use throughout this session
}

WalletMainCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.

func (*WalletMainCallerSession) FACTORY

func (_WalletMain *WalletMainCallerSession) FACTORY() (common.Address, error)

FACTORY is a free data retrieval call binding the contract method 0x2dd31000.

Solidity: function FACTORY() view returns(address)

func (*WalletMainCallerSession) INITCODEHASH

func (_WalletMain *WalletMainCallerSession) INITCODEHASH() ([32]byte, error)

INITCODEHASH is a free data retrieval call binding the contract method 0x257671f5.

Solidity: function INIT_CODE_HASH() view returns(bytes32)

func (*WalletMainCallerSession) IsValidSignature

func (_WalletMain *WalletMainCallerSession) IsValidSignature(_hash [32]byte, _signatures []byte) ([4]byte, error)

IsValidSignature is a free data retrieval call binding the contract method 0x1626ba7e.

Solidity: function isValidSignature(bytes32 _hash, bytes _signatures) view returns(bytes4)

func (*WalletMainCallerSession) IsValidSignature0

func (_WalletMain *WalletMainCallerSession) IsValidSignature0(_data []byte, _signatures []byte) ([4]byte, error)

IsValidSignature0 is a free data retrieval call binding the contract method 0x20c13b0b.

Solidity: function isValidSignature(bytes _data, bytes _signatures) view returns(bytes4)

func (*WalletMainCallerSession) Nonce

func (_WalletMain *WalletMainCallerSession) Nonce() (*big.Int, error)

Nonce is a free data retrieval call binding the contract method 0xaffed0e0.

Solidity: function nonce() view returns(uint256)

func (*WalletMainCallerSession) ReadHook

func (_WalletMain *WalletMainCallerSession) ReadHook(_signature [4]byte) (common.Address, error)

ReadHook is a free data retrieval call binding the contract method 0x1a9b2337.

Solidity: function readHook(bytes4 _signature) view returns(address)

func (*WalletMainCallerSession) ReadNonce

func (_WalletMain *WalletMainCallerSession) ReadNonce(_space *big.Int) (*big.Int, error)

ReadNonce is a free data retrieval call binding the contract method 0x8c3f5563.

Solidity: function readNonce(uint256 _space) view returns(uint256)

func (*WalletMainCallerSession) SupportsInterface

func (_WalletMain *WalletMainCallerSession) SupportsInterface(_interfaceID [4]byte) (bool, error)

SupportsInterface is a free data retrieval call binding the contract method 0x01ffc9a7.

Solidity: function supportsInterface(bytes4 _interfaceID) pure returns(bool)

type WalletMainCreatedContract

type WalletMainCreatedContract struct {
	Contract common.Address
	Raw      types.Log // Blockchain specific contextual infos
}

WalletMainCreatedContract represents a CreatedContract event raised by the WalletMain contract.

type WalletMainCreatedContractIterator

type WalletMainCreatedContractIterator struct {
	Event *WalletMainCreatedContract // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

WalletMainCreatedContractIterator is returned from FilterCreatedContract and is used to iterate over the raw logs and unpacked data for CreatedContract events raised by the WalletMain contract.

func (*WalletMainCreatedContractIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*WalletMainCreatedContractIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*WalletMainCreatedContractIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type WalletMainFilterer

type WalletMainFilterer struct {
	// contains filtered or unexported fields
}

WalletMainFilterer is an auto generated log filtering Go binding around an Ethereum contract events.

func NewWalletMainFilterer

func NewWalletMainFilterer(address common.Address, filterer bind.ContractFilterer) (*WalletMainFilterer, error)

NewWalletMainFilterer creates a new log filterer instance of WalletMain, bound to a specific deployed contract.

func (*WalletMainFilterer) FilterCreatedContract

func (_WalletMain *WalletMainFilterer) FilterCreatedContract(opts *bind.FilterOpts) (*WalletMainCreatedContractIterator, error)

FilterCreatedContract is a free log retrieval operation binding the contract event 0xa506ad4e7f05eceba62a023c3219e5bd98a615f4fa87e2afb08a2da5cf62bf0c.

Solidity: event CreatedContract(address _contract)

func (*WalletMainFilterer) FilterImplementationUpdated

func (_WalletMain *WalletMainFilterer) FilterImplementationUpdated(opts *bind.FilterOpts) (*WalletMainImplementationUpdatedIterator, error)

FilterImplementationUpdated is a free log retrieval operation binding the contract event 0x310ba5f1d2ed074b51e2eccd052a47ae9ab7c6b800d1fca3db3999d6a592ca03.

Solidity: event ImplementationUpdated(address newImplementation)

func (*WalletMainFilterer) FilterNonceChange

func (_WalletMain *WalletMainFilterer) FilterNonceChange(opts *bind.FilterOpts) (*WalletMainNonceChangeIterator, error)

FilterNonceChange is a free log retrieval operation binding the contract event 0x1f180c27086c7a39ea2a7b25239d1ab92348f07ca7bb59d1438fcf527568f881.

Solidity: event NonceChange(uint256 _space, uint256 _newNonce)

func (*WalletMainFilterer) FilterTxFailed

func (_WalletMain *WalletMainFilterer) FilterTxFailed(opts *bind.FilterOpts) (*WalletMainTxFailedIterator, error)

FilterTxFailed is a free log retrieval operation binding the contract event 0x3dbd1590ea96dd3253a91f24e64e3a502e1225d602a5731357bc12643070ccd7.

Solidity: event TxFailed(bytes32 _tx, bytes _reason)

func (*WalletMainFilterer) ParseCreatedContract

func (_WalletMain *WalletMainFilterer) ParseCreatedContract(log types.Log) (*WalletMainCreatedContract, error)

ParseCreatedContract is a log parse operation binding the contract event 0xa506ad4e7f05eceba62a023c3219e5bd98a615f4fa87e2afb08a2da5cf62bf0c.

Solidity: event CreatedContract(address _contract)

func (*WalletMainFilterer) ParseImplementationUpdated

func (_WalletMain *WalletMainFilterer) ParseImplementationUpdated(log types.Log) (*WalletMainImplementationUpdated, error)

ParseImplementationUpdated is a log parse operation binding the contract event 0x310ba5f1d2ed074b51e2eccd052a47ae9ab7c6b800d1fca3db3999d6a592ca03.

Solidity: event ImplementationUpdated(address newImplementation)

func (*WalletMainFilterer) ParseNonceChange

func (_WalletMain *WalletMainFilterer) ParseNonceChange(log types.Log) (*WalletMainNonceChange, error)

ParseNonceChange is a log parse operation binding the contract event 0x1f180c27086c7a39ea2a7b25239d1ab92348f07ca7bb59d1438fcf527568f881.

Solidity: event NonceChange(uint256 _space, uint256 _newNonce)

func (*WalletMainFilterer) ParseTxFailed

func (_WalletMain *WalletMainFilterer) ParseTxFailed(log types.Log) (*WalletMainTxFailed, error)

ParseTxFailed is a log parse operation binding the contract event 0x3dbd1590ea96dd3253a91f24e64e3a502e1225d602a5731357bc12643070ccd7.

Solidity: event TxFailed(bytes32 _tx, bytes _reason)

func (*WalletMainFilterer) WatchCreatedContract

func (_WalletMain *WalletMainFilterer) WatchCreatedContract(opts *bind.WatchOpts, sink chan<- *WalletMainCreatedContract) (event.Subscription, error)

WatchCreatedContract is a free log subscription operation binding the contract event 0xa506ad4e7f05eceba62a023c3219e5bd98a615f4fa87e2afb08a2da5cf62bf0c.

Solidity: event CreatedContract(address _contract)

func (*WalletMainFilterer) WatchImplementationUpdated

func (_WalletMain *WalletMainFilterer) WatchImplementationUpdated(opts *bind.WatchOpts, sink chan<- *WalletMainImplementationUpdated) (event.Subscription, error)

WatchImplementationUpdated is a free log subscription operation binding the contract event 0x310ba5f1d2ed074b51e2eccd052a47ae9ab7c6b800d1fca3db3999d6a592ca03.

Solidity: event ImplementationUpdated(address newImplementation)

func (*WalletMainFilterer) WatchNonceChange

func (_WalletMain *WalletMainFilterer) WatchNonceChange(opts *bind.WatchOpts, sink chan<- *WalletMainNonceChange) (event.Subscription, error)

WatchNonceChange is a free log subscription operation binding the contract event 0x1f180c27086c7a39ea2a7b25239d1ab92348f07ca7bb59d1438fcf527568f881.

Solidity: event NonceChange(uint256 _space, uint256 _newNonce)

func (*WalletMainFilterer) WatchTxFailed

func (_WalletMain *WalletMainFilterer) WatchTxFailed(opts *bind.WatchOpts, sink chan<- *WalletMainTxFailed) (event.Subscription, error)

WatchTxFailed is a free log subscription operation binding the contract event 0x3dbd1590ea96dd3253a91f24e64e3a502e1225d602a5731357bc12643070ccd7.

Solidity: event TxFailed(bytes32 _tx, bytes _reason)

type WalletMainImplementationUpdated

type WalletMainImplementationUpdated struct {
	NewImplementation common.Address
	Raw               types.Log // Blockchain specific contextual infos
}

WalletMainImplementationUpdated represents a ImplementationUpdated event raised by the WalletMain contract.

type WalletMainImplementationUpdatedIterator

type WalletMainImplementationUpdatedIterator struct {
	Event *WalletMainImplementationUpdated // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

WalletMainImplementationUpdatedIterator is returned from FilterImplementationUpdated and is used to iterate over the raw logs and unpacked data for ImplementationUpdated events raised by the WalletMain contract.

func (*WalletMainImplementationUpdatedIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*WalletMainImplementationUpdatedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*WalletMainImplementationUpdatedIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type WalletMainNonceChange

type WalletMainNonceChange struct {
	Space    *big.Int
	NewNonce *big.Int
	Raw      types.Log // Blockchain specific contextual infos
}

WalletMainNonceChange represents a NonceChange event raised by the WalletMain contract.

type WalletMainNonceChangeIterator

type WalletMainNonceChangeIterator struct {
	Event *WalletMainNonceChange // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

WalletMainNonceChangeIterator is returned from FilterNonceChange and is used to iterate over the raw logs and unpacked data for NonceChange events raised by the WalletMain contract.

func (*WalletMainNonceChangeIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*WalletMainNonceChangeIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*WalletMainNonceChangeIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type WalletMainRaw

type WalletMainRaw struct {
	Contract *WalletMain // Generic contract binding to access the raw methods on
}

WalletMainRaw is an auto generated low-level Go binding around an Ethereum contract.

func (*WalletMainRaw) Call

func (_WalletMain *WalletMainRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error

Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.

func (*WalletMainRaw) Transact

func (_WalletMain *WalletMainRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*WalletMainRaw) Transfer

func (_WalletMain *WalletMainRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)

Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.

type WalletMainSession

type WalletMainSession struct {
	Contract     *WalletMain       // Generic contract binding to set the session for
	CallOpts     bind.CallOpts     // Call options to use throughout this session
	TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session
}

WalletMainSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.

func (*WalletMainSession) AddHook

func (_WalletMain *WalletMainSession) AddHook(_signature [4]byte, _implementation common.Address) (*types.Transaction, error)

AddHook is a paid mutator transaction binding the contract method 0xb93ea7ad.

Solidity: function addHook(bytes4 _signature, address _implementation) returns()

func (*WalletMainSession) CreateContract

func (_WalletMain *WalletMainSession) CreateContract(_code []byte) (*types.Transaction, error)

CreateContract is a paid mutator transaction binding the contract method 0x90042baf.

Solidity: function createContract(bytes _code) payable returns(address addr)

func (*WalletMainSession) Execute

func (_WalletMain *WalletMainSession) Execute(_txs []IModuleCallsTransaction, _nonce *big.Int, _signature []byte) (*types.Transaction, error)

Execute is a paid mutator transaction binding the contract method 0x7a9a1628.

Solidity: function execute((bool,bool,uint256,address,uint256,bytes)[] _txs, uint256 _nonce, bytes _signature) returns()

func (*WalletMainSession) FACTORY

func (_WalletMain *WalletMainSession) FACTORY() (common.Address, error)

FACTORY is a free data retrieval call binding the contract method 0x2dd31000.

Solidity: function FACTORY() view returns(address)

func (*WalletMainSession) Fallback

func (_WalletMain *WalletMainSession) Fallback(calldata []byte) (*types.Transaction, error)

Fallback is a paid mutator transaction binding the contract fallback function.

Solidity: fallback() payable returns()

func (*WalletMainSession) INITCODEHASH

func (_WalletMain *WalletMainSession) INITCODEHASH() ([32]byte, error)

INITCODEHASH is a free data retrieval call binding the contract method 0x257671f5.

Solidity: function INIT_CODE_HASH() view returns(bytes32)

func (*WalletMainSession) IsValidSignature

func (_WalletMain *WalletMainSession) IsValidSignature(_hash [32]byte, _signatures []byte) ([4]byte, error)

IsValidSignature is a free data retrieval call binding the contract method 0x1626ba7e.

Solidity: function isValidSignature(bytes32 _hash, bytes _signatures) view returns(bytes4)

func (*WalletMainSession) IsValidSignature0

func (_WalletMain *WalletMainSession) IsValidSignature0(_data []byte, _signatures []byte) ([4]byte, error)

IsValidSignature0 is a free data retrieval call binding the contract method 0x20c13b0b.

Solidity: function isValidSignature(bytes _data, bytes _signatures) view returns(bytes4)

func (*WalletMainSession) Nonce

func (_WalletMain *WalletMainSession) Nonce() (*big.Int, error)

Nonce is a free data retrieval call binding the contract method 0xaffed0e0.

Solidity: function nonce() view returns(uint256)

func (*WalletMainSession) OnERC1155BatchReceived

func (_WalletMain *WalletMainSession) OnERC1155BatchReceived(arg0 common.Address, arg1 common.Address, arg2 []*big.Int, arg3 []*big.Int, arg4 []byte) (*types.Transaction, error)

OnERC1155BatchReceived is a paid mutator transaction binding the contract method 0xbc197c81.

Solidity: function onERC1155BatchReceived(address , address , uint256[] , uint256[] , bytes ) returns(bytes4)

func (*WalletMainSession) OnERC1155Received

func (_WalletMain *WalletMainSession) OnERC1155Received(arg0 common.Address, arg1 common.Address, arg2 *big.Int, arg3 *big.Int, arg4 []byte) (*types.Transaction, error)

OnERC1155Received is a paid mutator transaction binding the contract method 0xf23a6e61.

Solidity: function onERC1155Received(address , address , uint256 , uint256 , bytes ) returns(bytes4)

func (*WalletMainSession) OnERC721Received

func (_WalletMain *WalletMainSession) OnERC721Received(arg0 common.Address, arg1 common.Address, arg2 *big.Int, arg3 []byte) (*types.Transaction, error)

OnERC721Received is a paid mutator transaction binding the contract method 0x150b7a02.

Solidity: function onERC721Received(address , address , uint256 , bytes ) returns(bytes4)

func (*WalletMainSession) ReadHook

func (_WalletMain *WalletMainSession) ReadHook(_signature [4]byte) (common.Address, error)

ReadHook is a free data retrieval call binding the contract method 0x1a9b2337.

Solidity: function readHook(bytes4 _signature) view returns(address)

func (*WalletMainSession) ReadNonce

func (_WalletMain *WalletMainSession) ReadNonce(_space *big.Int) (*big.Int, error)

ReadNonce is a free data retrieval call binding the contract method 0x8c3f5563.

Solidity: function readNonce(uint256 _space) view returns(uint256)

func (*WalletMainSession) Receive

func (_WalletMain *WalletMainSession) Receive() (*types.Transaction, error)

Receive is a paid mutator transaction binding the contract receive function.

Solidity: receive() payable returns()

func (*WalletMainSession) RemoveHook

func (_WalletMain *WalletMainSession) RemoveHook(_signature [4]byte) (*types.Transaction, error)

RemoveHook is a paid mutator transaction binding the contract method 0x4fcf3eca.

Solidity: function removeHook(bytes4 _signature) returns()

func (*WalletMainSession) SelfExecute

func (_WalletMain *WalletMainSession) SelfExecute(_txs []IModuleCallsTransaction) (*types.Transaction, error)

SelfExecute is a paid mutator transaction binding the contract method 0x61c2926c.

Solidity: function selfExecute((bool,bool,uint256,address,uint256,bytes)[] _txs) returns()

func (*WalletMainSession) SupportsInterface

func (_WalletMain *WalletMainSession) SupportsInterface(_interfaceID [4]byte) (bool, error)

SupportsInterface is a free data retrieval call binding the contract method 0x01ffc9a7.

Solidity: function supportsInterface(bytes4 _interfaceID) pure returns(bool)

func (*WalletMainSession) UpdateImplementation

func (_WalletMain *WalletMainSession) UpdateImplementation(_implementation common.Address) (*types.Transaction, error)

UpdateImplementation is a paid mutator transaction binding the contract method 0x025b22bc.

Solidity: function updateImplementation(address _implementation) returns()

type WalletMainTransactor

type WalletMainTransactor struct {
	// contains filtered or unexported fields
}

WalletMainTransactor is an auto generated write-only Go binding around an Ethereum contract.

func NewWalletMainTransactor

func NewWalletMainTransactor(address common.Address, transactor bind.ContractTransactor) (*WalletMainTransactor, error)

NewWalletMainTransactor creates a new write-only instance of WalletMain, bound to a specific deployed contract.

func (*WalletMainTransactor) AddHook

func (_WalletMain *WalletMainTransactor) AddHook(opts *bind.TransactOpts, _signature [4]byte, _implementation common.Address) (*types.Transaction, error)

AddHook is a paid mutator transaction binding the contract method 0xb93ea7ad.

Solidity: function addHook(bytes4 _signature, address _implementation) returns()

func (*WalletMainTransactor) CreateContract

func (_WalletMain *WalletMainTransactor) CreateContract(opts *bind.TransactOpts, _code []byte) (*types.Transaction, error)

CreateContract is a paid mutator transaction binding the contract method 0x90042baf.

Solidity: function createContract(bytes _code) payable returns(address addr)

func (*WalletMainTransactor) Execute

func (_WalletMain *WalletMainTransactor) Execute(opts *bind.TransactOpts, _txs []IModuleCallsTransaction, _nonce *big.Int, _signature []byte) (*types.Transaction, error)

Execute is a paid mutator transaction binding the contract method 0x7a9a1628.

Solidity: function execute((bool,bool,uint256,address,uint256,bytes)[] _txs, uint256 _nonce, bytes _signature) returns()

func (*WalletMainTransactor) Fallback

func (_WalletMain *WalletMainTransactor) Fallback(opts *bind.TransactOpts, calldata []byte) (*types.Transaction, error)

Fallback is a paid mutator transaction binding the contract fallback function.

Solidity: fallback() payable returns()

func (*WalletMainTransactor) OnERC1155BatchReceived

func (_WalletMain *WalletMainTransactor) OnERC1155BatchReceived(opts *bind.TransactOpts, arg0 common.Address, arg1 common.Address, arg2 []*big.Int, arg3 []*big.Int, arg4 []byte) (*types.Transaction, error)

OnERC1155BatchReceived is a paid mutator transaction binding the contract method 0xbc197c81.

Solidity: function onERC1155BatchReceived(address , address , uint256[] , uint256[] , bytes ) returns(bytes4)

func (*WalletMainTransactor) OnERC1155Received

func (_WalletMain *WalletMainTransactor) OnERC1155Received(opts *bind.TransactOpts, arg0 common.Address, arg1 common.Address, arg2 *big.Int, arg3 *big.Int, arg4 []byte) (*types.Transaction, error)

OnERC1155Received is a paid mutator transaction binding the contract method 0xf23a6e61.

Solidity: function onERC1155Received(address , address , uint256 , uint256 , bytes ) returns(bytes4)

func (*WalletMainTransactor) OnERC721Received

func (_WalletMain *WalletMainTransactor) OnERC721Received(opts *bind.TransactOpts, arg0 common.Address, arg1 common.Address, arg2 *big.Int, arg3 []byte) (*types.Transaction, error)

OnERC721Received is a paid mutator transaction binding the contract method 0x150b7a02.

Solidity: function onERC721Received(address , address , uint256 , bytes ) returns(bytes4)

func (*WalletMainTransactor) Receive

func (_WalletMain *WalletMainTransactor) Receive(opts *bind.TransactOpts) (*types.Transaction, error)

Receive is a paid mutator transaction binding the contract receive function.

Solidity: receive() payable returns()

func (*WalletMainTransactor) RemoveHook

func (_WalletMain *WalletMainTransactor) RemoveHook(opts *bind.TransactOpts, _signature [4]byte) (*types.Transaction, error)

RemoveHook is a paid mutator transaction binding the contract method 0x4fcf3eca.

Solidity: function removeHook(bytes4 _signature) returns()

func (*WalletMainTransactor) SelfExecute

func (_WalletMain *WalletMainTransactor) SelfExecute(opts *bind.TransactOpts, _txs []IModuleCallsTransaction) (*types.Transaction, error)

SelfExecute is a paid mutator transaction binding the contract method 0x61c2926c.

Solidity: function selfExecute((bool,bool,uint256,address,uint256,bytes)[] _txs) returns()

func (*WalletMainTransactor) UpdateImplementation

func (_WalletMain *WalletMainTransactor) UpdateImplementation(opts *bind.TransactOpts, _implementation common.Address) (*types.Transaction, error)

UpdateImplementation is a paid mutator transaction binding the contract method 0x025b22bc.

Solidity: function updateImplementation(address _implementation) returns()

type WalletMainTransactorRaw

type WalletMainTransactorRaw struct {
	Contract *WalletMainTransactor // Generic write-only contract binding to access the raw methods on
}

WalletMainTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.

func (*WalletMainTransactorRaw) Transact

func (_WalletMain *WalletMainTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*WalletMainTransactorRaw) Transfer

func (_WalletMain *WalletMainTransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)

Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.

type WalletMainTransactorSession

type WalletMainTransactorSession struct {
	Contract     *WalletMainTransactor // Generic contract transactor binding to set the session for
	TransactOpts bind.TransactOpts     // Transaction auth options to use throughout this session
}

WalletMainTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.

func (*WalletMainTransactorSession) AddHook

func (_WalletMain *WalletMainTransactorSession) AddHook(_signature [4]byte, _implementation common.Address) (*types.Transaction, error)

AddHook is a paid mutator transaction binding the contract method 0xb93ea7ad.

Solidity: function addHook(bytes4 _signature, address _implementation) returns()

func (*WalletMainTransactorSession) CreateContract

func (_WalletMain *WalletMainTransactorSession) CreateContract(_code []byte) (*types.Transaction, error)

CreateContract is a paid mutator transaction binding the contract method 0x90042baf.

Solidity: function createContract(bytes _code) payable returns(address addr)

func (*WalletMainTransactorSession) Execute

func (_WalletMain *WalletMainTransactorSession) Execute(_txs []IModuleCallsTransaction, _nonce *big.Int, _signature []byte) (*types.Transaction, error)

Execute is a paid mutator transaction binding the contract method 0x7a9a1628.

Solidity: function execute((bool,bool,uint256,address,uint256,bytes)[] _txs, uint256 _nonce, bytes _signature) returns()

func (*WalletMainTransactorSession) Fallback

func (_WalletMain *WalletMainTransactorSession) Fallback(calldata []byte) (*types.Transaction, error)

Fallback is a paid mutator transaction binding the contract fallback function.

Solidity: fallback() payable returns()

func (*WalletMainTransactorSession) OnERC1155BatchReceived

func (_WalletMain *WalletMainTransactorSession) OnERC1155BatchReceived(arg0 common.Address, arg1 common.Address, arg2 []*big.Int, arg3 []*big.Int, arg4 []byte) (*types.Transaction, error)

OnERC1155BatchReceived is a paid mutator transaction binding the contract method 0xbc197c81.

Solidity: function onERC1155BatchReceived(address , address , uint256[] , uint256[] , bytes ) returns(bytes4)

func (*WalletMainTransactorSession) OnERC1155Received

func (_WalletMain *WalletMainTransactorSession) OnERC1155Received(arg0 common.Address, arg1 common.Address, arg2 *big.Int, arg3 *big.Int, arg4 []byte) (*types.Transaction, error)

OnERC1155Received is a paid mutator transaction binding the contract method 0xf23a6e61.

Solidity: function onERC1155Received(address , address , uint256 , uint256 , bytes ) returns(bytes4)

func (*WalletMainTransactorSession) OnERC721Received

func (_WalletMain *WalletMainTransactorSession) OnERC721Received(arg0 common.Address, arg1 common.Address, arg2 *big.Int, arg3 []byte) (*types.Transaction, error)

OnERC721Received is a paid mutator transaction binding the contract method 0x150b7a02.

Solidity: function onERC721Received(address , address , uint256 , bytes ) returns(bytes4)

func (*WalletMainTransactorSession) Receive

func (_WalletMain *WalletMainTransactorSession) Receive() (*types.Transaction, error)

Receive is a paid mutator transaction binding the contract receive function.

Solidity: receive() payable returns()

func (*WalletMainTransactorSession) RemoveHook

func (_WalletMain *WalletMainTransactorSession) RemoveHook(_signature [4]byte) (*types.Transaction, error)

RemoveHook is a paid mutator transaction binding the contract method 0x4fcf3eca.

Solidity: function removeHook(bytes4 _signature) returns()

func (*WalletMainTransactorSession) SelfExecute

func (_WalletMain *WalletMainTransactorSession) SelfExecute(_txs []IModuleCallsTransaction) (*types.Transaction, error)

SelfExecute is a paid mutator transaction binding the contract method 0x61c2926c.

Solidity: function selfExecute((bool,bool,uint256,address,uint256,bytes)[] _txs) returns()

func (*WalletMainTransactorSession) UpdateImplementation

func (_WalletMain *WalletMainTransactorSession) UpdateImplementation(_implementation common.Address) (*types.Transaction, error)

UpdateImplementation is a paid mutator transaction binding the contract method 0x025b22bc.

Solidity: function updateImplementation(address _implementation) returns()

type WalletMainTxFailed

type WalletMainTxFailed struct {
	Tx     [32]byte
	Reason []byte
	Raw    types.Log // Blockchain specific contextual infos
}

WalletMainTxFailed represents a TxFailed event raised by the WalletMain contract.

type WalletMainTxFailedIterator

type WalletMainTxFailedIterator struct {
	Event *WalletMainTxFailed // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

WalletMainTxFailedIterator is returned from FilterTxFailed and is used to iterate over the raw logs and unpacked data for TxFailed events raised by the WalletMain contract.

func (*WalletMainTxFailedIterator) Close

func (it *WalletMainTxFailedIterator) Close() error

Close terminates the iteration process, releasing any pending underlying resources.

func (*WalletMainTxFailedIterator) Error

func (it *WalletMainTxFailedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*WalletMainTxFailedIterator) Next

func (it *WalletMainTxFailedIterator) Next() bool

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

Jump to

Keyboard shortcuts

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