Documentation ¶
Overview ¶
Code generated by synapse abigen DO NOT EDIT.
Package attestationharness provides a test harness for the attestation contract.
Index ¶
- Variables
- type AttestationHarness
- type AttestationHarnessCaller
- func (_AttestationHarness *AttestationHarnessCaller) BlockNumber(opts *bind.CallOpts, payload []byte) (*big.Int, error)
- func (_AttestationHarness *AttestationHarnessCaller) CastToAttestation(opts *bind.CallOpts, payload []byte) ([]byte, error)
- func (_AttestationHarness *AttestationHarnessCaller) DataHash(opts *bind.CallOpts, agentRoot_ [32]byte, snapGasHash_ [32]byte) ([32]byte, error)
- func (_AttestationHarness *AttestationHarnessCaller) DataHash0(opts *bind.CallOpts, payload []byte) ([32]byte, error)
- func (_AttestationHarness *AttestationHarnessCaller) FormatAttestation(opts *bind.CallOpts, snapRoot_ [32]byte, dataHash_ [32]byte, nonce_ uint32, ...) ([]byte, error)
- func (_AttestationHarness *AttestationHarnessCaller) HashInvalid(opts *bind.CallOpts, payload []byte) ([32]byte, error)
- func (_AttestationHarness *AttestationHarnessCaller) HashValid(opts *bind.CallOpts, payload []byte) ([32]byte, error)
- func (_AttestationHarness *AttestationHarnessCaller) IsAttestation(opts *bind.CallOpts, payload []byte) (bool, error)
- func (_AttestationHarness *AttestationHarnessCaller) Nonce(opts *bind.CallOpts, payload []byte) (uint32, error)
- func (_AttestationHarness *AttestationHarnessCaller) SnapRoot(opts *bind.CallOpts, payload []byte) ([32]byte, error)
- func (_AttestationHarness *AttestationHarnessCaller) Timestamp(opts *bind.CallOpts, payload []byte) (*big.Int, error)
- type AttestationHarnessCallerRaw
- type AttestationHarnessCallerSession
- func (_AttestationHarness *AttestationHarnessCallerSession) BlockNumber(payload []byte) (*big.Int, error)
- func (_AttestationHarness *AttestationHarnessCallerSession) CastToAttestation(payload []byte) ([]byte, error)
- func (_AttestationHarness *AttestationHarnessCallerSession) DataHash(agentRoot_ [32]byte, snapGasHash_ [32]byte) ([32]byte, error)
- func (_AttestationHarness *AttestationHarnessCallerSession) DataHash0(payload []byte) ([32]byte, error)
- func (_AttestationHarness *AttestationHarnessCallerSession) FormatAttestation(snapRoot_ [32]byte, dataHash_ [32]byte, nonce_ uint32, blockNumber_ *big.Int, ...) ([]byte, error)
- func (_AttestationHarness *AttestationHarnessCallerSession) HashInvalid(payload []byte) ([32]byte, error)
- func (_AttestationHarness *AttestationHarnessCallerSession) HashValid(payload []byte) ([32]byte, error)
- func (_AttestationHarness *AttestationHarnessCallerSession) IsAttestation(payload []byte) (bool, error)
- func (_AttestationHarness *AttestationHarnessCallerSession) Nonce(payload []byte) (uint32, error)
- func (_AttestationHarness *AttestationHarnessCallerSession) SnapRoot(payload []byte) ([32]byte, error)
- func (_AttestationHarness *AttestationHarnessCallerSession) Timestamp(payload []byte) (*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) BlockNumber(payload []byte) (*big.Int, error)
- func (_AttestationHarness *AttestationHarnessSession) CastToAttestation(payload []byte) ([]byte, error)
- func (_AttestationHarness *AttestationHarnessSession) DataHash(agentRoot_ [32]byte, snapGasHash_ [32]byte) ([32]byte, error)
- func (_AttestationHarness *AttestationHarnessSession) DataHash0(payload []byte) ([32]byte, error)
- func (_AttestationHarness *AttestationHarnessSession) FormatAttestation(snapRoot_ [32]byte, dataHash_ [32]byte, nonce_ uint32, blockNumber_ *big.Int, ...) ([]byte, error)
- func (_AttestationHarness *AttestationHarnessSession) HashInvalid(payload []byte) ([32]byte, error)
- func (_AttestationHarness *AttestationHarnessSession) HashValid(payload []byte) ([32]byte, error)
- func (_AttestationHarness *AttestationHarnessSession) IsAttestation(payload []byte) (bool, error)
- func (_AttestationHarness *AttestationHarnessSession) Nonce(payload []byte) (uint32, error)
- func (_AttestationHarness *AttestationHarnessSession) SnapRoot(payload []byte) ([32]byte, error)
- func (_AttestationHarness *AttestationHarnessSession) Timestamp(payload []byte) (*big.Int, error)
- type AttestationHarnessTransactor
- type AttestationHarnessTransactorRaw
- type AttestationHarnessTransactorSession
- type AttestationLib
- type AttestationLibCaller
- type AttestationLibCallerRaw
- type AttestationLibCallerSession
- type AttestationLibFilterer
- type AttestationLibRaw
- func (_AttestationLib *AttestationLibRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_AttestationLib *AttestationLibRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_AttestationLib *AttestationLibRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type AttestationLibSession
- type AttestationLibTransactor
- type AttestationLibTransactorRaw
- type AttestationLibTransactorSession
- type MemViewLib
- type MemViewLibCaller
- type MemViewLibCallerRaw
- type MemViewLibCallerSession
- type MemViewLibFilterer
- type MemViewLibRaw
- func (_MemViewLib *MemViewLibRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_MemViewLib *MemViewLibRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_MemViewLib *MemViewLibRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type MemViewLibSession
- type MemViewLibTransactor
- type MemViewLibTransactorRaw
- type MemViewLibTransactorSession
Constants ¶
This section is empty.
Variables ¶
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\":\"IndexedTooMuch\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"OccupiedMemory\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"PrecompileOutOfGas\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"UnallocatedMemory\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"UnformattedAttestation\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"ViewOverrun\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"bytes\",\"name\":\"payload\",\"type\":\"bytes\"}],\"name\":\"blockNumber\",\"outputs\":[{\"internalType\":\"uint40\",\"name\":\"\",\"type\":\"uint40\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes\",\"name\":\"payload\",\"type\":\"bytes\"}],\"name\":\"castToAttestation\",\"outputs\":[{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"agentRoot_\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"snapGasHash_\",\"type\":\"bytes32\"}],\"name\":\"dataHash\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes\",\"name\":\"payload\",\"type\":\"bytes\"}],\"name\":\"dataHash\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"snapRoot_\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"dataHash_\",\"type\":\"bytes32\"},{\"internalType\":\"uint32\",\"name\":\"nonce_\",\"type\":\"uint32\"},{\"internalType\":\"uint40\",\"name\":\"blockNumber_\",\"type\":\"uint40\"},{\"internalType\":\"uint40\",\"name\":\"timestamp_\",\"type\":\"uint40\"}],\"name\":\"formatAttestation\",\"outputs\":[{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes\",\"name\":\"payload\",\"type\":\"bytes\"}],\"name\":\"hashInvalid\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes\",\"name\":\"payload\",\"type\":\"bytes\"}],\"name\":\"hashValid\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes\",\"name\":\"payload\",\"type\":\"bytes\"}],\"name\":\"isAttestation\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes\",\"name\":\"payload\",\"type\":\"bytes\"}],\"name\":\"nonce\",\"outputs\":[{\"internalType\":\"uint32\",\"name\":\"\",\"type\":\"uint32\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes\",\"name\":\"payload\",\"type\":\"bytes\"}],\"name\":\"snapRoot\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes\",\"name\":\"payload\",\"type\":\"bytes\"}],\"name\":\"timestamp\",\"outputs\":[{\"internalType\":\"uint40\",\"name\":\"\",\"type\":\"uint40\"}],\"stateMutability\":\"pure\",\"type\":\"function\"}]", Sigs: map[string]string{ "e948e600": "blockNumber(bytes)", "11f6389c": "castToAttestation(bytes)", "c4e1fa9c": "dataHash(bytes)", "717b6ca9": "dataHash(bytes32,bytes32)", "86bf2253": "formatAttestation(bytes32,bytes32,uint32,uint40,uint40)", "60cf3bf0": "hashInvalid(bytes)", "730dbf63": "hashValid(bytes)", "3ae7034d": "isAttestation(bytes)", "4e765004": "nonce(bytes)", "91bacf60": "snapRoot(bytes)", "1c9aa222": "timestamp(bytes)", }, Bin: "0x608060405234801561001057600080fd5b50610a1f806100206000396000f3fe608060405234801561001057600080fd5b50600436106100c95760003560e01c8063717b6ca91161008157806391bacf601161005b57806391bacf601461024b578063c4e1fa9c1461025e578063e948e6001461027157600080fd5b8063717b6ca91461018c578063730dbf631461019f57806386bf2253146101b257600080fd5b80633ae7034d116100b25780633ae7034d146101205780634e7650041461014357806360cf3bf01461016b57600080fd5b806311f6389c146100ce5780631c9aa222146100f7575b600080fd5b6100e16100dc3660046107d6565b610284565b6040516100ee91906108a5565b60405180910390f35b61010a6101053660046107d6565b6102a3565b60405164ffffffffff90911681526020016100ee565b61013361012e3660046107d6565b6102bc565b60405190151581526020016100ee565b6101566101513660046107d6565b6102e2565b60405163ffffffff90911681526020016100ee565b61017e6101793660046107d6565b6102f5565b6040519081526020016100ee565b61017e61019a366004610911565b610308565b61017e6101ad3660046107d6565b610314565b6100e16101c036600461094d565b6040805160208101969096528581019490945260e09290921b7fffffffff0000000000000000000000000000000000000000000000000000000016606085015260d890811b7fffffffffff000000000000000000000000000000000000000000000000000000908116606486015291901b1660698301528051604e818403018152606e909201905290565b61017e6102593660046107d6565b610327565b61017e61026c3660046107d6565b61033a565b61010a61027f3660046107d6565b61034d565b6060600061029183610360565b905061029c81610373565b9392505050565b60006102b66102b183610360565b6103d0565b92915050565b60006102b66102ca836103e2565b6fffffffffffffffffffffffffffffffff16604e1490565b60006102b66102f083610360565b6103fd565b60006102b661030383610360565b61040c565b600061029c838361043a565b60006102b661032283610360565b610470565b60006102b661033583610360565b61049c565b60006102b661034883610360565b6104ad565b60006102b661035b83610360565b6104bb565b60006102b661036e836103e2565b6104ca565b60405180610384836020830161051c565b506fffffffffffffffffffffffffffffffff83166000601f82017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0168301602001604052509052919050565b60006102b660496005845b91906105cb565b8051600090602083016103f581836105ec565b949350505050565b60006102b660406004846103db565b60006102b67fccfadb9c399e4e4257b6d0c3f92e1f9a9c00b1802b55a2f7d511702faa769090835b9061064f565b60408051602081018490529081018290526000906060015b60405160208183030381529060405280519060200120905092915050565b60006102b67f3464bf887f210604c594030208052a323ac6628785466262d75241769120164183610434565b60006102b6816020845b9190610672565b60006102b6602080846104a6565b60006102b660446005846103db565b6000604e6fffffffffffffffffffffffffffffffff831614610518576040517feb92662c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5090565b6040516000906fffffffffffffffffffffffffffffffff841690608085901c9080851015610576576040517f4b2a158c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008386858560045afa9050806105b9576040517f7c7d772f00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b608086901b8417979650505050505050565b6000806105d9858585610672565b602084900360031b1c9150509392505050565b6000806105f983856109af565b9050604051811115610609575060005b80600003610643576040517f10bef38600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b608084901b83176103f5565b60008161065b8461077c565b604080516020810193909352820152606001610452565b6000816000036106845750600061029c565b60208211156106bf576040517f31d784a800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6fffffffffffffffffffffffffffffffff84166106dc83856109af565b1115610714576040517fa3b99ded00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600382901b60006107258660801c90565b909401517f80000000000000000000000000000000000000000000000000000000000000007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff929092019190911d16949350505050565b6000806107898360801c90565b6fffffffffffffffffffffffffffffffff9390931690922092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000602082840312156107e857600080fd5b813567ffffffffffffffff8082111561080057600080fd5b818401915084601f83011261081457600080fd5b813581811115610826576108266107a7565b604051601f82017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0908116603f0116810190838211818310171561086c5761086c6107a7565b8160405282815287602084870101111561088557600080fd5b826020860160208301376000928101602001929092525095945050505050565b600060208083528351808285015260005b818110156108d2578581018301518582016040015282016108b6565b5060006040828601015260407fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f8301168501019250505092915050565b6000806040838503121561092457600080fd5b50508035926020909101359150565b803564ffffffffff8116811461094857600080fd5b919050565b600080600080600060a0868803121561096557600080fd5b8535945060208601359350604086013563ffffffff8116811461098757600080fd5b925061099560608701610933565b91506109a360808701610933565b90509295509295909350565b808201808211156102b6577f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fdfea2646970667358221220d43102ee26751410e72015d1e8f9d8fd7f169f40f74cf5b0c41db7be7fe5259e64736f6c63430008110033", }
AttestationHarnessMetaData contains all meta data concerning the AttestationHarness contract.
var AttestationLibABI = AttestationLibMetaData.ABI
AttestationLibABI is the input ABI used to generate the binding from. Deprecated: Use AttestationLibMetaData.ABI instead.
var AttestationLibBin = AttestationLibMetaData.Bin
AttestationLibBin is the compiled bytecode used for deploying new contracts. Deprecated: Use AttestationLibMetaData.Bin instead.
var AttestationLibMetaData = &bind.MetaData{
ABI: "[]",
Bin: "0x60566037600b82828239805160001a607314602a57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea2646970667358221220b46903d76220a66883901648eee1b8547a3e0b38ed731043858d2fea7f24b40164736f6c63430008110033",
}
AttestationLibMetaData contains all meta data concerning the AttestationLib contract.
var Contracts map[string]*compiler.Contract
Contracts are unmarshalled on start
var MemViewLibABI = MemViewLibMetaData.ABI
MemViewLibABI is the input ABI used to generate the binding from. Deprecated: Use MemViewLibMetaData.ABI instead.
var MemViewLibBin = MemViewLibMetaData.Bin
MemViewLibBin is the compiled bytecode used for deploying new contracts. Deprecated: Use MemViewLibMetaData.Bin instead.
var MemViewLibMetaData = &bind.MetaData{
ABI: "[]",
Bin: "0x60566037600b82828239805160001a607314602a57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea26469706673582212201d2cc0dae90aedd5c7042b56983a4889c234631ac7e0661687a97eca6b91bf6e64736f6c63430008110033",
}
MemViewLibMetaData contains all meta data concerning the MemViewLib contract.
Functions ¶
This section is empty.
Types ¶
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) BlockNumber ¶ added in v0.0.130
func (_AttestationHarness *AttestationHarnessCaller) BlockNumber(opts *bind.CallOpts, payload []byte) (*big.Int, error)
BlockNumber is a free data retrieval call binding the contract method 0xe948e600.
Solidity: function blockNumber(bytes payload) pure returns(uint40)
func (*AttestationHarnessCaller) CastToAttestation ¶ added in v0.0.29
func (_AttestationHarness *AttestationHarnessCaller) CastToAttestation(opts *bind.CallOpts, payload []byte) ([]byte, error)
CastToAttestation is a free data retrieval call binding the contract method 0x11f6389c.
Solidity: function castToAttestation(bytes payload) view returns(bytes)
func (*AttestationHarnessCaller) DataHash ¶ added in v0.0.171
func (_AttestationHarness *AttestationHarnessCaller) DataHash(opts *bind.CallOpts, agentRoot_ [32]byte, snapGasHash_ [32]byte) ([32]byte, error)
DataHash is a free data retrieval call binding the contract method 0x717b6ca9.
Solidity: function dataHash(bytes32 agentRoot_, bytes32 snapGasHash_) pure returns(bytes32)
func (*AttestationHarnessCaller) DataHash0 ¶ added in v0.0.171
func (_AttestationHarness *AttestationHarnessCaller) DataHash0(opts *bind.CallOpts, payload []byte) ([32]byte, error)
DataHash0 is a free data retrieval call binding the contract method 0xc4e1fa9c.
Solidity: function dataHash(bytes payload) pure returns(bytes32)
func (*AttestationHarnessCaller) FormatAttestation ¶
func (_AttestationHarness *AttestationHarnessCaller) FormatAttestation(opts *bind.CallOpts, snapRoot_ [32]byte, dataHash_ [32]byte, nonce_ uint32, blockNumber_ *big.Int, timestamp_ *big.Int) ([]byte, error)
FormatAttestation is a free data retrieval call binding the contract method 0x86bf2253.
Solidity: function formatAttestation(bytes32 snapRoot_, bytes32 dataHash_, uint32 nonce_, uint40 blockNumber_, uint40 timestamp_) pure returns(bytes)
func (*AttestationHarnessCaller) HashInvalid ¶ added in v0.0.171
func (_AttestationHarness *AttestationHarnessCaller) HashInvalid(opts *bind.CallOpts, payload []byte) ([32]byte, error)
HashInvalid is a free data retrieval call binding the contract method 0x60cf3bf0.
Solidity: function hashInvalid(bytes payload) pure returns(bytes32)
func (*AttestationHarnessCaller) HashValid ¶ added in v0.0.171
func (_AttestationHarness *AttestationHarnessCaller) HashValid(opts *bind.CallOpts, payload []byte) ([32]byte, error)
HashValid is a free data retrieval call binding the contract method 0x730dbf63.
Solidity: function hashValid(bytes payload) pure returns(bytes32)
func (*AttestationHarnessCaller) IsAttestation ¶ added in v0.0.29
func (_AttestationHarness *AttestationHarnessCaller) IsAttestation(opts *bind.CallOpts, payload []byte) (bool, error)
IsAttestation is a free data retrieval call binding the contract method 0x3ae7034d.
Solidity: function isAttestation(bytes payload) pure returns(bool)
func (*AttestationHarnessCaller) Nonce ¶ added in v0.0.130
func (_AttestationHarness *AttestationHarnessCaller) Nonce(opts *bind.CallOpts, payload []byte) (uint32, error)
Nonce is a free data retrieval call binding the contract method 0x4e765004.
Solidity: function nonce(bytes payload) pure returns(uint32)
func (*AttestationHarnessCaller) SnapRoot ¶ added in v0.0.171
func (_AttestationHarness *AttestationHarnessCaller) SnapRoot(opts *bind.CallOpts, payload []byte) ([32]byte, error)
SnapRoot is a free data retrieval call binding the contract method 0x91bacf60.
Solidity: function snapRoot(bytes payload) pure returns(bytes32)
func (*AttestationHarnessCaller) Timestamp ¶ added in v0.0.130
func (_AttestationHarness *AttestationHarnessCaller) Timestamp(opts *bind.CallOpts, payload []byte) (*big.Int, error)
Timestamp is a free data retrieval call binding the contract method 0x1c9aa222.
Solidity: function timestamp(bytes payload) pure returns(uint40)
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) BlockNumber ¶ added in v0.0.130
func (_AttestationHarness *AttestationHarnessCallerSession) BlockNumber(payload []byte) (*big.Int, error)
BlockNumber is a free data retrieval call binding the contract method 0xe948e600.
Solidity: function blockNumber(bytes payload) pure returns(uint40)
func (*AttestationHarnessCallerSession) CastToAttestation ¶ added in v0.0.29
func (_AttestationHarness *AttestationHarnessCallerSession) CastToAttestation(payload []byte) ([]byte, error)
CastToAttestation is a free data retrieval call binding the contract method 0x11f6389c.
Solidity: function castToAttestation(bytes payload) view returns(bytes)
func (*AttestationHarnessCallerSession) DataHash ¶ added in v0.0.171
func (_AttestationHarness *AttestationHarnessCallerSession) DataHash(agentRoot_ [32]byte, snapGasHash_ [32]byte) ([32]byte, error)
DataHash is a free data retrieval call binding the contract method 0x717b6ca9.
Solidity: function dataHash(bytes32 agentRoot_, bytes32 snapGasHash_) pure returns(bytes32)
func (*AttestationHarnessCallerSession) DataHash0 ¶ added in v0.0.171
func (_AttestationHarness *AttestationHarnessCallerSession) DataHash0(payload []byte) ([32]byte, error)
DataHash0 is a free data retrieval call binding the contract method 0xc4e1fa9c.
Solidity: function dataHash(bytes payload) pure returns(bytes32)
func (*AttestationHarnessCallerSession) FormatAttestation ¶
func (_AttestationHarness *AttestationHarnessCallerSession) FormatAttestation(snapRoot_ [32]byte, dataHash_ [32]byte, nonce_ uint32, blockNumber_ *big.Int, timestamp_ *big.Int) ([]byte, error)
FormatAttestation is a free data retrieval call binding the contract method 0x86bf2253.
Solidity: function formatAttestation(bytes32 snapRoot_, bytes32 dataHash_, uint32 nonce_, uint40 blockNumber_, uint40 timestamp_) pure returns(bytes)
func (*AttestationHarnessCallerSession) HashInvalid ¶ added in v0.0.171
func (_AttestationHarness *AttestationHarnessCallerSession) HashInvalid(payload []byte) ([32]byte, error)
HashInvalid is a free data retrieval call binding the contract method 0x60cf3bf0.
Solidity: function hashInvalid(bytes payload) pure returns(bytes32)
func (*AttestationHarnessCallerSession) HashValid ¶ added in v0.0.171
func (_AttestationHarness *AttestationHarnessCallerSession) HashValid(payload []byte) ([32]byte, error)
HashValid is a free data retrieval call binding the contract method 0x730dbf63.
Solidity: function hashValid(bytes payload) pure returns(bytes32)
func (*AttestationHarnessCallerSession) IsAttestation ¶ added in v0.0.29
func (_AttestationHarness *AttestationHarnessCallerSession) IsAttestation(payload []byte) (bool, error)
IsAttestation is a free data retrieval call binding the contract method 0x3ae7034d.
Solidity: function isAttestation(bytes payload) pure returns(bool)
func (*AttestationHarnessCallerSession) Nonce ¶ added in v0.0.130
func (_AttestationHarness *AttestationHarnessCallerSession) Nonce(payload []byte) (uint32, error)
Nonce is a free data retrieval call binding the contract method 0x4e765004.
Solidity: function nonce(bytes payload) pure returns(uint32)
func (*AttestationHarnessCallerSession) SnapRoot ¶ added in v0.0.171
func (_AttestationHarness *AttestationHarnessCallerSession) SnapRoot(payload []byte) ([32]byte, error)
SnapRoot is a free data retrieval call binding the contract method 0x91bacf60.
Solidity: function snapRoot(bytes payload) pure returns(bytes32)
func (*AttestationHarnessCallerSession) Timestamp ¶ added in v0.0.130
func (_AttestationHarness *AttestationHarnessCallerSession) Timestamp(payload []byte) (*big.Int, error)
Timestamp is a free data retrieval call binding the contract method 0x1c9aa222.
Solidity: function timestamp(bytes payload) pure returns(uint40)
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 a attestation harness reference.
func NewAttestationHarnessRef ¶
func NewAttestationHarnessRef(address common.Address, backend bind.ContractBackend) (*AttestationHarnessRef, error)
NewAttestationHarnessRef creates a new attestation harness.
func (AttestationHarnessRef) Address ¶
func (s 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) BlockNumber ¶ added in v0.0.130
func (_AttestationHarness *AttestationHarnessSession) BlockNumber(payload []byte) (*big.Int, error)
BlockNumber is a free data retrieval call binding the contract method 0xe948e600.
Solidity: function blockNumber(bytes payload) pure returns(uint40)
func (*AttestationHarnessSession) CastToAttestation ¶ added in v0.0.29
func (_AttestationHarness *AttestationHarnessSession) CastToAttestation(payload []byte) ([]byte, error)
CastToAttestation is a free data retrieval call binding the contract method 0x11f6389c.
Solidity: function castToAttestation(bytes payload) view returns(bytes)
func (*AttestationHarnessSession) DataHash ¶ added in v0.0.171
func (_AttestationHarness *AttestationHarnessSession) DataHash(agentRoot_ [32]byte, snapGasHash_ [32]byte) ([32]byte, error)
DataHash is a free data retrieval call binding the contract method 0x717b6ca9.
Solidity: function dataHash(bytes32 agentRoot_, bytes32 snapGasHash_) pure returns(bytes32)
func (*AttestationHarnessSession) DataHash0 ¶ added in v0.0.171
func (_AttestationHarness *AttestationHarnessSession) DataHash0(payload []byte) ([32]byte, error)
DataHash0 is a free data retrieval call binding the contract method 0xc4e1fa9c.
Solidity: function dataHash(bytes payload) pure returns(bytes32)
func (*AttestationHarnessSession) FormatAttestation ¶
func (_AttestationHarness *AttestationHarnessSession) FormatAttestation(snapRoot_ [32]byte, dataHash_ [32]byte, nonce_ uint32, blockNumber_ *big.Int, timestamp_ *big.Int) ([]byte, error)
FormatAttestation is a free data retrieval call binding the contract method 0x86bf2253.
Solidity: function formatAttestation(bytes32 snapRoot_, bytes32 dataHash_, uint32 nonce_, uint40 blockNumber_, uint40 timestamp_) pure returns(bytes)
func (*AttestationHarnessSession) HashInvalid ¶ added in v0.0.171
func (_AttestationHarness *AttestationHarnessSession) HashInvalid(payload []byte) ([32]byte, error)
HashInvalid is a free data retrieval call binding the contract method 0x60cf3bf0.
Solidity: function hashInvalid(bytes payload) pure returns(bytes32)
func (*AttestationHarnessSession) HashValid ¶ added in v0.0.171
func (_AttestationHarness *AttestationHarnessSession) HashValid(payload []byte) ([32]byte, error)
HashValid is a free data retrieval call binding the contract method 0x730dbf63.
Solidity: function hashValid(bytes payload) pure returns(bytes32)
func (*AttestationHarnessSession) IsAttestation ¶ added in v0.0.29
func (_AttestationHarness *AttestationHarnessSession) IsAttestation(payload []byte) (bool, error)
IsAttestation is a free data retrieval call binding the contract method 0x3ae7034d.
Solidity: function isAttestation(bytes payload) pure returns(bool)
func (*AttestationHarnessSession) Nonce ¶ added in v0.0.130
func (_AttestationHarness *AttestationHarnessSession) Nonce(payload []byte) (uint32, error)
Nonce is a free data retrieval call binding the contract method 0x4e765004.
Solidity: function nonce(bytes payload) pure returns(uint32)
func (*AttestationHarnessSession) SnapRoot ¶ added in v0.0.171
func (_AttestationHarness *AttestationHarnessSession) SnapRoot(payload []byte) ([32]byte, error)
SnapRoot is a free data retrieval call binding the contract method 0x91bacf60.
Solidity: function snapRoot(bytes payload) pure returns(bytes32)
func (*AttestationHarnessSession) Timestamp ¶ added in v0.0.130
func (_AttestationHarness *AttestationHarnessSession) Timestamp(payload []byte) (*big.Int, error)
Timestamp is a free data retrieval call binding the contract method 0x1c9aa222.
Solidity: function timestamp(bytes payload) pure returns(uint40)
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 AttestationLib ¶ added in v0.0.130
type AttestationLib struct { AttestationLibCaller // Read-only binding to the contract AttestationLibTransactor // Write-only binding to the contract AttestationLibFilterer // Log filterer for contract events }
AttestationLib is an auto generated Go binding around an Ethereum contract.
func DeployAttestationLib ¶ added in v0.0.130
func DeployAttestationLib(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *AttestationLib, error)
DeployAttestationLib deploys a new Ethereum contract, binding an instance of AttestationLib to it.
func NewAttestationLib ¶ added in v0.0.130
func NewAttestationLib(address common.Address, backend bind.ContractBackend) (*AttestationLib, error)
NewAttestationLib creates a new instance of AttestationLib, bound to a specific deployed contract.
type AttestationLibCaller ¶ added in v0.0.130
type AttestationLibCaller struct {
// contains filtered or unexported fields
}
AttestationLibCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewAttestationLibCaller ¶ added in v0.0.130
func NewAttestationLibCaller(address common.Address, caller bind.ContractCaller) (*AttestationLibCaller, error)
NewAttestationLibCaller creates a new read-only instance of AttestationLib, bound to a specific deployed contract.
type AttestationLibCallerRaw ¶ added in v0.0.130
type AttestationLibCallerRaw struct {
Contract *AttestationLibCaller // Generic read-only contract binding to access the raw methods on
}
AttestationLibCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*AttestationLibCallerRaw) Call ¶ added in v0.0.130
func (_AttestationLib *AttestationLibCallerRaw) 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 AttestationLibCallerSession ¶ added in v0.0.130
type AttestationLibCallerSession struct { Contract *AttestationLibCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
AttestationLibCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
type AttestationLibFilterer ¶ added in v0.0.130
type AttestationLibFilterer struct {
// contains filtered or unexported fields
}
AttestationLibFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewAttestationLibFilterer ¶ added in v0.0.130
func NewAttestationLibFilterer(address common.Address, filterer bind.ContractFilterer) (*AttestationLibFilterer, error)
NewAttestationLibFilterer creates a new log filterer instance of AttestationLib, bound to a specific deployed contract.
type AttestationLibRaw ¶ added in v0.0.130
type AttestationLibRaw struct {
Contract *AttestationLib // Generic contract binding to access the raw methods on
}
AttestationLibRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*AttestationLibRaw) Call ¶ added in v0.0.130
func (_AttestationLib *AttestationLibRaw) 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 (*AttestationLibRaw) Transact ¶ added in v0.0.130
func (_AttestationLib *AttestationLibRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*AttestationLibRaw) Transfer ¶ added in v0.0.130
func (_AttestationLib *AttestationLibRaw) 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 AttestationLibSession ¶ added in v0.0.130
type AttestationLibSession struct { Contract *AttestationLib // 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 }
AttestationLibSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
type AttestationLibTransactor ¶ added in v0.0.130
type AttestationLibTransactor struct {
// contains filtered or unexported fields
}
AttestationLibTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewAttestationLibTransactor ¶ added in v0.0.130
func NewAttestationLibTransactor(address common.Address, transactor bind.ContractTransactor) (*AttestationLibTransactor, error)
NewAttestationLibTransactor creates a new write-only instance of AttestationLib, bound to a specific deployed contract.
type AttestationLibTransactorRaw ¶ added in v0.0.130
type AttestationLibTransactorRaw struct {
Contract *AttestationLibTransactor // Generic write-only contract binding to access the raw methods on
}
AttestationLibTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*AttestationLibTransactorRaw) Transact ¶ added in v0.0.130
func (_AttestationLib *AttestationLibTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*AttestationLibTransactorRaw) Transfer ¶ added in v0.0.130
func (_AttestationLib *AttestationLibTransactorRaw) 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 AttestationLibTransactorSession ¶ added in v0.0.130
type AttestationLibTransactorSession struct { Contract *AttestationLibTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
AttestationLibTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
type MemViewLib ¶ added in v0.0.171
type MemViewLib struct { MemViewLibCaller // Read-only binding to the contract MemViewLibTransactor // Write-only binding to the contract MemViewLibFilterer // Log filterer for contract events }
MemViewLib is an auto generated Go binding around an Ethereum contract.
func DeployMemViewLib ¶ added in v0.0.171
func DeployMemViewLib(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *MemViewLib, error)
DeployMemViewLib deploys a new Ethereum contract, binding an instance of MemViewLib to it.
func NewMemViewLib ¶ added in v0.0.171
func NewMemViewLib(address common.Address, backend bind.ContractBackend) (*MemViewLib, error)
NewMemViewLib creates a new instance of MemViewLib, bound to a specific deployed contract.
type MemViewLibCaller ¶ added in v0.0.171
type MemViewLibCaller struct {
// contains filtered or unexported fields
}
MemViewLibCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewMemViewLibCaller ¶ added in v0.0.171
func NewMemViewLibCaller(address common.Address, caller bind.ContractCaller) (*MemViewLibCaller, error)
NewMemViewLibCaller creates a new read-only instance of MemViewLib, bound to a specific deployed contract.
type MemViewLibCallerRaw ¶ added in v0.0.171
type MemViewLibCallerRaw struct {
Contract *MemViewLibCaller // Generic read-only contract binding to access the raw methods on
}
MemViewLibCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*MemViewLibCallerRaw) Call ¶ added in v0.0.171
func (_MemViewLib *MemViewLibCallerRaw) 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 MemViewLibCallerSession ¶ added in v0.0.171
type MemViewLibCallerSession struct { Contract *MemViewLibCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
MemViewLibCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
type MemViewLibFilterer ¶ added in v0.0.171
type MemViewLibFilterer struct {
// contains filtered or unexported fields
}
MemViewLibFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewMemViewLibFilterer ¶ added in v0.0.171
func NewMemViewLibFilterer(address common.Address, filterer bind.ContractFilterer) (*MemViewLibFilterer, error)
NewMemViewLibFilterer creates a new log filterer instance of MemViewLib, bound to a specific deployed contract.
type MemViewLibRaw ¶ added in v0.0.171
type MemViewLibRaw struct {
Contract *MemViewLib // Generic contract binding to access the raw methods on
}
MemViewLibRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*MemViewLibRaw) Call ¶ added in v0.0.171
func (_MemViewLib *MemViewLibRaw) 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 (*MemViewLibRaw) Transact ¶ added in v0.0.171
func (_MemViewLib *MemViewLibRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*MemViewLibRaw) Transfer ¶ added in v0.0.171
func (_MemViewLib *MemViewLibRaw) 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 MemViewLibSession ¶ added in v0.0.171
type MemViewLibSession struct { Contract *MemViewLib // 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 }
MemViewLibSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
type MemViewLibTransactor ¶ added in v0.0.171
type MemViewLibTransactor struct {
// contains filtered or unexported fields
}
MemViewLibTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewMemViewLibTransactor ¶ added in v0.0.171
func NewMemViewLibTransactor(address common.Address, transactor bind.ContractTransactor) (*MemViewLibTransactor, error)
NewMemViewLibTransactor creates a new write-only instance of MemViewLib, bound to a specific deployed contract.
type MemViewLibTransactorRaw ¶ added in v0.0.171
type MemViewLibTransactorRaw struct {
Contract *MemViewLibTransactor // Generic write-only contract binding to access the raw methods on
}
MemViewLibTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*MemViewLibTransactorRaw) Transact ¶ added in v0.0.171
func (_MemViewLib *MemViewLibTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*MemViewLibTransactorRaw) Transfer ¶ added in v0.0.171
func (_MemViewLib *MemViewLibTransactorRaw) 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 MemViewLibTransactorSession ¶ added in v0.0.171
type MemViewLibTransactorSession struct { Contract *MemViewLibTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
MemViewLibTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.