walletutils

package
v0.30.1 Latest Latest
Warning

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

Go to latest
Published: Apr 24, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var WalletUtilsABI = WalletUtilsMetaData.ABI

WalletUtilsABI is the input ABI used to generate the binding from. Deprecated: Use WalletUtilsMetaData.ABI instead.

View Source
var WalletUtilsBin = WalletUtilsMetaData.Bin

WalletUtilsBin is the compiled bytecode used for deploying new contracts. Deprecated: Use WalletUtilsMetaData.Bin instead.

View Source
var WalletUtilsMetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_index\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"_result\",\"type\":\"bytes\"}],\"name\":\"CallReverted\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_index\",\"type\":\"uint256\"}],\"name\":\"DelegateCallNotAllowed\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_index\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_requested\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_available\",\"type\":\"uint256\"}],\"name\":\"NotEnoughGas\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_addr\",\"type\":\"address\"}],\"name\":\"callBalanceOf\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"callBlockNumber\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_i\",\"type\":\"uint256\"}],\"name\":\"callBlockhash\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"callChainId\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"id\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_addr\",\"type\":\"address\"}],\"name\":\"callCode\",\"outputs\":[{\"internalType\":\"bytes\",\"name\":\"code\",\"type\":\"bytes\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_addr\",\"type\":\"address\"}],\"name\":\"callCodeHash\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"codeHash\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_addr\",\"type\":\"address\"}],\"name\":\"callCodeSize\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"size\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"callCoinbase\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"callDifficulty\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"callGasLeft\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"callGasLimit\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"callGasPrice\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"callOrigin\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"callPrevrandao\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"callTimestamp\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"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\":\"multiCall\",\"outputs\":[{\"internalType\":\"bool[]\",\"name\":\"_successes\",\"type\":\"bool[]\"},{\"internalType\":\"bytes[]\",\"name\":\"_results\",\"type\":\"bytes[]\"}],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_wallet\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_nonce\",\"type\":\"uint256\"}],\"name\":\"requireMinNonce\",\"outputs\":[],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_expiration\",\"type\":\"uint256\"}],\"name\":\"requireNonExpired\",\"outputs\":[],\"stateMutability\":\"view\",\"type\":\"function\"}]",
	Bin: "0x608060405234801561001057600080fd5b50610d7e806100206000396000f3fe6080604052600436106101295760003560e01c8063b7a72531116100a5578063d1db390711610074578063e90f13e711610059578063e90f13e7146102e6578063f209883a146102f9578063ffd7d7411461030c57600080fd5b8063d1db3907146102b4578063d5b5337f146102c757600080fd5b8063b7a7253114610222578063c272d5c314610255578063c39f2d5c14610268578063c66764e11461028757600080fd5b80637f29d538116100fc57806398f9fbc4116100e157806398f9fbc41461020f578063aeea5fb514610222578063b472f0a21461023557600080fd5b80637f29d538146101b9578063984395bc146101db57600080fd5b80630fdecfac1461012e57806343d9c9351461015057806348acd29f14610165578063543196eb1461019a575b600080fd5b34801561013a57600080fd5b50465b6040519081526020015b60405180910390f35b34801561015c57600080fd5b5061013d61032d565b34801561017157600080fd5b5061013d610180366004610855565b73ffffffffffffffffffffffffffffffffffffffff163190565b3480156101a657600080fd5b5061013d6101b5366004610855565b3f90565b3480156101c557600080fd5b506101d96101d4366004610877565b610335565b005b3480156101e757600080fd5b50325b60405173ffffffffffffffffffffffffffffffffffffffff9091168152602001610147565b34801561021b57600080fd5b50416101ea565b34801561022e57600080fd5b504461013d565b34801561024157600080fd5b506101d9610250366004610890565b6103cc565b34801561026157600080fd5b503a61013d565b34801561027457600080fd5b5061013d610283366004610855565b3b90565b34801561029357600080fd5b506102a76102a2366004610855565b610513565b6040516101479190610928565b3480156102c057600080fd5b504361013d565b3480156102d357600080fd5b5061013d6102e2366004610877565b4090565b3480156102f257600080fd5b504561013d565b34801561030557600080fd5b504261013d565b61031f61031a3660046109f2565b610558565b604051610147929190610bac565b60005a905090565b8042106103c9576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602760248201527f526571756972655574696c7323726571756972654e6f6e457870697265643a2060448201527f455850495245440000000000000000000000000000000000000000000000000060648201526084015b60405180910390fd5b50565b600080606083901c6bffffffffffffffffffffffff84166040517f8c3f556300000000000000000000000000000000000000000000000000000000815260048101839052919350915060009073ffffffffffffffffffffffffffffffffffffffff861690638c3f556390602401602060405180830381865afa158015610456573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061047a9190610c64565b90508181101561050c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603260248201527f526571756972655574696c7323726571756972654d696e4e6f6e63653a204e4f60448201527f4e43455f42454c4f575f5245515549524544000000000000000000000000000060648201526084016103c0565b5050505050565b60408051603f833b9081017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe01682019092528181529080600060208401853c50919050565b606080825167ffffffffffffffff8111156105755761057561093b565b60405190808252806020026020018201604052801561059e578160200160208202803683370190505b509150825167ffffffffffffffff8111156105bb576105bb61093b565b6040519080825280602002602001820160405280156105ee57816020015b60608152602001906001900390816105d95790505b50905060005b835181101561082657600084828151811061061157610611610c7d565b6020026020010151905080600001511561065a576040517f230d1ccc000000000000000000000000000000000000000000000000000000008152600481018390526024016103c0565b80604001515a10156106b0578181604001515a6040517f2bb3e3ba0000000000000000000000000000000000000000000000000000000081526004810193909352602483019190915260448201526064016103c0565b806060015173ffffffffffffffffffffffffffffffffffffffff16816080015182604001516000146106e65782604001516106e8565b5a5b908360a001516040516106fb9190610cac565b600060405180830381858888f193505050503d8060008114610739576040519150601f19603f3d011682016040523d82523d6000602084013e61073e565b606091505b5085848151811061075157610751610c7d565b6020026020010185858151811061076a5761076a610c7d565b602002602001018290528215151515815250505083828151811061079057610790610c7d565b60200260200101511580156107bf57508482815181106107b2576107b2610c7d565b6020026020010151602001515b1561081357818383815181106107d7576107d7610c7d565b60200260200101516040517f3b4c7a5f0000000000000000000000000000000000000000000000000000000081526004016103c0929190610cc8565b508061081e81610ce9565b9150506105f4565b50915091565b803573ffffffffffffffffffffffffffffffffffffffff8116811461085057600080fd5b919050565b60006020828403121561086757600080fd5b6108708261082c565b9392505050565b60006020828403121561088957600080fd5b5035919050565b600080604083850312156108a357600080fd5b6108ac8361082c565b946020939093013593505050565b60005b838110156108d55781810151838201526020016108bd565b50506000910152565b600081518084526108f68160208601602086016108ba565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b60208152600061087060208301846108de565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b60405160c0810167ffffffffffffffff8111828210171561098d5761098d61093b565b60405290565b604051601f82017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016810167ffffffffffffffff811182821017156109da576109da61093b565b604052919050565b8035801515811461085057600080fd5b60006020808385031215610a0557600080fd5b823567ffffffffffffffff80821115610a1d57600080fd5b818501915085601f830112610a3157600080fd5b813581811115610a4357610a4361093b565b8060051b610a52858201610993565b9182528381018501918581019089841115610a6c57600080fd5b86860192505b83831015610b9f57823585811115610a8a5760008081fd5b860160c07fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0828d038101821315610ac15760008081fd5b610ac961096a565b610ad48b85016109e2565b81526040610ae38186016109e2565b8c830152606080860135828401526080610afe81880161082c565b8285015260a091508187013581850152508486013594508a851115610b235760008081fd5b84860195508f603f870112610b3a57600094508485fd5b8c86013594508a851115610b5057610b5061093b565b610b608d85601f88011601610993565b93508484528f82868801011115610b775760008081fd5b848287018e86013760009484018d019490945250918201528352509186019190860190610a72565b9998505050505050505050565b604080825283519082018190526000906020906060840190828701845b82811015610be7578151151584529284019290840190600101610bc9565b50505083810382850152845180825282820190600581901b8301840187850160005b83811015610c55577fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0868403018552610c438383516108de565b94870194925090860190600101610c09565b50909998505050505050505050565b600060208284031215610c7657600080fd5b5051919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60008251610cbe8184602087016108ba565b9190910192915050565b828152604060208201526000610ce160408301846108de565b949350505050565b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203610d41577f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b506001019056fea264697066735822122049ef042991a3ec1b25eb7d0bd2d2faaceec6986d39c10052cc3d76bbe0bb4ad664736f6c63430008120033",
}

