Documentation
¶
Index ¶
- Variables
- type Factory
- type FactoryCaller
- func (_Factory *FactoryCaller) FeeAmountTickSpacing(opts *bind.CallOpts, arg0 *big.Int) (*big.Int, error)
- func (_Factory *FactoryCaller) FeeAmountTickSpacingExtraInfo(opts *bind.CallOpts, arg0 *big.Int) (struct{ ... }, error)
- func (_Factory *FactoryCaller) GetPool(opts *bind.CallOpts, arg0 common.Address, arg1 common.Address, arg2 *big.Int) (common.Address, error)
- func (_Factory *FactoryCaller) LmPoolDeployer(opts *bind.CallOpts) (common.Address, error)
- func (_Factory *FactoryCaller) Owner(opts *bind.CallOpts) (common.Address, error)
- func (_Factory *FactoryCaller) PoolDeployer(opts *bind.CallOpts) (common.Address, error)
- type FactoryCallerRaw
- type FactoryCallerSession
- func (_Factory *FactoryCallerSession) FeeAmountTickSpacing(arg0 *big.Int) (*big.Int, error)
- func (_Factory *FactoryCallerSession) FeeAmountTickSpacingExtraInfo(arg0 *big.Int) (struct{ ... }, error)
- func (_Factory *FactoryCallerSession) GetPool(arg0 common.Address, arg1 common.Address, arg2 *big.Int) (common.Address, error)
- func (_Factory *FactoryCallerSession) LmPoolDeployer() (common.Address, error)
- func (_Factory *FactoryCallerSession) Owner() (common.Address, error)
- func (_Factory *FactoryCallerSession) PoolDeployer() (common.Address, error)
- type FactoryFeeAmountEnabled
- type FactoryFeeAmountEnabledIterator
- type FactoryFeeAmountExtraInfoUpdated
- type FactoryFeeAmountExtraInfoUpdatedIterator
- type FactoryFilterer
- func (_Factory *FactoryFilterer) FilterFeeAmountEnabled(opts *bind.FilterOpts, fee []*big.Int, tickSpacing []*big.Int) (*FactoryFeeAmountEnabledIterator, error)
- func (_Factory *FactoryFilterer) FilterFeeAmountExtraInfoUpdated(opts *bind.FilterOpts, fee []*big.Int) (*FactoryFeeAmountExtraInfoUpdatedIterator, 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) FilterSetLmPoolDeployer(opts *bind.FilterOpts, lmPoolDeployer []common.Address) (*FactorySetLmPoolDeployerIterator, error)
- func (_Factory *FactoryFilterer) FilterWhiteListAdded(opts *bind.FilterOpts, user []common.Address) (*FactoryWhiteListAddedIterator, error)
- func (_Factory *FactoryFilterer) ParseFeeAmountEnabled(log types.Log) (*FactoryFeeAmountEnabled, error)
- func (_Factory *FactoryFilterer) ParseFeeAmountExtraInfoUpdated(log types.Log) (*FactoryFeeAmountExtraInfoUpdated, error)
- func (_Factory *FactoryFilterer) ParseOwnerChanged(log types.Log) (*FactoryOwnerChanged, error)
- func (_Factory *FactoryFilterer) ParsePoolCreated(log types.Log) (*FactoryPoolCreated, error)
- func (_Factory *FactoryFilterer) ParseSetLmPoolDeployer(log types.Log) (*FactorySetLmPoolDeployer, error)
- func (_Factory *FactoryFilterer) ParseWhiteListAdded(log types.Log) (*FactoryWhiteListAdded, error)
- func (_Factory *FactoryFilterer) WatchFeeAmountEnabled(opts *bind.WatchOpts, sink chan<- *FactoryFeeAmountEnabled, fee []*big.Int, ...) (event.Subscription, error)
- func (_Factory *FactoryFilterer) WatchFeeAmountExtraInfoUpdated(opts *bind.WatchOpts, sink chan<- *FactoryFeeAmountExtraInfoUpdated, ...) (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)
- func (_Factory *FactoryFilterer) WatchSetLmPoolDeployer(opts *bind.WatchOpts, sink chan<- *FactorySetLmPoolDeployer, ...) (event.Subscription, error)
- func (_Factory *FactoryFilterer) WatchWhiteListAdded(opts *bind.WatchOpts, sink chan<- *FactoryWhiteListAdded, ...) (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) CollectProtocol(pool common.Address, recipient common.Address, amount0Requested *big.Int, ...) (*types.Transaction, error)
- 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) FeeAmountTickSpacingExtraInfo(arg0 *big.Int) (struct{ ... }, error)
- func (_Factory *FactorySession) GetPool(arg0 common.Address, arg1 common.Address, arg2 *big.Int) (common.Address, error)
- func (_Factory *FactorySession) LmPoolDeployer() (common.Address, error)
- func (_Factory *FactorySession) Owner() (common.Address, error)
- func (_Factory *FactorySession) PoolDeployer() (common.Address, error)
- func (_Factory *FactorySession) SetFeeAmountExtraInfo(fee *big.Int, whitelistRequested bool, enabled bool) (*types.Transaction, error)
- func (_Factory *FactorySession) SetFeeProtocol(pool common.Address, feeProtocol0 uint32, feeProtocol1 uint32) (*types.Transaction, error)
- func (_Factory *FactorySession) SetLmPool(pool common.Address, lmPool common.Address) (*types.Transaction, error)
- func (_Factory *FactorySession) SetLmPoolDeployer(_lmPoolDeployer common.Address) (*types.Transaction, error)
- func (_Factory *FactorySession) SetOwner(_owner common.Address) (*types.Transaction, error)
- func (_Factory *FactorySession) SetWhiteListAddress(user common.Address, verified bool) (*types.Transaction, error)
- type FactorySetLmPoolDeployer
- type FactorySetLmPoolDeployerIterator
- type FactoryTransactor
- func (_Factory *FactoryTransactor) CollectProtocol(opts *bind.TransactOpts, pool common.Address, recipient common.Address, ...) (*types.Transaction, error)
- 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) SetFeeAmountExtraInfo(opts *bind.TransactOpts, fee *big.Int, whitelistRequested bool, enabled bool) (*types.Transaction, error)
- func (_Factory *FactoryTransactor) SetFeeProtocol(opts *bind.TransactOpts, pool common.Address, feeProtocol0 uint32, ...) (*types.Transaction, error)
- func (_Factory *FactoryTransactor) SetLmPool(opts *bind.TransactOpts, pool common.Address, lmPool common.Address) (*types.Transaction, error)
- func (_Factory *FactoryTransactor) SetLmPoolDeployer(opts *bind.TransactOpts, _lmPoolDeployer common.Address) (*types.Transaction, error)
- func (_Factory *FactoryTransactor) SetOwner(opts *bind.TransactOpts, _owner common.Address) (*types.Transaction, error)
- func (_Factory *FactoryTransactor) SetWhiteListAddress(opts *bind.TransactOpts, user common.Address, verified bool) (*types.Transaction, error)
- type FactoryTransactorRaw
- type FactoryTransactorSession
- func (_Factory *FactoryTransactorSession) CollectProtocol(pool common.Address, recipient common.Address, amount0Requested *big.Int, ...) (*types.Transaction, error)
- 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) SetFeeAmountExtraInfo(fee *big.Int, whitelistRequested bool, enabled bool) (*types.Transaction, error)
- func (_Factory *FactoryTransactorSession) SetFeeProtocol(pool common.Address, feeProtocol0 uint32, feeProtocol1 uint32) (*types.Transaction, error)
- func (_Factory *FactoryTransactorSession) SetLmPool(pool common.Address, lmPool common.Address) (*types.Transaction, error)
- func (_Factory *FactoryTransactorSession) SetLmPoolDeployer(_lmPoolDeployer common.Address) (*types.Transaction, error)
- func (_Factory *FactoryTransactorSession) SetOwner(_owner common.Address) (*types.Transaction, error)
- func (_Factory *FactoryTransactorSession) SetWhiteListAddress(user common.Address, verified bool) (*types.Transaction, error)
- type FactoryWhiteListAdded
- type FactoryWhiteListAddedIterator
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\":[{\"internalType\":\"address\",\"name\":\"_poolDeployer\",\"type\":\"address\"}],\"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\":\"uint24\",\"name\":\"fee\",\"type\":\"uint24\"},{\"indexed\":false,\"internalType\":\"bool\",\"name\":\"whitelistRequested\",\"type\":\"bool\"},{\"indexed\":false,\"internalType\":\"bool\",\"name\":\"enabled\",\"type\":\"bool\"}],\"name\":\"FeeAmountExtraInfoUpdated\",\"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\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"lmPoolDeployer\",\"type\":\"address\"}],\"name\":\"SetLmPoolDeployer\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"user\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"bool\",\"name\":\"verified\",\"type\":\"bool\"}],\"name\":\"WhiteListAdded\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"pool\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"internalType\":\"uint128\",\"name\":\"amount0Requested\",\"type\":\"uint128\"},{\"internalType\":\"uint128\",\"name\":\"amount1Requested\",\"type\":\"uint128\"}],\"name\":\"collectProtocol\",\"outputs\":[{\"internalType\":\"uint128\",\"name\":\"amount0\",\"type\":\"uint128\"},{\"internalType\":\"uint128\",\"name\":\"amount1\",\"type\":\"uint128\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"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\":\"uint24\",\"name\":\"\",\"type\":\"uint24\"}],\"name\":\"feeAmountTickSpacingExtraInfo\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"whitelistRequested\",\"type\":\"bool\"},{\"internalType\":\"bool\",\"name\":\"enabled\",\"type\":\"bool\"}],\"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\":\"lmPoolDeployer\",\"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\":\"poolDeployer\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint24\",\"name\":\"fee\",\"type\":\"uint24\"},{\"internalType\":\"bool\",\"name\":\"whitelistRequested\",\"type\":\"bool\"},{\"internalType\":\"bool\",\"name\":\"enabled\",\"type\":\"bool\"}],\"name\":\"setFeeAmountExtraInfo\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"pool\",\"type\":\"address\"},{\"internalType\":\"uint32\",\"name\":\"feeProtocol0\",\"type\":\"uint32\"},{\"internalType\":\"uint32\",\"name\":\"feeProtocol1\",\"type\":\"uint32\"}],\"name\":\"setFeeProtocol\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"pool\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"lmPool\",\"type\":\"address\"}],\"name\":\"setLmPool\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_lmPoolDeployer\",\"type\":\"address\"}],\"name\":\"setLmPoolDeployer\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_owner\",\"type\":\"address\"}],\"name\":\"setOwner\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"user\",\"type\":\"address\"},{\"internalType\":\"bool\",\"name\":\"verified\",\"type\":\"bool\"}],\"name\":\"setWhiteListAddress\",\"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) FeeAmountTickSpacingExtraInfo ¶
func (_Factory *FactoryCaller) FeeAmountTickSpacingExtraInfo(opts *bind.CallOpts, arg0 *big.Int) (struct { WhitelistRequested bool Enabled bool }, error)
FeeAmountTickSpacingExtraInfo is a free data retrieval call binding the contract method 0x88e8006d.
Solidity: function feeAmountTickSpacingExtraInfo(uint24 ) view returns(bool whitelistRequested, bool enabled)
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) LmPoolDeployer ¶
LmPoolDeployer is a free data retrieval call binding the contract method 0x5e492ac8.
Solidity: function lmPoolDeployer() 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) PoolDeployer ¶
PoolDeployer is a free data retrieval call binding the contract method 0x3119049a.
Solidity: function poolDeployer() view returns(address)
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) FeeAmountTickSpacingExtraInfo ¶
func (_Factory *FactoryCallerSession) FeeAmountTickSpacingExtraInfo(arg0 *big.Int) (struct { WhitelistRequested bool Enabled bool }, error)
FeeAmountTickSpacingExtraInfo is a free data retrieval call binding the contract method 0x88e8006d.
Solidity: function feeAmountTickSpacingExtraInfo(uint24 ) view returns(bool whitelistRequested, bool enabled)
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) LmPoolDeployer ¶
func (_Factory *FactoryCallerSession) LmPoolDeployer() (common.Address, error)
LmPoolDeployer is a free data retrieval call binding the contract method 0x5e492ac8.
Solidity: function lmPoolDeployer() 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) PoolDeployer ¶
func (_Factory *FactoryCallerSession) PoolDeployer() (common.Address, error)
PoolDeployer is a free data retrieval call binding the contract method 0x3119049a.
Solidity: function poolDeployer() view returns(address)
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 FactoryFeeAmountExtraInfoUpdated ¶
type FactoryFeeAmountExtraInfoUpdated struct { Fee *big.Int WhitelistRequested bool Enabled bool Raw types.Log // Blockchain specific contextual infos }
FactoryFeeAmountExtraInfoUpdated represents a FeeAmountExtraInfoUpdated event raised by the Factory contract.
type FactoryFeeAmountExtraInfoUpdatedIterator ¶
type FactoryFeeAmountExtraInfoUpdatedIterator struct { Event *FactoryFeeAmountExtraInfoUpdated // Event containing the contract specifics and raw log // contains filtered or unexported fields }
FactoryFeeAmountExtraInfoUpdatedIterator is returned from FilterFeeAmountExtraInfoUpdated and is used to iterate over the raw logs and unpacked data for FeeAmountExtraInfoUpdated events raised by the Factory contract.
func (*FactoryFeeAmountExtraInfoUpdatedIterator) Close ¶
func (it *FactoryFeeAmountExtraInfoUpdatedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*FactoryFeeAmountExtraInfoUpdatedIterator) Error ¶
func (it *FactoryFeeAmountExtraInfoUpdatedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*FactoryFeeAmountExtraInfoUpdatedIterator) Next ¶
func (it *FactoryFeeAmountExtraInfoUpdatedIterator) 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) FilterFeeAmountExtraInfoUpdated ¶
func (_Factory *FactoryFilterer) FilterFeeAmountExtraInfoUpdated(opts *bind.FilterOpts, fee []*big.Int) (*FactoryFeeAmountExtraInfoUpdatedIterator, error)
FilterFeeAmountExtraInfoUpdated is a free log retrieval operation binding the contract event 0xed85b616dbfbc54d0f1180a7bd0f6e3bb645b269b234e7a9edcc269ef1443d88.
Solidity: event FeeAmountExtraInfoUpdated(uint24 indexed fee, bool whitelistRequested, bool enabled)
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) FilterSetLmPoolDeployer ¶
func (_Factory *FactoryFilterer) FilterSetLmPoolDeployer(opts *bind.FilterOpts, lmPoolDeployer []common.Address) (*FactorySetLmPoolDeployerIterator, error)
FilterSetLmPoolDeployer is a free log retrieval operation binding the contract event 0x4c912280cda47bed324de14f601d3f125a98254671772f3f1f491e50fa0ca407.
Solidity: event SetLmPoolDeployer(address indexed lmPoolDeployer)
func (*FactoryFilterer) FilterWhiteListAdded ¶
func (_Factory *FactoryFilterer) FilterWhiteListAdded(opts *bind.FilterOpts, user []common.Address) (*FactoryWhiteListAddedIterator, error)
FilterWhiteListAdded is a free log retrieval operation binding the contract event 0xaec42ac7f1bb8651906ae6522f50a19429e124e8ea678ef59fd27750759288a2.
Solidity: event WhiteListAdded(address indexed user, bool verified)
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) ParseFeeAmountExtraInfoUpdated ¶
func (_Factory *FactoryFilterer) ParseFeeAmountExtraInfoUpdated(log types.Log) (*FactoryFeeAmountExtraInfoUpdated, error)
ParseFeeAmountExtraInfoUpdated is a log parse operation binding the contract event 0xed85b616dbfbc54d0f1180a7bd0f6e3bb645b269b234e7a9edcc269ef1443d88.
Solidity: event FeeAmountExtraInfoUpdated(uint24 indexed fee, bool whitelistRequested, bool enabled)
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) ParseSetLmPoolDeployer ¶
func (_Factory *FactoryFilterer) ParseSetLmPoolDeployer(log types.Log) (*FactorySetLmPoolDeployer, error)
ParseSetLmPoolDeployer is a log parse operation binding the contract event 0x4c912280cda47bed324de14f601d3f125a98254671772f3f1f491e50fa0ca407.
Solidity: event SetLmPoolDeployer(address indexed lmPoolDeployer)
func (*FactoryFilterer) ParseWhiteListAdded ¶
func (_Factory *FactoryFilterer) ParseWhiteListAdded(log types.Log) (*FactoryWhiteListAdded, error)
ParseWhiteListAdded is a log parse operation binding the contract event 0xaec42ac7f1bb8651906ae6522f50a19429e124e8ea678ef59fd27750759288a2.
Solidity: event WhiteListAdded(address indexed user, bool verified)
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) WatchFeeAmountExtraInfoUpdated ¶
func (_Factory *FactoryFilterer) WatchFeeAmountExtraInfoUpdated(opts *bind.WatchOpts, sink chan<- *FactoryFeeAmountExtraInfoUpdated, fee []*big.Int) (event.Subscription, error)
WatchFeeAmountExtraInfoUpdated is a free log subscription operation binding the contract event 0xed85b616dbfbc54d0f1180a7bd0f6e3bb645b269b234e7a9edcc269ef1443d88.
Solidity: event FeeAmountExtraInfoUpdated(uint24 indexed fee, bool whitelistRequested, bool enabled)
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)
func (*FactoryFilterer) WatchSetLmPoolDeployer ¶
func (_Factory *FactoryFilterer) WatchSetLmPoolDeployer(opts *bind.WatchOpts, sink chan<- *FactorySetLmPoolDeployer, lmPoolDeployer []common.Address) (event.Subscription, error)
WatchSetLmPoolDeployer is a free log subscription operation binding the contract event 0x4c912280cda47bed324de14f601d3f125a98254671772f3f1f491e50fa0ca407.
Solidity: event SetLmPoolDeployer(address indexed lmPoolDeployer)
func (*FactoryFilterer) WatchWhiteListAdded ¶
func (_Factory *FactoryFilterer) WatchWhiteListAdded(opts *bind.WatchOpts, sink chan<- *FactoryWhiteListAdded, user []common.Address) (event.Subscription, error)
WatchWhiteListAdded is a free log subscription operation binding the contract event 0xaec42ac7f1bb8651906ae6522f50a19429e124e8ea678ef59fd27750759288a2.
Solidity: event WhiteListAdded(address indexed user, bool verified)
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) CollectProtocol ¶
func (_Factory *FactorySession) CollectProtocol(pool common.Address, recipient common.Address, amount0Requested *big.Int, amount1Requested *big.Int) (*types.Transaction, error)
CollectProtocol is a paid mutator transaction binding the contract method 0x43db87da.
Solidity: function collectProtocol(address pool, address recipient, uint128 amount0Requested, uint128 amount1Requested) returns(uint128 amount0, uint128 amount1)
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) FeeAmountTickSpacingExtraInfo ¶
func (_Factory *FactorySession) FeeAmountTickSpacingExtraInfo(arg0 *big.Int) (struct { WhitelistRequested bool Enabled bool }, error)
FeeAmountTickSpacingExtraInfo is a free data retrieval call binding the contract method 0x88e8006d.
Solidity: function feeAmountTickSpacingExtraInfo(uint24 ) view returns(bool whitelistRequested, bool enabled)
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) LmPoolDeployer ¶
func (_Factory *FactorySession) LmPoolDeployer() (common.Address, error)
LmPoolDeployer is a free data retrieval call binding the contract method 0x5e492ac8.
Solidity: function lmPoolDeployer() 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) PoolDeployer ¶
func (_Factory *FactorySession) PoolDeployer() (common.Address, error)
PoolDeployer is a free data retrieval call binding the contract method 0x3119049a.
Solidity: function poolDeployer() view returns(address)
func (*FactorySession) SetFeeAmountExtraInfo ¶
func (_Factory *FactorySession) SetFeeAmountExtraInfo(fee *big.Int, whitelistRequested bool, enabled bool) (*types.Transaction, error)
SetFeeAmountExtraInfo is a paid mutator transaction binding the contract method 0x8ff38e80.
Solidity: function setFeeAmountExtraInfo(uint24 fee, bool whitelistRequested, bool enabled) returns()
func (*FactorySession) SetFeeProtocol ¶
func (_Factory *FactorySession) SetFeeProtocol(pool common.Address, feeProtocol0 uint32, feeProtocol1 uint32) (*types.Transaction, error)
SetFeeProtocol is a paid mutator transaction binding the contract method 0x7e8435e6.
Solidity: function setFeeProtocol(address pool, uint32 feeProtocol0, uint32 feeProtocol1) returns()
func (*FactorySession) SetLmPool ¶
func (_Factory *FactorySession) SetLmPool(pool common.Address, lmPool common.Address) (*types.Transaction, error)
SetLmPool is a paid mutator transaction binding the contract method 0x11ff5e8d.
Solidity: function setLmPool(address pool, address lmPool) returns()
func (*FactorySession) SetLmPoolDeployer ¶
func (_Factory *FactorySession) SetLmPoolDeployer(_lmPoolDeployer common.Address) (*types.Transaction, error)
SetLmPoolDeployer is a paid mutator transaction binding the contract method 0x80d6a792.
Solidity: function setLmPoolDeployer(address _lmPoolDeployer) returns()
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()
func (*FactorySession) SetWhiteListAddress ¶
func (_Factory *FactorySession) SetWhiteListAddress(user common.Address, verified bool) (*types.Transaction, error)
SetWhiteListAddress is a paid mutator transaction binding the contract method 0xe4a86a99.
Solidity: function setWhiteListAddress(address user, bool verified) returns()
type FactorySetLmPoolDeployer ¶
type FactorySetLmPoolDeployer struct { LmPoolDeployer common.Address Raw types.Log // Blockchain specific contextual infos }
FactorySetLmPoolDeployer represents a SetLmPoolDeployer event raised by the Factory contract.
type FactorySetLmPoolDeployerIterator ¶
type FactorySetLmPoolDeployerIterator struct { Event *FactorySetLmPoolDeployer // Event containing the contract specifics and raw log // contains filtered or unexported fields }
FactorySetLmPoolDeployerIterator is returned from FilterSetLmPoolDeployer and is used to iterate over the raw logs and unpacked data for SetLmPoolDeployer events raised by the Factory contract.
func (*FactorySetLmPoolDeployerIterator) Close ¶
func (it *FactorySetLmPoolDeployerIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*FactorySetLmPoolDeployerIterator) Error ¶
func (it *FactorySetLmPoolDeployerIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*FactorySetLmPoolDeployerIterator) Next ¶
func (it *FactorySetLmPoolDeployerIterator) 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 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) CollectProtocol ¶
func (_Factory *FactoryTransactor) CollectProtocol(opts *bind.TransactOpts, pool common.Address, recipient common.Address, amount0Requested *big.Int, amount1Requested *big.Int) (*types.Transaction, error)
CollectProtocol is a paid mutator transaction binding the contract method 0x43db87da.
Solidity: function collectProtocol(address pool, address recipient, uint128 amount0Requested, uint128 amount1Requested) returns(uint128 amount0, uint128 amount1)
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) SetFeeAmountExtraInfo ¶
func (_Factory *FactoryTransactor) SetFeeAmountExtraInfo(opts *bind.TransactOpts, fee *big.Int, whitelistRequested bool, enabled bool) (*types.Transaction, error)
SetFeeAmountExtraInfo is a paid mutator transaction binding the contract method 0x8ff38e80.
Solidity: function setFeeAmountExtraInfo(uint24 fee, bool whitelistRequested, bool enabled) returns()
func (*FactoryTransactor) SetFeeProtocol ¶
func (_Factory *FactoryTransactor) SetFeeProtocol(opts *bind.TransactOpts, pool common.Address, feeProtocol0 uint32, feeProtocol1 uint32) (*types.Transaction, error)
SetFeeProtocol is a paid mutator transaction binding the contract method 0x7e8435e6.
Solidity: function setFeeProtocol(address pool, uint32 feeProtocol0, uint32 feeProtocol1) returns()
func (*FactoryTransactor) SetLmPool ¶
func (_Factory *FactoryTransactor) SetLmPool(opts *bind.TransactOpts, pool common.Address, lmPool common.Address) (*types.Transaction, error)
SetLmPool is a paid mutator transaction binding the contract method 0x11ff5e8d.
Solidity: function setLmPool(address pool, address lmPool) returns()
func (*FactoryTransactor) SetLmPoolDeployer ¶
func (_Factory *FactoryTransactor) SetLmPoolDeployer(opts *bind.TransactOpts, _lmPoolDeployer common.Address) (*types.Transaction, error)
SetLmPoolDeployer is a paid mutator transaction binding the contract method 0x80d6a792.
Solidity: function setLmPoolDeployer(address _lmPoolDeployer) 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()
func (*FactoryTransactor) SetWhiteListAddress ¶
func (_Factory *FactoryTransactor) SetWhiteListAddress(opts *bind.TransactOpts, user common.Address, verified bool) (*types.Transaction, error)
SetWhiteListAddress is a paid mutator transaction binding the contract method 0xe4a86a99.
Solidity: function setWhiteListAddress(address user, bool verified) 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) CollectProtocol ¶
func (_Factory *FactoryTransactorSession) CollectProtocol(pool common.Address, recipient common.Address, amount0Requested *big.Int, amount1Requested *big.Int) (*types.Transaction, error)
CollectProtocol is a paid mutator transaction binding the contract method 0x43db87da.
Solidity: function collectProtocol(address pool, address recipient, uint128 amount0Requested, uint128 amount1Requested) returns(uint128 amount0, uint128 amount1)
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) SetFeeAmountExtraInfo ¶
func (_Factory *FactoryTransactorSession) SetFeeAmountExtraInfo(fee *big.Int, whitelistRequested bool, enabled bool) (*types.Transaction, error)
SetFeeAmountExtraInfo is a paid mutator transaction binding the contract method 0x8ff38e80.
Solidity: function setFeeAmountExtraInfo(uint24 fee, bool whitelistRequested, bool enabled) returns()
func (*FactoryTransactorSession) SetFeeProtocol ¶
func (_Factory *FactoryTransactorSession) SetFeeProtocol(pool common.Address, feeProtocol0 uint32, feeProtocol1 uint32) (*types.Transaction, error)
SetFeeProtocol is a paid mutator transaction binding the contract method 0x7e8435e6.
Solidity: function setFeeProtocol(address pool, uint32 feeProtocol0, uint32 feeProtocol1) returns()
func (*FactoryTransactorSession) SetLmPool ¶
func (_Factory *FactoryTransactorSession) SetLmPool(pool common.Address, lmPool common.Address) (*types.Transaction, error)
SetLmPool is a paid mutator transaction binding the contract method 0x11ff5e8d.
Solidity: function setLmPool(address pool, address lmPool) returns()
func (*FactoryTransactorSession) SetLmPoolDeployer ¶
func (_Factory *FactoryTransactorSession) SetLmPoolDeployer(_lmPoolDeployer common.Address) (*types.Transaction, error)
SetLmPoolDeployer is a paid mutator transaction binding the contract method 0x80d6a792.
Solidity: function setLmPoolDeployer(address _lmPoolDeployer) 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()
func (*FactoryTransactorSession) SetWhiteListAddress ¶
func (_Factory *FactoryTransactorSession) SetWhiteListAddress(user common.Address, verified bool) (*types.Transaction, error)
SetWhiteListAddress is a paid mutator transaction binding the contract method 0xe4a86a99.
Solidity: function setWhiteListAddress(address user, bool verified) returns()
type FactoryWhiteListAdded ¶
type FactoryWhiteListAdded struct { User common.Address Verified bool Raw types.Log // Blockchain specific contextual infos }
FactoryWhiteListAdded represents a WhiteListAdded event raised by the Factory contract.
type FactoryWhiteListAddedIterator ¶
type FactoryWhiteListAddedIterator struct { Event *FactoryWhiteListAdded // Event containing the contract specifics and raw log // contains filtered or unexported fields }
FactoryWhiteListAddedIterator is returned from FilterWhiteListAdded and is used to iterate over the raw logs and unpacked data for WhiteListAdded events raised by the Factory contract.
func (*FactoryWhiteListAddedIterator) Close ¶
func (it *FactoryWhiteListAddedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*FactoryWhiteListAddedIterator) Error ¶
func (it *FactoryWhiteListAddedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*FactoryWhiteListAddedIterator) Next ¶
func (it *FactoryWhiteListAddedIterator) 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.