ilynex_v2_factory

package
v0.0.96 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ILynexFactoryABI = ILynexFactoryMetaData.ABI

ILynexFactoryABI is the input ABI used to generate the binding from. Deprecated: Use ILynexFactoryMetaData.ABI instead.

View Source
var ILynexFactoryMetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"token0\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"token1\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"bool\",\"name\":\"stable\",\"type\":\"bool\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"pair\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"PairCreated\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"MAX_FEE\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"MAX_REFERRAL_FEE\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"REFERRAL_FEE_LIMIT\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"acceptFeeManager\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"allPairs\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"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\"},{\"internalType\":\"bool\",\"name\":\"stable\",\"type\":\"bool\"}],\"name\":\"createPair\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"pair\",\"type\":\"address\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"dibs\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"feeManager\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bool\",\"name\":\"_stable\",\"type\":\"bool\"}],\"name\":\"getFee\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getInitializable\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"name\":\"getPair\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"isPair\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"pairCodeHash\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"pairs\",\"outputs\":[{\"internalType\":\"address[]\",\"name\":\"\",\"type\":\"address[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"pendingFeeManager\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_dibs\",\"type\":\"address\"}],\"name\":\"setDibs\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bool\",\"name\":\"_stable\",\"type\":\"bool\"},{\"internalType\":\"uint256\",\"name\":\"_fee\",\"type\":\"uint256\"}],\"name\":\"setFee\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_feeManager\",\"type\":\"address\"}],\"name\":\"setFeeManager\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_refFee\",\"type\":\"uint256\"}],\"name\":\"setReferralFee\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"stableFee\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"volatileFee\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"}]",
}

ILynexFactoryMetaData contains all meta data concerning the ILynexFactory contract.

Functions

This section is empty.

Types

type ILynexFactory

type ILynexFactory struct {
	ILynexFactoryCaller     // Read-only binding to the contract
	ILynexFactoryTransactor // Write-only binding to the contract
	ILynexFactoryFilterer   // Log filterer for contract events
}

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

func NewILynexFactory

func NewILynexFactory(address common.Address, backend bind.ContractBackend) (*ILynexFactory, error)

NewILynexFactory creates a new instance of ILynexFactory, bound to a specific deployed contract.

type ILynexFactoryCaller

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

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

func NewILynexFactoryCaller

func NewILynexFactoryCaller(address common.Address, caller bind.ContractCaller) (*ILynexFactoryCaller, error)

NewILynexFactoryCaller creates a new read-only instance of ILynexFactory, bound to a specific deployed contract.

func (*ILynexFactoryCaller) AllPairs

func (_ILynexFactory *ILynexFactoryCaller) 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)

func (*ILynexFactoryCaller) AllPairsLength

func (_ILynexFactory *ILynexFactoryCaller) 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 (*ILynexFactoryCaller) Dibs

func (_ILynexFactory *ILynexFactoryCaller) Dibs(opts *bind.CallOpts) (common.Address, error)

Dibs is a free data retrieval call binding the contract method 0x7be1623e.

Solidity: function dibs() view returns(address)

func (*ILynexFactoryCaller) FeeManager

func (_ILynexFactory *ILynexFactoryCaller) FeeManager(opts *bind.CallOpts) (common.Address, error)

FeeManager is a free data retrieval call binding the contract method 0xd0fb0203.

Solidity: function feeManager() view returns(address)

func (*ILynexFactoryCaller) GetFee

func (_ILynexFactory *ILynexFactoryCaller) GetFee(opts *bind.CallOpts, _stable bool) (*big.Int, error)

GetFee is a free data retrieval call binding the contract method 0x512b45ea.

Solidity: function getFee(bool _stable) view returns(uint256)

func (*ILynexFactoryCaller) GetInitializable

func (_ILynexFactory *ILynexFactoryCaller) GetInitializable(opts *bind.CallOpts) (common.Address, common.Address, bool, error)

GetInitializable is a free data retrieval call binding the contract method 0xeb13c4cf.

Solidity: function getInitializable() view returns(address, address, bool)

func (*ILynexFactoryCaller) GetPair

func (_ILynexFactory *ILynexFactoryCaller) GetPair(opts *bind.CallOpts, arg0 common.Address, arg1 common.Address, arg2 bool) (common.Address, error)

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

