Documentation ¶
Overview ¶
Code generated by synapse abigen DO NOT EDIT.
Package attestationharness generates abi data for contract AttestationHarness.sol
Index ¶
- Variables
- type Attestation
- type AttestationCaller
- type AttestationCallerRaw
- type AttestationCallerSession
- type AttestationFilterer
- type AttestationHarness
- type AttestationHarnessCaller
- func (_AttestationHarness *AttestationHarnessCaller) AttestationDataLength(opts *bind.CallOpts) (*big.Int, error)
- func (_AttestationHarness *AttestationHarnessCaller) FormatAttestation(opts *bind.CallOpts, _domain uint32, _nonce uint32, _root [32]byte, ...) ([]byte, error)
- func (_AttestationHarness *AttestationHarnessCaller) FormatAttestation0(opts *bind.CallOpts, _data []byte, _signature []byte) ([]byte, error)
- func (_AttestationHarness *AttestationHarnessCaller) FormatAttestationData(opts *bind.CallOpts, _domain uint32, _nonce uint32, _root [32]byte) ([]byte, error)
- func (_AttestationHarness *AttestationHarnessCaller) OffsetNonce(opts *bind.CallOpts) (*big.Int, error)
- func (_AttestationHarness *AttestationHarnessCaller) OffsetOrigin(opts *bind.CallOpts) (*big.Int, error)
- func (_AttestationHarness *AttestationHarnessCaller) OffsetRoot(opts *bind.CallOpts) (*big.Int, error)
- func (_AttestationHarness *AttestationHarnessCaller) OffsetSignature(opts *bind.CallOpts) (*big.Int, error)
- type AttestationHarnessCallerRaw
- type AttestationHarnessCallerSession
- func (_AttestationHarness *AttestationHarnessCallerSession) AttestationDataLength() (*big.Int, error)
- func (_AttestationHarness *AttestationHarnessCallerSession) FormatAttestation(_domain uint32, _nonce uint32, _root [32]byte, _signature []byte) ([]byte, error)
- func (_AttestationHarness *AttestationHarnessCallerSession) FormatAttestation0(_data []byte, _signature []byte) ([]byte, error)
- func (_AttestationHarness *AttestationHarnessCallerSession) FormatAttestationData(_domain uint32, _nonce uint32, _root [32]byte) ([]byte, error)
- func (_AttestationHarness *AttestationHarnessCallerSession) OffsetNonce() (*big.Int, error)
- func (_AttestationHarness *AttestationHarnessCallerSession) OffsetOrigin() (*big.Int, error)
- func (_AttestationHarness *AttestationHarnessCallerSession) OffsetRoot() (*big.Int, error)
- func (_AttestationHarness *AttestationHarnessCallerSession) OffsetSignature() (*big.Int, error)
- type AttestationHarnessFilterer
- type AttestationHarnessRaw
- func (_AttestationHarness *AttestationHarnessRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_AttestationHarness *AttestationHarnessRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_AttestationHarness *AttestationHarnessRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type AttestationHarnessRef
- type AttestationHarnessSession
- func (_AttestationHarness *AttestationHarnessSession) AttestationDataLength() (*big.Int, error)
- func (_AttestationHarness *AttestationHarnessSession) FormatAttestation(_domain uint32, _nonce uint32, _root [32]byte, _signature []byte) ([]byte, error)
- func (_AttestationHarness *AttestationHarnessSession) FormatAttestation0(_data []byte, _signature []byte) ([]byte, error)
- func (_AttestationHarness *AttestationHarnessSession) FormatAttestationData(_domain uint32, _nonce uint32, _root [32]byte) ([]byte, error)
- func (_AttestationHarness *AttestationHarnessSession) OffsetNonce() (*big.Int, error)
- func (_AttestationHarness *AttestationHarnessSession) OffsetOrigin() (*big.Int, error)
- func (_AttestationHarness *AttestationHarnessSession) OffsetRoot() (*big.Int, error)
- func (_AttestationHarness *AttestationHarnessSession) OffsetSignature() (*big.Int, error)
- type AttestationHarnessTransactor
- type AttestationHarnessTransactorRaw
- type AttestationHarnessTransactorSession
- type AttestationRaw
- func (_Attestation *AttestationRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_Attestation *AttestationRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_Attestation *AttestationRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type AttestationSession
- type AttestationTransactor
- type AttestationTransactorRaw
- type AttestationTransactorSession
- type SynapseTypes
- type SynapseTypesCaller
- type SynapseTypesCallerRaw
- type SynapseTypesCallerSession
- type SynapseTypesFilterer
- type SynapseTypesRaw
- func (_SynapseTypes *SynapseTypesRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_SynapseTypes *SynapseTypesRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_SynapseTypes *SynapseTypesRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type SynapseTypesSession
- type SynapseTypesTransactor
- type SynapseTypesTransactorRaw
- type SynapseTypesTransactorSession
- type TypedMemView
- type TypedMemViewCaller
- type TypedMemViewCallerRaw
- type TypedMemViewCallerSession
- type TypedMemViewFilterer
- type TypedMemViewRaw
- func (_TypedMemView *TypedMemViewRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_TypedMemView *TypedMemViewRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_TypedMemView *TypedMemViewRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type TypedMemViewSession
- type TypedMemViewTransactor
- type TypedMemViewTransactorRaw
- type TypedMemViewTransactorSession
Constants ¶
This section is empty.
Variables ¶
var AttestationABI = AttestationMetaData.ABI
AttestationABI is the input ABI used to generate the binding from. Deprecated: Use AttestationMetaData.ABI instead.
var AttestationBin = AttestationMetaData.Bin
AttestationBin is the compiled bytecode used for deploying new contracts. Deprecated: Use AttestationMetaData.Bin instead.
var AttestationHarnessABI = AttestationHarnessMetaData.ABI
AttestationHarnessABI is the input ABI used to generate the binding from. Deprecated: Use AttestationHarnessMetaData.ABI instead.
var AttestationHarnessBin = AttestationHarnessMetaData.Bin
AttestationHarnessBin is the compiled bytecode used for deploying new contracts. Deprecated: Use AttestationHarnessMetaData.Bin instead.
var AttestationHarnessFuncSigs = AttestationHarnessMetaData.Sigs
Deprecated: Use AttestationHarnessMetaData.Sigs instead. AttestationHarnessFuncSigs maps the 4-byte function signature to its string representation.
var AttestationHarnessMetaData = &bind.MetaData{ ABI: "[{\"inputs\":[],\"name\":\"attestationDataLength\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint32\",\"name\":\"_domain\",\"type\":\"uint32\"},{\"internalType\":\"uint32\",\"name\":\"_nonce\",\"type\":\"uint32\"},{\"internalType\":\"bytes32\",\"name\":\"_root\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"_signature\",\"type\":\"bytes\"}],\"name\":\"formatAttestation\",\"outputs\":[{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes\",\"name\":\"_data\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"_signature\",\"type\":\"bytes\"}],\"name\":\"formatAttestation\",\"outputs\":[{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint32\",\"name\":\"_domain\",\"type\":\"uint32\"},{\"internalType\":\"uint32\",\"name\":\"_nonce\",\"type\":\"uint32\"},{\"internalType\":\"bytes32\",\"name\":\"_root\",\"type\":\"bytes32\"}],\"name\":\"formatAttestationData\",\"outputs\":[{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"offsetNonce\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"offsetOrigin\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"offsetRoot\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"offsetSignature\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"pure\",\"type\":\"function\"}]", Sigs: map[string]string{ "a104a5e5": "attestationDataLength()", "81646674": "formatAttestation(bytes,bytes)", "4d358d65": "formatAttestation(uint32,uint32,bytes32,bytes)", "ef6d4cad": "formatAttestationData(uint32,uint32,bytes32)", "569e1eaf": "offsetNonce()", "320bfc44": "offsetOrigin()", "5b42242d": "offsetRoot()", "740261a6": "offsetSignature()", }, Bin: "0x608060405234801561001057600080fd5b506104dd806100206000396000f3fe608060405234801561001057600080fd5b50600436106100885760003560e01c8063740261a61161005b578063740261a6146100d157806381646674146100d8578063a104a5e5146100d1578063ef6d4cad146100eb57600080fd5b8063320bfc441461008d5780634d358d65146100a3578063569e1eaf146100c35780635b42242d146100ca575b600080fd5b60005b6040519081526020015b60405180910390f35b6100b66100b13660046102ef565b610153565b60405161009a9190610387565b6004610090565b6008610090565b6028610090565b6100b66100e63660046103d8565b6101bd565b6100b66100f936600461043c565b604080517fffffffff0000000000000000000000000000000000000000000000000000000060e095861b811660208301529390941b9092166024840152602880840191909152815180840390910181526048909201905290565b604080517fffffffff0000000000000000000000000000000000000000000000000000000060e087811b8216602084015286901b16602482015260288082018590528251808303909101815260489091019091526060906101b490836101bd565b95945050505050565b60606101c983836101d0565b9392505050565b606082826040516020016101e5929190610478565b604051602081830303815290604052905092915050565b803563ffffffff8116811461021057600080fd5b919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600082601f83011261025557600080fd5b813567ffffffffffffffff8082111561027057610270610215565b604051601f83017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0908116603f011681019082821181831017156102b6576102b6610215565b816040528381528660208588010111156102cf57600080fd5b836020870160208301376000602085830101528094505050505092915050565b6000806000806080858703121561030557600080fd5b61030e856101fc565b935061031c602086016101fc565b925060408501359150606085013567ffffffffffffffff81111561033f57600080fd5b61034b87828801610244565b91505092959194509250565b60005b8381101561037257818101518382015260200161035a565b83811115610381576000848401525b50505050565b60208152600082518060208401526103a6816040850160208701610357565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169190910160400192915050565b600080604083850312156103eb57600080fd5b823567ffffffffffffffff8082111561040357600080fd5b61040f86838701610244565b9350602085013591508082111561042557600080fd5b5061043285828601610244565b9150509250929050565b60008060006060848603121561045157600080fd5b61045a846101fc565b9250610468602085016101fc565b9150604084013590509250925092565b6000835161048a818460208801610357565b83519083019061049e818360208801610357565b0194935050505056fea264697066735822122001d9275a120b3e8dcc8e9c4645db456b201b2532849e261c6b824e2ca0a0248764736f6c634300080d0033", }
AttestationHarnessMetaData contains all meta data concerning the AttestationHarness contract.
var AttestationMetaData = &bind.MetaData{
ABI: "[]",
Bin: "0x60566037600b82828239805160001a607314602a57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea26469706673582212201f8f15e24fa9bfc57f60c4d598be939263c3177600ad4d6632e579d3f4549f7264736f6c634300080d0033",
}
AttestationMetaData contains all meta data concerning the Attestation contract.
var Contracts map[string]*compiler.Contract
Contracts are unmarshalled on start
var SynapseTypesABI = SynapseTypesMetaData.ABI
SynapseTypesABI is the input ABI used to generate the binding from. Deprecated: Use SynapseTypesMetaData.ABI instead.
var SynapseTypesBin = SynapseTypesMetaData.Bin
SynapseTypesBin is the compiled bytecode used for deploying new contracts. Deprecated: Use SynapseTypesMetaData.Bin instead.
var SynapseTypesMetaData = &bind.MetaData{
ABI: "[]",
Bin: "0x60566037600b82828239805160001a607314602a57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea2646970667358221220170429efcc7c4388f4b26c9d66c1d53ff1d35d5edc3f126d2fc37629fdd59b5864736f6c634300080d0033",
}
SynapseTypesMetaData contains all meta data concerning the SynapseTypes contract.
var TypedMemViewABI = TypedMemViewMetaData.ABI
TypedMemViewABI is the input ABI used to generate the binding from. Deprecated: Use TypedMemViewMetaData.ABI instead.
var TypedMemViewBin = TypedMemViewMetaData.Bin
TypedMemViewBin is the compiled bytecode used for deploying new contracts. Deprecated: Use TypedMemViewMetaData.Bin instead.
var TypedMemViewFuncSigs = TypedMemViewMetaData.Sigs
Deprecated: Use TypedMemViewMetaData.Sigs instead. TypedMemViewFuncSigs maps the 4-byte function signature to its string representation.
var TypedMemViewMetaData = &bind.MetaData{ ABI: "[{\"inputs\":[],\"name\":\"NULL\",\"outputs\":[{\"internalType\":\"bytes29\",\"name\":\"\",\"type\":\"bytes29\"}],\"stateMutability\":\"view\",\"type\":\"function\"}]", Sigs: map[string]string{ "f26be3fc": "NULL()", }, Bin: "0x60c9610038600b82828239805160001a607314602b57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe730000000000000000000000000000000000000000301460806040526004361060335760003560e01c8063f26be3fc146038575b600080fd5b605e7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00000081565b6040517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffff000000909116815260200160405180910390f3fea2646970667358221220668481195568be1557f5313a7f6c4c3a98f88c0192814df7646008fc758a868e64736f6c634300080d0033", }
TypedMemViewMetaData contains all meta data concerning the TypedMemView contract.
Functions ¶
This section is empty.
Types ¶
type Attestation ¶
type Attestation struct { AttestationCaller // Read-only binding to the contract AttestationTransactor // Write-only binding to the contract AttestationFilterer // Log filterer for contract events }
Attestation is an auto generated Go binding around an Ethereum contract.
func DeployAttestation ¶
func DeployAttestation(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *Attestation, error)
DeployAttestation deploys a new Ethereum contract, binding an instance of Attestation to it.
func NewAttestation ¶
func NewAttestation(address common.Address, backend bind.ContractBackend) (*Attestation, error)
NewAttestation creates a new instance of Attestation, bound to a specific deployed contract.
type AttestationCaller ¶
type AttestationCaller struct {
// contains filtered or unexported fields
}
AttestationCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewAttestationCaller ¶
func NewAttestationCaller(address common.Address, caller bind.ContractCaller) (*AttestationCaller, error)
NewAttestationCaller creates a new read-only instance of Attestation, bound to a specific deployed contract.
type AttestationCallerRaw ¶
type AttestationCallerRaw struct {
Contract *AttestationCaller // Generic read-only contract binding to access the raw methods on
}
AttestationCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*AttestationCallerRaw) Call ¶
func (_Attestation *AttestationCallerRaw) 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 AttestationCallerSession ¶
type AttestationCallerSession struct { Contract *AttestationCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
AttestationCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
type AttestationFilterer ¶
type AttestationFilterer struct {
// contains filtered or unexported fields
}
AttestationFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewAttestationFilterer ¶
func NewAttestationFilterer(address common.Address, filterer bind.ContractFilterer) (*AttestationFilterer, error)
NewAttestationFilterer creates a new log filterer instance of Attestation, bound to a specific deployed contract.
type AttestationHarness ¶
type AttestationHarness struct { AttestationHarnessCaller // Read-only binding to the contract AttestationHarnessTransactor // Write-only binding to the contract AttestationHarnessFilterer // Log filterer for contract events }
AttestationHarness is an auto generated Go binding around an Ethereum contract.
func DeployAttestationHarness ¶
func DeployAttestationHarness(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *AttestationHarness, error)
DeployAttestationHarness deploys a new Ethereum contract, binding an instance of AttestationHarness to it.
func NewAttestationHarness ¶
func NewAttestationHarness(address common.Address, backend bind.ContractBackend) (*AttestationHarness, error)
NewAttestationHarness creates a new instance of AttestationHarness, bound to a specific deployed contract.
type AttestationHarnessCaller ¶
type AttestationHarnessCaller struct {
// contains filtered or unexported fields
}
AttestationHarnessCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewAttestationHarnessCaller ¶
func NewAttestationHarnessCaller(address common.Address, caller bind.ContractCaller) (*AttestationHarnessCaller, error)
NewAttestationHarnessCaller creates a new read-only instance of AttestationHarness, bound to a specific deployed contract.
func (*AttestationHarnessCaller) AttestationDataLength ¶
func (_AttestationHarness *AttestationHarnessCaller) AttestationDataLength(opts *bind.CallOpts) (*big.Int, error)
AttestationDataLength is a free data retrieval call binding the contract method 0xa104a5e5.
Solidity: function attestationDataLength() pure returns(uint256)
func (*AttestationHarnessCaller) FormatAttestation ¶
func (_AttestationHarness *AttestationHarnessCaller) FormatAttestation(opts *bind.CallOpts, _domain uint32, _nonce uint32, _root [32]byte, _signature []byte) ([]byte, error)
FormatAttestation is a free data retrieval call binding the contract method 0x4d358d65.
Solidity: function formatAttestation(uint32 _domain, uint32 _nonce, bytes32 _root, bytes _signature) pure returns(bytes)
func (*AttestationHarnessCaller) FormatAttestation0 ¶
func (_AttestationHarness *AttestationHarnessCaller) FormatAttestation0(opts *bind.CallOpts, _data []byte, _signature []byte) ([]byte, error)
FormatAttestation0 is a free data retrieval call binding the contract method 0x81646674.
Solidity: function formatAttestation(bytes _data, bytes _signature) pure returns(bytes)
func (*AttestationHarnessCaller) FormatAttestationData ¶
func (_AttestationHarness *AttestationHarnessCaller) FormatAttestationData(opts *bind.CallOpts, _domain uint32, _nonce uint32, _root [32]byte) ([]byte, error)
FormatAttestationData is a free data retrieval call binding the contract method 0xef6d4cad.
Solidity: function formatAttestationData(uint32 _domain, uint32 _nonce, bytes32 _root) pure returns(bytes)
func (*AttestationHarnessCaller) OffsetNonce ¶
func (_AttestationHarness *AttestationHarnessCaller) OffsetNonce(opts *bind.CallOpts) (*big.Int, error)
OffsetNonce is a free data retrieval call binding the contract method 0x569e1eaf.
Solidity: function offsetNonce() pure returns(uint256)
func (*AttestationHarnessCaller) OffsetOrigin ¶
func (_AttestationHarness *AttestationHarnessCaller) OffsetOrigin(opts *bind.CallOpts) (*big.Int, error)
OffsetOrigin is a free data retrieval call binding the contract method 0x320bfc44.
Solidity: function offsetOrigin() pure returns(uint256)
func (*AttestationHarnessCaller) OffsetRoot ¶
func (_AttestationHarness *AttestationHarnessCaller) OffsetRoot(opts *bind.CallOpts) (*big.Int, error)
OffsetRoot is a free data retrieval call binding the contract method 0x5b42242d.
Solidity: function offsetRoot() pure returns(uint256)
func (*AttestationHarnessCaller) OffsetSignature ¶
func (_AttestationHarness *AttestationHarnessCaller) OffsetSignature(opts *bind.CallOpts) (*big.Int, error)
OffsetSignature is a free data retrieval call binding the contract method 0x740261a6.
Solidity: function offsetSignature() pure returns(uint256)
type AttestationHarnessCallerRaw ¶
type AttestationHarnessCallerRaw struct {
Contract *AttestationHarnessCaller // Generic read-only contract binding to access the raw methods on
}
AttestationHarnessCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*AttestationHarnessCallerRaw) Call ¶
func (_AttestationHarness *AttestationHarnessCallerRaw) 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 AttestationHarnessCallerSession ¶
type AttestationHarnessCallerSession struct { Contract *AttestationHarnessCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
AttestationHarnessCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*AttestationHarnessCallerSession) AttestationDataLength ¶
func (_AttestationHarness *AttestationHarnessCallerSession) AttestationDataLength() (*big.Int, error)
AttestationDataLength is a free data retrieval call binding the contract method 0xa104a5e5.
Solidity: function attestationDataLength() pure returns(uint256)
func (*AttestationHarnessCallerSession) FormatAttestation ¶
func (_AttestationHarness *AttestationHarnessCallerSession) FormatAttestation(_domain uint32, _nonce uint32, _root [32]byte, _signature []byte) ([]byte, error)
FormatAttestation is a free data retrieval call binding the contract method 0x4d358d65.
Solidity: function formatAttestation(uint32 _domain, uint32 _nonce, bytes32 _root, bytes _signature) pure returns(bytes)
func (*AttestationHarnessCallerSession) FormatAttestation0 ¶
func (_AttestationHarness *AttestationHarnessCallerSession) FormatAttestation0(_data []byte, _signature []byte) ([]byte, error)
FormatAttestation0 is a free data retrieval call binding the contract method 0x81646674.
Solidity: function formatAttestation(bytes _data, bytes _signature) pure returns(bytes)
func (*AttestationHarnessCallerSession) FormatAttestationData ¶
func (_AttestationHarness *AttestationHarnessCallerSession) FormatAttestationData(_domain uint32, _nonce uint32, _root [32]byte) ([]byte, error)
FormatAttestationData is a free data retrieval call binding the contract method 0xef6d4cad.
Solidity: function formatAttestationData(uint32 _domain, uint32 _nonce, bytes32 _root) pure returns(bytes)
func (*AttestationHarnessCallerSession) OffsetNonce ¶
func (_AttestationHarness *AttestationHarnessCallerSession) OffsetNonce() (*big.Int, error)
OffsetNonce is a free data retrieval call binding the contract method 0x569e1eaf.
Solidity: function offsetNonce() pure returns(uint256)
func (*AttestationHarnessCallerSession) OffsetOrigin ¶
func (_AttestationHarness *AttestationHarnessCallerSession) OffsetOrigin() (*big.Int, error)
OffsetOrigin is a free data retrieval call binding the contract method 0x320bfc44.
Solidity: function offsetOrigin() pure returns(uint256)
func (*AttestationHarnessCallerSession) OffsetRoot ¶
func (_AttestationHarness *AttestationHarnessCallerSession) OffsetRoot() (*big.Int, error)
OffsetRoot is a free data retrieval call binding the contract method 0x5b42242d.
Solidity: function offsetRoot() pure returns(uint256)
func (*AttestationHarnessCallerSession) OffsetSignature ¶
func (_AttestationHarness *AttestationHarnessCallerSession) OffsetSignature() (*big.Int, error)
OffsetSignature is a free data retrieval call binding the contract method 0x740261a6.
Solidity: function offsetSignature() pure returns(uint256)
type AttestationHarnessFilterer ¶
type AttestationHarnessFilterer struct {
// contains filtered or unexported fields
}
AttestationHarnessFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewAttestationHarnessFilterer ¶
func NewAttestationHarnessFilterer(address common.Address, filterer bind.ContractFilterer) (*AttestationHarnessFilterer, error)
NewAttestationHarnessFilterer creates a new log filterer instance of AttestationHarness, bound to a specific deployed contract.
type AttestationHarnessRaw ¶
type AttestationHarnessRaw struct {
Contract *AttestationHarness // Generic contract binding to access the raw methods on
}
AttestationHarnessRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*AttestationHarnessRaw) Call ¶
func (_AttestationHarness *AttestationHarnessRaw) 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 (*AttestationHarnessRaw) Transact ¶
func (_AttestationHarness *AttestationHarnessRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*AttestationHarnessRaw) Transfer ¶
func (_AttestationHarness *AttestationHarnessRaw) 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 AttestationHarnessRef ¶
type AttestationHarnessRef struct { *AttestationHarness // contains filtered or unexported fields }
AttestationHarnessRef is an attestation harness reference nolint: golint
func NewAttestationHarnessRef ¶
func NewAttestationHarnessRef(address common.Address, backend bind.ContractBackend) (*AttestationHarnessRef, error)
NewAttestationHarnessRef creates a new attestation harness.
func (AttestationHarnessRef) Address ¶
func (a AttestationHarnessRef) Address() common.Address
Address gets the address of the contract.
type AttestationHarnessSession ¶
type AttestationHarnessSession struct { Contract *AttestationHarness // 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 }
AttestationHarnessSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*AttestationHarnessSession) AttestationDataLength ¶
func (_AttestationHarness *AttestationHarnessSession) AttestationDataLength() (*big.Int, error)
AttestationDataLength is a free data retrieval call binding the contract method 0xa104a5e5.
Solidity: function attestationDataLength() pure returns(uint256)
func (*AttestationHarnessSession) FormatAttestation ¶
func (_AttestationHarness *AttestationHarnessSession) FormatAttestation(_domain uint32, _nonce uint32, _root [32]byte, _signature []byte) ([]byte, error)
FormatAttestation is a free data retrieval call binding the contract method 0x4d358d65.
Solidity: function formatAttestation(uint32 _domain, uint32 _nonce, bytes32 _root, bytes _signature) pure returns(bytes)
func (*AttestationHarnessSession) FormatAttestation0 ¶
func (_AttestationHarness *AttestationHarnessSession) FormatAttestation0(_data []byte, _signature []byte) ([]byte, error)
FormatAttestation0 is a free data retrieval call binding the contract method 0x81646674.
Solidity: function formatAttestation(bytes _data, bytes _signature) pure returns(bytes)
func (*AttestationHarnessSession) FormatAttestationData ¶
func (_AttestationHarness *AttestationHarnessSession) FormatAttestationData(_domain uint32, _nonce uint32, _root [32]byte) ([]byte, error)
FormatAttestationData is a free data retrieval call binding the contract method 0xef6d4cad.
Solidity: function formatAttestationData(uint32 _domain, uint32 _nonce, bytes32 _root) pure returns(bytes)
func (*AttestationHarnessSession) OffsetNonce ¶
func (_AttestationHarness *AttestationHarnessSession) OffsetNonce() (*big.Int, error)
OffsetNonce is a free data retrieval call binding the contract method 0x569e1eaf.
Solidity: function offsetNonce() pure returns(uint256)
func (*AttestationHarnessSession) OffsetOrigin ¶
func (_AttestationHarness *AttestationHarnessSession) OffsetOrigin() (*big.Int, error)
OffsetOrigin is a free data retrieval call binding the contract method 0x320bfc44.
Solidity: function offsetOrigin() pure returns(uint256)
func (*AttestationHarnessSession) OffsetRoot ¶
func (_AttestationHarness *AttestationHarnessSession) OffsetRoot() (*big.Int, error)
OffsetRoot is a free data retrieval call binding the contract method 0x5b42242d.
Solidity: function offsetRoot() pure returns(uint256)
func (*AttestationHarnessSession) OffsetSignature ¶
func (_AttestationHarness *AttestationHarnessSession) OffsetSignature() (*big.Int, error)
OffsetSignature is a free data retrieval call binding the contract method 0x740261a6.
Solidity: function offsetSignature() pure returns(uint256)
type AttestationHarnessTransactor ¶
type AttestationHarnessTransactor struct {
// contains filtered or unexported fields
}
AttestationHarnessTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewAttestationHarnessTransactor ¶
func NewAttestationHarnessTransactor(address common.Address, transactor bind.ContractTransactor) (*AttestationHarnessTransactor, error)
NewAttestationHarnessTransactor creates a new write-only instance of AttestationHarness, bound to a specific deployed contract.
type AttestationHarnessTransactorRaw ¶
type AttestationHarnessTransactorRaw struct {
Contract *AttestationHarnessTransactor // Generic write-only contract binding to access the raw methods on
}
AttestationHarnessTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*AttestationHarnessTransactorRaw) Transact ¶
func (_AttestationHarness *AttestationHarnessTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*AttestationHarnessTransactorRaw) Transfer ¶
func (_AttestationHarness *AttestationHarnessTransactorRaw) 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 AttestationHarnessTransactorSession ¶
type AttestationHarnessTransactorSession struct { Contract *AttestationHarnessTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
AttestationHarnessTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
type AttestationRaw ¶
type AttestationRaw struct {
Contract *Attestation // Generic contract binding to access the raw methods on
}
AttestationRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*AttestationRaw) Call ¶
func (_Attestation *AttestationRaw) 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 (*AttestationRaw) Transact ¶
func (_Attestation *AttestationRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*AttestationRaw) Transfer ¶
func (_Attestation *AttestationRaw) 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 AttestationSession ¶
type AttestationSession struct { Contract *Attestation // 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 }
AttestationSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
type AttestationTransactor ¶
type AttestationTransactor struct {
// contains filtered or unexported fields
}
AttestationTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewAttestationTransactor ¶
func NewAttestationTransactor(address common.Address, transactor bind.ContractTransactor) (*AttestationTransactor, error)
NewAttestationTransactor creates a new write-only instance of Attestation, bound to a specific deployed contract.
type AttestationTransactorRaw ¶
type AttestationTransactorRaw struct {
Contract *AttestationTransactor // Generic write-only contract binding to access the raw methods on
}
AttestationTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*AttestationTransactorRaw) Transact ¶
func (_Attestation *AttestationTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*AttestationTransactorRaw) Transfer ¶
func (_Attestation *AttestationTransactorRaw) 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 AttestationTransactorSession ¶
type AttestationTransactorSession struct { Contract *AttestationTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
AttestationTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
type SynapseTypes ¶
type SynapseTypes struct { SynapseTypesCaller // Read-only binding to the contract SynapseTypesTransactor // Write-only binding to the contract SynapseTypesFilterer // Log filterer for contract events }
SynapseTypes is an auto generated Go binding around an Ethereum contract.
func DeploySynapseTypes ¶
func DeploySynapseTypes(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *SynapseTypes, error)
DeploySynapseTypes deploys a new Ethereum contract, binding an instance of SynapseTypes to it.
func NewSynapseTypes ¶
func NewSynapseTypes(address common.Address, backend bind.ContractBackend) (*SynapseTypes, error)
NewSynapseTypes creates a new instance of SynapseTypes, bound to a specific deployed contract.
type SynapseTypesCaller ¶
type SynapseTypesCaller struct {
// contains filtered or unexported fields
}
SynapseTypesCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewSynapseTypesCaller ¶
func NewSynapseTypesCaller(address common.Address, caller bind.ContractCaller) (*SynapseTypesCaller, error)
NewSynapseTypesCaller creates a new read-only instance of SynapseTypes, bound to a specific deployed contract.
type SynapseTypesCallerRaw ¶
type SynapseTypesCallerRaw struct {
Contract *SynapseTypesCaller // Generic read-only contract binding to access the raw methods on
}
SynapseTypesCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*SynapseTypesCallerRaw) Call ¶
func (_SynapseTypes *SynapseTypesCallerRaw) 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 SynapseTypesCallerSession ¶
type SynapseTypesCallerSession struct { Contract *SynapseTypesCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
SynapseTypesCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
type SynapseTypesFilterer ¶
type SynapseTypesFilterer struct {
// contains filtered or unexported fields
}
SynapseTypesFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewSynapseTypesFilterer ¶
func NewSynapseTypesFilterer(address common.Address, filterer bind.ContractFilterer) (*SynapseTypesFilterer, error)
NewSynapseTypesFilterer creates a new log filterer instance of SynapseTypes, bound to a specific deployed contract.
type SynapseTypesRaw ¶
type SynapseTypesRaw struct {
Contract *SynapseTypes // Generic contract binding to access the raw methods on
}
SynapseTypesRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*SynapseTypesRaw) Call ¶
func (_SynapseTypes *SynapseTypesRaw) 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 (*SynapseTypesRaw) Transact ¶
func (_SynapseTypes *SynapseTypesRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*SynapseTypesRaw) Transfer ¶
func (_SynapseTypes *SynapseTypesRaw) 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 SynapseTypesSession ¶
type SynapseTypesSession struct { Contract *SynapseTypes // 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 }
SynapseTypesSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
type SynapseTypesTransactor ¶
type SynapseTypesTransactor struct {
// contains filtered or unexported fields
}
SynapseTypesTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewSynapseTypesTransactor ¶
func NewSynapseTypesTransactor(address common.Address, transactor bind.ContractTransactor) (*SynapseTypesTransactor, error)
NewSynapseTypesTransactor creates a new write-only instance of SynapseTypes, bound to a specific deployed contract.
type SynapseTypesTransactorRaw ¶
type SynapseTypesTransactorRaw struct {
Contract *SynapseTypesTransactor // Generic write-only contract binding to access the raw methods on
}
SynapseTypesTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*SynapseTypesTransactorRaw) Transact ¶
func (_SynapseTypes *SynapseTypesTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*SynapseTypesTransactorRaw) Transfer ¶
func (_SynapseTypes *SynapseTypesTransactorRaw) 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 SynapseTypesTransactorSession ¶
type SynapseTypesTransactorSession struct { Contract *SynapseTypesTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
SynapseTypesTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
type TypedMemView ¶
type TypedMemView struct { TypedMemViewCaller // Read-only binding to the contract TypedMemViewTransactor // Write-only binding to the contract TypedMemViewFilterer // Log filterer for contract events }
TypedMemView is an auto generated Go binding around an Ethereum contract.
func DeployTypedMemView ¶
func DeployTypedMemView(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *TypedMemView, error)
DeployTypedMemView deploys a new Ethereum contract, binding an instance of TypedMemView to it.
func NewTypedMemView ¶
func NewTypedMemView(address common.Address, backend bind.ContractBackend) (*TypedMemView, error)
NewTypedMemView creates a new instance of TypedMemView, bound to a specific deployed contract.
type TypedMemViewCaller ¶
type TypedMemViewCaller struct {
// contains filtered or unexported fields
}
TypedMemViewCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewTypedMemViewCaller ¶
func NewTypedMemViewCaller(address common.Address, caller bind.ContractCaller) (*TypedMemViewCaller, error)
NewTypedMemViewCaller creates a new read-only instance of TypedMemView, bound to a specific deployed contract.
type TypedMemViewCallerRaw ¶
type TypedMemViewCallerRaw struct {
Contract *TypedMemViewCaller // Generic read-only contract binding to access the raw methods on
}
TypedMemViewCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*TypedMemViewCallerRaw) Call ¶
func (_TypedMemView *TypedMemViewCallerRaw) 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 TypedMemViewCallerSession ¶
type TypedMemViewCallerSession struct { Contract *TypedMemViewCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
TypedMemViewCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*TypedMemViewCallerSession) NULL ¶
func (_TypedMemView *TypedMemViewCallerSession) NULL() ([29]byte, error)
NULL is a free data retrieval call binding the contract method 0xf26be3fc.
Solidity: function NULL() view returns(bytes29)
type TypedMemViewFilterer ¶
type TypedMemViewFilterer struct {
// contains filtered or unexported fields
}
TypedMemViewFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewTypedMemViewFilterer ¶
func NewTypedMemViewFilterer(address common.Address, filterer bind.ContractFilterer) (*TypedMemViewFilterer, error)
NewTypedMemViewFilterer creates a new log filterer instance of TypedMemView, bound to a specific deployed contract.
type TypedMemViewRaw ¶
type TypedMemViewRaw struct {
Contract *TypedMemView // Generic contract binding to access the raw methods on
}
TypedMemViewRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*TypedMemViewRaw) Call ¶
func (_TypedMemView *TypedMemViewRaw) 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 (*TypedMemViewRaw) Transact ¶
func (_TypedMemView *TypedMemViewRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*TypedMemViewRaw) Transfer ¶
func (_TypedMemView *TypedMemViewRaw) 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 TypedMemViewSession ¶
type TypedMemViewSession struct { Contract *TypedMemView // 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 }
TypedMemViewSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*TypedMemViewSession) NULL ¶
func (_TypedMemView *TypedMemViewSession) NULL() ([29]byte, error)
NULL is a free data retrieval call binding the contract method 0xf26be3fc.
Solidity: function NULL() view returns(bytes29)
type TypedMemViewTransactor ¶
type TypedMemViewTransactor struct {
// contains filtered or unexported fields
}
TypedMemViewTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewTypedMemViewTransactor ¶
func NewTypedMemViewTransactor(address common.Address, transactor bind.ContractTransactor) (*TypedMemViewTransactor, error)
NewTypedMemViewTransactor creates a new write-only instance of TypedMemView, bound to a specific deployed contract.
type TypedMemViewTransactorRaw ¶
type TypedMemViewTransactorRaw struct {
Contract *TypedMemViewTransactor // Generic write-only contract binding to access the raw methods on
}
TypedMemViewTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*TypedMemViewTransactorRaw) Transact ¶
func (_TypedMemView *TypedMemViewTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*TypedMemViewTransactorRaw) Transfer ¶
func (_TypedMemView *TypedMemViewTransactorRaw) 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 TypedMemViewTransactorSession ¶
type TypedMemViewTransactorSession struct { Contract *TypedMemViewTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
TypedMemViewTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.