WalletUtilsMetaData contains all meta data concerning the WalletUtils 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 WalletUtils

type WalletUtils struct {
	WalletUtilsCaller     // Read-only binding to the contract
	WalletUtilsTransactor // Write-only binding to the contract
	WalletUtilsFilterer   // Log filterer for contract events
}

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

func DeployWalletUtils

func DeployWalletUtils(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *WalletUtils, error)

DeployWalletUtils deploys a new Ethereum contract, binding an instance of WalletUtils to it.

func NewWalletUtils

func NewWalletUtils(address common.Address, backend bind.ContractBackend) (*WalletUtils, error)

NewWalletUtils creates a new instance of WalletUtils, bound to a specific deployed contract.

type WalletUtilsCaller

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

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

func NewWalletUtilsCaller

func NewWalletUtilsCaller(address common.Address, caller bind.ContractCaller) (*WalletUtilsCaller, error)

NewWalletUtilsCaller creates a new read-only instance of WalletUtils, bound to a specific deployed contract.

func (*WalletUtilsCaller) CallBalanceOf

func (_WalletUtils *WalletUtilsCaller) CallBalanceOf(opts *bind.CallOpts, _addr common.Address) (*big.Int, error)

CallBalanceOf is a free data retrieval call binding the contract method 0x48acd29f.