Solidity: function getPair(address , address , bool ) view returns(address)

func (*ILynexFactoryCaller) IsPair

func (_ILynexFactory *ILynexFactoryCaller) IsPair(opts *bind.CallOpts, arg0 common.Address) (bool, error)

IsPair is a free data retrieval call binding the contract method 0xe5e31b13.

Solidity: function isPair(address ) view returns(bool)

func (*ILynexFactoryCaller) MAXFEE

func (_ILynexFactory *ILynexFactoryCaller) MAXFEE(opts *bind.CallOpts) (*big.Int, error)

MAXFEE is a free data retrieval call binding the contract method 0xbc063e1a.

Solidity: function MAX_FEE() view returns(uint256)

func (*ILynexFactoryCaller) MAXREFERRALFEE

func (_ILynexFactory *ILynexFactoryCaller) MAXREFERRALFEE(opts *bind.CallOpts) (*big.Int, error)

MAXREFERRALFEE is a free data retrieval call binding the contract method 0x1e61079c.

Solidity: function MAX_REFERRAL_FEE() view returns(uint256)

func (*ILynexFactoryCaller) PairCodeHash

func (_ILynexFactory *ILynexFactoryCaller) PairCodeHash(opts *bind.CallOpts) ([32]byte, error)

PairCodeHash is a free data retrieval call binding the contract method 0x9aab9248.

Solidity: function pairCodeHash() pure returns(bytes32)

func (*ILynexFactoryCaller) Pairs

func (_ILynexFactory *ILynexFactoryCaller) Pairs(opts *bind.CallOpts) ([]common.Address, error)

Pairs is a free data retrieval call binding the contract method 0xffb0a4a0.

Solidity: function pairs() view returns(address[])

func (*ILynexFactoryCaller) PendingFeeManager

func (_ILynexFactory *ILynexFactoryCaller) PendingFeeManager(opts *bind.CallOpts) (common.Address, error)

PendingFeeManager is a free data retrieval call binding the contract method 0x8a4fa0d2.

Solidity: function pendingFeeManager() view returns(address)

func (*ILynexFactoryCaller) REFERRALFEELIMIT

func (_ILynexFactory *ILynexFactoryCaller) REFERRALFEELIMIT(opts *bind.CallOpts) (*big.Int, error)

REFERRALFEELIMIT is a free data retrieval call binding the contract method 0x63257389.

Solidity: function REFERRAL_FEE_LIMIT() view returns(uint256)

func (*ILynexFactoryCaller) StableFee

func (_ILynexFactory *ILynexFactoryCaller) StableFee(opts *bind.CallOpts) (*big.Int, error)

StableFee is a free data retrieval call binding the contract method 0x40bbd775.

Solidity: function stableFee() view returns(uint256)

func (*ILynexFactoryCaller) VolatileFee

func (_ILynexFactory *ILynexFactoryCaller) VolatileFee(opts *bind.CallOpts) (*big.Int, error)

VolatileFee is a free data retrieval call binding the contract method 0x5084ed03.

Solidity: function volatileFee() view returns(uint256)

type ILynexFactoryCallerRaw

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

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

func (*ILynexFactoryCallerRaw) Call

func (_ILynexFactory *ILynexFactoryCallerRaw) 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 ILynexFactoryCallerSession

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

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

func (*ILynexFactoryCallerSession) AllPairs

func (_ILynexFactory *ILynexFactoryCallerSession) 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)

func (*ILynexFactoryCallerSession) AllPairsLength

func (_ILynexFactory *ILynexFactoryCallerSession) AllPairsLength() (*big.Int, error)

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

Solidity: function allPairsLength() view returns(uint256)

func (*ILynexFactoryCallerSession) Dibs

func (_ILynexFactory *ILynexFactoryCallerSession) Dibs() (common.Address, error)

Dibs is a free data retrieval call binding the contract method 0x7be1623e.

Solidity: function dibs() view returns(address)

func (*ILynexFactoryCallerSession) FeeManager

func (_ILynexFactory *ILynexFactoryCallerSession) FeeManager() (common.Address, error)

FeeManager is a free data retrieval call binding the contract method 0xd0fb0203.

Solidity: function feeManager() view returns(address)

func (*ILynexFactoryCallerSession) GetFee

