contracts

package
v0.0.0-...-edcad5e Latest Latest
Warning

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

Go to latest
Published: Oct 13, 2024 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ERC20ABI = ERC20MetaData.ABI

ERC20ABI is the input ABI used to generate the binding from. Deprecated: Use ERC20MetaData.ABI instead.

View Source
var ERC20MetaData = &bind.MetaData{
	ABI: "[{\"constant\":true,\"inputs\":[],\"name\":\"name\",\"outputs\":[{\"name\":\"\",\"type\":\"string\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"_spender\",\"type\":\"address\"},{\"name\":\"_value\",\"type\":\"uint256\"}],\"name\":\"approve\",\"outputs\":[{\"name\":\"\",\"type\":\"bool\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"totalSupply\",\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"_from\",\"type\":\"address\"},{\"name\":\"_to\",\"type\":\"address\"},{\"name\":\"_value\",\"type\":\"uint256\"}],\"name\":\"transferFrom\",\"outputs\":[{\"name\":\"\",\"type\":\"bool\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"decimals\",\"outputs\":[{\"name\":\"\",\"type\":\"uint8\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"name\":\"_owner\",\"type\":\"address\"}],\"name\":\"balanceOf\",\"outputs\":[{\"name\":\"balance\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"symbol\",\"outputs\":[{\"name\":\"\",\"type\":\"string\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"_to\",\"type\":\"address\"},{\"name\":\"_value\",\"type\":\"uint256\"}],\"name\":\"transfer\",\"outputs\":[{\"name\":\"\",\"type\":\"bool\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"name\":\"_owner\",\"type\":\"address\"},{\"name\":\"_spender\",\"type\":\"address\"}],\"name\":\"allowance\",\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"payable\":true,\"stateMutability\":\"payable\",\"type\":\"fallback\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":true,\"name\":\"spender\",\"type\":\"address\"},{\"indexed\":false,\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"Approval\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"name\":\"from\",\"type\":\"address\"},{\"indexed\":true,\"name\":\"to\",\"type\":\"address\"},{\"indexed\":false,\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"Transfer\",\"type\":\"event\"}]",
}

ERC20MetaData contains all meta data concerning the ERC20 contract.

View Source
var SwapTopic1ABI = SwapTopic1MetaData.ABI

SwapTopic1ABI is the input ABI used to generate the binding from. Deprecated: Use SwapTopic1MetaData.ABI instead.

View Source
var SwapTopic1MetaData = &bind.MetaData{
	ABI: "[{\"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\"}]",
}

SwapTopic1MetaData contains all meta data concerning the SwapTopic1 contract.

View Source
var SwapTopic2ABI = SwapTopic2MetaData.ABI

SwapTopic2ABI is the input ABI used to generate the binding from. Deprecated: Use SwapTopic2MetaData.ABI instead.

View Source
var SwapTopic2MetaData = &bind.MetaData{
	ABI: "[{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"int256\",\"name\":\"amount0\",\"type\":\"int256\"},{\"indexed\":false,\"internalType\":\"int256\",\"name\":\"amount1\",\"type\":\"int256\"},{\"indexed\":false,\"internalType\":\"uint160\",\"name\":\"sqrtPriceX96\",\"type\":\"uint160\"},{\"indexed\":false,\"internalType\":\"uint128\",\"name\":\"liquidity\",\"type\":\"uint128\"},{\"indexed\":false,\"internalType\":\"int24\",\"name\":\"tick\",\"type\":\"int24\"}],\"name\":\"Swap\",\"type\":\"event\"}]",
}

SwapTopic2MetaData contains all meta data concerning the SwapTopic2 contract.

View Source
var SwapTopic6ABI = SwapTopic6MetaData.ABI

SwapTopic6ABI is the input ABI used to generate the binding from. Deprecated: Use SwapTopic6MetaData.ABI instead.

