ilynex_v3_factory

package
v0.0.110 Latest Latest
Warning

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

Go to latest
Published: Aug 6, 2024 License: GPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ILynexV3FactoryABI = ILynexV3FactoryMetaData.ABI

ILynexV3FactoryABI is the input ABI used to generate the binding from. Deprecated: Use ILynexV3FactoryMetaData.ABI instead.

View Source
var ILynexV3FactoryMetaData = &bind.MetaData{
	ABI: "[{\"type\":\"function\",\"name\":\"createPool\",\"inputs\":[{\"name\":\"tokenA\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"tokenB\",\"type\":\"address\",\"internalType\":\"address\"}],\"outputs\":[{\"name\":\"pool\",\"type\":\"address\",\"internalType\":\"address\"}],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"defaultCommunityFee\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"uint16\",\"internalType\":\"uint16\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"farmingAddress\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"address\",\"internalType\":\"address\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"owner\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"address\",\"internalType\":\"address\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"poolByPair\",\"inputs\":[{\"name\":\"tokenA\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"tokenB\",\"type\":\"address\",\"internalType\":\"address\"}],\"outputs\":[{\"name\":\"pool\",\"type\":\"address\",\"internalType\":\"address\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"poolDeployer\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"address\",\"internalType\":\"address\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"setBaseFeeConfiguration\",\"inputs\":[{\"name\":\"alpha1\",\"type\":\"uint16\",\"internalType\":\"uint16\"},{\"name\":\"alpha2\",\"type\":\"uint16\",\"internalType\":\"uint16\"},{\"name\":\"beta1\",\"type\":\"uint32\",\"internalType\":\"uint32\"},{\"name\":\"beta2\",\"type\":\"uint32\",\"internalType\":\"uint32\"},{\"name\":\"gamma1\",\"type\":\"uint16\",\"internalType\":\"uint16\"},{\"name\":\"gamma2\",\"type\":\"uint16\",\"internalType\":\"uint16\"},{\"name\":\"volumeBeta\",\"type\":\"uint32\",\"internalType\":\"uint32\"},{\"name\":\"volumeGamma\",\"type\":\"uint16\",\"internalType\":\"uint16\"},{\"name\":\"baseFee\",\"type\":\"uint16\",\"internalType\":\"uint16\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"setDefaultCommunityFee\",\"inputs\":[{\"name\":\"newDefaultCommunityFee\",\"type\":\"uint16\",\"internalType\":\"uint16\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"setFarmingAddress\",\"inputs\":[{\"name\":\"_farmingAddress\",\"type\":\"address\",\"internalType\":\"address\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"setOwner\",\"inputs\":[{\"name\":\"_owner\",\"type\":\"address\",\"internalType\":\"address\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"setVaultAddress\",\"inputs\":[{\"name\":\"_vaultAddress\",\"type\":\"address\",\"internalType\":\"address\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"vaultAddress\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"address\",\"internalType\":\"address\"}],\"stateMutability\":\"view\"},{\"type\":\"event\",\"name\":\"DefaultCommunityFee\",\"inputs\":[{\"name\":\"newDefaultCommunityFee\",\"type\":\"uint16\",\"indexed\":false,\"internalType\":\"uint16\"}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"FarmingAddress\",\"inputs\":[{\"name\":\"newFarmingAddress\",\"type\":\"address\",\"indexed\":true,\"internalType\":\"address\"}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"FeeConfiguration\",\"inputs\":[{\"name\":\"alpha1\",\"type\":\"uint16\",\"indexed\":false,\"internalType\":\"uint16\"},{\"name\":\"alpha2\",\"type\":\"uint16\",\"indexed\":false,\"internalType\":\"uint16\"},{\"name\":\"beta1\",\"type\":\"uint32\",\"indexed\":false,\"internalType\":\"uint32\"},{\"name\":\"beta2\",\"type\":\"uint32\",\"indexed\":false,\"internalType\":\"uint32\"},{\"name\":\"gamma1\",\"type\":\"uint16\",\"indexed\":false,\"internalType\":\"uint16\"},{\"name\":\"gamma2\",\"type\":\"uint16\",\"indexed\":false,\"internalType\":\"uint16\"},{\"name\":\"volumeBeta\",\"type\":\"uint32\",\"indexed\":false,\"internalType\":\"uint32\"},{\"name\":\"volumeGamma\",\"type\":\"uint16\",\"indexed\":false,\"internalType\":\"uint16\"},{\"name\":\"baseFee\",\"type\":\"uint16\",\"indexed\":false,\"internalType\":\"uint16\"}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"Owner\",\"inputs\":[{\"name\":\"newOwner\",\"type\":\"address\",\"indexed\":true,\"internalType\":\"address\"}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"Pool\",\"inputs\":[{\"name\":\"token0\",\"type\":\"address\",\"indexed\":true,\"internalType\":\"address\"},{\"name\":\"token1\",\"type\":\"address\",\"indexed\":true,\"internalType\":\"address\"},{\"name\":\"pool\",\"type\":\"address\",\"indexed\":false,\"internalType\":\"address\"}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"VaultAddress\",\"inputs\":[{\"name\":\"newVaultAddress\",\"type\":\"address\",\"indexed\":true,\"internalType\":\"address\"}],\"anonymous\":false}]",
}

