uniswapv3factory

package
v0.0.0-...-ae8d08c Latest Latest
Warning

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

Go to latest
Published: Mar 4, 2025 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Uniswapv3factoryABI = Uniswapv3factoryMetaData.ABI

Uniswapv3factoryABI is the input ABI used to generate the binding from. Deprecated: Use Uniswapv3factoryMetaData.ABI instead.

View Source
var Uniswapv3factoryMetaData = &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\":\"previousOwner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"OwnershipTransferred\",\"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\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint8\",\"name\":\"feeProtocol0Old\",\"type\":\"uint8\"},{\"indexed\":false,\"internalType\":\"uint8\",\"name\":\"feeProtocol1Old\",\"type\":\"uint8\"},{\"indexed\":false,\"internalType\":\"uint8\",\"name\":\"feeProtocol0New\",\"type\":\"uint8\"},{\"indexed\":false,\"internalType\":\"uint8\",\"name\":\"feeProtocol1New\",\"type\":\"uint8\"}],\"name\":\"SetFeeProtocol\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"feeToOld\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"feeTo\",\"type\":\"address\"}],\"name\":\"SetFeeTo\",\"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\":[],\"name\":\"feeProtocol\",\"outputs\":[{\"internalType\":\"uint8\",\"name\":\"\",\"type\":\"uint8\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"feeTo\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"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\":\"getUniswapV3PoolImplementation\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"initialize\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"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\":[],\"name\":\"renounceOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint8\",\"name\":\"feeProtocol0\",\"type\":\"uint8\"},{\"internalType\":\"uint8\",\"name\":\"feeProtocol1\",\"type\":\"uint8\"}],\"name\":\"setFeeProtocol\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"feeToArg\",\"type\":\"address\"}],\"name\":\"setFeeTo\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"uniswapV3PoolImplementationArg\",\"type\":\"address\"}],\"name\":\"setUniswapV3PoolImplementation\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"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) FeeProtocol

func (_Uniswapv3factory *Uniswapv3factoryCaller) FeeProtocol(opts *bind.CallOpts) (uint8, error)

FeeProtocol is a free data retrieval call binding the contract method 0x527eb4bc.

Solidity: function feeProtocol() view returns(uint8)

func (*Uniswapv3factoryCaller) FeeTo

func (_Uniswapv3factory *Uniswapv3factoryCaller) FeeTo(opts *bind.CallOpts) (common.Address, error)

FeeTo is a free data retrieval call binding the contract method 0x017e7e58.

Solidity: function feeTo() view returns(address)

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) GetUniswapV3PoolImplementation

func (_Uniswapv3factory *Uniswapv3factoryCaller) GetUniswapV3PoolImplementation(opts *bind.CallOpts) (common.Address, error)

GetUniswapV3PoolImplementation is a free data retrieval call binding the contract method 0x5c30ef7f.

Solidity: function getUniswapV3PoolImplementation() view returns(address)

func (*Uniswapv3factoryCaller) Owner

func (_Uniswapv3factory *Uniswapv3factoryCaller) Owner(opts *bind.CallOpts) (common.Address, error)

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) FeeProtocol

func (_Uniswapv3factory *Uniswapv3factoryCallerSession) FeeProtocol() (uint8, error)

FeeProtocol is a free data retrieval call binding the contract method 0x527eb4bc.

Solidity: function feeProtocol() view returns(uint8)

func (*Uniswapv3factoryCallerSession) FeeTo

func (_Uniswapv3factory *Uniswapv3factoryCallerSession) FeeTo() (common.Address, error)

FeeTo is a free data retrieval call binding the contract method 0x017e7e58.

Solidity: function feeTo() view returns(address)

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) GetUniswapV3PoolImplementation

func (_Uniswapv3factory *Uniswapv3factoryCallerSession) GetUniswapV3PoolImplementation() (common.Address, error)

GetUniswapV3PoolImplementation is a free data retrieval call binding the contract method 0x5c30ef7f.

Solidity: function getUniswapV3PoolImplementation() 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

Close terminates the iteration process, releasing any pending underlying resources.

func (*Uniswapv3factoryFeeAmountEnabledIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*Uniswapv3factoryFeeAmountEnabledIterator) Next

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) FilterOwnershipTransferred

func (_Uniswapv3factory *Uniswapv3factoryFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*Uniswapv3factoryOwnershipTransferredIterator, error)

FilterOwnershipTransferred is a free log retrieval operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.

Solidity: event OwnershipTransferred(address indexed previousOwner, 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) FilterSetFeeProtocol

func (_Uniswapv3factory *Uniswapv3factoryFilterer) FilterSetFeeProtocol(opts *bind.FilterOpts) (*Uniswapv3factorySetFeeProtocolIterator, error)

