Documentation ¶
Overview ¶
Package tipsharness generates abi data for contract TipsHarness.t.sol
Code generated by synapse abigen DO NOT EDIT.
Index ¶
- Variables
- type SafeCast
- type SafeCastCaller
- type SafeCastCallerRaw
- type SafeCastCallerSession
- type SafeCastFilterer
- type SafeCastRaw
- func (_SafeCast *SafeCastRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_SafeCast *SafeCastRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_SafeCast *SafeCastRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type SafeCastSession
- type SafeCastTransactor
- type SafeCastTransactorRaw
- type SafeCastTransactorSession
- type TipsHarness
- type TipsHarnessCaller
- func (_TipsHarness *TipsHarnessCaller) AttestationTip(opts *bind.CallOpts, paddedTips *big.Int) (uint64, error)
- func (_TipsHarness *TipsHarnessCaller) DeliveryTip(opts *bind.CallOpts, paddedTips *big.Int) (uint64, error)
- func (_TipsHarness *TipsHarnessCaller) EmptyTips(opts *bind.CallOpts) (*big.Int, error)
- func (_TipsHarness *TipsHarnessCaller) EncodeTips(opts *bind.CallOpts, summitTip_ uint64, attestationTip_ uint64, ...) (*big.Int, error)
- func (_TipsHarness *TipsHarnessCaller) EncodeTips256(opts *bind.CallOpts, summitTip_ *big.Int, attestationTip_ *big.Int, ...) (*big.Int, error)
- func (_TipsHarness *TipsHarnessCaller) ExecutionTip(opts *bind.CallOpts, paddedTips *big.Int) (uint64, error)
- func (_TipsHarness *TipsHarnessCaller) Leaf(opts *bind.CallOpts, paddedTips *big.Int) ([32]byte, error)
- func (_TipsHarness *TipsHarnessCaller) MatchValue(opts *bind.CallOpts, tips *big.Int, newValue *big.Int) (*big.Int, error)
- func (_TipsHarness *TipsHarnessCaller) SummitTip(opts *bind.CallOpts, paddedTips *big.Int) (uint64, error)
- func (_TipsHarness *TipsHarnessCaller) Value(opts *bind.CallOpts, paddedTips *big.Int) (*big.Int, error)
- func (_TipsHarness *TipsHarnessCaller) WrapPadded(opts *bind.CallOpts, paddedTips *big.Int) (*big.Int, error)
- type TipsHarnessCallerRaw
- type TipsHarnessCallerSession
- func (_TipsHarness *TipsHarnessCallerSession) AttestationTip(paddedTips *big.Int) (uint64, error)
- func (_TipsHarness *TipsHarnessCallerSession) DeliveryTip(paddedTips *big.Int) (uint64, error)
- func (_TipsHarness *TipsHarnessCallerSession) EmptyTips() (*big.Int, error)
- func (_TipsHarness *TipsHarnessCallerSession) EncodeTips(summitTip_ uint64, attestationTip_ uint64, executionTip_ uint64, ...) (*big.Int, error)
- func (_TipsHarness *TipsHarnessCallerSession) EncodeTips256(summitTip_ *big.Int, attestationTip_ *big.Int, executionTip_ *big.Int, ...) (*big.Int, error)
- func (_TipsHarness *TipsHarnessCallerSession) ExecutionTip(paddedTips *big.Int) (uint64, error)
- func (_TipsHarness *TipsHarnessCallerSession) Leaf(paddedTips *big.Int) ([32]byte, error)
- func (_TipsHarness *TipsHarnessCallerSession) MatchValue(tips *big.Int, newValue *big.Int) (*big.Int, error)
- func (_TipsHarness *TipsHarnessCallerSession) SummitTip(paddedTips *big.Int) (uint64, error)
- func (_TipsHarness *TipsHarnessCallerSession) Value(paddedTips *big.Int) (*big.Int, error)
- func (_TipsHarness *TipsHarnessCallerSession) WrapPadded(paddedTips *big.Int) (*big.Int, error)
- type TipsHarnessFilterer
- type TipsHarnessRaw
- func (_TipsHarness *TipsHarnessRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_TipsHarness *TipsHarnessRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_TipsHarness *TipsHarnessRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type TipsHarnessRef
- type TipsHarnessSession
- func (_TipsHarness *TipsHarnessSession) AttestationTip(paddedTips *big.Int) (uint64, error)
- func (_TipsHarness *TipsHarnessSession) DeliveryTip(paddedTips *big.Int) (uint64, error)
- func (_TipsHarness *TipsHarnessSession) EmptyTips() (*big.Int, error)
- func (_TipsHarness *TipsHarnessSession) EncodeTips(summitTip_ uint64, attestationTip_ uint64, executionTip_ uint64, ...) (*big.Int, error)
- func (_TipsHarness *TipsHarnessSession) EncodeTips256(summitTip_ *big.Int, attestationTip_ *big.Int, executionTip_ *big.Int, ...) (*big.Int, error)
- func (_TipsHarness *TipsHarnessSession) ExecutionTip(paddedTips *big.Int) (uint64, error)
- func (_TipsHarness *TipsHarnessSession) Leaf(paddedTips *big.Int) ([32]byte, error)
- func (_TipsHarness *TipsHarnessSession) MatchValue(tips *big.Int, newValue *big.Int) (*big.Int, error)
- func (_TipsHarness *TipsHarnessSession) SummitTip(paddedTips *big.Int) (uint64, error)
- func (_TipsHarness *TipsHarnessSession) Value(paddedTips *big.Int) (*big.Int, error)
- func (_TipsHarness *TipsHarnessSession) WrapPadded(paddedTips *big.Int) (*big.Int, error)
- type TipsHarnessTransactor
- type TipsHarnessTransactorRaw
- type TipsHarnessTransactorSession
- type TipsLib
- type TipsLibCaller
- type TipsLibCallerRaw
- type TipsLibCallerSession
- type TipsLibFilterer
- type TipsLibRaw
- func (_TipsLib *TipsLibRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_TipsLib *TipsLibRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_TipsLib *TipsLibRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type TipsLibSession
- type TipsLibTransactor
- type TipsLibTransactorRaw
- type TipsLibTransactorSession
Constants ¶
This section is empty.
Variables ¶
var Contracts map[string]*compiler.Contract
Contracts are unmarshalled on start
var SafeCastABI = SafeCastMetaData.ABI
SafeCastABI is the input ABI used to generate the binding from. Deprecated: Use SafeCastMetaData.ABI instead.
var SafeCastBin = SafeCastMetaData.Bin
SafeCastBin is the compiled bytecode used for deploying new contracts. Deprecated: Use SafeCastMetaData.Bin instead.
var SafeCastMetaData = &bind.MetaData{
ABI: "[]",
Bin: "0x60566037600b82828239805160001a607314602a57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea26469706673582212203867aadfc35fe89700b0955ff2bdbdb6b4d2f69a769de3ba815fe875e0794e6264736f6c63430008110033",
}
SafeCastMetaData contains all meta data concerning the SafeCast contract.
var TipsHarnessABI = TipsHarnessMetaData.ABI
TipsHarnessABI is the input ABI used to generate the binding from. Deprecated: Use TipsHarnessMetaData.ABI instead.
var TipsHarnessBin = TipsHarnessMetaData.Bin
TipsHarnessBin is the compiled bytecode used for deploying new contracts. Deprecated: Use TipsHarnessMetaData.Bin instead.
var TipsHarnessFuncSigs = TipsHarnessMetaData.Sigs
Deprecated: Use TipsHarnessMetaData.Sigs instead. TipsHarnessFuncSigs maps the 4-byte function signature to its string representation.
var TipsHarnessMetaData = &bind.MetaData{ ABI: "[{\"inputs\":[],\"name\":\"TipsOverflow\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"TipsValueTooLow\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"paddedTips\",\"type\":\"uint256\"}],\"name\":\"attestationTip\",\"outputs\":[{\"internalType\":\"uint64\",\"name\":\"\",\"type\":\"uint64\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"paddedTips\",\"type\":\"uint256\"}],\"name\":\"deliveryTip\",\"outputs\":[{\"internalType\":\"uint64\",\"name\":\"\",\"type\":\"uint64\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"emptyTips\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint64\",\"name\":\"summitTip_\",\"type\":\"uint64\"},{\"internalType\":\"uint64\",\"name\":\"attestationTip_\",\"type\":\"uint64\"},{\"internalType\":\"uint64\",\"name\":\"executionTip_\",\"type\":\"uint64\"},{\"internalType\":\"uint64\",\"name\":\"deliveryTip_\",\"type\":\"uint64\"}],\"name\":\"encodeTips\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"summitTip_\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"attestationTip_\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"executionTip_\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"deliveryTip_\",\"type\":\"uint256\"}],\"name\":\"encodeTips256\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"paddedTips\",\"type\":\"uint256\"}],\"name\":\"executionTip\",\"outputs\":[{\"internalType\":\"uint64\",\"name\":\"\",\"type\":\"uint64\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"paddedTips\",\"type\":\"uint256\"}],\"name\":\"leaf\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"Tips\",\"name\":\"tips\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"newValue\",\"type\":\"uint256\"}],\"name\":\"matchValue\",\"outputs\":[{\"internalType\":\"Tips\",\"name\":\"newTips\",\"type\":\"uint256\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"paddedTips\",\"type\":\"uint256\"}],\"name\":\"summitTip\",\"outputs\":[{\"internalType\":\"uint64\",\"name\":\"\",\"type\":\"uint64\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"paddedTips\",\"type\":\"uint256\"}],\"name\":\"value\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"paddedTips\",\"type\":\"uint256\"}],\"name\":\"wrapPadded\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"pure\",\"type\":\"function\"}]", Sigs: map[string]string{ "0453e80e": "attestationTip(uint256)", "ecbf034e": "deliveryTip(uint256)", "725bd463": "emptyTips()", "4f2a6f9e": "encodeTips(uint64,uint64,uint64,uint64)", "72d3f3cd": "encodeTips256(uint256,uint256,uint256,uint256)", "4c63c701": "executionTip(uint256)", "f472a58a": "leaf(uint256)", "86450b88": "matchValue(uint256,uint256)", "b284b609": "summitTip(uint256)", "c5a46ee6": "value(uint256)", "138ac42f": "wrapPadded(uint256)", }, Bin: "0x608060405234801561001057600080fd5b50610666806100206000396000f3fe608060405234801561001057600080fd5b50600436106100c95760003560e01c806372d3f3cd11610081578063c5a46ee61161005b578063c5a46ee614610187578063ecbf034e1461019a578063f472a58a146101a857600080fd5b806372d3f3cd1461014e57806386450b8814610161578063b284b6091461017457600080fd5b80634c63c701116100b25780634c63c701146101205780634f2a6f9e14610133578063725bd4631461014657600080fd5b80630453e80e146100ce578063138ac42f146100ff575b600080fd5b6100e16100dc366004610518565b6101bb565b60405167ffffffffffffffff90911681526020015b60405180910390f35b61011261010d366004610518565b6101cd565b6040519081526020016100f6565b6100e161012e366004610518565b6101d5565b61011261014136600461054e565b6101e1565b61011261025a565b61011261015c3660046105a2565b610263565b61011261016f3660046105d4565b610272565b6100e1610182366004610518565b610285565b610112610195366004610518565b610291565b6100e161010d366004610518565b6101126101b6366004610518565b61029c565b60006101c78260801c90565b92915050565b6000816101c7565b60006101c78260401c90565b60008067ffffffffffffffff8316604085901b6fffffffffffffffff000000000000000016608087901b77ffffffffffffffff000000000000000000000000000000001660c089901b7fffffffffffffffff000000000000000000000000000000000000000000000000161717175b9695505050505050565b600080806101c7565b600080610250868686866102aa565b600061027e838361035f565b9392505050565b60006101c78260c01c90565b60006101c782610406565b6000818152602081206101c7565b60006103566102bc602087901c610476565b6102c9602087901c610476565b6102d6602087901c610476565b6102e3602087901c610476565b7fffffffffffffffff00000000000000000000000000000000000000000000000060c085901b1677ffffffffffffffff00000000000000000000000000000000608085901b16176fffffffffffffffff0000000000000000604084901b161767ffffffffffffffff821617949350505050565b95945050505050565b60008061036b84610406565b9050808310156103a7576040517f429726c100000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80830360201c67ffffffffffffffff8567ffffffffffffffff16820111156103fb576040517f1b438b3300000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b939093019392505050565b60008167ffffffffffffffff1661041d8360401c90565b67ffffffffffffffff166104318460801c90565b67ffffffffffffffff166104458560c01c90565b67ffffffffffffffff1661045991906105f6565b61046391906105f6565b61046d91906105f6565b60201b92915050565b600067ffffffffffffffff821115610514576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f53616665436173743a2076616c756520646f65736e27742066697420696e203660448201527f3420626974730000000000000000000000000000000000000000000000000000606482015260840160405180910390fd5b5090565b60006020828403121561052a57600080fd5b5035919050565b803567ffffffffffffffff8116811461054957600080fd5b919050565b6000806000806080858703121561056457600080fd5b61056d85610531565b935061057b60208601610531565b925061058960408601610531565b915061059760608601610531565b905092959194509250565b600080600080608085870312156105b857600080fd5b5050823594602084013594506040840135936060013592509050565b600080604083850312156105e757600080fd5b50508035926020909101359150565b808201808211156101c7577f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fdfea26469706673582212202bf326c68c709828f294151b246eb3e8ef02080fd2ef06a8e55892a74b63cf5264736f6c63430008110033", }
TipsHarnessMetaData contains all meta data concerning the TipsHarness contract.
var TipsLibABI = TipsLibMetaData.ABI
TipsLibABI is the input ABI used to generate the binding from. Deprecated: Use TipsLibMetaData.ABI instead.
var TipsLibBin = TipsLibMetaData.Bin
TipsLibBin is the compiled bytecode used for deploying new contracts. Deprecated: Use TipsLibMetaData.Bin instead.
var TipsLibMetaData = &bind.MetaData{
ABI: "[]",
Bin: "0x60566037600b82828239805160001a607314602a57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea264697066735822122008f5e87fb7a7cba5585883a960a4e253f652c00a3c8bccf5415069ea7af73b5564736f6c63430008110033",
}
TipsLibMetaData contains all meta data concerning the TipsLib contract.
Functions ¶
This section is empty.
Types ¶
type SafeCast ¶ added in v0.1.0
type SafeCast struct { SafeCastCaller // Read-only binding to the contract SafeCastTransactor // Write-only binding to the contract SafeCastFilterer // Log filterer for contract events }
SafeCast is an auto generated Go binding around an Ethereum contract.
func DeploySafeCast ¶ added in v0.1.0
func DeploySafeCast(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *SafeCast, error)
DeploySafeCast deploys a new Ethereum contract, binding an instance of SafeCast to it.
func NewSafeCast ¶ added in v0.1.0
NewSafeCast creates a new instance of SafeCast, bound to a specific deployed contract.
type SafeCastCaller ¶ added in v0.1.0
type SafeCastCaller struct {
// contains filtered or unexported fields
}
SafeCastCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewSafeCastCaller ¶ added in v0.1.0
func NewSafeCastCaller(address common.Address, caller bind.ContractCaller) (*SafeCastCaller, error)
NewSafeCastCaller creates a new read-only instance of SafeCast, bound to a specific deployed contract.
type SafeCastCallerRaw ¶ added in v0.1.0
type SafeCastCallerRaw struct {
Contract *SafeCastCaller // Generic read-only contract binding to access the raw methods on
}
SafeCastCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*SafeCastCallerRaw) Call ¶ added in v0.1.0
func (_SafeCast *SafeCastCallerRaw) 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 SafeCastCallerSession ¶ added in v0.1.0
type SafeCastCallerSession struct { Contract *SafeCastCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
SafeCastCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
type SafeCastFilterer ¶ added in v0.1.0
type SafeCastFilterer struct {
// contains filtered or unexported fields
}
SafeCastFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewSafeCastFilterer ¶ added in v0.1.0
func NewSafeCastFilterer(address common.Address, filterer bind.ContractFilterer) (*SafeCastFilterer, error)
NewSafeCastFilterer creates a new log filterer instance of SafeCast, bound to a specific deployed contract.
type SafeCastRaw ¶ added in v0.1.0
type SafeCastRaw struct {
Contract *SafeCast // Generic contract binding to access the raw methods on
}
SafeCastRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*SafeCastRaw) Call ¶ added in v0.1.0
func (_SafeCast *SafeCastRaw) 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 (*SafeCastRaw) Transact ¶ added in v0.1.0
func (_SafeCast *SafeCastRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*SafeCastRaw) Transfer ¶ added in v0.1.0
func (_SafeCast *SafeCastRaw) 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 SafeCastSession ¶ added in v0.1.0
type SafeCastSession struct { Contract *SafeCast // 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 }
SafeCastSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
type SafeCastTransactor ¶ added in v0.1.0
type SafeCastTransactor struct {
// contains filtered or unexported fields
}
SafeCastTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewSafeCastTransactor ¶ added in v0.1.0
func NewSafeCastTransactor(address common.Address, transactor bind.ContractTransactor) (*SafeCastTransactor, error)
NewSafeCastTransactor creates a new write-only instance of SafeCast, bound to a specific deployed contract.
type SafeCastTransactorRaw ¶ added in v0.1.0
type SafeCastTransactorRaw struct {
Contract *SafeCastTransactor // Generic write-only contract binding to access the raw methods on
}
SafeCastTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*SafeCastTransactorRaw) Transact ¶ added in v0.1.0
func (_SafeCast *SafeCastTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*SafeCastTransactorRaw) Transfer ¶ added in v0.1.0
func (_SafeCast *SafeCastTransactorRaw) 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 SafeCastTransactorSession ¶ added in v0.1.0
type SafeCastTransactorSession struct { Contract *SafeCastTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
SafeCastTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
type TipsHarness ¶
type TipsHarness struct { TipsHarnessCaller // Read-only binding to the contract TipsHarnessTransactor // Write-only binding to the contract TipsHarnessFilterer // Log filterer for contract events }
TipsHarness is an auto generated Go binding around an Ethereum contract.
func DeployTipsHarness ¶
func DeployTipsHarness(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *TipsHarness, error)
DeployTipsHarness deploys a new Ethereum contract, binding an instance of TipsHarness to it.
func NewTipsHarness ¶
func NewTipsHarness(address common.Address, backend bind.ContractBackend) (*TipsHarness, error)
NewTipsHarness creates a new instance of TipsHarness, bound to a specific deployed contract.
type TipsHarnessCaller ¶
type TipsHarnessCaller struct {
// contains filtered or unexported fields
}
TipsHarnessCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewTipsHarnessCaller ¶
func NewTipsHarnessCaller(address common.Address, caller bind.ContractCaller) (*TipsHarnessCaller, error)
NewTipsHarnessCaller creates a new read-only instance of TipsHarness, bound to a specific deployed contract.
func (*TipsHarnessCaller) AttestationTip ¶ added in v0.0.171
func (_TipsHarness *TipsHarnessCaller) AttestationTip(opts *bind.CallOpts, paddedTips *big.Int) (uint64, error)
AttestationTip is a free data retrieval call binding the contract method 0x0453e80e.
Solidity: function attestationTip(uint256 paddedTips) pure returns(uint64)
func (*TipsHarnessCaller) DeliveryTip ¶ added in v0.0.171
func (_TipsHarness *TipsHarnessCaller) DeliveryTip(opts *bind.CallOpts, paddedTips *big.Int) (uint64, error)
DeliveryTip is a free data retrieval call binding the contract method 0xecbf034e.
Solidity: function deliveryTip(uint256 paddedTips) pure returns(uint64)
func (*TipsHarnessCaller) EmptyTips ¶
EmptyTips is a free data retrieval call binding the contract method 0x725bd463.
Solidity: function emptyTips() pure returns(uint256)
func (*TipsHarnessCaller) EncodeTips ¶ added in v0.0.171
func (_TipsHarness *TipsHarnessCaller) EncodeTips(opts *bind.CallOpts, summitTip_ uint64, attestationTip_ uint64, executionTip_ uint64, deliveryTip_ uint64) (*big.Int, error)
EncodeTips is a free data retrieval call binding the contract method 0x4f2a6f9e.
Solidity: function encodeTips(uint64 summitTip_, uint64 attestationTip_, uint64 executionTip_, uint64 deliveryTip_) pure returns(uint256)
func (*TipsHarnessCaller) EncodeTips256 ¶ added in v0.0.171
func (_TipsHarness *TipsHarnessCaller) EncodeTips256(opts *bind.CallOpts, summitTip_ *big.Int, attestationTip_ *big.Int, executionTip_ *big.Int, deliveryTip_ *big.Int) (*big.Int, error)
EncodeTips256 is a free data retrieval call binding the contract method 0x72d3f3cd.
Solidity: function encodeTips256(uint256 summitTip_, uint256 attestationTip_, uint256 executionTip_, uint256 deliveryTip_) pure returns(uint256)
func (*TipsHarnessCaller) ExecutionTip ¶ added in v0.0.171
func (_TipsHarness *TipsHarnessCaller) ExecutionTip(opts *bind.CallOpts, paddedTips *big.Int) (uint64, error)
ExecutionTip is a free data retrieval call binding the contract method 0x4c63c701.
Solidity: function executionTip(uint256 paddedTips) pure returns(uint64)
func (*TipsHarnessCaller) Leaf ¶ added in v0.0.171
func (_TipsHarness *TipsHarnessCaller) Leaf(opts *bind.CallOpts, paddedTips *big.Int) ([32]byte, error)
Leaf is a free data retrieval call binding the contract method 0xf472a58a.
Solidity: function leaf(uint256 paddedTips) pure returns(bytes32)
func (*TipsHarnessCaller) MatchValue ¶ added in v0.0.171
func (_TipsHarness *TipsHarnessCaller) MatchValue(opts *bind.CallOpts, tips *big.Int, newValue *big.Int) (*big.Int, error)
MatchValue is a free data retrieval call binding the contract method 0x86450b88.
Solidity: function matchValue(uint256 tips, uint256 newValue) pure returns(uint256 newTips)
func (*TipsHarnessCaller) SummitTip ¶ added in v0.0.171
func (_TipsHarness *TipsHarnessCaller) SummitTip(opts *bind.CallOpts, paddedTips *big.Int) (uint64, error)
SummitTip is a free data retrieval call binding the contract method 0xb284b609.
Solidity: function summitTip(uint256 paddedTips) pure returns(uint64)
func (*TipsHarnessCaller) Value ¶ added in v0.0.171
func (_TipsHarness *TipsHarnessCaller) Value(opts *bind.CallOpts, paddedTips *big.Int) (*big.Int, error)
Value is a free data retrieval call binding the contract method 0xc5a46ee6.
Solidity: function value(uint256 paddedTips) pure returns(uint256)
func (*TipsHarnessCaller) WrapPadded ¶ added in v0.0.171
func (_TipsHarness *TipsHarnessCaller) WrapPadded(opts *bind.CallOpts, paddedTips *big.Int) (*big.Int, error)
WrapPadded is a free data retrieval call binding the contract method 0x138ac42f.
Solidity: function wrapPadded(uint256 paddedTips) pure returns(uint256)
type TipsHarnessCallerRaw ¶
type TipsHarnessCallerRaw struct {
Contract *TipsHarnessCaller // Generic read-only contract binding to access the raw methods on
}
TipsHarnessCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*TipsHarnessCallerRaw) Call ¶
func (_TipsHarness *TipsHarnessCallerRaw) 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 TipsHarnessCallerSession ¶
type TipsHarnessCallerSession struct { Contract *TipsHarnessCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
TipsHarnessCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*TipsHarnessCallerSession) AttestationTip ¶ added in v0.0.171
func (_TipsHarness *TipsHarnessCallerSession) AttestationTip(paddedTips *big.Int) (uint64, error)
AttestationTip is a free data retrieval call binding the contract method 0x0453e80e.
Solidity: function attestationTip(uint256 paddedTips) pure returns(uint64)
func (*TipsHarnessCallerSession) DeliveryTip ¶ added in v0.0.171
func (_TipsHarness *TipsHarnessCallerSession) DeliveryTip(paddedTips *big.Int) (uint64, error)
DeliveryTip is a free data retrieval call binding the contract method 0xecbf034e.
Solidity: function deliveryTip(uint256 paddedTips) pure returns(uint64)
func (*TipsHarnessCallerSession) EmptyTips ¶
func (_TipsHarness *TipsHarnessCallerSession) EmptyTips() (*big.Int, error)
EmptyTips is a free data retrieval call binding the contract method 0x725bd463.
Solidity: function emptyTips() pure returns(uint256)
func (*TipsHarnessCallerSession) EncodeTips ¶ added in v0.0.171
func (_TipsHarness *TipsHarnessCallerSession) EncodeTips(summitTip_ uint64, attestationTip_ uint64, executionTip_ uint64, deliveryTip_ uint64) (*big.Int, error)
EncodeTips is a free data retrieval call binding the contract method 0x4f2a6f9e.
Solidity: function encodeTips(uint64 summitTip_, uint64 attestationTip_, uint64 executionTip_, uint64 deliveryTip_) pure returns(uint256)
func (*TipsHarnessCallerSession) EncodeTips256 ¶ added in v0.0.171
func (_TipsHarness *TipsHarnessCallerSession) EncodeTips256(summitTip_ *big.Int, attestationTip_ *big.Int, executionTip_ *big.Int, deliveryTip_ *big.Int) (*big.Int, error)
EncodeTips256 is a free data retrieval call binding the contract method 0x72d3f3cd.
Solidity: function encodeTips256(uint256 summitTip_, uint256 attestationTip_, uint256 executionTip_, uint256 deliveryTip_) pure returns(uint256)
func (*TipsHarnessCallerSession) ExecutionTip ¶ added in v0.0.171
func (_TipsHarness *TipsHarnessCallerSession) ExecutionTip(paddedTips *big.Int) (uint64, error)
ExecutionTip is a free data retrieval call binding the contract method 0x4c63c701.
Solidity: function executionTip(uint256 paddedTips) pure returns(uint64)
func (*TipsHarnessCallerSession) Leaf ¶ added in v0.0.171
func (_TipsHarness *TipsHarnessCallerSession) Leaf(paddedTips *big.Int) ([32]byte, error)
Leaf is a free data retrieval call binding the contract method 0xf472a58a.
Solidity: function leaf(uint256 paddedTips) pure returns(bytes32)
func (*TipsHarnessCallerSession) MatchValue ¶ added in v0.0.171
func (_TipsHarness *TipsHarnessCallerSession) MatchValue(tips *big.Int, newValue *big.Int) (*big.Int, error)
MatchValue is a free data retrieval call binding the contract method 0x86450b88.
Solidity: function matchValue(uint256 tips, uint256 newValue) pure returns(uint256 newTips)
func (*TipsHarnessCallerSession) SummitTip ¶ added in v0.0.171
func (_TipsHarness *TipsHarnessCallerSession) SummitTip(paddedTips *big.Int) (uint64, error)
SummitTip is a free data retrieval call binding the contract method 0xb284b609.
Solidity: function summitTip(uint256 paddedTips) pure returns(uint64)
func (*TipsHarnessCallerSession) Value ¶ added in v0.0.171
Value is a free data retrieval call binding the contract method 0xc5a46ee6.
Solidity: function value(uint256 paddedTips) pure returns(uint256)
func (*TipsHarnessCallerSession) WrapPadded ¶ added in v0.0.171
WrapPadded is a free data retrieval call binding the contract method 0x138ac42f.
Solidity: function wrapPadded(uint256 paddedTips) pure returns(uint256)
type TipsHarnessFilterer ¶
type TipsHarnessFilterer struct {
// contains filtered or unexported fields
}
TipsHarnessFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewTipsHarnessFilterer ¶
func NewTipsHarnessFilterer(address common.Address, filterer bind.ContractFilterer) (*TipsHarnessFilterer, error)
NewTipsHarnessFilterer creates a new log filterer instance of TipsHarness, bound to a specific deployed contract.
type TipsHarnessRaw ¶
type TipsHarnessRaw struct {
Contract *TipsHarness // Generic contract binding to access the raw methods on
}
TipsHarnessRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*TipsHarnessRaw) Call ¶
func (_TipsHarness *TipsHarnessRaw) 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 (*TipsHarnessRaw) Transact ¶
func (_TipsHarness *TipsHarnessRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*TipsHarnessRaw) Transfer ¶
func (_TipsHarness *TipsHarnessRaw) 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 TipsHarnessRef ¶
type TipsHarnessRef struct { *TipsHarness // contains filtered or unexported fields }
TipsHarnessRef is a tips harness reference
func NewTipsHarnessRef ¶
func NewTipsHarnessRef(address common.Address, backend bind.ContractBackend) (*TipsHarnessRef, error)
NewTipsHarnessRef creates a new tips harness.
func (TipsHarnessRef) Address ¶
func (h TipsHarnessRef) Address() common.Address
Address gets the address of the contract.
type TipsHarnessSession ¶
type TipsHarnessSession struct { Contract *TipsHarness // 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 }
TipsHarnessSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*TipsHarnessSession) AttestationTip ¶ added in v0.0.171
func (_TipsHarness *TipsHarnessSession) AttestationTip(paddedTips *big.Int) (uint64, error)
AttestationTip is a free data retrieval call binding the contract method 0x0453e80e.
Solidity: function attestationTip(uint256 paddedTips) pure returns(uint64)
func (*TipsHarnessSession) DeliveryTip ¶ added in v0.0.171
func (_TipsHarness *TipsHarnessSession) DeliveryTip(paddedTips *big.Int) (uint64, error)
DeliveryTip is a free data retrieval call binding the contract method 0xecbf034e.
Solidity: function deliveryTip(uint256 paddedTips) pure returns(uint64)
func (*TipsHarnessSession) EmptyTips ¶
func (_TipsHarness *TipsHarnessSession) EmptyTips() (*big.Int, error)
EmptyTips is a free data retrieval call binding the contract method 0x725bd463.
Solidity: function emptyTips() pure returns(uint256)
func (*TipsHarnessSession) EncodeTips ¶ added in v0.0.171
func (_TipsHarness *TipsHarnessSession) EncodeTips(summitTip_ uint64, attestationTip_ uint64, executionTip_ uint64, deliveryTip_ uint64) (*big.Int, error)
EncodeTips is a free data retrieval call binding the contract method 0x4f2a6f9e.
Solidity: function encodeTips(uint64 summitTip_, uint64 attestationTip_, uint64 executionTip_, uint64 deliveryTip_) pure returns(uint256)
func (*TipsHarnessSession) EncodeTips256 ¶ added in v0.0.171
func (_TipsHarness *TipsHarnessSession) EncodeTips256(summitTip_ *big.Int, attestationTip_ *big.Int, executionTip_ *big.Int, deliveryTip_ *big.Int) (*big.Int, error)
EncodeTips256 is a free data retrieval call binding the contract method 0x72d3f3cd.
Solidity: function encodeTips256(uint256 summitTip_, uint256 attestationTip_, uint256 executionTip_, uint256 deliveryTip_) pure returns(uint256)
func (*TipsHarnessSession) ExecutionTip ¶ added in v0.0.171
func (_TipsHarness *TipsHarnessSession) ExecutionTip(paddedTips *big.Int) (uint64, error)
ExecutionTip is a free data retrieval call binding the contract method 0x4c63c701.
Solidity: function executionTip(uint256 paddedTips) pure returns(uint64)
func (*TipsHarnessSession) Leaf ¶ added in v0.0.171
func (_TipsHarness *TipsHarnessSession) Leaf(paddedTips *big.Int) ([32]byte, error)
Leaf is a free data retrieval call binding the contract method 0xf472a58a.
Solidity: function leaf(uint256 paddedTips) pure returns(bytes32)
func (*TipsHarnessSession) MatchValue ¶ added in v0.0.171
func (_TipsHarness *TipsHarnessSession) MatchValue(tips *big.Int, newValue *big.Int) (*big.Int, error)
MatchValue is a free data retrieval call binding the contract method 0x86450b88.
Solidity: function matchValue(uint256 tips, uint256 newValue) pure returns(uint256 newTips)
func (*TipsHarnessSession) SummitTip ¶ added in v0.0.171
func (_TipsHarness *TipsHarnessSession) SummitTip(paddedTips *big.Int) (uint64, error)
SummitTip is a free data retrieval call binding the contract method 0xb284b609.
Solidity: function summitTip(uint256 paddedTips) pure returns(uint64)
func (*TipsHarnessSession) Value ¶ added in v0.0.171
Value is a free data retrieval call binding the contract method 0xc5a46ee6.
Solidity: function value(uint256 paddedTips) pure returns(uint256)
func (*TipsHarnessSession) WrapPadded ¶ added in v0.0.171
WrapPadded is a free data retrieval call binding the contract method 0x138ac42f.
Solidity: function wrapPadded(uint256 paddedTips) pure returns(uint256)
type TipsHarnessTransactor ¶
type TipsHarnessTransactor struct {
// contains filtered or unexported fields
}
TipsHarnessTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewTipsHarnessTransactor ¶
func NewTipsHarnessTransactor(address common.Address, transactor bind.ContractTransactor) (*TipsHarnessTransactor, error)
NewTipsHarnessTransactor creates a new write-only instance of TipsHarness, bound to a specific deployed contract.
type TipsHarnessTransactorRaw ¶
type TipsHarnessTransactorRaw struct {
Contract *TipsHarnessTransactor // Generic write-only contract binding to access the raw methods on
}
TipsHarnessTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*TipsHarnessTransactorRaw) Transact ¶
func (_TipsHarness *TipsHarnessTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*TipsHarnessTransactorRaw) Transfer ¶
func (_TipsHarness *TipsHarnessTransactorRaw) 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 TipsHarnessTransactorSession ¶
type TipsHarnessTransactorSession struct { Contract *TipsHarnessTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
TipsHarnessTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
type TipsLib ¶ added in v0.0.130
type TipsLib struct { TipsLibCaller // Read-only binding to the contract TipsLibTransactor // Write-only binding to the contract TipsLibFilterer // Log filterer for contract events }
TipsLib is an auto generated Go binding around an Ethereum contract.
func DeployTipsLib ¶ added in v0.0.130
func DeployTipsLib(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *TipsLib, error)
DeployTipsLib deploys a new Ethereum contract, binding an instance of TipsLib to it.
func NewTipsLib ¶ added in v0.0.130
NewTipsLib creates a new instance of TipsLib, bound to a specific deployed contract.
type TipsLibCaller ¶ added in v0.0.130
type TipsLibCaller struct {
// contains filtered or unexported fields
}
TipsLibCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewTipsLibCaller ¶ added in v0.0.130
func NewTipsLibCaller(address common.Address, caller bind.ContractCaller) (*TipsLibCaller, error)
NewTipsLibCaller creates a new read-only instance of TipsLib, bound to a specific deployed contract.
type TipsLibCallerRaw ¶ added in v0.0.130
type TipsLibCallerRaw struct {
Contract *TipsLibCaller // Generic read-only contract binding to access the raw methods on
}
TipsLibCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*TipsLibCallerRaw) Call ¶ added in v0.0.130
func (_TipsLib *TipsLibCallerRaw) 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 TipsLibCallerSession ¶ added in v0.0.130
type TipsLibCallerSession struct { Contract *TipsLibCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
TipsLibCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
type TipsLibFilterer ¶ added in v0.0.130
type TipsLibFilterer struct {
// contains filtered or unexported fields
}
TipsLibFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewTipsLibFilterer ¶ added in v0.0.130
func NewTipsLibFilterer(address common.Address, filterer bind.ContractFilterer) (*TipsLibFilterer, error)
NewTipsLibFilterer creates a new log filterer instance of TipsLib, bound to a specific deployed contract.
type TipsLibRaw ¶ added in v0.0.130
type TipsLibRaw struct {
Contract *TipsLib // Generic contract binding to access the raw methods on
}
TipsLibRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*TipsLibRaw) Call ¶ added in v0.0.130
func (_TipsLib *TipsLibRaw) 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 (*TipsLibRaw) Transact ¶ added in v0.0.130
func (_TipsLib *TipsLibRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*TipsLibRaw) Transfer ¶ added in v0.0.130
func (_TipsLib *TipsLibRaw) 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 TipsLibSession ¶ added in v0.0.130
type TipsLibSession struct { Contract *TipsLib // 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 }
TipsLibSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
type TipsLibTransactor ¶ added in v0.0.130
type TipsLibTransactor struct {
// contains filtered or unexported fields
}
TipsLibTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewTipsLibTransactor ¶ added in v0.0.130
func NewTipsLibTransactor(address common.Address, transactor bind.ContractTransactor) (*TipsLibTransactor, error)
NewTipsLibTransactor creates a new write-only instance of TipsLib, bound to a specific deployed contract.
type TipsLibTransactorRaw ¶ added in v0.0.130
type TipsLibTransactorRaw struct {
Contract *TipsLibTransactor // Generic write-only contract binding to access the raw methods on
}
TipsLibTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*TipsLibTransactorRaw) Transact ¶ added in v0.0.130
func (_TipsLib *TipsLibTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*TipsLibTransactorRaw) Transfer ¶ added in v0.0.130
func (_TipsLib *TipsLibTransactorRaw) 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 TipsLibTransactorSession ¶ added in v0.0.130
type TipsLibTransactorSession struct { Contract *TipsLibTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
TipsLibTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.