ILynexV3FactoryMetaData contains all meta data concerning the ILynexV3Factory contract.

Functions

This section is empty.

Types

type ILynexV3Factory

type ILynexV3Factory struct {
	ILynexV3FactoryCaller     // Read-only binding to the contract
	ILynexV3FactoryTransactor // Write-only binding to the contract
	ILynexV3FactoryFilterer   // Log filterer for contract events
}

ILynexV3Factory is an auto generated Go binding around an Ethereum contract.

func NewILynexV3Factory

func NewILynexV3Factory(address common.Address, backend bind.ContractBackend) (*ILynexV3Factory, error)

NewILynexV3Factory creates a new instance of ILynexV3Factory, bound to a specific deployed contract.

type ILynexV3FactoryCaller

type ILynexV3FactoryCaller struct {
	// contains filtered or unexported fields
}

ILynexV3FactoryCaller is an auto generated read-only Go binding around an Ethereum contract.

func NewILynexV3FactoryCaller

func NewILynexV3FactoryCaller(address common.Address, caller bind.ContractCaller) (*ILynexV3FactoryCaller, error)

NewILynexV3FactoryCaller creates a new read-only instance of ILynexV3Factory, bound to a specific deployed contract.

func (*ILynexV3FactoryCaller) DefaultCommunityFee

func (_ILynexV3Factory *ILynexV3FactoryCaller) DefaultCommunityFee(opts *bind.CallOpts) (uint16, error)

DefaultCommunityFee is a free data retrieval call binding the contract method 0x2f8a39dd.

Solidity: function defaultCommunityFee() view returns(uint16)

func (*ILynexV3FactoryCaller) FarmingAddress

func (_ILynexV3Factory *ILynexV3FactoryCaller) FarmingAddress(opts *bind.CallOpts) (common.Address, error)

FarmingAddress is a free data retrieval call binding the contract method 0x8a2ade58.

Solidity: function farmingAddress() view returns(address)

func (*ILynexV3FactoryCaller) Owner

func (_ILynexV3Factory *ILynexV3FactoryCaller) 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 (*ILynexV3FactoryCaller) PoolByPair

func (_ILynexV3Factory *ILynexV3FactoryCaller) PoolByPair(opts *bind.CallOpts, tokenA common.Address, tokenB common.Address) (common.Address, error)

PoolByPair is a free data retrieval call binding the contract method 0xd9a641e1.

Solidity: function poolByPair(address tokenA, address tokenB) view returns(address pool)

func (*ILynexV3FactoryCaller) PoolDeployer

func (_ILynexV3Factory *ILynexV3FactoryCaller) PoolDeployer(opts *bind.CallOpts) (common.Address, error)

PoolDeployer is a free data retrieval call binding the contract method 0x3119049a.

Solidity: function poolDeployer() view returns(address)

func (*ILynexV3FactoryCaller) VaultAddress

func (_ILynexV3Factory *ILynexV3FactoryCaller) VaultAddress(opts *bind.CallOpts) (common.Address, error)

VaultAddress is a free data retrieval call binding the contract method 0x430bf08a.

Solidity: function vaultAddress() view returns(address)

type ILynexV3FactoryCallerRaw

type ILynexV3FactoryCallerRaw struct {
	Contract *ILynexV3FactoryCaller // Generic read-only contract binding to access the raw methods on
}

ILynexV3FactoryCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.

func (*ILynexV3FactoryCallerRaw) Call

func (_ILynexV3Factory *ILynexV3FactoryCallerRaw) 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 ILynexV3FactoryCallerSession

type ILynexV3FactoryCallerSession struct {
	Contract *ILynexV3FactoryCaller // Generic contract caller binding to set the session for
	CallOpts bind.CallOpts          // Call options to use throughout this session
}

ILynexV3FactoryCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.

func (*ILynexV3FactoryCallerSession) DefaultCommunityFee

func (_ILynexV3Factory *ILynexV3FactoryCallerSession) DefaultCommunityFee() (uint16, error)

DefaultCommunityFee is a free data retrieval call binding the contract method 0x2f8a39dd.

Solidity: function defaultCommunityFee() view returns(uint16)

func (*ILynexV3FactoryCallerSession) FarmingAddress

