requestharness

package
v0.0.253 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 2, 2023 License: MIT Imports: 14 Imported by: 0

Documentation

Overview

Package requestharness generates abi data for contract RequestHarness.t.sol

Code generated by synapse abigen DO NOT EDIT.

Index

Constants

This section is empty.

Variables

View Source
var Contracts map[string]*compiler.Contract

Contracts are unmarshalled on start

View Source
var RequestHarnessABI = RequestHarnessMetaData.ABI

RequestHarnessABI is the input ABI used to generate the binding from. Deprecated: Use RequestHarnessMetaData.ABI instead.

View Source
var RequestHarnessBin = RequestHarnessMetaData.Bin

RequestHarnessBin is the compiled bytecode used for deploying new contracts. Deprecated: Use RequestHarnessMetaData.Bin instead.

View Source
var RequestHarnessFuncSigs = RequestHarnessMetaData.Sigs

Deprecated: Use RequestHarnessMetaData.Sigs instead. RequestHarnessFuncSigs maps the 4-byte function signature to its string representation.

View Source
var RequestHarnessMetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[{\"internalType\":\"uint96\",\"name\":\"gasDrop_\",\"type\":\"uint96\"},{\"internalType\":\"uint64\",\"name\":\"gasLimit_\",\"type\":\"uint64\"},{\"internalType\":\"uint32\",\"name\":\"version_\",\"type\":\"uint32\"}],\"name\":\"encodeRequest\",\"outputs\":[{\"internalType\":\"uint192\",\"name\":\"\",\"type\":\"uint192\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"paddedRequest\",\"type\":\"uint256\"}],\"name\":\"gasDrop\",\"outputs\":[{\"internalType\":\"uint96\",\"name\":\"\",\"type\":\"uint96\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"paddedRequest\",\"type\":\"uint256\"}],\"name\":\"gasLimit\",\"outputs\":[{\"internalType\":\"uint64\",\"name\":\"\",\"type\":\"uint64\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"paddedRequest\",\"type\":\"uint256\"}],\"name\":\"version\",\"outputs\":[{\"internalType\":\"uint32\",\"name\":\"\",\"type\":\"uint32\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"paddedRequest\",\"type\":\"uint256\"}],\"name\":\"wrapPadded\",\"outputs\":[{\"internalType\":\"uint192\",\"name\":\"\",\"type\":\"uint192\"}],\"stateMutability\":\"pure\",\"type\":\"function\"}]",
	Sigs: map[string]string{
		"57c3882b": "encodeRequest(uint96,uint64,uint32)",
		"b057c8c1": "gasDrop(uint256)",
		"ce296026": "gasLimit(uint256)",
		"d3cbde31": "version(uint256)",
		"138ac42f": "wrapPadded(uint256)",
	},
	Bin: "0x608060405234801561001057600080fd5b506102af806100206000396000f3fe608060405234801561001057600080fd5b50600436106100675760003560e01c8063b057c8c111610050578063b057c8c114610102578063ce29602614610132578063d3cbde311461015e57600080fd5b8063138ac42f1461006c57806357c3882b146100ad575b600080fd5b61007f61007a3660046101ee565b610186565b60405177ffffffffffffffffffffffffffffffffffffffffffffffff90911681526020015b60405180910390f35b61007f6100bb366004610207565b60008063ffffffff8316602085901b6bffffffffffffffff0000000016606087901b77ffffffffffffffffffffffff00000000000000000000000016171795945050505050565b6101156101103660046101ee565b610190565b6040516bffffffffffffffffffffffff90911681526020016100a4565b6101456101403660046101ee565b6101aa565b60405167ffffffffffffffff90911681526020016100a4565b61017161016c3660046101ee565b6101cc565b60405163ffffffff90911681526020016100a4565b6000815b92915050565b600061018a8260601c6bffffffffffffffffffffffff1690565b600061018a8260201c73ffffffffffffffffffffffffffffffffffffffff1690565b600077ffffffffffffffffffffffffffffffffffffffffffffffff821661018a565b60006020828403121561020057600080fd5b5035919050565b60008060006060848603121561021c57600080fd5b83356bffffffffffffffffffffffff8116811461023857600080fd5b9250602084013567ffffffffffffffff8116811461025557600080fd5b9150604084013563ffffffff8116811461026e57600080fd5b80915050925092509256fea26469706673582212205099a2e13c9386768b85eeb91ff8d1340e418fc08206564efa7cfd8d0e71374064736f6c63430008110033",
}

RequestHarnessMetaData contains all meta data concerning the RequestHarness contract.

View Source
var RequestLibABI = RequestLibMetaData.ABI

RequestLibABI is the input ABI used to generate the binding from. Deprecated: Use RequestLibMetaData.ABI instead.

View Source
var RequestLibBin = RequestLibMetaData.Bin

RequestLibBin is the compiled bytecode used for deploying new contracts. Deprecated: Use RequestLibMetaData.Bin instead.

View Source
var RequestLibMetaData = &bind.MetaData{
	ABI: "[]",
	Bin: "0x60566037600b82828239805160001a607314602a57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea2646970667358221220c92a451cde00fb6c424e2c57049f64e2f89b61e296dbef192e6f5273afd93aac64736f6c63430008110033",
}

RequestLibMetaData contains all meta data concerning the RequestLib contract.

Functions

This section is empty.

Types

type RequestHarness

type RequestHarness struct {
	RequestHarnessCaller     // Read-only binding to the contract
	RequestHarnessTransactor // Write-only binding to the contract
	RequestHarnessFilterer   // Log filterer for contract events
}

RequestHarness is an auto generated Go binding around an Ethereum contract.

func DeployRequestHarness

func DeployRequestHarness(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *RequestHarness, error)

DeployRequestHarness deploys a new Ethereum contract, binding an instance of RequestHarness to it.

func NewRequestHarness

func NewRequestHarness(address common.Address, backend bind.ContractBackend) (*RequestHarness, error)

NewRequestHarness creates a new instance of RequestHarness, bound to a specific deployed contract.

type RequestHarnessCaller

type RequestHarnessCaller struct {
	// contains filtered or unexported fields
}

RequestHarnessCaller is an auto generated read-only Go binding around an Ethereum contract.

func NewRequestHarnessCaller

func NewRequestHarnessCaller(address common.Address, caller bind.ContractCaller) (*RequestHarnessCaller, error)

NewRequestHarnessCaller creates a new read-only instance of RequestHarness, bound to a specific deployed contract.

func (*RequestHarnessCaller) EncodeRequest

func (_RequestHarness *RequestHarnessCaller) EncodeRequest(opts *bind.CallOpts, gasDrop_ *big.Int, gasLimit_ uint64, version_ uint32) (*big.Int, error)

EncodeRequest is a free data retrieval call binding the contract method 0x57c3882b.

Solidity: function encodeRequest(uint96 gasDrop_, uint64 gasLimit_, uint32 version_) pure returns(uint192)

func (*RequestHarnessCaller) GasDrop

func (_RequestHarness *RequestHarnessCaller) GasDrop(opts *bind.CallOpts, paddedRequest *big.Int) (*big.Int, error)

GasDrop is a free data retrieval call binding the contract method 0xb057c8c1.

Solidity: function gasDrop(uint256 paddedRequest) pure returns(uint96)

func (*RequestHarnessCaller) GasLimit

func (_RequestHarness *RequestHarnessCaller) GasLimit(opts *bind.CallOpts, paddedRequest *big.Int) (uint64, error)

GasLimit is a free data retrieval call binding the contract method 0xce296026.

Solidity: function gasLimit(uint256 paddedRequest) pure returns(uint64)

func (*RequestHarnessCaller) Version

func (_RequestHarness *RequestHarnessCaller) Version(opts *bind.CallOpts, paddedRequest *big.Int) (uint32, error)

Version is a free data retrieval call binding the contract method 0xd3cbde31.

Solidity: function version(uint256 paddedRequest) pure returns(uint32)

func (*RequestHarnessCaller) WrapPadded

func (_RequestHarness *RequestHarnessCaller) WrapPadded(opts *bind.CallOpts, paddedRequest *big.Int) (*big.Int, error)

WrapPadded is a free data retrieval call binding the contract method 0x138ac42f.

Solidity: function wrapPadded(uint256 paddedRequest) pure returns(uint192)

type RequestHarnessCallerRaw

type RequestHarnessCallerRaw struct {
	Contract *RequestHarnessCaller // Generic read-only contract binding to access the raw methods on
}

RequestHarnessCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.

func (*RequestHarnessCallerRaw) Call

func (_RequestHarness *RequestHarnessCallerRaw) 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 RequestHarnessCallerSession

type RequestHarnessCallerSession struct {
	Contract *RequestHarnessCaller // Generic contract caller binding to set the session for
	CallOpts bind.CallOpts         // Call options to use throughout this session
}

RequestHarnessCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.

func (*RequestHarnessCallerSession) EncodeRequest

func (_RequestHarness *RequestHarnessCallerSession) EncodeRequest(gasDrop_ *big.Int, gasLimit_ uint64, version_ uint32) (*big.Int, error)

EncodeRequest is a free data retrieval call binding the contract method 0x57c3882b.

Solidity: function encodeRequest(uint96 gasDrop_, uint64 gasLimit_, uint32 version_) pure returns(uint192)

func (*RequestHarnessCallerSession) GasDrop

func (_RequestHarness *RequestHarnessCallerSession) GasDrop(paddedRequest *big.Int) (*big.Int, error)

GasDrop is a free data retrieval call binding the contract method 0xb057c8c1.

Solidity: function gasDrop(uint256 paddedRequest) pure returns(uint96)

func (*RequestHarnessCallerSession) GasLimit

func (_RequestHarness *RequestHarnessCallerSession) GasLimit(paddedRequest *big.Int) (uint64, error)

GasLimit is a free data retrieval call binding the contract method 0xce296026.

Solidity: function gasLimit(uint256 paddedRequest) pure returns(uint64)

func (*RequestHarnessCallerSession) Version

func (_RequestHarness *RequestHarnessCallerSession) Version(paddedRequest *big.Int) (uint32, error)

Version is a free data retrieval call binding the contract method 0xd3cbde31.

Solidity: function version(uint256 paddedRequest) pure returns(uint32)

func (*RequestHarnessCallerSession) WrapPadded

func (_RequestHarness *RequestHarnessCallerSession) WrapPadded(paddedRequest *big.Int) (*big.Int, error)

WrapPadded is a free data retrieval call binding the contract method 0x138ac42f.

Solidity: function wrapPadded(uint256 paddedRequest) pure returns(uint192)

type RequestHarnessFilterer

type RequestHarnessFilterer struct {
	// contains filtered or unexported fields
}

RequestHarnessFilterer is an auto generated log filtering Go binding around an Ethereum contract events.

func NewRequestHarnessFilterer

func NewRequestHarnessFilterer(address common.Address, filterer bind.ContractFilterer) (*RequestHarnessFilterer, error)

NewRequestHarnessFilterer creates a new log filterer instance of RequestHarness, bound to a specific deployed contract.

type RequestHarnessRaw

type RequestHarnessRaw struct {
	Contract *RequestHarness // Generic contract binding to access the raw methods on
}

RequestHarnessRaw is an auto generated low-level Go binding around an Ethereum contract.

func (*RequestHarnessRaw) Call

func (_RequestHarness *RequestHarnessRaw) 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 (*RequestHarnessRaw) Transact

func (_RequestHarness *RequestHarnessRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*RequestHarnessRaw) Transfer

func (_RequestHarness *RequestHarnessRaw) 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 RequestHarnessRef

type RequestHarnessRef struct {
	*RequestHarness
	// contains filtered or unexported fields
}

RequestHarnessRef is a request harness reference

func NewRequestHarnessRef

func NewRequestHarnessRef(address common.Address, backend bind.ContractBackend) (*RequestHarnessRef, error)

NewRequestHarnessRef creates a new request harness bound to a contract.

func (RequestHarnessRef) Address

func (m RequestHarnessRef) Address() common.Address

Address gets the address of the contract.

type RequestHarnessSession

type RequestHarnessSession struct {
	Contract     *RequestHarness   // 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
}

RequestHarnessSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.

func (*RequestHarnessSession) EncodeRequest

func (_RequestHarness *RequestHarnessSession) EncodeRequest(gasDrop_ *big.Int, gasLimit_ uint64, version_ uint32) (*big.Int, error)

EncodeRequest is a free data retrieval call binding the contract method 0x57c3882b.

Solidity: function encodeRequest(uint96 gasDrop_, uint64 gasLimit_, uint32 version_) pure returns(uint192)

func (*RequestHarnessSession) GasDrop

func (_RequestHarness *RequestHarnessSession) GasDrop(paddedRequest *big.Int) (*big.Int, error)

GasDrop is a free data retrieval call binding the contract method 0xb057c8c1.

Solidity: function gasDrop(uint256 paddedRequest) pure returns(uint96)

func (*RequestHarnessSession) GasLimit

func (_RequestHarness *RequestHarnessSession) GasLimit(paddedRequest *big.Int) (uint64, error)

GasLimit is a free data retrieval call binding the contract method 0xce296026.

Solidity: function gasLimit(uint256 paddedRequest) pure returns(uint64)

func (*RequestHarnessSession) Version

func (_RequestHarness *RequestHarnessSession) Version(paddedRequest *big.Int) (uint32, error)

Version is a free data retrieval call binding the contract method 0xd3cbde31.

Solidity: function version(uint256 paddedRequest) pure returns(uint32)

func (*RequestHarnessSession) WrapPadded

func (_RequestHarness *RequestHarnessSession) WrapPadded(paddedRequest *big.Int) (*big.Int, error)

WrapPadded is a free data retrieval call binding the contract method 0x138ac42f.

Solidity: function wrapPadded(uint256 paddedRequest) pure returns(uint192)

type RequestHarnessTransactor

type RequestHarnessTransactor struct {
	// contains filtered or unexported fields
}

RequestHarnessTransactor is an auto generated write-only Go binding around an Ethereum contract.

func NewRequestHarnessTransactor

func NewRequestHarnessTransactor(address common.Address, transactor bind.ContractTransactor) (*RequestHarnessTransactor, error)

NewRequestHarnessTransactor creates a new write-only instance of RequestHarness, bound to a specific deployed contract.

type RequestHarnessTransactorRaw

type RequestHarnessTransactorRaw struct {
	Contract *RequestHarnessTransactor // Generic write-only contract binding to access the raw methods on
}

RequestHarnessTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.

func (*RequestHarnessTransactorRaw) Transact

func (_RequestHarness *RequestHarnessTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*RequestHarnessTransactorRaw) Transfer

func (_RequestHarness *RequestHarnessTransactorRaw) 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 RequestHarnessTransactorSession

type RequestHarnessTransactorSession struct {
	Contract     *RequestHarnessTransactor // Generic contract transactor binding to set the session for
	TransactOpts bind.TransactOpts         // Transaction auth options to use throughout this session
}

RequestHarnessTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.

type RequestLib

type RequestLib struct {
	RequestLibCaller     // Read-only binding to the contract
	RequestLibTransactor // Write-only binding to the contract
	RequestLibFilterer   // Log filterer for contract events
}

RequestLib is an auto generated Go binding around an Ethereum contract.

func DeployRequestLib

func DeployRequestLib(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *RequestLib, error)

DeployRequestLib deploys a new Ethereum contract, binding an instance of RequestLib to it.

func NewRequestLib

func NewRequestLib(address common.Address, backend bind.ContractBackend) (*RequestLib, error)

NewRequestLib creates a new instance of RequestLib, bound to a specific deployed contract.

type RequestLibCaller

type RequestLibCaller struct {
	// contains filtered or unexported fields
}

RequestLibCaller is an auto generated read-only Go binding around an Ethereum contract.

func NewRequestLibCaller

func NewRequestLibCaller(address common.Address, caller bind.ContractCaller) (*RequestLibCaller, error)

NewRequestLibCaller creates a new read-only instance of RequestLib, bound to a specific deployed contract.

type RequestLibCallerRaw

type RequestLibCallerRaw struct {
	Contract *RequestLibCaller // Generic read-only contract binding to access the raw methods on
}

RequestLibCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.

func (*RequestLibCallerRaw) Call

func (_RequestLib *RequestLibCallerRaw) 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 RequestLibCallerSession

type RequestLibCallerSession struct {
	Contract *RequestLibCaller // Generic contract caller binding to set the session for
	CallOpts bind.CallOpts     // Call options to use throughout this session
}

RequestLibCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.

type RequestLibFilterer

type RequestLibFilterer struct {
	// contains filtered or unexported fields
}

RequestLibFilterer is an auto generated log filtering Go binding around an Ethereum contract events.

func NewRequestLibFilterer

func NewRequestLibFilterer(address common.Address, filterer bind.ContractFilterer) (*RequestLibFilterer, error)

NewRequestLibFilterer creates a new log filterer instance of RequestLib, bound to a specific deployed contract.

type RequestLibRaw

type RequestLibRaw struct {
	Contract *RequestLib // Generic contract binding to access the raw methods on
}

RequestLibRaw is an auto generated low-level Go binding around an Ethereum contract.

func (*RequestLibRaw) Call

func (_RequestLib *RequestLibRaw) 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 (*RequestLibRaw) Transact

func (_RequestLib *RequestLibRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*RequestLibRaw) Transfer

func (_RequestLib *RequestLibRaw) 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 RequestLibSession

type RequestLibSession struct {
	Contract     *RequestLib       // 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
}

RequestLibSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.

type RequestLibTransactor

type RequestLibTransactor struct {
	// contains filtered or unexported fields
}

RequestLibTransactor is an auto generated write-only Go binding around an Ethereum contract.

func NewRequestLibTransactor

func NewRequestLibTransactor(address common.Address, transactor bind.ContractTransactor) (*RequestLibTransactor, error)

NewRequestLibTransactor creates a new write-only instance of RequestLib, bound to a specific deployed contract.

type RequestLibTransactorRaw

type RequestLibTransactorRaw struct {
	Contract *RequestLibTransactor // Generic write-only contract binding to access the raw methods on
}

RequestLibTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.

func (*RequestLibTransactorRaw) Transact

func (_RequestLib *RequestLibTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*RequestLibTransactorRaw) Transfer

func (_RequestLib *RequestLibTransactorRaw) 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 RequestLibTransactorSession

type RequestLibTransactorSession struct {
	Contract     *RequestLibTransactor // Generic contract transactor binding to set the session for
	TransactOpts bind.TransactOpts     // Transaction auth options to use throughout this session
}

RequestLibTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL