Documentation ¶
Index ¶
- Variables
- type Uniswapv3Factory
- type Uniswapv3FactoryCaller
- func (_Uniswapv3Factory *Uniswapv3FactoryCaller) FeeAmountTickSpacing(opts *bind.CallOpts, arg0 *big.Int) (*big.Int, error)
- func (_Uniswapv3Factory *Uniswapv3FactoryCaller) GetPool(opts *bind.CallOpts, arg0 common.Address, arg1 common.Address, arg2 *big.Int) (common.Address, error)
- func (_Uniswapv3Factory *Uniswapv3FactoryCaller) Owner(opts *bind.CallOpts) (common.Address, error)
- func (_Uniswapv3Factory *Uniswapv3FactoryCaller) Parameters(opts *bind.CallOpts) (struct{ ... }, error)
- type Uniswapv3FactoryCallerRaw
- type Uniswapv3FactoryCallerSession
- func (_Uniswapv3Factory *Uniswapv3FactoryCallerSession) FeeAmountTickSpacing(arg0 *big.Int) (*big.Int, error)
- func (_Uniswapv3Factory *Uniswapv3FactoryCallerSession) GetPool(arg0 common.Address, arg1 common.Address, arg2 *big.Int) (common.Address, error)
- func (_Uniswapv3Factory *Uniswapv3FactoryCallerSession) Owner() (common.Address, error)
- func (_Uniswapv3Factory *Uniswapv3FactoryCallerSession) Parameters() (struct{ ... }, error)
- type Uniswapv3FactoryFeeAmountEnabled
- type Uniswapv3FactoryFeeAmountEnabledIterator
- type Uniswapv3FactoryFilterer
- func (_Uniswapv3Factory *Uniswapv3FactoryFilterer) FilterFeeAmountEnabled(opts *bind.FilterOpts, fee []*big.Int, tickSpacing []*big.Int) (*Uniswapv3FactoryFeeAmountEnabledIterator, error)
- func (_Uniswapv3Factory *Uniswapv3FactoryFilterer) FilterOwnerChanged(opts *bind.FilterOpts, oldOwner []common.Address, newOwner []common.Address) (*Uniswapv3FactoryOwnerChangedIterator, error)
- func (_Uniswapv3Factory *Uniswapv3FactoryFilterer) FilterPoolCreated(opts *bind.FilterOpts, token0 []common.Address, token1 []common.Address, ...) (*Uniswapv3FactoryPoolCreatedIterator, error)
- func (_Uniswapv3Factory *Uniswapv3FactoryFilterer) ParseFeeAmountEnabled(log types.Log) (*Uniswapv3FactoryFeeAmountEnabled, error)
- func (_Uniswapv3Factory *Uniswapv3FactoryFilterer) ParseOwnerChanged(log types.Log) (*Uniswapv3FactoryOwnerChanged, error)
- func (_Uniswapv3Factory *Uniswapv3FactoryFilterer) ParsePoolCreated(log types.Log) (*Uniswapv3FactoryPoolCreated, error)
- func (_Uniswapv3Factory *Uniswapv3FactoryFilterer) WatchFeeAmountEnabled(opts *bind.WatchOpts, sink chan<- *Uniswapv3FactoryFeeAmountEnabled, ...) (event.Subscription, error)
- func (_Uniswapv3Factory *Uniswapv3FactoryFilterer) WatchOwnerChanged(opts *bind.WatchOpts, sink chan<- *Uniswapv3FactoryOwnerChanged, ...) (event.Subscription, error)
- func (_Uniswapv3Factory *Uniswapv3FactoryFilterer) WatchPoolCreated(opts *bind.WatchOpts, sink chan<- *Uniswapv3FactoryPoolCreated, ...) (event.Subscription, error)
- type Uniswapv3FactoryOwnerChanged
- type Uniswapv3FactoryOwnerChangedIterator
- type Uniswapv3FactoryPoolCreated
- type Uniswapv3FactoryPoolCreatedIterator
- type Uniswapv3FactoryRaw
- func (_Uniswapv3Factory *Uniswapv3FactoryRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_Uniswapv3Factory *Uniswapv3FactoryRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_Uniswapv3Factory *Uniswapv3FactoryRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type Uniswapv3FactorySession
- func (_Uniswapv3Factory *Uniswapv3FactorySession) CreatePool(tokenA common.Address, tokenB common.Address, fee *big.Int) (*types.Transaction, error)
- func (_Uniswapv3Factory *Uniswapv3FactorySession) EnableFeeAmount(fee *big.Int, tickSpacing *big.Int) (*types.Transaction, error)
- func (_Uniswapv3Factory *Uniswapv3FactorySession) FeeAmountTickSpacing(arg0 *big.Int) (*big.Int, error)
- func (_Uniswapv3Factory *Uniswapv3FactorySession) GetPool(arg0 common.Address, arg1 common.Address, arg2 *big.Int) (common.Address, error)
- func (_Uniswapv3Factory *Uniswapv3FactorySession) Owner() (common.Address, error)
- func (_Uniswapv3Factory *Uniswapv3FactorySession) Parameters() (struct{ ... }, error)
- func (_Uniswapv3Factory *Uniswapv3FactorySession) SetOwner(_owner common.Address) (*types.Transaction, error)
- type Uniswapv3FactoryTransactor
- func (_Uniswapv3Factory *Uniswapv3FactoryTransactor) CreatePool(opts *bind.TransactOpts, tokenA common.Address, tokenB common.Address, ...) (*types.Transaction, error)
- func (_Uniswapv3Factory *Uniswapv3FactoryTransactor) EnableFeeAmount(opts *bind.TransactOpts, fee *big.Int, tickSpacing *big.Int) (*types.Transaction, error)
- func (_Uniswapv3Factory *Uniswapv3FactoryTransactor) SetOwner(opts *bind.TransactOpts, _owner common.Address) (*types.Transaction, error)
- type Uniswapv3FactoryTransactorRaw
- type Uniswapv3FactoryTransactorSession
- func (_Uniswapv3Factory *Uniswapv3FactoryTransactorSession) CreatePool(tokenA common.Address, tokenB common.Address, fee *big.Int) (*types.Transaction, error)
- func (_Uniswapv3Factory *Uniswapv3FactoryTransactorSession) EnableFeeAmount(fee *big.Int, tickSpacing *big.Int) (*types.Transaction, error)
- func (_Uniswapv3Factory *Uniswapv3FactoryTransactorSession) SetOwner(_owner common.Address) (*types.Transaction, error)
Constants ¶
This section is empty.
Variables ¶
var Uniswapv3FactoryABI = Uniswapv3FactoryMetaData.ABI
Uniswapv3FactoryABI is the input ABI used to generate the binding from. Deprecated: Use Uniswapv3FactoryMetaData.ABI instead.
var Uniswapv3FactoryMetaData = &bind.MetaData{
ABI: "[{\"inputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"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\":\"\",\"type\":\"uint24\"}],\"name\":\"feeAmountTickSpacing\",\"outputs\":[{\"internalType\":\"int24\",\"name\":\"\",\"type\":\"int24\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"uint24\",\"name\":\"\",\"type\":\"uint24\"}],\"name\":\"getPool\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"parameters\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"factory\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"token0\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"token1\",\"type\":\"address\"},{\"internalType\":\"uint24\",\"name\":\"fee\",\"type\":\"uint24\"},{\"internalType\":\"int24\",\"name\":\"tickSpacing\",\"type\":\"int24\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_owner\",\"type\":\"address\"}],\"name\":\"setOwner\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
}
Uniswapv3FactoryMetaData contains all meta data concerning the Uniswapv3Factory contract.
Functions ¶
This section is empty.
Types ¶
type Uniswapv3Factory ¶
type Uniswapv3Factory struct { Uniswapv3FactoryCaller // Read-only binding to the contract Uniswapv3FactoryTransactor // Write-only binding to the contract Uniswapv3FactoryFilterer // Log filterer for contract events }
Uniswapv3Factory is an auto generated Go binding around an Ethereum contract.
func NewUniswapv3Factory ¶
func NewUniswapv3Factory(address common.Address, backend bind.ContractBackend) (*Uniswapv3Factory, error)
NewUniswapv3Factory creates a new instance of Uniswapv3Factory, bound to a specific deployed contract.
type Uniswapv3FactoryCaller ¶
type Uniswapv3FactoryCaller struct {
// contains filtered or unexported fields
}
Uniswapv3FactoryCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewUniswapv3FactoryCaller ¶
func NewUniswapv3FactoryCaller(address common.Address, caller bind.ContractCaller) (*Uniswapv3FactoryCaller, error)
NewUniswapv3FactoryCaller creates a new read-only instance of Uniswapv3Factory, bound to a specific deployed contract.
func (*Uniswapv3FactoryCaller) FeeAmountTickSpacing ¶
func (_Uniswapv3Factory *Uniswapv3FactoryCaller) FeeAmountTickSpacing(opts *bind.CallOpts, arg0 *big.Int) (*big.Int, error)
FeeAmountTickSpacing is a free data retrieval call binding the contract method 0x22afcccb.
Solidity: function feeAmountTickSpacing(uint24 ) view returns(int24)
func (*Uniswapv3FactoryCaller) GetPool ¶
func (_Uniswapv3Factory *Uniswapv3FactoryCaller) GetPool(opts *bind.CallOpts, arg0 common.Address, arg1 common.Address, arg2 *big.Int) (common.Address, error)
GetPool is a free data retrieval call binding the contract method 0x1698ee82.
Solidity: function getPool(address , address , uint24 ) view returns(address)
func (*Uniswapv3FactoryCaller) Owner ¶
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() view returns(address)
func (*Uniswapv3FactoryCaller) Parameters ¶
func (_Uniswapv3Factory *Uniswapv3FactoryCaller) Parameters(opts *bind.CallOpts) (struct { Factory common.Address Token0 common.Address Token1 common.Address Fee *big.Int TickSpacing *big.Int }, error, )
Parameters is a free data retrieval call binding the contract method 0x89035730.
Solidity: function parameters() view returns(address factory, address token0, address token1, uint24 fee, int24 tickSpacing)
type Uniswapv3FactoryCallerRaw ¶
type Uniswapv3FactoryCallerRaw struct {
Contract *Uniswapv3FactoryCaller // Generic read-only contract binding to access the raw methods on
}
Uniswapv3FactoryCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*Uniswapv3FactoryCallerRaw) Call ¶
func (_Uniswapv3Factory *Uniswapv3FactoryCallerRaw) 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 Uniswapv3FactoryCallerSession ¶
type Uniswapv3FactoryCallerSession struct { Contract *Uniswapv3FactoryCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
Uniswapv3FactoryCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*Uniswapv3FactoryCallerSession) FeeAmountTickSpacing ¶
func (_Uniswapv3Factory *Uniswapv3FactoryCallerSession) FeeAmountTickSpacing(arg0 *big.Int) (*big.Int, error)
FeeAmountTickSpacing is a free data retrieval call binding the contract method 0x22afcccb.
Solidity: function feeAmountTickSpacing(uint24 ) view returns(int24)
func (*Uniswapv3FactoryCallerSession) GetPool ¶
func (_Uniswapv3Factory *Uniswapv3FactoryCallerSession) GetPool(arg0 common.Address, arg1 common.Address, arg2 *big.Int) (common.Address, error)
GetPool is a free data retrieval call binding the contract method 0x1698ee82.
Solidity: function getPool(address , address , uint24 ) view returns(address)
func (*Uniswapv3FactoryCallerSession) Owner ¶
func (_Uniswapv3Factory *Uniswapv3FactoryCallerSession) Owner() (common.Address, error)
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() view returns(address)
func (*Uniswapv3FactoryCallerSession) Parameters ¶
func (_Uniswapv3Factory *Uniswapv3FactoryCallerSession) Parameters() (struct { Factory common.Address Token0 common.Address Token1 common.Address Fee *big.Int TickSpacing *big.Int }, error, )
Parameters is a free data retrieval call binding the contract method 0x89035730.
Solidity: function parameters() view returns(address factory, address token0, address token1, uint24 fee, int24 tickSpacing)
type Uniswapv3FactoryFeeAmountEnabled ¶
type Uniswapv3FactoryFeeAmountEnabled struct { Fee *big.Int TickSpacing *big.Int Raw types.Log // Blockchain specific contextual infos }
Uniswapv3FactoryFeeAmountEnabled represents a FeeAmountEnabled event raised by the Uniswapv3Factory contract.
type Uniswapv3FactoryFeeAmountEnabledIterator ¶
type Uniswapv3FactoryFeeAmountEnabledIterator struct { Event *Uniswapv3FactoryFeeAmountEnabled // Event containing the contract specifics and raw log // contains filtered or unexported fields }
Uniswapv3FactoryFeeAmountEnabledIterator is returned from FilterFeeAmountEnabled and is used to iterate over the raw logs and unpacked data for FeeAmountEnabled events raised by the Uniswapv3Factory contract.
func (*Uniswapv3FactoryFeeAmountEnabledIterator) Close ¶
func (it *Uniswapv3FactoryFeeAmountEnabledIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*Uniswapv3FactoryFeeAmountEnabledIterator) Error ¶
func (it *Uniswapv3FactoryFeeAmountEnabledIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*Uniswapv3FactoryFeeAmountEnabledIterator) Next ¶
func (it *Uniswapv3FactoryFeeAmountEnabledIterator) 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 Uniswapv3FactoryFilterer ¶
type Uniswapv3FactoryFilterer struct {
// contains filtered or unexported fields
}
Uniswapv3FactoryFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewUniswapv3FactoryFilterer ¶
func NewUniswapv3FactoryFilterer(address common.Address, filterer bind.ContractFilterer) (*Uniswapv3FactoryFilterer, error)
NewUniswapv3FactoryFilterer creates a new log filterer instance of Uniswapv3Factory, bound to a specific deployed contract.
func (*Uniswapv3FactoryFilterer) FilterFeeAmountEnabled ¶
func (_Uniswapv3Factory *Uniswapv3FactoryFilterer) FilterFeeAmountEnabled(opts *bind.FilterOpts, fee []*big.Int, tickSpacing []*big.Int) (*Uniswapv3FactoryFeeAmountEnabledIterator, error)
FilterFeeAmountEnabled is a free log retrieval operation binding the contract event 0xc66a3fdf07232cdd185febcc6579d408c241b47ae2f9907d84be655141eeaecc.
Solidity: event FeeAmountEnabled(uint24 indexed fee, int24 indexed tickSpacing)
func (*Uniswapv3FactoryFilterer) FilterOwnerChanged ¶
func (_Uniswapv3Factory *Uniswapv3FactoryFilterer) FilterOwnerChanged(opts *bind.FilterOpts, oldOwner []common.Address, newOwner []common.Address) (*Uniswapv3FactoryOwnerChangedIterator, error)
FilterOwnerChanged is a free log retrieval operation binding the contract event 0xb532073b38c83145e3e5135377a08bf9aab55bc0fd7c1179cd4fb995d2a5159c.
Solidity: event OwnerChanged(address indexed oldOwner, address indexed newOwner)
func (*Uniswapv3FactoryFilterer) FilterPoolCreated ¶
func (_Uniswapv3Factory *Uniswapv3FactoryFilterer) FilterPoolCreated(opts *bind.FilterOpts, token0 []common.Address, token1 []common.Address, fee []*big.Int) (*Uniswapv3FactoryPoolCreatedIterator, 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 (*Uniswapv3FactoryFilterer) ParseFeeAmountEnabled ¶
func (_Uniswapv3Factory *Uniswapv3FactoryFilterer) ParseFeeAmountEnabled(log types.Log) (*Uniswapv3FactoryFeeAmountEnabled, error)
ParseFeeAmountEnabled is a log parse operation binding the contract event 0xc66a3fdf07232cdd185febcc6579d408c241b47ae2f9907d84be655141eeaecc.
Solidity: event FeeAmountEnabled(uint24 indexed fee, int24 indexed tickSpacing)
func (*Uniswapv3FactoryFilterer) ParseOwnerChanged ¶
func (_Uniswapv3Factory *Uniswapv3FactoryFilterer) ParseOwnerChanged(log types.Log) (*Uniswapv3FactoryOwnerChanged, error)
ParseOwnerChanged is a log parse operation binding the contract event 0xb532073b38c83145e3e5135377a08bf9aab55bc0fd7c1179cd4fb995d2a5159c.
Solidity: event OwnerChanged(address indexed oldOwner, address indexed newOwner)
func (*Uniswapv3FactoryFilterer) ParsePoolCreated ¶
func (_Uniswapv3Factory *Uniswapv3FactoryFilterer) ParsePoolCreated(log types.Log) (*Uniswapv3FactoryPoolCreated, 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 (*Uniswapv3FactoryFilterer) WatchFeeAmountEnabled ¶
func (_Uniswapv3Factory *Uniswapv3FactoryFilterer) WatchFeeAmountEnabled(opts *bind.WatchOpts, sink chan<- *Uniswapv3FactoryFeeAmountEnabled, 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 (*Uniswapv3FactoryFilterer) WatchOwnerChanged ¶
func (_Uniswapv3Factory *Uniswapv3FactoryFilterer) WatchOwnerChanged(opts *bind.WatchOpts, sink chan<- *Uniswapv3FactoryOwnerChanged, 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 (*Uniswapv3FactoryFilterer) WatchPoolCreated ¶
func (_Uniswapv3Factory *Uniswapv3FactoryFilterer) WatchPoolCreated(opts *bind.WatchOpts, sink chan<- *Uniswapv3FactoryPoolCreated, 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 Uniswapv3FactoryOwnerChanged ¶
type Uniswapv3FactoryOwnerChanged struct { OldOwner common.Address NewOwner common.Address Raw types.Log // Blockchain specific contextual infos }
Uniswapv3FactoryOwnerChanged represents a OwnerChanged event raised by the Uniswapv3Factory contract.
type Uniswapv3FactoryOwnerChangedIterator ¶
type Uniswapv3FactoryOwnerChangedIterator struct { Event *Uniswapv3FactoryOwnerChanged // Event containing the contract specifics and raw log // contains filtered or unexported fields }
Uniswapv3FactoryOwnerChangedIterator is returned from FilterOwnerChanged and is used to iterate over the raw logs and unpacked data for OwnerChanged events raised by the Uniswapv3Factory contract.
func (*Uniswapv3FactoryOwnerChangedIterator) Close ¶
func (it *Uniswapv3FactoryOwnerChangedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*Uniswapv3FactoryOwnerChangedIterator) Error ¶
func (it *Uniswapv3FactoryOwnerChangedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*Uniswapv3FactoryOwnerChangedIterator) Next ¶
func (it *Uniswapv3FactoryOwnerChangedIterator) 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 Uniswapv3FactoryPoolCreated ¶
type Uniswapv3FactoryPoolCreated struct { Token0 common.Address Token1 common.Address Fee *big.Int TickSpacing *big.Int Pool common.Address Raw types.Log // Blockchain specific contextual infos }
Uniswapv3FactoryPoolCreated represents a PoolCreated event raised by the Uniswapv3Factory contract.
type Uniswapv3FactoryPoolCreatedIterator ¶
type Uniswapv3FactoryPoolCreatedIterator struct { Event *Uniswapv3FactoryPoolCreated // Event containing the contract specifics and raw log // contains filtered or unexported fields }
Uniswapv3FactoryPoolCreatedIterator is returned from FilterPoolCreated and is used to iterate over the raw logs and unpacked data for PoolCreated events raised by the Uniswapv3Factory contract.
func (*Uniswapv3FactoryPoolCreatedIterator) Close ¶
func (it *Uniswapv3FactoryPoolCreatedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*Uniswapv3FactoryPoolCreatedIterator) Error ¶
func (it *Uniswapv3FactoryPoolCreatedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*Uniswapv3FactoryPoolCreatedIterator) Next ¶
func (it *Uniswapv3FactoryPoolCreatedIterator) 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 Uniswapv3FactoryRaw ¶
type Uniswapv3FactoryRaw struct {
Contract *Uniswapv3Factory // Generic contract binding to access the raw methods on
}
Uniswapv3FactoryRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*Uniswapv3FactoryRaw) Call ¶
func (_Uniswapv3Factory *Uniswapv3FactoryRaw) 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 (*Uniswapv3FactoryRaw) Transact ¶
func (_Uniswapv3Factory *Uniswapv3FactoryRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*Uniswapv3FactoryRaw) Transfer ¶
func (_Uniswapv3Factory *Uniswapv3FactoryRaw) 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 Uniswapv3FactorySession ¶
type Uniswapv3FactorySession struct { Contract *Uniswapv3Factory // 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 }
Uniswapv3FactorySession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*Uniswapv3FactorySession) CreatePool ¶
func (_Uniswapv3Factory *Uniswapv3FactorySession) 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 (*Uniswapv3FactorySession) EnableFeeAmount ¶
func (_Uniswapv3Factory *Uniswapv3FactorySession) 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 (*Uniswapv3FactorySession) FeeAmountTickSpacing ¶
func (_Uniswapv3Factory *Uniswapv3FactorySession) FeeAmountTickSpacing(arg0 *big.Int) (*big.Int, error)
FeeAmountTickSpacing is a free data retrieval call binding the contract method 0x22afcccb.
Solidity: function feeAmountTickSpacing(uint24 ) view returns(int24)
func (*Uniswapv3FactorySession) GetPool ¶
func (_Uniswapv3Factory *Uniswapv3FactorySession) GetPool(arg0 common.Address, arg1 common.Address, arg2 *big.Int) (common.Address, error)
GetPool is a free data retrieval call binding the contract method 0x1698ee82.
Solidity: function getPool(address , address , uint24 ) view returns(address)
func (*Uniswapv3FactorySession) Owner ¶
func (_Uniswapv3Factory *Uniswapv3FactorySession) Owner() (common.Address, error)
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() view returns(address)
func (*Uniswapv3FactorySession) Parameters ¶
func (_Uniswapv3Factory *Uniswapv3FactorySession) Parameters() (struct { Factory common.Address Token0 common.Address Token1 common.Address Fee *big.Int TickSpacing *big.Int }, error, )
Parameters is a free data retrieval call binding the contract method 0x89035730.
Solidity: function parameters() view returns(address factory, address token0, address token1, uint24 fee, int24 tickSpacing)
func (*Uniswapv3FactorySession) SetOwner ¶
func (_Uniswapv3Factory *Uniswapv3FactorySession) 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 Uniswapv3FactoryTransactor ¶
type Uniswapv3FactoryTransactor struct {
// contains filtered or unexported fields
}
Uniswapv3FactoryTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewUniswapv3FactoryTransactor ¶
func NewUniswapv3FactoryTransactor(address common.Address, transactor bind.ContractTransactor) (*Uniswapv3FactoryTransactor, error)
NewUniswapv3FactoryTransactor creates a new write-only instance of Uniswapv3Factory, bound to a specific deployed contract.
func (*Uniswapv3FactoryTransactor) CreatePool ¶
func (_Uniswapv3Factory *Uniswapv3FactoryTransactor) 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 (*Uniswapv3FactoryTransactor) EnableFeeAmount ¶
func (_Uniswapv3Factory *Uniswapv3FactoryTransactor) 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 (*Uniswapv3FactoryTransactor) SetOwner ¶
func (_Uniswapv3Factory *Uniswapv3FactoryTransactor) 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 Uniswapv3FactoryTransactorRaw ¶
type Uniswapv3FactoryTransactorRaw struct {
Contract *Uniswapv3FactoryTransactor // Generic write-only contract binding to access the raw methods on
}
Uniswapv3FactoryTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*Uniswapv3FactoryTransactorRaw) Transact ¶
func (_Uniswapv3Factory *Uniswapv3FactoryTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*Uniswapv3FactoryTransactorRaw) Transfer ¶
func (_Uniswapv3Factory *Uniswapv3FactoryTransactorRaw) 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 Uniswapv3FactoryTransactorSession ¶
type Uniswapv3FactoryTransactorSession struct { Contract *Uniswapv3FactoryTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
Uniswapv3FactoryTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*Uniswapv3FactoryTransactorSession) CreatePool ¶
func (_Uniswapv3Factory *Uniswapv3FactoryTransactorSession) 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 (*Uniswapv3FactoryTransactorSession) EnableFeeAmount ¶
func (_Uniswapv3Factory *Uniswapv3FactoryTransactorSession) 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 (*Uniswapv3FactoryTransactorSession) SetOwner ¶
func (_Uniswapv3Factory *Uniswapv3FactoryTransactorSession) SetOwner(_owner common.Address) (*types.Transaction, error)
SetOwner is a paid mutator transaction binding the contract method 0x13af4035.
Solidity: function setOwner(address _owner) returns()