isecta_v2_factory

package
v0.0.98 Latest Latest
Warning

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

Go to latest
Published: Jun 9, 2024 License: GPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ISectaV2FactoryABI = ISectaV2FactoryMetaData.ABI

ISectaV2FactoryABI is the input ABI used to generate the binding from. Deprecated: Use ISectaV2FactoryMetaData.ABI instead.

View Source
var ISectaV2FactoryMetaData = &bind.MetaData{
	ABI: "[{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"token0\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"token1\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"pair\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"PairCreated\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"INIT_CODE_PAIR_HASH\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"allPairs\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"pair\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"allPairsLength\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"tokenA\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"tokenB\",\"type\":\"address\"}],\"name\":\"createPair\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"pair\",\"type\":\"address\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"feeTo\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"feeToSetter\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"tokenA\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"tokenB\",\"type\":\"address\"}],\"name\":\"getPair\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"pair\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"setFeeTo\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"setFeeToSetter\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
}

ISectaV2FactoryMetaData contains all meta data concerning the ISectaV2Factory contract.

Functions

This section is empty.

Types

type ISectaV2Factory

type ISectaV2Factory struct {
	ISectaV2FactoryCaller     // Read-only binding to the contract
	ISectaV2FactoryTransactor // Write-only binding to the contract
	ISectaV2FactoryFilterer   // Log filterer for contract events
}

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

func NewISectaV2Factory

func NewISectaV2Factory(address common.Address, backend bind.ContractBackend) (*ISectaV2Factory, error)

NewISectaV2Factory creates a new instance of ISectaV2Factory, bound to a specific deployed contract.

type ISectaV2FactoryCaller

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

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

func NewISectaV2FactoryCaller

func NewISectaV2FactoryCaller(address common.Address, caller bind.ContractCaller) (*ISectaV2FactoryCaller, error)

NewISectaV2FactoryCaller creates a new read-only instance of ISectaV2Factory, bound to a specific deployed contract.

func (*ISectaV2FactoryCaller) AllPairs

func (_ISectaV2Factory *ISectaV2FactoryCaller) AllPairs(opts *bind.CallOpts, arg0 *big.Int) (common.Address, error)

AllPairs is a free data retrieval call binding the contract method 0x1e3dd18b.

Solidity: function allPairs(uint256 ) view returns(address pair)

func (*ISectaV2FactoryCaller) AllPairsLength

func (_ISectaV2Factory *ISectaV2FactoryCaller) AllPairsLength(opts *bind.CallOpts) (*big.Int, error)

AllPairsLength is a free data retrieval call binding the contract method 0x574f2ba3.

Solidity: function allPairsLength() view returns(uint256)

func (*ISectaV2FactoryCaller) FeeTo

func (_ISectaV2Factory *ISectaV2FactoryCaller) FeeTo(opts *bind.CallOpts) (common.Address, error)

FeeTo is a free data retrieval call binding the contract method 0x017e7e58.

Solidity: function feeTo() view returns(address)

func (*ISectaV2FactoryCaller) FeeToSetter

func (_ISectaV2Factory *ISectaV2FactoryCaller) FeeToSetter(opts *bind.CallOpts) (common.Address, error)

FeeToSetter is a free data retrieval call binding the contract method 0x094b7415.

Solidity: function feeToSetter() view returns(address)

func (*ISectaV2FactoryCaller) GetPair

func (_ISectaV2Factory *ISectaV2FactoryCaller) GetPair(opts *bind.CallOpts, tokenA common.Address, tokenB common.Address) (common.Address, error)

GetPair is a free data retrieval call binding the contract method 0xe6a43905.

Solidity: function getPair(address tokenA, address tokenB) view returns(address pair)

func (*ISectaV2FactoryCaller) INITCODEPAIRHASH

func (_ISectaV2Factory *ISectaV2FactoryCaller) INITCODEPAIRHASH(opts *bind.CallOpts) ([32]byte, error)

