Documentation ¶
Index ¶
- Variables
- type IUinswpaHelperExactInputParams
- type IUinswpaHelperExactInputSingleParams
- type IUinswpaHelperQuoteExactInputSingleParams
- type IUinswpaHelperQuoteExactOutputSingleParams
- type PUniswapHelper
- type PUniswapHelperCaller
- type PUniswapHelperCallerRaw
- type PUniswapHelperCallerSession
- type PUniswapHelperFilterer
- type PUniswapHelperRaw
- func (_PUniswapHelper *PUniswapHelperRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_PUniswapHelper *PUniswapHelperRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_PUniswapHelper *PUniswapHelperRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type PUniswapHelperSession
- func (_PUniswapHelper *PUniswapHelperSession) ExactInput(params IUinswpaHelperExactInputParams) (*types.Transaction, error)
- func (_PUniswapHelper *PUniswapHelperSession) ExactInputSingle(params IUinswpaHelperExactInputSingleParams) (*types.Transaction, error)
- func (_PUniswapHelper *PUniswapHelperSession) QuoteExactInput(path []byte, amountIn *big.Int) (struct{ ... }, error)
- func (_PUniswapHelper *PUniswapHelperSession) QuoteExactInputSingle(params IUinswpaHelperQuoteExactInputSingleParams) (struct{ ... }, error)
- func (_PUniswapHelper *PUniswapHelperSession) QuoteExactOutput(path []byte, amountOut *big.Int) (*types.Transaction, error)
- func (_PUniswapHelper *PUniswapHelperSession) QuoteExactOutputSingle(params IUinswpaHelperQuoteExactOutputSingleParams) (*types.Transaction, error)
- type PUniswapHelperTransactor
- func (_PUniswapHelper *PUniswapHelperTransactor) ExactInput(opts *bind.TransactOpts, params IUinswpaHelperExactInputParams) (*types.Transaction, error)
- func (_PUniswapHelper *PUniswapHelperTransactor) ExactInputSingle(opts *bind.TransactOpts, params IUinswpaHelperExactInputSingleParams) (*types.Transaction, error)
- func (_PUniswapHelper *PUniswapHelperTransactor) QuoteExactOutput(opts *bind.TransactOpts, path []byte, amountOut *big.Int) (*types.Transaction, error)
- func (_PUniswapHelper *PUniswapHelperTransactor) QuoteExactOutputSingle(opts *bind.TransactOpts, params IUinswpaHelperQuoteExactOutputSingleParams) (*types.Transaction, error)
- type PUniswapHelperTransactorRaw
- type PUniswapHelperTransactorSession
- func (_PUniswapHelper *PUniswapHelperTransactorSession) ExactInput(params IUinswpaHelperExactInputParams) (*types.Transaction, error)
- func (_PUniswapHelper *PUniswapHelperTransactorSession) ExactInputSingle(params IUinswpaHelperExactInputSingleParams) (*types.Transaction, error)
- func (_PUniswapHelper *PUniswapHelperTransactorSession) QuoteExactOutput(path []byte, amountOut *big.Int) (*types.Transaction, error)
- func (_PUniswapHelper *PUniswapHelperTransactorSession) QuoteExactOutputSingle(params IUinswpaHelperQuoteExactOutputSingleParams) (*types.Transaction, error)
Constants ¶
This section is empty.
Variables ¶
var PUniswapHelperABI = PUniswapHelperMetaData.ABI
PUniswapHelperABI is the input ABI used to generate the binding from. Deprecated: Use PUniswapHelperMetaData.ABI instead.
var PUniswapHelperMetaData = &bind.MetaData{
ABI: "[{\"inputs\":[{\"components\":[{\"internalType\":\"bytes\",\"name\":\"path\",\"type\":\"bytes\"},{\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amountIn\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amountOutMinimum\",\"type\":\"uint256\"}],\"internalType\":\"structIUinswpaHelper.ExactInputParams\",\"name\":\"params\",\"type\":\"tuple\"}],\"name\":\"exactInput\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"amountOut\",\"type\":\"uint256\"}],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"tokenIn\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"tokenOut\",\"type\":\"address\"},{\"internalType\":\"uint24\",\"name\":\"fee\",\"type\":\"uint24\"},{\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amountIn\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amountOutMinimum\",\"type\":\"uint256\"},{\"internalType\":\"uint160\",\"name\":\"sqrtPriceLimitX96\",\"type\":\"uint160\"}],\"internalType\":\"structIUinswpaHelper.ExactInputSingleParams\",\"name\":\"params\",\"type\":\"tuple\"}],\"name\":\"exactInputSingle\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"amountOut\",\"type\":\"uint256\"}],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes\",\"name\":\"path\",\"type\":\"bytes\"},{\"internalType\":\"uint256\",\"name\":\"amountIn\",\"type\":\"uint256\"}],\"name\":\"quoteExactInput\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"amountOut\",\"type\":\"uint256\"},{\"internalType\":\"uint160[]\",\"name\":\"sqrtPriceX96AfterList\",\"type\":\"uint160[]\"},{\"internalType\":\"uint32[]\",\"name\":\"initializedTicksCrossedList\",\"type\":\"uint32[]\"},{\"internalType\":\"uint256\",\"name\":\"gasEstimate\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"tokenIn\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"tokenOut\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amountIn\",\"type\":\"uint256\"},{\"internalType\":\"uint24\",\"name\":\"fee\",\"type\":\"uint24\"},{\"internalType\":\"uint160\",\"name\":\"sqrtPriceLimitX96\",\"type\":\"uint160\"}],\"internalType\":\"structIUinswpaHelper.QuoteExactInputSingleParams\",\"name\":\"params\",\"type\":\"tuple\"}],\"name\":\"quoteExactInputSingle\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"amountOut\",\"type\":\"uint256\"},{\"internalType\":\"uint160\",\"name\":\"sqrtPriceX96After\",\"type\":\"uint160\"},{\"internalType\":\"uint32\",\"name\":\"initializedTicksCrossed\",\"type\":\"uint32\"},{\"internalType\":\"uint256\",\"name\":\"gasEstimate\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes\",\"name\":\"path\",\"type\":\"bytes\"},{\"internalType\":\"uint256\",\"name\":\"amountOut\",\"type\":\"uint256\"}],\"name\":\"quoteExactOutput\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"amountIn\",\"type\":\"uint256\"},{\"internalType\":\"uint160[]\",\"name\":\"sqrtPriceX96AfterList\",\"type\":\"uint160[]\"},{\"internalType\":\"uint32[]\",\"name\":\"initializedTicksCrossedList\",\"type\":\"uint32[]\"},{\"internalType\":\"uint256\",\"name\":\"gasEstimate\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"tokenIn\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"tokenOut\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"uint24\",\"name\":\"fee\",\"type\":\"uint24\"},{\"internalType\":\"uint160\",\"name\":\"sqrtPriceLimitX96\",\"type\":\"uint160\"}],\"internalType\":\"structIUinswpaHelper.QuoteExactOutputSingleParams\",\"name\":\"params\",\"type\":\"tuple\"}],\"name\":\"quoteExactOutputSingle\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"amountIn\",\"type\":\"uint256\"},{\"internalType\":\"uint160\",\"name\":\"sqrtPriceX96After\",\"type\":\"uint160\"},{\"internalType\":\"uint32\",\"name\":\"initializedTicksCrossed\",\"type\":\"uint32\"},{\"internalType\":\"uint256\",\"name\":\"gasEstimate\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
}
PUniswapHelperMetaData contains all meta data concerning the PUniswapHelper contract.
Functions ¶
This section is empty.
Types ¶
type IUinswpaHelperExactInputParams ¶
type IUinswpaHelperExactInputParams struct { Path []byte Recipient common.Address AmountIn *big.Int AmountOutMinimum *big.Int }
IUinswpaHelperExactInputParams is an auto generated low-level Go binding around an user-defined struct.
type IUinswpaHelperExactInputSingleParams ¶
type IUinswpaHelperExactInputSingleParams struct { TokenIn common.Address TokenOut common.Address Fee *big.Int Recipient common.Address AmountIn *big.Int AmountOutMinimum *big.Int SqrtPriceLimitX96 *big.Int }
IUinswpaHelperExactInputSingleParams is an auto generated low-level Go binding around an user-defined struct.
type IUinswpaHelperQuoteExactInputSingleParams ¶
type IUinswpaHelperQuoteExactInputSingleParams struct { TokenIn common.Address TokenOut common.Address AmountIn *big.Int Fee *big.Int SqrtPriceLimitX96 *big.Int }
IUinswpaHelperQuoteExactInputSingleParams is an auto generated low-level Go binding around an user-defined struct.
type IUinswpaHelperQuoteExactOutputSingleParams ¶
type IUinswpaHelperQuoteExactOutputSingleParams struct { TokenIn common.Address TokenOut common.Address Amount *big.Int Fee *big.Int SqrtPriceLimitX96 *big.Int }
IUinswpaHelperQuoteExactOutputSingleParams is an auto generated low-level Go binding around an user-defined struct.
type PUniswapHelper ¶
type PUniswapHelper struct { PUniswapHelperCaller // Read-only binding to the contract PUniswapHelperTransactor // Write-only binding to the contract PUniswapHelperFilterer // Log filterer for contract events }
PUniswapHelper is an auto generated Go binding around an Ethereum contract.
func NewPUniswapHelper ¶
func NewPUniswapHelper(address common.Address, backend bind.ContractBackend) (*PUniswapHelper, error)
NewPUniswapHelper creates a new instance of PUniswapHelper, bound to a specific deployed contract.
type PUniswapHelperCaller ¶
type PUniswapHelperCaller struct {
// contains filtered or unexported fields
}
PUniswapHelperCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewPUniswapHelperCaller ¶
func NewPUniswapHelperCaller(address common.Address, caller bind.ContractCaller) (*PUniswapHelperCaller, error)
NewPUniswapHelperCaller creates a new read-only instance of PUniswapHelper, bound to a specific deployed contract.
func (*PUniswapHelperCaller) QuoteExactInput ¶
func (_PUniswapHelper *PUniswapHelperCaller) QuoteExactInput(opts *bind.CallOpts, path []byte, amountIn *big.Int) (struct { AmountOut *big.Int SqrtPriceX96AfterList []*big.Int InitializedTicksCrossedList []uint32 GasEstimate *big.Int }, error)
QuoteExactInput is a free data retrieval call binding the contract method 0xcdca1753.
Solidity: function quoteExactInput(bytes path, uint256 amountIn) view returns(uint256 amountOut, uint160[] sqrtPriceX96AfterList, uint32[] initializedTicksCrossedList, uint256 gasEstimate)
func (*PUniswapHelperCaller) QuoteExactInputSingle ¶
func (_PUniswapHelper *PUniswapHelperCaller) QuoteExactInputSingle(opts *bind.CallOpts, params IUinswpaHelperQuoteExactInputSingleParams) (struct { AmountOut *big.Int SqrtPriceX96After *big.Int InitializedTicksCrossed uint32 GasEstimate *big.Int }, error)
QuoteExactInputSingle is a free data retrieval call binding the contract method 0xc6a5026a.
Solidity: function quoteExactInputSingle((address,address,uint256,uint24,uint160) params) view returns(uint256 amountOut, uint160 sqrtPriceX96After, uint32 initializedTicksCrossed, uint256 gasEstimate)
type PUniswapHelperCallerRaw ¶
type PUniswapHelperCallerRaw struct {
Contract *PUniswapHelperCaller // Generic read-only contract binding to access the raw methods on
}
PUniswapHelperCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*PUniswapHelperCallerRaw) Call ¶
func (_PUniswapHelper *PUniswapHelperCallerRaw) 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 PUniswapHelperCallerSession ¶
type PUniswapHelperCallerSession struct { Contract *PUniswapHelperCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
PUniswapHelperCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*PUniswapHelperCallerSession) QuoteExactInput ¶
func (_PUniswapHelper *PUniswapHelperCallerSession) QuoteExactInput(path []byte, amountIn *big.Int) (struct { AmountOut *big.Int SqrtPriceX96AfterList []*big.Int InitializedTicksCrossedList []uint32 GasEstimate *big.Int }, error)
QuoteExactInput is a free data retrieval call binding the contract method 0xcdca1753.
Solidity: function quoteExactInput(bytes path, uint256 amountIn) view returns(uint256 amountOut, uint160[] sqrtPriceX96AfterList, uint32[] initializedTicksCrossedList, uint256 gasEstimate)
func (*PUniswapHelperCallerSession) QuoteExactInputSingle ¶
func (_PUniswapHelper *PUniswapHelperCallerSession) QuoteExactInputSingle(params IUinswpaHelperQuoteExactInputSingleParams) (struct { AmountOut *big.Int SqrtPriceX96After *big.Int InitializedTicksCrossed uint32 GasEstimate *big.Int }, error)
QuoteExactInputSingle is a free data retrieval call binding the contract method 0xc6a5026a.
Solidity: function quoteExactInputSingle((address,address,uint256,uint24,uint160) params) view returns(uint256 amountOut, uint160 sqrtPriceX96After, uint32 initializedTicksCrossed, uint256 gasEstimate)
type PUniswapHelperFilterer ¶
type PUniswapHelperFilterer struct {
// contains filtered or unexported fields
}
PUniswapHelperFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewPUniswapHelperFilterer ¶
func NewPUniswapHelperFilterer(address common.Address, filterer bind.ContractFilterer) (*PUniswapHelperFilterer, error)
NewPUniswapHelperFilterer creates a new log filterer instance of PUniswapHelper, bound to a specific deployed contract.
type PUniswapHelperRaw ¶
type PUniswapHelperRaw struct {
Contract *PUniswapHelper // Generic contract binding to access the raw methods on
}
PUniswapHelperRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*PUniswapHelperRaw) Call ¶
func (_PUniswapHelper *PUniswapHelperRaw) 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 (*PUniswapHelperRaw) Transact ¶
func (_PUniswapHelper *PUniswapHelperRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*PUniswapHelperRaw) Transfer ¶
func (_PUniswapHelper *PUniswapHelperRaw) 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 PUniswapHelperSession ¶
type PUniswapHelperSession struct { Contract *PUniswapHelper // 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 }
PUniswapHelperSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*PUniswapHelperSession) ExactInput ¶
func (_PUniswapHelper *PUniswapHelperSession) ExactInput(params IUinswpaHelperExactInputParams) (*types.Transaction, error)
ExactInput is a paid mutator transaction binding the contract method 0xb858183f.
Solidity: function exactInput((bytes,address,uint256,uint256) params) payable returns(uint256 amountOut)
func (*PUniswapHelperSession) ExactInputSingle ¶
func (_PUniswapHelper *PUniswapHelperSession) ExactInputSingle(params IUinswpaHelperExactInputSingleParams) (*types.Transaction, error)
ExactInputSingle is a paid mutator transaction binding the contract method 0x04e45aaf.
Solidity: function exactInputSingle((address,address,uint24,address,uint256,uint256,uint160) params) payable returns(uint256 amountOut)
func (*PUniswapHelperSession) QuoteExactInput ¶
func (_PUniswapHelper *PUniswapHelperSession) QuoteExactInput(path []byte, amountIn *big.Int) (struct { AmountOut *big.Int SqrtPriceX96AfterList []*big.Int InitializedTicksCrossedList []uint32 GasEstimate *big.Int }, error)
QuoteExactInput is a free data retrieval call binding the contract method 0xcdca1753.
Solidity: function quoteExactInput(bytes path, uint256 amountIn) view returns(uint256 amountOut, uint160[] sqrtPriceX96AfterList, uint32[] initializedTicksCrossedList, uint256 gasEstimate)
func (*PUniswapHelperSession) QuoteExactInputSingle ¶
func (_PUniswapHelper *PUniswapHelperSession) QuoteExactInputSingle(params IUinswpaHelperQuoteExactInputSingleParams) (struct { AmountOut *big.Int SqrtPriceX96After *big.Int InitializedTicksCrossed uint32 GasEstimate *big.Int }, error)
QuoteExactInputSingle is a free data retrieval call binding the contract method 0xc6a5026a.
Solidity: function quoteExactInputSingle((address,address,uint256,uint24,uint160) params) view returns(uint256 amountOut, uint160 sqrtPriceX96After, uint32 initializedTicksCrossed, uint256 gasEstimate)
func (*PUniswapHelperSession) QuoteExactOutput ¶
func (_PUniswapHelper *PUniswapHelperSession) QuoteExactOutput(path []byte, amountOut *big.Int) (*types.Transaction, error)
QuoteExactOutput is a paid mutator transaction binding the contract method 0x2f80bb1d.
Solidity: function quoteExactOutput(bytes path, uint256 amountOut) returns(uint256 amountIn, uint160[] sqrtPriceX96AfterList, uint32[] initializedTicksCrossedList, uint256 gasEstimate)
func (*PUniswapHelperSession) QuoteExactOutputSingle ¶
func (_PUniswapHelper *PUniswapHelperSession) QuoteExactOutputSingle(params IUinswpaHelperQuoteExactOutputSingleParams) (*types.Transaction, error)
QuoteExactOutputSingle is a paid mutator transaction binding the contract method 0xbd21704a.
Solidity: function quoteExactOutputSingle((address,address,uint256,uint24,uint160) params) returns(uint256 amountIn, uint160 sqrtPriceX96After, uint32 initializedTicksCrossed, uint256 gasEstimate)
type PUniswapHelperTransactor ¶
type PUniswapHelperTransactor struct {
// contains filtered or unexported fields
}
PUniswapHelperTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewPUniswapHelperTransactor ¶
func NewPUniswapHelperTransactor(address common.Address, transactor bind.ContractTransactor) (*PUniswapHelperTransactor, error)
NewPUniswapHelperTransactor creates a new write-only instance of PUniswapHelper, bound to a specific deployed contract.
func (*PUniswapHelperTransactor) ExactInput ¶
func (_PUniswapHelper *PUniswapHelperTransactor) ExactInput(opts *bind.TransactOpts, params IUinswpaHelperExactInputParams) (*types.Transaction, error)
ExactInput is a paid mutator transaction binding the contract method 0xb858183f.
Solidity: function exactInput((bytes,address,uint256,uint256) params) payable returns(uint256 amountOut)
func (*PUniswapHelperTransactor) ExactInputSingle ¶
func (_PUniswapHelper *PUniswapHelperTransactor) ExactInputSingle(opts *bind.TransactOpts, params IUinswpaHelperExactInputSingleParams) (*types.Transaction, error)
ExactInputSingle is a paid mutator transaction binding the contract method 0x04e45aaf.
Solidity: function exactInputSingle((address,address,uint24,address,uint256,uint256,uint160) params) payable returns(uint256 amountOut)
func (*PUniswapHelperTransactor) QuoteExactOutput ¶
func (_PUniswapHelper *PUniswapHelperTransactor) QuoteExactOutput(opts *bind.TransactOpts, path []byte, amountOut *big.Int) (*types.Transaction, error)
QuoteExactOutput is a paid mutator transaction binding the contract method 0x2f80bb1d.
Solidity: function quoteExactOutput(bytes path, uint256 amountOut) returns(uint256 amountIn, uint160[] sqrtPriceX96AfterList, uint32[] initializedTicksCrossedList, uint256 gasEstimate)
func (*PUniswapHelperTransactor) QuoteExactOutputSingle ¶
func (_PUniswapHelper *PUniswapHelperTransactor) QuoteExactOutputSingle(opts *bind.TransactOpts, params IUinswpaHelperQuoteExactOutputSingleParams) (*types.Transaction, error)
QuoteExactOutputSingle is a paid mutator transaction binding the contract method 0xbd21704a.
Solidity: function quoteExactOutputSingle((address,address,uint256,uint24,uint160) params) returns(uint256 amountIn, uint160 sqrtPriceX96After, uint32 initializedTicksCrossed, uint256 gasEstimate)
type PUniswapHelperTransactorRaw ¶
type PUniswapHelperTransactorRaw struct {
Contract *PUniswapHelperTransactor // Generic write-only contract binding to access the raw methods on
}
PUniswapHelperTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*PUniswapHelperTransactorRaw) Transact ¶
func (_PUniswapHelper *PUniswapHelperTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*PUniswapHelperTransactorRaw) Transfer ¶
func (_PUniswapHelper *PUniswapHelperTransactorRaw) 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 PUniswapHelperTransactorSession ¶
type PUniswapHelperTransactorSession struct { Contract *PUniswapHelperTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
PUniswapHelperTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*PUniswapHelperTransactorSession) ExactInput ¶
func (_PUniswapHelper *PUniswapHelperTransactorSession) ExactInput(params IUinswpaHelperExactInputParams) (*types.Transaction, error)
ExactInput is a paid mutator transaction binding the contract method 0xb858183f.
Solidity: function exactInput((bytes,address,uint256,uint256) params) payable returns(uint256 amountOut)
func (*PUniswapHelperTransactorSession) ExactInputSingle ¶
func (_PUniswapHelper *PUniswapHelperTransactorSession) ExactInputSingle(params IUinswpaHelperExactInputSingleParams) (*types.Transaction, error)
ExactInputSingle is a paid mutator transaction binding the contract method 0x04e45aaf.
Solidity: function exactInputSingle((address,address,uint24,address,uint256,uint256,uint160) params) payable returns(uint256 amountOut)
func (*PUniswapHelperTransactorSession) QuoteExactOutput ¶
func (_PUniswapHelper *PUniswapHelperTransactorSession) QuoteExactOutput(path []byte, amountOut *big.Int) (*types.Transaction, error)
QuoteExactOutput is a paid mutator transaction binding the contract method 0x2f80bb1d.
Solidity: function quoteExactOutput(bytes path, uint256 amountOut) returns(uint256 amountIn, uint160[] sqrtPriceX96AfterList, uint32[] initializedTicksCrossedList, uint256 gasEstimate)
func (*PUniswapHelperTransactorSession) QuoteExactOutputSingle ¶
func (_PUniswapHelper *PUniswapHelperTransactorSession) QuoteExactOutputSingle(params IUinswpaHelperQuoteExactOutputSingleParams) (*types.Transaction, error)
QuoteExactOutputSingle is a paid mutator transaction binding the contract method 0xbd21704a.
Solidity: function quoteExactOutputSingle((address,address,uint256,uint24,uint160) params) returns(uint256 amountIn, uint160 sqrtPriceX96After, uint32 initializedTicksCrossed, uint256 gasEstimate)