Solidity: function callBalanceOf(address _addr) view returns(uint256)

func (*WalletUtilsCaller) CallBlockNumber

func (_WalletUtils *WalletUtilsCaller) CallBlockNumber(opts *bind.CallOpts) (*big.Int, error)

CallBlockNumber is a free data retrieval call binding the contract method 0xd1db3907.

Solidity: function callBlockNumber() view returns(uint256)

func (*WalletUtilsCaller) CallBlockhash

func (_WalletUtils *WalletUtilsCaller) CallBlockhash(opts *bind.CallOpts, _i *big.Int) ([32]byte, error)

CallBlockhash is a free data retrieval call binding the contract method 0xd5b5337f.

Solidity: function callBlockhash(uint256 _i) view returns(bytes32)

func (*WalletUtilsCaller) CallChainId

func (_WalletUtils *WalletUtilsCaller) CallChainId(opts *bind.CallOpts) (*big.Int, error)

CallChainId is a free data retrieval call binding the contract method 0x0fdecfac.

Solidity: function callChainId() view returns(uint256 id)

func (*WalletUtilsCaller) CallCode

func (_WalletUtils *WalletUtilsCaller) CallCode(opts *bind.CallOpts, _addr common.Address) ([]byte, error)

CallCode is a free data retrieval call binding the contract method 0xc66764e1.

Solidity: function callCode(address _addr) view returns(bytes code)

func (*WalletUtilsCaller) CallCodeHash

func (_WalletUtils *WalletUtilsCaller) CallCodeHash(opts *bind.CallOpts, _addr common.Address) ([32]byte, error)

CallCodeHash is a free data retrieval call binding the contract method 0x543196eb.

Solidity: function callCodeHash(address _addr) view returns(bytes32 codeHash)

func (*WalletUtilsCaller) CallCodeSize

func (_WalletUtils *WalletUtilsCaller) CallCodeSize(opts *bind.CallOpts, _addr common.Address) (*big.Int, error)

CallCodeSize is a free data retrieval call binding the contract method 0xc39f2d5c.

Solidity: function callCodeSize(address _addr) view returns(uint256 size)

func (*WalletUtilsCaller) CallCoinbase