FilterSetFeeProtocol is a free log retrieval operation binding the contract event 0x973d8d92bb299f4af6ce49b52a8adb85ae46b9f214c4c4fc06ac77401237b133.

Solidity: event SetFeeProtocol(uint8 feeProtocol0Old, uint8 feeProtocol1Old, uint8 feeProtocol0New, uint8 feeProtocol1New)

func (*Uniswapv3factoryFilterer) FilterSetFeeTo

func (_Uniswapv3factory *Uniswapv3factoryFilterer) FilterSetFeeTo(opts *bind.FilterOpts) (*Uniswapv3factorySetFeeToIterator, error)

FilterSetFeeTo is a free log retrieval operation binding the contract event 0x41d2755f00068d89c23ebc6f1e73ce119a6236a44517ca061f544a3f91c9bca4.

Solidity: event SetFeeTo(address feeToOld, address feeTo)

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) ParseOwnershipTransferred

func (_Uniswapv3factory *Uniswapv3factoryFilterer) ParseOwnershipTransferred(log types.Log) (*Uniswapv3factoryOwnershipTransferred, error)

ParseOwnershipTransferred is a log parse operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.

Solidity: event OwnershipTransferred(address indexed previousOwner, 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) ParseSetFeeProtocol

func (_Uniswapv3factory *Uniswapv3factoryFilterer) ParseSetFeeProtocol(log types.Log) (*Uniswapv3factorySetFeeProtocol, error)

ParseSetFeeProtocol is a log parse operation binding the contract event 0x973d8d92bb299f4af6ce49b52a8adb85ae46b9f214c4c4fc06ac77401237b133.

Solidity: event SetFeeProtocol(uint8 feeProtocol0Old, uint8 feeProtocol1Old, uint8 feeProtocol0New, uint8 feeProtocol1New)

func (*Uniswapv3factoryFilterer) ParseSetFeeTo

func (_Uniswapv3factory *Uniswapv3factoryFilterer) ParseSetFeeTo(log types.Log) (*Uniswapv3factorySetFeeTo, error)

ParseSetFeeTo is a log parse operation binding the contract event 0x41d2755f00068d89c23ebc6f1e73ce119a6236a44517ca061f544a3f91c9bca4.

Solidity: event SetFeeTo(address feeToOld, address feeTo)

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) WatchOwnershipTransferred

func (_Uniswapv3factory *Uniswapv3factoryFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *Uniswapv3factoryOwnershipTransferred, previousOwner []common.Address, newOwner []common.Address) (event.Subscription, error)

WatchOwnershipTransferred is a free log subscription operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.

Solidity: event OwnershipTransferred(address indexed previousOwner, 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)

func (*Uniswapv3factoryFilterer) WatchSetFeeProtocol

func (_Uniswapv3factory *Uniswapv3factoryFilterer) WatchSetFeeProtocol(opts *bind.WatchOpts, sink chan<- *Uniswapv3factorySetFeeProtocol) (event.Subscription, error)

WatchSetFeeProtocol is a free log subscription operation binding the contract event 0x973d8d92bb299f4af6ce49b52a8adb85ae46b9f214c4c4fc06ac77401237b133.

Solidity: event SetFeeProtocol(uint8 feeProtocol0Old, uint8 feeProtocol1Old, uint8 feeProtocol0New, uint8 feeProtocol1New)

func (*Uniswapv3factoryFilterer) WatchSetFeeTo

func (_Uniswapv3factory *Uniswapv3factoryFilterer) WatchSetFeeTo(opts *bind.WatchOpts, sink chan<- *Uniswapv3factorySetFeeTo) (event.Subscription, error)

WatchSetFeeTo is a free log subscription operation binding the contract event 0x41d2755f00068d89c23ebc6f1e73ce119a6236a44517ca061f544a3f91c9bca4.

Solidity: event SetFeeTo(address feeToOld, address feeTo)

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

Close terminates the iteration process, releasing any pending underlying resources.

func (*Uniswapv3factoryOwnerChangedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*Uniswapv3factoryOwnerChangedIterator) Next

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 Uniswapv3factoryOwnershipTransferred

type Uniswapv3factoryOwnershipTransferred struct {
	PreviousOwner common.Address
	NewOwner      common.Address
	Raw           types.Log // Blockchain specific contextual infos
}

Uniswapv3factoryOwnershipTransferred represents a OwnershipTransferred event raised by the Uniswapv3factory contract.

type Uniswapv3factoryOwnershipTransferredIterator