INITCODEPAIRHASH is a free data retrieval call binding the contract method 0x5855a25a.

Solidity: function INIT_CODE_PAIR_HASH() view returns(bytes32)

type ISectaV2FactoryCallerRaw

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

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

func (*ISectaV2FactoryCallerRaw) Call

func (_ISectaV2Factory *ISectaV2FactoryCallerRaw) 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 ISectaV2FactoryCallerSession

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

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

func (*ISectaV2FactoryCallerSession) AllPairs

func (_ISectaV2Factory *ISectaV2FactoryCallerSession) AllPairs(arg0 *big.Int) (common.Address, error)

AllPairs is a free data retrieval call binding the contract method 0x1e3dd18b.

Solidity: function allPairs(uint256 ) view returns(address pair)

func (*ISectaV2FactoryCallerSession) AllPairsLength

func (_ISectaV2Factory *ISectaV2FactoryCallerSession) AllPairsLength() (*big.Int, error)

AllPairsLength is a free data retrieval call binding the contract method 0x574f2ba3.

Solidity: function allPairsLength() view returns(uint256)

func (*ISectaV2FactoryCallerSession) FeeTo

func (_ISectaV2Factory *ISectaV2FactoryCallerSession) FeeTo() (common.Address, error)

FeeTo is a free data retrieval call binding the contract method 0x017e7e58.

Solidity: function feeTo() view returns(address)

func (*ISectaV2FactoryCallerSession) FeeToSetter

func (_ISectaV2Factory *ISectaV2FactoryCallerSession) FeeToSetter() (common.Address, error)

FeeToSetter is a free data retrieval call binding the contract method 0x094b7415.

Solidity: function feeToSetter() view returns(address)

func (*ISectaV2FactoryCallerSession) GetPair

func (_ISectaV2Factory *ISectaV2FactoryCallerSession) GetPair(tokenA common.Address, tokenB common.Address) (common.Address, error)

GetPair is a free data retrieval call binding the contract method 0xe6a43905.

Solidity: function getPair(address tokenA, address tokenB) view returns(address pair)

func (*ISectaV2FactoryCallerSession) INITCODEPAIRHASH

func (_ISectaV2Factory *ISectaV2FactoryCallerSession) INITCODEPAIRHASH() ([32]byte, error)

INITCODEPAIRHASH is a free data retrieval call binding the contract method 0x5855a25a.

Solidity: function INIT_CODE_PAIR_HASH() view returns(bytes32)

type ISectaV2FactoryFilterer

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

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

func NewISectaV2FactoryFilterer

func NewISectaV2FactoryFilterer(address common.Address, filterer bind.ContractFilterer) (*ISectaV2FactoryFilterer, error)

NewISectaV2FactoryFilterer creates a new log filterer instance of ISectaV2Factory, bound to a specific deployed contract.

func (*ISectaV2FactoryFilterer) FilterPairCreated

func (_ISectaV2Factory *ISectaV2FactoryFilterer) FilterPairCreated(opts *bind.FilterOpts, token0 []common.Address, token1 []common.Address) (*ISectaV2FactoryPairCreatedIterator, error)

FilterPairCreated is a free log retrieval operation binding the contract event 0x0d3648bd0f6ba80134a33ba9275ac585d9d315f0ad8355cddefde31afa28d0e9.

Solidity: event PairCreated(address indexed token0, address indexed token1, address pair, uint256 arg3)

func (*ISectaV2FactoryFilterer) ParsePairCreated

func (_ISectaV2Factory *ISectaV2FactoryFilterer) ParsePairCreated(log types.Log) (*ISectaV2FactoryPairCreated, error)

ParsePairCreated is a log parse operation binding the contract event 0x0d3648bd0f6ba80134a33ba9275ac585d9d315f0ad8355cddefde31afa28d0e9.

Solidity: event PairCreated(address indexed token0, address indexed token1, address pair, uint256 arg3)