func (_ILynexV3Factory *ILynexV3FactoryCallerSession) FarmingAddress() (common.Address, error)

FarmingAddress is a free data retrieval call binding the contract method 0x8a2ade58.

Solidity: function farmingAddress() view returns(address)

func (*ILynexV3FactoryCallerSession) Owner

func (_ILynexV3Factory *ILynexV3FactoryCallerSession) Owner() (common.Address, error)

Owner is a free data retrieval call binding the contract method 0x8da5cb5b.

Solidity: function owner() view returns(address)

func (*ILynexV3FactoryCallerSession) PoolByPair

func (_ILynexV3Factory *ILynexV3FactoryCallerSession) PoolByPair(tokenA common.Address, tokenB common.Address) (common.Address, error)

PoolByPair is a free data retrieval call binding the contract method 0xd9a641e1.

Solidity: function poolByPair(address tokenA, address tokenB) view returns(address pool)

func (*ILynexV3FactoryCallerSession) PoolDeployer

func (_ILynexV3Factory *ILynexV3FactoryCallerSession) PoolDeployer() (common.Address, error)

PoolDeployer is a free data retrieval call binding the contract method 0x3119049a.

Solidity: function poolDeployer() view returns(address)

func (*ILynexV3FactoryCallerSession) VaultAddress

func (_ILynexV3Factory *ILynexV3FactoryCallerSession) VaultAddress() (common.Address, error)

VaultAddress is a free data retrieval call binding the contract method 0x430bf08a.

Solidity: function vaultAddress() view returns(address)

type ILynexV3FactoryDefaultCommunityFee

type ILynexV3FactoryDefaultCommunityFee struct {
	NewDefaultCommunityFee uint16
	Raw                    types.Log // Blockchain specific contextual infos
}

ILynexV3FactoryDefaultCommunityFee represents a DefaultCommunityFee event raised by the ILynexV3Factory contract.

type ILynexV3FactoryDefaultCommunityFeeIterator

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

ILynexV3FactoryDefaultCommunityFeeIterator is returned from FilterDefaultCommunityFee and is used to iterate over the raw logs and unpacked data for DefaultCommunityFee events raised by the ILynexV3Factory contract.

func (*ILynexV3FactoryDefaultCommunityFeeIterator) Close

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

func (*ILynexV3FactoryDefaultCommunityFeeIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ILynexV3FactoryDefaultCommunityFeeIterator) 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 ILynexV3FactoryFarmingAddress

type ILynexV3FactoryFarmingAddress struct {
	NewFarmingAddress common.Address
	Raw               types.Log // Blockchain specific contextual infos
}

ILynexV3FactoryFarmingAddress represents a FarmingAddress event raised by the ILynexV3Factory contract.

type ILynexV3FactoryFarmingAddressIterator

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

ILynexV3FactoryFarmingAddressIterator is returned from FilterFarmingAddress and is used to iterate over the raw logs and unpacked data for FarmingAddress events raised by the ILynexV3Factory contract.

func (*ILynexV3FactoryFarmingAddressIterator) Close

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

func (*ILynexV3FactoryFarmingAddressIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ILynexV3FactoryFarmingAddressIterator) 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 ILynexV3FactoryFeeConfiguration

type ILynexV3FactoryFeeConfiguration struct {
	Alpha1      uint16
	Alpha2      uint16
	Beta1       uint32
	Beta2       uint32
	Gamma1      uint16
	Gamma2      uint16
	VolumeBeta  uint32
	VolumeGamma uint16
	BaseFee     uint16
	Raw         types.Log // Blockchain specific contextual infos
}

ILynexV3FactoryFeeConfiguration represents a FeeConfiguration event raised by the ILynexV3Factory contract.

type ILynexV3FactoryFeeConfigurationIterator

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

ILynexV3FactoryFeeConfigurationIterator is returned from FilterFeeConfiguration and is used to iterate over the raw logs and unpacked data for FeeConfiguration events raised by the ILynexV3Factory contract.

func (*ILynexV3FactoryFeeConfigurationIterator) Close

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

func (*ILynexV3FactoryFeeConfigurationIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ILynexV3FactoryFeeConfigurationIterator) 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 ILynexV3FactoryFilterer

type ILynexV3FactoryFilterer struct {
	// contains filtered or unexported fields
}

ILynexV3FactoryFilterer is an auto generated log filtering Go binding around an Ethereum contract events.

func NewILynexV3FactoryFilterer

func NewILynexV3FactoryFilterer(address common.Address, filterer bind.ContractFilterer) (*ILynexV3FactoryFilterer, error)

NewILynexV3FactoryFilterer creates a new log filterer instance of ILynexV3Factory, bound to a specific deployed contract.

func (*ILynexV3FactoryFilterer) FilterDefaultCommunityFee

