camelotv3pair

package
v1.4.542-2 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Camelotv3pairABI = Camelotv3pairMetaData.ABI

Camelotv3pairABI is the input ABI used to generate the binding from. Deprecated: Use Camelotv3pairMetaData.ABI instead.

View Source
var Camelotv3pairMetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"Approval\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount0\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount1\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"}],\"name\":\"Burn\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"}],\"name\":\"DrainWrongToken\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint16\",\"name\":\"token0FeePercent\",\"type\":\"uint16\"},{\"indexed\":false,\"internalType\":\"uint16\",\"name\":\"token1FeePercent\",\"type\":\"uint16\"}],\"name\":\"FeePercentUpdated\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount0\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount1\",\"type\":\"uint256\"}],\"name\":\"Mint\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[],\"name\":\"SetPairTypeImmutable\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"bool\",\"name\":\"prevStableSwap\",\"type\":\"bool\"},{\"indexed\":false,\"internalType\":\"bool\",\"name\":\"stableSwap\",\"type\":\"bool\"}],\"name\":\"SetStableSwap\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[],\"name\":\"Skim\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount0In\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount1In\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount0Out\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount1Out\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"}],\"name\":\"Swap\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint112\",\"name\":\"reserve0\",\"type\":\"uint112\"},{\"indexed\":false,\"internalType\":\"uint112\",\"name\":\"reserve1\",\"type\":\"uint112\"}],\"name\":\"Sync\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"Transfer\",\"type\":\"event\"},{\"constant\":true,\"inputs\":[],\"name\":\"DOMAIN_SEPARATOR\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"FEE_DENOMINATOR\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"MAX_FEE_PERCENT\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"MINIMUM_LIQUIDITY\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"PERMIT_TYPEHASH\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"allowance\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"approve\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"balanceOf\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"}],\"name\":\"burn\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"amount0\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amount1\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"decimals\",\"outputs\":[{\"internalType\":\"uint8\",\"name\":\"\",\"type\":\"uint8\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"}],\"name\":\"drainWrongToken\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"factory\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"amountIn\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"tokenIn\",\"type\":\"address\"}],\"name\":\"getAmountOut\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"getReserves\",\"outputs\":[{\"internalType\":\"uint112\",\"name\":\"_reserve0\",\"type\":\"uint112\"},{\"internalType\":\"uint112\",\"name\":\"_reserve1\",\"type\":\"uint112\"},{\"internalType\":\"uint16\",\"name\":\"_token0FeePercent\",\"type\":\"uint16\"},{\"internalType\":\"uint16\",\"name\":\"_token1FeePercent\",\"type\":\"uint16\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"address\",\"name\":\"_token0\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_token1\",\"type\":\"address\"}],\"name\":\"initialize\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"initialized\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"kLast\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"}],\"name\":\"mint\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"liquidity\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"name\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"nonces\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"pairTypeImmutable\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"deadline\",\"type\":\"uint256\"},{\"internalType\":\"uint8\",\"name\":\"v\",\"type\":\"uint8\"},{\"internalType\":\"bytes32\",\"name\":\"r\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"s\",\"type\":\"bytes32\"}],\"name\":\"permit\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"precisionMultiplier0\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"precisionMultiplier1\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"uint16\",\"name\":\"newToken0FeePercent\",\"type\":\"uint16\"},{\"internalType\":\"uint16\",\"name\":\"newToken1FeePercent\",\"type\":\"uint16\"}],\"name\":\"setFeePercent\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[],\"name\":\"setPairTypeImmutable\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"bool\",\"name\":\"stable\",\"type\":\"bool\"},{\"internalType\":\"uint112\",\"name\":\"expectedReserve0\",\"type\":\"uint112\"},{\"internalType\":\"uint112\",\"name\":\"expectedReserve1\",\"type\":\"uint112\"}],\"name\":\"setStableSwap\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"}],\"name\":\"skim\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"stableSwap\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"amount0Out\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amount1Out\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"swap\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"amount0Out\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amount1Out\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"},{\"internalType\":\"address\",\"name\":\"referrer\",\"type\":\"address\"}],\"name\":\"swap\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"symbol\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[],\"name\":\"sync\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"token0\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"token0FeePercent\",\"outputs\":[{\"internalType\":\"uint16\",\"name\":\"\",\"type\":\"uint16\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"token1\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"token1FeePercent\",\"outputs\":[{\"internalType\":\"uint16\",\"name\":\"\",\"type\":\"uint16\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"totalSupply\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"transfer\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"transferFrom\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
}

Camelotv3pairMetaData contains all meta data concerning the Camelotv3pair contract.

Functions

This section is empty.

Types

type Camelotv3pair

type Camelotv3pair struct {
	Camelotv3pairCaller     // Read-only binding to the contract
	Camelotv3pairTransactor // Write-only binding to the contract
	Camelotv3pairFilterer   // Log filterer for contract events
}

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

func NewCamelotv3pair

func NewCamelotv3pair(address common.Address, backend bind.ContractBackend) (*Camelotv3pair, error)

NewCamelotv3pair creates a new instance of Camelotv3pair, bound to a specific deployed contract.

type Camelotv3pairApproval

type Camelotv3pairApproval struct {
	Owner   common.Address
	Spender common.Address
	Value   *big.Int
	Raw     types.Log // Blockchain specific contextual infos
}

Camelotv3pairApproval represents a Approval event raised by the Camelotv3pair contract.

type Camelotv3pairApprovalIterator

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

Camelotv3pairApprovalIterator is returned from FilterApproval and is used to iterate over the raw logs and unpacked data for Approval events raised by the Camelotv3pair contract.

func (*Camelotv3pairApprovalIterator) Close

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

func (*Camelotv3pairApprovalIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*Camelotv3pairApprovalIterator) 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 Camelotv3pairBurn

type Camelotv3pairBurn struct {
	Sender  common.Address
	Amount0 *big.Int
	Amount1 *big.Int
	To      common.Address
	Raw     types.Log // Blockchain specific contextual infos
}

Camelotv3pairBurn represents a Burn event raised by the Camelotv3pair contract.

type Camelotv3pairBurnIterator

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

Camelotv3pairBurnIterator is returned from FilterBurn and is used to iterate over the raw logs and unpacked data for Burn events raised by the Camelotv3pair contract.

func (*Camelotv3pairBurnIterator) Close

func (it *Camelotv3pairBurnIterator) Close() error

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

func (*Camelotv3pairBurnIterator) Error

func (it *Camelotv3pairBurnIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*Camelotv3pairBurnIterator) Next

func (it *Camelotv3pairBurnIterator) 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 Camelotv3pairCaller

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

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

func NewCamelotv3pairCaller

func NewCamelotv3pairCaller(address common.Address, caller bind.ContractCaller) (*Camelotv3pairCaller, error)

NewCamelotv3pairCaller creates a new read-only instance of Camelotv3pair, bound to a specific deployed contract.

func (*Camelotv3pairCaller) Allowance

func (_Camelotv3pair *Camelotv3pairCaller) Allowance(opts *bind.CallOpts, arg0 common.Address, arg1 common.Address) (*big.Int, error)

Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.

Solidity: function allowance(address , address ) view returns(uint256)

func (*Camelotv3pairCaller) BalanceOf

func (_Camelotv3pair *Camelotv3pairCaller) BalanceOf(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)

BalanceOf is a free data retrieval call binding the contract method 0x70a08231.

Solidity: function balanceOf(address ) view returns(uint256)

func (*Camelotv3pairCaller) DOMAINSEPARATOR

func (_Camelotv3pair *Camelotv3pairCaller) DOMAINSEPARATOR(opts *bind.CallOpts) ([32]byte, error)

DOMAINSEPARATOR is a free data retrieval call binding the contract method 0x3644e515.

Solidity: function DOMAIN_SEPARATOR() view returns(bytes32)

func (*Camelotv3pairCaller) Decimals

func (_Camelotv3pair *Camelotv3pairCaller) Decimals(opts *bind.CallOpts) (uint8, error)

Decimals is a free data retrieval call binding the contract method 0x313ce567.

Solidity: function decimals() view returns(uint8)

func (*Camelotv3pairCaller) FEEDENOMINATOR

func (_Camelotv3pair *Camelotv3pairCaller) FEEDENOMINATOR(opts *bind.CallOpts) (*big.Int, error)

FEEDENOMINATOR is a free data retrieval call binding the contract method 0xd73792a9.

Solidity: function FEE_DENOMINATOR() view returns(uint256)

func (*Camelotv3pairCaller) Factory

func (_Camelotv3pair *Camelotv3pairCaller) Factory(opts *bind.CallOpts) (common.Address, error)

Factory is a free data retrieval call binding the contract method 0xc45a0155.

Solidity: function factory() view returns(address)

func (*Camelotv3pairCaller) GetAmountOut

