Documentation
¶
Index ¶
- Variables
- type ISapient
- type ISapientCaller
- type ISapientCallerRaw
- type ISapientCallerSession
- type ISapientCompact
- type ISapientCompactCaller
- type ISapientCompactCallerRaw
- type ISapientCompactCallerSession
- type ISapientCompactFilterer
- type ISapientCompactRaw
- func (_ISapientCompact *ISapientCompactRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_ISapientCompact *ISapientCompactRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_ISapientCompact *ISapientCompactRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type ISapientCompactSession
- type ISapientCompactTransactor
- type ISapientCompactTransactorRaw
- type ISapientCompactTransactorSession
- type ISapientFilterer
- type ISapientRaw
- func (_ISapient *ISapientRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_ISapient *ISapientRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_ISapient *ISapientRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type ISapientSession
- type ISapientTransactor
- type ISapientTransactorRaw
- type ISapientTransactorSession
- type PayloadCall
- type PayloadDecoded
Constants ¶
This section is empty.
Variables ¶
var ISapientABI = ISapientMetaData.ABI
ISapientABI is the input ABI used to generate the binding from. Deprecated: Use ISapientMetaData.ABI instead.
var ISapientCompactABI = ISapientCompactMetaData.ABI
ISapientCompactABI is the input ABI used to generate the binding from. Deprecated: Use ISapientCompactMetaData.ABI instead.
var ISapientCompactMetaData = &bind.MetaData{
ABI: "[{\"type\":\"function\",\"name\":\"recoverSapientSignatureCompact\",\"inputs\":[{\"name\":\"digest\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"},{\"name\":\"signature\",\"type\":\"bytes\",\"internalType\":\"bytes\"}],\"outputs\":[{\"name\":\"imageHash\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"}],\"stateMutability\":\"view\"}]",
}
ISapientCompactMetaData contains all meta data concerning the ISapientCompact contract.
var ISapientMetaData = &bind.MetaData{
ABI: "[{\"type\":\"function\",\"name\":\"recoverSapientSignature\",\"inputs\":[{\"name\":\"payload\",\"type\":\"tuple\",\"internalType\":\"structPayload.Decoded\",\"components\":[{\"name\":\"kind\",\"type\":\"uint8\",\"internalType\":\"uint8\"},{\"name\":\"noChainId\",\"type\":\"bool\",\"internalType\":\"bool\"},{\"name\":\"calls\",\"type\":\"tuple[]\",\"internalType\":\"structPayload.Call[]\",\"components\":[{\"name\":\"to\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"value\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"data\",\"type\":\"bytes\",\"internalType\":\"bytes\"},{\"name\":\"gasLimit\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"delegateCall\",\"type\":\"bool\",\"internalType\":\"bool\"},{\"name\":\"onlyFallback\",\"type\":\"bool\",\"internalType\":\"bool\"},{\"name\":\"behaviorOnError\",\"type\":\"uint256\",\"internalType\":\"uint256\"}]},{\"name\":\"space\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"nonce\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"message\",\"type\":\"bytes\",\"internalType\":\"bytes\"},{\"name\":\"imageHash\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"},{\"name\":\"digest\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"},{\"name\":\"parentWallets\",\"type\":\"address[]\",\"internalType\":\"address[]\"}]},{\"name\":\"signature\",\"type\":\"bytes\",\"internalType\":\"bytes\"}],\"outputs\":[{\"name\":\"imageHash\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"}],\"stateMutability\":\"view\"}]",
}
ISapientMetaData contains all meta data concerning the ISapient contract.
Functions ¶
This section is empty.
Types ¶
type ISapient ¶
type ISapient struct {
ISapientCaller // Read-only binding to the contract
ISapientTransactor // Write-only binding to the contract
ISapientFilterer // Log filterer for contract events
}
ISapient is an auto generated Go binding around an Ethereum contract.
func NewISapient ¶
NewISapient creates a new instance of ISapient, bound to a specific deployed contract.
type ISapientCaller ¶
type ISapientCaller struct {
// contains filtered or unexported fields
}
ISapientCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewISapientCaller ¶
func NewISapientCaller(address common.Address, caller bind.ContractCaller) (*ISapientCaller, error)
NewISapientCaller creates a new read-only instance of ISapient, bound to a specific deployed contract.
func (*ISapientCaller) RecoverSapientSignature ¶
func (_ISapient *ISapientCaller) RecoverSapientSignature(opts *bind.CallOpts, payload PayloadDecoded, signature []byte) ([32]byte, error)
RecoverSapientSignature is a free data retrieval call binding the contract method 0x13792a4a.
Solidity: function recoverSapientSignature((uint8,bool,(address,uint256,bytes,uint256,bool,bool,uint256)[],uint256,uint256,bytes,bytes32,bytes32,address[]) payload, bytes signature) view returns(bytes32 imageHash)
type ISapientCallerRaw ¶
type ISapientCallerRaw struct {
Contract *ISapientCaller // Generic read-only contract binding to access the raw methods on
}
ISapientCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*ISapientCallerRaw) Call ¶
func (_ISapient *ISapientCallerRaw) 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 ISapientCallerSession ¶
type ISapientCallerSession struct {
Contract *ISapientCaller // Generic contract caller binding to set the session for
CallOpts bind.CallOpts // Call options to use throughout this session
}
ISapientCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*ISapientCallerSession) RecoverSapientSignature ¶
func (_ISapient *ISapientCallerSession) RecoverSapientSignature(payload PayloadDecoded, signature []byte) ([32]byte, error)
RecoverSapientSignature is a free data retrieval call binding the contract method 0x13792a4a.
Solidity: function recoverSapientSignature((uint8,bool,(address,uint256,bytes,uint256,bool,bool,uint256)[],uint256,uint256,bytes,bytes32,bytes32,address[]) payload, bytes signature) view returns(bytes32 imageHash)
type ISapientCompact ¶
type ISapientCompact struct {
ISapientCompactCaller // Read-only binding to the contract
ISapientCompactTransactor // Write-only binding to the contract
ISapientCompactFilterer // Log filterer for contract events
}
ISapientCompact is an auto generated Go binding around an Ethereum contract.
func NewISapientCompact ¶
func NewISapientCompact(address common.Address, backend bind.ContractBackend) (*ISapientCompact, error)
NewISapientCompact creates a new instance of ISapientCompact, bound to a specific deployed contract.
type ISapientCompactCaller ¶
type ISapientCompactCaller struct {
// contains filtered or unexported fields
}
ISapientCompactCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewISapientCompactCaller ¶
func NewISapientCompactCaller(address common.Address, caller bind.ContractCaller) (*ISapientCompactCaller, error)
NewISapientCompactCaller creates a new read-only instance of ISapientCompact, bound to a specific deployed contract.
func (*ISapientCompactCaller) RecoverSapientSignatureCompact ¶
func (_ISapientCompact *ISapientCompactCaller) RecoverSapientSignatureCompact(opts *bind.CallOpts, digest [32]byte, signature []byte) ([32]byte, error)
RecoverSapientSignatureCompact is a free data retrieval call binding the contract method 0x898bd921.
Solidity: function recoverSapientSignatureCompact(bytes32 digest, bytes signature) view returns(bytes32 imageHash)
type ISapientCompactCallerRaw ¶
type ISapientCompactCallerRaw struct {
Contract *ISapientCompactCaller // Generic read-only contract binding to access the raw methods on
}
ISapientCompactCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*ISapientCompactCallerRaw) Call ¶
func (_ISapientCompact *ISapientCompactCallerRaw) 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 ISapientCompactCallerSession ¶
type ISapientCompactCallerSession struct {
Contract *ISapientCompactCaller // Generic contract caller binding to set the session for
CallOpts bind.CallOpts // Call options to use throughout this session
}
ISapientCompactCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*ISapientCompactCallerSession) RecoverSapientSignatureCompact ¶
func (_ISapientCompact *ISapientCompactCallerSession) RecoverSapientSignatureCompact(digest [32]byte, signature []byte) ([32]byte, error)
RecoverSapientSignatureCompact is a free data retrieval call binding the contract method 0x898bd921.
Solidity: function recoverSapientSignatureCompact(bytes32 digest, bytes signature) view returns(bytes32 imageHash)
type ISapientCompactFilterer ¶
type ISapientCompactFilterer struct {
// contains filtered or unexported fields
}
ISapientCompactFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewISapientCompactFilterer ¶
func NewISapientCompactFilterer(address common.Address, filterer bind.ContractFilterer) (*ISapientCompactFilterer, error)
NewISapientCompactFilterer creates a new log filterer instance of ISapientCompact, bound to a specific deployed contract.
type ISapientCompactRaw ¶
type ISapientCompactRaw struct {
Contract *ISapientCompact // Generic contract binding to access the raw methods on
}
ISapientCompactRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*ISapientCompactRaw) Call ¶
func (_ISapientCompact *ISapientCompactRaw) 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 (*ISapientCompactRaw) Transact ¶
func (_ISapientCompact *ISapientCompactRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*ISapientCompactRaw) Transfer ¶
func (_ISapientCompact *ISapientCompactRaw) 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 ISapientCompactSession ¶
type ISapientCompactSession struct {
Contract *ISapientCompact // 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
}
ISapientCompactSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*ISapientCompactSession) RecoverSapientSignatureCompact ¶
func (_ISapientCompact *ISapientCompactSession) RecoverSapientSignatureCompact(digest [32]byte, signature []byte) ([32]byte, error)
RecoverSapientSignatureCompact is a free data retrieval call binding the contract method 0x898bd921.
Solidity: function recoverSapientSignatureCompact(bytes32 digest, bytes signature) view returns(bytes32 imageHash)
type ISapientCompactTransactor ¶
type ISapientCompactTransactor struct {
// contains filtered or unexported fields
}
ISapientCompactTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewISapientCompactTransactor ¶
func NewISapientCompactTransactor(address common.Address, transactor bind.ContractTransactor) (*ISapientCompactTransactor, error)
NewISapientCompactTransactor creates a new write-only instance of ISapientCompact, bound to a specific deployed contract.
type ISapientCompactTransactorRaw ¶
type ISapientCompactTransactorRaw struct {
Contract *ISapientCompactTransactor // Generic write-only contract binding to access the raw methods on
}
ISapientCompactTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*ISapientCompactTransactorRaw) Transact ¶
func (_ISapientCompact *ISapientCompactTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*ISapientCompactTransactorRaw) Transfer ¶
func (_ISapientCompact *ISapientCompactTransactorRaw) 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 ISapientCompactTransactorSession ¶
type ISapientCompactTransactorSession struct {
Contract *ISapientCompactTransactor // Generic contract transactor binding to set the session for
TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session
}
ISapientCompactTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
type ISapientFilterer ¶
type ISapientFilterer struct {
// contains filtered or unexported fields
}
ISapientFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewISapientFilterer ¶
func NewISapientFilterer(address common.Address, filterer bind.ContractFilterer) (*ISapientFilterer, error)
NewISapientFilterer creates a new log filterer instance of ISapient, bound to a specific deployed contract.
type ISapientRaw ¶
type ISapientRaw struct {
Contract *ISapient // Generic contract binding to access the raw methods on
}
ISapientRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*ISapientRaw) Call ¶
func (_ISapient *ISapientRaw) 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 (*ISapientRaw) Transact ¶
func (_ISapient *ISapientRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*ISapientRaw) Transfer ¶
func (_ISapient *ISapientRaw) 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 ISapientSession ¶
type ISapientSession struct {
Contract *ISapient // 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
}
ISapientSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*ISapientSession) RecoverSapientSignature ¶
func (_ISapient *ISapientSession) RecoverSapientSignature(payload PayloadDecoded, signature []byte) ([32]byte, error)
RecoverSapientSignature is a free data retrieval call binding the contract method 0x13792a4a.
Solidity: function recoverSapientSignature((uint8,bool,(address,uint256,bytes,uint256,bool,bool,uint256)[],uint256,uint256,bytes,bytes32,bytes32,address[]) payload, bytes signature) view returns(bytes32 imageHash)
type ISapientTransactor ¶
type ISapientTransactor struct {
// contains filtered or unexported fields
}
ISapientTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewISapientTransactor ¶
func NewISapientTransactor(address common.Address, transactor bind.ContractTransactor) (*ISapientTransactor, error)
NewISapientTransactor creates a new write-only instance of ISapient, bound to a specific deployed contract.
type ISapientTransactorRaw ¶
type ISapientTransactorRaw struct {
Contract *ISapientTransactor // Generic write-only contract binding to access the raw methods on
}
ISapientTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*ISapientTransactorRaw) Transact ¶
func (_ISapient *ISapientTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*ISapientTransactorRaw) Transfer ¶
func (_ISapient *ISapientTransactorRaw) 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 ISapientTransactorSession ¶
type ISapientTransactorSession struct {
Contract *ISapientTransactor // Generic contract transactor binding to set the session for
TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session
}
ISapientTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.