delegate

package
v0.0.0-...-1369677 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DelegateABI = DelegateMetaData.ABI

DelegateABI is the input ABI used to generate the binding from. Deprecated: Use DelegateMetaData.ABI instead.

View Source
var DelegateMetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[{\"components\":[{\"internalType\":\"uint256[]\",\"name\":\"tokenIDs\",\"type\":\"uint256[]\"},{\"internalType\":\"uint256\",\"name\":\"chainID\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"fusionContract\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"r\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"s\",\"type\":\"bytes32\"},{\"internalType\":\"uint8\",\"name\":\"v\",\"type\":\"uint8\"}],\"internalType\":\"structDelegate.fusionSignInfo\",\"name\":\"signInfo\",\"type\":\"tuple\"}],\"name\":\"verifySignature\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"pure\",\"type\":\"function\"}]",
}

DelegateMetaData contains all meta data concerning the Delegate contract.

Functions

This section is empty.

Types

type Delegate

type Delegate struct {
	DelegateCaller     // Read-only binding to the contract
	DelegateTransactor // Write-only binding to the contract
	DelegateFilterer   // Log filterer for contract events
}

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

func NewDelegate

func NewDelegate(address common.Address, backend bind.ContractBackend) (*Delegate, error)

NewDelegate creates a new instance of Delegate, bound to a specific deployed contract.

type DelegateCaller

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

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

func NewDelegateCaller

func NewDelegateCaller(address common.Address, caller bind.ContractCaller) (*DelegateCaller, error)

NewDelegateCaller creates a new read-only instance of Delegate, bound to a specific deployed contract.

func (*DelegateCaller) VerifySignature

func (_Delegate *DelegateCaller) VerifySignature(opts *bind.CallOpts, signInfo DelegatefusionSignInfo) (bool, error)

VerifySignature is a free data retrieval call binding the contract method 0x39781e38.

Solidity: function verifySignature((uint256[],uint256,address,bytes32,bytes32,uint8) signInfo) pure returns(bool)

type DelegateCallerRaw

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

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

func (*DelegateCallerRaw) Call

func (_Delegate *DelegateCallerRaw) 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 DelegateCallerSession

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

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

func (*DelegateCallerSession) VerifySignature

func (_Delegate *DelegateCallerSession) VerifySignature(signInfo DelegatefusionSignInfo) (bool, error)

VerifySignature is a free data retrieval call binding the contract method 0x39781e38.

Solidity: function verifySignature((uint256[],uint256,address,bytes32,bytes32,uint8) signInfo) pure returns(bool)

type DelegateFilterer

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

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

func NewDelegateFilterer

func NewDelegateFilterer(address common.Address, filterer bind.ContractFilterer) (*DelegateFilterer, error)

NewDelegateFilterer creates a new log filterer instance of Delegate, bound to a specific deployed contract.

type DelegateRaw

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

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

func (*DelegateRaw) Call

func (_Delegate *DelegateRaw) 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 (*DelegateRaw) Transact

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

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

func (*DelegateRaw) Transfer

func (_Delegate *DelegateRaw) 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 DelegateSession

type DelegateSession struct {
	Contract     *Delegate         // 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
}

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

func (*DelegateSession) VerifySignature

func (_Delegate *DelegateSession) VerifySignature(signInfo DelegatefusionSignInfo) (bool, error)

VerifySignature is a free data retrieval call binding the contract method 0x39781e38.

Solidity: function verifySignature((uint256[],uint256,address,bytes32,bytes32,uint8) signInfo) pure returns(bool)

type DelegateTransactor

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

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

func NewDelegateTransactor

func NewDelegateTransactor(address common.Address, transactor bind.ContractTransactor) (*DelegateTransactor, error)

NewDelegateTransactor creates a new write-only instance of Delegate, bound to a specific deployed contract.

type DelegateTransactorRaw

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

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

func (*DelegateTransactorRaw) Transact

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

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

func (*DelegateTransactorRaw) Transfer

func (_Delegate *DelegateTransactorRaw) 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 DelegateTransactorSession

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

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

type DelegatefusionSignInfo

type DelegatefusionSignInfo struct {
	TokenIDs       []*big.Int
	ChainID        *big.Int
	FusionContract common.Address
	R              [32]byte
	S              [32]byte
	V              uint8
}

DelegatefusionSignInfo is an auto generated low-level Go binding around an user-defined struct.

Jump to

Keyboard shortcuts

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