View Source
var SwapTopic6MetaData = &bind.MetaData{
	ABI: "[{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"int256\",\"name\":\"amount0\",\"type\":\"int256\"},{\"indexed\":false,\"internalType\":\"int256\",\"name\":\"amount1\",\"type\":\"int256\"},{\"indexed\":false,\"internalType\":\"uint160\",\"name\":\"sqrtPriceX96\",\"type\":\"uint160\"},{\"indexed\":false,\"internalType\":\"uint128\",\"name\":\"liquidity\",\"type\":\"uint128\"},{\"indexed\":false,\"internalType\":\"int24\",\"name\":\"tick\",\"type\":\"int24\"},{\"indexed\":false,\"internalType\":\"uint128\",\"name\":\"protocolFeesToken0\",\"type\":\"uint128\"},{\"indexed\":false,\"internalType\":\"uint128\",\"name\":\"protocolFeesToken1\",\"type\":\"uint128\"}],\"name\":\"Swap\",\"type\":\"event\"}]",
}

SwapTopic6MetaData contains all meta data concerning the SwapTopic6 contract.

View Source
var Transfer1ABI = Transfer1MetaData.ABI

Transfer1ABI is the input ABI used to generate the binding from. Deprecated: Use Transfer1MetaData.ABI instead.

View Source
var Transfer1MetaData = &bind.MetaData{
	ABI: "[{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"name\":\"from\",\"type\":\"address\"},{\"indexed\":true,\"name\":\"to\",\"type\":\"address\"},{\"indexed\":false,\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"Transfer\",\"type\":\"event\"}]",
}

Transfer1MetaData contains all meta data concerning the Transfer1 contract.

Functions

This section is empty.

Types

type ERC20

type ERC20 struct {
	ERC20Caller     // Read-only binding to the contract
	ERC20Transactor // Write-only binding to the contract
	ERC20Filterer   // Log filterer for contract events
}

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

func NewERC20

func NewERC20(address common.Address, backend bind.ContractBackend) (*ERC20, error)

NewERC20 creates a new instance of ERC20, bound to a specific deployed contract.

type ERC20Approval

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

ERC20Approval represents a Approval event raised by the ERC20 contract.

type ERC20ApprovalIterator

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

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

func (*ERC20ApprovalIterator) Close

func (it *ERC20ApprovalIterator) Close() error

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

func (*ERC20ApprovalIterator) Error

func (it *ERC20ApprovalIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*ERC20ApprovalIterator) Next

func (it *ERC20ApprovalIterator) 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 ERC20Caller

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

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

func NewERC20Caller

func NewERC20Caller(address common.Address, caller bind.ContractCaller) (*ERC20Caller, error)

NewERC20Caller creates a new read-only instance of ERC20, bound to a specific deployed contract.

func (*ERC20Caller) Allowance

func (_ERC20 *ERC20Caller) Allowance(opts *bind.CallOpts, _owner common.Address, _spender common.Address) (*big.Int, error)

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

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

func (*ERC20Caller) BalanceOf

func (_ERC20 *ERC20Caller) BalanceOf(opts *bind.CallOpts, _owner common.Address) (*big.Int, error)

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

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

func (*ERC20Caller) Decimals

func (_ERC20 *ERC20Caller) 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 (*ERC20Caller) Name

func (_ERC20 *ERC20Caller) 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 (*ERC20Caller) Symbol

func (_ERC20 *ERC20Caller) 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 (*ERC20Caller) TotalSupply

func (_ERC20 *ERC20Caller) 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 ERC20CallerRaw

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

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

func (*ERC20CallerRaw) Call

func (_ERC20 *ERC20CallerRaw) 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 ERC20CallerSession

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

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

func (*ERC20CallerSession) Allowance

func (_ERC20 *ERC20CallerSession) Allowance(_owner common.Address, _spender common.Address) (*big.Int, error)

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

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

func (*ERC20CallerSession) BalanceOf

func (_ERC20 *ERC20CallerSession) BalanceOf(_owner common.Address) (*big.Int, error)

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

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

func (*ERC20CallerSession) Decimals

func (_ERC20 *ERC20CallerSession) Decimals() (uint8, error)

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

Solidity: function decimals() view returns(uint8)

func (*ERC20CallerSession) Name

func (_ERC20 *ERC20CallerSession) Name() (string, error)

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

Solidity: function name() view returns(string)

func (*ERC20CallerSession) Symbol

func (_ERC20 *ERC20CallerSession) Symbol() (string, error)

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

