erc1271

package
v1.1.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Erc1271ABI = Erc1271MetaData.ABI

Erc1271ABI is the input ABI used to generate the binding from. Deprecated: Use Erc1271MetaData.ABI instead.

View Source
var Erc1271MetaData = &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\":[],\"name\":\"isValidSignature1\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"}]",
}

Erc1271MetaData contains all meta data concerning the Erc1271 contract.

Functions

This section is empty.

Types

type Erc1271

type Erc1271 struct {
	Erc1271Caller     // Read-only binding to the contract
	Erc1271Transactor // Write-only binding to the contract
	Erc1271Filterer   // Log filterer for contract events
}

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

func NewErc1271

func NewErc1271(address common.Address, backend bind.ContractBackend) (*Erc1271, error)

NewErc1271 creates a new instance of Erc1271, bound to a specific deployed contract.

type Erc1271Caller

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

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

func NewErc1271Caller

func NewErc1271Caller(address common.Address, caller bind.ContractCaller) (*Erc1271Caller, error)

NewErc1271Caller creates a new read-only instance of Erc1271, bound to a specific deployed contract.

func (*Erc1271Caller) IsValidSignature

func (_Erc1271 *Erc1271Caller) 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 (*Erc1271Caller) IsValidSignature1

func (_Erc1271 *Erc1271Caller) IsValidSignature1(opts *bind.CallOpts) ([32]byte, error)

IsValidSignature1 is a free data retrieval call binding the contract method 0x516ce3f0.

Solidity: function isValidSignature1() view returns(bytes32)

type Erc1271CallerRaw

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

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

func (*Erc1271CallerRaw) Call

func (_Erc1271 *Erc1271CallerRaw) 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 Erc1271CallerSession

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

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

func (*Erc1271CallerSession) IsValidSignature

func (_Erc1271 *Erc1271CallerSession) 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 (*Erc1271CallerSession) IsValidSignature1

func (_Erc1271 *Erc1271CallerSession) IsValidSignature1() ([32]byte, error)

IsValidSignature1 is a free data retrieval call binding the contract method 0x516ce3f0.

Solidity: function isValidSignature1() view returns(bytes32)

type Erc1271Filterer

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

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

func NewErc1271Filterer

func NewErc1271Filterer(address common.Address, filterer bind.ContractFilterer) (*Erc1271Filterer, error)

NewErc1271Filterer creates a new log filterer instance of Erc1271, bound to a specific deployed contract.

type Erc1271Raw

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

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

func (*Erc1271Raw) Call

func (_Erc1271 *Erc1271Raw) 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 (*Erc1271Raw) Transact

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

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

func (*Erc1271Raw) Transfer

func (_Erc1271 *Erc1271Raw) 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 Erc1271Session

type Erc1271Session struct {
	Contract     *Erc1271          // 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
}

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

func (*Erc1271Session) IsValidSignature

func (_Erc1271 *Erc1271Session) 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 (*Erc1271Session) IsValidSignature1

func (_Erc1271 *Erc1271Session) IsValidSignature1() ([32]byte, error)

IsValidSignature1 is a free data retrieval call binding the contract method 0x516ce3f0.

Solidity: function isValidSignature1() view returns(bytes32)

type Erc1271Transactor

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

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

func NewErc1271Transactor

func NewErc1271Transactor(address common.Address, transactor bind.ContractTransactor) (*Erc1271Transactor, error)

NewErc1271Transactor creates a new write-only instance of Erc1271, bound to a specific deployed contract.

type Erc1271TransactorRaw

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

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

func (*Erc1271TransactorRaw) Transact

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

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

func (*Erc1271TransactorRaw) Transfer

func (_Erc1271 *Erc1271TransactorRaw) 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 Erc1271TransactorSession

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

Erc1271TransactorSession 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