Documentation ¶
Index ¶
- Variables
- type Iuniswapv3factory
- type Iuniswapv3factoryCaller
- func (_Iuniswapv3factory *Iuniswapv3factoryCaller) FeeAmountTickSpacing(opts *bind.CallOpts, fee *big.Int) (*big.Int, error)
- func (_Iuniswapv3factory *Iuniswapv3factoryCaller) GetPool(opts *bind.CallOpts, tokenA common.Address, tokenB common.Address, ...) (common.Address, error)
- func (_Iuniswapv3factory *Iuniswapv3factoryCaller) Owner(opts *bind.CallOpts) (common.Address, error)
- type Iuniswapv3factoryCallerRaw
- type Iuniswapv3factoryCallerSession
- func (_Iuniswapv3factory *Iuniswapv3factoryCallerSession) FeeAmountTickSpacing(fee *big.Int) (*big.Int, error)
- func (_Iuniswapv3factory *Iuniswapv3factoryCallerSession) GetPool(tokenA common.Address, tokenB common.Address, fee *big.Int) (common.Address, error)
- func (_Iuniswapv3factory *Iuniswapv3factoryCallerSession) Owner() (common.Address, error)
- type Iuniswapv3factoryFeeAmountEnabled
- type Iuniswapv3factoryFeeAmountEnabledIterator
- type Iuniswapv3factoryFilterer
- func (_Iuniswapv3factory *Iuniswapv3factoryFilterer) FilterFeeAmountEnabled(opts *bind.FilterOpts, fee []*big.Int, tickSpacing []*big.Int) (*Iuniswapv3factoryFeeAmountEnabledIterator, error)
- func (_Iuniswapv3factory *Iuniswapv3factoryFilterer) FilterOwnerChanged(opts *bind.FilterOpts, oldOwner []common.Address, newOwner []common.Address) (*Iuniswapv3factoryOwnerChangedIterator, error)
- func (_Iuniswapv3factory *Iuniswapv3factoryFilterer) FilterPoolCreated(opts *bind.FilterOpts, token0 []common.Address, token1 []common.Address, ...) (*Iuniswapv3factoryPoolCreatedIterator, error)
- func (_Iuniswapv3factory *Iuniswapv3factoryFilterer) ParseFeeAmountEnabled(log types.Log) (*Iuniswapv3factoryFeeAmountEnabled, error)
- func (_Iuniswapv3factory *Iuniswapv3factoryFilterer) ParseOwnerChanged(log types.Log) (*Iuniswapv3factoryOwnerChanged, error)
- func (_Iuniswapv3factory *Iuniswapv3factoryFilterer) ParsePoolCreated(log types.Log) (*Iuniswapv3factoryPoolCreated, error)
- func (_Iuniswapv3factory *Iuniswapv3factoryFilterer) WatchFeeAmountEnabled(opts *bind.WatchOpts, sink chan<- *Iuniswapv3factoryFeeAmountEnabled, ...) (event.Subscription, error)
- func (_Iuniswapv3factory *Iuniswapv3factoryFilterer) WatchOwnerChanged(opts *bind.WatchOpts, sink chan<- *Iuniswapv3factoryOwnerChanged, ...) (event.Subscription, error)
- func (_Iuniswapv3factory *Iuniswapv3factoryFilterer) WatchPoolCreated(opts *bind.WatchOpts, sink chan<- *Iuniswapv3factoryPoolCreated, ...) (event.Subscription, error)
- type Iuniswapv3factoryOwnerChanged
- type Iuniswapv3factoryOwnerChangedIterator
- type Iuniswapv3factoryPoolCreated
- type Iuniswapv3factoryPoolCreatedIterator
- type Iuniswapv3factoryRaw
- func (_Iuniswapv3factory *Iuniswapv3factoryRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_Iuniswapv3factory *Iuniswapv3factoryRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_Iuniswapv3factory *Iuniswapv3factoryRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type Iuniswapv3factorySession
- func (_Iuniswapv3factory *Iuniswapv3factorySession) CreatePool(tokenA common.Address, tokenB common.Address, fee *big.Int) (*types.Transaction, error)
- func (_Iuniswapv3factory *Iuniswapv3factorySession) EnableFeeAmount(fee *big.Int, tickSpacing *big.Int) (*types.Transaction, error)
- func (_Iuniswapv3factory *Iuniswapv3factorySession) FeeAmountTickSpacing(fee *big.Int) (*big.Int, error)
- func (_Iuniswapv3factory *Iuniswapv3factorySession) GetPool(tokenA common.Address, tokenB common.Address, fee *big.Int) (common.Address, error)
- func (_Iuniswapv3factory *Iuniswapv3factorySession) Owner() (common.Address, error)
- func (_Iuniswapv3factory *Iuniswapv3factorySession) SetOwner(_owner common.Address) (*types.Transaction, error)
- type Iuniswapv3factoryTransactor
- func (_Iuniswapv3factory *Iuniswapv3factoryTransactor) CreatePool(opts *bind.TransactOpts, tokenA common.Address, tokenB common.Address, ...) (*types.Transaction, error)
- func (_Iuniswapv3factory *Iuniswapv3factoryTransactor) EnableFeeAmount(opts *bind.TransactOpts, fee *big.Int, tickSpacing *big.Int) (*types.Transaction, error)
- func (_Iuniswapv3factory *Iuniswapv3factoryTransactor) SetOwner(opts *bind.TransactOpts, _owner common.Address) (*types.Transaction, error)
- type Iuniswapv3factoryTransactorRaw
- type Iuniswapv3factoryTransactorSession
- func (_Iuniswapv3factory *Iuniswapv3factoryTransactorSession) CreatePool(tokenA common.Address, tokenB common.Address, fee *big.Int) (*types.Transaction, error)
- func (_Iuniswapv3factory *Iuniswapv3factoryTransactorSession) EnableFeeAmount(fee *big.Int, tickSpacing *big.Int) (*types.Transaction, error)
- func (_Iuniswapv3factory *Iuniswapv3factoryTransactorSession) SetOwner(_owner common.Address) (*types.Transaction, error)
Constants ¶
This section is empty.
Variables ¶
var Iuniswapv3factoryABI = Iuniswapv3factoryMetaData.ABI
Iuniswapv3factoryABI is the input ABI used to generate the binding from. Deprecated: Use Iuniswapv3factoryMetaData.ABI instead.
var Iuniswapv3factoryMetaData = &bind.MetaData{
ABI: "[{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint24\",\"name\":\"fee\",\"type\":\"uint24\"},{\"indexed\":true,\"internalType\":\"int24\",\"name\":\"tickSpacing\",\"type\":\"int24\"}],\"name\":\"FeeAmountEnabled\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"oldOwner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"OwnerChanged\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"token0\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"token1\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"uint24\",\"name\":\"fee\",\"type\":\"uint24\"},{\"indexed\":false,\"internalType\":\"int24\",\"name\":\"tickSpacing\",\"type\":\"int24\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"pool\",\"type\":\"address\"}],\"name\":\"PoolCreated\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"tokenA\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"tokenB\",\"type\":\"address\"},{\"internalType\":\"uint24\",\"name\":\"fee\",\"type\":\"uint24\"}],\"name\":\"createPool\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"pool\",\"type\":\"address\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint24\",\"name\":\"fee\",\"type\":\"uint24\"},{\"internalType\":\"int24\",\"name\":\"tickSpacing\",\"type\":\"int24\"}],\"name\":\"enableFeeAmount\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint24\",\"name\":\"fee\",\"type\":\"uint24\"}],\"name\":\"feeAmountTickSpacing\",\"outputs\":[{\"internalType\":\"int24\",\"name\":\"\",\"type\":\"int24\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"tokenA\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"tokenB\",\"type\":\"address\"},{\"internalType\":\"uint24\",\"name\":\"fee\",\"type\":\"uint24\"}],\"name\":\"getPool\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"pool\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_owner\",\"type\":\"address\"}],\"name\":\"setOwner\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
}
Iuniswapv3factoryMetaData contains all meta data concerning the Iuniswapv3factory contract.
Functions ¶
This section is empty.
Types ¶
type Iuniswapv3factory ¶
type Iuniswapv3factory struct { Iuniswapv3factoryCaller // Read-only binding to the contract Iuniswapv3factoryTransactor // Write-only binding to the contract Iuniswapv3factoryFilterer // Log filterer for contract events }
Iuniswapv3factory is an auto generated Go binding around an Ethereum contract.
func NewIuniswapv3factory ¶
func NewIuniswapv3factory(address common.Address, backend bind.ContractBackend) (*Iuniswapv3factory, error)
NewIuniswapv3factory creates a new instance of Iuniswapv3factory, bound to a specific deployed contract.
type Iuniswapv3factoryCaller ¶
type Iuniswapv3factoryCaller struct {
// contains filtered or unexported fields
}
Iuniswapv3factoryCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewIuniswapv3factoryCaller ¶
func NewIuniswapv3factoryCaller(address common.Address, caller bind.ContractCaller) (*Iuniswapv3factoryCaller, error)
NewIuniswapv3factoryCaller creates a new read-only instance of Iuniswapv3factory, bound to a specific deployed contract.
func (*Iuniswapv3factoryCaller) FeeAmountTickSpacing ¶
func (_Iuniswapv3factory *Iuniswapv3factoryCaller) FeeAmountTickSpacing(opts *bind.CallOpts, fee *big.Int) (*big.Int, error)
FeeAmountTickSpacing is a free data retrieval call binding the contract method 0x22afcccb.
Solidity: function feeAmountTickSpacing(uint24 fee) view returns(int24)
func (*Iuniswapv3factoryCaller) GetPool ¶
func (_Iuniswapv3factory *Iuniswapv3factoryCaller) GetPool(opts *bind.CallOpts, tokenA common.Address, tokenB common.Address, fee *big.Int) (common.Address, error)
GetPool is a free data retrieval call binding the contract method 0x1698ee82.
Solidity: function getPool(address tokenA, address tokenB, uint24 fee) view returns(address pool)
type Iuniswapv3factoryCallerRaw ¶
type Iuniswapv3factoryCallerRaw struct {
Contract *Iuniswapv3factoryCaller // Generic read-only contract binding to access the raw methods on
}
Iuniswapv3factoryCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*Iuniswapv3factoryCallerRaw) Call ¶
func (_Iuniswapv3factory *Iuniswapv3factoryCallerRaw) 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 Iuniswapv3factoryCallerSession ¶
type Iuniswapv3factoryCallerSession struct { Contract *Iuniswapv3factoryCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
Iuniswapv3factoryCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*Iuniswapv3factoryCallerSession) FeeAmountTickSpacing ¶
func (_Iuniswapv3factory *Iuniswapv3factoryCallerSession) FeeAmountTickSpacing(fee *big.Int) (*big.Int, error)
FeeAmountTickSpacing is a free data retrieval call binding the contract method 0x22afcccb.
Solidity: function feeAmountTickSpacing(uint24 fee) view returns(int24)
func (*Iuniswapv3factoryCallerSession) GetPool ¶
func (_Iuniswapv3factory *Iuniswapv3factoryCallerSession) GetPool(tokenA common.Address, tokenB common.Address, fee *big.Int) (common.Address, error)
GetPool is a free data retrieval call binding the contract method 0x1698ee82.
Solidity: function getPool(address tokenA, address tokenB, uint24 fee) view returns(address pool)
type Iuniswapv3factoryFeeAmountEnabled ¶
type Iuniswapv3factoryFeeAmountEnabled struct { Fee *big.Int TickSpacing *big.Int Raw types.Log // Blockchain specific contextual infos }
Iuniswapv3factoryFeeAmountEnabled represents a FeeAmountEnabled event raised by the Iuniswapv3factory contract.
type Iuniswapv3factoryFeeAmountEnabledIterator ¶
type Iuniswapv3factoryFeeAmountEnabledIterator struct { Event *Iuniswapv3factoryFeeAmountEnabled // Event containing the contract specifics and raw log // contains filtered or unexported fields }
Iuniswapv3factoryFeeAmountEnabledIterator is returned from FilterFeeAmountEnabled and is used to iterate over the raw logs and unpacked data for FeeAmountEnabled events raised by the Iuniswapv3factory contract.
func (*Iuniswapv3factoryFeeAmountEnabledIterator) Close ¶
func (it *Iuniswapv3factoryFeeAmountEnabledIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*Iuniswapv3factoryFeeAmountEnabledIterator) Error ¶
func (it *Iuniswapv3factoryFeeAmountEnabledIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*Iuniswapv3factoryFeeAmountEnabledIterator) Next ¶
func (it *Iuniswapv3factoryFeeAmountEnabledIterator) 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 Iuniswapv3factoryFilterer ¶
type Iuniswapv3factoryFilterer struct {
// contains filtered or unexported fields
}
Iuniswapv3factoryFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewIuniswapv3factoryFilterer ¶
func NewIuniswapv3factoryFilterer(address common.Address, filterer bind.ContractFilterer) (*Iuniswapv3factoryFilterer, error)
NewIuniswapv3factoryFilterer creates a new log filterer instance of Iuniswapv3factory, bound to a specific deployed contract.
func (*Iuniswapv3factoryFilterer) FilterFeeAmountEnabled ¶
func (_Iuniswapv3factory *Iuniswapv3factoryFilterer) FilterFeeAmountEnabled(opts *bind.FilterOpts, fee []*big.Int, tickSpacing []*big.Int) (*Iuniswapv3factoryFeeAmountEnabledIterator, error)
FilterFeeAmountEnabled is a free log retrieval operation binding the contract event 0xc66a3fdf07232cdd185febcc6579d408c241b47ae2f9907d84be655141eeaecc.
Solidity: event FeeAmountEnabled(uint24 indexed fee, int24 indexed tickSpacing)
func (*Iuniswapv3factoryFilterer) FilterOwnerChanged ¶
func (_Iuniswapv3factory *Iuniswapv3factoryFilterer) FilterOwnerChanged(opts *bind.FilterOpts, oldOwner []common.Address, newOwner []common.Address) (*Iuniswapv3factoryOwnerChangedIterator, error)
FilterOwnerChanged is a free log retrieval operation binding the contract event 0xb532073b38c83145e3e5135377a08bf9aab55bc0fd7c1179cd4fb995d2a5159c.
Solidity: event OwnerChanged(address indexed oldOwner, address indexed newOwner)
func (*Iuniswapv3factoryFilterer) FilterPoolCreated ¶
func (_Iuniswapv3factory *Iuniswapv3factoryFilterer) FilterPoolCreated(opts *bind.FilterOpts, token0 []common.Address, token1 []common.Address, fee []*big.Int) (*Iuniswapv3factoryPoolCreatedIterator, 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 (*Iuniswapv3factoryFilterer) ParseFeeAmountEnabled ¶
func (_Iuniswapv3factory *Iuniswapv3factoryFilterer) ParseFeeAmountEnabled(log types.Log) (*Iuniswapv3factoryFeeAmountEnabled, error)
ParseFeeAmountEnabled is a log parse operation binding the contract event 0xc66a3fdf07232cdd185febcc6579d408c241b47ae2f9907d84be655141eeaecc.
Solidity: event FeeAmountEnabled(uint24 indexed fee, int24 indexed tickSpacing)
func (*Iuniswapv3factoryFilterer) ParseOwnerChanged ¶
func (_Iuniswapv3factory *Iuniswapv3factoryFilterer) ParseOwnerChanged(log types.Log) (*Iuniswapv3factoryOwnerChanged, error)
ParseOwnerChanged is a log parse operation binding the contract event 0xb532073b38c83145e3e5135377a08bf9aab55bc0fd7c1179cd4fb995d2a5159c.
Solidity: event OwnerChanged(address indexed oldOwner, address indexed newOwner)
func (*Iuniswapv3factoryFilterer) ParsePoolCreated ¶
func (_Iuniswapv3factory *Iuniswapv3factoryFilterer) ParsePoolCreated(log types.Log) (*Iuniswapv3factoryPoolCreated, 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 (*Iuniswapv3factoryFilterer) WatchFeeAmountEnabled ¶
func (_Iuniswapv3factory *Iuniswapv3factoryFilterer) WatchFeeAmountEnabled(opts *bind.WatchOpts, sink chan<- *Iuniswapv3factoryFeeAmountEnabled, 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 (*Iuniswapv3factoryFilterer) WatchOwnerChanged ¶
func (_Iuniswapv3factory *Iuniswapv3factoryFilterer) WatchOwnerChanged(opts *bind.WatchOpts, sink chan<- *Iuniswapv3factoryOwnerChanged, 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 (*Iuniswapv3factoryFilterer) WatchPoolCreated ¶
func (_Iuniswapv3factory *Iuniswapv3factoryFilterer) WatchPoolCreated(opts *bind.WatchOpts, sink chan<- *Iuniswapv3factoryPoolCreated, token0 []common.Address, token1 []common.Address, fee []*big.Int) (event.Subscription, error)
WatchPoolCreated is a free log subscription operation binding the contract event 0x783cca1c0412dd0d695e784568c96da2e9c22ff989357a2e8b1d9b2b4e6b7118.
Solidity: event PoolCreated(address indexed token0, address indexed token1, uint24 indexed fee, int24 tickSpacing, address pool)
type Iuniswapv3factoryOwnerChanged ¶
type Iuniswapv3factoryOwnerChanged struct { OldOwner common.Address NewOwner common.Address Raw types.Log // Blockchain specific contextual infos }
Iuniswapv3factoryOwnerChanged represents a OwnerChanged event raised by the Iuniswapv3factory contract.
type Iuniswapv3factoryOwnerChangedIterator ¶
type Iuniswapv3factoryOwnerChangedIterator struct { Event *Iuniswapv3factoryOwnerChanged // Event containing the contract specifics and raw log // contains filtered or unexported fields }
Iuniswapv3factoryOwnerChangedIterator is returned from FilterOwnerChanged and is used to iterate over the raw logs and unpacked data for OwnerChanged events raised by the Iuniswapv3factory contract.
func (*Iuniswapv3factoryOwnerChangedIterator) Close ¶
func (it *Iuniswapv3factoryOwnerChangedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*Iuniswapv3factoryOwnerChangedIterator) Error ¶
func (it *Iuniswapv3factoryOwnerChangedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*Iuniswapv3factoryOwnerChangedIterator) Next ¶
func (it *Iuniswapv3factoryOwnerChangedIterator) 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 Iuniswapv3factoryPoolCreated ¶
type Iuniswapv3factoryPoolCreated struct { Token0 common.Address Token1 common.Address Fee *big.Int TickSpacing *big.Int Pool common.Address Raw types.Log // Blockchain specific contextual infos }
Iuniswapv3factoryPoolCreated represents a PoolCreated event raised by the Iuniswapv3factory contract.
type Iuniswapv3factoryPoolCreatedIterator ¶
type Iuniswapv3factoryPoolCreatedIterator struct { Event *Iuniswapv3factoryPoolCreated // Event containing the contract specifics and raw log // contains filtered or unexported fields }
Iuniswapv3factoryPoolCreatedIterator is returned from FilterPoolCreated and is used to iterate over the raw logs and unpacked data for PoolCreated events raised by the Iuniswapv3factory contract.
func (*Iuniswapv3factoryPoolCreatedIterator) Close ¶
func (it *Iuniswapv3factoryPoolCreatedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*Iuniswapv3factoryPoolCreatedIterator) Error ¶
func (it *Iuniswapv3factoryPoolCreatedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*Iuniswapv3factoryPoolCreatedIterator) Next ¶
func (it *Iuniswapv3factoryPoolCreatedIterator) 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 Iuniswapv3factoryRaw ¶
type Iuniswapv3factoryRaw struct {
Contract *Iuniswapv3factory // Generic contract binding to access the raw methods on
}
Iuniswapv3factoryRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*Iuniswapv3factoryRaw) Call ¶
func (_Iuniswapv3factory *Iuniswapv3factoryRaw) 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 (*Iuniswapv3factoryRaw) Transact ¶
func (_Iuniswapv3factory *Iuniswapv3factoryRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*Iuniswapv3factoryRaw) Transfer ¶
func (_Iuniswapv3factory *Iuniswapv3factoryRaw) 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 Iuniswapv3factorySession ¶
type Iuniswapv3factorySession struct { Contract *Iuniswapv3factory // 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 }
Iuniswapv3factorySession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*Iuniswapv3factorySession) CreatePool ¶
func (_Iuniswapv3factory *Iuniswapv3factorySession) 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 (*Iuniswapv3factorySession) EnableFeeAmount ¶
func (_Iuniswapv3factory *Iuniswapv3factorySession) 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 (*Iuniswapv3factorySession) FeeAmountTickSpacing ¶
func (_Iuniswapv3factory *Iuniswapv3factorySession) FeeAmountTickSpacing(fee *big.Int) (*big.Int, error)
FeeAmountTickSpacing is a free data retrieval call binding the contract method 0x22afcccb.
Solidity: function feeAmountTickSpacing(uint24 fee) view returns(int24)
func (*Iuniswapv3factorySession) GetPool ¶
func (_Iuniswapv3factory *Iuniswapv3factorySession) GetPool(tokenA common.Address, tokenB common.Address, fee *big.Int) (common.Address, error)
GetPool is a free data retrieval call binding the contract method 0x1698ee82.
Solidity: function getPool(address tokenA, address tokenB, uint24 fee) view returns(address pool)
func (*Iuniswapv3factorySession) Owner ¶
func (_Iuniswapv3factory *Iuniswapv3factorySession) Owner() (common.Address, error)
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() view returns(address)
func (*Iuniswapv3factorySession) SetOwner ¶
func (_Iuniswapv3factory *Iuniswapv3factorySession) SetOwner(_owner common.Address) (*types.Transaction, error)
SetOwner is a paid mutator transaction binding the contract method 0x13af4035.
Solidity: function setOwner(address _owner) returns()
type Iuniswapv3factoryTransactor ¶
type Iuniswapv3factoryTransactor struct {
// contains filtered or unexported fields
}
Iuniswapv3factoryTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewIuniswapv3factoryTransactor ¶
func NewIuniswapv3factoryTransactor(address common.Address, transactor bind.ContractTransactor) (*Iuniswapv3factoryTransactor, error)
NewIuniswapv3factoryTransactor creates a new write-only instance of Iuniswapv3factory, bound to a specific deployed contract.
func (*Iuniswapv3factoryTransactor) CreatePool ¶
func (_Iuniswapv3factory *Iuniswapv3factoryTransactor) 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 (*Iuniswapv3factoryTransactor) EnableFeeAmount ¶
func (_Iuniswapv3factory *Iuniswapv3factoryTransactor) 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 (*Iuniswapv3factoryTransactor) SetOwner ¶
func (_Iuniswapv3factory *Iuniswapv3factoryTransactor) SetOwner(opts *bind.TransactOpts, _owner common.Address) (*types.Transaction, error)
SetOwner is a paid mutator transaction binding the contract method 0x13af4035.
Solidity: function setOwner(address _owner) returns()
type Iuniswapv3factoryTransactorRaw ¶
type Iuniswapv3factoryTransactorRaw struct {
Contract *Iuniswapv3factoryTransactor // Generic write-only contract binding to access the raw methods on
}
Iuniswapv3factoryTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*Iuniswapv3factoryTransactorRaw) Transact ¶
func (_Iuniswapv3factory *Iuniswapv3factoryTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*Iuniswapv3factoryTransactorRaw) Transfer ¶
func (_Iuniswapv3factory *Iuniswapv3factoryTransactorRaw) 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 Iuniswapv3factoryTransactorSession ¶
type Iuniswapv3factoryTransactorSession struct { Contract *Iuniswapv3factoryTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
Iuniswapv3factoryTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*Iuniswapv3factoryTransactorSession) CreatePool ¶
func (_Iuniswapv3factory *Iuniswapv3factoryTransactorSession) 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 (*Iuniswapv3factoryTransactorSession) EnableFeeAmount ¶
func (_Iuniswapv3factory *Iuniswapv3factoryTransactorSession) 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 (*Iuniswapv3factoryTransactorSession) SetOwner ¶
func (_Iuniswapv3factory *Iuniswapv3factoryTransactorSession) SetOwner(_owner common.Address) (*types.Transaction, error)
SetOwner is a paid mutator transaction binding the contract method 0x13af4035.
Solidity: function setOwner(address _owner) returns()