Solidity: function symbol() view returns(string)

func (*ERC20CallerSession) TotalSupply

func (_ERC20 *ERC20CallerSession) TotalSupply() (*big.Int, error)

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

Solidity: function totalSupply() view returns(uint256)

type ERC20Filterer

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

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

func NewERC20Filterer

func NewERC20Filterer(address common.Address, filterer bind.ContractFilterer) (*ERC20Filterer, error)

NewERC20Filterer creates a new log filterer instance of ERC20, bound to a specific deployed contract.

func (*ERC20Filterer) FilterApproval

func (_ERC20 *ERC20Filterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*ERC20ApprovalIterator, 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 (*ERC20Filterer) FilterTransfer

func (_ERC20 *ERC20Filterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*ERC20TransferIterator, 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 (*ERC20Filterer) ParseApproval

func (_ERC20 *ERC20Filterer) ParseApproval(log types.Log) (*ERC20Approval, error)

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

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

func (*ERC20Filterer) ParseTransfer

func (_ERC20 *ERC20Filterer) ParseTransfer(log types.Log) (*ERC20Transfer, error)

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

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

func (*ERC20Filterer) WatchApproval

func (_ERC20 *ERC20Filterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *ERC20Approval, 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 (*ERC20Filterer) WatchTransfer

func (_ERC20 *ERC20Filterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *ERC20Transfer, 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 ERC20Raw

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

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

func (*ERC20Raw) Call

func (_ERC20 *ERC20Raw) 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 (*ERC20Raw) Transact

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

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

func (*ERC20Raw) Transfer

func (_ERC20 *ERC20Raw) 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 ERC20Session

type ERC20Session struct {
	Contract     *ERC20            // 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
}

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

func (*ERC20Session) Allowance

func (_ERC20 *ERC20Session) Allowance(_owner common.Address, _spender common.Address) (*big.Int, error)

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

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

func (*ERC20Session) Approve

func (_ERC20 *ERC20Session) 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 (*ERC20Session) BalanceOf

func (_ERC20 *ERC20Session) BalanceOf(_owner common.Address) (*big.Int, error)

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

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

func (*ERC20Session) Decimals

func (_ERC20 *ERC20Session) Decimals() (uint8, error)

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

Solidity: function decimals() view returns(uint8)

func (*ERC20Session) Fallback

func (_ERC20 *ERC20Session) Fallback(calldata []byte) (*types.Transaction, error)

Fallback is a paid mutator transaction binding the contract fallback function.

Solidity: fallback() payable returns()

func (*ERC20Session) Name

func (_ERC20 *ERC20Session) Name() (string, error)

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

Solidity: function name() view returns(string)

func (*ERC20Session) Symbol

func (_ERC20 *ERC20Session) Symbol() (string, error)

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

Solidity: function symbol() view returns(string)

func (*ERC20Session) TotalSupply

func (_ERC20 *ERC20Session) TotalSupply() (*big.Int, error)

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

Solidity: function totalSupply() view returns(uint256)

func (*ERC20Session) Transfer

func (_ERC20 *ERC20Session) 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 (*ERC20Session) TransferFrom

func (_ERC20 *ERC20Session) 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 ERC20Transactor

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

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

func NewERC20Transactor

func NewERC20Transactor(address common.Address, transactor bind.ContractTransactor) (*ERC20Transactor, error)

NewERC20Transactor creates a new write-only instance of ERC20, bound to a specific deployed contract.

func (*ERC20Transactor) Approve

func (_ERC20 *ERC20Transactor) 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 (*ERC20Transactor) Fallback

func (_ERC20 *ERC20Transactor) Fallback(opts *bind.TransactOpts, calldata []byte) (*types.Transaction, error)

Fallback is a paid mutator transaction binding the contract fallback function.

Solidity: fallback() payable returns()

func (*ERC20Transactor) Transfer

func (_ERC20 *ERC20Transactor) 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 (*ERC20Transactor) TransferFrom

func (_ERC20 *ERC20Transactor) 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 ERC20TransactorRaw

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

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

func (*ERC20TransactorRaw) Transact

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

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

func (*ERC20TransactorRaw) Transfer

func (_ERC20 *ERC20TransactorRaw) 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 ERC20TransactorSession

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

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

func (*ERC20TransactorSession) Approve

func (_ERC20 *ERC20TransactorSession) 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 (*ERC20TransactorSession) Fallback

func (_ERC20 *ERC20TransactorSession) Fallback(calldata []byte) (*types.Transaction, error)

Fallback is a paid mutator transaction binding the contract fallback function.

Solidity: fallback() payable returns()

func (*ERC20TransactorSession) Transfer

func (_ERC20 *ERC20TransactorSession) 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 (*ERC20TransactorSession) TransferFrom

func (_ERC20 *ERC20TransactorSession) 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 ERC20Transfer

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

ERC20Transfer represents a Transfer event raised by the ERC20 contract.

type ERC20TransferIterator

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

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

func (*ERC20TransferIterator) Close

func (it *ERC20TransferIterator) Close() error

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

func (*ERC20TransferIterator) Error

func (it *ERC20TransferIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*ERC20TransferIterator) Next

func (it *ERC20TransferIterator) 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 SwapTopic1

type SwapTopic1 struct {
	SwapTopic1Caller     // Read-only binding to the contract
	SwapTopic1Transactor // Write-only binding to the contract
	SwapTopic1Filterer   // Log filterer for contract events
}

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

func NewSwapTopic1

func NewSwapTopic1(address common.Address, backend bind.ContractBackend) (*SwapTopic1, error)

NewSwapTopic1 creates a new instance of SwapTopic1, bound to a specific deployed contract.

type SwapTopic1Caller

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

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

func NewSwapTopic1Caller

func NewSwapTopic1Caller(address common.Address, caller bind.ContractCaller) (*SwapTopic1Caller, error)

NewSwapTopic1Caller creates a new read-only instance of SwapTopic1, bound to a specific deployed contract.

type SwapTopic1CallerRaw

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

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

func (*SwapTopic1CallerRaw) Call

func (_SwapTopic1 *SwapTopic1CallerRaw) 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 SwapTopic1CallerSession

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

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

type SwapTopic1Filterer

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

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

func NewSwapTopic1Filterer

func NewSwapTopic1Filterer(address common.Address, filterer bind.ContractFilterer) (*SwapTopic1Filterer, error)

NewSwapTopic1Filterer creates a new log filterer instance of SwapTopic1, bound to a specific deployed contract.

func (*SwapTopic1Filterer) FilterSwap

func (_SwapTopic1 *SwapTopic1Filterer) FilterSwap(opts *bind.FilterOpts, sender []common.Address, to []common.Address) (*SwapTopic1SwapIterator, 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 (*SwapTopic1Filterer) ParseSwap

func (_SwapTopic1 *SwapTopic1Filterer) ParseSwap(log types.Log) (*SwapTopic1Swap, 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 (*SwapTopic1Filterer) WatchSwap

func (_SwapTopic1 *SwapTopic1Filterer) WatchSwap(opts *bind.WatchOpts, sink chan<- *SwapTopic1Swap, 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)

type SwapTopic1Raw

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

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

func (*SwapTopic1Raw) Call

func (_SwapTopic1 *SwapTopic1Raw) 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 (*SwapTopic1Raw) Transact

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

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

func (*SwapTopic1Raw) Transfer

func (_SwapTopic1 *SwapTopic1Raw) 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 SwapTopic1Session

type SwapTopic1Session struct {
	Contract     *SwapTopic1       // 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
}

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

type SwapTopic1Swap

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

SwapTopic1Swap represents a Swap event raised by the SwapTopic1 contract.

type SwapTopic1SwapIterator

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

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

func (*SwapTopic1SwapIterator) Close

func (it *SwapTopic1SwapIterator) Close() error

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

func (*SwapTopic1SwapIterator) Error

func (it *SwapTopic1SwapIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*SwapTopic1SwapIterator) Next

func (it *SwapTopic1SwapIterator) 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 SwapTopic1Transactor

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

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

func NewSwapTopic1Transactor

func NewSwapTopic1Transactor(address common.Address, transactor bind.ContractTransactor) (*SwapTopic1Transactor, error)

NewSwapTopic1Transactor creates a new write-only instance of SwapTopic1, bound to a specific deployed contract.

type SwapTopic1TransactorRaw

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

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

func (*SwapTopic1TransactorRaw) Transact

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

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

func (*SwapTopic1TransactorRaw) Transfer

func (_SwapTopic1 *SwapTopic1TransactorRaw) 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 SwapTopic1TransactorSession

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

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

type SwapTopic2

type SwapTopic2 struct {
	SwapTopic2Caller     // Read-only binding to the contract
	SwapTopic2Transactor // Write-only binding to the contract
	SwapTopic2Filterer   // Log filterer for contract events
}

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

func NewSwapTopic2

func NewSwapTopic2(address common.Address, backend bind.ContractBackend) (*SwapTopic2, error)

NewSwapTopic2 creates a new instance of SwapTopic2, bound to a specific deployed contract.

type SwapTopic2Caller

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

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

func NewSwapTopic2Caller

func NewSwapTopic2Caller(address common.Address, caller bind.ContractCaller) (*SwapTopic2Caller, error)

NewSwapTopic2Caller creates a new read-only instance of SwapTopic2, bound to a specific deployed contract.

type SwapTopic2CallerRaw

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

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

func (*SwapTopic2CallerRaw) Call

func (_SwapTopic2 *SwapTopic2CallerRaw) 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 SwapTopic2CallerSession

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

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

type SwapTopic2Filterer

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

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

func NewSwapTopic2Filterer

func NewSwapTopic2Filterer(address common.Address, filterer bind.ContractFilterer) (*SwapTopic2Filterer, error)

NewSwapTopic2Filterer creates a new log filterer instance of SwapTopic2, bound to a specific deployed contract.

func (*SwapTopic2Filterer) FilterSwap

func (_SwapTopic2 *SwapTopic2Filterer) FilterSwap(opts *bind.FilterOpts, sender []common.Address, recipient []common.Address) (*SwapTopic2SwapIterator, error)

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

Solidity: event Swap(address indexed sender, address indexed recipient, int256 amount0, int256 amount1, uint160 sqrtPriceX96, uint128 liquidity, int24 tick)

func (*SwapTopic2Filterer) ParseSwap

func (_SwapTopic2 *SwapTopic2Filterer) ParseSwap(log types.Log) (*SwapTopic2Swap, error)

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

Solidity: event Swap(address indexed sender, address indexed recipient, int256 amount0, int256 amount1, uint160 sqrtPriceX96, uint128 liquidity, int24 tick)

func (*SwapTopic2Filterer) WatchSwap

func (_SwapTopic2 *SwapTopic2Filterer) WatchSwap(opts *bind.WatchOpts, sink chan<- *SwapTopic2Swap, sender []common.Address, recipient []common.Address) (event.Subscription, error)

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

Solidity: event Swap(address indexed sender, address indexed recipient, int256 amount0, int256 amount1, uint160 sqrtPriceX96, uint128 liquidity, int24 tick)

type SwapTopic2Raw

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

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

func (*SwapTopic2Raw) Call

func (_SwapTopic2 *SwapTopic2Raw) 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 (*SwapTopic2Raw) Transact

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

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

func (*SwapTopic2Raw) Transfer

func (_SwapTopic2 *SwapTopic2Raw) 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 SwapTopic2Session

type SwapTopic2Session struct {
	Contract     *SwapTopic2       // 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
}

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

type SwapTopic2Swap

type SwapTopic2Swap struct {
	Sender       common.Address
	Recipient    common.Address
	Amount0      *big.Int
	Amount1      *big.Int
	SqrtPriceX96 *big.Int
	Liquidity    *big.Int
	Tick         *big.Int
	Raw          types.Log // Blockchain specific contextual infos
}

SwapTopic2Swap represents a Swap event raised by the SwapTopic2 contract.

type SwapTopic2SwapIterator

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

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

func (*SwapTopic2SwapIterator) Close

func (it *SwapTopic2SwapIterator) Close() error

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

func (*SwapTopic2SwapIterator) Error

func (it *SwapTopic2SwapIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*SwapTopic2SwapIterator) Next

func (it *SwapTopic2SwapIterator) 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 SwapTopic2Transactor

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

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

func NewSwapTopic2Transactor

func NewSwapTopic2Transactor(address common.Address, transactor bind.ContractTransactor) (*SwapTopic2Transactor, error)

NewSwapTopic2Transactor creates a new write-only instance of SwapTopic2, bound to a specific deployed contract.

type SwapTopic2TransactorRaw

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

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

func (*SwapTopic2TransactorRaw) Transact

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

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

func (*SwapTopic2TransactorRaw) Transfer

func (_SwapTopic2 *SwapTopic2TransactorRaw) 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 SwapTopic2TransactorSession

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

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

type SwapTopic6

type SwapTopic6 struct {
	SwapTopic6Caller     // Read-only binding to the contract
	SwapTopic6Transactor // Write-only binding to the contract
	SwapTopic6Filterer   // Log filterer for contract events
}

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

func NewSwapTopic6

func NewSwapTopic6(address common.Address, backend bind.ContractBackend) (*SwapTopic6, error)

NewSwapTopic6 creates a new instance of SwapTopic6, bound to a specific deployed contract.

type SwapTopic6Caller

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

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

func NewSwapTopic6Caller

func NewSwapTopic6Caller(address common.Address, caller bind.ContractCaller) (*SwapTopic6Caller, error)

NewSwapTopic6Caller creates a new read-only instance of SwapTopic6, bound to a specific deployed contract.

type SwapTopic6CallerRaw

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

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

func (*SwapTopic6CallerRaw) Call

func (_SwapTopic6 *SwapTopic6CallerRaw) 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 SwapTopic6CallerSession

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

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

type SwapTopic6Filterer

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

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

func NewSwapTopic6Filterer

func NewSwapTopic6Filterer(address common.Address, filterer bind.ContractFilterer) (*SwapTopic6Filterer, error)

NewSwapTopic6Filterer creates a new log filterer instance of SwapTopic6, bound to a specific deployed contract.

func (*SwapTopic6Filterer) FilterSwap

func (_SwapTopic6 *SwapTopic6Filterer) FilterSwap(opts *bind.FilterOpts, sender []common.Address, recipient []common.Address) (*SwapTopic6SwapIterator, error)

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

Solidity: event Swap(address indexed sender, address indexed recipient, int256 amount0, int256 amount1, uint160 sqrtPriceX96, uint128 liquidity, int24 tick, uint128 protocolFeesToken0, uint128 protocolFeesToken1)

func (*SwapTopic6Filterer) ParseSwap

func (_SwapTopic6 *SwapTopic6Filterer) ParseSwap(log types.Log) (*SwapTopic6Swap, error)

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

Solidity: event Swap(address indexed sender, address indexed recipient, int256 amount0, int256 amount1, uint160 sqrtPriceX96, uint128 liquidity, int24 tick, uint128 protocolFeesToken0, uint128 protocolFeesToken1)

func (*SwapTopic6Filterer) WatchSwap

func (_SwapTopic6 *SwapTopic6Filterer) WatchSwap(opts *bind.WatchOpts, sink chan<- *SwapTopic6Swap, sender []common.Address, recipient []common.Address) (event.Subscription, error)

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

Solidity: event Swap(address indexed sender, address indexed recipient, int256 amount0, int256 amount1, uint160 sqrtPriceX96, uint128 liquidity, int24 tick, uint128 protocolFeesToken0, uint128 protocolFeesToken1)

type SwapTopic6Raw

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

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

func (*SwapTopic6Raw) Call

func (_SwapTopic6 *SwapTopic6Raw) 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 (*SwapTopic6Raw) Transact

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

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

func (*SwapTopic6Raw) Transfer

func (_SwapTopic6 *SwapTopic6Raw) 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 SwapTopic6Session

type SwapTopic6Session struct {
	Contract     *SwapTopic6       // 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
}

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

type SwapTopic6Swap

type SwapTopic6Swap struct {
	Sender             common.Address
	Recipient          common.Address
	Amount0            *big.Int
	Amount1            *big.Int
	SqrtPriceX96       *big.Int
	Liquidity          *big.Int
	Tick               *big.Int
	ProtocolFeesToken0 *big.Int
	ProtocolFeesToken1 *big.Int
	Raw                types.Log // Blockchain specific contextual infos
}

SwapTopic6Swap represents a Swap event raised by the SwapTopic6 contract.

type SwapTopic6SwapIterator

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

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

func (*SwapTopic6SwapIterator) Close

func (it *SwapTopic6SwapIterator) Close() error

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

func (*SwapTopic6SwapIterator) Error

func (it *SwapTopic6SwapIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*SwapTopic6SwapIterator) Next

func (it *SwapTopic6SwapIterator) 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 SwapTopic6Transactor

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

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

func NewSwapTopic6Transactor

func NewSwapTopic6Transactor(address common.Address, transactor bind.ContractTransactor) (*SwapTopic6Transactor, error)

NewSwapTopic6Transactor creates a new write-only instance of SwapTopic6, bound to a specific deployed contract.

type SwapTopic6TransactorRaw

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

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

func (*SwapTopic6TransactorRaw) Transact

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

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

func (*SwapTopic6TransactorRaw) Transfer

func (_SwapTopic6 *SwapTopic6TransactorRaw) 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 SwapTopic6TransactorSession

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

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

type Transfer1

type Transfer1 struct {
	Transfer1Caller     // Read-only binding to the contract
	Transfer1Transactor // Write-only binding to the contract
	Transfer1Filterer   // Log filterer for contract events
}

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

func NewTransfer1

func NewTransfer1(address common.Address, backend bind.ContractBackend) (*Transfer1, error)

NewTransfer1 creates a new instance of Transfer1, bound to a specific deployed contract.

type Transfer1Caller

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

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

func NewTransfer1Caller

func NewTransfer1Caller(address common.Address, caller bind.ContractCaller) (*Transfer1Caller, error)

NewTransfer1Caller creates a new read-only instance of Transfer1, bound to a specific deployed contract.

type Transfer1CallerRaw

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

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

func (*Transfer1CallerRaw) Call

func (_Transfer1 *Transfer1CallerRaw) 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 Transfer1CallerSession

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

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

type Transfer1Filterer

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

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

func NewTransfer1Filterer

func NewTransfer1Filterer(address common.Address, filterer bind.ContractFilterer) (*Transfer1Filterer, error)

NewTransfer1Filterer creates a new log filterer instance of Transfer1, bound to a specific deployed contract.

func (*Transfer1Filterer) FilterTransfer

func (_Transfer1 *Transfer1Filterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*Transfer1TransferIterator, 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 (*Transfer1Filterer) ParseTransfer

func (_Transfer1 *Transfer1Filterer) ParseTransfer(log types.Log) (*Transfer1Transfer, error)

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

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

func (*Transfer1Filterer) WatchTransfer

func (_Transfer1 *Transfer1Filterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *Transfer1Transfer, 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 Transfer1Raw

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

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

func (*Transfer1Raw) Call

func (_Transfer1 *Transfer1Raw) 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 (*Transfer1Raw) Transact

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

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

func (*Transfer1Raw) Transfer

func (_Transfer1 *Transfer1Raw) 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 Transfer1Session

type Transfer1Session struct {
	Contract     *Transfer1        // 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
}

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

type Transfer1Transactor

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

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

func NewTransfer1Transactor

func NewTransfer1Transactor(address common.Address, transactor bind.ContractTransactor) (*Transfer1Transactor, error)

NewTransfer1Transactor creates a new write-only instance of Transfer1, bound to a specific deployed contract.

type Transfer1TransactorRaw

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

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

func (*Transfer1TransactorRaw) Transact

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

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

func (*Transfer1TransactorRaw) Transfer

func (_Transfer1 *Transfer1TransactorRaw) 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 Transfer1TransactorSession

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

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

type Transfer1Transfer

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

Transfer1Transfer represents a Transfer event raised by the Transfer1 contract.

type Transfer1TransferIterator

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

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

func (*Transfer1TransferIterator) Close

func (it *Transfer1TransferIterator) Close() error

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

func (*Transfer1TransferIterator) Error

func (it *Transfer1TransferIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*Transfer1TransferIterator) Next

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

Jump to

Keyboard shortcuts

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