func (*ISectaV2FactoryFilterer) WatchPairCreated

func (_ISectaV2Factory *ISectaV2FactoryFilterer) WatchPairCreated(opts *bind.WatchOpts, sink chan<- *ISectaV2FactoryPairCreated, token0 []common.Address, token1 []common.Address) (event.Subscription, error)

WatchPairCreated is a free log subscription operation binding the contract event 0x0d3648bd0f6ba80134a33ba9275ac585d9d315f0ad8355cddefde31afa28d0e9.

Solidity: event PairCreated(address indexed token0, address indexed token1, address pair, uint256 arg3)

type ISectaV2FactoryPairCreated

type ISectaV2FactoryPairCreated struct {
	Token0 common.Address
	Token1 common.Address
	Pair   common.Address
	Arg3   *big.Int
	Raw    types.Log // Blockchain specific contextual infos
}

ISectaV2FactoryPairCreated represents a PairCreated event raised by the ISectaV2Factory contract.

type ISectaV2FactoryPairCreatedIterator

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

ISectaV2FactoryPairCreatedIterator is returned from FilterPairCreated and is used to iterate over the raw logs and unpacked data for PairCreated events raised by the ISectaV2Factory contract.

func (*ISectaV2FactoryPairCreatedIterator) Close

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

func (*ISectaV2FactoryPairCreatedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ISectaV2FactoryPairCreatedIterator) 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 ISectaV2FactoryRaw

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

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

func (*ISectaV2FactoryRaw) Call

func (_ISectaV2Factory *ISectaV2FactoryRaw) 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 (*ISectaV2FactoryRaw) Transact

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

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

func (*ISectaV2FactoryRaw) Transfer

func (_ISectaV2Factory *ISectaV2FactoryRaw) 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 ISectaV2FactorySession

type ISectaV2FactorySession struct {
	Contract     *ISectaV2Factory  // 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
}

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

func (*ISectaV2FactorySession) AllPairs

func (_ISectaV2Factory *ISectaV2FactorySession) AllPairs(arg0 *big.Int) (common.Address, error)

AllPairs is a free data retrieval call binding the contract method 0x1e3dd18b.

Solidity: function allPairs(uint256 ) view returns(address pair)

func (*ISectaV2FactorySession) AllPairsLength

func (_ISectaV2Factory *ISectaV2FactorySession) AllPairsLength() (*big.Int, error)

AllPairsLength is a free data retrieval call binding the contract method 0x574f2ba3.

Solidity: function allPairsLength() view returns(uint256)

func (*ISectaV2FactorySession) CreatePair

func (_ISectaV2Factory *ISectaV2FactorySession) CreatePair(tokenA common.Address, tokenB common.Address) (*types.Transaction, error)

CreatePair is a paid mutator transaction binding the contract method 0xc9c65396.

Solidity: function createPair(address tokenA, address tokenB) returns(address pair)

func (*ISectaV2FactorySession) FeeTo

func (_ISectaV2Factory *ISectaV2FactorySession) FeeTo() (common.Address, error)

FeeTo is a free data retrieval call binding the contract method 0x017e7e58.

Solidity: function feeTo() view returns(address)

func (*ISectaV2FactorySession) FeeToSetter

func (_ISectaV2Factory *ISectaV2FactorySession) FeeToSetter() (common.Address, error)

FeeToSetter is a free data retrieval call binding the contract method 0x094b7415.

Solidity: function feeToSetter() view returns(address)

func (*ISectaV2FactorySession) GetPair

func (_ISectaV2Factory *ISectaV2FactorySession) GetPair(tokenA common.Address, tokenB common.Address) (common.Address, error)

GetPair is a free data retrieval call binding the contract method 0xe6a43905.

Solidity: function getPair(address tokenA, address tokenB) view returns(address pair)

func (*ISectaV2FactorySession) INITCODEPAIRHASH

func (_ISectaV2Factory *ISectaV2FactorySession) INITCODEPAIRHASH() ([32]byte, error)