func (_WalletUtils *WalletUtilsCaller) CallCoinbase(opts *bind.CallOpts) (common.Address, error)

CallCoinbase is a free data retrieval call binding the contract method 0x98f9fbc4.

Solidity: function callCoinbase() view returns(address)

func (*WalletUtilsCaller) CallDifficulty

func (_WalletUtils *WalletUtilsCaller) CallDifficulty(opts *bind.CallOpts) (*big.Int, error)

CallDifficulty is a free data retrieval call binding the contract method 0xaeea5fb5.

Solidity: function callDifficulty() view returns(uint256)

func (*WalletUtilsCaller) CallGasLeft

func (_WalletUtils *WalletUtilsCaller) CallGasLeft(opts *bind.CallOpts) (*big.Int, error)

CallGasLeft is a free data retrieval call binding the contract method 0x43d9c935.

Solidity: function callGasLeft() view returns(uint256)

func (*WalletUtilsCaller) CallGasLimit

func (_WalletUtils *WalletUtilsCaller) CallGasLimit(opts *bind.CallOpts) (*big.Int, error)

CallGasLimit is a free data retrieval call binding the contract method 0xe90f13e7.

Solidity: function callGasLimit() view returns(uint256)

func (*WalletUtilsCaller) CallGasPrice

func (_WalletUtils *WalletUtilsCaller) CallGasPrice(opts *bind.CallOpts) (*big.Int, error)

CallGasPrice is a free data retrieval call binding the contract method 0xc272d5c3.

Solidity: function callGasPrice() view returns(uint256)

func (*WalletUtilsCaller) CallOrigin

func (_WalletUtils *WalletUtilsCaller) CallOrigin(opts *bind.CallOpts) (common.Address, error)

CallOrigin is a free data retrieval call binding the contract method 0x984395bc.

Solidity: function callOrigin() view returns(address)

func (*WalletUtilsCaller) CallPrevrandao

func (_WalletUtils *WalletUtilsCaller) CallPrevrandao(opts *bind.CallOpts) (*big.Int, error)

CallPrevrandao is a free data retrieval call binding the contract method 0xb7a72531.

Solidity: function callPrevrandao() view returns(uint256)

func (*WalletUtilsCaller) CallTimestamp

func (_WalletUtils *WalletUtilsCaller) CallTimestamp(opts *bind.CallOpts) (*big.Int, error)

CallTimestamp is a free data retrieval call binding the contract method 0xf209883a.

Solidity: function callTimestamp() view returns(uint256)

func (*WalletUtilsCaller) RequireMinNonce

func (_WalletUtils *WalletUtilsCaller) RequireMinNonce(opts *bind.CallOpts, _wallet common.Address, _nonce *big.Int) error

RequireMinNonce is a free data retrieval call binding the contract method 0xb472f0a2.

Solidity: function requireMinNonce(address _wallet, uint256 _nonce) view returns()

func (*WalletUtilsCaller) RequireNonExpired

func (_WalletUtils *WalletUtilsCaller) RequireNonExpired(opts *bind.CallOpts, _expiration *big.Int) error

RequireNonExpired is a free data retrieval call binding the contract method 0x7f29d538.

Solidity: function requireNonExpired(uint256 _expiration) view returns()

type WalletUtilsCallerRaw

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

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

func (*WalletUtilsCallerRaw) Call

func (_WalletUtils *WalletUtilsCallerRaw) 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 WalletUtilsCallerSession

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

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

func (*WalletUtilsCallerSession) CallBalanceOf

func (_WalletUtils *WalletUtilsCallerSession) CallBalanceOf(_addr common.Address) (*big.Int, error)

CallBalanceOf is a free data retrieval call binding the contract method 0x48acd29f.

Solidity: function callBalanceOf(address _addr) view returns(uint256)

func (*WalletUtilsCallerSession) CallBlockNumber

func (_WalletUtils *WalletUtilsCallerSession) CallBlockNumber() (*big.Int, error)

CallBlockNumber is a free data retrieval call binding the contract method 0xd1db3907.

Solidity: function callBlockNumber() view returns(uint256)

func (*WalletUtilsCallerSession) CallBlockhash

