walletmain

package
v0.8.1 Latest Latest
Warning

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

Go to latest
Published: Mar 2, 2022 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var WalletMainABI = WalletMainMetaData.ABI

WalletMainABI is the input ABI used to generate the binding from. Deprecated: Use WalletMainMetaData.ABI instead.

View Source
var WalletMainBin = WalletMainMetaData.Bin

WalletMainBin is the compiled bytecode used for deploying new contracts. Deprecated: Use WalletMainMetaData.Bin instead.

View Source
var WalletMainMetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_factory\",\"type\":\"address\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"_contract\",\"type\":\"address\"}],\"name\":\"CreatedContract\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"newImplementation\",\"type\":\"address\"}],\"name\":\"ImplementationUpdated\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"_space\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"_newNonce\",\"type\":\"uint256\"}],\"name\":\"NonceChange\",\"type\":\"event\"},{\"anonymous\":true,\"inputs\":[{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"_tx\",\"type\":\"bytes32\"}],\"name\":\"TxExecuted\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"_tx\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"bytes\",\"name\":\"_reason\",\"type\":\"bytes\"}],\"name\":\"TxFailed\",\"type\":\"event\"},{\"stateMutability\":\"payable\",\"type\":\"fallback\"},{\"inputs\":[],\"name\":\"FACTORY\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"INIT_CODE_HASH\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes4\",\"name\":\"_signature\",\"type\":\"bytes4\"},{\"internalType\":\"address\",\"name\":\"_implementation\",\"type\":\"address\"}],\"name\":\"addHook\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes\",\"name\":\"_code\",\"type\":\"bytes\"}],\"name\":\"createContract\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"addr\",\"type\":\"address\"}],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"bool\",\"name\":\"delegateCall\",\"type\":\"bool\"},{\"internalType\":\"bool\",\"name\":\"revertOnError\",\"type\":\"bool\"},{\"internalType\":\"uint256\",\"name\":\"gasLimit\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"target\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"internalType\":\"structIModuleCalls.Transaction[]\",\"name\":\"_txs\",\"type\":\"tuple[]\"},{\"internalType\":\"uint256\",\"name\":\"_nonce\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"_signature\",\"type\":\"bytes\"}],\"name\":\"execute\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"_hash\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"_signatures\",\"type\":\"bytes\"}],\"name\":\"isValidSignature\",\"outputs\":[{\"internalType\":\"bytes4\",\"name\":\"\",\"type\":\"bytes4\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes\",\"name\":\"_data\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"_signatures\",\"type\":\"bytes\"}],\"name\":\"isValidSignature\",\"outputs\":[{\"internalType\":\"bytes4\",\"name\":\"\",\"type\":\"bytes4\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"nonce\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"uint256[]\",\"name\":\"\",\"type\":\"uint256[]\"},{\"internalType\":\"uint256[]\",\"name\":\"\",\"type\":\"uint256[]\"},{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"name\":\"onERC1155BatchReceived\",\"outputs\":[{\"internalType\":\"bytes4\",\"name\":\"\",\"type\":\"bytes4\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"name\":\"onERC1155Received\",\"outputs\":[{\"internalType\":\"bytes4\",\"name\":\"\",\"type\":\"bytes4\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"name\":\"onERC721Received\",\"outputs\":[{\"internalType\":\"bytes4\",\"name\":\"\",\"type\":\"bytes4\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes4\",\"name\":\"_signature\",\"type\":\"bytes4\"}],\"name\":\"readHook\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_space\",\"type\":\"uint256\"}],\"name\":\"readNonce\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes4\",\"name\":\"_signature\",\"type\":\"bytes4\"}],\"name\":\"removeHook\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"bool\",\"name\":\"delegateCall\",\"type\":\"bool\"},{\"internalType\":\"bool\",\"name\":\"revertOnError\",\"type\":\"bool\"},{\"internalType\":\"uint256\",\"name\":\"gasLimit\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"target\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"internalType\":\"structIModuleCalls.Transaction[]\",\"name\":\"_txs\",\"type\":\"tuple[]\"}],\"name\":\"selfExecute\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes4\",\"name\":\"_interfaceID\",\"type\":\"bytes4\"}],\"name\":\"supportsInterface\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_implementation\",\"type\":\"address\"}],\"name\":\"updateImplementation\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"stateMutability\":\"payable\",\"type\":\"receive\"}]",
	Bin: "0x60c06040523480156200001157600080fd5b5060405162002d6338038062002d638339810160408190526200003491620000e2565b80600060405180606001604052806028815260200162002d3b60289139306001600160a01b03166040516020018083805190602001908083835b602083106200008f5780518252601f1990920191602091820191016200006e565b51815160209384036101000a60001901801990921691161790529201938452506040805180850381529382019052825192019190912060805250505060601b6001600160601b03191660a0525062000112565b600060208284031215620000f4578081fd5b81516001600160a01b03811681146200010b578182fd5b9392505050565b60805160a05160601c612bf862000143600039806106d55280611baa5250806106b15280611bdb5250612bf86000f3fe6080604052600436106101125760003560e01c80634fcf3eca116100a557806390042baf11610074578063b93ea7ad11610059578063b93ea7ad146103c5578063bc197c81146103e5578063f23a6e611461040557610119565b806390042baf1461039d578063affed0e0146103b057610119565b80634fcf3eca1461031d57806361c2926c1461033d5780637a9a16281461035d5780638c3f55631461037d57610119565b80631a9b2337116100e15780631a9b23371461029957806320c13b0b146102c6578063257671f5146102e65780632dd310001461030857610119565b806301ffc9a7146101f4578063025b22bc1461022a578063150b7a021461024c5780631626ba7e1461027957610119565b3661011957005b60006101486000357fffffffff0000000000000000000000000000000000000000000000000000000016610425565b905073ffffffffffffffffffffffffffffffffffffffff8116156101f1576000808273ffffffffffffffffffffffffffffffffffffffff166000366040518083838082843760405192019450600093509091505080830381855af49150503d80600081146101d2576040519150601f19603f3d011682016040523d82523d6000602084013e6101d7565b606091505b5091509150816101e957805160208201fd5b805160208201f35b50005b34801561020057600080fd5b5061021461020f366004612401565b61047b565b6040516102219190612633565b60405180910390f35b34801561023657600080fd5b5061024a610245366004612166565b610486565b005b34801561025857600080fd5b5061026c610267366004612237565b6105a7565b6040516102219190612660565b34801561028557600080fd5b5061026c6102943660046123b7565b6105d1565b3480156102a557600080fd5b506102b96102b4366004612401565b61064a565b6040516102219190612612565b3480156102d257600080fd5b5061026c6102e136600461244d565b610655565b3480156102f257600080fd5b506102fb6106af565b604051610221919061263e565b34801561031457600080fd5b506102b96106d3565b34801561032957600080fd5b5061024a610338366004612401565b6106f7565b34801561034957600080fd5b5061024a61035836600461231a565b6107d5565b34801561036957600080fd5b5061024a61037836600461234d565b61086e565b34801561038957600080fd5b506102fb6103983660046124e9565b6108ea565b6102b96103ab3660046124b6565b610916565b3480156103bc57600080fd5b506102fb6109ca565b3480156103d157600080fd5b5061024a6103e036600461241b565b6109db565b3480156103f157600080fd5b5061026c610400366004612180565b610ab4565b34801561041157600080fd5b5061026c6104203660046122a4565b610ae1565b60006104737fbe27a319efc8734e89e26ba4bc95f5c788584163b959f03fa04e2d7ab4b9a1207fffffffff000000000000000000000000000000000000000000000000000000008416610b0c565b90505b919050565b600061047382610b39565b3330146104de576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526027815260200180612b9c6027913960400191505060405180910390fd5b6104fd8173ffffffffffffffffffffffffffffffffffffffff16610b96565b610552576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526039815260200180612a826039913960400191505060405180910390fd5b61055b81610b9c565b6040805173ffffffffffffffffffffffffffffffffffffffff8316815290517f310ba5f1d2ed074b51e2eccd052a47ae9ab7c6b800d1fca3db3999d6a592ca039181900360200190a150565b7f150b7a020000000000000000000000000000000000000000000000000000000095945050505050565b600061061b6105df85610ba0565b84848080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250610c0092505050565b1561064357507f1626ba7e000000000000000000000000000000000000000000000000000000005b9392505050565b600061047382610425565b600061067f6105df86866040518083838082843760405192018290039091209350610ba092505050565b156106a757507f20c13b0b000000000000000000000000000000000000000000000000000000005b949350505050565b7f000000000000000000000000000000000000000000000000000000000000000081565b7f000000000000000000000000000000000000000000000000000000000000000081565b33301461074f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526027815260200180612b9c6027913960400191505060405180910390fd5b600061075a82610425565b73ffffffffffffffffffffffffffffffffffffffff1614156107c7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602b8152602001806128e0602b913960400191505060405180910390fd5b6107d2816000610df8565b50565b33301461082d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526027815260200180612b9c6027913960400191505060405180910390fd5b600061085e82604051602001610843919061277e565b60405160208183030381529060405280519060200120610ba0565b905061086a8183610e5b565b5050565b6108778261102a565b600061088f83856040516020016108439291906127c5565b905061089b8183610c00565b6108da576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108d190612721565b60405180910390fd5b6108e48185610e5b565b50505050565b60006104737f8d0bf1fd623d628c741362c1289948e57b3e2905218c676d3e69abee36d6ae2e83610b0c565b6000333014610970576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526027815260200180612b9c6027913960400191505060405180910390fd5b81516020830134f06040805173ffffffffffffffffffffffffffffffffffffffff8316815290519192507fa506ad4e7f05eceba62a023c3219e5bd98a615f4fa87e2afb08a2da5cf62bf0c919081900360200190a1919050565b60006109d660006108ea565b905090565b333014610a33576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526027815260200180612b9c6027913960400191505060405180910390fd5b6000610a3e83610425565b73ffffffffffffffffffffffffffffffffffffffff1614610aaa576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602c8152602001806129f4602c913960400191505060405180910390fd5b61086a8282610df8565b7fbc197c810000000000000000000000000000000000000000000000000000000098975050505050505050565b7ff23a6e61000000000000000000000000000000000000000000000000000000009695505050505050565b60408051602080820194909452808201929092528051808303820181526060909201905280519101205490565b60007fffffffff0000000000000000000000000000000000000000000000000000000082167f90042baf000000000000000000000000000000000000000000000000000000001415610b8d57506001610476565b610473826110ce565b3b151590565b3055565b604080517f19010000000000000000000000000000000000000000000000000000000000006020808301919091524660228301523060601b6042830152605680830194909452825180830390940184526076909101909152815191012090565b6000806000610c0e8461120f565b909250905061ffff821660005b8551831015610dd55760008080610c32898761127d565b975060ff91821694501691506001831415610c5a57610c5189876112fe565b96509050610d7e565b82610c86576060610c6b8a88611376565b97509050610c798b82611427565b9150828501945050610d7e565b6002831415610d2d57610c9989876112fe565b965090506000610ca98a886117b1565b975061ffff1690506060610cbe8b8984611822565b98509050610ccd8c8483611911565b610d22576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260328152602001806129c26032913960400191505060405180910390fd5b505092810192610d7e565b6040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602c8152602001806128b4602c913960400191505060405180910390fd5b848282604051602001808481526020018381526020018273ffffffffffffffffffffffffffffffffffffffff1681526020019350505050604051602081830303815290604052805190602001209450505050610c1b565b8361ffff168110158015610ded5750610ded82611b59565b979650505050505050565b61086a7fbe27a319efc8734e89e26ba4bc95f5c788584163b959f03fa04e2d7ab4b9a1207fffffffff00000000000000000000000000000000000000000000000000000000841673ffffffffffffffffffffffffffffffffffffffff8416611c37565b60005b8151811015611025576000828281518110610e7557fe5b602002602001015190506000606082604001515a1015610ec1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108d1906126c4565b825115610f5957826060015173ffffffffffffffffffffffffffffffffffffffff168360400151600014610ef9578360400151610efb565b5a5b8460a00151604051610f0d91906125f6565b6000604051808303818686f4925050503d8060008114610f49576040519150601f19603f3d011682016040523d82523d6000602084013e610f4e565b606091505b509092509050610fee565b826060015173ffffffffffffffffffffffffffffffffffffffff1683608001518460400151600014610f8f578460400151610f91565b5a5b908560a00151604051610fa491906125f6565b600060405180830381858888f193505050503d8060008114610fe2576040519150601f19603f3d011682016040523d82523d6000602084013e610fe7565b606091505b5090925090505b811561100f5785604051611002919061263e565b60405180910390a061101a565b61101a838783611c65565b505050600101610e5e565b505050565b60008061103683611cb5565b915091506000611045836108ea565b9050808214611080576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108d19061268d565b6001820161108e8482611cce565b7f1f180c27086c7a39ea2a7b25239d1ab92348f07ca7bb59d1438fcf527568f88184826040516110bf9291906127de565b60405180910390a15050505050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082167fec6aba5000000000000000000000000000000000000000000000000000000000148061116157507fffffffff0000000000000000000000000000000000000000000000000000000082167f4e2312e000000000000000000000000000000000000000000000000000000000145b806111ad57507fffffffff0000000000000000000000000000000000000000000000000000000082167f150b7a0200000000000000000000000000000000000000000000000000000000145b806111f957507fffffffff0000000000000000000000000000000000000000000000000000000082167fc0ee0b8a00000000000000000000000000000000000000000000000000000000145b1561120657506001610476565b61047382611cf9565b6020810151815160f09190911c90600290811115611278576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602781526020018061292e6027913960400191505060405180910390fd5b915091565b8082016020015160f881901c9060f01c60ff166002830183811161129d57fe5b84518111156112f7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526026815260200180612af76026913960400191505060405180910390fd5b9250925092565b8082016020015160601c6014820182811161131557fe5b835181111561136f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602381526020018061290b6023913960400191505060405180910390fd5b9250929050565b6040805160428082526080820190925260609160009190602082018180368337019050509150828401602001805160208401526020810151604084015260228101516042840152506042830190508281116113cd57fe5b835181111561136f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526023815260200180612a5f6023913960400191505060405180910390fd5b60008151604214611483576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252603a81526020018061287a603a913960400191505060405180910390fd5b60008260018451038151811061149557fe5b602001015160f81c60f81b60f81c60ff1690506000836040815181106114b757fe5b016020015160f81c905060006114cd8582611d56565b905060006114dc866020611d56565b90507f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a0811115611557576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252603d81526020018061283d603d913960400191505060405180910390fd5b8260ff16601b1415801561156f57508260ff16601c14155b156115c5576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252603d815260200180612955603d913960400191505060405180910390fd5b60018414156116395760018784848460405160008152602001604052604051808581526020018460ff1681526020018381526020018281526020019450505050506020604051602081039080840390855afa158015611628573d6000803e3d6000fd5b50505060206040510351945061173b565b60028414156116ea5760018760405160200180807f19457468657265756d205369676e6564204d6573736167653a0a333200000000815250601c018281526020019150506040516020818303038152906040528051906020012084848460405160008152602001604052604051808581526020018460ff1681526020018381526020018281526020019450505050506020604051602081039080840390855afa158015611628573d6000803e3d6000fd5b6040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252603c815260200180612abb603c913960400191505060405180910390fd5b73ffffffffffffffffffffffffffffffffffffffff85166117a7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260308152602001806129926030913960400191505060405180910390fd5b5050505092915050565b8082016020015160f01c600282018281116117c857fe5b835181111561136f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526022815260200180612b3e6022913960400191505060405180910390fd5b606060008267ffffffffffffffff8111801561183d57600080fd5b506040519080825280601f01601f191660200182016040528015611868576020820181803683370190505b509150838501602001600060205b8581101561188f57908201518482015260208101611876565b84860160200180519390920151908501525250828201838110156118af57fe5b8451811115611909576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526021815260200180612b1d6021913960400191505060405180910390fd5b935093915050565b6000808260018451038151811061192457fe5b016020015160f81c9050600181148061193d5750600281145b15611981578373ffffffffffffffffffffffffffffffffffffffff166119638685611427565b73ffffffffffffffffffffffffffffffffffffffff16149150611b51565b6003811415611b005782517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff81018452604080517f1626ba7e000000000000000000000000000000000000000000000000000000008152600481018881526024820192835286516044830152865173ffffffffffffffffffffffffffffffffffffffff891693631626ba7e938b938a9390929160640190602085019080838360005b83811015611a3b578181015183820152602001611a23565b50505050905090810190601f168015611a685780820380516001836020036101000a031916815260200191505b50935050505060206040518083038186803b158015611a8657600080fd5b505afa158015611a9a573d6000803e3d6000fd5b505050506040513d6020811015611ab057600080fd5b50519084527fffffffff00000000000000000000000000000000000000000000000000000000167f1626ba7e00000000000000000000000000000000000000000000000000000000149150611b51565b6040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252603f815260200180612a20603f913960400191505060405180910390fd5b509392505050565b604080517fff000000000000000000000000000000000000000000000000000000000000006020808301919091527fffffffffffffffffffffffffffffffffffffffff0000000000000000000000007f000000000000000000000000000000000000000000000000000000000000000060601b166021830152603582018490527f0000000000000000000000000000000000000000000000000000000000000000605580840191909152835180840390910181526075909201909252805191012073ffffffffffffffffffffffffffffffffffffffff163014919050565b6040805160208082019590955280820193909352805180840382018152606090930190528151919092012055565b826020015115611c7757805160208201fd5b7f3dbd1590ea96dd3253a91f24e64e3a502e1225d602a5731357bc12643070ccd78282604051611ca8929190612647565b60405180910390a1505050565b606081901c916bffffffffffffffffffffffff90911690565b61086a7f8d0bf1fd623d628c741362c1289948e57b3e2905218c676d3e69abee36d6ae2e8383611c37565b60007fffffffff0000000000000000000000000000000000000000000000000000000082167f025b22bc000000000000000000000000000000000000000000000000000000001415611d4d57506001610476565b61047382611dbe565b60008160200183511015611db5576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252603c815260200180612b60603c913960400191505060405180910390fd5b50016020015190565b60007fffffffff0000000000000000000000000000000000000000000000000000000082167f389901c7000000000000000000000000000000000000000000000000000000001415611e1257506001610476565b6104738260007fffffffff0000000000000000000000000000000000000000000000000000000082161580611e8857507fffffffff0000000000000000000000000000000000000000000000000000000082167f36e7817500000000000000000000000000000000000000000000000000000000145b15611e9557506001610476565b7f01ffc9a7000000000000000000000000000000000000000000000000000000007fffffffff00000000000000000000000000000000000000000000000000000000831614610473565b803573ffffffffffffffffffffffffffffffffffffffff8116811461047657600080fd5b600082601f830112611f13578081fd5b8135602067ffffffffffffffff80831115611f2a57fe5b611f3782838502016127ec565b83815282810190868401865b86811015612013578135890160c0807fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0838e03011215611f8157898afd5b604080518281018181108a82111715611f9657fe5b8252611fa3848b01612063565b8152611fb0828501612063565b8a8201526060808501358383015260809250611fcd838601611edf565b9082015260a08481013583830152928401359289841115611fec578c8dfd5b611ffa8f8c868801016120e3565b9082015287525050509285019290850190600101611f43565b509098975050505050505050565b60008083601f840112612032578182fd5b50813567ffffffffffffffff811115612049578182fd5b602083019150836020808302850101111561136f57600080fd5b8035801515811461047657600080fd5b80357fffffffff000000000000000000000000000000000000000000000000000000008116811461047657600080fd5b60008083601f8401126120b4578182fd5b50813567ffffffffffffffff8111156120cb578182fd5b60208301915083602082850101111561136f57600080fd5b600082601f8301126120f3578081fd5b813567ffffffffffffffff81111561210757fe5b61213860207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f840116016127ec565b81815284602083860101111561214c578283fd5b816020850160208301379081016020019190915292915050565b600060208284031215612177578081fd5b61064382611edf565b60008060008060008060008060a0898b03121561219b578384fd5b6121a489611edf565b97506121b260208a01611edf565b9650604089013567ffffffffffffffff808211156121ce578586fd5b6121da8c838d01612021565b909850965060608b01359150808211156121f2578586fd5b6121fe8c838d01612021565b909650945060808b0135915080821115612216578384fd5b506122238b828c016120a3565b999c989b5096995094979396929594505050565b60008060008060006080868803121561224e578081fd5b61225786611edf565b945061226560208701611edf565b935060408601359250606086013567ffffffffffffffff811115612287578182fd5b612293888289016120a3565b969995985093965092949392505050565b60008060008060008060a087890312156122bc578182fd5b6122c587611edf565b95506122d360208801611edf565b94506040870135935060608701359250608087013567ffffffffffffffff8111156122fc578283fd5b61230889828a016120a3565b979a9699509497509295939492505050565b60006020828403121561232b578081fd5b813567ffffffffffffffff811115612341578182fd5b6106a784828501611f03565b600080600060608486031215612361578283fd5b833567ffffffffffffffff80821115612378578485fd5b61238487838801611f03565b94506020860135935060408601359150808211156123a0578283fd5b506123ad868287016120e3565b9150509250925092565b6000806000604084860312156123cb578283fd5b83359250602084013567ffffffffffffffff8111156123e8578283fd5b6123f4868287016120a3565b9497909650939450505050565b600060208284031215612412578081fd5b61064382612073565b6000806040838503121561242d578182fd5b61243683612073565b915061244460208401611edf565b90509250929050565b60008060008060408587031215612462578182fd5b843567ffffffffffffffff80821115612479578384fd5b612485888389016120a3565b9096509450602087013591508082111561249d578384fd5b506124aa878288016120a3565b95989497509550505050565b6000602082840312156124c7578081fd5b813567ffffffffffffffff8111156124dd578182fd5b6106a7848285016120e3565b6000602082840312156124fa578081fd5b5035919050565b6000815180845260208085018081965082840281019150828601855b8581101561259f5782840389528151805115158552858101511515868601526040808201519086015260608082015173ffffffffffffffffffffffffffffffffffffffff16908601526080808201519086015260a09081015160c09186018290529061258b818701836125ac565b9a87019a955050509084019060010161251d565b5091979650505050505050565b600081518084526125c4816020860160208601612810565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b60008251612608818460208701612810565b9190910192915050565b73ffffffffffffffffffffffffffffffffffffffff91909116815260200190565b901515815260200190565b90815260200190565b6000838252604060208301526106a760408301846125ac565b7fffffffff0000000000000000000000000000000000000000000000000000000091909116815260200190565b6020808252601f908201527f4d61696e4d6f64756c65235f617574683a20494e56414c49445f4e4f4e434500604082015260600190565b60208082526024908201527f4d6f64756c6543616c6c73235f657865637574653a204e4f545f454e4f55474860408201527f5f47415300000000000000000000000000000000000000000000000000000000606082015260800190565b60208082526026908201527f4d6f64756c6543616c6c7323657865637574653a20494e56414c49445f53494760408201527f4e41545552450000000000000000000000000000000000000000000000000000606082015260800190565b600060408252600560408301527f73656c663a0000000000000000000000000000000000000000000000000000006060830152608060208301526106436080830184612501565b6000838252604060208301526106a76040830184612501565b918252602082015260400190565b60405181810167ffffffffffffffff8111828210171561280857fe5b604052919050565b60005b8381101561282b578181015183820152602001612813565b838111156108e4575050600091015256fe5369676e617475726556616c696461746f72237265636f7665725369676e65723a20696e76616c6964207369676e6174757265202773272076616c75655369676e617475726556616c696461746f72237265636f7665725369676e65723a20696e76616c6964207369676e6174757265206c656e6774684d6f64756c6541757468235f7369676e617475726556616c69646174696f6e20494e56414c49445f464c41474d6f64756c65486f6f6b732372656d6f7665486f6f6b3a20484f4f4b5f4e4f545f524547495354455245444c696242797465732372656164416464726573733a204f55545f4f465f424f554e44534c696242797465732372656164466972737455696e7431363a204f55545f4f465f424f554e44535369676e617475726556616c696461746f72237265636f7665725369676e65723a20696e76616c6964207369676e6174757265202776272076616c75655369676e617475726556616c696461746f72237265636f7665725369676e65723a20494e56414c49445f5349474e45524d6f64756c6541757468235f7369676e617475726556616c69646174696f6e3a20494e56414c49445f5349474e41545552454d6f64756c65486f6f6b7323616464486f6f6b3a20484f4f4b5f414c52454144595f524547495354455245445369676e617475726556616c696461746f7223697356616c69645369676e61747572653a20554e535550504f525445445f5349474e41545552455f545950454c696242797465732372656164427974657336363a204f55545f4f465f424f554e44534d6f64756c6555706461746523757064617465496d706c656d656e746174696f6e3a20494e56414c49445f494d504c454d454e544154494f4e5369676e617475726556616c696461746f72237265636f7665725369676e65723a20554e535550504f525445445f5349474e41545552455f545950454c69624279746573237265616455696e743855696e74383a204f55545f4f465f424f554e44534c69624279746573237265616442797465733a204f55545f4f465f424f554e44534c69624279746573237265616455696e7431363a204f55545f4f465f424f554e44534c696242797465732372656164427974657333323a20475245415445525f4f525f455155414c5f544f5f33325f4c454e4754485f52455155495245444d6f64756c6553656c6641757468236f6e6c7953656c663a204e4f545f415554484f52495a4544a2646970667358221220b34deca9dd75815e4ef8a9279e45750ec5554b22c673e160bdba849d80f5888564736f6c63430007060033603a600e3d39601a805130553df3363d3d373d3d3d363d30545af43d82803e903d91601857fd5bf3",
}

WalletMainMetaData contains all meta data concerning the WalletMain contract.

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