func (_ILynexV3Factory *ILynexV3FactoryFilterer) FilterDefaultCommunityFee(opts *bind.FilterOpts) (*ILynexV3FactoryDefaultCommunityFeeIterator, error)

FilterDefaultCommunityFee is a free log retrieval operation binding the contract event 0x6b5c342391f543846fce47a925e7eba910f7bec232b08633308ca93fdd0fdf0d.

Solidity: event DefaultCommunityFee(uint16 newDefaultCommunityFee)

func (*ILynexV3FactoryFilterer) FilterFarmingAddress

func (_ILynexV3Factory *ILynexV3FactoryFilterer) FilterFarmingAddress(opts *bind.FilterOpts, newFarmingAddress []common.Address) (*ILynexV3FactoryFarmingAddressIterator, error)

FilterFarmingAddress is a free log retrieval operation binding the contract event 0x56b9e8342f530796ceed0d5529abdcdeae6e4f2ac1dc456ceb73bbda898e0cd3.

Solidity: event FarmingAddress(address indexed newFarmingAddress)

func (*ILynexV3FactoryFilterer) FilterFeeConfiguration

func (_ILynexV3Factory *ILynexV3FactoryFilterer) FilterFeeConfiguration(opts *bind.FilterOpts) (*ILynexV3FactoryFeeConfigurationIterator, error)

FilterFeeConfiguration is a free log retrieval operation binding the contract event 0x4035ab409f15e202f9f114632e1fb14a0552325955722be18503403e7f98730c.

Solidity: event FeeConfiguration(uint16 alpha1, uint16 alpha2, uint32 beta1, uint32 beta2, uint16 gamma1, uint16 gamma2, uint32 volumeBeta, uint16 volumeGamma, uint16 baseFee)

func (*ILynexV3FactoryFilterer) FilterOwner

func (_ILynexV3Factory *ILynexV3FactoryFilterer) FilterOwner(opts *bind.FilterOpts, newOwner []common.Address) (*ILynexV3FactoryOwnerIterator, error)

FilterOwner is a free log retrieval operation binding the contract event 0xa5e220c2c27d986cc8efeafa8f34ba6ea6bf96a34e146b29b6bdd8587771b130.

Solidity: event Owner(address indexed newOwner)

func (*ILynexV3FactoryFilterer) FilterPool

func (_ILynexV3Factory *ILynexV3FactoryFilterer) FilterPool(opts *bind.FilterOpts, token0 []common.Address, token1 []common.Address) (*ILynexV3FactoryPoolIterator, error)

FilterPool is a free log retrieval operation binding the contract event 0x91ccaa7a278130b65168c3a0c8d3bcae84cf5e43704342bd3ec0b59e59c036db.

Solidity: event Pool(address indexed token0, address indexed token1, address pool)

func (*ILynexV3FactoryFilterer) FilterVaultAddress

func (_ILynexV3Factory *ILynexV3FactoryFilterer) FilterVaultAddress(opts *bind.FilterOpts, newVaultAddress []common.Address) (*ILynexV3FactoryVaultAddressIterator, error)

FilterVaultAddress is a free log retrieval operation binding the contract event 0xb9c265ae4414f501736ec5d4961edc3309e4385eb2ff3feeecb30fb36621dd83.

Solidity: event VaultAddress(address indexed newVaultAddress)

func (*ILynexV3FactoryFilterer) ParseDefaultCommunityFee

func (_ILynexV3Factory *ILynexV3FactoryFilterer) ParseDefaultCommunityFee(log types.Log) (*ILynexV3FactoryDefaultCommunityFee, error)

ParseDefaultCommunityFee is a log parse operation binding the contract event 0x6b5c342391f543846fce47a925e7eba910f7bec232b08633308ca93fdd0fdf0d.

Solidity: event DefaultCommunityFee(uint16 newDefaultCommunityFee)

func (*ILynexV3FactoryFilterer) ParseFarmingAddress

func (_ILynexV3Factory *ILynexV3FactoryFilterer) ParseFarmingAddress(log types.Log) (*ILynexV3FactoryFarmingAddress, error)

ParseFarmingAddress is a log parse operation binding the contract event 0x56b9e8342f530796ceed0d5529abdcdeae6e4f2ac1dc456ceb73bbda898e0cd3.

Solidity: event FarmingAddress(address indexed newFarmingAddress)

func (*ILynexV3FactoryFilterer) ParseFeeConfiguration

func (_ILynexV3Factory *ILynexV3FactoryFilterer) ParseFeeConfiguration(log types.Log) (*ILynexV3FactoryFeeConfiguration, error)

ParseFeeConfiguration is a log parse operation binding the contract event 0x4035ab409f15e202f9f114632e1fb14a0552325955722be18503403e7f98730c.