func (_WalletUtils *WalletUtilsCallerSession) CallBlockhash(_i *big.Int) ([32]byte, error)

CallBlockhash is a free data retrieval call binding the contract method 0xd5b5337f.

Solidity: function callBlockhash(uint256 _i) view returns(bytes32)

func (*WalletUtilsCallerSession) CallChainId

func (_WalletUtils *WalletUtilsCallerSession) CallChainId() (*big.Int, error)

CallChainId is a free data retrieval call binding the contract method 0x0fdecfac.

Solidity: function callChainId() view returns(uint256 id)

func (*WalletUtilsCallerSession) CallCode

func (_WalletUtils *WalletUtilsCallerSession) CallCode(_addr common.Address) ([]byte, error)

CallCode is a free data retrieval call binding the contract method 0xc66764e1.

Solidity: function callCode(address _addr) view returns(bytes code)

func (*WalletUtilsCallerSession) CallCodeHash

func (_WalletUtils *WalletUtilsCallerSession) CallCodeHash(_addr common.Address) ([32]byte, error)

CallCodeHash is a free data retrieval call binding the contract method 0x543196eb.

Solidity: function callCodeHash(address _addr) view returns(bytes32 codeHash)

func (*WalletUtilsCallerSession) CallCodeSize

func (_WalletUtils *WalletUtilsCallerSession) CallCodeSize(_addr common.Address) (*big.Int, error)

CallCodeSize is a free data retrieval call binding the contract method 0xc39f2d5c.

Solidity: function callCodeSize(address _addr) view returns(uint256 size)

func (*WalletUtilsCallerSession) CallCoinbase

func (_WalletUtils *WalletUtilsCallerSession) CallCoinbase() (common.Address, error)

CallCoinbase is a free data retrieval call binding the contract method 0x98f9fbc4.

Solidity: function callCoinbase() view returns(address)

func (*WalletUtilsCallerSession) CallDifficulty

func (_WalletUtils *WalletUtilsCallerSession) CallDifficulty() (*big.Int, error)

CallDifficulty is a free data retrieval call binding the contract method 0xaeea5fb5.

Solidity: function callDifficulty() view returns(uint256)

func (*WalletUtilsCallerSession) CallGasLeft

func (_WalletUtils *WalletUtilsCallerSession) CallGasLeft() (*big.Int, error)

CallGasLeft is a free data retrieval call binding the contract method 0x43d9c935.

Solidity: function callGasLeft() view returns(uint256)

func (*WalletUtilsCallerSession) CallGasLimit

func (_WalletUtils *WalletUtilsCallerSession) CallGasLimit() (*big.Int, error)

CallGasLimit is a free data retrieval call binding the contract method 0xe90f13e7.

Solidity: function callGasLimit() view returns(uint256)

func (*WalletUtilsCallerSession) CallGasPrice

func (_WalletUtils *WalletUtilsCallerSession) CallGasPrice() (*big.Int, error)

CallGasPrice is a free data retrieval call binding the contract method 0xc272d5c3.

Solidity: function callGasPrice() view returns(uint256)

func (*WalletUtilsCallerSession) CallOrigin

func (_WalletUtils *WalletUtilsCallerSession) CallOrigin() (common.Address, error)

CallOrigin is a free data retrieval call binding the contract method 0x984395bc.

Solidity: function callOrigin() view returns(address)

func (*WalletUtilsCallerSession) CallPrevrandao

func (_WalletUtils *WalletUtilsCallerSession) CallPrevrandao() (*big.Int, error)

CallPrevrandao is a free data retrieval call binding the contract method 0xb7a72531.

Solidity: function callPrevrandao() view returns(uint256)

func (*WalletUtilsCallerSession) CallTimestamp

func (_WalletUtils *WalletUtilsCallerSession) CallTimestamp() (*big.Int, error)

CallTimestamp is a free data retrieval call binding the contract method 0xf209883a.

Solidity: function callTimestamp() view returns(uint256)

func (*WalletUtilsCallerSession) RequireMinNonce

func (_WalletUtils *WalletUtilsCallerSession) RequireMinNonce(_wallet common.Address, _nonce *big.Int) error

