camelotv3

package
v1.4.459 Latest Latest
Warning

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

Go to latest
Published: Mar 18, 2024 License: GPL-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Camelotv3ABI = Camelotv3MetaData.ABI

Camelotv3ABI is the input ABI used to generate the binding from. Deprecated: Use Camelotv3MetaData.ABI instead.

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

Camelotv3MetaData contains all meta data concerning the Camelotv3 contract.

Functions

This section is empty.

Types

type Camelotv3

type Camelotv3 struct {
	Camelotv3Caller     // Read-only binding to the contract
	Camelotv3Transactor // Write-only binding to the contract
	Camelotv3Filterer   // Log filterer for contract events
}

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

func NewCamelotv3

func NewCamelotv3(address common.Address, backend bind.ContractBackend) (*Camelotv3, error)

NewCamelotv3 creates a new instance of Camelotv3, bound to a specific deployed contract.

type Camelotv3Caller

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

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

func NewCamelotv3Caller

func NewCamelotv3Caller(address common.Address, caller bind.ContractCaller) (*Camelotv3Caller, error)

NewCamelotv3Caller creates a new read-only instance of Camelotv3, bound to a specific deployed contract.

func (*Camelotv3Caller) BaseFeeConfiguration

func (_Camelotv3 *Camelotv3Caller) BaseFeeConfiguration(opts *bind.CallOpts) (struct {
	Alpha1      uint16
	Alpha2      uint16
	Beta1       uint32
	Beta2       uint32
	Gamma1      uint16
	Gamma2      uint16
	VolumeBeta  uint32
	VolumeGamma uint16
	BaseFee     uint16
}, error)

BaseFeeConfiguration is a free data retrieval call binding the contract method 0x9832853a.

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

func (*Camelotv3Caller) DefaultCommunityFee

func (_Camelotv3 *Camelotv3Caller) DefaultCommunityFee(opts *bind.CallOpts) (uint8, error)

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

Solidity: function defaultCommunityFee() view returns(uint8)

func (*Camelotv3Caller) FarmingAddress

func (_Camelotv3 *Camelotv3Caller) 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 (*Camelotv3Caller) Owner

func (_Camelotv3 *Camelotv3Caller) 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 (*Camelotv3Caller) PoolByPair

func (_Camelotv3 *Camelotv3Caller) PoolByPair(opts *bind.CallOpts, arg0 common.Address, arg1 common.Address) (common.Address, error)

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

Solidity: function poolByPair(address , address ) view returns(address)

func (*Camelotv3Caller) PoolDeployer

func (_Camelotv3 *Camelotv3Caller) 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 (*Camelotv3Caller) VaultAddress

func (_Camelotv3 *Camelotv3Caller) 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 Camelotv3CallerRaw

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

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

func (*Camelotv3CallerRaw) Call

func (_Camelotv3 *Camelotv3CallerRaw) 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 Camelotv3CallerSession

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

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

func (*Camelotv3CallerSession) BaseFeeConfiguration

func (_Camelotv3 *Camelotv3CallerSession) BaseFeeConfiguration() (struct {
	Alpha1      uint16
	Alpha2      uint16
	Beta1       uint32
	Beta2       uint32
	Gamma1      uint16
	Gamma2      uint16
	VolumeBeta  uint32
	VolumeGamma uint16
	BaseFee     uint16
}, error)

BaseFeeConfiguration is a free data retrieval call binding the contract method 0x9832853a.

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

func (*Camelotv3CallerSession) DefaultCommunityFee

func (_Camelotv3 *Camelotv3CallerSession) DefaultCommunityFee() (uint8, error)

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

Solidity: function defaultCommunityFee() view returns(uint8)

func (*Camelotv3CallerSession) FarmingAddress

func (_Camelotv3 *Camelotv3CallerSession) FarmingAddress() (common.Address, error)

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

Solidity: function farmingAddress() view returns(address)

func (*Camelotv3CallerSession) Owner

func (_Camelotv3 *Camelotv3CallerSession) Owner() (common.Address, error)

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

Solidity: function owner() view returns(address)

func (*Camelotv3CallerSession) PoolByPair

func (_Camelotv3 *Camelotv3CallerSession) PoolByPair(arg0 common.Address, arg1 common.Address) (common.Address, error)

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

Solidity: function poolByPair(address , address ) view returns(address)

func (*Camelotv3CallerSession) PoolDeployer

func (_Camelotv3 *Camelotv3CallerSession) PoolDeployer() (common.Address, error)

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