func (_ILynexFactory *ILynexFactoryCallerSession) GetFee(_stable bool) (*big.Int, error)

GetFee is a free data retrieval call binding the contract method 0x512b45ea.

Solidity: function getFee(bool _stable) view returns(uint256)

func (*ILynexFactoryCallerSession) GetInitializable

func (_ILynexFactory *ILynexFactoryCallerSession) GetInitializable() (common.Address, common.Address, bool, error)

GetInitializable is a free data retrieval call binding the contract method 0xeb13c4cf.

Solidity: function getInitializable() view returns(address, address, bool)

func (*ILynexFactoryCallerSession) GetPair

func (_ILynexFactory *ILynexFactoryCallerSession) GetPair(arg0 common.Address, arg1 common.Address, arg2 bool) (common.Address, error)

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

Solidity: function getPair(address , address , bool ) view returns(address)

func (*ILynexFactoryCallerSession) IsPair

func (_ILynexFactory *ILynexFactoryCallerSession) IsPair(arg0 common.Address) (bool, error)

IsPair is a free data retrieval call binding the contract method 0xe5e31b13.

Solidity: function isPair(address ) view returns(bool)

func (*ILynexFactoryCallerSession) MAXFEE

func (_ILynexFactory *ILynexFactoryCallerSession) MAXFEE() (*big.Int, error)

MAXFEE is a free data retrieval call binding the contract method 0xbc063e1a.

Solidity: function MAX_FEE() view returns(uint256)

func (*ILynexFactoryCallerSession) MAXREFERRALFEE

func (_ILynexFactory *ILynexFactoryCallerSession) MAXREFERRALFEE() (*big.Int, error)

MAXREFERRALFEE is a free data retrieval call binding the contract method 0x1e61079c.

Solidity: function MAX_REFERRAL_FEE() view returns(uint256)

func (*ILynexFactoryCallerSession) PairCodeHash

func (_ILynexFactory *ILynexFactoryCallerSession) PairCodeHash() ([32]byte, error)

PairCodeHash is a free data retrieval call binding the contract method 0x9aab9248.

Solidity: function pairCodeHash() pure returns(bytes32)

func (*ILynexFactoryCallerSession) Pairs

func (_ILynexFactory *ILynexFactoryCallerSession) Pairs() ([]common.Address, error)

Pairs is a free data retrieval call binding the contract method 0xffb0a4a0.

Solidity: function pairs() view returns(address[])

func (*ILynexFactoryCallerSession) PendingFeeManager

func (_ILynexFactory *ILynexFactoryCallerSession) PendingFeeManager() (common.Address, error)

PendingFeeManager is a free data retrieval call binding the contract method 0x8a4fa0d2.

Solidity: function pendingFeeManager() view returns(address)

func (*ILynexFactoryCallerSession) REFERRALFEELIMIT

func (_ILynexFactory *ILynexFactoryCallerSession) REFERRALFEELIMIT() (*big.Int, error)

REFERRALFEELIMIT is a free data retrieval call binding the contract method 0x63257389.

Solidity: function REFERRAL_FEE_LIMIT() view returns(uint256)

func (*ILynexFactoryCallerSession) StableFee

func (_ILynexFactory *ILynexFactoryCallerSession) StableFee() (*big.Int, error)

StableFee is a free data retrieval call binding the contract method 0x40bbd775.

Solidity: function stableFee() view returns(uint256)

func (*ILynexFactoryCallerSession) VolatileFee

func (_ILynexFactory *ILynexFactoryCallerSession) VolatileFee() (*big.Int, error)

VolatileFee is a free data retrieval call binding the contract method 0x5084ed03.

Solidity: function volatileFee() view returns(uint256)

type ILynexFactoryFilterer

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

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

func NewILynexFactoryFilterer

func NewILynexFactoryFilterer(address common.Address, filterer bind.ContractFilterer) (*ILynexFactoryFilterer, error)

NewILynexFactoryFilterer creates a new log filterer instance of ILynexFactory, bound to a specific deployed contract.

func (*ILynexFactoryFilterer) FilterPairCreated

func (_ILynexFactory *ILynexFactoryFilterer) FilterPairCreated(opts *bind.FilterOpts, token0 []common.Address, token1 []common.Address) (*ILynexFactoryPairCreatedIterator, error)

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