RequireMinNonce is a free data retrieval call binding the contract method 0xb472f0a2.

Solidity: function requireMinNonce(address _wallet, uint256 _nonce) view returns()

func (*WalletUtilsCallerSession) RequireNonExpired

func (_WalletUtils *WalletUtilsCallerSession) RequireNonExpired(_expiration *big.Int) error

RequireNonExpired is a free data retrieval call binding the contract method 0x7f29d538.

Solidity: function requireNonExpired(uint256 _expiration) view returns()

type WalletUtilsFilterer

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

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

func NewWalletUtilsFilterer

func NewWalletUtilsFilterer(address common.Address, filterer bind.ContractFilterer) (*WalletUtilsFilterer, error)

NewWalletUtilsFilterer creates a new log filterer instance of WalletUtils, bound to a specific deployed contract.

type WalletUtilsRaw

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

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

func (*WalletUtilsRaw) Call

func (_WalletUtils *WalletUtilsRaw) 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 (*WalletUtilsRaw) Transact

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

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

func (*WalletUtilsRaw) Transfer

func (_WalletUtils *WalletUtilsRaw) 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 WalletUtilsSession

type WalletUtilsSession struct {
	Contract     *WalletUtils      // 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
}

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

func (*WalletUtilsSession) CallBalanceOf

func (_WalletUtils *WalletUtilsSession) CallBalanceOf(_addr common.Address) (*big.Int, error)

CallBalanceOf is a free data retrieval call binding the contract method 0x48acd29f.

Solidity: function callBalanceOf(address _addr) view returns(uint256)

func (*WalletUtilsSession) CallBlockNumber

func (_WalletUtils *WalletUtilsSession) CallBlockNumber() (*big.Int, error)

CallBlockNumber is a free data retrieval call binding the contract method 0xd1db3907.

Solidity: function callBlockNumber() view returns(uint256)

func (*WalletUtilsSession) CallBlockhash

func (_WalletUtils *WalletUtilsSession) CallBlockhash(_i *big.Int) ([32]byte, error)

CallBlockhash is a free data retrieval call binding the contract method 0xd5b5337f.

Solidity: function callBlockhash(uint256 _i) view returns(bytes32)

func (*WalletUtilsSession) CallChainId

func (_WalletUtils *WalletUtilsSession) CallChainId() (*big.Int, error)

CallChainId is a free data retrieval call binding the contract method 0x0fdecfac.

Solidity: function callChainId() view returns(uint256 id)

func (*WalletUtilsSession) CallCode

func (_WalletUtils *WalletUtilsSession) CallCode(_addr common.Address) ([]byte, error)

CallCode is a free data retrieval call binding the contract method 0xc66764e1.

Solidity: function callCode(address _addr) view returns(bytes code)

func (*WalletUtilsSession) CallCodeHash

func (_WalletUtils *WalletUtilsSession) CallCodeHash(_addr common.Address) ([32]byte, error)

CallCodeHash is a free data retrieval call binding the contract method 0x543196eb.

Solidity: function callCodeHash(address _addr) view returns(bytes32 codeHash)

func (*WalletUtilsSession) CallCodeSize

func (_WalletUtils *WalletUtilsSession) CallCodeSize(_addr common.Address) (*big.Int, error)

CallCodeSize is a free data retrieval call binding the contract method 0xc39f2d5c.

Solidity: function callCodeSize(address _addr) view returns(uint256 size)

func (*WalletUtilsSession) CallCoinbase

func (_WalletUtils *WalletUtilsSession) CallCoinbase() (common.Address, error)

CallCoinbase is a free data retrieval call binding the contract method 0x98f9fbc4.

Solidity: function callCoinbase() view returns(address)

func (*WalletUtilsSession) CallDifficulty

func (_WalletUtils *WalletUtilsSession) CallDifficulty() (*big.Int, error)

CallDifficulty is a free data retrieval call binding the contract method 0xaeea5fb5.

Solidity: function callDifficulty() view returns(uint256)

func (*WalletUtilsSession) CallGasLeft

func (_WalletUtils *WalletUtilsSession) CallGasLeft() (*big.Int, error)