INITCODEPAIRHASH is a free data retrieval call binding the contract method 0x5855a25a.

Solidity: function INIT_CODE_PAIR_HASH() view returns(bytes32)

func (*ISectaV2FactorySession) SetFeeTo

func (_ISectaV2Factory *ISectaV2FactorySession) SetFeeTo(arg0 common.Address) (*types.Transaction, error)

SetFeeTo is a paid mutator transaction binding the contract method 0xf46901ed.

Solidity: function setFeeTo(address ) returns()

func (*ISectaV2FactorySession) SetFeeToSetter

func (_ISectaV2Factory *ISectaV2FactorySession) SetFeeToSetter(arg0 common.Address) (*types.Transaction, error)

SetFeeToSetter is a paid mutator transaction binding the contract method 0xa2e74af6.

Solidity: function setFeeToSetter(address ) returns()

type ISectaV2FactoryTransactor

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

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

func NewISectaV2FactoryTransactor

func NewISectaV2FactoryTransactor(address common.Address, transactor bind.ContractTransactor) (*ISectaV2FactoryTransactor, error)

NewISectaV2FactoryTransactor creates a new write-only instance of ISectaV2Factory, bound to a specific deployed contract.

func (*ISectaV2FactoryTransactor) CreatePair

func (_ISectaV2Factory *ISectaV2FactoryTransactor) CreatePair(opts *bind.TransactOpts, tokenA common.Address, tokenB common.Address) (*types.Transaction, error)

CreatePair is a paid mutator transaction binding the contract method 0xc9c65396.

Solidity: function createPair(address tokenA, address tokenB) returns(address pair)

func (*ISectaV2FactoryTransactor) SetFeeTo

func (_ISectaV2Factory *ISectaV2FactoryTransactor) SetFeeTo(opts *bind.TransactOpts, arg0 common.Address) (*types.Transaction, error)

SetFeeTo is a paid mutator transaction binding the contract method 0xf46901ed.

Solidity: function setFeeTo(address ) returns()

func (*ISectaV2FactoryTransactor) SetFeeToSetter

func (_ISectaV2Factory *ISectaV2FactoryTransactor) SetFeeToSetter(opts *bind.TransactOpts, arg0 common.Address) (*types.Transaction, error)

SetFeeToSetter is a paid mutator transaction binding the contract method 0xa2e74af6.

Solidity: function setFeeToSetter(address ) returns()

type ISectaV2FactoryTransactorRaw

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

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

func (*ISectaV2FactoryTransactorRaw) Transact

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

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

func (*ISectaV2FactoryTransactorRaw) Transfer

func (_ISectaV2Factory *ISectaV2FactoryTransactorRaw) 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 ISectaV2FactoryTransactorSession

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

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

func (*ISectaV2FactoryTransactorSession) CreatePair

func (_ISectaV2Factory *ISectaV2FactoryTransactorSession) CreatePair(tokenA common.Address, tokenB common.Address) (*types.Transaction, error)

CreatePair is a paid mutator transaction binding the contract method 0xc9c65396.

Solidity: function createPair(address tokenA, address tokenB) returns(address pair)

func (*ISectaV2FactoryTransactorSession) SetFeeTo

func (_ISectaV2Factory *ISectaV2FactoryTransactorSession) SetFeeTo(arg0 common.Address) (*types.Transaction, error)

SetFeeTo is a paid mutator transaction binding the contract method 0xf46901ed.

Solidity: function setFeeTo(address ) returns()

func (*ISectaV2FactoryTransactorSession) SetFeeToSetter

func (_ISectaV2Factory *ISectaV2FactoryTransactorSession) SetFeeToSetter(arg0 common.Address) (*types.Transaction, error)

SetFeeToSetter is a paid mutator transaction binding the contract method 0xa2e74af6.

Solidity: function setFeeToSetter(address ) returns()

Jump to

Keyboard shortcuts

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