Documentation ¶
Index ¶
- Variables
- type EIP1271Wallet
- type EIP1271WalletCaller
- func (_EIP1271Wallet *EIP1271WalletCaller) DigestApproved(opts *bind.CallOpts, arg0 [32]byte) (bool, error)
- func (_EIP1271Wallet *EIP1271WalletCaller) IsValid(opts *bind.CallOpts) (bool, error)
- func (_EIP1271Wallet *EIP1271WalletCaller) IsValidSignature(opts *bind.CallOpts, digest [32]byte, signature []byte) ([4]byte, error)
- func (_EIP1271Wallet *EIP1271WalletCaller) Owner(opts *bind.CallOpts) (common.Address, error)
- func (_EIP1271Wallet *EIP1271WalletCaller) ShowRevertMessage(opts *bind.CallOpts) (bool, error)
- type EIP1271WalletCallerRaw
- type EIP1271WalletCallerSession
- func (_EIP1271Wallet *EIP1271WalletCallerSession) DigestApproved(arg0 [32]byte) (bool, error)
- func (_EIP1271Wallet *EIP1271WalletCallerSession) IsValid() (bool, error)
- func (_EIP1271Wallet *EIP1271WalletCallerSession) IsValidSignature(digest [32]byte, signature []byte) ([4]byte, error)
- func (_EIP1271Wallet *EIP1271WalletCallerSession) Owner() (common.Address, error)
- func (_EIP1271Wallet *EIP1271WalletCallerSession) ShowRevertMessage() (bool, error)
- type EIP1271WalletFilterer
- type EIP1271WalletRaw
- func (_EIP1271Wallet *EIP1271WalletRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_EIP1271Wallet *EIP1271WalletRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_EIP1271Wallet *EIP1271WalletRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type EIP1271WalletSession
- func (_EIP1271Wallet *EIP1271WalletSession) ApproveERC20(token common.Address, operator common.Address, amount *big.Int) (*types.Transaction, error)
- func (_EIP1271Wallet *EIP1271WalletSession) ApproveNFT(token common.Address, operator common.Address) (*types.Transaction, error)
- func (_EIP1271Wallet *EIP1271WalletSession) DigestApproved(arg0 [32]byte) (bool, error)
- func (_EIP1271Wallet *EIP1271WalletSession) IsValid() (bool, error)
- func (_EIP1271Wallet *EIP1271WalletSession) IsValidSignature(digest [32]byte, signature []byte) ([4]byte, error)
- func (_EIP1271Wallet *EIP1271WalletSession) Owner() (common.Address, error)
- func (_EIP1271Wallet *EIP1271WalletSession) RegisterDigest(digest [32]byte, approved bool) (*types.Transaction, error)
- func (_EIP1271Wallet *EIP1271WalletSession) RevertWithMessage(showMessage bool) (*types.Transaction, error)
- func (_EIP1271Wallet *EIP1271WalletSession) SetValid(valid bool) (*types.Transaction, error)
- func (_EIP1271Wallet *EIP1271WalletSession) ShowRevertMessage() (bool, error)
- type EIP1271WalletTransactor
- func (_EIP1271Wallet *EIP1271WalletTransactor) ApproveERC20(opts *bind.TransactOpts, token common.Address, operator common.Address, ...) (*types.Transaction, error)
- func (_EIP1271Wallet *EIP1271WalletTransactor) ApproveNFT(opts *bind.TransactOpts, token common.Address, operator common.Address) (*types.Transaction, error)
- func (_EIP1271Wallet *EIP1271WalletTransactor) RegisterDigest(opts *bind.TransactOpts, digest [32]byte, approved bool) (*types.Transaction, error)
- func (_EIP1271Wallet *EIP1271WalletTransactor) RevertWithMessage(opts *bind.TransactOpts, showMessage bool) (*types.Transaction, error)
- func (_EIP1271Wallet *EIP1271WalletTransactor) SetValid(opts *bind.TransactOpts, valid bool) (*types.Transaction, error)
- type EIP1271WalletTransactorRaw
- type EIP1271WalletTransactorSession
- func (_EIP1271Wallet *EIP1271WalletTransactorSession) ApproveERC20(token common.Address, operator common.Address, amount *big.Int) (*types.Transaction, error)
- func (_EIP1271Wallet *EIP1271WalletTransactorSession) ApproveNFT(token common.Address, operator common.Address) (*types.Transaction, error)
- func (_EIP1271Wallet *EIP1271WalletTransactorSession) RegisterDigest(digest [32]byte, approved bool) (*types.Transaction, error)
- func (_EIP1271Wallet *EIP1271WalletTransactorSession) RevertWithMessage(showMessage bool) (*types.Transaction, error)
- func (_EIP1271Wallet *EIP1271WalletTransactorSession) SetValid(valid bool) (*types.Transaction, error)
Constants ¶
This section is empty.
Variables ¶
var EIP1271WalletABI = EIP1271WalletMetaData.ABI
EIP1271WalletABI is the input ABI used to generate the binding from. Deprecated: Use EIP1271WalletMetaData.ABI instead.
var EIP1271WalletBin = EIP1271WalletMetaData.Bin
EIP1271WalletBin is the compiled bytecode used for deploying new contracts. Deprecated: Use EIP1271WalletMetaData.Bin instead.
var EIP1271WalletMetaData = &bind.MetaData{
ABI: "[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_owner\",\"type\":\"address\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"inputs\":[{\"internalType\":\"contractERC20ApprovalInterface\",\"name\":\"token\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"approveERC20\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"contractNFTApprovalInterface\",\"name\":\"token\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"}],\"name\":\"approveNFT\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"name\":\"digestApproved\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"isValid\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"digest\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"signature\",\"type\":\"bytes\"}],\"name\":\"isValidSignature\",\"outputs\":[{\"internalType\":\"bytes4\",\"name\":\"\",\"type\":\"bytes4\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"digest\",\"type\":\"bytes32\"},{\"internalType\":\"bool\",\"name\":\"approved\",\"type\":\"bool\"}],\"name\":\"registerDigest\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bool\",\"name\":\"showMessage\",\"type\":\"bool\"}],\"name\":\"revertWithMessage\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bool\",\"name\":\"valid\",\"type\":\"bool\"}],\"name\":\"setValid\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"showRevertMessage\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"}]",
Bin: "0x60a060405234801561001057600080fd5b5060405161086938038061086983398101604081905261002f9161005d565b6001600160a01b031660805260008054600160ff19918216811790925560028054909116909117905561008d565b60006020828403121561006f57600080fd5b81516001600160a01b038116811461008657600080fd5b9392505050565b6080516107ac6100bd6000396000818161015e01528181610333015281816103e801526104b301526107ac6000f3fe608060405234801561001057600080fd5b506004361061009e5760003560e01c80638da5cb5b116100665780638da5cb5b1461015957806397fe801414610198578063a8e5e4aa146101b5578063bb5d40eb146101c8578063de77d5e0146101d557600080fd5b80631626ba7e146100a357806329e282e8146100d457806346a35674146101045780636c64edee1461012557806384e6d7e714610146575b600080fd5b6100b66100b136600461059c565b6101f8565b6040516001600160e01b031990911681526020015b60405180910390f35b6101026100e2366004610668565b600091825260016020526040909120805460ff1916911515919091179055565b005b610102610112366004610698565b6000805460ff1916911515919091179055565b610102610133366004610698565b6002805460ff1916911515919091179055565b6101026101543660046106d1565b6103dd565b6101807f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b0390911681526020016100cb565b6000546101a59060ff1681565b60405190151581526020016100cb565b6101026101c33660046106ff565b6104a8565b6002546101a59060ff1681565b6101a56101e3366004610740565b60016020526000908152604090205460ff1681565b60008281526001602052604081205460ff161561021d5750630b135d3f60e11b6103d7565b815160400361024e5760025460ff1661023e576001600160e01b0319610247565b630b135d3f60e11b5b90506103d7565b815160411461025c57600080fd5b60208201516040830151606084015160001a7f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a082111561029b57600080fd5b8060ff16601b141580156102b357508060ff16601c14155b156102bd57600080fd5b6040805160008082526020820180845289905260ff841692820192909252606081018590526080810184905260019060a0016020604051602081039080840390855afa158015610311573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b03811661033157600080fd5b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316816001600160a01b0316146103af5760005460ff161561009e5760405162461bcd60e51b815260206004820152600a6024820152692120a21029a4a3a722a960b11b60448201526064015b60405180910390fd5b60025460ff166103c7576001600160e01b03196103d0565b630b135d3f60e11b5b9450505050505b92915050565b336001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016146104425760405162461bcd60e51b815260206004820152600a60248201526927b7363c9037bbb732b960b11b60448201526064016103a6565b60405163a22cb46560e01b81526001600160a01b0382811660048301526001602483015283169063a22cb46590604401600060405180830381600087803b15801561048c57600080fd5b505af11580156104a0573d6000803e3d6000fd5b505050505050565b336001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000161461050d5760405162461bcd60e51b815260206004820152600a60248201526927b7363c9037bbb732b960b11b60448201526064016103a6565b60405163095ea7b360e01b81526001600160a01b0383811660048301526024820183905284169063095ea7b3906044016020604051808303816000875af115801561055c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105809190610759565b50505050565b634e487b7160e01b600052604160045260246000fd5b600080604083850312156105af57600080fd5b82359150602083013567ffffffffffffffff808211156105ce57600080fd5b818501915085601f8301126105e257600080fd5b8135818111156105f4576105f4610586565b604051601f8201601f19908116603f0116810190838211818310171561061c5761061c610586565b8160405282815288602084870101111561063557600080fd5b8260208601602083013760006020848301015280955050505050509250929050565b801515811461066557600080fd5b50565b6000806040838503121561067b57600080fd5b82359150602083013561068d81610657565b809150509250929050565b6000602082840312156106aa57600080fd5b81356106b581610657565b9392505050565b6001600160a01b038116811461066557600080fd5b600080604083850312156106e457600080fd5b82356106ef816106bc565b9150602083013561068d816106bc565b60008060006060848603121561071457600080fd5b833561071f816106bc565b9250602084013561072f816106bc565b929592945050506040919091013590565b60006020828403121561075257600080fd5b5035919050565b60006020828403121561076b57600080fd5b81516106b58161065756fea2646970667358221220e5e9967c3f735b8456d76984cf9c48ef28d141c36c4369cb99190a25288805dc64736f6c634300080d0033",
}
EIP1271WalletMetaData contains all meta data concerning the EIP1271Wallet contract.
Functions ¶
This section is empty.
Types ¶
type EIP1271Wallet ¶
type EIP1271Wallet struct { EIP1271WalletCaller // Read-only binding to the contract EIP1271WalletTransactor // Write-only binding to the contract EIP1271WalletFilterer // Log filterer for contract events }
EIP1271Wallet is an auto generated Go binding around an Ethereum contract.
func DeployEIP1271Wallet ¶
func DeployEIP1271Wallet(auth *bind.TransactOpts, backend bind.ContractBackend, _owner common.Address) (common.Address, *types.Transaction, *EIP1271Wallet, error)
DeployEIP1271Wallet deploys a new Ethereum contract, binding an instance of EIP1271Wallet to it.
func NewEIP1271Wallet ¶
func NewEIP1271Wallet(address common.Address, backend bind.ContractBackend) (*EIP1271Wallet, error)
NewEIP1271Wallet creates a new instance of EIP1271Wallet, bound to a specific deployed contract.
type EIP1271WalletCaller ¶
type EIP1271WalletCaller struct {
// contains filtered or unexported fields
}
EIP1271WalletCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewEIP1271WalletCaller ¶
func NewEIP1271WalletCaller(address common.Address, caller bind.ContractCaller) (*EIP1271WalletCaller, error)
NewEIP1271WalletCaller creates a new read-only instance of EIP1271Wallet, bound to a specific deployed contract.
func (*EIP1271WalletCaller) DigestApproved ¶
func (_EIP1271Wallet *EIP1271WalletCaller) DigestApproved(opts *bind.CallOpts, arg0 [32]byte) (bool, error)
DigestApproved is a free data retrieval call binding the contract method 0xde77d5e0.
Solidity: function digestApproved(bytes32 ) view returns(bool)
func (*EIP1271WalletCaller) IsValid ¶
func (_EIP1271Wallet *EIP1271WalletCaller) IsValid(opts *bind.CallOpts) (bool, error)
IsValid is a free data retrieval call binding the contract method 0xbb5d40eb.
Solidity: function isValid() view returns(bool)
func (*EIP1271WalletCaller) IsValidSignature ¶
func (_EIP1271Wallet *EIP1271WalletCaller) IsValidSignature(opts *bind.CallOpts, digest [32]byte, signature []byte) ([4]byte, error)
IsValidSignature is a free data retrieval call binding the contract method 0x1626ba7e.
Solidity: function isValidSignature(bytes32 digest, bytes signature) view returns(bytes4)
func (*EIP1271WalletCaller) Owner ¶
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() view returns(address)
func (*EIP1271WalletCaller) ShowRevertMessage ¶
func (_EIP1271Wallet *EIP1271WalletCaller) ShowRevertMessage(opts *bind.CallOpts) (bool, error)
ShowRevertMessage is a free data retrieval call binding the contract method 0x97fe8014.
Solidity: function showRevertMessage() view returns(bool)
type EIP1271WalletCallerRaw ¶
type EIP1271WalletCallerRaw struct {
Contract *EIP1271WalletCaller // Generic read-only contract binding to access the raw methods on
}
EIP1271WalletCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*EIP1271WalletCallerRaw) Call ¶
func (_EIP1271Wallet *EIP1271WalletCallerRaw) 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 EIP1271WalletCallerSession ¶
type EIP1271WalletCallerSession struct { Contract *EIP1271WalletCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
EIP1271WalletCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*EIP1271WalletCallerSession) DigestApproved ¶
func (_EIP1271Wallet *EIP1271WalletCallerSession) DigestApproved(arg0 [32]byte) (bool, error)
DigestApproved is a free data retrieval call binding the contract method 0xde77d5e0.
Solidity: function digestApproved(bytes32 ) view returns(bool)
func (*EIP1271WalletCallerSession) IsValid ¶
func (_EIP1271Wallet *EIP1271WalletCallerSession) IsValid() (bool, error)
IsValid is a free data retrieval call binding the contract method 0xbb5d40eb.
Solidity: function isValid() view returns(bool)
func (*EIP1271WalletCallerSession) IsValidSignature ¶
func (_EIP1271Wallet *EIP1271WalletCallerSession) IsValidSignature(digest [32]byte, signature []byte) ([4]byte, error)
IsValidSignature is a free data retrieval call binding the contract method 0x1626ba7e.
Solidity: function isValidSignature(bytes32 digest, bytes signature) view returns(bytes4)
func (*EIP1271WalletCallerSession) Owner ¶
func (_EIP1271Wallet *EIP1271WalletCallerSession) Owner() (common.Address, error)
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() view returns(address)
func (*EIP1271WalletCallerSession) ShowRevertMessage ¶
func (_EIP1271Wallet *EIP1271WalletCallerSession) ShowRevertMessage() (bool, error)
ShowRevertMessage is a free data retrieval call binding the contract method 0x97fe8014.
Solidity: function showRevertMessage() view returns(bool)
type EIP1271WalletFilterer ¶
type EIP1271WalletFilterer struct {
// contains filtered or unexported fields
}
EIP1271WalletFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewEIP1271WalletFilterer ¶
func NewEIP1271WalletFilterer(address common.Address, filterer bind.ContractFilterer) (*EIP1271WalletFilterer, error)
NewEIP1271WalletFilterer creates a new log filterer instance of EIP1271Wallet, bound to a specific deployed contract.
type EIP1271WalletRaw ¶
type EIP1271WalletRaw struct {
Contract *EIP1271Wallet // Generic contract binding to access the raw methods on
}
EIP1271WalletRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*EIP1271WalletRaw) Call ¶
func (_EIP1271Wallet *EIP1271WalletRaw) 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 (*EIP1271WalletRaw) Transact ¶
func (_EIP1271Wallet *EIP1271WalletRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*EIP1271WalletRaw) Transfer ¶
func (_EIP1271Wallet *EIP1271WalletRaw) 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 EIP1271WalletSession ¶
type EIP1271WalletSession struct { Contract *EIP1271Wallet // 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 }
EIP1271WalletSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*EIP1271WalletSession) ApproveERC20 ¶
func (_EIP1271Wallet *EIP1271WalletSession) ApproveERC20(token common.Address, operator common.Address, amount *big.Int) (*types.Transaction, error)
ApproveERC20 is a paid mutator transaction binding the contract method 0xa8e5e4aa.
Solidity: function approveERC20(address token, address operator, uint256 amount) returns()
func (*EIP1271WalletSession) ApproveNFT ¶
func (_EIP1271Wallet *EIP1271WalletSession) ApproveNFT(token common.Address, operator common.Address) (*types.Transaction, error)
ApproveNFT is a paid mutator transaction binding the contract method 0x84e6d7e7.
Solidity: function approveNFT(address token, address operator) returns()
func (*EIP1271WalletSession) DigestApproved ¶
func (_EIP1271Wallet *EIP1271WalletSession) DigestApproved(arg0 [32]byte) (bool, error)
DigestApproved is a free data retrieval call binding the contract method 0xde77d5e0.
Solidity: function digestApproved(bytes32 ) view returns(bool)
func (*EIP1271WalletSession) IsValid ¶
func (_EIP1271Wallet *EIP1271WalletSession) IsValid() (bool, error)
IsValid is a free data retrieval call binding the contract method 0xbb5d40eb.
Solidity: function isValid() view returns(bool)
func (*EIP1271WalletSession) IsValidSignature ¶
func (_EIP1271Wallet *EIP1271WalletSession) IsValidSignature(digest [32]byte, signature []byte) ([4]byte, error)
IsValidSignature is a free data retrieval call binding the contract method 0x1626ba7e.
Solidity: function isValidSignature(bytes32 digest, bytes signature) view returns(bytes4)
func (*EIP1271WalletSession) Owner ¶
func (_EIP1271Wallet *EIP1271WalletSession) Owner() (common.Address, error)
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() view returns(address)
func (*EIP1271WalletSession) RegisterDigest ¶
func (_EIP1271Wallet *EIP1271WalletSession) RegisterDigest(digest [32]byte, approved bool) (*types.Transaction, error)
RegisterDigest is a paid mutator transaction binding the contract method 0x29e282e8.
Solidity: function registerDigest(bytes32 digest, bool approved) returns()
func (*EIP1271WalletSession) RevertWithMessage ¶
func (_EIP1271Wallet *EIP1271WalletSession) RevertWithMessage(showMessage bool) (*types.Transaction, error)
RevertWithMessage is a paid mutator transaction binding the contract method 0x46a35674.
Solidity: function revertWithMessage(bool showMessage) returns()
func (*EIP1271WalletSession) SetValid ¶
func (_EIP1271Wallet *EIP1271WalletSession) SetValid(valid bool) (*types.Transaction, error)
SetValid is a paid mutator transaction binding the contract method 0x6c64edee.
Solidity: function setValid(bool valid) returns()
func (*EIP1271WalletSession) ShowRevertMessage ¶
func (_EIP1271Wallet *EIP1271WalletSession) ShowRevertMessage() (bool, error)
ShowRevertMessage is a free data retrieval call binding the contract method 0x97fe8014.
Solidity: function showRevertMessage() view returns(bool)
type EIP1271WalletTransactor ¶
type EIP1271WalletTransactor struct {
// contains filtered or unexported fields
}
EIP1271WalletTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewEIP1271WalletTransactor ¶
func NewEIP1271WalletTransactor(address common.Address, transactor bind.ContractTransactor) (*EIP1271WalletTransactor, error)
NewEIP1271WalletTransactor creates a new write-only instance of EIP1271Wallet, bound to a specific deployed contract.
func (*EIP1271WalletTransactor) ApproveERC20 ¶
func (_EIP1271Wallet *EIP1271WalletTransactor) ApproveERC20(opts *bind.TransactOpts, token common.Address, operator common.Address, amount *big.Int) (*types.Transaction, error)
ApproveERC20 is a paid mutator transaction binding the contract method 0xa8e5e4aa.
Solidity: function approveERC20(address token, address operator, uint256 amount) returns()
func (*EIP1271WalletTransactor) ApproveNFT ¶
func (_EIP1271Wallet *EIP1271WalletTransactor) ApproveNFT(opts *bind.TransactOpts, token common.Address, operator common.Address) (*types.Transaction, error)
ApproveNFT is a paid mutator transaction binding the contract method 0x84e6d7e7.
Solidity: function approveNFT(address token, address operator) returns()
func (*EIP1271WalletTransactor) RegisterDigest ¶
func (_EIP1271Wallet *EIP1271WalletTransactor) RegisterDigest(opts *bind.TransactOpts, digest [32]byte, approved bool) (*types.Transaction, error)
RegisterDigest is a paid mutator transaction binding the contract method 0x29e282e8.
Solidity: function registerDigest(bytes32 digest, bool approved) returns()
func (*EIP1271WalletTransactor) RevertWithMessage ¶
func (_EIP1271Wallet *EIP1271WalletTransactor) RevertWithMessage(opts *bind.TransactOpts, showMessage bool) (*types.Transaction, error)
RevertWithMessage is a paid mutator transaction binding the contract method 0x46a35674.
Solidity: function revertWithMessage(bool showMessage) returns()
func (*EIP1271WalletTransactor) SetValid ¶
func (_EIP1271Wallet *EIP1271WalletTransactor) SetValid(opts *bind.TransactOpts, valid bool) (*types.Transaction, error)
SetValid is a paid mutator transaction binding the contract method 0x6c64edee.
Solidity: function setValid(bool valid) returns()
type EIP1271WalletTransactorRaw ¶
type EIP1271WalletTransactorRaw struct {
Contract *EIP1271WalletTransactor // Generic write-only contract binding to access the raw methods on
}
EIP1271WalletTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*EIP1271WalletTransactorRaw) Transact ¶
func (_EIP1271Wallet *EIP1271WalletTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*EIP1271WalletTransactorRaw) Transfer ¶
func (_EIP1271Wallet *EIP1271WalletTransactorRaw) 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 EIP1271WalletTransactorSession ¶
type EIP1271WalletTransactorSession struct { Contract *EIP1271WalletTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
EIP1271WalletTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*EIP1271WalletTransactorSession) ApproveERC20 ¶
func (_EIP1271Wallet *EIP1271WalletTransactorSession) ApproveERC20(token common.Address, operator common.Address, amount *big.Int) (*types.Transaction, error)
ApproveERC20 is a paid mutator transaction binding the contract method 0xa8e5e4aa.
Solidity: function approveERC20(address token, address operator, uint256 amount) returns()
func (*EIP1271WalletTransactorSession) ApproveNFT ¶
func (_EIP1271Wallet *EIP1271WalletTransactorSession) ApproveNFT(token common.Address, operator common.Address) (*types.Transaction, error)
ApproveNFT is a paid mutator transaction binding the contract method 0x84e6d7e7.
Solidity: function approveNFT(address token, address operator) returns()
func (*EIP1271WalletTransactorSession) RegisterDigest ¶
func (_EIP1271Wallet *EIP1271WalletTransactorSession) RegisterDigest(digest [32]byte, approved bool) (*types.Transaction, error)
RegisterDigest is a paid mutator transaction binding the contract method 0x29e282e8.
Solidity: function registerDigest(bytes32 digest, bool approved) returns()
func (*EIP1271WalletTransactorSession) RevertWithMessage ¶
func (_EIP1271Wallet *EIP1271WalletTransactorSession) RevertWithMessage(showMessage bool) (*types.Transaction, error)
RevertWithMessage is a paid mutator transaction binding the contract method 0x46a35674.
Solidity: function revertWithMessage(bool showMessage) returns()
func (*EIP1271WalletTransactorSession) SetValid ¶
func (_EIP1271Wallet *EIP1271WalletTransactorSession) SetValid(valid bool) (*types.Transaction, error)
SetValid is a paid mutator transaction binding the contract method 0x6c64edee.
Solidity: function setValid(bool valid) returns()