func (_Camelotv3pair *Camelotv3pairCaller) GetAmountOut(opts *bind.CallOpts, amountIn *big.Int, tokenIn common.Address) (*big.Int, error)

GetAmountOut is a free data retrieval call binding the contract method 0xf140a35a.

Solidity: function getAmountOut(uint256 amountIn, address tokenIn) view returns(uint256)

func (*Camelotv3pairCaller) GetReserves

func (_Camelotv3pair *Camelotv3pairCaller) GetReserves(opts *bind.CallOpts) (struct {
	Reserve0         *big.Int
	Reserve1         *big.Int
	Token0FeePercent uint16
	Token1FeePercent uint16
}, error)

GetReserves is a free data retrieval call binding the contract method 0x0902f1ac.

Solidity: function getReserves() view returns(uint112 _reserve0, uint112 _reserve1, uint16 _token0FeePercent, uint16 _token1FeePercent)

func (*Camelotv3pairCaller) Initialized

func (_Camelotv3pair *Camelotv3pairCaller) Initialized(opts *bind.CallOpts) (bool, error)

Initialized is a free data retrieval call binding the contract method 0x158ef93e.

Solidity: function initialized() view returns(bool)

func (*Camelotv3pairCaller) KLast

func (_Camelotv3pair *Camelotv3pairCaller) KLast(opts *bind.CallOpts) (*big.Int, error)

KLast is a free data retrieval call binding the contract method 0x7464fc3d.

Solidity: function kLast() view returns(uint256)

func (*Camelotv3pairCaller) MAXFEEPERCENT

func (_Camelotv3pair *Camelotv3pairCaller) MAXFEEPERCENT(opts *bind.CallOpts) (*big.Int, error)

MAXFEEPERCENT is a free data retrieval call binding the contract method 0x67d81740.

Solidity: function MAX_FEE_PERCENT() view returns(uint256)

func (*Camelotv3pairCaller) MINIMUMLIQUIDITY

func (_Camelotv3pair *Camelotv3pairCaller) MINIMUMLIQUIDITY(opts *bind.CallOpts) (*big.Int, error)

MINIMUMLIQUIDITY is a free data retrieval call binding the contract method 0xba9a7a56.

Solidity: function MINIMUM_LIQUIDITY() view returns(uint256)

func (*Camelotv3pairCaller) Name

func (_Camelotv3pair *Camelotv3pairCaller) Name(opts *bind.CallOpts) (string, error)

Name is a free data retrieval call binding the contract method 0x06fdde03.

Solidity: function name() view returns(string)

func (*Camelotv3pairCaller) Nonces

func (_Camelotv3pair *Camelotv3pairCaller) Nonces(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)

Nonces is a free data retrieval call binding the contract method 0x7ecebe00.

Solidity: function nonces(address ) view returns(uint256)

func (*Camelotv3pairCaller) PERMITTYPEHASH

func (_Camelotv3pair *Camelotv3pairCaller) PERMITTYPEHASH(opts *bind.CallOpts) ([32]byte, error)

PERMITTYPEHASH is a free data retrieval call binding the contract method 0x30adf81f.

Solidity: function PERMIT_TYPEHASH() view returns(bytes32)

func (*Camelotv3pairCaller) PairTypeImmutable

func (_Camelotv3pair *Camelotv3pairCaller) PairTypeImmutable(opts *bind.CallOpts) (bool, error)

PairTypeImmutable is a free data retrieval call binding the contract method 0xb6200b07.

Solidity: function pairTypeImmutable() view returns(bool)

func (*Camelotv3pairCaller) PrecisionMultiplier0

func (_Camelotv3pair *Camelotv3pairCaller) PrecisionMultiplier0(opts *bind.CallOpts) (*big.Int, error)

PrecisionMultiplier0 is a free data retrieval call binding the contract method 0x3b9f1dc0.

Solidity: function precisionMultiplier0() view returns(uint256)

func (*Camelotv3pairCaller) PrecisionMultiplier1

func (_Camelotv3pair *Camelotv3pairCaller) PrecisionMultiplier1(opts *bind.CallOpts) (*big.Int, error)

PrecisionMultiplier1 is a free data retrieval call binding the contract method 0x288e5d02.

Solidity: function precisionMultiplier1() view returns(uint256)

func (*Camelotv3pairCaller) StableSwap

func (_Camelotv3pair *Camelotv3pairCaller) StableSwap(opts *bind.CallOpts) (bool, error)

StableSwap is a free data retrieval call binding the contract method 0x9e548b7f.

Solidity: function stableSwap() view returns(bool)

func (*Camelotv3pairCaller) Symbol

func (_Camelotv3pair *Camelotv3pairCaller) Symbol(opts *bind.CallOpts) (string, error)

Symbol is a free data retrieval call binding the contract method 0x95d89b41.

Solidity: function symbol() view returns(string)

func (*Camelotv3pairCaller) Token0

func (_Camelotv3pair *Camelotv3pairCaller) Token0(opts *bind.CallOpts) (common.Address, error)

Token0 is a free data retrieval call binding the contract method 0x0dfe1681.

Solidity: function token0() view returns(address)

func (*Camelotv3pairCaller) Token0FeePercent

func (_Camelotv3pair *Camelotv3pairCaller) Token0FeePercent(opts *bind.CallOpts) (uint16, error)

Token0FeePercent is a free data retrieval call binding the contract method 0x62ecec03.

Solidity: function token0FeePercent() view returns(uint16)

func (*Camelotv3pairCaller) Token1

func (_Camelotv3pair *Camelotv3pairCaller) Token1(opts *bind.CallOpts) (common.Address, error)

Token1 is a free data retrieval call binding the contract method 0xd21220a7.

Solidity: function token1() view returns(address)

func (*Camelotv3pairCaller) Token1FeePercent

func (_Camelotv3pair *Camelotv3pairCaller) Token1FeePercent(opts *bind.CallOpts) (uint16, error)

Token1FeePercent is a free data retrieval call binding the contract method 0x2fcd1692.

Solidity: function token1FeePercent() view returns(uint16)

func (*Camelotv3pairCaller) TotalSupply

func (_Camelotv3pair *Camelotv3pairCaller) TotalSupply(opts *bind.CallOpts) (*big.Int, error)

TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.

Solidity: function totalSupply() view returns(uint256)

type Camelotv3pairCallerRaw

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

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

func (*Camelotv3pairCallerRaw) Call

func (_Camelotv3pair *Camelotv3pairCallerRaw) 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 Camelotv3pairCallerSession

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

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

func (*Camelotv3pairCallerSession) Allowance

func (_Camelotv3pair *Camelotv3pairCallerSession) Allowance(arg0 common.Address, arg1 common.Address) (*big.Int, error)

Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.

Solidity: function allowance(address , address ) view returns(uint256)

func (*Camelotv3pairCallerSession) BalanceOf

func (_Camelotv3pair *Camelotv3pairCallerSession) BalanceOf(arg0 common.Address) (*big.Int, error)

BalanceOf is a free data retrieval call binding the contract method 0x70a08231.

Solidity: function balanceOf(address ) view returns(uint256)

func (*Camelotv3pairCallerSession) DOMAINSEPARATOR

func (_Camelotv3pair *Camelotv3pairCallerSession) DOMAINSEPARATOR() ([32]byte, error)

DOMAINSEPARATOR is a free data retrieval call binding the contract method 0x3644e515.

Solidity: function DOMAIN_SEPARATOR() view returns(bytes32)

func (*Camelotv3pairCallerSession) Decimals

func (_Camelotv3pair *Camelotv3pairCallerSession) Decimals() (uint8, error)

Decimals is a free data retrieval call binding the contract method 0x313ce567.

Solidity: function decimals() view returns(uint8)

func (*Camelotv3pairCallerSession) FEEDENOMINATOR

func (_Camelotv3pair *Camelotv3pairCallerSession) FEEDENOMINATOR() (*big.Int, error)

FEEDENOMINATOR is a free data retrieval call binding the contract method 0xd73792a9.

Solidity: function FEE_DENOMINATOR() view returns(uint256)

func (*Camelotv3pairCallerSession) Factory

func (_Camelotv3pair *Camelotv3pairCallerSession) Factory() (common.Address, error)

Factory is a free data retrieval call binding the contract method 0xc45a0155.

Solidity: function factory() view returns(address)

func (*Camelotv3pairCallerSession) GetAmountOut

func (_Camelotv3pair *Camelotv3pairCallerSession) GetAmountOut(amountIn *big.Int, tokenIn common.Address) (*big.Int, error)

GetAmountOut is a free data retrieval call binding the contract method 0xf140a35a.

Solidity: function getAmountOut(uint256 amountIn, address tokenIn) view returns(uint256)

func (*Camelotv3pairCallerSession) GetReserves