Solidity: event PairCreated(address indexed token0, address indexed token1, bool stable, address pair, uint256 arg4)

func (*ILynexFactoryFilterer) ParsePairCreated

func (_ILynexFactory *ILynexFactoryFilterer) ParsePairCreated(log types.Log) (*ILynexFactoryPairCreated, error)

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

Solidity: event PairCreated(address indexed token0, address indexed token1, bool stable, address pair, uint256 arg4)

func (*ILynexFactoryFilterer) WatchPairCreated

func (_ILynexFactory *ILynexFactoryFilterer) WatchPairCreated(opts *bind.WatchOpts, sink chan<- *ILynexFactoryPairCreated, token0 []common.Address, token1 []common.Address) (event.Subscription, error)

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

Solidity: event PairCreated(address indexed token0, address indexed token1, bool stable, address pair, uint256 arg4)

type ILynexFactoryPairCreated

type ILynexFactoryPairCreated struct {
	Token0 common.Address
	Token1 common.Address
	Stable bool
	Pair   common.Address
	Arg4   *big.Int
	Raw    types.Log // Blockchain specific contextual infos
}

ILynexFactoryPairCreated represents a PairCreated event raised by the ILynexFactory contract.

type ILynexFactoryPairCreatedIterator

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

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

func (*ILynexFactoryPairCreatedIterator) Close

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

func (*ILynexFactoryPairCreatedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ILynexFactoryPairCreatedIterator) 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 ILynexFactoryRaw

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

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

func (*ILynexFactoryRaw) Call

func (_ILynexFactory *ILynexFactoryRaw) 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 (*ILynexFactoryRaw) Transact

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

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

func (*ILynexFactoryRaw) Transfer

func (_ILynexFactory *ILynexFactoryRaw) 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 ILynexFactorySession

type ILynexFactorySession struct {
	Contract     *ILynexFactory    // 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
}

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

func (*ILynexFactorySession) AcceptFeeManager

func (_ILynexFactory *ILynexFactorySession) AcceptFeeManager() (*types.Transaction, error)

AcceptFeeManager is a paid mutator transaction binding the contract method 0xf94c53c7.

Solidity: function acceptFeeManager() returns()

func (*ILynexFactorySession) AllPairs

func (_ILynexFactory *ILynexFactorySession) 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)

func (*ILynexFactorySession) AllPairsLength

func (_ILynexFactory *ILynexFactorySession) AllPairsLength() (*big.Int, error)

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

Solidity: function allPairsLength() view returns(uint256)

func (*ILynexFactorySession) CreatePair

func (_ILynexFactory *ILynexFactorySession) CreatePair(tokenA common.Address, tokenB common.Address, stable bool) (*types.Transaction, error)

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

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

func (*ILynexFactorySession) Dibs

func (_ILynexFactory *ILynexFactorySession) Dibs() (common.Address, error)

Dibs is a free data retrieval call binding the contract method 0x7be1623e.

Solidity: function dibs() view returns(address)

func (*ILynexFactorySession) FeeManager

func (_ILynexFactory *ILynexFactorySession) FeeManager() (common.Address, error)

FeeManager is a free data retrieval call binding the contract method 0xd0fb0203.

Solidity: function feeManager() view returns(address)

func (*ILynexFactorySession) GetFee

func (_ILynexFactory *ILynexFactorySession) GetFee(_stable bool) (*big.Int, error)

GetFee is a free data retrieval call binding the contract method 0x512b45ea.

Solidity: function getFee(bool _stable) view returns(uint256)

func (*ILynexFactorySession) GetInitializable

func (_ILynexFactory *ILynexFactorySession) GetInitializable() (common.Address, common.Address, bool, error)

GetInitializable is a free data retrieval call binding the contract method 0xeb13c4cf.

Solidity: function getInitializable() view returns(address, address, bool)

func (*ILynexFactorySession) GetPair

func (_ILynexFactory *ILynexFactorySession) GetPair(arg0 common.Address, arg1 common.Address, arg2 bool) (common.Address, error)

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

Solidity: function getPair(address , address , bool ) view returns(address)

func (*ILynexFactorySession) IsPair

func (_ILynexFactory *ILynexFactorySession) IsPair(arg0 common.Address) (bool, error)