Solidity: event FeeConfiguration(uint16 alpha1, uint16 alpha2, uint32 beta1, uint32 beta2, uint16 gamma1, uint16 gamma2, uint32 volumeBeta, uint16 volumeGamma, uint16 baseFee)

func (*ILynexV3FactoryFilterer) ParseOwner

func (_ILynexV3Factory *ILynexV3FactoryFilterer) ParseOwner(log types.Log) (*ILynexV3FactoryOwner, error)

ParseOwner is a log parse operation binding the contract event 0xa5e220c2c27d986cc8efeafa8f34ba6ea6bf96a34e146b29b6bdd8587771b130.

Solidity: event Owner(address indexed newOwner)

func (*ILynexV3FactoryFilterer) ParsePool

func (_ILynexV3Factory *ILynexV3FactoryFilterer) ParsePool(log types.Log) (*ILynexV3FactoryPool, error)

ParsePool is a log parse operation binding the contract event 0x91ccaa7a278130b65168c3a0c8d3bcae84cf5e43704342bd3ec0b59e59c036db.

Solidity: event Pool(address indexed token0, address indexed token1, address pool)

func (*ILynexV3FactoryFilterer) ParseVaultAddress

func (_ILynexV3Factory *ILynexV3FactoryFilterer) ParseVaultAddress(log types.Log) (*ILynexV3FactoryVaultAddress, error)

ParseVaultAddress is a log parse operation binding the contract event 0xb9c265ae4414f501736ec5d4961edc3309e4385eb2ff3feeecb30fb36621dd83.

Solidity: event VaultAddress(address indexed newVaultAddress)

func (*ILynexV3FactoryFilterer) WatchDefaultCommunityFee

func (_ILynexV3Factory *ILynexV3FactoryFilterer) WatchDefaultCommunityFee(opts *bind.WatchOpts, sink chan<- *ILynexV3FactoryDefaultCommunityFee) (event.Subscription, error)

WatchDefaultCommunityFee is a free log subscription operation binding the contract event 0x6b5c342391f543846fce47a925e7eba910f7bec232b08633308ca93fdd0fdf0d.

Solidity: event DefaultCommunityFee(uint16 newDefaultCommunityFee)

func (*ILynexV3FactoryFilterer) WatchFarmingAddress

func (_ILynexV3Factory *ILynexV3FactoryFilterer) WatchFarmingAddress(opts *bind.WatchOpts, sink chan<- *ILynexV3FactoryFarmingAddress, newFarmingAddress []common.Address) (event.Subscription, error)

WatchFarmingAddress is a free log subscription operation binding the contract event 0x56b9e8342f530796ceed0d5529abdcdeae6e4f2ac1dc456ceb73bbda898e0cd3.

Solidity: event FarmingAddress(address indexed newFarmingAddress)

func (*ILynexV3FactoryFilterer) WatchFeeConfiguration

func (_ILynexV3Factory *ILynexV3FactoryFilterer) WatchFeeConfiguration(opts *bind.WatchOpts, sink chan<- *ILynexV3FactoryFeeConfiguration) (event.Subscription, error)

WatchFeeConfiguration is a free log subscription operation binding the contract event 0x4035ab409f15e202f9f114632e1fb14a0552325955722be18503403e7f98730c.

Solidity: event FeeConfiguration(uint16 alpha1, uint16 alpha2, uint32 beta1, uint32 beta2, uint16 gamma1, uint16 gamma2, uint32 volumeBeta, uint16 volumeGamma, uint16 baseFee)

func (*ILynexV3FactoryFilterer) WatchOwner

func (_ILynexV3Factory *ILynexV3FactoryFilterer) WatchOwner(opts *bind.WatchOpts, sink chan<- *ILynexV3FactoryOwner, newOwner []common.Address) (event.Subscription, error)

WatchOwner is a free log subscription operation binding the contract event 0xa5e220c2c27d986cc8efeafa8f34ba6ea6bf96a34e146b29b6bdd8587771b130.

Solidity: event Owner(address indexed newOwner)

func (*ILynexV3FactoryFilterer) WatchPool

func (_ILynexV3Factory *ILynexV3FactoryFilterer) WatchPool(opts *bind.WatchOpts, sink chan<- *ILynexV3FactoryPool, token0 []common.Address, token1 []common.Address) (event.Subscription, error)

WatchPool is a free log subscription operation binding the contract event 0x91ccaa7a278130b65168c3a0c8d3bcae84cf5e43704342bd3ec0b59e59c036db.

Solidity: event Pool(address indexed token0, address indexed token1, address pool)

func (*ILynexV3FactoryFilterer) WatchVaultAddress

