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