IsPair is a free data retrieval call binding the contract method 0xe5e31b13.

Solidity: function isPair(address ) view returns(bool)

func (*ILynexFactorySession) MAXFEE

func (_ILynexFactory *ILynexFactorySession) MAXFEE() (*big.Int, error)

MAXFEE is a free data retrieval call binding the contract method 0xbc063e1a.

Solidity: function MAX_FEE() view returns(uint256)

func (*ILynexFactorySession) MAXREFERRALFEE

func (_ILynexFactory *ILynexFactorySession) MAXREFERRALFEE() (*big.Int, error)

MAXREFERRALFEE is a free data retrieval call binding the contract method 0x1e61079c.

Solidity: function MAX_REFERRAL_FEE() view returns(uint256)

func (*ILynexFactorySession) PairCodeHash

func (_ILynexFactory *ILynexFactorySession) PairCodeHash() ([32]byte, error)

PairCodeHash is a free data retrieval call binding the contract method 0x9aab9248.

Solidity: function pairCodeHash() pure returns(bytes32)

func (*ILynexFactorySession) Pairs

func (_ILynexFactory *ILynexFactorySession) Pairs() ([]common.Address, error)

Pairs is a free data retrieval call binding the contract method 0xffb0a4a0.

Solidity: function pairs() view returns(address[])

func (*ILynexFactorySession) PendingFeeManager

func (_ILynexFactory *ILynexFactorySession) PendingFeeManager() (common.Address, error)

PendingFeeManager is a free data retrieval call binding the contract method 0x8a4fa0d2.

Solidity: function pendingFeeManager() view returns(address)

func (*ILynexFactorySession) REFERRALFEELIMIT

func (_ILynexFactory *ILynexFactorySession) REFERRALFEELIMIT() (*big.Int, error)

REFERRALFEELIMIT is a free data retrieval call binding the contract method 0x63257389.

Solidity: function REFERRAL_FEE_LIMIT() view returns(uint256)

func (*ILynexFactorySession) SetDibs

func (_ILynexFactory *ILynexFactorySession) SetDibs(_dibs common.Address) (*types.Transaction, error)

SetDibs is a paid mutator transaction binding the contract method 0x0c74db12.

Solidity: function setDibs(address _dibs) returns()

func (*ILynexFactorySession) SetFee

func (_ILynexFactory *ILynexFactorySession) SetFee(_stable bool, _fee *big.Int) (*types.Transaction, error)

SetFee is a paid mutator transaction binding the contract method 0xe1f76b44.

Solidity: function setFee(bool _stable, uint256 _fee) returns()

func (*ILynexFactorySession) SetFeeManager

func (_ILynexFactory *ILynexFactorySession) SetFeeManager(_feeManager common.Address) (*types.Transaction, error)

SetFeeManager is a paid mutator transaction binding the contract method 0x472d35b9.

Solidity: function setFeeManager(address _feeManager) returns()

func (*ILynexFactorySession) SetReferralFee

func (_ILynexFactory *ILynexFactorySession) SetReferralFee(_refFee *big.Int) (*types.Transaction, error)

SetReferralFee is a paid mutator transaction binding the contract method 0x713494d7.

Solidity: function setReferralFee(uint256 _refFee) returns()

func (*ILynexFactorySession) StableFee

func (_ILynexFactory *ILynexFactorySession) StableFee() (*big.Int, error)

StableFee is a free data retrieval call binding the contract method 0x40bbd775.

Solidity: function stableFee() view returns(uint256)

func (*ILynexFactorySession) VolatileFee

func (_ILynexFactory *ILynexFactorySession) VolatileFee() (*big.Int, error)

VolatileFee is a free data retrieval call binding the contract method 0x5084ed03.

Solidity: function volatileFee() view returns(uint256)

type ILynexFactoryTransactor

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

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

func NewILynexFactoryTransactor

func NewILynexFactoryTransactor(address common.Address, transactor bind.ContractTransactor) (*ILynexFactoryTransactor, error)

NewILynexFactoryTransactor creates a new write-only instance of ILynexFactory, bound to a specific deployed contract.

func (*ILynexFactoryTransactor) AcceptFeeManager