func (_Camelotv3pair *Camelotv3pairCallerSession) GetReserves() (struct {
	Reserve0         *big.Int
	Reserve1         *big.Int
	Token0FeePercent uint16
	Token1FeePercent uint16
}, error)

GetReserves is a free data retrieval call binding the contract method 0x0902f1ac.

Solidity: function getReserves() view returns(uint112 _reserve0, uint112 _reserve1, uint16 _token0FeePercent, uint16 _token1FeePercent)

func (*Camelotv3pairCallerSession) Initialized

func (_Camelotv3pair *Camelotv3pairCallerSession) Initialized() (bool, error)

Initialized is a free data retrieval call binding the contract method 0x158ef93e.

Solidity: function initialized() view returns(bool)

func (*Camelotv3pairCallerSession) KLast

func (_Camelotv3pair *Camelotv3pairCallerSession) KLast() (*big.Int, error)

KLast is a free data retrieval call binding the contract method 0x7464fc3d.

Solidity: function kLast() view returns(uint256)

func (*Camelotv3pairCallerSession) MAXFEEPERCENT

func (_Camelotv3pair *Camelotv3pairCallerSession) MAXFEEPERCENT() (*big.Int, error)

MAXFEEPERCENT is a free data retrieval call binding the contract method 0x67d81740.

Solidity: function MAX_FEE_PERCENT() view returns(uint256)

func (*Camelotv3pairCallerSession) MINIMUMLIQUIDITY

func (_Camelotv3pair *Camelotv3pairCallerSession) MINIMUMLIQUIDITY() (*big.Int, error)

MINIMUMLIQUIDITY is a free data retrieval call binding the contract method 0xba9a7a56.

Solidity: function MINIMUM_LIQUIDITY() view returns(uint256)

func (*Camelotv3pairCallerSession) Name

func (_Camelotv3pair *Camelotv3pairCallerSession) Name() (string, error)

Name is a free data retrieval call binding the contract method 0x06fdde03.

Solidity: function name() view returns(string)

func (*Camelotv3pairCallerSession) Nonces

func (_Camelotv3pair *Camelotv3pairCallerSession) Nonces(arg0 common.Address) (*big.Int, error)

Nonces is a free data retrieval call binding the contract method 0x7ecebe00.

Solidity: function nonces(address ) view returns(uint256)

func (*Camelotv3pairCallerSession) PERMITTYPEHASH

func (_Camelotv3pair *Camelotv3pairCallerSession) PERMITTYPEHASH() ([32]byte, error)

PERMITTYPEHASH is a free data retrieval call binding the contract method 0x30adf81f.

Solidity: function PERMIT_TYPEHASH() view returns(bytes32)

func (*Camelotv3pairCallerSession) PairTypeImmutable

func (_Camelotv3pair *Camelotv3pairCallerSession) PairTypeImmutable() (bool, error)

PairTypeImmutable is a free data retrieval call binding the contract method 0xb6200b07.

Solidity: function pairTypeImmutable() view returns(bool)

func (*Camelotv3pairCallerSession) PrecisionMultiplier0

func (_Camelotv3pair *Camelotv3pairCallerSession) PrecisionMultiplier0() (*big.Int, error)

PrecisionMultiplier0 is a free data retrieval call binding the contract method 0x3b9f1dc0.

Solidity: function precisionMultiplier0() view returns(uint256)

func (*Camelotv3pairCallerSession) PrecisionMultiplier1

func (_Camelotv3pair *Camelotv3pairCallerSession) PrecisionMultiplier1() (*big.Int, error)

PrecisionMultiplier1 is a free data retrieval call binding the contract method 0x288e5d02.

Solidity: function precisionMultiplier1() view returns(uint256)

func (*Camelotv3pairCallerSession) StableSwap

func (_Camelotv3pair *Camelotv3pairCallerSession) StableSwap() (bool, error)

StableSwap is a free data retrieval call binding the contract method 0x9e548b7f.

Solidity: function stableSwap() view returns(bool)

func (*Camelotv3pairCallerSession) Symbol

func (_Camelotv3pair *Camelotv3pairCallerSession) Symbol() (string, error)

Symbol is a free data retrieval call binding the contract method 0x95d89b41.

Solidity: function symbol() view returns(string)

func (*Camelotv3pairCallerSession) Token0

func (_Camelotv3pair *Camelotv3pairCallerSession) Token0() (common.Address, error)

Token0 is a free data retrieval call binding the contract method 0x0dfe1681.

Solidity: function token0() view returns(address)

func (*Camelotv3pairCallerSession) Token0FeePercent

func (_Camelotv3pair *Camelotv3pairCallerSession) Token0FeePercent() (uint16, error)

Token0FeePercent is a free data retrieval call binding the contract method 0x62ecec03.

Solidity: function token0FeePercent() view returns(uint16)

func (*Camelotv3pairCallerSession) Token1

func (_Camelotv3pair *Camelotv3pairCallerSession) Token1() (common.Address, error)

Token1 is a free data retrieval call binding the contract method 0xd21220a7.

Solidity: function token1() view returns(address)

func (*Camelotv3pairCallerSession) Token1FeePercent

func (_Camelotv3pair *Camelotv3pairCallerSession) Token1FeePercent() (uint16, error)

Token1FeePercent is a free data retrieval call binding the contract method 0x2fcd1692.

Solidity: function token1FeePercent() view returns(uint16)

func (*Camelotv3pairCallerSession) TotalSupply

func (_Camelotv3pair *Camelotv3pairCallerSession) TotalSupply() (*big.Int, error)

TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.

Solidity: function totalSupply() view returns(uint256)

type Camelotv3pairDrainWrongToken

type Camelotv3pairDrainWrongToken struct {
	Token common.Address
	To    common.Address
	Raw   types.Log // Blockchain specific contextual infos
}

Camelotv3pairDrainWrongToken represents a DrainWrongToken event raised by the Camelotv3pair contract.

type Camelotv3pairDrainWrongTokenIterator

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

Camelotv3pairDrainWrongTokenIterator is returned from FilterDrainWrongToken and is used to iterate over the raw logs and unpacked data for DrainWrongToken events raised by the Camelotv3pair contract.

func (*Camelotv3pairDrainWrongTokenIterator) Close

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

func (*Camelotv3pairDrainWrongTokenIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*Camelotv3pairDrainWrongTokenIterator) 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 Camelotv3pairFeePercentUpdated

type Camelotv3pairFeePercentUpdated struct {
	Token0FeePercent uint16
	Token1FeePercent uint16
	Raw              types.Log // Blockchain specific contextual infos
}

Camelotv3pairFeePercentUpdated represents a FeePercentUpdated event raised by the Camelotv3pair contract.

type Camelotv3pairFeePercentUpdatedIterator

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

Camelotv3pairFeePercentUpdatedIterator is returned from FilterFeePercentUpdated and is used to iterate over the raw logs and unpacked data for FeePercentUpdated events raised by the Camelotv3pair contract.

func (*Camelotv3pairFeePercentUpdatedIterator) Close

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

func (*Camelotv3pairFeePercentUpdatedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*Camelotv3pairFeePercentUpdatedIterator) 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 Camelotv3pairFilterer

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

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

func NewCamelotv3pairFilterer

func NewCamelotv3pairFilterer(address common.Address, filterer bind.ContractFilterer) (*Camelotv3pairFilterer, error)

NewCamelotv3pairFilterer creates a new log filterer instance of Camelotv3pair, bound to a specific deployed contract.

func (*Camelotv3pairFilterer) FilterApproval

func (_Camelotv3pair *Camelotv3pairFilterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*Camelotv3pairApprovalIterator, error)

FilterApproval is a free log retrieval operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.

Solidity: event Approval(address indexed owner, address indexed spender, uint256 value)

func (*Camelotv3pairFilterer) FilterBurn

func (_Camelotv3pair *Camelotv3pairFilterer) FilterBurn(opts *bind.FilterOpts, sender []common.Address, to []common.Address) (*Camelotv3pairBurnIterator, error)

FilterBurn is a free log retrieval operation binding the contract event 0xdccd412f0b1252819cb1fd330b93224ca42612892bb3f4f789976e6d81936496.

Solidity: event Burn(address indexed sender, uint256 amount0, uint256 amount1, address indexed to)

func (*Camelotv3pairFilterer) FilterDrainWrongToken

func (_Camelotv3pair *Camelotv3pairFilterer) FilterDrainWrongToken(opts *bind.FilterOpts, token []common.Address) (*Camelotv3pairDrainWrongTokenIterator, error)

FilterDrainWrongToken is a free log retrieval operation binding the contract event 0x368a9dc863ecb94b5ba32a682e26295b10d9c2666fad7d785ebdf262c3c52413.

Solidity: event DrainWrongToken(address indexed token, address to)