Solidity: function poolDeployer() view returns(address)

func (*Camelotv3CallerSession) VaultAddress

func (_Camelotv3 *Camelotv3CallerSession) VaultAddress() (common.Address, error)

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

Solidity: function vaultAddress() view returns(address)

type Camelotv3DefaultCommunityFee

type Camelotv3DefaultCommunityFee struct {
	NewDefaultCommunityFee uint8
	Raw                    types.Log // Blockchain specific contextual infos
}

Camelotv3DefaultCommunityFee represents a DefaultCommunityFee event raised by the Camelotv3 contract.

type Camelotv3DefaultCommunityFeeIterator

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

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

func (*Camelotv3DefaultCommunityFeeIterator) Close

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

func (*Camelotv3DefaultCommunityFeeIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*Camelotv3DefaultCommunityFeeIterator) 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 Camelotv3FarmingAddress

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

Camelotv3FarmingAddress represents a FarmingAddress event raised by the Camelotv3 contract.

type Camelotv3FarmingAddressIterator

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

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

func (*Camelotv3FarmingAddressIterator) Close

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

func (*Camelotv3FarmingAddressIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*Camelotv3FarmingAddressIterator) 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 Camelotv3FeeConfiguration

type Camelotv3FeeConfiguration 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
}

Camelotv3FeeConfiguration represents a FeeConfiguration event raised by the Camelotv3 contract.

type Camelotv3FeeConfigurationIterator

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

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

func (*Camelotv3FeeConfigurationIterator) Close

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

func (*Camelotv3FeeConfigurationIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*Camelotv3FeeConfigurationIterator) 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 Camelotv3Filterer

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

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

func NewCamelotv3Filterer

func NewCamelotv3Filterer(address common.Address, filterer bind.ContractFilterer) (*Camelotv3Filterer, error)

NewCamelotv3Filterer creates a new log filterer instance of Camelotv3, bound to a specific deployed contract.

func (*Camelotv3Filterer) FilterDefaultCommunityFee

func (_Camelotv3 *Camelotv3Filterer) FilterDefaultCommunityFee(opts *bind.FilterOpts) (*Camelotv3DefaultCommunityFeeIterator, error)

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

Solidity: event DefaultCommunityFee(uint8 newDefaultCommunityFee)

func (*Camelotv3Filterer) FilterFarmingAddress

func (_Camelotv3 *Camelotv3Filterer) FilterFarmingAddress(opts *bind.FilterOpts, newFarmingAddress []common.Address) (*Camelotv3FarmingAddressIterator, error)

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

Solidity: event FarmingAddress(address indexed newFarmingAddress)

func (*Camelotv3Filterer) FilterFeeConfiguration