func (_ILynexFactory *ILynexFactoryTransactor) AcceptFeeManager(opts *bind.TransactOpts) (*types.Transaction, error)

AcceptFeeManager is a paid mutator transaction binding the contract method 0xf94c53c7.

Solidity: function acceptFeeManager() returns()

func (*ILynexFactoryTransactor) CreatePair

func (_ILynexFactory *ILynexFactoryTransactor) CreatePair(opts *bind.TransactOpts, tokenA common.Address, tokenB common.Address, stable bool) (*types.Transaction, error)

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

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

func (*ILynexFactoryTransactor) SetDibs

func (_ILynexFactory *ILynexFactoryTransactor) SetDibs(opts *bind.TransactOpts, _dibs common.Address) (*types.Transaction, error)

SetDibs is a paid mutator transaction binding the contract method 0x0c74db12.

Solidity: function setDibs(address _dibs) returns()

func (*ILynexFactoryTransactor) SetFee

func (_ILynexFactory *ILynexFactoryTransactor) SetFee(opts *bind.TransactOpts, _stable bool, _fee *big.Int) (*types.Transaction, error)

SetFee is a paid mutator transaction binding the contract method 0xe1f76b44.

Solidity: function setFee(bool _stable, uint256 _fee) returns()

func (*ILynexFactoryTransactor) SetFeeManager

func (_ILynexFactory *ILynexFactoryTransactor) SetFeeManager(opts *bind.TransactOpts, _feeManager common.Address) (*types.Transaction, error)

SetFeeManager is a paid mutator transaction binding the contract method 0x472d35b9.

Solidity: function setFeeManager(address _feeManager) returns()

func (*ILynexFactoryTransactor) SetReferralFee

func (_ILynexFactory *ILynexFactoryTransactor) SetReferralFee(opts *bind.TransactOpts, _refFee *big.Int) (*types.Transaction, error)

SetReferralFee is a paid mutator transaction binding the contract method 0x713494d7.

Solidity: function setReferralFee(uint256 _refFee) returns()

type ILynexFactoryTransactorRaw

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

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

func (*ILynexFactoryTransactorRaw) Transact

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

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

func (*ILynexFactoryTransactorRaw) Transfer

func (_ILynexFactory *ILynexFactoryTransactorRaw) 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 ILynexFactoryTransactorSession

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

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

func (*ILynexFactoryTransactorSession) AcceptFeeManager

func (_ILynexFactory *ILynexFactoryTransactorSession) AcceptFeeManager() (*types.Transaction, error)

AcceptFeeManager is a paid mutator transaction binding the contract method 0xf94c53c7.

Solidity: function acceptFeeManager() returns()

func (*ILynexFactoryTransactorSession) CreatePair

func (_ILynexFactory *ILynexFactoryTransactorSession) CreatePair(tokenA common.Address, tokenB common.Address, stable bool) (*types.Transaction, error)

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

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

func (*ILynexFactoryTransactorSession) SetDibs

func (_ILynexFactory *ILynexFactoryTransactorSession) SetDibs(_dibs common.Address) (*types.Transaction, error)

SetDibs is a paid mutator transaction binding the contract method 0x0c74db12.

Solidity: function setDibs(address _dibs) returns()

func (*ILynexFactoryTransactorSession) SetFee

func (_ILynexFactory *ILynexFactoryTransactorSession) SetFee(_stable bool, _fee *big.Int) (*types.Transaction, error)

SetFee is a paid mutator transaction binding the contract method 0xe1f76b44.

Solidity: function setFee(bool _stable, uint256 _fee) returns()

func (*ILynexFactoryTransactorSession) SetFeeManager

func (_ILynexFactory *ILynexFactoryTransactorSession) SetFeeManager(_feeManager common.Address) (*types.Transaction, error)

SetFeeManager is a paid mutator transaction binding the contract method 0x472d35b9.

Solidity: function setFeeManager(address _feeManager) returns()

func (*ILynexFactoryTransactorSession) SetReferralFee

func (_ILynexFactory *ILynexFactoryTransactorSession) SetReferralFee(_refFee *big.Int) (*types.Transaction, error)

SetReferralFee is a paid mutator transaction binding the contract method 0x713494d7.

Solidity: function setReferralFee(uint256 _refFee) returns()

Jump to

Keyboard shortcuts

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