func (_ILynexV3Factory *ILynexV3FactoryFilterer) WatchVaultAddress(opts *bind.WatchOpts, sink chan<- *ILynexV3FactoryVaultAddress, newVaultAddress []common.Address) (event.Subscription, error)

WatchVaultAddress is a free log subscription operation binding the contract event 0xb9c265ae4414f501736ec5d4961edc3309e4385eb2ff3feeecb30fb36621dd83.

Solidity: event VaultAddress(address indexed newVaultAddress)

type ILynexV3FactoryOwner

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

ILynexV3FactoryOwner represents a Owner event raised by the ILynexV3Factory contract.

type ILynexV3FactoryOwnerIterator

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

ILynexV3FactoryOwnerIterator is returned from FilterOwner and is used to iterate over the raw logs and unpacked data for Owner events raised by the ILynexV3Factory contract.

func (*ILynexV3FactoryOwnerIterator) Close

func (it *ILynexV3FactoryOwnerIterator) Close() error

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

func (*ILynexV3FactoryOwnerIterator) Error

func (it *ILynexV3FactoryOwnerIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*ILynexV3FactoryOwnerIterator) 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 ILynexV3FactoryPool

type ILynexV3FactoryPool struct {
	Token0 common.Address
	Token1 common.Address
	Pool   common.Address
	Raw    types.Log // Blockchain specific contextual infos
}

ILynexV3FactoryPool represents a Pool event raised by the ILynexV3Factory contract.

type ILynexV3FactoryPoolIterator

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

ILynexV3FactoryPoolIterator is returned from FilterPool and is used to iterate over the raw logs and unpacked data for Pool events raised by the ILynexV3Factory contract.

func (*ILynexV3FactoryPoolIterator) Close

func (it *ILynexV3FactoryPoolIterator) Close() error

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

func (*ILynexV3FactoryPoolIterator) Error

func (it *ILynexV3FactoryPoolIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*ILynexV3FactoryPoolIterator) Next

func (it *ILynexV3FactoryPoolIterator) 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 ILynexV3FactoryRaw

type ILynexV3FactoryRaw struct {
	Contract *ILynexV3Factory // Generic contract binding to access the raw methods on
}

ILynexV3FactoryRaw is an auto generated low-level Go binding around an Ethereum contract.

func (*ILynexV3FactoryRaw) Call

func (_ILynexV3Factory *ILynexV3FactoryRaw) 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 (*ILynexV3FactoryRaw) Transact

func (_ILynexV3Factory *ILynexV3FactoryRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*ILynexV3FactoryRaw) Transfer

func (_ILynexV3Factory *ILynexV3FactoryRaw) 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 ILynexV3FactorySession

type ILynexV3FactorySession struct {
	Contract     *ILynexV3Factory  // 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
}

ILynexV3FactorySession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.

func (*ILynexV3FactorySession) CreatePool

func (_ILynexV3Factory *ILynexV3FactorySession) CreatePool(tokenA common.Address, tokenB common.Address) (*types.Transaction, error)

CreatePool is a paid mutator transaction binding the contract method 0xe3433615.

Solidity: function createPool(address tokenA, address tokenB) returns(address pool)

func (*ILynexV3FactorySession) DefaultCommunityFee

func (_ILynexV3Factory *ILynexV3FactorySession) DefaultCommunityFee() (uint16, error)

DefaultCommunityFee is a free data retrieval call binding the contract method 0x2f8a39dd.

Solidity: function defaultCommunityFee() view returns(uint16)

func (*ILynexV3FactorySession) FarmingAddress

func (_ILynexV3Factory *ILynexV3FactorySession) FarmingAddress() (common.Address, error)

FarmingAddress is a free data retrieval call binding the contract method 0x8a2ade58.

Solidity: function farmingAddress() view returns(address)

func (*ILynexV3FactorySession) Owner

func (_ILynexV3Factory *ILynexV3FactorySession) Owner() (common.Address, error)

Owner is a free data retrieval call binding the contract method 0x8da5cb5b.

Solidity: function owner() view returns(address)

func (*ILynexV3FactorySession) PoolByPair

func (_ILynexV3Factory *ILynexV3FactorySession) PoolByPair(tokenA common.Address, tokenB common.Address) (common.Address, error)

PoolByPair is a free data retrieval call binding the contract method 0xd9a641e1.

Solidity: function poolByPair(address tokenA, address tokenB) view returns(address pool)

func (*ILynexV3FactorySession) PoolDeployer

func (_ILynexV3Factory *ILynexV3FactorySession) PoolDeployer() (common.Address, error)

PoolDeployer is a free data retrieval call binding the contract method 0x3119049a.

Solidity: function poolDeployer() view returns(address)

func (*ILynexV3FactorySession) SetBaseFeeConfiguration