func (*Camelotv3pairFilterer) FilterFeePercentUpdated

func (_Camelotv3pair *Camelotv3pairFilterer) FilterFeePercentUpdated(opts *bind.FilterOpts) (*Camelotv3pairFeePercentUpdatedIterator, error)

FilterFeePercentUpdated is a free log retrieval operation binding the contract event 0xa4877b8ecb5a00ba277e4bceeeb187a669e7113649774dfbea05c259ce27f17b.

Solidity: event FeePercentUpdated(uint16 token0FeePercent, uint16 token1FeePercent)

func (*Camelotv3pairFilterer) FilterMint

func (_Camelotv3pair *Camelotv3pairFilterer) FilterMint(opts *bind.FilterOpts, sender []common.Address) (*Camelotv3pairMintIterator, error)

FilterMint is a free log retrieval operation binding the contract event 0x4c209b5fc8ad50758f13e2e1088ba56a560dff690a1c6fef26394f4c03821c4f.

Solidity: event Mint(address indexed sender, uint256 amount0, uint256 amount1)

func (*Camelotv3pairFilterer) FilterSetPairTypeImmutable

func (_Camelotv3pair *Camelotv3pairFilterer) FilterSetPairTypeImmutable(opts *bind.FilterOpts) (*Camelotv3pairSetPairTypeImmutableIterator, error)

FilterSetPairTypeImmutable is a free log retrieval operation binding the contract event 0x09122c41ae733a4d7740324d50e35fbd6ee85be3c1312a45596d8045150ab2f2.

Solidity: event SetPairTypeImmutable()

func (*Camelotv3pairFilterer) FilterSetStableSwap

func (_Camelotv3pair *Camelotv3pairFilterer) FilterSetStableSwap(opts *bind.FilterOpts) (*Camelotv3pairSetStableSwapIterator, error)

FilterSetStableSwap is a free log retrieval operation binding the contract event 0xb6a86710bde53aa7fb1b3856279e2af5b476d53e2dd0902cf17a0911b5a43a8b.

Solidity: event SetStableSwap(bool prevStableSwap, bool stableSwap)

func (*Camelotv3pairFilterer) FilterSkim

func (_Camelotv3pair *Camelotv3pairFilterer) FilterSkim(opts *bind.FilterOpts) (*Camelotv3pairSkimIterator, error)

FilterSkim is a free log retrieval operation binding the contract event 0x21ad22495c9c75cd1c94756f91824e779c0c8a8e168b267c790df464fe056b79.

Solidity: event Skim()

func (*Camelotv3pairFilterer) FilterSwap

func (_Camelotv3pair *Camelotv3pairFilterer) FilterSwap(opts *bind.FilterOpts, sender []common.Address, to []common.Address) (*Camelotv3pairSwapIterator, error)

FilterSwap is a free log retrieval operation binding the contract event 0xd78ad95fa46c994b6551d0da85fc275fe613ce37657fb8d5e3d130840159d822.

Solidity: event Swap(address indexed sender, uint256 amount0In, uint256 amount1In, uint256 amount0Out, uint256 amount1Out, address indexed to)

func (*Camelotv3pairFilterer) FilterSync

func (_Camelotv3pair *Camelotv3pairFilterer) FilterSync(opts *bind.FilterOpts) (*Camelotv3pairSyncIterator, error)

FilterSync is a free log retrieval operation binding the contract event 0x1c411e9a96e071241c2f21f7726b17ae89e3cab4c78be50e062b03a9fffbbad1.

Solidity: event Sync(uint112 reserve0, uint112 reserve1)

func (*Camelotv3pairFilterer) FilterTransfer

func (_Camelotv3pair *Camelotv3pairFilterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*Camelotv3pairTransferIterator, error)

FilterTransfer is a free log retrieval operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.

Solidity: event Transfer(address indexed from, address indexed to, uint256 value)

func (*Camelotv3pairFilterer) ParseApproval

func (_Camelotv3pair *Camelotv3pairFilterer) ParseApproval(log types.Log) (*Camelotv3pairApproval, error)

ParseApproval is a log parse operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.

Solidity: event Approval(address indexed owner, address indexed spender, uint256 value)

func (*Camelotv3pairFilterer) ParseBurn

func (_Camelotv3pair *Camelotv3pairFilterer) ParseBurn(log types.Log) (*Camelotv3pairBurn, error)

ParseBurn is a log parse operation binding the contract event 0xdccd412f0b1252819cb1fd330b93224ca42612892bb3f4f789976e6d81936496.

Solidity: event Burn(address indexed sender, uint256 amount0, uint256 amount1, address indexed to)

func (*Camelotv3pairFilterer) ParseDrainWrongToken

func (_Camelotv3pair *Camelotv3pairFilterer) ParseDrainWrongToken(log types.Log) (*Camelotv3pairDrainWrongToken, error)

ParseDrainWrongToken is a log parse operation binding the contract event 0x368a9dc863ecb94b5ba32a682e26295b10d9c2666fad7d785ebdf262c3c52413.

Solidity: event DrainWrongToken(address indexed token, address to)

func (*Camelotv3pairFilterer) ParseFeePercentUpdated

func (_Camelotv3pair *Camelotv3pairFilterer) ParseFeePercentUpdated(log types.Log) (*Camelotv3pairFeePercentUpdated, error)

ParseFeePercentUpdated is a log parse operation binding the contract event 0xa4877b8ecb5a00ba277e4bceeeb187a669e7113649774dfbea05c259ce27f17b.

Solidity: event FeePercentUpdated(uint16 token0FeePercent, uint16 token1FeePercent)

func (*Camelotv3pairFilterer) ParseMint

func (_Camelotv3pair *Camelotv3pairFilterer) ParseMint(log types.Log) (*Camelotv3pairMint, error)

ParseMint is a log parse operation binding the contract event 0x4c209b5fc8ad50758f13e2e1088ba56a560dff690a1c6fef26394f4c03821c4f.

Solidity: event Mint(address indexed sender, uint256 amount0, uint256 amount1)

func (*Camelotv3pairFilterer) ParseSetPairTypeImmutable

func (_Camelotv3pair *Camelotv3pairFilterer) ParseSetPairTypeImmutable(log types.Log) (*Camelotv3pairSetPairTypeImmutable, error)

ParseSetPairTypeImmutable is a log parse operation binding the contract event 0x09122c41ae733a4d7740324d50e35fbd6ee85be3c1312a45596d8045150ab2f2.

Solidity: event SetPairTypeImmutable()

func (*Camelotv3pairFilterer) ParseSetStableSwap

func (_Camelotv3pair *Camelotv3pairFilterer) ParseSetStableSwap(log types.Log) (*Camelotv3pairSetStableSwap, error)

ParseSetStableSwap is a log parse operation binding the contract event 0xb6a86710bde53aa7fb1b3856279e2af5b476d53e2dd0902cf17a0911b5a43a8b.

Solidity: event SetStableSwap(bool prevStableSwap, bool stableSwap)

func (*Camelotv3pairFilterer) ParseSkim

func (_Camelotv3pair *Camelotv3pairFilterer) ParseSkim(log types.Log) (*Camelotv3pairSkim, error)

ParseSkim is a log parse operation binding the contract event 0x21ad22495c9c75cd1c94756f91824e779c0c8a8e168b267c790df464fe056b79.

Solidity: event Skim()

func (*Camelotv3pairFilterer) ParseSwap

func (_Camelotv3pair *Camelotv3pairFilterer) ParseSwap(log types.Log) (*Camelotv3pairSwap, error)

ParseSwap is a log parse operation binding the contract event 0xd78ad95fa46c994b6551d0da85fc275fe613ce37657fb8d5e3d130840159d822.

Solidity: event Swap(address indexed sender, uint256 amount0In, uint256 amount1In, uint256 amount0Out, uint256 amount1Out, address indexed to)

func (*Camelotv3pairFilterer) ParseSync

func (_Camelotv3pair *Camelotv3pairFilterer) ParseSync(log types.Log) (*Camelotv3pairSync, error)

ParseSync is a log parse operation binding the contract event 0x1c411e9a96e071241c2f21f7726b17ae89e3cab4c78be50e062b03a9fffbbad1.

Solidity: event Sync(uint112 reserve0, uint112 reserve1)

func (*Camelotv3pairFilterer) ParseTransfer

func (_Camelotv3pair *Camelotv3pairFilterer) ParseTransfer(log types.Log) (*Camelotv3pairTransfer, error)

ParseTransfer is a log parse operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.

Solidity: event Transfer(address indexed from, address indexed to, uint256 value)

func (*Camelotv3pairFilterer) WatchApproval

func (_Camelotv3pair *Camelotv3pairFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *Camelotv3pairApproval, owner []common.Address, spender []common.Address) (event.Subscription, error)

WatchApproval is a free log subscription operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.