type Uniswapv3factoryOwnershipTransferredIterator struct {
	Event *Uniswapv3factoryOwnershipTransferred // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

Uniswapv3factoryOwnershipTransferredIterator is returned from FilterOwnershipTransferred and is used to iterate over the raw logs and unpacked data for OwnershipTransferred events raised by the Uniswapv3factory contract.

func (*Uniswapv3factoryOwnershipTransferredIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*Uniswapv3factoryOwnershipTransferredIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*Uniswapv3factoryOwnershipTransferredIterator) Next

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

Close terminates the iteration process, releasing any pending underlying resources.

func (*Uniswapv3factoryPoolCreatedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*Uniswapv3factoryPoolCreatedIterator) Next

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) FeeProtocol

func (_Uniswapv3factory *Uniswapv3factorySession) FeeProtocol() (uint8, error)

FeeProtocol is a free data retrieval call binding the contract method 0x527eb4bc.

Solidity: function feeProtocol() view returns(uint8)

func (*Uniswapv3factorySession) FeeTo

func (_Uniswapv3factory *Uniswapv3factorySession) FeeTo() (common.Address, error)

FeeTo is a free data retrieval call binding the contract method 0x017e7e58.

Solidity: function feeTo() view returns(address)

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) GetUniswapV3PoolImplementation

func (_Uniswapv3factory *Uniswapv3factorySession) GetUniswapV3PoolImplementation() (common.Address, error)

GetUniswapV3PoolImplementation is a free data retrieval call binding the contract method 0x5c30ef7f.

Solidity: function getUniswapV3PoolImplementation() view returns(address)

func (*Uniswapv3factorySession) Initialize

func (_Uniswapv3factory *Uniswapv3factorySession) Initialize() (*types.Transaction, error)

Initialize is a paid mutator transaction binding the contract method 0x8129fc1c.

Solidity: function initialize() returns()

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) RenounceOwnership

func (_Uniswapv3factory *Uniswapv3factorySession) RenounceOwnership() (*types.Transaction, error)

RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.

Solidity: function renounceOwnership() returns()

func (*Uniswapv3factorySession) SetFeeProtocol

func (_Uniswapv3factory *Uniswapv3factorySession) SetFeeProtocol(feeProtocol0 uint8, feeProtocol1 uint8) (*types.Transaction, error)

SetFeeProtocol is a paid mutator transaction binding the contract method 0x8206a4d1.

Solidity: function setFeeProtocol(uint8 feeProtocol0, uint8 feeProtocol1) returns()

func (*Uniswapv3factorySession) SetFeeTo

func (_Uniswapv3factory *Uniswapv3factorySession) SetFeeTo(feeToArg common.Address) (*types.Transaction, error)

SetFeeTo is a paid mutator transaction binding the contract method 0xf46901ed.

Solidity: function setFeeTo(address feeToArg) returns()

func (*Uniswapv3factorySession) SetUniswapV3PoolImplementation

func (_Uniswapv3factory *Uniswapv3factorySession) SetUniswapV3PoolImplementation(uniswapV3PoolImplementationArg common.Address) (*types.Transaction, error)

SetUniswapV3PoolImplementation is a paid mutator transaction binding the contract method 0xe8bca99d.

Solidity: function setUniswapV3PoolImplementation(address uniswapV3PoolImplementationArg) returns()

func (*Uniswapv3factorySession) TransferOwnership

func (_Uniswapv3factory *Uniswapv3factorySession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)

TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.

Solidity: function transferOwnership(address newOwner) returns()

type Uniswapv3factorySetFeeProtocol

type Uniswapv3factorySetFeeProtocol struct {
	FeeProtocol0Old uint8
	FeeProtocol1Old uint8
	FeeProtocol0New uint8
	FeeProtocol1New uint8
	Raw             types.Log // Blockchain specific contextual infos
}

Uniswapv3factorySetFeeProtocol represents a SetFeeProtocol event raised by the Uniswapv3factory contract.

type Uniswapv3factorySetFeeProtocolIterator