CallGasLeft is a free data retrieval call binding the contract method 0x43d9c935.

Solidity: function callGasLeft() view returns(uint256)

func (*WalletUtilsSession) CallGasLimit

func (_WalletUtils *WalletUtilsSession) CallGasLimit() (*big.Int, error)

CallGasLimit is a free data retrieval call binding the contract method 0xe90f13e7.

Solidity: function callGasLimit() view returns(uint256)

func (*WalletUtilsSession) CallGasPrice

func (_WalletUtils *WalletUtilsSession) CallGasPrice() (*big.Int, error)

CallGasPrice is a free data retrieval call binding the contract method 0xc272d5c3.

Solidity: function callGasPrice() view returns(uint256)

func (*WalletUtilsSession) CallOrigin

func (_WalletUtils *WalletUtilsSession) CallOrigin() (common.Address, error)

CallOrigin is a free data retrieval call binding the contract method 0x984395bc.

Solidity: function callOrigin() view returns(address)

func (*WalletUtilsSession) CallPrevrandao

func (_WalletUtils *WalletUtilsSession) CallPrevrandao() (*big.Int, error)

CallPrevrandao is a free data retrieval call binding the contract method 0xb7a72531.

Solidity: function callPrevrandao() view returns(uint256)

func (*WalletUtilsSession) CallTimestamp

func (_WalletUtils *WalletUtilsSession) CallTimestamp() (*big.Int, error)

CallTimestamp is a free data retrieval call binding the contract method 0xf209883a.

Solidity: function callTimestamp() view returns(uint256)

func (*WalletUtilsSession) MultiCall

func (_WalletUtils *WalletUtilsSession) MultiCall(_txs []IModuleCallsTransaction) (*types.Transaction, error)

MultiCall is a paid mutator transaction binding the contract method 0xffd7d741.

Solidity: function multiCall((bool,bool,uint256,address,uint256,bytes)[] _txs) payable returns(bool[] _successes, bytes[] _results)

func (*WalletUtilsSession) RequireMinNonce

func (_WalletUtils *WalletUtilsSession) RequireMinNonce(_wallet common.Address, _nonce *big.Int) error

RequireMinNonce is a free data retrieval call binding the contract method 0xb472f0a2.

Solidity: function requireMinNonce(address _wallet, uint256 _nonce) view returns()

func (*WalletUtilsSession) RequireNonExpired

func (_WalletUtils *WalletUtilsSession) RequireNonExpired(_expiration *big.Int) error

RequireNonExpired is a free data retrieval call binding the contract method 0x7f29d538.

Solidity: function requireNonExpired(uint256 _expiration) view returns()

type WalletUtilsTransactor

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

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

func NewWalletUtilsTransactor

func NewWalletUtilsTransactor(address common.Address, transactor bind.ContractTransactor) (*WalletUtilsTransactor, error)

NewWalletUtilsTransactor creates a new write-only instance of WalletUtils, bound to a specific deployed contract.

func (*WalletUtilsTransactor) MultiCall

func (_WalletUtils *WalletUtilsTransactor) MultiCall(opts *bind.TransactOpts, _txs []IModuleCallsTransaction) (*types.Transaction, error)

MultiCall is a paid mutator transaction binding the contract method 0xffd7d741.

Solidity: function multiCall((bool,bool,uint256,address,uint256,bytes)[] _txs) payable returns(bool[] _successes, bytes[] _results)

type WalletUtilsTransactorRaw

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

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

func (*WalletUtilsTransactorRaw) Transact

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

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

func (*WalletUtilsTransactorRaw) Transfer

func (_WalletUtils *WalletUtilsTransactorRaw) 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 WalletUtilsTransactorSession

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

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

func (*WalletUtilsTransactorSession) MultiCall

func (_WalletUtils *WalletUtilsTransactorSession) MultiCall(_txs []IModuleCallsTransaction) (*types.Transaction, error)

MultiCall is a paid mutator transaction binding the contract method 0xffd7d741.

Solidity: function multiCall((bool,bool,uint256,address,uint256,bytes)[] _txs) payable returns(bool[] _successes, bytes[] _results)

Jump to

Keyboard shortcuts

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