Documentation ¶
Index ¶
- Variables
- type Factory
- type FactoryCaller
- func (_Factory *FactoryCaller) FeeAmountTickSpacing(opts *bind.CallOpts, arg0 *big.Int) (*big.Int, error)
- func (_Factory *FactoryCaller) GetPool(opts *bind.CallOpts, arg0 common.Address, arg1 common.Address, arg2 *big.Int) (common.Address, error)
- func (_Factory *FactoryCaller) Owner(opts *bind.CallOpts) (common.Address, error)
- func (_Factory *FactoryCaller) Parameters(opts *bind.CallOpts) (struct{ ... }, error)
- type FactoryCallerRaw
- type FactoryCallerSession
- func (_Factory *FactoryCallerSession) FeeAmountTickSpacing(arg0 *big.Int) (*big.Int, error)
- func (_Factory *FactoryCallerSession) GetPool(arg0 common.Address, arg1 common.Address, arg2 *big.Int) (common.Address, error)
- func (_Factory *FactoryCallerSession) Owner() (common.Address, error)
- func (_Factory *FactoryCallerSession) Parameters() (struct{ ... }, error)
- type FactoryFeeAmountEnabled
- type FactoryFeeAmountEnabledIterator
- type FactoryFilterer
- func (_Factory *FactoryFilterer) FilterFeeAmountEnabled(opts *bind.FilterOpts, fee []*big.Int, tickSpacing []*big.Int) (*FactoryFeeAmountEnabledIterator, error)
- func (_Factory *FactoryFilterer) FilterOwnerChanged(opts *bind.FilterOpts, oldOwner []common.Address, newOwner []common.Address) (*FactoryOwnerChangedIterator, error)
- func (_Factory *FactoryFilterer) FilterPoolCreated(opts *bind.FilterOpts, token0 []common.Address, token1 []common.Address, ...) (*FactoryPoolCreatedIterator, error)
- func (_Factory *FactoryFilterer) ParseFeeAmountEnabled(log types.Log) (*FactoryFeeAmountEnabled, error)
- func (_Factory *FactoryFilterer) ParseOwnerChanged(log types.Log) (*FactoryOwnerChanged, error)
- func (_Factory *FactoryFilterer) ParsePoolCreated(log types.Log) (*FactoryPoolCreated, error)
- func (_Factory *FactoryFilterer) WatchFeeAmountEnabled(opts *bind.WatchOpts, sink chan<- *FactoryFeeAmountEnabled, fee []*big.Int, ...) (event.Subscription, error)
- func (_Factory *FactoryFilterer) WatchOwnerChanged(opts *bind.WatchOpts, sink chan<- *FactoryOwnerChanged, ...) (event.Subscription, error)
- func (_Factory *FactoryFilterer) WatchPoolCreated(opts *bind.WatchOpts, sink chan<- *FactoryPoolCreated, token0 []common.Address, ...) (event.Subscription, error)
- type FactoryOwnerChanged
- type FactoryOwnerChangedIterator
- type FactoryPoolCreated
- type FactoryPoolCreatedIterator
- type FactoryRaw
- func (_Factory *FactoryRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_Factory *FactoryRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_Factory *FactoryRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type FactorySession
- func (_Factory *FactorySession) CreatePool(tokenA common.Address, tokenB common.Address, fee *big.Int) (*types.Transaction, error)
- func (_Factory *FactorySession) EnableFeeAmount(fee *big.Int, tickSpacing *big.Int) (*types.Transaction, error)
- func (_Factory *FactorySession) FeeAmountTickSpacing(arg0 *big.Int) (*big.Int, error)
- func (_Factory *FactorySession) GetPool(arg0 common.Address, arg1 common.Address, arg2 *big.Int) (common.Address, error)
- func (_Factory *FactorySession) Owner() (common.Address, error)
- func (_Factory *FactorySession) Parameters() (struct{ ... }, error)
- func (_Factory *FactorySession) SetOwner(_owner common.Address) (*types.Transaction, error)
- type FactoryTransactor
- func (_Factory *FactoryTransactor) CreatePool(opts *bind.TransactOpts, tokenA common.Address, tokenB common.Address, ...) (*types.Transaction, error)
- func (_Factory *FactoryTransactor) EnableFeeAmount(opts *bind.TransactOpts, fee *big.Int, tickSpacing *big.Int) (*types.Transaction, error)
- func (_Factory *FactoryTransactor) SetOwner(opts *bind.TransactOpts, _owner common.Address) (*types.Transaction, error)
- type FactoryTransactorRaw
- type FactoryTransactorSession
- func (_Factory *FactoryTransactorSession) CreatePool(tokenA common.Address, tokenB common.Address, fee *big.Int) (*types.Transaction, error)
- func (_Factory *FactoryTransactorSession) EnableFeeAmount(fee *big.Int, tickSpacing *big.Int) (*types.Transaction, error)
- func (_Factory *FactoryTransactorSession) SetOwner(_owner common.Address) (*types.Transaction, error)
Constants ¶
This section is empty.
Variables ¶
var FactoryABI = FactoryMetaData.ABI
FactoryABI is the input ABI used to generate the binding from. Deprecated: Use FactoryMetaData.ABI instead.
var FactoryMetaData = &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\"}]",
}
FactoryMetaData contains all meta data concerning the Factory contract.
Functions ¶
This section is empty.
Types ¶
type Factory ¶
type Factory struct { FactoryCaller // Read-only binding to the contract FactoryTransactor // Write-only binding to the contract FactoryFilterer // Log filterer for contract events }
Factory is an auto generated Go binding around an Ethereum contract.
func NewFactory ¶
NewFactory creates a new instance of Factory, bound to a specific deployed contract.
type FactoryCaller ¶
type FactoryCaller struct {
// contains filtered or unexported fields
}
FactoryCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewFactoryCaller ¶
func NewFactoryCaller(address common.Address, caller bind.ContractCaller) (*FactoryCaller, error)
NewFactoryCaller creates a new read-only instance of Factory, bound to a specific deployed contract.
func (*FactoryCaller) FeeAmountTickSpacing ¶
func (_Factory *FactoryCaller) 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 (*FactoryCaller) GetPool ¶
func (_Factory *FactoryCaller) 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 (*FactoryCaller) Owner ¶
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() view returns(address)
func (*FactoryCaller) Parameters ¶
func (_Factory *FactoryCaller) 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 FactoryCallerRaw ¶
type FactoryCallerRaw struct {
Contract *FactoryCaller // Generic read-only contract binding to access the raw methods on
}
FactoryCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*FactoryCallerRaw) Call ¶
func (_Factory *FactoryCallerRaw) 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 FactoryCallerSession ¶
type FactoryCallerSession struct { Contract *FactoryCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
FactoryCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*FactoryCallerSession) FeeAmountTickSpacing ¶
FeeAmountTickSpacing is a free data retrieval call binding the contract method 0x22afcccb.
Solidity: function feeAmountTickSpacing(uint24 ) view returns(int24)
func (*FactoryCallerSession) GetPool ¶
func (_Factory *FactoryCallerSession) 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 (*FactoryCallerSession) Owner ¶
func (_Factory *FactoryCallerSession) Owner() (common.Address, error)
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() view returns(address)
func (*FactoryCallerSession) Parameters ¶
func (_Factory *FactoryCallerSession) 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 FactoryFeeAmountEnabled ¶
type FactoryFeeAmountEnabled struct { Fee *big.Int TickSpacing *big.Int Raw types.Log // Blockchain specific contextual infos }
FactoryFeeAmountEnabled represents a FeeAmountEnabled event raised by the Factory contract.
type FactoryFeeAmountEnabledIterator ¶
type FactoryFeeAmountEnabledIterator struct { Event *FactoryFeeAmountEnabled // Event containing the contract specifics and raw log // contains filtered or unexported fields }
FactoryFeeAmountEnabledIterator is returned from FilterFeeAmountEnabled and is used to iterate over the raw logs and unpacked data for FeeAmountEnabled events raised by the Factory contract.
func (*FactoryFeeAmountEnabledIterator) Close ¶
func (it *FactoryFeeAmountEnabledIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*FactoryFeeAmountEnabledIterator) Error ¶
func (it *FactoryFeeAmountEnabledIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*FactoryFeeAmountEnabledIterator) Next ¶
func (it *FactoryFeeAmountEnabledIterator) 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 FactoryFilterer ¶
type FactoryFilterer struct {
// contains filtered or unexported fields
}
FactoryFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewFactoryFilterer ¶
func NewFactoryFilterer(address common.Address, filterer bind.ContractFilterer) (*FactoryFilterer, error)
NewFactoryFilterer creates a new log filterer instance of Factory, bound to a specific deployed contract.
func (*FactoryFilterer) FilterFeeAmountEnabled ¶
func (_Factory *FactoryFilterer) FilterFeeAmountEnabled(opts *bind.FilterOpts, fee []*big.Int, tickSpacing []*big.Int) (*FactoryFeeAmountEnabledIterator, error)
FilterFeeAmountEnabled is a free log retrieval operation binding the contract event 0xc66a3fdf07232cdd185febcc6579d408c241b47ae2f9907d84be655141eeaecc.
Solidity: event FeeAmountEnabled(uint24 indexed fee, int24 indexed tickSpacing)
func (*FactoryFilterer) FilterOwnerChanged ¶
func (_Factory *FactoryFilterer) FilterOwnerChanged(opts *bind.FilterOpts, oldOwner []common.Address, newOwner []common.Address) (*FactoryOwnerChangedIterator, error)
FilterOwnerChanged is a free log retrieval operation binding the contract event 0xb532073b38c83145e3e5135377a08bf9aab55bc0fd7c1179cd4fb995d2a5159c.
Solidity: event OwnerChanged(address indexed oldOwner, address indexed newOwner)
func (*FactoryFilterer) FilterPoolCreated ¶
func (_Factory *FactoryFilterer) FilterPoolCreated(opts *bind.FilterOpts, token0 []common.Address, token1 []common.Address, fee []*big.Int) (*FactoryPoolCreatedIterator, 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 (*FactoryFilterer) ParseFeeAmountEnabled ¶
func (_Factory *FactoryFilterer) ParseFeeAmountEnabled(log types.Log) (*FactoryFeeAmountEnabled, error)
ParseFeeAmountEnabled is a log parse operation binding the contract event 0xc66a3fdf07232cdd185febcc6579d408c241b47ae2f9907d84be655141eeaecc.
Solidity: event FeeAmountEnabled(uint24 indexed fee, int24 indexed tickSpacing)
func (*FactoryFilterer) ParseOwnerChanged ¶
func (_Factory *FactoryFilterer) ParseOwnerChanged(log types.Log) (*FactoryOwnerChanged, error)
ParseOwnerChanged is a log parse operation binding the contract event 0xb532073b38c83145e3e5135377a08bf9aab55bc0fd7c1179cd4fb995d2a5159c.
Solidity: event OwnerChanged(address indexed oldOwner, address indexed newOwner)
func (*FactoryFilterer) ParsePoolCreated ¶
func (_Factory *FactoryFilterer) ParsePoolCreated(log types.Log) (*FactoryPoolCreated, 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 (*FactoryFilterer) WatchFeeAmountEnabled ¶
func (_Factory *FactoryFilterer) WatchFeeAmountEnabled(opts *bind.WatchOpts, sink chan<- *FactoryFeeAmountEnabled, 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 (*FactoryFilterer) WatchOwnerChanged ¶
func (_Factory *FactoryFilterer) WatchOwnerChanged(opts *bind.WatchOpts, sink chan<- *FactoryOwnerChanged, 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 (*FactoryFilterer) WatchPoolCreated ¶
func (_Factory *FactoryFilterer) WatchPoolCreated(opts *bind.WatchOpts, sink chan<- *FactoryPoolCreated, 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 FactoryOwnerChanged ¶
type FactoryOwnerChanged struct { OldOwner common.Address NewOwner common.Address Raw types.Log // Blockchain specific contextual infos }
FactoryOwnerChanged represents a OwnerChanged event raised by the Factory contract.
type FactoryOwnerChangedIterator ¶
type FactoryOwnerChangedIterator struct { Event *FactoryOwnerChanged // Event containing the contract specifics and raw log // contains filtered or unexported fields }
FactoryOwnerChangedIterator is returned from FilterOwnerChanged and is used to iterate over the raw logs and unpacked data for OwnerChanged events raised by the Factory contract.
func (*FactoryOwnerChangedIterator) Close ¶
func (it *FactoryOwnerChangedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*FactoryOwnerChangedIterator) Error ¶
func (it *FactoryOwnerChangedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*FactoryOwnerChangedIterator) Next ¶
func (it *FactoryOwnerChangedIterator) 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 FactoryPoolCreated ¶
type FactoryPoolCreated struct { Token0 common.Address Token1 common.Address Fee *big.Int TickSpacing *big.Int Pool common.Address Raw types.Log // Blockchain specific contextual infos }
FactoryPoolCreated represents a PoolCreated event raised by the Factory contract.
type FactoryPoolCreatedIterator ¶
type FactoryPoolCreatedIterator struct { Event *FactoryPoolCreated // Event containing the contract specifics and raw log // contains filtered or unexported fields }
FactoryPoolCreatedIterator is returned from FilterPoolCreated and is used to iterate over the raw logs and unpacked data for PoolCreated events raised by the Factory contract.
func (*FactoryPoolCreatedIterator) Close ¶
func (it *FactoryPoolCreatedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*FactoryPoolCreatedIterator) Error ¶
func (it *FactoryPoolCreatedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*FactoryPoolCreatedIterator) Next ¶
func (it *FactoryPoolCreatedIterator) 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 FactoryRaw ¶
type FactoryRaw struct {
Contract *Factory // Generic contract binding to access the raw methods on
}
FactoryRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*FactoryRaw) Call ¶
func (_Factory *FactoryRaw) 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 (*FactoryRaw) Transact ¶
func (_Factory *FactoryRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*FactoryRaw) Transfer ¶
func (_Factory *FactoryRaw) 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 FactorySession ¶
type FactorySession struct { Contract *Factory // 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 }
FactorySession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*FactorySession) CreatePool ¶
func (_Factory *FactorySession) 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 (*FactorySession) EnableFeeAmount ¶
func (_Factory *FactorySession) 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 (*FactorySession) FeeAmountTickSpacing ¶
FeeAmountTickSpacing is a free data retrieval call binding the contract method 0x22afcccb.
Solidity: function feeAmountTickSpacing(uint24 ) view returns(int24)
func (*FactorySession) GetPool ¶
func (_Factory *FactorySession) 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 (*FactorySession) Owner ¶
func (_Factory *FactorySession) Owner() (common.Address, error)
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() view returns(address)
func (*FactorySession) Parameters ¶
func (_Factory *FactorySession) 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 (*FactorySession) SetOwner ¶
func (_Factory *FactorySession) 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 FactoryTransactor ¶
type FactoryTransactor struct {
// contains filtered or unexported fields
}
FactoryTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewFactoryTransactor ¶
func NewFactoryTransactor(address common.Address, transactor bind.ContractTransactor) (*FactoryTransactor, error)
NewFactoryTransactor creates a new write-only instance of Factory, bound to a specific deployed contract.
func (*FactoryTransactor) CreatePool ¶
func (_Factory *FactoryTransactor) 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 (*FactoryTransactor) EnableFeeAmount ¶
func (_Factory *FactoryTransactor) 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 (*FactoryTransactor) SetOwner ¶
func (_Factory *FactoryTransactor) 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 FactoryTransactorRaw ¶
type FactoryTransactorRaw struct {
Contract *FactoryTransactor // Generic write-only contract binding to access the raw methods on
}
FactoryTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*FactoryTransactorRaw) Transact ¶
func (_Factory *FactoryTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*FactoryTransactorRaw) Transfer ¶
func (_Factory *FactoryTransactorRaw) 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 FactoryTransactorSession ¶
type FactoryTransactorSession struct { Contract *FactoryTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
FactoryTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*FactoryTransactorSession) CreatePool ¶
func (_Factory *FactoryTransactorSession) 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 (*FactoryTransactorSession) EnableFeeAmount ¶
func (_Factory *FactoryTransactorSession) 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 (*FactoryTransactorSession) SetOwner ¶
func (_Factory *FactoryTransactorSession) SetOwner(_owner common.Address) (*types.Transaction, error)
SetOwner is a paid mutator transaction binding the contract method 0x13af4035.
Solidity: function setOwner(address _owner) returns()