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) FormatAttestation(opts *bind.CallOpts, _root [32]byte, _depth uint8, _nonce uint32, ...) ([]byte, error)
- func (_AttestationHarness *AttestationHarnessCaller) FormatSummitAttestation(opts *bind.CallOpts, _summitAtt SummitAttestation, _nonce uint32) ([]byte, error)
- func (_AttestationHarness *AttestationHarnessCaller) Height(opts *bind.CallOpts, _payload []byte) (uint8, error)
- func (_AttestationHarness *AttestationHarnessCaller) IsAttestation(opts *bind.CallOpts, _payload []byte) (bool, error)
- func (_AttestationHarness *AttestationHarnessCaller) IsEmpty(opts *bind.CallOpts, _destAtt DestinationAttestation) (bool, error)
- func (_AttestationHarness *AttestationHarnessCaller) Nonce(opts *bind.CallOpts, _payload []byte) (uint32, error)
- func (_AttestationHarness *AttestationHarnessCaller) Root(opts *bind.CallOpts, _payload []byte) ([32]byte, error)
- func (_AttestationHarness *AttestationHarnessCaller) Timestamp(opts *bind.CallOpts, _payload []byte) (*big.Int, error)
- func (_AttestationHarness *AttestationHarnessCaller) ToDestinationAttestation(opts *bind.CallOpts, _payload []byte, _notary common.Address) (DestinationAttestation, 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) FormatAttestation(_root [32]byte, _depth uint8, _nonce uint32, _blockNumber *big.Int, ...) ([]byte, error)
- func (_AttestationHarness *AttestationHarnessCallerSession) FormatSummitAttestation(_summitAtt SummitAttestation, _nonce uint32) ([]byte, error)
- func (_AttestationHarness *AttestationHarnessCallerSession) Height(_payload []byte) (uint8, error)
- func (_AttestationHarness *AttestationHarnessCallerSession) IsAttestation(_payload []byte) (bool, error)
- func (_AttestationHarness *AttestationHarnessCallerSession) IsEmpty(_destAtt DestinationAttestation) (bool, error)
- func (_AttestationHarness *AttestationHarnessCallerSession) Nonce(_payload []byte) (uint32, error)
- func (_AttestationHarness *AttestationHarnessCallerSession) Root(_payload []byte) ([32]byte, error)
- func (_AttestationHarness *AttestationHarnessCallerSession) Timestamp(_payload []byte) (*big.Int, error)
- func (_AttestationHarness *AttestationHarnessCallerSession) ToDestinationAttestation(_payload []byte, _notary common.Address) (DestinationAttestation, 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) FormatAttestation(_root [32]byte, _depth uint8, _nonce uint32, _blockNumber *big.Int, ...) ([]byte, error)
- func (_AttestationHarness *AttestationHarnessSession) FormatSummitAttestation(_summitAtt SummitAttestation, _nonce uint32) ([]byte, error)
- func (_AttestationHarness *AttestationHarnessSession) Height(_payload []byte) (uint8, error)
- func (_AttestationHarness *AttestationHarnessSession) IsAttestation(_payload []byte) (bool, error)
- func (_AttestationHarness *AttestationHarnessSession) IsEmpty(_destAtt DestinationAttestation) (bool, error)
- func (_AttestationHarness *AttestationHarnessSession) Nonce(_payload []byte) (uint32, error)
- func (_AttestationHarness *AttestationHarnessSession) Root(_payload []byte) ([32]byte, error)
- func (_AttestationHarness *AttestationHarnessSession) Timestamp(_payload []byte) (*big.Int, error)
- func (_AttestationHarness *AttestationHarnessSession) ToDestinationAttestation(_payload []byte, _notary common.Address) (DestinationAttestation, 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 ByteString
- type ByteStringCaller
- type ByteStringCallerRaw
- type ByteStringCallerSession
- type ByteStringFilterer
- type ByteStringRaw
- func (_ByteString *ByteStringRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_ByteString *ByteStringRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_ByteString *ByteStringRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type ByteStringSession
- type ByteStringTransactor
- type ByteStringTransactorRaw
- type ByteStringTransactorSession
- type DestinationAttestation
- type SummitAttestation
- type TypedMemView
- type TypedMemViewCaller
- func (_TypedMemView *TypedMemViewCaller) BITSEMPTY(opts *bind.CallOpts) (*big.Int, error)
- func (_TypedMemView *TypedMemViewCaller) BITSLEN(opts *bind.CallOpts) (*big.Int, error)
- func (_TypedMemView *TypedMemViewCaller) BITSLOC(opts *bind.CallOpts) (*big.Int, error)
- func (_TypedMemView *TypedMemViewCaller) BITSTYPE(opts *bind.CallOpts) (*big.Int, error)
- func (_TypedMemView *TypedMemViewCaller) LOW96BITSMASK(opts *bind.CallOpts) (*big.Int, error)
- func (_TypedMemView *TypedMemViewCaller) NULL(opts *bind.CallOpts) ([29]byte, error)
- func (_TypedMemView *TypedMemViewCaller) SHIFTLEN(opts *bind.CallOpts) (*big.Int, error)
- func (_TypedMemView *TypedMemViewCaller) SHIFTLOC(opts *bind.CallOpts) (*big.Int, error)
- func (_TypedMemView *TypedMemViewCaller) SHIFTTYPE(opts *bind.CallOpts) (*big.Int, error)
- type TypedMemViewCallerRaw
- type TypedMemViewCallerSession
- func (_TypedMemView *TypedMemViewCallerSession) BITSEMPTY() (*big.Int, error)
- func (_TypedMemView *TypedMemViewCallerSession) BITSLEN() (*big.Int, error)
- func (_TypedMemView *TypedMemViewCallerSession) BITSLOC() (*big.Int, error)
- func (_TypedMemView *TypedMemViewCallerSession) BITSTYPE() (*big.Int, error)
- func (_TypedMemView *TypedMemViewCallerSession) LOW96BITSMASK() (*big.Int, error)
- func (_TypedMemView *TypedMemViewCallerSession) NULL() ([29]byte, error)
- func (_TypedMemView *TypedMemViewCallerSession) SHIFTLEN() (*big.Int, error)
- func (_TypedMemView *TypedMemViewCallerSession) SHIFTLOC() (*big.Int, error)
- func (_TypedMemView *TypedMemViewCallerSession) SHIFTTYPE() (*big.Int, error)
- 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
- func (_TypedMemView *TypedMemViewSession) BITSEMPTY() (*big.Int, error)
- func (_TypedMemView *TypedMemViewSession) BITSLEN() (*big.Int, error)
- func (_TypedMemView *TypedMemViewSession) BITSLOC() (*big.Int, error)
- func (_TypedMemView *TypedMemViewSession) BITSTYPE() (*big.Int, error)
- func (_TypedMemView *TypedMemViewSession) LOW96BITSMASK() (*big.Int, error)
- func (_TypedMemView *TypedMemViewSession) NULL() ([29]byte, error)
- func (_TypedMemView *TypedMemViewSession) SHIFTLEN() (*big.Int, error)
- func (_TypedMemView *TypedMemViewSession) SHIFTLOC() (*big.Int, error)
- func (_TypedMemView *TypedMemViewSession) SHIFTTYPE() (*big.Int, error)
- type TypedMemViewTransactor
- type TypedMemViewTransactorRaw
- type TypedMemViewTransactorSession
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\":[{\"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\":\"_root\",\"type\":\"bytes32\"},{\"internalType\":\"uint8\",\"name\":\"_depth\",\"type\":\"uint8\"},{\"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\":[{\"components\":[{\"internalType\":\"bytes32\",\"name\":\"root\",\"type\":\"bytes32\"},{\"internalType\":\"uint8\",\"name\":\"height\",\"type\":\"uint8\"},{\"internalType\":\"uint40\",\"name\":\"blockNumber\",\"type\":\"uint40\"},{\"internalType\":\"uint40\",\"name\":\"timestamp\",\"type\":\"uint40\"}],\"internalType\":\"structSummitAttestation\",\"name\":\"_summitAtt\",\"type\":\"tuple\"},{\"internalType\":\"uint32\",\"name\":\"_nonce\",\"type\":\"uint32\"}],\"name\":\"formatSummitAttestation\",\"outputs\":[{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes\",\"name\":\"_payload\",\"type\":\"bytes\"}],\"name\":\"height\",\"outputs\":[{\"internalType\":\"uint8\",\"name\":\"\",\"type\":\"uint8\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes\",\"name\":\"_payload\",\"type\":\"bytes\"}],\"name\":\"isAttestation\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"notary\",\"type\":\"address\"},{\"internalType\":\"uint8\",\"name\":\"height\",\"type\":\"uint8\"},{\"internalType\":\"uint32\",\"name\":\"nonce\",\"type\":\"uint32\"},{\"internalType\":\"uint40\",\"name\":\"destTimestamp\",\"type\":\"uint40\"}],\"internalType\":\"structDestinationAttestation\",\"name\":\"_destAtt\",\"type\":\"tuple\"}],\"name\":\"isEmpty\",\"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\":\"root\",\"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\"},{\"inputs\":[{\"internalType\":\"bytes\",\"name\":\"_payload\",\"type\":\"bytes\"},{\"internalType\":\"address\",\"name\":\"_notary\",\"type\":\"address\"}],\"name\":\"toDestinationAttestation\",\"outputs\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"notary\",\"type\":\"address\"},{\"internalType\":\"uint8\",\"name\":\"height\",\"type\":\"uint8\"},{\"internalType\":\"uint32\",\"name\":\"nonce\",\"type\":\"uint32\"},{\"internalType\":\"uint40\",\"name\":\"destTimestamp\",\"type\":\"uint40\"}],\"internalType\":\"structDestinationAttestation\",\"name\":\"\",\"type\":\"tuple\"}],\"stateMutability\":\"view\",\"type\":\"function\"}]", Sigs: map[string]string{ "e948e600": "blockNumber(bytes)", "11f6389c": "castToAttestation(bytes)", "ca22c3bb": "formatAttestation(bytes32,uint8,uint32,uint40,uint40)", "902d43cf": "formatSummitAttestation((bytes32,uint8,uint40,uint40),uint32)", "6d409201": "height(bytes)", "3ae7034d": "isAttestation(bytes)", "4bfacbbd": "isEmpty((address,uint8,uint32,uint40))", "4e765004": "nonce(bytes)", "c2e9e208": "root(bytes)", "1c9aa222": "timestamp(bytes)", "e41e69ea": "toDestinationAttestation(bytes,address)", }, Bin: "0x608060405234801561001057600080fd5b506113b0806100206000396000f3fe608060405234801561001057600080fd5b50600436106100c95760003560e01c80636d40920111610081578063ca22c3bb1161005b578063ca22c3bb146101d7578063e41e69ea146101ea578063e948e6001461025657600080fd5b80636d4092011461017e578063902d43cf146101a3578063c2e9e208146101b657600080fd5b80633ae7034d116100b25780633ae7034d146101205780634bfacbbd146101435780634e7650041461015657600080fd5b806311f6389c146100ce5780631c9aa222146100f7575b600080fd5b6100e16100dc366004610ec2565b610269565b6040516100ee9190610f63565b60405180910390f35b61010a610105366004610ec2565b61028e565b60405164ffffffffff90911681526020016100ee565b61013361012e366004610ec2565b6102ad565b60405190151581526020016100ee565b610133610151366004610fd9565b6102d9565b610169610164366004610ec2565b6102fa565b60405163ffffffff90911681526020016100ee565b61019161018c366004610ec2565b610313565b60405160ff90911681526020016100ee565b6100e16101b1366004611056565b61032c565b6101c96101c4366004610ec2565b610338565b6040519081526020016100ee565b6100e16101e53660046110ed565b610351565b6101fd6101f836600461114b565b610409565b6040516100ee9190815173ffffffffffffffffffffffffffffffffffffffff16815260208083015160ff169082015260408083015163ffffffff169082015260609182015164ffffffffff169181019190915260800190565b61010a610264366004610ec2565b610446565b606060006102768361045f565b905061028762ffffff198216610472565b9392505050565b60006102a761029c8361045f565b62ffffff19166104c5565b92915050565b60006102a76102bc83836104db565b62ffffff191660181c6bffffffffffffffffffffffff16602f1490565b60006102a7825173ffffffffffffffffffffffffffffffffffffffff161590565b60006102a76103088361045f565b62ffffff19166104ff565b60006102a76103218361045f565b62ffffff1916610515565b6060610287838361052b565b60006102a76103468361045f565b62ffffff19166105f5565b60408051602081018790527fff0000000000000000000000000000000000000000000000000000000000000060f887901b16818301527fffffffff0000000000000000000000000000000000000000000000000000000060e086901b1660418201527fffffffffff00000000000000000000000000000000000000000000000000000060d885811b8216604584015284901b16604a8201528151808203602f018152604f9091019091526060905b9695505050505050565b6040805160808101825260008082526020820181905291810182905260608101919091526102878261043a8561045f565b62ffffff19169061060a565b60006102a76104548361045f565b62ffffff1916610688565b60006102a761046d8361069e565b6106aa565b606060008061048f8460181c6bffffffffffffffffffffffff1690565b6bffffffffffffffffffffffff16905060405191508192506104b48483602001610736565b508181016020016040529052919050565b600062ffffff19821661028781602a600561091d565b8151600090602084016104f664ffffffffff8516828461094d565b95945050505050565b600062ffffff198216610287816021600461091d565b600062ffffff198216610287816020600161091d565b606061028783600001518460200151848660400151876060015160408051602081019690965260f89490941b7fff00000000000000000000000000000000000000000000000000000000000000168585015260e09290921b7fffffffff0000000000000000000000000000000000000000000000000000000016604185015260d890811b7fffffffffff000000000000000000000000000000000000000000000000000000908116604586015291901b16604a8301528051602f818403018152604f909201905290565b600062ffffff19821661028781836020610994565b60408051608081018252600060208201819052918101829052606081019190915273ffffffffffffffffffffffffffffffffffffffff8216815261065362ffffff198416610515565b60ff16602082015261066a62ffffff1984166104ff565b63ffffffff16604082015264ffffffffff4216606082015292915050565b600062ffffff198216610287816025600561091d565b60006102a782826104db565b60006106c78260181c6bffffffffffffffffffffffff16602f1490565b610732576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601260248201527f4e6f7420616e206174746573746174696f6e000000000000000000000000000060448201526064015b60405180910390fd5b5090565b600062ffffff19808416036107a7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601a60248201527f636f7079546f3a204e756c6c20706f696e7465722064657265660000000000006044820152606401610729565b6107b083610b42565b610816576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601d60248201527f636f7079546f3a20496e76616c696420706f696e7465722064657265660000006044820152606401610729565b60006108308460181c6bffffffffffffffffffffffff1690565b6bffffffffffffffffffffffff169050600061084b85610b7e565b6bffffffffffffffffffffffff1690506000806040519150858211156108715760206060fd5b8386858560045afa9050806108e2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601460248201527f6964656e746974793a206f7574206f66206761730000000000000000000000006044820152606401610729565b6109126108ee88610ba5565b70ffffffffff000000000000000000000000606091821b168817901b851760181b90565b979650505050505050565b600061092a8260206111bf565b6109359060086111d8565b60ff16610943858585610994565b901c949350505050565b60008061095a83856111fb565b905060405181111561096a575060005b8060000361097f5762ffffff19915050610287565b5050606092831b9190911790911b1760181b90565b60008160ff166000036109a957506000610287565b6109c18460181c6bffffffffffffffffffffffff1690565b6bffffffffffffffffffffffff166109dc60ff8416856111fb565b1115610a5f57610a2c6109ee85610b7e565b6bffffffffffffffffffffffff16610a148660181c6bffffffffffffffffffffffff1690565b6bffffffffffffffffffffffff16858560ff16610bc9565b6040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107299190610f63565b60208260ff161115610acd576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601960248201527f496e6465783a206d6f7265207468616e203332206279746573000000000000006044820152606401610729565b600882026000610adc86610b7e565b6bffffffffffffffffffffffff16905060007f80000000000000000000000000000000000000000000000000000000000000007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff84011d91909501511695945050505050565b6000610b4d82610ba5565b64ffffffffff1664ffffffffff03610b6757506000919050565b6000610b7283610c37565b60405110199392505050565b600080610b8d606060186111fb565b9290921c6bffffffffffffffffffffffff1692915050565b6000806060610bb58160186111fb565b610bbf91906111fb565b9290921c92915050565b60606000610bd686610c70565b9150506000610be486610c70565b9150506000610bf286610c70565b9150506000610c0086610c70565b91505083838383604051602001610c1a949392919061120e565b604051602081830303815290604052945050505050949350505050565b6000610c518260181c6bffffffffffffffffffffffff1690565b610c5a83610b7e565b016bffffffffffffffffffffffff169050919050565b600080601f5b600f8160ff161115610ce3576000610c8f8260086111d8565b60ff1685901c9050610ca081610d5a565b61ffff16841793508160ff16601014610cbb57601084901b93505b507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff01610c76565b50600f5b60ff8160ff161015610d54576000610d008260086111d8565b60ff1685901c9050610d1181610d5a565b61ffff16831792508160ff16600014610d2c57601083901b92505b507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff01610ce7565b50915091565b6000610d6c60048360ff16901c610d8c565b60ff1661ffff919091161760081b610d8382610d8c565b60ff1617919050565b6040805180820190915260108082527f30313233343536373839616263646566000000000000000000000000000000006020830152600091600f84169182908110610dd957610dd961134b565b016020015160f81c9392505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600082601f830112610e2857600080fd5b813567ffffffffffffffff80821115610e4357610e43610de8565b604051601f83017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0908116603f01168101908282118183101715610e8957610e89610de8565b81604052838152866020858801011115610ea257600080fd5b836020870160208301376000602085830101528094505050505092915050565b600060208284031215610ed457600080fd5b813567ffffffffffffffff811115610eeb57600080fd5b610ef784828501610e17565b949350505050565b6000815180845260005b81811015610f2557602081850181015186830182015201610f09565b5060006020828601015260207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f83011685010191505092915050565b6020815260006102876020830184610eff565b803573ffffffffffffffffffffffffffffffffffffffff81168114610f9a57600080fd5b919050565b803560ff81168114610f9a57600080fd5b803563ffffffff81168114610f9a57600080fd5b803564ffffffffff81168114610f9a57600080fd5b600060808284031215610feb57600080fd5b6040516080810181811067ffffffffffffffff8211171561100e5761100e610de8565b60405261101a83610f76565b815261102860208401610f9f565b602082015261103960408401610fb0565b604082015261104a60608401610fc4565b60608201529392505050565b60008082840360a081121561106a57600080fd5b608081121561107857600080fd5b506040516080810181811067ffffffffffffffff8211171561109c5761109c610de8565b604052833581526110af60208501610f9f565b60208201526110c060408501610fc4565b60408201526110d160608501610fc4565b606082015291506110e460808401610fb0565b90509250929050565b600080600080600060a0868803121561110557600080fd5b8535945061111560208701610f9f565b935061112360408701610fb0565b925061113160608701610fc4565b915061113f60808701610fc4565b90509295509295909350565b6000806040838503121561115e57600080fd5b823567ffffffffffffffff81111561117557600080fd5b61118185828601610e17565b9250506110e460208401610f76565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60ff82811682821603908111156102a7576102a7611190565b60ff81811683821602908116908181146111f4576111f4611190565b5092915050565b808201808211156102a7576102a7611190565b7f54797065644d656d566965772f696e646578202d204f76657272616e2074686581527f20766965772e20536c696365206973206174203078000000000000000000000060208201527fffffffffffff000000000000000000000000000000000000000000000000000060d086811b821660358401527f2077697468206c656e6774682030780000000000000000000000000000000000603b840181905286821b8316604a8501527f2e20417474656d7074656420746f20696e646578206174206f6666736574203060508501527f7800000000000000000000000000000000000000000000000000000000000000607085015285821b83166071850152607784015283901b1660868201527f2e00000000000000000000000000000000000000000000000000000000000000608c8201526000608d82016103ff565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fdfea264697066735822122010e1a04bb7713d168ab091ddc69331855a0a37862b9fc6ba576ed2d7768b25b364736f6c63430008110033", }
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: "0x60566037600b82828239805160001a607314602a57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea2646970667358221220fede4163eeaae6cd889bf4f25ca18f7be022c1eba91462a5dd1cd8cef8c6390264736f6c63430008110033",
}
AttestationLibMetaData contains all meta data concerning the AttestationLib contract.
var ByteStringABI = ByteStringMetaData.ABI
ByteStringABI is the input ABI used to generate the binding from. Deprecated: Use ByteStringMetaData.ABI instead.
var ByteStringBin = ByteStringMetaData.Bin
ByteStringBin is the compiled bytecode used for deploying new contracts. Deprecated: Use ByteStringMetaData.Bin instead.
var ByteStringMetaData = &bind.MetaData{
ABI: "[]",
Bin: "0x60566037600b82828239805160001a607314602a57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea26469706673582212207b8fcd39ecc1aa19310599b4be3361063142eba0aca2c6460d935a52e49b440764736f6c63430008110033",
}
ByteStringMetaData contains all meta data concerning the ByteString contract.
var Contracts map[string]*compiler.Contract
Contracts are unmarshalled on start
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\":\"BITS_EMPTY\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"BITS_LEN\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"BITS_LOC\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"BITS_TYPE\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"LOW_96_BITS_MASK\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"NULL\",\"outputs\":[{\"internalType\":\"bytes29\",\"name\":\"\",\"type\":\"bytes29\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"SHIFT_LEN\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"SHIFT_LOC\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"SHIFT_TYPE\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"}]", Sigs: map[string]string{ "97b8ad4a": "BITS_EMPTY()", "eb740628": "BITS_LEN()", "fb734584": "BITS_LOC()", "10153fce": "BITS_TYPE()", "b602d173": "LOW_96_BITS_MASK()", "f26be3fc": "NULL()", "1136e7ea": "SHIFT_LEN()", "1bfe17ce": "SHIFT_LOC()", "13090c5a": "SHIFT_TYPE()", }, Bin: "0x6101f061003a600b82828239805160001a60731461002d57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600436106100ad5760003560e01c806397b8ad4a11610080578063eb74062811610065578063eb740628146100f8578063f26be3fc14610100578063fb734584146100f857600080fd5b806397b8ad4a146100cd578063b602d173146100e557600080fd5b806310153fce146100b25780631136e7ea146100cd57806313090c5a146100d55780631bfe17ce146100dd575b600080fd5b6100ba602881565b6040519081526020015b60405180910390f35b6100ba601881565b6100ba610158565b6100ba610172565b6100ba6bffffffffffffffffffffffff81565b6100ba606081565b6101277fffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00000081565b6040517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00000090911681526020016100c4565b606061016581601861017a565b61016f919061017a565b81565b61016f606060185b808201808211156101b4577f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b9291505056fea2646970667358221220f1ca2ad6ac30a971565ccc4c2a2345a989e6784bb688a6a8e220474609c66fde64736f6c63430008110033", }
TypedMemViewMetaData contains all meta data concerning the TypedMemView 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) FormatAttestation ¶
func (_AttestationHarness *AttestationHarnessCaller) FormatAttestation(opts *bind.CallOpts, _root [32]byte, _depth uint8, _nonce uint32, _blockNumber *big.Int, _timestamp *big.Int) ([]byte, error)
FormatAttestation is a free data retrieval call binding the contract method 0xca22c3bb.
Solidity: function formatAttestation(bytes32 _root, uint8 _depth, uint32 _nonce, uint40 _blockNumber, uint40 _timestamp) pure returns(bytes)
func (*AttestationHarnessCaller) FormatSummitAttestation ¶ added in v0.0.130
func (_AttestationHarness *AttestationHarnessCaller) FormatSummitAttestation(opts *bind.CallOpts, _summitAtt SummitAttestation, _nonce uint32) ([]byte, error)
FormatSummitAttestation is a free data retrieval call binding the contract method 0x902d43cf.
Solidity: function formatSummitAttestation((bytes32,uint8,uint40,uint40) _summitAtt, uint32 _nonce) pure returns(bytes)
func (*AttestationHarnessCaller) Height ¶ added in v0.0.130
func (_AttestationHarness *AttestationHarnessCaller) Height(opts *bind.CallOpts, _payload []byte) (uint8, error)
Height is a free data retrieval call binding the contract method 0x6d409201.
Solidity: function height(bytes _payload) pure returns(uint8)
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) IsEmpty ¶ added in v0.0.130
func (_AttestationHarness *AttestationHarnessCaller) IsEmpty(opts *bind.CallOpts, _destAtt DestinationAttestation) (bool, error)
IsEmpty is a free data retrieval call binding the contract method 0x4bfacbbd.
Solidity: function isEmpty((address,uint8,uint32,uint40) _destAtt) 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) Root ¶ added in v0.0.130
func (_AttestationHarness *AttestationHarnessCaller) Root(opts *bind.CallOpts, _payload []byte) ([32]byte, error)
Root is a free data retrieval call binding the contract method 0xc2e9e208.
Solidity: function root(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)
func (*AttestationHarnessCaller) ToDestinationAttestation ¶ added in v0.0.130
func (_AttestationHarness *AttestationHarnessCaller) ToDestinationAttestation(opts *bind.CallOpts, _payload []byte, _notary common.Address) (DestinationAttestation, error)
ToDestinationAttestation is a free data retrieval call binding the contract method 0xe41e69ea.
Solidity: function toDestinationAttestation(bytes _payload, address _notary) view returns((address,uint8,uint32,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) FormatAttestation ¶
func (_AttestationHarness *AttestationHarnessCallerSession) FormatAttestation(_root [32]byte, _depth uint8, _nonce uint32, _blockNumber *big.Int, _timestamp *big.Int) ([]byte, error)
FormatAttestation is a free data retrieval call binding the contract method 0xca22c3bb.
Solidity: function formatAttestation(bytes32 _root, uint8 _depth, uint32 _nonce, uint40 _blockNumber, uint40 _timestamp) pure returns(bytes)
func (*AttestationHarnessCallerSession) FormatSummitAttestation ¶ added in v0.0.130
func (_AttestationHarness *AttestationHarnessCallerSession) FormatSummitAttestation(_summitAtt SummitAttestation, _nonce uint32) ([]byte, error)
FormatSummitAttestation is a free data retrieval call binding the contract method 0x902d43cf.
Solidity: function formatSummitAttestation((bytes32,uint8,uint40,uint40) _summitAtt, uint32 _nonce) pure returns(bytes)
func (*AttestationHarnessCallerSession) Height ¶ added in v0.0.130
func (_AttestationHarness *AttestationHarnessCallerSession) Height(_payload []byte) (uint8, error)
Height is a free data retrieval call binding the contract method 0x6d409201.
Solidity: function height(bytes _payload) pure returns(uint8)
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) IsEmpty ¶ added in v0.0.130
func (_AttestationHarness *AttestationHarnessCallerSession) IsEmpty(_destAtt DestinationAttestation) (bool, error)
IsEmpty is a free data retrieval call binding the contract method 0x4bfacbbd.
Solidity: function isEmpty((address,uint8,uint32,uint40) _destAtt) 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) Root ¶ added in v0.0.130
func (_AttestationHarness *AttestationHarnessCallerSession) Root(_payload []byte) ([32]byte, error)
Root is a free data retrieval call binding the contract method 0xc2e9e208.
Solidity: function root(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)
func (*AttestationHarnessCallerSession) ToDestinationAttestation ¶ added in v0.0.130
func (_AttestationHarness *AttestationHarnessCallerSession) ToDestinationAttestation(_payload []byte, _notary common.Address) (DestinationAttestation, error)
ToDestinationAttestation is a free data retrieval call binding the contract method 0xe41e69ea.
Solidity: function toDestinationAttestation(bytes _payload, address _notary) view returns((address,uint8,uint32,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) FormatAttestation ¶
func (_AttestationHarness *AttestationHarnessSession) FormatAttestation(_root [32]byte, _depth uint8, _nonce uint32, _blockNumber *big.Int, _timestamp *big.Int) ([]byte, error)
FormatAttestation is a free data retrieval call binding the contract method 0xca22c3bb.
Solidity: function formatAttestation(bytes32 _root, uint8 _depth, uint32 _nonce, uint40 _blockNumber, uint40 _timestamp) pure returns(bytes)
func (*AttestationHarnessSession) FormatSummitAttestation ¶ added in v0.0.130
func (_AttestationHarness *AttestationHarnessSession) FormatSummitAttestation(_summitAtt SummitAttestation, _nonce uint32) ([]byte, error)
FormatSummitAttestation is a free data retrieval call binding the contract method 0x902d43cf.
Solidity: function formatSummitAttestation((bytes32,uint8,uint40,uint40) _summitAtt, uint32 _nonce) pure returns(bytes)
func (*AttestationHarnessSession) Height ¶ added in v0.0.130
func (_AttestationHarness *AttestationHarnessSession) Height(_payload []byte) (uint8, error)
Height is a free data retrieval call binding the contract method 0x6d409201.
Solidity: function height(bytes _payload) pure returns(uint8)
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) IsEmpty ¶ added in v0.0.130
func (_AttestationHarness *AttestationHarnessSession) IsEmpty(_destAtt DestinationAttestation) (bool, error)
IsEmpty is a free data retrieval call binding the contract method 0x4bfacbbd.
Solidity: function isEmpty((address,uint8,uint32,uint40) _destAtt) 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) Root ¶ added in v0.0.130
func (_AttestationHarness *AttestationHarnessSession) Root(_payload []byte) ([32]byte, error)
Root is a free data retrieval call binding the contract method 0xc2e9e208.
Solidity: function root(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)
func (*AttestationHarnessSession) ToDestinationAttestation ¶ added in v0.0.130
func (_AttestationHarness *AttestationHarnessSession) ToDestinationAttestation(_payload []byte, _notary common.Address) (DestinationAttestation, error)
ToDestinationAttestation is a free data retrieval call binding the contract method 0xe41e69ea.
Solidity: function toDestinationAttestation(bytes _payload, address _notary) view returns((address,uint8,uint32,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 ByteString ¶ added in v0.0.31
type ByteString struct { ByteStringCaller // Read-only binding to the contract ByteStringTransactor // Write-only binding to the contract ByteStringFilterer // Log filterer for contract events }
ByteString is an auto generated Go binding around an Ethereum contract.
func DeployByteString ¶ added in v0.0.31
func DeployByteString(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *ByteString, error)
DeployByteString deploys a new Ethereum contract, binding an instance of ByteString to it.
func NewByteString ¶ added in v0.0.31
func NewByteString(address common.Address, backend bind.ContractBackend) (*ByteString, error)
NewByteString creates a new instance of ByteString, bound to a specific deployed contract.
type ByteStringCaller ¶ added in v0.0.31
type ByteStringCaller struct {
// contains filtered or unexported fields
}
ByteStringCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewByteStringCaller ¶ added in v0.0.31
func NewByteStringCaller(address common.Address, caller bind.ContractCaller) (*ByteStringCaller, error)
NewByteStringCaller creates a new read-only instance of ByteString, bound to a specific deployed contract.
type ByteStringCallerRaw ¶ added in v0.0.31
type ByteStringCallerRaw struct {
Contract *ByteStringCaller // Generic read-only contract binding to access the raw methods on
}
ByteStringCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*ByteStringCallerRaw) Call ¶ added in v0.0.31
func (_ByteString *ByteStringCallerRaw) 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 ByteStringCallerSession ¶ added in v0.0.31
type ByteStringCallerSession struct { Contract *ByteStringCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
ByteStringCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
type ByteStringFilterer ¶ added in v0.0.31
type ByteStringFilterer struct {
// contains filtered or unexported fields
}
ByteStringFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewByteStringFilterer ¶ added in v0.0.31
func NewByteStringFilterer(address common.Address, filterer bind.ContractFilterer) (*ByteStringFilterer, error)
NewByteStringFilterer creates a new log filterer instance of ByteString, bound to a specific deployed contract.
type ByteStringRaw ¶ added in v0.0.31
type ByteStringRaw struct {
Contract *ByteString // Generic contract binding to access the raw methods on
}
ByteStringRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*ByteStringRaw) Call ¶ added in v0.0.31
func (_ByteString *ByteStringRaw) 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 (*ByteStringRaw) Transact ¶ added in v0.0.31
func (_ByteString *ByteStringRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*ByteStringRaw) Transfer ¶ added in v0.0.31
func (_ByteString *ByteStringRaw) 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 ByteStringSession ¶ added in v0.0.31
type ByteStringSession struct { Contract *ByteString // 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 }
ByteStringSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
type ByteStringTransactor ¶ added in v0.0.31
type ByteStringTransactor struct {
// contains filtered or unexported fields
}
ByteStringTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewByteStringTransactor ¶ added in v0.0.31
func NewByteStringTransactor(address common.Address, transactor bind.ContractTransactor) (*ByteStringTransactor, error)
NewByteStringTransactor creates a new write-only instance of ByteString, bound to a specific deployed contract.
type ByteStringTransactorRaw ¶ added in v0.0.31
type ByteStringTransactorRaw struct {
Contract *ByteStringTransactor // Generic write-only contract binding to access the raw methods on
}
ByteStringTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*ByteStringTransactorRaw) Transact ¶ added in v0.0.31
func (_ByteString *ByteStringTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*ByteStringTransactorRaw) Transfer ¶ added in v0.0.31
func (_ByteString *ByteStringTransactorRaw) 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 ByteStringTransactorSession ¶ added in v0.0.31
type ByteStringTransactorSession struct { Contract *ByteStringTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
ByteStringTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
type DestinationAttestation ¶ added in v0.0.130
type DestinationAttestation struct { Notary common.Address Height uint8 Nonce uint32 DestTimestamp *big.Int }
DestinationAttestation is an auto generated low-level Go binding around an user-defined struct.
type SummitAttestation ¶ added in v0.0.130
type SummitAttestation struct { Root [32]byte Height uint8 BlockNumber *big.Int Timestamp *big.Int }
SummitAttestation is an auto generated low-level Go binding around an user-defined struct.
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.
func (*TypedMemViewCaller) BITSEMPTY ¶ added in v0.0.37
BITSEMPTY is a free data retrieval call binding the contract method 0x97b8ad4a.
Solidity: function BITS_EMPTY() view returns(uint256)
func (*TypedMemViewCaller) BITSLEN ¶ added in v0.0.37
BITSLEN is a free data retrieval call binding the contract method 0xeb740628.
Solidity: function BITS_LEN() view returns(uint256)
func (*TypedMemViewCaller) BITSLOC ¶ added in v0.0.37
BITSLOC is a free data retrieval call binding the contract method 0xfb734584.
Solidity: function BITS_LOC() view returns(uint256)
func (*TypedMemViewCaller) BITSTYPE ¶ added in v0.0.37
BITSTYPE is a free data retrieval call binding the contract method 0x10153fce.
Solidity: function BITS_TYPE() view returns(uint256)
func (*TypedMemViewCaller) LOW96BITSMASK ¶ added in v0.0.37
LOW96BITSMASK is a free data retrieval call binding the contract method 0xb602d173.
Solidity: function LOW_96_BITS_MASK() view returns(uint256)
func (*TypedMemViewCaller) NULL ¶
func (_TypedMemView *TypedMemViewCaller) NULL(opts *bind.CallOpts) ([29]byte, error)
NULL is a free data retrieval call binding the contract method 0xf26be3fc.
Solidity: function NULL() view returns(bytes29)
func (*TypedMemViewCaller) SHIFTLEN ¶ added in v0.0.37
SHIFTLEN is a free data retrieval call binding the contract method 0x1136e7ea.
Solidity: function SHIFT_LEN() view returns(uint256)
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) BITSEMPTY ¶ added in v0.0.37
func (_TypedMemView *TypedMemViewCallerSession) BITSEMPTY() (*big.Int, error)
BITSEMPTY is a free data retrieval call binding the contract method 0x97b8ad4a.
Solidity: function BITS_EMPTY() view returns(uint256)
func (*TypedMemViewCallerSession) BITSLEN ¶ added in v0.0.37
func (_TypedMemView *TypedMemViewCallerSession) BITSLEN() (*big.Int, error)
BITSLEN is a free data retrieval call binding the contract method 0xeb740628.
Solidity: function BITS_LEN() view returns(uint256)
func (*TypedMemViewCallerSession) BITSLOC ¶ added in v0.0.37
func (_TypedMemView *TypedMemViewCallerSession) BITSLOC() (*big.Int, error)
BITSLOC is a free data retrieval call binding the contract method 0xfb734584.
Solidity: function BITS_LOC() view returns(uint256)
func (*TypedMemViewCallerSession) BITSTYPE ¶ added in v0.0.37
func (_TypedMemView *TypedMemViewCallerSession) BITSTYPE() (*big.Int, error)
BITSTYPE is a free data retrieval call binding the contract method 0x10153fce.
Solidity: function BITS_TYPE() view returns(uint256)
func (*TypedMemViewCallerSession) LOW96BITSMASK ¶ added in v0.0.37
func (_TypedMemView *TypedMemViewCallerSession) LOW96BITSMASK() (*big.Int, error)
LOW96BITSMASK is a free data retrieval call binding the contract method 0xb602d173.
Solidity: function LOW_96_BITS_MASK() view returns(uint256)
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)
func (*TypedMemViewCallerSession) SHIFTLEN ¶ added in v0.0.37
func (_TypedMemView *TypedMemViewCallerSession) SHIFTLEN() (*big.Int, error)
SHIFTLEN is a free data retrieval call binding the contract method 0x1136e7ea.
Solidity: function SHIFT_LEN() view returns(uint256)
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) BITSEMPTY ¶ added in v0.0.37
func (_TypedMemView *TypedMemViewSession) BITSEMPTY() (*big.Int, error)
BITSEMPTY is a free data retrieval call binding the contract method 0x97b8ad4a.
Solidity: function BITS_EMPTY() view returns(uint256)
func (*TypedMemViewSession) BITSLEN ¶ added in v0.0.37
func (_TypedMemView *TypedMemViewSession) BITSLEN() (*big.Int, error)
BITSLEN is a free data retrieval call binding the contract method 0xeb740628.
Solidity: function BITS_LEN() view returns(uint256)
func (*TypedMemViewSession) BITSLOC ¶ added in v0.0.37
func (_TypedMemView *TypedMemViewSession) BITSLOC() (*big.Int, error)
BITSLOC is a free data retrieval call binding the contract method 0xfb734584.
Solidity: function BITS_LOC() view returns(uint256)
func (*TypedMemViewSession) BITSTYPE ¶ added in v0.0.37
func (_TypedMemView *TypedMemViewSession) BITSTYPE() (*big.Int, error)
BITSTYPE is a free data retrieval call binding the contract method 0x10153fce.
Solidity: function BITS_TYPE() view returns(uint256)
func (*TypedMemViewSession) LOW96BITSMASK ¶ added in v0.0.37
func (_TypedMemView *TypedMemViewSession) LOW96BITSMASK() (*big.Int, error)
LOW96BITSMASK is a free data retrieval call binding the contract method 0xb602d173.
Solidity: function LOW_96_BITS_MASK() view returns(uint256)
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)
func (*TypedMemViewSession) SHIFTLEN ¶ added in v0.0.37
func (_TypedMemView *TypedMemViewSession) SHIFTLEN() (*big.Int, error)
SHIFTLEN is a free data retrieval call binding the contract method 0x1136e7ea.
Solidity: function SHIFT_LEN() view returns(uint256)
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.