Solidity: event Approval(address indexed owner, address indexed spender, uint256 value)

func (*Camelotv3pairFilterer) WatchBurn

func (_Camelotv3pair *Camelotv3pairFilterer) WatchBurn(opts *bind.WatchOpts, sink chan<- *Camelotv3pairBurn, sender []common.Address, to []common.Address) (event.Subscription, error)

WatchBurn is a free log subscription operation binding the contract event 0xdccd412f0b1252819cb1fd330b93224ca42612892bb3f4f789976e6d81936496.

Solidity: event Burn(address indexed sender, uint256 amount0, uint256 amount1, address indexed to)

func (*Camelotv3pairFilterer) WatchDrainWrongToken

func (_Camelotv3pair *Camelotv3pairFilterer) WatchDrainWrongToken(opts *bind.WatchOpts, sink chan<- *Camelotv3pairDrainWrongToken, token []common.Address) (event.Subscription, error)

WatchDrainWrongToken is a free log subscription operation binding the contract event 0x368a9dc863ecb94b5ba32a682e26295b10d9c2666fad7d785ebdf262c3c52413.

Solidity: event DrainWrongToken(address indexed token, address to)

func (*Camelotv3pairFilterer) WatchFeePercentUpdated

func (_Camelotv3pair *Camelotv3pairFilterer) WatchFeePercentUpdated(opts *bind.WatchOpts, sink chan<- *Camelotv3pairFeePercentUpdated) (event.Subscription, error)

WatchFeePercentUpdated is a free log subscription operation binding the contract event 0xa4877b8ecb5a00ba277e4bceeeb187a669e7113649774dfbea05c259ce27f17b.

Solidity: event FeePercentUpdated(uint16 token0FeePercent, uint16 token1FeePercent)

func (*Camelotv3pairFilterer) WatchMint

func (_Camelotv3pair *Camelotv3pairFilterer) WatchMint(opts *bind.WatchOpts, sink chan<- *Camelotv3pairMint, sender []common.Address) (event.Subscription, error)

WatchMint is a free log subscription operation binding the contract event 0x4c209b5fc8ad50758f13e2e1088ba56a560dff690a1c6fef26394f4c03821c4f.

Solidity: event Mint(address indexed sender, uint256 amount0, uint256 amount1)

func (*Camelotv3pairFilterer) WatchSetPairTypeImmutable

func (_Camelotv3pair *Camelotv3pairFilterer) WatchSetPairTypeImmutable(opts *bind.WatchOpts, sink chan<- *Camelotv3pairSetPairTypeImmutable) (event.Subscription, error)

WatchSetPairTypeImmutable is a free log subscription operation binding the contract event 0x09122c41ae733a4d7740324d50e35fbd6ee85be3c1312a45596d8045150ab2f2.

Solidity: event SetPairTypeImmutable()

func (*Camelotv3pairFilterer) WatchSetStableSwap

func (_Camelotv3pair *Camelotv3pairFilterer) WatchSetStableSwap(opts *bind.WatchOpts, sink chan<- *Camelotv3pairSetStableSwap) (event.Subscription, error)

WatchSetStableSwap is a free log subscription operation binding the contract event 0xb6a86710bde53aa7fb1b3856279e2af5b476d53e2dd0902cf17a0911b5a43a8b.

Solidity: event SetStableSwap(bool prevStableSwap, bool stableSwap)

func (*Camelotv3pairFilterer) WatchSkim

func (_Camelotv3pair *Camelotv3pairFilterer) WatchSkim(opts *bind.WatchOpts, sink chan<- *Camelotv3pairSkim) (event.Subscription, error)

WatchSkim is a free log subscription operation binding the contract event 0x21ad22495c9c75cd1c94756f91824e779c0c8a8e168b267c790df464fe056b79.

Solidity: event Skim()

func (*Camelotv3pairFilterer) WatchSwap

func (_Camelotv3pair *Camelotv3pairFilterer) WatchSwap(opts *bind.WatchOpts, sink chan<- *Camelotv3pairSwap, sender []common.Address, to []common.Address) (event.Subscription, error)

WatchSwap is a free log subscription operation binding the contract event 0xd78ad95fa46c994b6551d0da85fc275fe613ce37657fb8d5e3d130840159d822.

Solidity: event Swap(address indexed sender, uint256 amount0In, uint256 amount1In, uint256 amount0Out, uint256 amount1Out, address indexed to)

func (*Camelotv3pairFilterer) WatchSync

func (_Camelotv3pair *Camelotv3pairFilterer) WatchSync(opts *bind.WatchOpts, sink chan<- *Camelotv3pairSync) (event.Subscription, error)

WatchSync is a free log subscription operation binding the contract event 0x1c411e9a96e071241c2f21f7726b17ae89e3cab4c78be50e062b03a9fffbbad1.

Solidity: event Sync(uint112 reserve0, uint112 reserve1)

func (*Camelotv3pairFilterer) WatchTransfer

func (_Camelotv3pair *Camelotv3pairFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *Camelotv3pairTransfer, from []common.Address, to []common.Address) (event.Subscription, error)

WatchTransfer is a free log subscription operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.

Solidity: event Transfer(address indexed from, address indexed to, uint256 value)

type Camelotv3pairMint

type Camelotv3pairMint struct {
	Sender  common.Address
	Amount0 *big.Int
	Amount1 *big.Int
	Raw     types.Log // Blockchain specific contextual infos
}

Camelotv3pairMint represents a Mint event raised by the Camelotv3pair contract.

type Camelotv3pairMintIterator

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

Camelotv3pairMintIterator is returned from FilterMint and is used to iterate over the raw logs and unpacked data for Mint events raised by the Camelotv3pair contract.

func (*Camelotv3pairMintIterator) Close

func (it *Camelotv3pairMintIterator) Close() error

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

func (*Camelotv3pairMintIterator) Error

func (it *Camelotv3pairMintIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*Camelotv3pairMintIterator) Next

func (it *Camelotv3pairMintIterator) 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 Camelotv3pairRaw

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

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

func (*Camelotv3pairRaw) Call

func (_Camelotv3pair *Camelotv3pairRaw) 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 (*Camelotv3pairRaw) Transact

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

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

func (*Camelotv3pairRaw) Transfer

func (_Camelotv3pair *Camelotv3pairRaw) 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 Camelotv3pairSession

type Camelotv3pairSession struct {
	Contract     *Camelotv3pair    // 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
}

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

func (*Camelotv3pairSession) Allowance

func (_Camelotv3pair *Camelotv3pairSession) Allowance(arg0 common.Address, arg1 common.Address) (*big.Int, error)

Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.

Solidity: function allowance(address , address ) view returns(uint256)

func (*Camelotv3pairSession) Approve

func (_Camelotv3pair *Camelotv3pairSession) Approve(spender common.Address, value *big.Int) (*types.Transaction, error)

Approve is a paid mutator transaction binding the contract method 0x095ea7b3.

Solidity: function approve(address spender, uint256 value) returns(bool)

func (*Camelotv3pairSession) BalanceOf

func (_Camelotv3pair *Camelotv3pairSession) BalanceOf(arg0 common.Address) (*big.Int, error)

BalanceOf is a free data retrieval call binding the contract method 0x70a08231.

Solidity: function balanceOf(address ) view returns(uint256)

func (*Camelotv3pairSession) Burn

func (_Camelotv3pair *Camelotv3pairSession) Burn(to common.Address) (*types.Transaction, error)

Burn is a paid mutator transaction binding the contract method 0x89afcb44.

Solidity: function burn(address to) returns(uint256 amount0, uint256 amount1)

func (*Camelotv3pairSession) DOMAINSEPARATOR

func (_Camelotv3pair *Camelotv3pairSession) DOMAINSEPARATOR() ([32]byte, error)

DOMAINSEPARATOR is a free data retrieval call binding the contract method 0x3644e515.

Solidity: function DOMAIN_SEPARATOR() view returns(bytes32)

func (*Camelotv3pairSession) Decimals

func (_Camelotv3pair *Camelotv3pairSession) Decimals() (uint8, error)

Decimals is a free data retrieval call binding the contract method 0x313ce567.

Solidity: function decimals() view returns(uint8)

func (*Camelotv3pairSession) DrainWrongToken

func (_Camelotv3pair *Camelotv3pairSession) DrainWrongToken(token common.Address, to common.Address) (*types.Transaction, error)

DrainWrongToken is a paid mutator transaction binding the contract method 0xf39ac11f.

Solidity: function drainWrongToken(address token, address to) returns()

func (*Camelotv3pairSession) FEEDENOMINATOR

func (_Camelotv3pair *Camelotv3pairSession) FEEDENOMINATOR() (*big.Int, error)

FEEDENOMINATOR is a free data retrieval call binding the contract method 0xd73792a9.

