Documentation ¶
Index ¶
- Variables
- type Pairfactory
- type PairfactoryCaller
- func (_Pairfactory *PairfactoryCaller) IsFactoryPool(opts *bind.CallOpts, pool common.Address) (bool, error)
- func (_Pairfactory *PairfactoryCaller) Lookup(opts *bind.CallOpts, fee *big.Int, tickSpacing *big.Int, lookback *big.Int, ...) (common.Address, error)
- func (_Pairfactory *PairfactoryCaller) Owner(opts *bind.CallOpts) (common.Address, error)
- func (_Pairfactory *PairfactoryCaller) Position(opts *bind.CallOpts) (common.Address, error)
- func (_Pairfactory *PairfactoryCaller) ProtocolFeeRatio(opts *bind.CallOpts) (uint64, error)
- type PairfactoryCallerRaw
- type PairfactoryCallerSession
- func (_Pairfactory *PairfactoryCallerSession) IsFactoryPool(pool common.Address) (bool, error)
- func (_Pairfactory *PairfactoryCallerSession) Lookup(fee *big.Int, tickSpacing *big.Int, lookback *big.Int, tokenA common.Address, ...) (common.Address, error)
- func (_Pairfactory *PairfactoryCallerSession) Owner() (common.Address, error)
- func (_Pairfactory *PairfactoryCallerSession) Position() (common.Address, error)
- func (_Pairfactory *PairfactoryCallerSession) ProtocolFeeRatio() (uint64, error)
- type PairfactoryFilterer
- func (_Pairfactory *PairfactoryFilterer) FilterPoolCreated(opts *bind.FilterOpts) (*PairfactoryPoolCreatedIterator, error)
- func (_Pairfactory *PairfactoryFilterer) FilterSetFactoryOwner(opts *bind.FilterOpts) (*PairfactorySetFactoryOwnerIterator, error)
- func (_Pairfactory *PairfactoryFilterer) FilterSetFactoryProtocolFeeRatio(opts *bind.FilterOpts) (*PairfactorySetFactoryProtocolFeeRatioIterator, error)
- func (_Pairfactory *PairfactoryFilterer) ParsePoolCreated(log types.Log) (*PairfactoryPoolCreated, error)
- func (_Pairfactory *PairfactoryFilterer) ParseSetFactoryOwner(log types.Log) (*PairfactorySetFactoryOwner, error)
- func (_Pairfactory *PairfactoryFilterer) ParseSetFactoryProtocolFeeRatio(log types.Log) (*PairfactorySetFactoryProtocolFeeRatio, error)
- func (_Pairfactory *PairfactoryFilterer) WatchPoolCreated(opts *bind.WatchOpts, sink chan<- *PairfactoryPoolCreated) (event.Subscription, error)
- func (_Pairfactory *PairfactoryFilterer) WatchSetFactoryOwner(opts *bind.WatchOpts, sink chan<- *PairfactorySetFactoryOwner) (event.Subscription, error)
- func (_Pairfactory *PairfactoryFilterer) WatchSetFactoryProtocolFeeRatio(opts *bind.WatchOpts, sink chan<- *PairfactorySetFactoryProtocolFeeRatio) (event.Subscription, error)
- type PairfactoryPoolCreated
- type PairfactoryPoolCreatedIterator
- type PairfactoryRaw
- func (_Pairfactory *PairfactoryRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_Pairfactory *PairfactoryRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_Pairfactory *PairfactoryRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type PairfactorySession
- func (_Pairfactory *PairfactorySession) Create(_fee *big.Int, _tickSpacing *big.Int, _lookback *big.Int, _activeTick int32, ...) (*types.Transaction, error)
- func (_Pairfactory *PairfactorySession) IsFactoryPool(pool common.Address) (bool, error)
- func (_Pairfactory *PairfactorySession) Lookup(fee *big.Int, tickSpacing *big.Int, lookback *big.Int, tokenA common.Address, ...) (common.Address, error)
- func (_Pairfactory *PairfactorySession) Owner() (common.Address, error)
- func (_Pairfactory *PairfactorySession) Position() (common.Address, error)
- func (_Pairfactory *PairfactorySession) ProtocolFeeRatio() (uint64, error)
- type PairfactorySetFactoryOwner
- type PairfactorySetFactoryOwnerIterator
- type PairfactorySetFactoryProtocolFeeRatio
- type PairfactorySetFactoryProtocolFeeRatioIterator
- type PairfactoryTransactor
- type PairfactoryTransactorRaw
- type PairfactoryTransactorSession
Constants ¶
This section is empty.
Variables ¶
var PairfactoryABI = PairfactoryMetaData.ABI
PairfactoryABI is the input ABI used to generate the binding from. Deprecated: Use PairfactoryMetaData.ABI instead.
var PairfactoryMetaData = &bind.MetaData{
ABI: "[{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"poolAddress\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"fee\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"tickSpacing\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"int32\",\"name\":\"activeTick\",\"type\":\"int32\"},{\"indexed\":false,\"internalType\":\"int256\",\"name\":\"lookback\",\"type\":\"int256\"},{\"indexed\":false,\"internalType\":\"uint64\",\"name\":\"protocolFeeRatio\",\"type\":\"uint64\"},{\"indexed\":false,\"internalType\":\"contractIERC20\",\"name\":\"tokenA\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"contractIERC20\",\"name\":\"tokenB\",\"type\":\"address\"}],\"name\":\"PoolCreated\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"}],\"name\":\"SetFactoryOwner\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint64\",\"name\":\"protocolFeeRatio\",\"type\":\"uint64\"}],\"name\":\"SetFactoryProtocolFeeRatio\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_fee\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_tickSpacing\",\"type\":\"uint256\"},{\"internalType\":\"int256\",\"name\":\"_lookback\",\"type\":\"int256\"},{\"internalType\":\"int32\",\"name\":\"_activeTick\",\"type\":\"int32\"},{\"internalType\":\"contractIERC20\",\"name\":\"_tokenA\",\"type\":\"address\"},{\"internalType\":\"contractIERC20\",\"name\":\"_tokenB\",\"type\":\"address\"}],\"name\":\"create\",\"outputs\":[{\"internalType\":\"contractIPool\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"contractIPool\",\"name\":\"pool\",\"type\":\"address\"}],\"name\":\"isFactoryPool\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"fee\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"tickSpacing\",\"type\":\"uint256\"},{\"internalType\":\"int256\",\"name\":\"lookback\",\"type\":\"int256\"},{\"internalType\":\"contractIERC20\",\"name\":\"tokenA\",\"type\":\"address\"},{\"internalType\":\"contractIERC20\",\"name\":\"tokenB\",\"type\":\"address\"}],\"name\":\"lookup\",\"outputs\":[{\"internalType\":\"contractIPool\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"position\",\"outputs\":[{\"internalType\":\"contractIPosition\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"protocolFeeRatio\",\"outputs\":[{\"internalType\":\"uint64\",\"name\":\"\",\"type\":\"uint64\"}],\"stateMutability\":\"view\",\"type\":\"function\"}]",
}
PairfactoryMetaData contains all meta data concerning the Pairfactory contract.
Functions ¶
This section is empty.
Types ¶
type Pairfactory ¶
type Pairfactory struct { PairfactoryCaller // Read-only binding to the contract PairfactoryTransactor // Write-only binding to the contract PairfactoryFilterer // Log filterer for contract events }
Pairfactory is an auto generated Go binding around an Ethereum contract.
func NewPairfactory ¶
func NewPairfactory(address common.Address, backend bind.ContractBackend) (*Pairfactory, error)
NewPairfactory creates a new instance of Pairfactory, bound to a specific deployed contract.
type PairfactoryCaller ¶
type PairfactoryCaller struct {
// contains filtered or unexported fields
}
PairfactoryCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewPairfactoryCaller ¶
func NewPairfactoryCaller(address common.Address, caller bind.ContractCaller) (*PairfactoryCaller, error)
NewPairfactoryCaller creates a new read-only instance of Pairfactory, bound to a specific deployed contract.
func (*PairfactoryCaller) IsFactoryPool ¶
func (_Pairfactory *PairfactoryCaller) IsFactoryPool(opts *bind.CallOpts, pool common.Address) (bool, error)
IsFactoryPool is a free data retrieval call binding the contract method 0x578eaca4.
Solidity: function isFactoryPool(address pool) view returns(bool)
func (*PairfactoryCaller) Lookup ¶
func (_Pairfactory *PairfactoryCaller) Lookup(opts *bind.CallOpts, fee *big.Int, tickSpacing *big.Int, lookback *big.Int, tokenA common.Address, tokenB common.Address) (common.Address, error)
Lookup is a free data retrieval call binding the contract method 0xc697217a.
Solidity: function lookup(uint256 fee, uint256 tickSpacing, int256 lookback, address tokenA, address tokenB) view returns(address)
func (*PairfactoryCaller) Owner ¶
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() view returns(address)
func (*PairfactoryCaller) Position ¶
Position is a free data retrieval call binding the contract method 0x09218e91.
Solidity: function position() view returns(address)
func (*PairfactoryCaller) ProtocolFeeRatio ¶
func (_Pairfactory *PairfactoryCaller) ProtocolFeeRatio(opts *bind.CallOpts) (uint64, error)
ProtocolFeeRatio is a free data retrieval call binding the contract method 0x7a27d9f6.
Solidity: function protocolFeeRatio() view returns(uint64)
type PairfactoryCallerRaw ¶
type PairfactoryCallerRaw struct {
Contract *PairfactoryCaller // Generic read-only contract binding to access the raw methods on
}
PairfactoryCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*PairfactoryCallerRaw) Call ¶
func (_Pairfactory *PairfactoryCallerRaw) 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 PairfactoryCallerSession ¶
type PairfactoryCallerSession struct { Contract *PairfactoryCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
PairfactoryCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*PairfactoryCallerSession) IsFactoryPool ¶
func (_Pairfactory *PairfactoryCallerSession) IsFactoryPool(pool common.Address) (bool, error)
IsFactoryPool is a free data retrieval call binding the contract method 0x578eaca4.
Solidity: function isFactoryPool(address pool) view returns(bool)
func (*PairfactoryCallerSession) Lookup ¶
func (_Pairfactory *PairfactoryCallerSession) Lookup(fee *big.Int, tickSpacing *big.Int, lookback *big.Int, tokenA common.Address, tokenB common.Address) (common.Address, error)
Lookup is a free data retrieval call binding the contract method 0xc697217a.
Solidity: function lookup(uint256 fee, uint256 tickSpacing, int256 lookback, address tokenA, address tokenB) view returns(address)
func (*PairfactoryCallerSession) Owner ¶
func (_Pairfactory *PairfactoryCallerSession) Owner() (common.Address, error)
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() view returns(address)
func (*PairfactoryCallerSession) Position ¶
func (_Pairfactory *PairfactoryCallerSession) Position() (common.Address, error)
Position is a free data retrieval call binding the contract method 0x09218e91.
Solidity: function position() view returns(address)
func (*PairfactoryCallerSession) ProtocolFeeRatio ¶
func (_Pairfactory *PairfactoryCallerSession) ProtocolFeeRatio() (uint64, error)
ProtocolFeeRatio is a free data retrieval call binding the contract method 0x7a27d9f6.
Solidity: function protocolFeeRatio() view returns(uint64)
type PairfactoryFilterer ¶
type PairfactoryFilterer struct {
// contains filtered or unexported fields
}
PairfactoryFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewPairfactoryFilterer ¶
func NewPairfactoryFilterer(address common.Address, filterer bind.ContractFilterer) (*PairfactoryFilterer, error)
NewPairfactoryFilterer creates a new log filterer instance of Pairfactory, bound to a specific deployed contract.
func (*PairfactoryFilterer) FilterPoolCreated ¶
func (_Pairfactory *PairfactoryFilterer) FilterPoolCreated(opts *bind.FilterOpts) (*PairfactoryPoolCreatedIterator, error)
FilterPoolCreated is a free log retrieval operation binding the contract event 0x9b3fb3a17b4e94eb4d1217257372dcc712218fcd4bc1c28482bd8a6804a7c775.
Solidity: event PoolCreated(address poolAddress, uint256 fee, uint256 tickSpacing, int32 activeTick, int256 lookback, uint64 protocolFeeRatio, address tokenA, address tokenB)
func (*PairfactoryFilterer) FilterSetFactoryOwner ¶
func (_Pairfactory *PairfactoryFilterer) FilterSetFactoryOwner(opts *bind.FilterOpts) (*PairfactorySetFactoryOwnerIterator, error)
FilterSetFactoryOwner is a free log retrieval operation binding the contract event 0xdbb9c2f238268c9ccb9adfe9e27e349c8d4841cca1d2ffe849ae9114177b8fc1.
Solidity: event SetFactoryOwner(address owner)
func (*PairfactoryFilterer) FilterSetFactoryProtocolFeeRatio ¶
func (_Pairfactory *PairfactoryFilterer) FilterSetFactoryProtocolFeeRatio(opts *bind.FilterOpts) (*PairfactorySetFactoryProtocolFeeRatioIterator, error)
FilterSetFactoryProtocolFeeRatio is a free log retrieval operation binding the contract event 0xa0b96532ac38eaae102ba1ac8b6cde2019d7170e8a984863a7755fda6408a55f.
Solidity: event SetFactoryProtocolFeeRatio(uint64 protocolFeeRatio)
func (*PairfactoryFilterer) ParsePoolCreated ¶
func (_Pairfactory *PairfactoryFilterer) ParsePoolCreated(log types.Log) (*PairfactoryPoolCreated, error)
ParsePoolCreated is a log parse operation binding the contract event 0x9b3fb3a17b4e94eb4d1217257372dcc712218fcd4bc1c28482bd8a6804a7c775.
Solidity: event PoolCreated(address poolAddress, uint256 fee, uint256 tickSpacing, int32 activeTick, int256 lookback, uint64 protocolFeeRatio, address tokenA, address tokenB)
func (*PairfactoryFilterer) ParseSetFactoryOwner ¶
func (_Pairfactory *PairfactoryFilterer) ParseSetFactoryOwner(log types.Log) (*PairfactorySetFactoryOwner, error)
ParseSetFactoryOwner is a log parse operation binding the contract event 0xdbb9c2f238268c9ccb9adfe9e27e349c8d4841cca1d2ffe849ae9114177b8fc1.
Solidity: event SetFactoryOwner(address owner)
func (*PairfactoryFilterer) ParseSetFactoryProtocolFeeRatio ¶
func (_Pairfactory *PairfactoryFilterer) ParseSetFactoryProtocolFeeRatio(log types.Log) (*PairfactorySetFactoryProtocolFeeRatio, error)
ParseSetFactoryProtocolFeeRatio is a log parse operation binding the contract event 0xa0b96532ac38eaae102ba1ac8b6cde2019d7170e8a984863a7755fda6408a55f.
Solidity: event SetFactoryProtocolFeeRatio(uint64 protocolFeeRatio)
func (*PairfactoryFilterer) WatchPoolCreated ¶
func (_Pairfactory *PairfactoryFilterer) WatchPoolCreated(opts *bind.WatchOpts, sink chan<- *PairfactoryPoolCreated) (event.Subscription, error)
WatchPoolCreated is a free log subscription operation binding the contract event 0x9b3fb3a17b4e94eb4d1217257372dcc712218fcd4bc1c28482bd8a6804a7c775.
Solidity: event PoolCreated(address poolAddress, uint256 fee, uint256 tickSpacing, int32 activeTick, int256 lookback, uint64 protocolFeeRatio, address tokenA, address tokenB)
func (*PairfactoryFilterer) WatchSetFactoryOwner ¶
func (_Pairfactory *PairfactoryFilterer) WatchSetFactoryOwner(opts *bind.WatchOpts, sink chan<- *PairfactorySetFactoryOwner) (event.Subscription, error)
WatchSetFactoryOwner is a free log subscription operation binding the contract event 0xdbb9c2f238268c9ccb9adfe9e27e349c8d4841cca1d2ffe849ae9114177b8fc1.
Solidity: event SetFactoryOwner(address owner)
func (*PairfactoryFilterer) WatchSetFactoryProtocolFeeRatio ¶
func (_Pairfactory *PairfactoryFilterer) WatchSetFactoryProtocolFeeRatio(opts *bind.WatchOpts, sink chan<- *PairfactorySetFactoryProtocolFeeRatio) (event.Subscription, error)
WatchSetFactoryProtocolFeeRatio is a free log subscription operation binding the contract event 0xa0b96532ac38eaae102ba1ac8b6cde2019d7170e8a984863a7755fda6408a55f.
Solidity: event SetFactoryProtocolFeeRatio(uint64 protocolFeeRatio)
type PairfactoryPoolCreated ¶
type PairfactoryPoolCreated struct { PoolAddress common.Address Fee *big.Int TickSpacing *big.Int ActiveTick int32 Lookback *big.Int ProtocolFeeRatio uint64 TokenA common.Address TokenB common.Address Raw types.Log // Blockchain specific contextual infos }
PairfactoryPoolCreated represents a PoolCreated event raised by the Pairfactory contract.
type PairfactoryPoolCreatedIterator ¶
type PairfactoryPoolCreatedIterator struct { Event *PairfactoryPoolCreated // Event containing the contract specifics and raw log // contains filtered or unexported fields }
PairfactoryPoolCreatedIterator is returned from FilterPoolCreated and is used to iterate over the raw logs and unpacked data for PoolCreated events raised by the Pairfactory contract.
func (*PairfactoryPoolCreatedIterator) Close ¶
func (it *PairfactoryPoolCreatedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*PairfactoryPoolCreatedIterator) Error ¶
func (it *PairfactoryPoolCreatedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*PairfactoryPoolCreatedIterator) Next ¶
func (it *PairfactoryPoolCreatedIterator) 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 PairfactoryRaw ¶
type PairfactoryRaw struct {
Contract *Pairfactory // Generic contract binding to access the raw methods on
}
PairfactoryRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*PairfactoryRaw) Call ¶
func (_Pairfactory *PairfactoryRaw) 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 (*PairfactoryRaw) Transact ¶
func (_Pairfactory *PairfactoryRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*PairfactoryRaw) Transfer ¶
func (_Pairfactory *PairfactoryRaw) 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 PairfactorySession ¶
type PairfactorySession struct { Contract *Pairfactory // 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 }
PairfactorySession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*PairfactorySession) Create ¶
func (_Pairfactory *PairfactorySession) Create(_fee *big.Int, _tickSpacing *big.Int, _lookback *big.Int, _activeTick int32, _tokenA common.Address, _tokenB common.Address) (*types.Transaction, error)
Create is a paid mutator transaction binding the contract method 0x71861ede.
Solidity: function create(uint256 _fee, uint256 _tickSpacing, int256 _lookback, int32 _activeTick, address _tokenA, address _tokenB) returns(address)
func (*PairfactorySession) IsFactoryPool ¶
func (_Pairfactory *PairfactorySession) IsFactoryPool(pool common.Address) (bool, error)
IsFactoryPool is a free data retrieval call binding the contract method 0x578eaca4.
Solidity: function isFactoryPool(address pool) view returns(bool)
func (*PairfactorySession) Lookup ¶
func (_Pairfactory *PairfactorySession) Lookup(fee *big.Int, tickSpacing *big.Int, lookback *big.Int, tokenA common.Address, tokenB common.Address) (common.Address, error)
Lookup is a free data retrieval call binding the contract method 0xc697217a.
Solidity: function lookup(uint256 fee, uint256 tickSpacing, int256 lookback, address tokenA, address tokenB) view returns(address)
func (*PairfactorySession) Owner ¶
func (_Pairfactory *PairfactorySession) Owner() (common.Address, error)
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() view returns(address)
func (*PairfactorySession) Position ¶
func (_Pairfactory *PairfactorySession) Position() (common.Address, error)
Position is a free data retrieval call binding the contract method 0x09218e91.
Solidity: function position() view returns(address)
func (*PairfactorySession) ProtocolFeeRatio ¶
func (_Pairfactory *PairfactorySession) ProtocolFeeRatio() (uint64, error)
ProtocolFeeRatio is a free data retrieval call binding the contract method 0x7a27d9f6.
Solidity: function protocolFeeRatio() view returns(uint64)
type PairfactorySetFactoryOwner ¶
type PairfactorySetFactoryOwner struct { Owner common.Address Raw types.Log // Blockchain specific contextual infos }
PairfactorySetFactoryOwner represents a SetFactoryOwner event raised by the Pairfactory contract.
type PairfactorySetFactoryOwnerIterator ¶
type PairfactorySetFactoryOwnerIterator struct { Event *PairfactorySetFactoryOwner // Event containing the contract specifics and raw log // contains filtered or unexported fields }
PairfactorySetFactoryOwnerIterator is returned from FilterSetFactoryOwner and is used to iterate over the raw logs and unpacked data for SetFactoryOwner events raised by the Pairfactory contract.
func (*PairfactorySetFactoryOwnerIterator) Close ¶
func (it *PairfactorySetFactoryOwnerIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*PairfactorySetFactoryOwnerIterator) Error ¶
func (it *PairfactorySetFactoryOwnerIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*PairfactorySetFactoryOwnerIterator) Next ¶
func (it *PairfactorySetFactoryOwnerIterator) 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 PairfactorySetFactoryProtocolFeeRatio ¶
type PairfactorySetFactoryProtocolFeeRatio struct { ProtocolFeeRatio uint64 Raw types.Log // Blockchain specific contextual infos }
PairfactorySetFactoryProtocolFeeRatio represents a SetFactoryProtocolFeeRatio event raised by the Pairfactory contract.
type PairfactorySetFactoryProtocolFeeRatioIterator ¶
type PairfactorySetFactoryProtocolFeeRatioIterator struct { Event *PairfactorySetFactoryProtocolFeeRatio // Event containing the contract specifics and raw log // contains filtered or unexported fields }
PairfactorySetFactoryProtocolFeeRatioIterator is returned from FilterSetFactoryProtocolFeeRatio and is used to iterate over the raw logs and unpacked data for SetFactoryProtocolFeeRatio events raised by the Pairfactory contract.
func (*PairfactorySetFactoryProtocolFeeRatioIterator) Close ¶
func (it *PairfactorySetFactoryProtocolFeeRatioIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*PairfactorySetFactoryProtocolFeeRatioIterator) Error ¶
func (it *PairfactorySetFactoryProtocolFeeRatioIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*PairfactorySetFactoryProtocolFeeRatioIterator) Next ¶
func (it *PairfactorySetFactoryProtocolFeeRatioIterator) 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 PairfactoryTransactor ¶
type PairfactoryTransactor struct {
// contains filtered or unexported fields
}
PairfactoryTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewPairfactoryTransactor ¶
func NewPairfactoryTransactor(address common.Address, transactor bind.ContractTransactor) (*PairfactoryTransactor, error)
NewPairfactoryTransactor creates a new write-only instance of Pairfactory, bound to a specific deployed contract.
func (*PairfactoryTransactor) Create ¶
func (_Pairfactory *PairfactoryTransactor) Create(opts *bind.TransactOpts, _fee *big.Int, _tickSpacing *big.Int, _lookback *big.Int, _activeTick int32, _tokenA common.Address, _tokenB common.Address) (*types.Transaction, error)
Create is a paid mutator transaction binding the contract method 0x71861ede.
Solidity: function create(uint256 _fee, uint256 _tickSpacing, int256 _lookback, int32 _activeTick, address _tokenA, address _tokenB) returns(address)
type PairfactoryTransactorRaw ¶
type PairfactoryTransactorRaw struct {
Contract *PairfactoryTransactor // Generic write-only contract binding to access the raw methods on
}
PairfactoryTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*PairfactoryTransactorRaw) Transact ¶
func (_Pairfactory *PairfactoryTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*PairfactoryTransactorRaw) Transfer ¶
func (_Pairfactory *PairfactoryTransactorRaw) 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 PairfactoryTransactorSession ¶
type PairfactoryTransactorSession struct { Contract *PairfactoryTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
PairfactoryTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*PairfactoryTransactorSession) Create ¶
func (_Pairfactory *PairfactoryTransactorSession) Create(_fee *big.Int, _tickSpacing *big.Int, _lookback *big.Int, _activeTick int32, _tokenA common.Address, _tokenB common.Address) (*types.Transaction, error)
Create is a paid mutator transaction binding the contract method 0x71861ede.
Solidity: function create(uint256 _fee, uint256 _tickSpacing, int256 _lookback, int32 _activeTick, address _tokenA, address _tokenB) returns(address)