func (_ILynexV3Factory *ILynexV3FactorySession) SetBaseFeeConfiguration(alpha1 uint16, alpha2 uint16, beta1 uint32, beta2 uint32, gamma1 uint16, gamma2 uint16, volumeBeta uint32, volumeGamma uint16, baseFee uint16) (*types.Transaction, error)

SetBaseFeeConfiguration is a paid mutator transaction binding the contract method 0x5d6d7e93.

Solidity: function setBaseFeeConfiguration(uint16 alpha1, uint16 alpha2, uint32 beta1, uint32 beta2, uint16 gamma1, uint16 gamma2, uint32 volumeBeta, uint16 volumeGamma, uint16 baseFee) returns()

func (*ILynexV3FactorySession) SetDefaultCommunityFee

func (_ILynexV3Factory *ILynexV3FactorySession) SetDefaultCommunityFee(newDefaultCommunityFee uint16) (*types.Transaction, error)

SetDefaultCommunityFee is a paid mutator transaction binding the contract method 0x8d5a8711.

Solidity: function setDefaultCommunityFee(uint16 newDefaultCommunityFee) returns()

func (*ILynexV3FactorySession) SetFarmingAddress

func (_ILynexV3Factory *ILynexV3FactorySession) SetFarmingAddress(_farmingAddress common.Address) (*types.Transaction, error)

SetFarmingAddress is a paid mutator transaction binding the contract method 0xb001f618.

Solidity: function setFarmingAddress(address _farmingAddress) returns()

func (*ILynexV3FactorySession) SetOwner

func (_ILynexV3Factory *ILynexV3FactorySession) 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 (*ILynexV3FactorySession) SetVaultAddress

func (_ILynexV3Factory *ILynexV3FactorySession) SetVaultAddress(_vaultAddress common.Address) (*types.Transaction, error)

SetVaultAddress is a paid mutator transaction binding the contract method 0x85535cc5.

Solidity: function setVaultAddress(address _vaultAddress) returns()

func (*ILynexV3FactorySession) VaultAddress

func (_ILynexV3Factory *ILynexV3FactorySession) VaultAddress() (common.Address, error)

VaultAddress is a free data retrieval call binding the contract method 0x430bf08a.

Solidity: function vaultAddress() view returns(address)

type ILynexV3FactoryTransactor

type ILynexV3FactoryTransactor struct {
	// contains filtered or unexported fields
}

ILynexV3FactoryTransactor is an auto generated write-only Go binding around an Ethereum contract.

func NewILynexV3FactoryTransactor

func NewILynexV3FactoryTransactor(address common.Address, transactor bind.ContractTransactor) (*ILynexV3FactoryTransactor, error)

NewILynexV3FactoryTransactor creates a new write-only instance of ILynexV3Factory, bound to a specific deployed contract.

func (*ILynexV3FactoryTransactor) CreatePool

func (_ILynexV3Factory *ILynexV3FactoryTransactor) CreatePool(opts *bind.TransactOpts, tokenA common.Address, tokenB common.Address) (*types.Transaction, error)

CreatePool is a paid mutator transaction binding the contract method 0xe3433615.

Solidity: function createPool(address tokenA, address tokenB) returns(address pool)

func (*ILynexV3FactoryTransactor) SetBaseFeeConfiguration

func (_ILynexV3Factory *ILynexV3FactoryTransactor) SetBaseFeeConfiguration(opts *bind.TransactOpts, alpha1 uint16, alpha2 uint16, beta1 uint32, beta2 uint32, gamma1 uint16, gamma2 uint16, volumeBeta uint32, volumeGamma uint16, baseFee uint16) (*types.Transaction, error)

SetBaseFeeConfiguration is a paid mutator transaction binding the contract method 0x5d6d7e93.

Solidity: function setBaseFeeConfiguration(uint16 alpha1, uint16 alpha2, uint32 beta1, uint32 beta2, uint16 gamma1, uint16 gamma2, uint32 volumeBeta, uint16 volumeGamma, uint16 baseFee) returns()

func (*ILynexV3FactoryTransactor) SetDefaultCommunityFee

func (_ILynexV3Factory *ILynexV3FactoryTransactor) SetDefaultCommunityFee(opts *bind.TransactOpts, newDefaultCommunityFee uint16) (*types.Transaction, error)

SetDefaultCommunityFee is a paid mutator transaction binding the contract method 0x8d5a8711.

Solidity: function setDefaultCommunityFee(uint16 newDefaultCommunityFee) returns()

func (*ILynexV3FactoryTransactor) SetFarmingAddress

func (_ILynexV3Factory *ILynexV3FactoryTransactor) SetFarmingAddress(opts *bind.TransactOpts, _farmingAddress common.Address) (*types.Transaction, error)

SetFarmingAddress is a paid mutator transaction binding the contract method 0xb001f618.