Solidity: function FEE_DENOMINATOR() view returns(uint256)

func (*Camelotv3pairSession) Factory

func (_Camelotv3pair *Camelotv3pairSession) Factory() (common.Address, error)

Factory is a free data retrieval call binding the contract method 0xc45a0155.

Solidity: function factory() view returns(address)

func (*Camelotv3pairSession) GetAmountOut

func (_Camelotv3pair *Camelotv3pairSession) GetAmountOut(amountIn *big.Int, tokenIn common.Address) (*big.Int, error)

GetAmountOut is a free data retrieval call binding the contract method 0xf140a35a.

Solidity: function getAmountOut(uint256 amountIn, address tokenIn) view returns(uint256)

func (*Camelotv3pairSession) GetReserves

func (_Camelotv3pair *Camelotv3pairSession) GetReserves() (struct {
	Reserve0         *big.Int
	Reserve1         *big.Int
	Token0FeePercent uint16
	Token1FeePercent uint16
}, error)

GetReserves is a free data retrieval call binding the contract method 0x0902f1ac.

Solidity: function getReserves() view returns(uint112 _reserve0, uint112 _reserve1, uint16 _token0FeePercent, uint16 _token1FeePercent)

func (*Camelotv3pairSession) Initialize

func (_Camelotv3pair *Camelotv3pairSession) Initialize(_token0 common.Address, _token1 common.Address) (*types.Transaction, error)

Initialize is a paid mutator transaction binding the contract method 0x485cc955.

Solidity: function initialize(address _token0, address _token1) returns()

func (*Camelotv3pairSession) Initialized

func (_Camelotv3pair *Camelotv3pairSession) Initialized() (bool, error)

Initialized is a free data retrieval call binding the contract method 0x158ef93e.

Solidity: function initialized() view returns(bool)

func (*Camelotv3pairSession) KLast

func (_Camelotv3pair *Camelotv3pairSession) KLast() (*big.Int, error)

KLast is a free data retrieval call binding the contract method 0x7464fc3d.

Solidity: function kLast() view returns(uint256)

func (*Camelotv3pairSession) MAXFEEPERCENT

func (_Camelotv3pair *Camelotv3pairSession) MAXFEEPERCENT() (*big.Int, error)

MAXFEEPERCENT is a free data retrieval call binding the contract method 0x67d81740.

Solidity: function MAX_FEE_PERCENT() view returns(uint256)

func (*Camelotv3pairSession) MINIMUMLIQUIDITY

func (_Camelotv3pair *Camelotv3pairSession) MINIMUMLIQUIDITY() (*big.Int, error)

MINIMUMLIQUIDITY is a free data retrieval call binding the contract method 0xba9a7a56.

Solidity: function MINIMUM_LIQUIDITY() view returns(uint256)

func (*Camelotv3pairSession) Mint

func (_Camelotv3pair *Camelotv3pairSession) Mint(to common.Address) (*types.Transaction, error)

Mint is a paid mutator transaction binding the contract method 0x6a627842.

Solidity: function mint(address to) returns(uint256 liquidity)

func (*Camelotv3pairSession) Name

func (_Camelotv3pair *Camelotv3pairSession) Name() (string, error)

Name is a free data retrieval call binding the contract method 0x06fdde03.

Solidity: function name() view returns(string)

func (*Camelotv3pairSession) Nonces

func (_Camelotv3pair *Camelotv3pairSession) Nonces(arg0 common.Address) (*big.Int, error)

Nonces is a free data retrieval call binding the contract method 0x7ecebe00.

Solidity: function nonces(address ) view returns(uint256)

func (*Camelotv3pairSession) PERMITTYPEHASH

func (_Camelotv3pair *Camelotv3pairSession) PERMITTYPEHASH() ([32]byte, error)

PERMITTYPEHASH is a free data retrieval call binding the contract method 0x30adf81f.

Solidity: function PERMIT_TYPEHASH() view returns(bytes32)

func (*Camelotv3pairSession) PairTypeImmutable

func (_Camelotv3pair *Camelotv3pairSession) PairTypeImmutable() (bool, error)

PairTypeImmutable is a free data retrieval call binding the contract method 0xb6200b07.

Solidity: function pairTypeImmutable() view returns(bool)

func (*Camelotv3pairSession) Permit

func (_Camelotv3pair *Camelotv3pairSession) Permit(owner common.Address, spender common.Address, value *big.Int, deadline *big.Int, v uint8, r [32]byte, s [32]byte) (*types.Transaction, error)

Permit is a paid mutator transaction binding the contract method 0xd505accf.

Solidity: function permit(address owner, address spender, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s) returns()

func (*Camelotv3pairSession) PrecisionMultiplier0

func (_Camelotv3pair *Camelotv3pairSession) PrecisionMultiplier0() (*big.Int, error)

PrecisionMultiplier0 is a free data retrieval call binding the contract method 0x3b9f1dc0.

Solidity: function precisionMultiplier0() view returns(uint256)

func (*Camelotv3pairSession) PrecisionMultiplier1

func (_Camelotv3pair *Camelotv3pairSession) PrecisionMultiplier1() (*big.Int, error)

PrecisionMultiplier1 is a free data retrieval call binding the contract method 0x288e5d02.

Solidity: function precisionMultiplier1() view returns(uint256)

func (*Camelotv3pairSession) SetFeePercent

func (_Camelotv3pair *Camelotv3pairSession) SetFeePercent(newToken0FeePercent uint16, newToken1FeePercent uint16) (*types.Transaction, error)

SetFeePercent is a paid mutator transaction binding the contract method 0x48e5d260.

Solidity: function setFeePercent(uint16 newToken0FeePercent, uint16 newToken1FeePercent) returns()

func (*Camelotv3pairSession) SetPairTypeImmutable

func (_Camelotv3pair *Camelotv3pairSession) SetPairTypeImmutable() (*types.Transaction, error)

SetPairTypeImmutable is a paid mutator transaction binding the contract method 0x3ba17077.

Solidity: function setPairTypeImmutable() returns()

func (*Camelotv3pairSession) SetStableSwap

func (_Camelotv3pair *Camelotv3pairSession) SetStableSwap(stable bool, expectedReserve0 *big.Int, expectedReserve1 *big.Int) (*types.Transaction, error)

SetStableSwap is a paid mutator transaction binding the contract method 0x3029e5d4.

Solidity: function setStableSwap(bool stable, uint112 expectedReserve0, uint112 expectedReserve1) returns()

func (*Camelotv3pairSession) Skim

func (_Camelotv3pair *Camelotv3pairSession) Skim(to common.Address) (*types.Transaction, error)

Skim is a paid mutator transaction binding the contract method 0xbc25cf77.

Solidity: function skim(address to) returns()

func (*Camelotv3pairSession) StableSwap

func (_Camelotv3pair *Camelotv3pairSession) StableSwap() (bool, error)

StableSwap is a free data retrieval call binding the contract method 0x9e548b7f.

Solidity: function stableSwap() view returns(bool)

func (*Camelotv3pairSession) Swap

func (_Camelotv3pair *Camelotv3pairSession) Swap(amount0Out *big.Int, amount1Out *big.Int, to common.Address, data []byte) (*types.Transaction, error)

Swap is a paid mutator transaction binding the contract method 0x022c0d9f.

Solidity: function swap(uint256 amount0Out, uint256 amount1Out, address to, bytes data) returns()

func (*Camelotv3pairSession) Swap0

func (_Camelotv3pair *Camelotv3pairSession) Swap0(amount0Out *big.Int, amount1Out *big.Int, to common.Address, data []byte, referrer common.Address) (*types.Transaction, error)

Swap0 is a paid mutator transaction binding the contract method 0x6e1fdd7f.

Solidity: function swap(uint256 amount0Out, uint256 amount1Out, address to, bytes data, address referrer) returns()

func (*Camelotv3pairSession) Symbol

func (_Camelotv3pair *Camelotv3pairSession) Symbol() (string, error)

Symbol is a free data retrieval call binding the contract method 0x95d89b41.

Solidity: function symbol() view returns(string)

func (*Camelotv3pairSession) Sync

func (_Camelotv3pair *Camelotv3pairSession) Sync() (*types.Transaction, error)

Sync is a paid mutator transaction binding the contract method 0xfff6cae9.

Solidity: function sync() returns()

func (*Camelotv3pairSession) Token0

func (_Camelotv3pair *Camelotv3pairSession) Token0() (common.Address, error)

Token0 is a free data retrieval call binding the contract method 0x0dfe1681.

Solidity: function token0() view returns(address)

func (*Camelotv3pairSession) Token0FeePercent

func (_Camelotv3pair *Camelotv3pairSession) Token0FeePercent() (uint16, error)

Token0FeePercent is a free data retrieval call binding the contract method 0x62ecec03.

Solidity: function token0FeePercent() view returns(uint16)

