ierc1271

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 IERC1271ABI = IERC1271MetaData.ABI

IERC1271ABI is the input ABI used to generate the binding from. Deprecated: Use IERC1271MetaData.ABI instead.

View Source
var IERC1271MetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"_hash\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"_signature\",\"type\":\"bytes\"}],\"name\":\"isValidSignature\",\"outputs\":[{\"internalType\":\"bytes4\",\"name\":\"magicValue\",\"type\":\"bytes4\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes\",\"name\":\"_data\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"_signature\",\"type\":\"bytes\"}],\"name\":\"isValidSignature\",\"outputs\":[{\"internalType\":\"bytes4\",\"name\":\"magicValue\",\"type\":\"bytes4\"}],\"stateMutability\":\"view\",\"type\":\"function\"}]",
}

IERC1271MetaData contains all meta data concerning the IERC1271 contract.

View Source
var IsValidSignatureBytes32_MagicReturnValue = "0x1626ba7e"

Functions

This section is empty.

Types

type IERC1271

type IERC1271 struct {
	IERC1271Caller     // Read-only binding to the contract
	IERC1271Transactor // Write-only binding to the contract
	IERC1271Filterer   // Log filterer for contract events
}

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

func NewIERC1271

func NewIERC1271(address common.Address, backend bind.ContractBackend) (*IERC1271, error)

NewIERC1271 creates a new instance of IERC1271, bound to a specific deployed contract.

type IERC1271Caller

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

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

func NewIERC1271Caller

func NewIERC1271Caller(address common.Address, caller bind.ContractCaller) (*IERC1271Caller, error)

NewIERC1271Caller creates a new read-only instance of IERC1271, bound to a specific deployed contract.

func (*IERC1271Caller) IsValidSignature

func (_IERC1271 *IERC1271Caller) IsValidSignature(opts *bind.CallOpts, _hash [32]byte, _signature []byte) ([4]byte, error)

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

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

func (*IERC1271Caller) IsValidSignature0

func (_IERC1271 *IERC1271Caller) IsValidSignature0(opts *bind.CallOpts, _data []byte, _signature []byte) ([4]byte, error)

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

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

type IERC1271CallerRaw

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

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

func (*IERC1271CallerRaw) Call

func (_IERC1271 *IERC1271CallerRaw) 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 IERC1271CallerSession

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

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

func (*IERC1271CallerSession) IsValidSignature

func (_IERC1271 *IERC1271CallerSession) IsValidSignature(_hash [32]byte, _signature []byte) ([4]byte, error)

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

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

func (*IERC1271CallerSession) IsValidSignature0

func (_IERC1271 *IERC1271CallerSession) IsValidSignature0(_data []byte, _signature []byte) ([4]byte, error)

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

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

type IERC1271Filterer

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

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

func NewIERC1271Filterer

func NewIERC1271Filterer(address common.Address, filterer bind.ContractFilterer) (*IERC1271Filterer, error)

NewIERC1271Filterer creates a new log filterer instance of IERC1271, bound to a specific deployed contract.

type IERC1271Raw

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

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

func (*IERC1271Raw) Call

func (_IERC1271 *IERC1271Raw) 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 (*IERC1271Raw) Transact

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

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

func (*IERC1271Raw) Transfer

func (_IERC1271 *IERC1271Raw) 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 IERC1271Session

type IERC1271Session struct {
	Contract     *IERC1271         // 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
}

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

func (*IERC1271Session) IsValidSignature

func (_IERC1271 *IERC1271Session) IsValidSignature(_hash [32]byte, _signature []byte) ([4]byte, error)

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

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

func (*IERC1271Session) IsValidSignature0

func (_IERC1271 *IERC1271Session) IsValidSignature0(_data []byte, _signature []byte) ([4]byte, error)

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

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

type IERC1271Transactor

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

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

func NewIERC1271Transactor

func NewIERC1271Transactor(address common.Address, transactor bind.ContractTransactor) (*IERC1271Transactor, error)

NewIERC1271Transactor creates a new write-only instance of IERC1271, bound to a specific deployed contract.

type IERC1271TransactorRaw

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

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

func (*IERC1271TransactorRaw) Transact

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

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

func (*IERC1271TransactorRaw) Transfer

func (_IERC1271 *IERC1271TransactorRaw) 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 IERC1271TransactorSession

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

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

Jump to

Keyboard shortcuts

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