func (_Camelotv3 *Camelotv3Filterer) FilterFeeConfiguration(opts *bind.FilterOpts) (*Camelotv3FeeConfigurationIterator, 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 (*Camelotv3Filterer) FilterOwner

func (_Camelotv3 *Camelotv3Filterer) FilterOwner(opts *bind.FilterOpts, newOwner []common.Address) (*Camelotv3OwnerIterator, error)

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

Solidity: event Owner(address indexed newOwner)

func (*Camelotv3Filterer) FilterPool

func (_Camelotv3 *Camelotv3Filterer) FilterPool(opts *bind.FilterOpts, token0 []common.Address, token1 []common.Address) (*Camelotv3PoolIterator, 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 (*Camelotv3Filterer) FilterVaultAddress

func (_Camelotv3 *Camelotv3Filterer) FilterVaultAddress(opts *bind.FilterOpts, newVaultAddress []common.Address) (*Camelotv3VaultAddressIterator, error)

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

Solidity: event VaultAddress(address indexed newVaultAddress)

func (*Camelotv3Filterer) ParseDefaultCommunityFee

func (_Camelotv3 *Camelotv3Filterer) ParseDefaultCommunityFee(log types.Log) (*Camelotv3DefaultCommunityFee, error)

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

Solidity: event DefaultCommunityFee(uint8 newDefaultCommunityFee)

func (*Camelotv3Filterer) ParseFarmingAddress

func (_Camelotv3 *Camelotv3Filterer) ParseFarmingAddress(log types.Log) (*Camelotv3FarmingAddress, error)

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

Solidity: event FarmingAddress(address indexed newFarmingAddress)

func (*Camelotv3Filterer) ParseFeeConfiguration

func (_Camelotv3 *Camelotv3Filterer) ParseFeeConfiguration(log types.Log) (*Camelotv3FeeConfiguration, 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 (*Camelotv3Filterer) ParseOwner

func (_Camelotv3 *Camelotv3Filterer) ParseOwner(log types.Log) (*Camelotv3Owner, error)

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

Solidity: event Owner(address indexed newOwner)

func (*Camelotv3Filterer) ParsePool

func (_Camelotv3 *Camelotv3Filterer) ParsePool(log types.Log) (*Camelotv3Pool, error)

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

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

func (*Camelotv3Filterer) ParseVaultAddress

func (_Camelotv3 *Camelotv3Filterer) ParseVaultAddress(log types.Log) (*Camelotv3VaultAddress, error)

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

Solidity: event VaultAddress(address indexed newVaultAddress)

func (*Camelotv3Filterer) WatchDefaultCommunityFee

func (_Camelotv3 *Camelotv3Filterer) WatchDefaultCommunityFee(opts *bind.WatchOpts, sink chan<- *Camelotv3DefaultCommunityFee) (event.Subscription, error)

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

Solidity: event DefaultCommunityFee(uint8 newDefaultCommunityFee)

func (*Camelotv3Filterer) WatchFarmingAddress

func (_Camelotv3 *Camelotv3Filterer) WatchFarmingAddress(opts *bind.WatchOpts, sink chan<- *Camelotv3FarmingAddress, 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 (*Camelotv3Filterer) WatchFeeConfiguration

func (_Camelotv3 *Camelotv3Filterer) WatchFeeConfiguration(opts *bind.WatchOpts, sink chan<- *Camelotv3FeeConfiguration) (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 (*Camelotv3Filterer) WatchOwner

func (_Camelotv3 *Camelotv3Filterer) WatchOwner(opts *bind.WatchOpts, sink chan<- *Camelotv3Owner, 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 (*Camelotv3Filterer) WatchPool

func (_Camelotv3 *Camelotv3Filterer) WatchPool(opts *bind.WatchOpts, sink chan<- *Camelotv3Pool, 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 (*Camelotv3Filterer) WatchVaultAddress

func (_Camelotv3 *Camelotv3Filterer) WatchVaultAddress(opts *bind.WatchOpts, sink chan<- *Camelotv3VaultAddress, 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 Camelotv3Owner

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

Camelotv3Owner represents a Owner event raised by the Camelotv3 contract.

type Camelotv3OwnerIterator

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

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

func (*Camelotv3OwnerIterator) Close

func (it *Camelotv3OwnerIterator) Close() error

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

func (*Camelotv3OwnerIterator) Error

func (it *Camelotv3OwnerIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*Camelotv3OwnerIterator) Next

func (it *Camelotv3OwnerIterator) 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 Camelotv3Pool

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

Camelotv3Pool represents a Pool event raised by the Camelotv3 contract.

type Camelotv3PoolIterator

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

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

func (*Camelotv3PoolIterator) Close

func (it *Camelotv3PoolIterator) Close() error

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

func (*Camelotv3PoolIterator) Error

func (it *Camelotv3PoolIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*Camelotv3PoolIterator) Next

func (it *Camelotv3PoolIterator) 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 Camelotv3Raw

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

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

func (*Camelotv3Raw) Call

func (_Camelotv3 *Camelotv3Raw) 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 (*Camelotv3Raw) Transact

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

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

func (*Camelotv3Raw) Transfer

func (_Camelotv3 *Camelotv3Raw) 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 Camelotv3Session

type Camelotv3Session struct {
	Contract     *Camelotv3        // 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
}

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

func (*Camelotv3Session) BaseFeeConfiguration

func (_Camelotv3 *Camelotv3Session) BaseFeeConfiguration() (struct {
	Alpha1      uint16
	Alpha2      uint16
	Beta1       uint32
	Beta2       uint32
	Gamma1      uint16
	Gamma2      uint16
	VolumeBeta  uint32
	VolumeGamma uint16
	BaseFee     uint16
}, error)

BaseFeeConfiguration is a free data retrieval call binding the contract method 0x9832853a.

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

func (*Camelotv3Session) CreatePool

func (_Camelotv3 *Camelotv3Session) 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 (*Camelotv3Session) DefaultCommunityFee

func (_Camelotv3 *Camelotv3Session) DefaultCommunityFee() (uint8, error)

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

Solidity: function defaultCommunityFee() view returns(uint8)

func (*Camelotv3Session) FarmingAddress

func (_Camelotv3 *Camelotv3Session) FarmingAddress() (common.Address, error)

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

Solidity: function farmingAddress() view returns(address)

func (*Camelotv3Session) Owner

func (_Camelotv3 *Camelotv3Session) Owner() (common.Address, error)

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

Solidity: function owner() view returns(address)

func (*Camelotv3Session) PoolByPair

func (_Camelotv3 *Camelotv3Session) PoolByPair(arg0 common.Address, arg1 common.Address) (common.Address, error)

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

Solidity: function poolByPair(address , address ) view returns(address)

func (*Camelotv3Session) PoolDeployer

func (_Camelotv3 *Camelotv3Session) PoolDeployer() (common.Address, error)

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

Solidity: function poolDeployer() view returns(address)

func (*Camelotv3Session) SetBaseFeeConfiguration

func (_Camelotv3 *Camelotv3Session) 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 (*Camelotv3Session) SetDefaultCommunityFee

func (_Camelotv3 *Camelotv3Session) SetDefaultCommunityFee(newDefaultCommunityFee uint8) (*types.Transaction, error)

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

Solidity: function setDefaultCommunityFee(uint8 newDefaultCommunityFee) returns()

func (*Camelotv3Session) SetFarmingAddress

func (_Camelotv3 *Camelotv3Session) 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 (*Camelotv3Session) SetOwner

func (_Camelotv3 *Camelotv3Session) 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 (*Camelotv3Session) SetVaultAddress

func (_Camelotv3 *Camelotv3Session) 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 (*Camelotv3Session) VaultAddress

func (_Camelotv3 *Camelotv3Session) VaultAddress() (common.Address, error)

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

Solidity: function vaultAddress() view returns(address)

type Camelotv3Transactor

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

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

func NewCamelotv3Transactor

func NewCamelotv3Transactor(address common.Address, transactor bind.ContractTransactor) (*Camelotv3Transactor, error)

NewCamelotv3Transactor creates a new write-only instance of Camelotv3, bound to a specific deployed contract.

func (*Camelotv3Transactor) CreatePool

func (_Camelotv3 *Camelotv3Transactor) 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 (*Camelotv3Transactor) SetBaseFeeConfiguration

func (_Camelotv3 *Camelotv3Transactor) 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 (*Camelotv3Transactor) SetDefaultCommunityFee

func (_Camelotv3 *Camelotv3Transactor) SetDefaultCommunityFee(opts *bind.TransactOpts, newDefaultCommunityFee uint8) (*types.Transaction, error)

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

Solidity: function setDefaultCommunityFee(uint8 newDefaultCommunityFee) returns()

func (*Camelotv3Transactor) SetFarmingAddress

func (_Camelotv3 *Camelotv3Transactor) 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 (*Camelotv3Transactor) SetOwner

func (_Camelotv3 *Camelotv3Transactor) 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 (*Camelotv3Transactor) SetVaultAddress

func (_Camelotv3 *Camelotv3Transactor) 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 Camelotv3TransactorRaw

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

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

func (*Camelotv3TransactorRaw) Transact

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

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

func (*Camelotv3TransactorRaw) Transfer

func (_Camelotv3 *Camelotv3TransactorRaw) 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 Camelotv3TransactorSession

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

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

func (*Camelotv3TransactorSession) CreatePool

func (_Camelotv3 *Camelotv3TransactorSession) 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 (*Camelotv3TransactorSession) SetBaseFeeConfiguration

func (_Camelotv3 *Camelotv3TransactorSession) 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 (*Camelotv3TransactorSession) SetDefaultCommunityFee

func (_Camelotv3 *Camelotv3TransactorSession) SetDefaultCommunityFee(newDefaultCommunityFee uint8) (*types.Transaction, error)

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

Solidity: function setDefaultCommunityFee(uint8 newDefaultCommunityFee) returns()

func (*Camelotv3TransactorSession) SetFarmingAddress

func (_Camelotv3 *Camelotv3TransactorSession) 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 (*Camelotv3TransactorSession) SetOwner

func (_Camelotv3 *Camelotv3TransactorSession) 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 (*Camelotv3TransactorSession) SetVaultAddress

func (_Camelotv3 *Camelotv3TransactorSession) 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 Camelotv3VaultAddress

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

Camelotv3VaultAddress represents a VaultAddress event raised by the Camelotv3 contract.

type Camelotv3VaultAddressIterator

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

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

func (*Camelotv3VaultAddressIterator) Close

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

func (*Camelotv3VaultAddressIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

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

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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