func (*Camelotv3pairSession) Token1

func (_Camelotv3pair *Camelotv3pairSession) Token1() (common.Address, error)

Token1 is a free data retrieval call binding the contract method 0xd21220a7.

Solidity: function token1() view returns(address)

func (*Camelotv3pairSession) Token1FeePercent

func (_Camelotv3pair *Camelotv3pairSession) Token1FeePercent() (uint16, error)

Token1FeePercent is a free data retrieval call binding the contract method 0x2fcd1692.

Solidity: function token1FeePercent() view returns(uint16)

func (*Camelotv3pairSession) TotalSupply

func (_Camelotv3pair *Camelotv3pairSession) TotalSupply() (*big.Int, error)

TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.

Solidity: function totalSupply() view returns(uint256)

func (*Camelotv3pairSession) Transfer

func (_Camelotv3pair *Camelotv3pairSession) Transfer(to common.Address, value *big.Int) (*types.Transaction, error)

Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.

Solidity: function transfer(address to, uint256 value) returns(bool)

func (*Camelotv3pairSession) TransferFrom

func (_Camelotv3pair *Camelotv3pairSession) TransferFrom(from common.Address, to common.Address, value *big.Int) (*types.Transaction, error)

TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.

Solidity: function transferFrom(address from, address to, uint256 value) returns(bool)

type Camelotv3pairSetPairTypeImmutable

type Camelotv3pairSetPairTypeImmutable struct {
	Raw types.Log // Blockchain specific contextual infos
}

Camelotv3pairSetPairTypeImmutable represents a SetPairTypeImmutable event raised by the Camelotv3pair contract.

type Camelotv3pairSetPairTypeImmutableIterator

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

Camelotv3pairSetPairTypeImmutableIterator is returned from FilterSetPairTypeImmutable and is used to iterate over the raw logs and unpacked data for SetPairTypeImmutable events raised by the Camelotv3pair contract.

func (*Camelotv3pairSetPairTypeImmutableIterator) Close

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

func (*Camelotv3pairSetPairTypeImmutableIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*Camelotv3pairSetPairTypeImmutableIterator) 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 Camelotv3pairSetStableSwap

type Camelotv3pairSetStableSwap struct {
	PrevStableSwap bool
	StableSwap     bool
	Raw            types.Log // Blockchain specific contextual infos
}

Camelotv3pairSetStableSwap represents a SetStableSwap event raised by the Camelotv3pair contract.

type Camelotv3pairSetStableSwapIterator

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

Camelotv3pairSetStableSwapIterator is returned from FilterSetStableSwap and is used to iterate over the raw logs and unpacked data for SetStableSwap events raised by the Camelotv3pair contract.

func (*Camelotv3pairSetStableSwapIterator) Close

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

func (*Camelotv3pairSetStableSwapIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*Camelotv3pairSetStableSwapIterator) 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 Camelotv3pairSkim

type Camelotv3pairSkim struct {
	Raw types.Log // Blockchain specific contextual infos
}

Camelotv3pairSkim represents a Skim event raised by the Camelotv3pair contract.

type Camelotv3pairSkimIterator

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

Camelotv3pairSkimIterator is returned from FilterSkim and is used to iterate over the raw logs and unpacked data for Skim events raised by the Camelotv3pair contract.

func (*Camelotv3pairSkimIterator) Close

func (it *Camelotv3pairSkimIterator) Close() error

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

func (*Camelotv3pairSkimIterator) Error

func (it *Camelotv3pairSkimIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*Camelotv3pairSkimIterator) Next

func (it *Camelotv3pairSkimIterator) 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 Camelotv3pairSwap

type Camelotv3pairSwap struct {
	Sender     common.Address
	Amount0In  *big.Int
	Amount1In  *big.Int
	Amount0Out *big.Int
	Amount1Out *big.Int
	To         common.Address
	Raw        types.Log // Blockchain specific contextual infos
}

Camelotv3pairSwap represents a Swap event raised by the Camelotv3pair contract.

type Camelotv3pairSwapIterator

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

Camelotv3pairSwapIterator is returned from FilterSwap and is used to iterate over the raw logs and unpacked data for Swap events raised by the Camelotv3pair contract.

func (*Camelotv3pairSwapIterator) Close

func (it *Camelotv3pairSwapIterator) Close() error

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

func (*Camelotv3pairSwapIterator) Error

func (it *Camelotv3pairSwapIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*Camelotv3pairSwapIterator) Next

func (it *Camelotv3pairSwapIterator) 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 Camelotv3pairSync

type Camelotv3pairSync struct {
	Reserve0 *big.Int
	Reserve1 *big.Int
	Raw      types.Log // Blockchain specific contextual infos
}

Camelotv3pairSync represents a Sync event raised by the Camelotv3pair contract.

type Camelotv3pairSyncIterator

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

Camelotv3pairSyncIterator is returned from FilterSync and is used to iterate over the raw logs and unpacked data for Sync events raised by the Camelotv3pair contract.

func (*Camelotv3pairSyncIterator) Close

func (it *Camelotv3pairSyncIterator) Close() error

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

func (*Camelotv3pairSyncIterator) Error

func (it *Camelotv3pairSyncIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*Camelotv3pairSyncIterator) Next

func (it *Camelotv3pairSyncIterator) 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 Camelotv3pairTransactor

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

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

func NewCamelotv3pairTransactor

func NewCamelotv3pairTransactor(address common.Address, transactor bind.ContractTransactor) (*Camelotv3pairTransactor, error)

NewCamelotv3pairTransactor creates a new write-only instance of Camelotv3pair, bound to a specific deployed contract.

func (*Camelotv3pairTransactor) Approve

func (_Camelotv3pair *Camelotv3pairTransactor) Approve(opts *bind.TransactOpts, spender common.Address, value *big.Int) (*types.Transaction, error)

Approve is a paid mutator transaction binding the contract method 0x095ea7b3.

Solidity: function approve(address spender, uint256 value) returns(bool)

func (*Camelotv3pairTransactor) Burn

func (_Camelotv3pair *Camelotv3pairTransactor) Burn(opts *bind.TransactOpts, to common.Address) (*types.Transaction, error)

Burn is a paid mutator transaction binding the contract method 0x89afcb44.

Solidity: function burn(address to) returns(uint256 amount0, uint256 amount1)

func (*Camelotv3pairTransactor) DrainWrongToken

func (_Camelotv3pair *Camelotv3pairTransactor) DrainWrongToken(opts *bind.TransactOpts, token common.Address, to common.Address) (*types.Transaction, error)

DrainWrongToken is a paid mutator transaction binding the contract method 0xf39ac11f.

Solidity: function drainWrongToken(address token, address to) returns()

func (*Camelotv3pairTransactor) Initialize

func (_Camelotv3pair *Camelotv3pairTransactor) Initialize(opts *bind.TransactOpts, _token0 common.Address, _token1 common.Address) (*types.Transaction, error)

Initialize is a paid mutator transaction binding the contract method 0x485cc955.

Solidity: function initialize(address _token0, address _token1) returns()

func (*Camelotv3pairTransactor) Mint

func (_Camelotv3pair *Camelotv3pairTransactor) Mint(opts *bind.TransactOpts, to common.Address) (*types.Transaction, error)

Mint is a paid mutator transaction binding the contract method 0x6a627842.

Solidity: function mint(address to) returns(uint256 liquidity)

func (*Camelotv3pairTransactor) Permit

func (_Camelotv3pair *Camelotv3pairTransactor) Permit(opts *bind.TransactOpts, owner common.Address, spender common.Address, value *big.Int, deadline *big.Int, v uint8, r [32]byte, s [32]byte) (*types.Transaction, error)

Permit is a paid mutator transaction binding the contract method 0xd505accf.

Solidity: function permit(address owner, address spender, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s) returns()

func (*Camelotv3pairTransactor) SetFeePercent

func (_Camelotv3pair *Camelotv3pairTransactor) SetFeePercent(opts *bind.TransactOpts, newToken0FeePercent uint16, newToken1FeePercent uint16) (*types.Transaction, error)

SetFeePercent is a paid mutator transaction binding the contract method 0x48e5d260.

Solidity: function setFeePercent(uint16 newToken0FeePercent, uint16 newToken1FeePercent) returns()

func (*Camelotv3pairTransactor) SetPairTypeImmutable

func (_Camelotv3pair *Camelotv3pairTransactor) SetPairTypeImmutable(opts *bind.TransactOpts) (*types.Transaction, error)

SetPairTypeImmutable is a paid mutator transaction binding the contract method 0x3ba17077.

Solidity: function setPairTypeImmutable() returns()

func (*Camelotv3pairTransactor) SetStableSwap

func (_Camelotv3pair *Camelotv3pairTransactor) SetStableSwap(opts *bind.TransactOpts, stable bool, expectedReserve0 *big.Int, expectedReserve1 *big.Int) (*types.Transaction, error)