type Uniswapv3factorySetFeeProtocolIterator struct {
	Event *Uniswapv3factorySetFeeProtocol // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

Uniswapv3factorySetFeeProtocolIterator is returned from FilterSetFeeProtocol and is used to iterate over the raw logs and unpacked data for SetFeeProtocol events raised by the Uniswapv3factory contract.

func (*Uniswapv3factorySetFeeProtocolIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*Uniswapv3factorySetFeeProtocolIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*Uniswapv3factorySetFeeProtocolIterator) Next

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 Uniswapv3factorySetFeeTo

type Uniswapv3factorySetFeeTo struct {
	FeeToOld common.Address
	FeeTo    common.Address
	Raw      types.Log // Blockchain specific contextual infos
}

Uniswapv3factorySetFeeTo represents a SetFeeTo event raised by the Uniswapv3factory contract.

type Uniswapv3factorySetFeeToIterator

type Uniswapv3factorySetFeeToIterator struct {
	Event *Uniswapv3factorySetFeeTo // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

Uniswapv3factorySetFeeToIterator is returned from FilterSetFeeTo and is used to iterate over the raw logs and unpacked data for SetFeeTo events raised by the Uniswapv3factory contract.

func (*Uniswapv3factorySetFeeToIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*Uniswapv3factorySetFeeToIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*Uniswapv3factorySetFeeToIterator) Next

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 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) Initialize

func (_Uniswapv3factory *Uniswapv3factoryTransactor) Initialize(opts *bind.TransactOpts) (*types.Transaction, error)

Initialize is a paid mutator transaction binding the contract method 0x8129fc1c.

Solidity: function initialize() returns()

func (*Uniswapv3factoryTransactor) RenounceOwnership

func (_Uniswapv3factory *Uniswapv3factoryTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)

RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.

Solidity: function renounceOwnership() returns()

func (*Uniswapv3factoryTransactor) SetFeeProtocol

func (_Uniswapv3factory *Uniswapv3factoryTransactor) SetFeeProtocol(opts *bind.TransactOpts, feeProtocol0 uint8, feeProtocol1 uint8) (*types.Transaction, error)

SetFeeProtocol is a paid mutator transaction binding the contract method 0x8206a4d1.

Solidity: function setFeeProtocol(uint8 feeProtocol0, uint8 feeProtocol1) returns()

func (*Uniswapv3factoryTransactor) SetFeeTo

func (_Uniswapv3factory *Uniswapv3factoryTransactor) SetFeeTo(opts *bind.TransactOpts, feeToArg common.Address) (*types.Transaction, error)

SetFeeTo is a paid mutator transaction binding the contract method 0xf46901ed.

Solidity: function setFeeTo(address feeToArg) returns()

func (*Uniswapv3factoryTransactor) SetUniswapV3PoolImplementation

func (_Uniswapv3factory *Uniswapv3factoryTransactor) SetUniswapV3PoolImplementation(opts *bind.TransactOpts, uniswapV3PoolImplementationArg common.Address) (*types.Transaction, error)

SetUniswapV3PoolImplementation is a paid mutator transaction binding the contract method 0xe8bca99d.

Solidity: function setUniswapV3PoolImplementation(address uniswapV3PoolImplementationArg) returns()

func (*Uniswapv3factoryTransactor) TransferOwnership

func (_Uniswapv3factory *Uniswapv3factoryTransactor) TransferOwnership(opts *bind.TransactOpts, newOwner common.Address) (*types.Transaction, error)

TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.

Solidity: function transferOwnership(address newOwner) 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) Initialize

func (_Uniswapv3factory *Uniswapv3factoryTransactorSession) Initialize() (*types.Transaction, error)

Initialize is a paid mutator transaction binding the contract method 0x8129fc1c.

Solidity: function initialize() returns()

func (*Uniswapv3factoryTransactorSession) RenounceOwnership

func (_Uniswapv3factory *Uniswapv3factoryTransactorSession) RenounceOwnership() (*types.Transaction, error)

RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.

Solidity: function renounceOwnership() returns()

func (*Uniswapv3factoryTransactorSession) SetFeeProtocol

func (_Uniswapv3factory *Uniswapv3factoryTransactorSession) SetFeeProtocol(feeProtocol0 uint8, feeProtocol1 uint8) (*types.Transaction, error)

SetFeeProtocol is a paid mutator transaction binding the contract method 0x8206a4d1.

Solidity: function setFeeProtocol(uint8 feeProtocol0, uint8 feeProtocol1) returns()

func (*Uniswapv3factoryTransactorSession) SetFeeTo

func (_Uniswapv3factory *Uniswapv3factoryTransactorSession) SetFeeTo(feeToArg common.Address) (*types.Transaction, error)

SetFeeTo is a paid mutator transaction binding the contract method 0xf46901ed.

Solidity: function setFeeTo(address feeToArg) returns()

func (*Uniswapv3factoryTransactorSession) SetUniswapV3PoolImplementation

func (_Uniswapv3factory *Uniswapv3factoryTransactorSession) SetUniswapV3PoolImplementation(uniswapV3PoolImplementationArg common.Address) (*types.Transaction, error)

SetUniswapV3PoolImplementation is a paid mutator transaction binding the contract method 0xe8bca99d.

Solidity: function setUniswapV3PoolImplementation(address uniswapV3PoolImplementationArg) returns()

func (*Uniswapv3factoryTransactorSession) TransferOwnership

func (_Uniswapv3factory *Uniswapv3factoryTransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)

TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.

Solidity: function transferOwnership(address newOwner) returns()

Jump to

Keyboard shortcuts

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