Documentation ¶
Index ¶
- Variables
- type IUniswapV3Factory
- type IUniswapV3FactoryCaller
- func (_IUniswapV3Factory *IUniswapV3FactoryCaller) FeeAmountTickSpacing(opts *bind.CallOpts, fee *big.Int) (*big.Int, error)
- func (_IUniswapV3Factory *IUniswapV3FactoryCaller) GetPool(opts *bind.CallOpts, tokenA common.Address, tokenB common.Address, ...) (common.Address, error)
- func (_IUniswapV3Factory *IUniswapV3FactoryCaller) Owner(opts *bind.CallOpts) (common.Address, error)
- type IUniswapV3FactoryCallerRaw
- type IUniswapV3FactoryCallerSession
- func (_IUniswapV3Factory *IUniswapV3FactoryCallerSession) FeeAmountTickSpacing(fee *big.Int) (*big.Int, error)
- func (_IUniswapV3Factory *IUniswapV3FactoryCallerSession) GetPool(tokenA common.Address, tokenB common.Address, fee *big.Int) (common.Address, error)
- func (_IUniswapV3Factory *IUniswapV3FactoryCallerSession) Owner() (common.Address, error)
- type IUniswapV3FactoryFeeAmountEnabled
- type IUniswapV3FactoryFeeAmountEnabledIterator
- type IUniswapV3FactoryFilterer
- func (_IUniswapV3Factory *IUniswapV3FactoryFilterer) FilterFeeAmountEnabled(opts *bind.FilterOpts, fee []*big.Int, tickSpacing []*big.Int) (*IUniswapV3FactoryFeeAmountEnabledIterator, error)
- func (_IUniswapV3Factory *IUniswapV3FactoryFilterer) FilterOwnerChanged(opts *bind.FilterOpts, oldOwner []common.Address, newOwner []common.Address) (*IUniswapV3FactoryOwnerChangedIterator, error)
- func (_IUniswapV3Factory *IUniswapV3FactoryFilterer) FilterPoolCreated(opts *bind.FilterOpts, token0 []common.Address, token1 []common.Address, ...) (*IUniswapV3FactoryPoolCreatedIterator, error)
- func (_IUniswapV3Factory *IUniswapV3FactoryFilterer) ParseFeeAmountEnabled(log types.Log) (*IUniswapV3FactoryFeeAmountEnabled, error)
- func (_IUniswapV3Factory *IUniswapV3FactoryFilterer) ParseOwnerChanged(log types.Log) (*IUniswapV3FactoryOwnerChanged, error)
- func (_IUniswapV3Factory *IUniswapV3FactoryFilterer) ParsePoolCreated(log types.Log) (*IUniswapV3FactoryPoolCreated, error)
- func (_IUniswapV3Factory *IUniswapV3FactoryFilterer) WatchFeeAmountEnabled(opts *bind.WatchOpts, sink chan<- *IUniswapV3FactoryFeeAmountEnabled, ...) (event.Subscription, error)
- func (_IUniswapV3Factory *IUniswapV3FactoryFilterer) WatchOwnerChanged(opts *bind.WatchOpts, sink chan<- *IUniswapV3FactoryOwnerChanged, ...) (event.Subscription, error)
- func (_IUniswapV3Factory *IUniswapV3FactoryFilterer) WatchPoolCreated(opts *bind.WatchOpts, sink chan<- *IUniswapV3FactoryPoolCreated, ...) (event.Subscription, error)
- type IUniswapV3FactoryOwnerChanged
- type IUniswapV3FactoryOwnerChangedIterator
- type IUniswapV3FactoryPoolCreated
- type IUniswapV3FactoryPoolCreatedIterator
- type IUniswapV3FactoryRaw
- func (_IUniswapV3Factory *IUniswapV3FactoryRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_IUniswapV3Factory *IUniswapV3FactoryRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_IUniswapV3Factory *IUniswapV3FactoryRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type IUniswapV3FactorySession
- func (_IUniswapV3Factory *IUniswapV3FactorySession) CreatePool(tokenA common.Address, tokenB common.Address, fee *big.Int) (*types.Transaction, error)
- func (_IUniswapV3Factory *IUniswapV3FactorySession) EnableFeeAmount(fee *big.Int, tickSpacing *big.Int) (*types.Transaction, error)
- func (_IUniswapV3Factory *IUniswapV3FactorySession) FeeAmountTickSpacing(fee *big.Int) (*big.Int, error)
- func (_IUniswapV3Factory *IUniswapV3FactorySession) GetPool(tokenA common.Address, tokenB common.Address, fee *big.Int) (common.Address, error)
- func (_IUniswapV3Factory *IUniswapV3FactorySession) Owner() (common.Address, error)
- func (_IUniswapV3Factory *IUniswapV3FactorySession) SetOwner(_owner common.Address) (*types.Transaction, error)
- type IUniswapV3FactoryTransactor
- func (_IUniswapV3Factory *IUniswapV3FactoryTransactor) CreatePool(opts *bind.TransactOpts, tokenA common.Address, tokenB common.Address, ...) (*types.Transaction, error)
- func (_IUniswapV3Factory *IUniswapV3FactoryTransactor) EnableFeeAmount(opts *bind.TransactOpts, fee *big.Int, tickSpacing *big.Int) (*types.Transaction, error)
- func (_IUniswapV3Factory *IUniswapV3FactoryTransactor) SetOwner(opts *bind.TransactOpts, _owner common.Address) (*types.Transaction, error)
- type IUniswapV3FactoryTransactorRaw
- type IUniswapV3FactoryTransactorSession
- func (_IUniswapV3Factory *IUniswapV3FactoryTransactorSession) CreatePool(tokenA common.Address, tokenB common.Address, fee *big.Int) (*types.Transaction, error)
- func (_IUniswapV3Factory *IUniswapV3FactoryTransactorSession) EnableFeeAmount(fee *big.Int, tickSpacing *big.Int) (*types.Transaction, error)
- func (_IUniswapV3Factory *IUniswapV3FactoryTransactorSession) SetOwner(_owner common.Address) (*types.Transaction, error)
Constants ¶
This section is empty.
Variables ¶
var IUniswapV3FactoryABI = IUniswapV3FactoryMetaData.ABI
IUniswapV3FactoryABI is the input ABI used to generate the binding from. Deprecated: Use IUniswapV3FactoryMetaData.ABI instead.
var IUniswapV3FactoryMetaData = &bind.MetaData{
ABI: "[{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint24\",\"name\":\"fee\",\"type\":\"uint24\"},{\"indexed\":true,\"internalType\":\"int24\",\"name\":\"tickSpacing\",\"type\":\"int24\"}],\"name\":\"FeeAmountEnabled\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"oldOwner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"OwnerChanged\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"token0\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"token1\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"uint24\",\"name\":\"fee\",\"type\":\"uint24\"},{\"indexed\":false,\"internalType\":\"int24\",\"name\":\"tickSpacing\",\"type\":\"int24\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"pool\",\"type\":\"address\"}],\"name\":\"PoolCreated\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"tokenA\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"tokenB\",\"type\":\"address\"},{\"internalType\":\"uint24\",\"name\":\"fee\",\"type\":\"uint24\"}],\"name\":\"createPool\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"pool\",\"type\":\"address\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint24\",\"name\":\"fee\",\"type\":\"uint24\"},{\"internalType\":\"int24\",\"name\":\"tickSpacing\",\"type\":\"int24\"}],\"name\":\"enableFeeAmount\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint24\",\"name\":\"fee\",\"type\":\"uint24\"}],\"name\":\"feeAmountTickSpacing\",\"outputs\":[{\"internalType\":\"int24\",\"name\":\"\",\"type\":\"int24\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"tokenA\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"tokenB\",\"type\":\"address\"},{\"internalType\":\"uint24\",\"name\":\"fee\",\"type\":\"uint24\"}],\"name\":\"getPool\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"pool\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_owner\",\"type\":\"address\"}],\"name\":\"setOwner\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
}
IUniswapV3FactoryMetaData contains all meta data concerning the IUniswapV3Factory contract.
Functions ¶
This section is empty.
Types ¶
type IUniswapV3Factory ¶
type IUniswapV3Factory struct { IUniswapV3FactoryCaller // Read-only binding to the contract IUniswapV3FactoryTransactor // Write-only binding to the contract IUniswapV3FactoryFilterer // Log filterer for contract events }
IUniswapV3Factory is an auto generated Go binding around an Ethereum contract.
func NewIUniswapV3Factory ¶
func NewIUniswapV3Factory(address common.Address, backend bind.ContractBackend) (*IUniswapV3Factory, error)
NewIUniswapV3Factory creates a new instance of IUniswapV3Factory, bound to a specific deployed contract.
type IUniswapV3FactoryCaller ¶
type IUniswapV3FactoryCaller struct {
// contains filtered or unexported fields
}
IUniswapV3FactoryCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewIUniswapV3FactoryCaller ¶
func NewIUniswapV3FactoryCaller(address common.Address, caller bind.ContractCaller) (*IUniswapV3FactoryCaller, error)
NewIUniswapV3FactoryCaller creates a new read-only instance of IUniswapV3Factory, bound to a specific deployed contract.
func (*IUniswapV3FactoryCaller) FeeAmountTickSpacing ¶
func (_IUniswapV3Factory *IUniswapV3FactoryCaller) FeeAmountTickSpacing(opts *bind.CallOpts, fee *big.Int) (*big.Int, error)
FeeAmountTickSpacing is a free data retrieval call binding the contract method 0x22afcccb.
Solidity: function feeAmountTickSpacing(uint24 fee) view returns(int24)
func (*IUniswapV3FactoryCaller) GetPool ¶
func (_IUniswapV3Factory *IUniswapV3FactoryCaller) GetPool(opts *bind.CallOpts, tokenA common.Address, tokenB common.Address, fee *big.Int) (common.Address, error)
GetPool is a free data retrieval call binding the contract method 0x1698ee82.
Solidity: function getPool(address tokenA, address tokenB, uint24 fee) view returns(address pool)
type IUniswapV3FactoryCallerRaw ¶
type IUniswapV3FactoryCallerRaw struct {
Contract *IUniswapV3FactoryCaller // Generic read-only contract binding to access the raw methods on
}
IUniswapV3FactoryCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*IUniswapV3FactoryCallerRaw) Call ¶
func (_IUniswapV3Factory *IUniswapV3FactoryCallerRaw) 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 IUniswapV3FactoryCallerSession ¶
type IUniswapV3FactoryCallerSession struct { Contract *IUniswapV3FactoryCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
IUniswapV3FactoryCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*IUniswapV3FactoryCallerSession) FeeAmountTickSpacing ¶
func (_IUniswapV3Factory *IUniswapV3FactoryCallerSession) FeeAmountTickSpacing(fee *big.Int) (*big.Int, error)
FeeAmountTickSpacing is a free data retrieval call binding the contract method 0x22afcccb.
Solidity: function feeAmountTickSpacing(uint24 fee) view returns(int24)
func (*IUniswapV3FactoryCallerSession) GetPool ¶
func (_IUniswapV3Factory *IUniswapV3FactoryCallerSession) GetPool(tokenA common.Address, tokenB common.Address, fee *big.Int) (common.Address, error)
GetPool is a free data retrieval call binding the contract method 0x1698ee82.
Solidity: function getPool(address tokenA, address tokenB, uint24 fee) view returns(address pool)
type IUniswapV3FactoryFeeAmountEnabled ¶
type IUniswapV3FactoryFeeAmountEnabled struct { Fee *big.Int TickSpacing *big.Int Raw types.Log // Blockchain specific contextual infos }
IUniswapV3FactoryFeeAmountEnabled represents a FeeAmountEnabled event raised by the IUniswapV3Factory contract.
type IUniswapV3FactoryFeeAmountEnabledIterator ¶
type IUniswapV3FactoryFeeAmountEnabledIterator struct { Event *IUniswapV3FactoryFeeAmountEnabled // Event containing the contract specifics and raw log // contains filtered or unexported fields }
IUniswapV3FactoryFeeAmountEnabledIterator is returned from FilterFeeAmountEnabled and is used to iterate over the raw logs and unpacked data for FeeAmountEnabled events raised by the IUniswapV3Factory contract.
func (*IUniswapV3FactoryFeeAmountEnabledIterator) Close ¶
func (it *IUniswapV3FactoryFeeAmountEnabledIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*IUniswapV3FactoryFeeAmountEnabledIterator) Error ¶
func (it *IUniswapV3FactoryFeeAmountEnabledIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*IUniswapV3FactoryFeeAmountEnabledIterator) Next ¶
func (it *IUniswapV3FactoryFeeAmountEnabledIterator) Next() bool
Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.
type IUniswapV3FactoryFilterer ¶
type IUniswapV3FactoryFilterer struct {
// contains filtered or unexported fields
}
IUniswapV3FactoryFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewIUniswapV3FactoryFilterer ¶
func NewIUniswapV3FactoryFilterer(address common.Address, filterer bind.ContractFilterer) (*IUniswapV3FactoryFilterer, error)
NewIUniswapV3FactoryFilterer creates a new log filterer instance of IUniswapV3Factory, bound to a specific deployed contract.
func (*IUniswapV3FactoryFilterer) FilterFeeAmountEnabled ¶
func (_IUniswapV3Factory *IUniswapV3FactoryFilterer) FilterFeeAmountEnabled(opts *bind.FilterOpts, fee []*big.Int, tickSpacing []*big.Int) (*IUniswapV3FactoryFeeAmountEnabledIterator, error)
FilterFeeAmountEnabled is a free log retrieval operation binding the contract event 0xc66a3fdf07232cdd185febcc6579d408c241b47ae2f9907d84be655141eeaecc.
Solidity: event FeeAmountEnabled(uint24 indexed fee, int24 indexed tickSpacing)
func (*IUniswapV3FactoryFilterer) FilterOwnerChanged ¶
func (_IUniswapV3Factory *IUniswapV3FactoryFilterer) FilterOwnerChanged(opts *bind.FilterOpts, oldOwner []common.Address, newOwner []common.Address) (*IUniswapV3FactoryOwnerChangedIterator, error)
FilterOwnerChanged is a free log retrieval operation binding the contract event 0xb532073b38c83145e3e5135377a08bf9aab55bc0fd7c1179cd4fb995d2a5159c.
Solidity: event OwnerChanged(address indexed oldOwner, address indexed newOwner)
func (*IUniswapV3FactoryFilterer) FilterPoolCreated ¶
func (_IUniswapV3Factory *IUniswapV3FactoryFilterer) FilterPoolCreated(opts *bind.FilterOpts, token0 []common.Address, token1 []common.Address, fee []*big.Int) (*IUniswapV3FactoryPoolCreatedIterator, error)
FilterPoolCreated is a free log retrieval operation binding the contract event 0x783cca1c0412dd0d695e784568c96da2e9c22ff989357a2e8b1d9b2b4e6b7118.
Solidity: event PoolCreated(address indexed token0, address indexed token1, uint24 indexed fee, int24 tickSpacing, address pool)
func (*IUniswapV3FactoryFilterer) ParseFeeAmountEnabled ¶
func (_IUniswapV3Factory *IUniswapV3FactoryFilterer) ParseFeeAmountEnabled(log types.Log) (*IUniswapV3FactoryFeeAmountEnabled, error)
ParseFeeAmountEnabled is a log parse operation binding the contract event 0xc66a3fdf07232cdd185febcc6579d408c241b47ae2f9907d84be655141eeaecc.
Solidity: event FeeAmountEnabled(uint24 indexed fee, int24 indexed tickSpacing)
func (*IUniswapV3FactoryFilterer) ParseOwnerChanged ¶
func (_IUniswapV3Factory *IUniswapV3FactoryFilterer) ParseOwnerChanged(log types.Log) (*IUniswapV3FactoryOwnerChanged, error)
ParseOwnerChanged is a log parse operation binding the contract event 0xb532073b38c83145e3e5135377a08bf9aab55bc0fd7c1179cd4fb995d2a5159c.
Solidity: event OwnerChanged(address indexed oldOwner, address indexed newOwner)
func (*IUniswapV3FactoryFilterer) ParsePoolCreated ¶
func (_IUniswapV3Factory *IUniswapV3FactoryFilterer) ParsePoolCreated(log types.Log) (*IUniswapV3FactoryPoolCreated, error)
ParsePoolCreated is a log parse operation binding the contract event 0x783cca1c0412dd0d695e784568c96da2e9c22ff989357a2e8b1d9b2b4e6b7118.
Solidity: event PoolCreated(address indexed token0, address indexed token1, uint24 indexed fee, int24 tickSpacing, address pool)
func (*IUniswapV3FactoryFilterer) WatchFeeAmountEnabled ¶
func (_IUniswapV3Factory *IUniswapV3FactoryFilterer) WatchFeeAmountEnabled(opts *bind.WatchOpts, sink chan<- *IUniswapV3FactoryFeeAmountEnabled, fee []*big.Int, tickSpacing []*big.Int) (event.Subscription, error)
WatchFeeAmountEnabled is a free log subscription operation binding the contract event 0xc66a3fdf07232cdd185febcc6579d408c241b47ae2f9907d84be655141eeaecc.
Solidity: event FeeAmountEnabled(uint24 indexed fee, int24 indexed tickSpacing)
func (*IUniswapV3FactoryFilterer) WatchOwnerChanged ¶
func (_IUniswapV3Factory *IUniswapV3FactoryFilterer) WatchOwnerChanged(opts *bind.WatchOpts, sink chan<- *IUniswapV3FactoryOwnerChanged, oldOwner []common.Address, newOwner []common.Address) (event.Subscription, error)
WatchOwnerChanged is a free log subscription operation binding the contract event 0xb532073b38c83145e3e5135377a08bf9aab55bc0fd7c1179cd4fb995d2a5159c.
Solidity: event OwnerChanged(address indexed oldOwner, address indexed newOwner)
func (*IUniswapV3FactoryFilterer) WatchPoolCreated ¶
func (_IUniswapV3Factory *IUniswapV3FactoryFilterer) WatchPoolCreated(opts *bind.WatchOpts, sink chan<- *IUniswapV3FactoryPoolCreated, token0 []common.Address, token1 []common.Address, fee []*big.Int) (event.Subscription, error)
WatchPoolCreated is a free log subscription operation binding the contract event 0x783cca1c0412dd0d695e784568c96da2e9c22ff989357a2e8b1d9b2b4e6b7118.
Solidity: event PoolCreated(address indexed token0, address indexed token1, uint24 indexed fee, int24 tickSpacing, address pool)
type IUniswapV3FactoryOwnerChanged ¶
type IUniswapV3FactoryOwnerChanged struct { OldOwner common.Address NewOwner common.Address Raw types.Log // Blockchain specific contextual infos }
IUniswapV3FactoryOwnerChanged represents a OwnerChanged event raised by the IUniswapV3Factory contract.
type IUniswapV3FactoryOwnerChangedIterator ¶
type IUniswapV3FactoryOwnerChangedIterator struct { Event *IUniswapV3FactoryOwnerChanged // Event containing the contract specifics and raw log // contains filtered or unexported fields }
IUniswapV3FactoryOwnerChangedIterator is returned from FilterOwnerChanged and is used to iterate over the raw logs and unpacked data for OwnerChanged events raised by the IUniswapV3Factory contract.
func (*IUniswapV3FactoryOwnerChangedIterator) Close ¶
func (it *IUniswapV3FactoryOwnerChangedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*IUniswapV3FactoryOwnerChangedIterator) Error ¶
func (it *IUniswapV3FactoryOwnerChangedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*IUniswapV3FactoryOwnerChangedIterator) Next ¶
func (it *IUniswapV3FactoryOwnerChangedIterator) Next() bool
Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.
type IUniswapV3FactoryPoolCreated ¶
type IUniswapV3FactoryPoolCreated struct { Token0 common.Address Token1 common.Address Fee *big.Int TickSpacing *big.Int Pool common.Address Raw types.Log // Blockchain specific contextual infos }
IUniswapV3FactoryPoolCreated represents a PoolCreated event raised by the IUniswapV3Factory contract.
type IUniswapV3FactoryPoolCreatedIterator ¶
type IUniswapV3FactoryPoolCreatedIterator struct { Event *IUniswapV3FactoryPoolCreated // Event containing the contract specifics and raw log // contains filtered or unexported fields }
IUniswapV3FactoryPoolCreatedIterator is returned from FilterPoolCreated and is used to iterate over the raw logs and unpacked data for PoolCreated events raised by the IUniswapV3Factory contract.
func (*IUniswapV3FactoryPoolCreatedIterator) Close ¶
func (it *IUniswapV3FactoryPoolCreatedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*IUniswapV3FactoryPoolCreatedIterator) Error ¶
func (it *IUniswapV3FactoryPoolCreatedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*IUniswapV3FactoryPoolCreatedIterator) Next ¶
func (it *IUniswapV3FactoryPoolCreatedIterator) Next() bool
Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.
type IUniswapV3FactoryRaw ¶
type IUniswapV3FactoryRaw struct {
Contract *IUniswapV3Factory // Generic contract binding to access the raw methods on
}
IUniswapV3FactoryRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*IUniswapV3FactoryRaw) Call ¶
func (_IUniswapV3Factory *IUniswapV3FactoryRaw) 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 (*IUniswapV3FactoryRaw) Transact ¶
func (_IUniswapV3Factory *IUniswapV3FactoryRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*IUniswapV3FactoryRaw) Transfer ¶
func (_IUniswapV3Factory *IUniswapV3FactoryRaw) 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 IUniswapV3FactorySession ¶
type IUniswapV3FactorySession struct { Contract *IUniswapV3Factory // 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 }
IUniswapV3FactorySession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*IUniswapV3FactorySession) CreatePool ¶
func (_IUniswapV3Factory *IUniswapV3FactorySession) CreatePool(tokenA common.Address, tokenB common.Address, fee *big.Int) (*types.Transaction, error)
CreatePool is a paid mutator transaction binding the contract method 0xa1671295.
Solidity: function createPool(address tokenA, address tokenB, uint24 fee) returns(address pool)
func (*IUniswapV3FactorySession) EnableFeeAmount ¶
func (_IUniswapV3Factory *IUniswapV3FactorySession) EnableFeeAmount(fee *big.Int, tickSpacing *big.Int) (*types.Transaction, error)
EnableFeeAmount is a paid mutator transaction binding the contract method 0x8a7c195f.
Solidity: function enableFeeAmount(uint24 fee, int24 tickSpacing) returns()
func (*IUniswapV3FactorySession) FeeAmountTickSpacing ¶
func (_IUniswapV3Factory *IUniswapV3FactorySession) FeeAmountTickSpacing(fee *big.Int) (*big.Int, error)
FeeAmountTickSpacing is a free data retrieval call binding the contract method 0x22afcccb.
Solidity: function feeAmountTickSpacing(uint24 fee) view returns(int24)
func (*IUniswapV3FactorySession) GetPool ¶
func (_IUniswapV3Factory *IUniswapV3FactorySession) GetPool(tokenA common.Address, tokenB common.Address, fee *big.Int) (common.Address, error)
GetPool is a free data retrieval call binding the contract method 0x1698ee82.
Solidity: function getPool(address tokenA, address tokenB, uint24 fee) view returns(address pool)
func (*IUniswapV3FactorySession) Owner ¶
func (_IUniswapV3Factory *IUniswapV3FactorySession) Owner() (common.Address, error)
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() view returns(address)
func (*IUniswapV3FactorySession) SetOwner ¶
func (_IUniswapV3Factory *IUniswapV3FactorySession) SetOwner(_owner common.Address) (*types.Transaction, error)
SetOwner is a paid mutator transaction binding the contract method 0x13af4035.
Solidity: function setOwner(address _owner) returns()
type IUniswapV3FactoryTransactor ¶
type IUniswapV3FactoryTransactor struct {
// contains filtered or unexported fields
}
IUniswapV3FactoryTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewIUniswapV3FactoryTransactor ¶
func NewIUniswapV3FactoryTransactor(address common.Address, transactor bind.ContractTransactor) (*IUniswapV3FactoryTransactor, error)
NewIUniswapV3FactoryTransactor creates a new write-only instance of IUniswapV3Factory, bound to a specific deployed contract.
func (*IUniswapV3FactoryTransactor) CreatePool ¶
func (_IUniswapV3Factory *IUniswapV3FactoryTransactor) CreatePool(opts *bind.TransactOpts, tokenA common.Address, tokenB common.Address, fee *big.Int) (*types.Transaction, error)
CreatePool is a paid mutator transaction binding the contract method 0xa1671295.
Solidity: function createPool(address tokenA, address tokenB, uint24 fee) returns(address pool)
func (*IUniswapV3FactoryTransactor) EnableFeeAmount ¶
func (_IUniswapV3Factory *IUniswapV3FactoryTransactor) EnableFeeAmount(opts *bind.TransactOpts, fee *big.Int, tickSpacing *big.Int) (*types.Transaction, error)
EnableFeeAmount is a paid mutator transaction binding the contract method 0x8a7c195f.
Solidity: function enableFeeAmount(uint24 fee, int24 tickSpacing) returns()
func (*IUniswapV3FactoryTransactor) SetOwner ¶
func (_IUniswapV3Factory *IUniswapV3FactoryTransactor) SetOwner(opts *bind.TransactOpts, _owner common.Address) (*types.Transaction, error)
SetOwner is a paid mutator transaction binding the contract method 0x13af4035.
Solidity: function setOwner(address _owner) returns()
type IUniswapV3FactoryTransactorRaw ¶
type IUniswapV3FactoryTransactorRaw struct {
Contract *IUniswapV3FactoryTransactor // Generic write-only contract binding to access the raw methods on
}
IUniswapV3FactoryTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*IUniswapV3FactoryTransactorRaw) Transact ¶
func (_IUniswapV3Factory *IUniswapV3FactoryTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*IUniswapV3FactoryTransactorRaw) Transfer ¶
func (_IUniswapV3Factory *IUniswapV3FactoryTransactorRaw) 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 IUniswapV3FactoryTransactorSession ¶
type IUniswapV3FactoryTransactorSession struct { Contract *IUniswapV3FactoryTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
IUniswapV3FactoryTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*IUniswapV3FactoryTransactorSession) CreatePool ¶
func (_IUniswapV3Factory *IUniswapV3FactoryTransactorSession) CreatePool(tokenA common.Address, tokenB common.Address, fee *big.Int) (*types.Transaction, error)
CreatePool is a paid mutator transaction binding the contract method 0xa1671295.
Solidity: function createPool(address tokenA, address tokenB, uint24 fee) returns(address pool)
func (*IUniswapV3FactoryTransactorSession) EnableFeeAmount ¶
func (_IUniswapV3Factory *IUniswapV3FactoryTransactorSession) EnableFeeAmount(fee *big.Int, tickSpacing *big.Int) (*types.Transaction, error)
EnableFeeAmount is a paid mutator transaction binding the contract method 0x8a7c195f.
Solidity: function enableFeeAmount(uint24 fee, int24 tickSpacing) returns()
func (*IUniswapV3FactoryTransactorSession) SetOwner ¶
func (_IUniswapV3Factory *IUniswapV3FactoryTransactorSession) SetOwner(_owner common.Address) (*types.Transaction, error)
SetOwner is a paid mutator transaction binding the contract method 0x13af4035.
Solidity: function setOwner(address _owner) returns()