SetStableSwap is a paid mutator transaction binding the contract method 0x3029e5d4.

Solidity: function setStableSwap(bool stable, uint112 expectedReserve0, uint112 expectedReserve1) returns()

func (*Camelotv3pairTransactor) Skim

func (_Camelotv3pair *Camelotv3pairTransactor) Skim(opts *bind.TransactOpts, to common.Address) (*types.Transaction, error)

Skim is a paid mutator transaction binding the contract method 0xbc25cf77.

Solidity: function skim(address to) returns()

func (*Camelotv3pairTransactor) Swap

func (_Camelotv3pair *Camelotv3pairTransactor) Swap(opts *bind.TransactOpts, amount0Out *big.Int, amount1Out *big.Int, to common.Address, data []byte) (*types.Transaction, error)

Swap is a paid mutator transaction binding the contract method 0x022c0d9f.

Solidity: function swap(uint256 amount0Out, uint256 amount1Out, address to, bytes data) returns()

func (*Camelotv3pairTransactor) Swap0

func (_Camelotv3pair *Camelotv3pairTransactor) Swap0(opts *bind.TransactOpts, amount0Out *big.Int, amount1Out *big.Int, to common.Address, data []byte, referrer common.Address) (*types.Transaction, error)

Swap0 is a paid mutator transaction binding the contract method 0x6e1fdd7f.

Solidity: function swap(uint256 amount0Out, uint256 amount1Out, address to, bytes data, address referrer) returns()

func (*Camelotv3pairTransactor) Sync

func (_Camelotv3pair *Camelotv3pairTransactor) Sync(opts *bind.TransactOpts) (*types.Transaction, error)

Sync is a paid mutator transaction binding the contract method 0xfff6cae9.

Solidity: function sync() returns()

func (*Camelotv3pairTransactor) Transfer

func (_Camelotv3pair *Camelotv3pairTransactor) Transfer(opts *bind.TransactOpts, to common.Address, value *big.Int) (*types.Transaction, error)

Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.

Solidity: function transfer(address to, uint256 value) returns(bool)

func (*Camelotv3pairTransactor) TransferFrom

func (_Camelotv3pair *Camelotv3pairTransactor) TransferFrom(opts *bind.TransactOpts, from common.Address, to common.Address, value *big.Int) (*types.Transaction, error)

TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.

Solidity: function transferFrom(address from, address to, uint256 value) returns(bool)

type Camelotv3pairTransactorRaw

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

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

func (*Camelotv3pairTransactorRaw) Transact

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

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

func (*Camelotv3pairTransactorRaw) Transfer

func (_Camelotv3pair *Camelotv3pairTransactorRaw) 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 Camelotv3pairTransactorSession

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

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

func (*Camelotv3pairTransactorSession) Approve

func (_Camelotv3pair *Camelotv3pairTransactorSession) Approve(spender common.Address, value *big.Int) (*types.Transaction, error)

Approve is a paid mutator transaction binding the contract method 0x095ea7b3.

Solidity: function approve(address spender, uint256 value) returns(bool)

func (*Camelotv3pairTransactorSession) Burn

func (_Camelotv3pair *Camelotv3pairTransactorSession) Burn(to common.Address) (*types.Transaction, error)

Burn is a paid mutator transaction binding the contract method 0x89afcb44.

Solidity: function burn(address to) returns(uint256 amount0, uint256 amount1)

func (*Camelotv3pairTransactorSession) DrainWrongToken

func (_Camelotv3pair *Camelotv3pairTransactorSession) DrainWrongToken(token common.Address, to common.Address) (*types.Transaction, error)

DrainWrongToken is a paid mutator transaction binding the contract method 0xf39ac11f.

Solidity: function drainWrongToken(address token, address to) returns()

func (*Camelotv3pairTransactorSession) Initialize

func (_Camelotv3pair *Camelotv3pairTransactorSession) Initialize(_token0 common.Address, _token1 common.Address) (*types.Transaction, error)

Initialize is a paid mutator transaction binding the contract method 0x485cc955.

Solidity: function initialize(address _token0, address _token1) returns()

func (*Camelotv3pairTransactorSession) Mint

func (_Camelotv3pair *Camelotv3pairTransactorSession) Mint(to common.Address) (*types.Transaction, error)

Mint is a paid mutator transaction binding the contract method 0x6a627842.

Solidity: function mint(address to) returns(uint256 liquidity)

func (*Camelotv3pairTransactorSession) Permit

func (_Camelotv3pair *Camelotv3pairTransactorSession) Permit(owner common.Address, spender common.Address, value *big.Int, deadline *big.Int, v uint8, r [32]byte, s [32]byte) (*types.Transaction, error)

Permit is a paid mutator transaction binding the contract method 0xd505accf.

Solidity: function permit(address owner, address spender, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s) returns()

func (*Camelotv3pairTransactorSession) SetFeePercent

func (_Camelotv3pair *Camelotv3pairTransactorSession) SetFeePercent(newToken0FeePercent uint16, newToken1FeePercent uint16) (*types.Transaction, error)

SetFeePercent is a paid mutator transaction binding the contract method 0x48e5d260.

Solidity: function setFeePercent(uint16 newToken0FeePercent, uint16 newToken1FeePercent) returns()

func (*Camelotv3pairTransactorSession) SetPairTypeImmutable

func (_Camelotv3pair *Camelotv3pairTransactorSession) SetPairTypeImmutable() (*types.Transaction, error)

SetPairTypeImmutable is a paid mutator transaction binding the contract method 0x3ba17077.

Solidity: function setPairTypeImmutable() returns()

func (*Camelotv3pairTransactorSession) SetStableSwap

func (_Camelotv3pair *Camelotv3pairTransactorSession) SetStableSwap(stable bool, expectedReserve0 *big.Int, expectedReserve1 *big.Int) (*types.Transaction, error)

SetStableSwap is a paid mutator transaction binding the contract method 0x3029e5d4.

Solidity: function setStableSwap(bool stable, uint112 expectedReserve0, uint112 expectedReserve1) returns()

func (*Camelotv3pairTransactorSession) Skim

func (_Camelotv3pair *Camelotv3pairTransactorSession) Skim(to common.Address) (*types.Transaction, error)

Skim is a paid mutator transaction binding the contract method 0xbc25cf77.

Solidity: function skim(address to) returns()

func (*Camelotv3pairTransactorSession) Swap

func (_Camelotv3pair *Camelotv3pairTransactorSession) Swap(amount0Out *big.Int, amount1Out *big.Int, to common.Address, data []byte) (*types.Transaction, error)

Swap is a paid mutator transaction binding the contract method 0x022c0d9f.

Solidity: function swap(uint256 amount0Out, uint256 amount1Out, address to, bytes data) returns()

func (*Camelotv3pairTransactorSession) Swap0

func (_Camelotv3pair *Camelotv3pairTransactorSession) Swap0(amount0Out *big.Int, amount1Out *big.Int, to common.Address, data []byte, referrer common.Address) (*types.Transaction, error)

Swap0 is a paid mutator transaction binding the contract method 0x6e1fdd7f.

Solidity: function swap(uint256 amount0Out, uint256 amount1Out, address to, bytes data, address referrer) returns()

func (*Camelotv3pairTransactorSession) Sync

func (_Camelotv3pair *Camelotv3pairTransactorSession) Sync() (*types.Transaction, error)

Sync is a paid mutator transaction binding the contract method 0xfff6cae9.

Solidity: function sync() returns()

func (*Camelotv3pairTransactorSession) Transfer

func (_Camelotv3pair *Camelotv3pairTransactorSession) Transfer(to common.Address, value *big.Int) (*types.Transaction, error)

Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.

Solidity: function transfer(address to, uint256 value) returns(bool)

func (*Camelotv3pairTransactorSession) TransferFrom

func (_Camelotv3pair *Camelotv3pairTransactorSession) TransferFrom(from common.Address, to common.Address, value *big.Int) (*types.Transaction, error)

TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.

Solidity: function transferFrom(address from, address to, uint256 value) returns(bool)

type Camelotv3pairTransfer

type Camelotv3pairTransfer struct {
	From  common.Address
	To    common.Address
	Value *big.Int
	Raw   types.Log // Blockchain specific contextual infos
}

Camelotv3pairTransfer represents a Transfer event raised by the Camelotv3pair contract.

type Camelotv3pairTransferIterator

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

Camelotv3pairTransferIterator is returned from FilterTransfer and is used to iterate over the raw logs and unpacked data for Transfer events raised by the Camelotv3pair contract.

func (*Camelotv3pairTransferIterator) Close

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

func (*Camelotv3pairTransferIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*Camelotv3pairTransferIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

Jump to

Keyboard shortcuts

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