Solidity: function setFarmingAddress(address _farmingAddress) returns()

func (*ILynexV3FactoryTransactor) SetOwner

func (_ILynexV3Factory *ILynexV3FactoryTransactor) 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 (*ILynexV3FactoryTransactor) SetVaultAddress

func (_ILynexV3Factory *ILynexV3FactoryTransactor) SetVaultAddress(opts *bind.TransactOpts, _vaultAddress common.Address) (*types.Transaction, error)

SetVaultAddress is a paid mutator transaction binding the contract method 0x85535cc5.

Solidity: function setVaultAddress(address _vaultAddress) returns()

type ILynexV3FactoryTransactorRaw

type ILynexV3FactoryTransactorRaw struct {
	Contract *ILynexV3FactoryTransactor // Generic write-only contract binding to access the raw methods on
}

ILynexV3FactoryTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.

func (*ILynexV3FactoryTransactorRaw) Transact

func (_ILynexV3Factory *ILynexV3FactoryTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*ILynexV3FactoryTransactorRaw) Transfer

func (_ILynexV3Factory *ILynexV3FactoryTransactorRaw) 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 ILynexV3FactoryTransactorSession

type ILynexV3FactoryTransactorSession struct {
	Contract     *ILynexV3FactoryTransactor // Generic contract transactor binding to set the session for
	TransactOpts bind.TransactOpts          // Transaction auth options to use throughout this session
}

ILynexV3FactoryTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.

func (*ILynexV3FactoryTransactorSession) CreatePool

func (_ILynexV3Factory *ILynexV3FactoryTransactorSession) CreatePool(tokenA common.Address, tokenB common.Address) (*types.Transaction, error)

CreatePool is a paid mutator transaction binding the contract method 0xe3433615.

Solidity: function createPool(address tokenA, address tokenB) returns(address pool)

func (*ILynexV3FactoryTransactorSession) SetBaseFeeConfiguration

func (_ILynexV3Factory *ILynexV3FactoryTransactorSession) SetBaseFeeConfiguration(alpha1 uint16, alpha2 uint16, beta1 uint32, beta2 uint32, gamma1 uint16, gamma2 uint16, volumeBeta uint32, volumeGamma uint16, baseFee uint16) (*types.Transaction, error)

SetBaseFeeConfiguration is a paid mutator transaction binding the contract method 0x5d6d7e93.

Solidity: function setBaseFeeConfiguration(uint16 alpha1, uint16 alpha2, uint32 beta1, uint32 beta2, uint16 gamma1, uint16 gamma2, uint32 volumeBeta, uint16 volumeGamma, uint16 baseFee) returns()

func (*ILynexV3FactoryTransactorSession) SetDefaultCommunityFee

func (_ILynexV3Factory *ILynexV3FactoryTransactorSession) SetDefaultCommunityFee(newDefaultCommunityFee uint16) (*types.Transaction, error)

SetDefaultCommunityFee is a paid mutator transaction binding the contract method 0x8d5a8711.

Solidity: function setDefaultCommunityFee(uint16 newDefaultCommunityFee) returns()

func (*ILynexV3FactoryTransactorSession) SetFarmingAddress

func (_ILynexV3Factory *ILynexV3FactoryTransactorSession) SetFarmingAddress(_farmingAddress common.Address) (*types.Transaction, error)

SetFarmingAddress is a paid mutator transaction binding the contract method 0xb001f618.

Solidity: function setFarmingAddress(address _farmingAddress) returns()

func (*ILynexV3FactoryTransactorSession) SetOwner

func (_ILynexV3Factory *ILynexV3FactoryTransactorSession) 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 (*ILynexV3FactoryTransactorSession) SetVaultAddress

func (_ILynexV3Factory *ILynexV3FactoryTransactorSession) SetVaultAddress(_vaultAddress common.Address) (*types.Transaction, error)

SetVaultAddress is a paid mutator transaction binding the contract method 0x85535cc5.

Solidity: function setVaultAddress(address _vaultAddress) returns()

type ILynexV3FactoryVaultAddress

type ILynexV3FactoryVaultAddress struct {
	NewVaultAddress common.Address
	Raw             types.Log // Blockchain specific contextual infos
}

ILynexV3FactoryVaultAddress represents a VaultAddress event raised by the ILynexV3Factory contract.

type ILynexV3FactoryVaultAddressIterator

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

ILynexV3FactoryVaultAddressIterator is returned from FilterVaultAddress and is used to iterate over the raw logs and unpacked data for VaultAddress events raised by the ILynexV3Factory contract.

func (*ILynexV3FactoryVaultAddressIterator) Close

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

func (*ILynexV3FactoryVaultAddressIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ILynexV3FactoryVaultAddressIterator) 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.

Jump to

Keyboard shortcuts

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