Documentation ¶
Index ¶
- Variables
- type ILBFactoryLBPairInformation
- type Traderjoe
- type TraderjoeCaller
- func (_Traderjoe *TraderjoeCaller) GetAllBinSteps(opts *bind.CallOpts) ([]*big.Int, error)
- func (_Traderjoe *TraderjoeCaller) GetAllLBPairs(opts *bind.CallOpts, tokenX common.Address, tokenY common.Address) ([]ILBFactoryLBPairInformation, error)
- func (_Traderjoe *TraderjoeCaller) GetFeeRecipient(opts *bind.CallOpts) (common.Address, error)
- func (_Traderjoe *TraderjoeCaller) GetFlashLoanFee(opts *bind.CallOpts) (*big.Int, error)
- func (_Traderjoe *TraderjoeCaller) GetLBPairAtIndex(opts *bind.CallOpts, index *big.Int) (common.Address, error)
- func (_Traderjoe *TraderjoeCaller) GetLBPairImplementation(opts *bind.CallOpts) (common.Address, error)
- func (_Traderjoe *TraderjoeCaller) GetLBPairInformation(opts *bind.CallOpts, tokenA common.Address, tokenB common.Address, ...) (ILBFactoryLBPairInformation, error)
- func (_Traderjoe *TraderjoeCaller) GetMaxFlashLoanFee(opts *bind.CallOpts) (*big.Int, error)
- func (_Traderjoe *TraderjoeCaller) GetMinBinStep(opts *bind.CallOpts) (*big.Int, error)
- func (_Traderjoe *TraderjoeCaller) GetNumberOfLBPairs(opts *bind.CallOpts) (*big.Int, error)
- func (_Traderjoe *TraderjoeCaller) GetNumberOfQuoteAssets(opts *bind.CallOpts) (*big.Int, error)
- func (_Traderjoe *TraderjoeCaller) GetOpenBinSteps(opts *bind.CallOpts) ([]*big.Int, error)
- func (_Traderjoe *TraderjoeCaller) GetPreset(opts *bind.CallOpts, binStep *big.Int) (struct{ ... }, error)
- func (_Traderjoe *TraderjoeCaller) GetQuoteAssetAtIndex(opts *bind.CallOpts, index *big.Int) (common.Address, error)
- func (_Traderjoe *TraderjoeCaller) IsQuoteAsset(opts *bind.CallOpts, token common.Address) (bool, error)
- func (_Traderjoe *TraderjoeCaller) Owner(opts *bind.CallOpts) (common.Address, error)
- func (_Traderjoe *TraderjoeCaller) PendingOwner(opts *bind.CallOpts) (common.Address, error)
- type TraderjoeCallerRaw
- type TraderjoeCallerSession
- func (_Traderjoe *TraderjoeCallerSession) GetAllBinSteps() ([]*big.Int, error)
- func (_Traderjoe *TraderjoeCallerSession) GetAllLBPairs(tokenX common.Address, tokenY common.Address) ([]ILBFactoryLBPairInformation, error)
- func (_Traderjoe *TraderjoeCallerSession) GetFeeRecipient() (common.Address, error)
- func (_Traderjoe *TraderjoeCallerSession) GetFlashLoanFee() (*big.Int, error)
- func (_Traderjoe *TraderjoeCallerSession) GetLBPairAtIndex(index *big.Int) (common.Address, error)
- func (_Traderjoe *TraderjoeCallerSession) GetLBPairImplementation() (common.Address, error)
- func (_Traderjoe *TraderjoeCallerSession) GetLBPairInformation(tokenA common.Address, tokenB common.Address, binStep *big.Int) (ILBFactoryLBPairInformation, error)
- func (_Traderjoe *TraderjoeCallerSession) GetMaxFlashLoanFee() (*big.Int, error)
- func (_Traderjoe *TraderjoeCallerSession) GetMinBinStep() (*big.Int, error)
- func (_Traderjoe *TraderjoeCallerSession) GetNumberOfLBPairs() (*big.Int, error)
- func (_Traderjoe *TraderjoeCallerSession) GetNumberOfQuoteAssets() (*big.Int, error)
- func (_Traderjoe *TraderjoeCallerSession) GetOpenBinSteps() ([]*big.Int, error)
- func (_Traderjoe *TraderjoeCallerSession) GetPreset(binStep *big.Int) (struct{ ... }, error)
- func (_Traderjoe *TraderjoeCallerSession) GetQuoteAssetAtIndex(index *big.Int) (common.Address, error)
- func (_Traderjoe *TraderjoeCallerSession) IsQuoteAsset(token common.Address) (bool, error)
- func (_Traderjoe *TraderjoeCallerSession) Owner() (common.Address, error)
- func (_Traderjoe *TraderjoeCallerSession) PendingOwner() (common.Address, error)
- type TraderjoeFeeRecipientSet
- type TraderjoeFeeRecipientSetIterator
- type TraderjoeFilterer
- func (_Traderjoe *TraderjoeFilterer) FilterFeeRecipientSet(opts *bind.FilterOpts) (*TraderjoeFeeRecipientSetIterator, error)
- func (_Traderjoe *TraderjoeFilterer) FilterFlashLoanFeeSet(opts *bind.FilterOpts) (*TraderjoeFlashLoanFeeSetIterator, error)
- func (_Traderjoe *TraderjoeFilterer) FilterLBPairCreated(opts *bind.FilterOpts, tokenX []common.Address, tokenY []common.Address, ...) (*TraderjoeLBPairCreatedIterator, error)
- func (_Traderjoe *TraderjoeFilterer) FilterLBPairIgnoredStateChanged(opts *bind.FilterOpts, LBPair []common.Address) (*TraderjoeLBPairIgnoredStateChangedIterator, error)
- func (_Traderjoe *TraderjoeFilterer) FilterLBPairImplementationSet(opts *bind.FilterOpts) (*TraderjoeLBPairImplementationSetIterator, error)
- func (_Traderjoe *TraderjoeFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, ...) (*TraderjoeOwnershipTransferredIterator, error)
- func (_Traderjoe *TraderjoeFilterer) FilterPendingOwnerSet(opts *bind.FilterOpts, pendingOwner []common.Address) (*TraderjoePendingOwnerSetIterator, error)
- func (_Traderjoe *TraderjoeFilterer) FilterPresetOpenStateChanged(opts *bind.FilterOpts, binStep []*big.Int, isOpen []bool) (*TraderjoePresetOpenStateChangedIterator, error)
- func (_Traderjoe *TraderjoeFilterer) FilterPresetRemoved(opts *bind.FilterOpts, binStep []*big.Int) (*TraderjoePresetRemovedIterator, error)
- func (_Traderjoe *TraderjoeFilterer) FilterPresetSet(opts *bind.FilterOpts, binStep []*big.Int) (*TraderjoePresetSetIterator, error)
- func (_Traderjoe *TraderjoeFilterer) FilterQuoteAssetAdded(opts *bind.FilterOpts, quoteAsset []common.Address) (*TraderjoeQuoteAssetAddedIterator, error)
- func (_Traderjoe *TraderjoeFilterer) FilterQuoteAssetRemoved(opts *bind.FilterOpts, quoteAsset []common.Address) (*TraderjoeQuoteAssetRemovedIterator, error)
- func (_Traderjoe *TraderjoeFilterer) ParseFeeRecipientSet(log types.Log) (*TraderjoeFeeRecipientSet, error)
- func (_Traderjoe *TraderjoeFilterer) ParseFlashLoanFeeSet(log types.Log) (*TraderjoeFlashLoanFeeSet, error)
- func (_Traderjoe *TraderjoeFilterer) ParseLBPairCreated(log types.Log) (*TraderjoeLBPairCreated, error)
- func (_Traderjoe *TraderjoeFilterer) ParseLBPairIgnoredStateChanged(log types.Log) (*TraderjoeLBPairIgnoredStateChanged, error)
- func (_Traderjoe *TraderjoeFilterer) ParseLBPairImplementationSet(log types.Log) (*TraderjoeLBPairImplementationSet, error)
- func (_Traderjoe *TraderjoeFilterer) ParseOwnershipTransferred(log types.Log) (*TraderjoeOwnershipTransferred, error)
- func (_Traderjoe *TraderjoeFilterer) ParsePendingOwnerSet(log types.Log) (*TraderjoePendingOwnerSet, error)
- func (_Traderjoe *TraderjoeFilterer) ParsePresetOpenStateChanged(log types.Log) (*TraderjoePresetOpenStateChanged, error)
- func (_Traderjoe *TraderjoeFilterer) ParsePresetRemoved(log types.Log) (*TraderjoePresetRemoved, error)
- func (_Traderjoe *TraderjoeFilterer) ParsePresetSet(log types.Log) (*TraderjoePresetSet, error)
- func (_Traderjoe *TraderjoeFilterer) ParseQuoteAssetAdded(log types.Log) (*TraderjoeQuoteAssetAdded, error)
- func (_Traderjoe *TraderjoeFilterer) ParseQuoteAssetRemoved(log types.Log) (*TraderjoeQuoteAssetRemoved, error)
- func (_Traderjoe *TraderjoeFilterer) WatchFeeRecipientSet(opts *bind.WatchOpts, sink chan<- *TraderjoeFeeRecipientSet) (event.Subscription, error)
- func (_Traderjoe *TraderjoeFilterer) WatchFlashLoanFeeSet(opts *bind.WatchOpts, sink chan<- *TraderjoeFlashLoanFeeSet) (event.Subscription, error)
- func (_Traderjoe *TraderjoeFilterer) WatchLBPairCreated(opts *bind.WatchOpts, sink chan<- *TraderjoeLBPairCreated, ...) (event.Subscription, error)
- func (_Traderjoe *TraderjoeFilterer) WatchLBPairIgnoredStateChanged(opts *bind.WatchOpts, sink chan<- *TraderjoeLBPairIgnoredStateChanged, ...) (event.Subscription, error)
- func (_Traderjoe *TraderjoeFilterer) WatchLBPairImplementationSet(opts *bind.WatchOpts, sink chan<- *TraderjoeLBPairImplementationSet) (event.Subscription, error)
- func (_Traderjoe *TraderjoeFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *TraderjoeOwnershipTransferred, ...) (event.Subscription, error)
- func (_Traderjoe *TraderjoeFilterer) WatchPendingOwnerSet(opts *bind.WatchOpts, sink chan<- *TraderjoePendingOwnerSet, ...) (event.Subscription, error)
- func (_Traderjoe *TraderjoeFilterer) WatchPresetOpenStateChanged(opts *bind.WatchOpts, sink chan<- *TraderjoePresetOpenStateChanged, ...) (event.Subscription, error)
- func (_Traderjoe *TraderjoeFilterer) WatchPresetRemoved(opts *bind.WatchOpts, sink chan<- *TraderjoePresetRemoved, binStep []*big.Int) (event.Subscription, error)
- func (_Traderjoe *TraderjoeFilterer) WatchPresetSet(opts *bind.WatchOpts, sink chan<- *TraderjoePresetSet, binStep []*big.Int) (event.Subscription, error)
- func (_Traderjoe *TraderjoeFilterer) WatchQuoteAssetAdded(opts *bind.WatchOpts, sink chan<- *TraderjoeQuoteAssetAdded, ...) (event.Subscription, error)
- func (_Traderjoe *TraderjoeFilterer) WatchQuoteAssetRemoved(opts *bind.WatchOpts, sink chan<- *TraderjoeQuoteAssetRemoved, ...) (event.Subscription, error)
- type TraderjoeFlashLoanFeeSet
- type TraderjoeFlashLoanFeeSetIterator
- type TraderjoeLBPairCreated
- type TraderjoeLBPairCreatedIterator
- type TraderjoeLBPairIgnoredStateChanged
- type TraderjoeLBPairIgnoredStateChangedIterator
- type TraderjoeLBPairImplementationSet
- type TraderjoeLBPairImplementationSetIterator
- type TraderjoeOwnershipTransferred
- type TraderjoeOwnershipTransferredIterator
- type TraderjoePendingOwnerSet
- type TraderjoePendingOwnerSetIterator
- type TraderjoePresetOpenStateChanged
- type TraderjoePresetOpenStateChangedIterator
- type TraderjoePresetRemoved
- type TraderjoePresetRemovedIterator
- type TraderjoePresetSet
- type TraderjoePresetSetIterator
- type TraderjoeQuoteAssetAdded
- type TraderjoeQuoteAssetAddedIterator
- type TraderjoeQuoteAssetRemoved
- type TraderjoeQuoteAssetRemovedIterator
- type TraderjoeRaw
- func (_Traderjoe *TraderjoeRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_Traderjoe *TraderjoeRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_Traderjoe *TraderjoeRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type TraderjoeSession
- func (_Traderjoe *TraderjoeSession) AddQuoteAsset(quoteAsset common.Address) (*types.Transaction, error)
- func (_Traderjoe *TraderjoeSession) BecomeOwner() (*types.Transaction, error)
- func (_Traderjoe *TraderjoeSession) CreateLBPair(tokenX common.Address, tokenY common.Address, activeId *big.Int, ...) (*types.Transaction, error)
- func (_Traderjoe *TraderjoeSession) ForceDecay(pair common.Address) (*types.Transaction, error)
- func (_Traderjoe *TraderjoeSession) GetAllBinSteps() ([]*big.Int, error)
- func (_Traderjoe *TraderjoeSession) GetAllLBPairs(tokenX common.Address, tokenY common.Address) ([]ILBFactoryLBPairInformation, error)
- func (_Traderjoe *TraderjoeSession) GetFeeRecipient() (common.Address, error)
- func (_Traderjoe *TraderjoeSession) GetFlashLoanFee() (*big.Int, error)
- func (_Traderjoe *TraderjoeSession) GetLBPairAtIndex(index *big.Int) (common.Address, error)
- func (_Traderjoe *TraderjoeSession) GetLBPairImplementation() (common.Address, error)
- func (_Traderjoe *TraderjoeSession) GetLBPairInformation(tokenA common.Address, tokenB common.Address, binStep *big.Int) (ILBFactoryLBPairInformation, error)
- func (_Traderjoe *TraderjoeSession) GetMaxFlashLoanFee() (*big.Int, error)
- func (_Traderjoe *TraderjoeSession) GetMinBinStep() (*big.Int, error)
- func (_Traderjoe *TraderjoeSession) GetNumberOfLBPairs() (*big.Int, error)
- func (_Traderjoe *TraderjoeSession) GetNumberOfQuoteAssets() (*big.Int, error)
- func (_Traderjoe *TraderjoeSession) GetOpenBinSteps() ([]*big.Int, error)
- func (_Traderjoe *TraderjoeSession) GetPreset(binStep *big.Int) (struct{ ... }, error)
- func (_Traderjoe *TraderjoeSession) GetQuoteAssetAtIndex(index *big.Int) (common.Address, error)
- func (_Traderjoe *TraderjoeSession) IsQuoteAsset(token common.Address) (bool, error)
- func (_Traderjoe *TraderjoeSession) Owner() (common.Address, error)
- func (_Traderjoe *TraderjoeSession) PendingOwner() (common.Address, error)
- func (_Traderjoe *TraderjoeSession) RemovePreset(binStep uint16) (*types.Transaction, error)
- func (_Traderjoe *TraderjoeSession) RemoveQuoteAsset(quoteAsset common.Address) (*types.Transaction, error)
- func (_Traderjoe *TraderjoeSession) RenounceOwnership() (*types.Transaction, error)
- func (_Traderjoe *TraderjoeSession) RevokePendingOwner() (*types.Transaction, error)
- func (_Traderjoe *TraderjoeSession) SetFeeRecipient(feeRecipient common.Address) (*types.Transaction, error)
- func (_Traderjoe *TraderjoeSession) SetFeesParametersOnPair(tokenX common.Address, tokenY common.Address, binStep uint16, ...) (*types.Transaction, error)
- func (_Traderjoe *TraderjoeSession) SetFlashLoanFee(flashLoanFee *big.Int) (*types.Transaction, error)
- func (_Traderjoe *TraderjoeSession) SetLBPairIgnored(tokenX common.Address, tokenY common.Address, binStep uint16, ignored bool) (*types.Transaction, error)
- func (_Traderjoe *TraderjoeSession) SetLBPairImplementation(newLBPairImplementation common.Address) (*types.Transaction, error)
- func (_Traderjoe *TraderjoeSession) SetPendingOwner(pendingOwner_ common.Address) (*types.Transaction, error)
- func (_Traderjoe *TraderjoeSession) SetPreset(binStep uint16, baseFactor uint16, filterPeriod uint16, decayPeriod uint16, ...) (*types.Transaction, error)
- func (_Traderjoe *TraderjoeSession) SetPresetOpenState(binStep uint16, isOpen bool) (*types.Transaction, error)
- type TraderjoeTransactor
- func (_Traderjoe *TraderjoeTransactor) AddQuoteAsset(opts *bind.TransactOpts, quoteAsset common.Address) (*types.Transaction, error)
- func (_Traderjoe *TraderjoeTransactor) BecomeOwner(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_Traderjoe *TraderjoeTransactor) CreateLBPair(opts *bind.TransactOpts, tokenX common.Address, tokenY common.Address, ...) (*types.Transaction, error)
- func (_Traderjoe *TraderjoeTransactor) ForceDecay(opts *bind.TransactOpts, pair common.Address) (*types.Transaction, error)
- func (_Traderjoe *TraderjoeTransactor) RemovePreset(opts *bind.TransactOpts, binStep uint16) (*types.Transaction, error)
- func (_Traderjoe *TraderjoeTransactor) RemoveQuoteAsset(opts *bind.TransactOpts, quoteAsset common.Address) (*types.Transaction, error)
- func (_Traderjoe *TraderjoeTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_Traderjoe *TraderjoeTransactor) RevokePendingOwner(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_Traderjoe *TraderjoeTransactor) SetFeeRecipient(opts *bind.TransactOpts, feeRecipient common.Address) (*types.Transaction, error)
- func (_Traderjoe *TraderjoeTransactor) SetFeesParametersOnPair(opts *bind.TransactOpts, tokenX common.Address, tokenY common.Address, ...) (*types.Transaction, error)
- func (_Traderjoe *TraderjoeTransactor) SetFlashLoanFee(opts *bind.TransactOpts, flashLoanFee *big.Int) (*types.Transaction, error)
- func (_Traderjoe *TraderjoeTransactor) SetLBPairIgnored(opts *bind.TransactOpts, tokenX common.Address, tokenY common.Address, ...) (*types.Transaction, error)
- func (_Traderjoe *TraderjoeTransactor) SetLBPairImplementation(opts *bind.TransactOpts, newLBPairImplementation common.Address) (*types.Transaction, error)
- func (_Traderjoe *TraderjoeTransactor) SetPendingOwner(opts *bind.TransactOpts, pendingOwner_ common.Address) (*types.Transaction, error)
- func (_Traderjoe *TraderjoeTransactor) SetPreset(opts *bind.TransactOpts, binStep uint16, baseFactor uint16, ...) (*types.Transaction, error)
- func (_Traderjoe *TraderjoeTransactor) SetPresetOpenState(opts *bind.TransactOpts, binStep uint16, isOpen bool) (*types.Transaction, error)
- type TraderjoeTransactorRaw
- type TraderjoeTransactorSession
- func (_Traderjoe *TraderjoeTransactorSession) AddQuoteAsset(quoteAsset common.Address) (*types.Transaction, error)
- func (_Traderjoe *TraderjoeTransactorSession) BecomeOwner() (*types.Transaction, error)
- func (_Traderjoe *TraderjoeTransactorSession) CreateLBPair(tokenX common.Address, tokenY common.Address, activeId *big.Int, ...) (*types.Transaction, error)
- func (_Traderjoe *TraderjoeTransactorSession) ForceDecay(pair common.Address) (*types.Transaction, error)
- func (_Traderjoe *TraderjoeTransactorSession) RemovePreset(binStep uint16) (*types.Transaction, error)
- func (_Traderjoe *TraderjoeTransactorSession) RemoveQuoteAsset(quoteAsset common.Address) (*types.Transaction, error)
- func (_Traderjoe *TraderjoeTransactorSession) RenounceOwnership() (*types.Transaction, error)
- func (_Traderjoe *TraderjoeTransactorSession) RevokePendingOwner() (*types.Transaction, error)
- func (_Traderjoe *TraderjoeTransactorSession) SetFeeRecipient(feeRecipient common.Address) (*types.Transaction, error)
- func (_Traderjoe *TraderjoeTransactorSession) SetFeesParametersOnPair(tokenX common.Address, tokenY common.Address, binStep uint16, ...) (*types.Transaction, error)
- func (_Traderjoe *TraderjoeTransactorSession) SetFlashLoanFee(flashLoanFee *big.Int) (*types.Transaction, error)
- func (_Traderjoe *TraderjoeTransactorSession) SetLBPairIgnored(tokenX common.Address, tokenY common.Address, binStep uint16, ignored bool) (*types.Transaction, error)
- func (_Traderjoe *TraderjoeTransactorSession) SetLBPairImplementation(newLBPairImplementation common.Address) (*types.Transaction, error)
- func (_Traderjoe *TraderjoeTransactorSession) SetPendingOwner(pendingOwner_ common.Address) (*types.Transaction, error)
- func (_Traderjoe *TraderjoeTransactorSession) SetPreset(binStep uint16, baseFactor uint16, filterPeriod uint16, decayPeriod uint16, ...) (*types.Transaction, error)
- func (_Traderjoe *TraderjoeTransactorSession) SetPresetOpenState(binStep uint16, isOpen bool) (*types.Transaction, error)
Constants ¶
This section is empty.
Variables ¶
var TraderjoeABI = TraderjoeMetaData.ABI
TraderjoeABI is the input ABI used to generate the binding from. Deprecated: Use TraderjoeMetaData.ABI instead.
var TraderjoeMetaData = &bind.MetaData{
ABI: "[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"feeRecipient\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"flashLoanFee\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"inputs\":[],\"name\":\"LBFactory__AddressZero\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"binStep\",\"type\":\"uint256\"}],\"name\":\"LBFactory__BinStepHasNoPreset\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"binStep\",\"type\":\"uint256\"}],\"name\":\"LBFactory__BinStepTooLow\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"fees\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"maxFees\",\"type\":\"uint256\"}],\"name\":\"LBFactory__FlashLoanFeeAboveMax\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"contractIERC20\",\"name\":\"token\",\"type\":\"address\"}],\"name\":\"LBFactory__IdenticalAddresses\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"LBFactory__ImplementationNotSet\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"contractIERC20\",\"name\":\"tokenX\",\"type\":\"address\"},{\"internalType\":\"contractIERC20\",\"name\":\"tokenY\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_binStep\",\"type\":\"uint256\"}],\"name\":\"LBFactory__LBPairAlreadyExists\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"contractIERC20\",\"name\":\"tokenX\",\"type\":\"address\"},{\"internalType\":\"contractIERC20\",\"name\":\"tokenY\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"binStep\",\"type\":\"uint256\"}],\"name\":\"LBFactory__LBPairDoesNotExist\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"LBFactory__LBPairIgnoredIsAlreadyInTheSameState\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"contractIERC20\",\"name\":\"tokenX\",\"type\":\"address\"},{\"internalType\":\"contractIERC20\",\"name\":\"tokenY\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"binStep\",\"type\":\"uint256\"}],\"name\":\"LBFactory__LBPairNotCreated\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"LBPairImplementation\",\"type\":\"address\"}],\"name\":\"LBFactory__LBPairSafetyCheckFailed\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"user\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"binStep\",\"type\":\"uint256\"}],\"name\":\"LBFactory__PresetIsLockedForUsers\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"LBFactory__PresetOpenStateIsAlreadyInTheSameState\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"contractIERC20\",\"name\":\"quoteAsset\",\"type\":\"address\"}],\"name\":\"LBFactory__QuoteAssetAlreadyWhitelisted\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"contractIERC20\",\"name\":\"quoteAsset\",\"type\":\"address\"}],\"name\":\"LBFactory__QuoteAssetNotWhitelisted\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"feeRecipient\",\"type\":\"address\"}],\"name\":\"LBFactory__SameFeeRecipient\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"flashLoanFee\",\"type\":\"uint256\"}],\"name\":\"LBFactory__SameFlashLoanFee\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"LBPairImplementation\",\"type\":\"address\"}],\"name\":\"LBFactory__SameImplementation\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"PairParametersHelper__InvalidParameter\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"PendingOwnable__AddressZero\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"PendingOwnable__NoPendingOwner\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"PendingOwnable__NotOwner\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"PendingOwnable__NotPendingOwner\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"PendingOwnable__PendingOwnerAlreadySet\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"SafeCast__Exceeds16Bits\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"x\",\"type\":\"uint256\"},{\"internalType\":\"int256\",\"name\":\"y\",\"type\":\"int256\"}],\"name\":\"Uint128x128Math__PowUnderflow\",\"type\":\"error\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"oldRecipient\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"newRecipient\",\"type\":\"address\"}],\"name\":\"FeeRecipientSet\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"oldFlashLoanFee\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"newFlashLoanFee\",\"type\":\"uint256\"}],\"name\":\"FlashLoanFeeSet\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"contractIERC20\",\"name\":\"tokenX\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"contractIERC20\",\"name\":\"tokenY\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"binStep\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"contractILBPair\",\"name\":\"LBPair\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"pid\",\"type\":\"uint256\"}],\"name\":\"LBPairCreated\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"contractILBPair\",\"name\":\"LBPair\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"bool\",\"name\":\"ignored\",\"type\":\"bool\"}],\"name\":\"LBPairIgnoredStateChanged\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"oldLBPairImplementation\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"LBPairImplementation\",\"type\":\"address\"}],\"name\":\"LBPairImplementationSet\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"previousOwner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"OwnershipTransferred\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"pendingOwner\",\"type\":\"address\"}],\"name\":\"PendingOwnerSet\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"binStep\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"bool\",\"name\":\"isOpen\",\"type\":\"bool\"}],\"name\":\"PresetOpenStateChanged\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"binStep\",\"type\":\"uint256\"}],\"name\":\"PresetRemoved\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"binStep\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"baseFactor\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"filterPeriod\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"decayPeriod\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"reductionFactor\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"variableFeeControl\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"protocolShare\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"maxVolatilityAccumulator\",\"type\":\"uint256\"}],\"name\":\"PresetSet\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"contractIERC20\",\"name\":\"quoteAsset\",\"type\":\"address\"}],\"name\":\"QuoteAssetAdded\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"contractIERC20\",\"name\":\"quoteAsset\",\"type\":\"address\"}],\"name\":\"QuoteAssetRemoved\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"contractIERC20\",\"name\":\"quoteAsset\",\"type\":\"address\"}],\"name\":\"addQuoteAsset\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"becomeOwner\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"contractIERC20\",\"name\":\"tokenX\",\"type\":\"address\"},{\"internalType\":\"contractIERC20\",\"name\":\"tokenY\",\"type\":\"address\"},{\"internalType\":\"uint24\",\"name\":\"activeId\",\"type\":\"uint24\"},{\"internalType\":\"uint16\",\"name\":\"binStep\",\"type\":\"uint16\"}],\"name\":\"createLBPair\",\"outputs\":[{\"internalType\":\"contractILBPair\",\"name\":\"pair\",\"type\":\"address\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"contractILBPair\",\"name\":\"pair\",\"type\":\"address\"}],\"name\":\"forceDecay\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getAllBinSteps\",\"outputs\":[{\"internalType\":\"uint256[]\",\"name\":\"binStepWithPreset\",\"type\":\"uint256[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"contractIERC20\",\"name\":\"tokenX\",\"type\":\"address\"},{\"internalType\":\"contractIERC20\",\"name\":\"tokenY\",\"type\":\"address\"}],\"name\":\"getAllLBPairs\",\"outputs\":[{\"components\":[{\"internalType\":\"uint16\",\"name\":\"binStep\",\"type\":\"uint16\"},{\"internalType\":\"contractILBPair\",\"name\":\"LBPair\",\"type\":\"address\"},{\"internalType\":\"bool\",\"name\":\"createdByOwner\",\"type\":\"bool\"},{\"internalType\":\"bool\",\"name\":\"ignoredForRouting\",\"type\":\"bool\"}],\"internalType\":\"structILBFactory.LBPairInformation[]\",\"name\":\"lbPairsAvailable\",\"type\":\"tuple[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getFeeRecipient\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"feeRecipient\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getFlashLoanFee\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"flashLoanFee\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"index\",\"type\":\"uint256\"}],\"name\":\"getLBPairAtIndex\",\"outputs\":[{\"internalType\":\"contractILBPair\",\"name\":\"lbPair\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getLBPairImplementation\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"lbPairImplementation\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"contractIERC20\",\"name\":\"tokenA\",\"type\":\"address\"},{\"internalType\":\"contractIERC20\",\"name\":\"tokenB\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"binStep\",\"type\":\"uint256\"}],\"name\":\"getLBPairInformation\",\"outputs\":[{\"components\":[{\"internalType\":\"uint16\",\"name\":\"binStep\",\"type\":\"uint16\"},{\"internalType\":\"contractILBPair\",\"name\":\"LBPair\",\"type\":\"address\"},{\"internalType\":\"bool\",\"name\":\"createdByOwner\",\"type\":\"bool\"},{\"internalType\":\"bool\",\"name\":\"ignoredForRouting\",\"type\":\"bool\"}],\"internalType\":\"structILBFactory.LBPairInformation\",\"name\":\"lbPairInformation\",\"type\":\"tuple\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getMaxFlashLoanFee\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"maxFee\",\"type\":\"uint256\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getMinBinStep\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"minBinStep\",\"type\":\"uint256\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getNumberOfLBPairs\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"lbPairNumber\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getNumberOfQuoteAssets\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"numberOfQuoteAssets\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getOpenBinSteps\",\"outputs\":[{\"internalType\":\"uint256[]\",\"name\":\"openBinStep\",\"type\":\"uint256[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"binStep\",\"type\":\"uint256\"}],\"name\":\"getPreset\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"baseFactor\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"filterPeriod\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"decayPeriod\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"reductionFactor\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"variableFeeControl\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"protocolShare\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"maxVolatilityAccumulator\",\"type\":\"uint256\"},{\"internalType\":\"bool\",\"name\":\"isOpen\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"index\",\"type\":\"uint256\"}],\"name\":\"getQuoteAssetAtIndex\",\"outputs\":[{\"internalType\":\"contractIERC20\",\"name\":\"asset\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"contractIERC20\",\"name\":\"token\",\"type\":\"address\"}],\"name\":\"isQuoteAsset\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"isQuote\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"pendingOwner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint16\",\"name\":\"binStep\",\"type\":\"uint16\"}],\"name\":\"removePreset\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"contractIERC20\",\"name\":\"quoteAsset\",\"type\":\"address\"}],\"name\":\"removeQuoteAsset\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"renounceOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"revokePendingOwner\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"feeRecipient\",\"type\":\"address\"}],\"name\":\"setFeeRecipient\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"contractIERC20\",\"name\":\"tokenX\",\"type\":\"address\"},{\"internalType\":\"contractIERC20\",\"name\":\"tokenY\",\"type\":\"address\"},{\"internalType\":\"uint16\",\"name\":\"binStep\",\"type\":\"uint16\"},{\"internalType\":\"uint16\",\"name\":\"baseFactor\",\"type\":\"uint16\"},{\"internalType\":\"uint16\",\"name\":\"filterPeriod\",\"type\":\"uint16\"},{\"internalType\":\"uint16\",\"name\":\"decayPeriod\",\"type\":\"uint16\"},{\"internalType\":\"uint16\",\"name\":\"reductionFactor\",\"type\":\"uint16\"},{\"internalType\":\"uint24\",\"name\":\"variableFeeControl\",\"type\":\"uint24\"},{\"internalType\":\"uint16\",\"name\":\"protocolShare\",\"type\":\"uint16\"},{\"internalType\":\"uint24\",\"name\":\"maxVolatilityAccumulator\",\"type\":\"uint24\"}],\"name\":\"setFeesParametersOnPair\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"flashLoanFee\",\"type\":\"uint256\"}],\"name\":\"setFlashLoanFee\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"contractIERC20\",\"name\":\"tokenX\",\"type\":\"address\"},{\"internalType\":\"contractIERC20\",\"name\":\"tokenY\",\"type\":\"address\"},{\"internalType\":\"uint16\",\"name\":\"binStep\",\"type\":\"uint16\"},{\"internalType\":\"bool\",\"name\":\"ignored\",\"type\":\"bool\"}],\"name\":\"setLBPairIgnored\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newLBPairImplementation\",\"type\":\"address\"}],\"name\":\"setLBPairImplementation\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"pendingOwner_\",\"type\":\"address\"}],\"name\":\"setPendingOwner\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint16\",\"name\":\"binStep\",\"type\":\"uint16\"},{\"internalType\":\"uint16\",\"name\":\"baseFactor\",\"type\":\"uint16\"},{\"internalType\":\"uint16\",\"name\":\"filterPeriod\",\"type\":\"uint16\"},{\"internalType\":\"uint16\",\"name\":\"decayPeriod\",\"type\":\"uint16\"},{\"internalType\":\"uint16\",\"name\":\"reductionFactor\",\"type\":\"uint16\"},{\"internalType\":\"uint24\",\"name\":\"variableFeeControl\",\"type\":\"uint24\"},{\"internalType\":\"uint16\",\"name\":\"protocolShare\",\"type\":\"uint16\"},{\"internalType\":\"uint24\",\"name\":\"maxVolatilityAccumulator\",\"type\":\"uint24\"},{\"internalType\":\"bool\",\"name\":\"isOpen\",\"type\":\"bool\"}],\"name\":\"setPreset\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint16\",\"name\":\"binStep\",\"type\":\"uint16\"},{\"internalType\":\"bool\",\"name\":\"isOpen\",\"type\":\"bool\"}],\"name\":\"setPresetOpenState\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
}
TraderjoeMetaData contains all meta data concerning the Traderjoe contract.
Functions ¶
This section is empty.
Types ¶
type ILBFactoryLBPairInformation ¶
type ILBFactoryLBPairInformation struct { BinStep uint16 LBPair common.Address CreatedByOwner bool IgnoredForRouting bool }
ILBFactoryLBPairInformation is an auto generated low-level Go binding around an user-defined struct.
type Traderjoe ¶
type Traderjoe struct { TraderjoeCaller // Read-only binding to the contract TraderjoeTransactor // Write-only binding to the contract TraderjoeFilterer // Log filterer for contract events }
Traderjoe is an auto generated Go binding around an Ethereum contract.
func NewTraderjoe ¶
NewTraderjoe creates a new instance of Traderjoe, bound to a specific deployed contract.
type TraderjoeCaller ¶
type TraderjoeCaller struct {
// contains filtered or unexported fields
}
TraderjoeCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewTraderjoeCaller ¶
func NewTraderjoeCaller(address common.Address, caller bind.ContractCaller) (*TraderjoeCaller, error)
NewTraderjoeCaller creates a new read-only instance of Traderjoe, bound to a specific deployed contract.
func (*TraderjoeCaller) GetAllBinSteps ¶
GetAllBinSteps is a free data retrieval call binding the contract method 0x5b35875c.
Solidity: function getAllBinSteps() view returns(uint256[] binStepWithPreset)
func (*TraderjoeCaller) GetAllLBPairs ¶
func (_Traderjoe *TraderjoeCaller) GetAllLBPairs(opts *bind.CallOpts, tokenX common.Address, tokenY common.Address) ([]ILBFactoryLBPairInformation, error)
GetAllLBPairs is a free data retrieval call binding the contract method 0x6622e0d7.
Solidity: function getAllLBPairs(address tokenX, address tokenY) view returns((uint16,address,bool,bool)[] lbPairsAvailable)
func (*TraderjoeCaller) GetFeeRecipient ¶
GetFeeRecipient is a free data retrieval call binding the contract method 0x4ccb20c0.
Solidity: function getFeeRecipient() view returns(address feeRecipient)
func (*TraderjoeCaller) GetFlashLoanFee ¶
GetFlashLoanFee is a free data retrieval call binding the contract method 0xfd90c2be.
Solidity: function getFlashLoanFee() view returns(uint256 flashLoanFee)
func (*TraderjoeCaller) GetLBPairAtIndex ¶
func (_Traderjoe *TraderjoeCaller) GetLBPairAtIndex(opts *bind.CallOpts, index *big.Int) (common.Address, error)
GetLBPairAtIndex is a free data retrieval call binding the contract method 0x7daf5d66.
Solidity: function getLBPairAtIndex(uint256 index) view returns(address lbPair)
func (*TraderjoeCaller) GetLBPairImplementation ¶
func (_Traderjoe *TraderjoeCaller) GetLBPairImplementation(opts *bind.CallOpts) (common.Address, error)
GetLBPairImplementation is a free data retrieval call binding the contract method 0xaf371065.
Solidity: function getLBPairImplementation() view returns(address lbPairImplementation)
func (*TraderjoeCaller) GetLBPairInformation ¶
func (_Traderjoe *TraderjoeCaller) GetLBPairInformation(opts *bind.CallOpts, tokenA common.Address, tokenB common.Address, binStep *big.Int) (ILBFactoryLBPairInformation, error)
GetLBPairInformation is a free data retrieval call binding the contract method 0x704037bd.
Solidity: function getLBPairInformation(address tokenA, address tokenB, uint256 binStep) view returns((uint16,address,bool,bool) lbPairInformation)
func (*TraderjoeCaller) GetMaxFlashLoanFee ¶
GetMaxFlashLoanFee is a free data retrieval call binding the contract method 0x8ce9aa1c.
Solidity: function getMaxFlashLoanFee() pure returns(uint256 maxFee)
func (*TraderjoeCaller) GetMinBinStep ¶
GetMinBinStep is a free data retrieval call binding the contract method 0x701ab8c1.
Solidity: function getMinBinStep() pure returns(uint256 minBinStep)
func (*TraderjoeCaller) GetNumberOfLBPairs ¶
GetNumberOfLBPairs is a free data retrieval call binding the contract method 0x4e937c3a.
Solidity: function getNumberOfLBPairs() view returns(uint256 lbPairNumber)
func (*TraderjoeCaller) GetNumberOfQuoteAssets ¶
GetNumberOfQuoteAssets is a free data retrieval call binding the contract method 0x80c5061e.
Solidity: function getNumberOfQuoteAssets() view returns(uint256 numberOfQuoteAssets)
func (*TraderjoeCaller) GetOpenBinSteps ¶
GetOpenBinSteps is a free data retrieval call binding the contract method 0x0282c9c1.
Solidity: function getOpenBinSteps() view returns(uint256[] openBinStep)
func (*TraderjoeCaller) GetPreset ¶
func (_Traderjoe *TraderjoeCaller) GetPreset(opts *bind.CallOpts, binStep *big.Int) (struct { BaseFactor *big.Int FilterPeriod *big.Int DecayPeriod *big.Int ReductionFactor *big.Int VariableFeeControl *big.Int ProtocolShare *big.Int MaxVolatilityAccumulator *big.Int IsOpen bool }, error)
GetPreset is a free data retrieval call binding the contract method 0xaabc4b3c.
Solidity: function getPreset(uint256 binStep) view returns(uint256 baseFactor, uint256 filterPeriod, uint256 decayPeriod, uint256 reductionFactor, uint256 variableFeeControl, uint256 protocolShare, uint256 maxVolatilityAccumulator, bool isOpen)
func (*TraderjoeCaller) GetQuoteAssetAtIndex ¶
func (_Traderjoe *TraderjoeCaller) GetQuoteAssetAtIndex(opts *bind.CallOpts, index *big.Int) (common.Address, error)
GetQuoteAssetAtIndex is a free data retrieval call binding the contract method 0x0752092b.
Solidity: function getQuoteAssetAtIndex(uint256 index) view returns(address asset)
func (*TraderjoeCaller) IsQuoteAsset ¶
func (_Traderjoe *TraderjoeCaller) IsQuoteAsset(opts *bind.CallOpts, token common.Address) (bool, error)
IsQuoteAsset is a free data retrieval call binding the contract method 0x27721842.
Solidity: function isQuoteAsset(address token) view returns(bool isQuote)
func (*TraderjoeCaller) Owner ¶
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() view returns(address)
func (*TraderjoeCaller) PendingOwner ¶
PendingOwner is a free data retrieval call binding the contract method 0xe30c3978.
Solidity: function pendingOwner() view returns(address)
type TraderjoeCallerRaw ¶
type TraderjoeCallerRaw struct {
Contract *TraderjoeCaller // Generic read-only contract binding to access the raw methods on
}
TraderjoeCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*TraderjoeCallerRaw) Call ¶
func (_Traderjoe *TraderjoeCallerRaw) 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 TraderjoeCallerSession ¶
type TraderjoeCallerSession struct { Contract *TraderjoeCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
TraderjoeCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*TraderjoeCallerSession) GetAllBinSteps ¶
func (_Traderjoe *TraderjoeCallerSession) GetAllBinSteps() ([]*big.Int, error)
GetAllBinSteps is a free data retrieval call binding the contract method 0x5b35875c.
Solidity: function getAllBinSteps() view returns(uint256[] binStepWithPreset)
func (*TraderjoeCallerSession) GetAllLBPairs ¶
func (_Traderjoe *TraderjoeCallerSession) GetAllLBPairs(tokenX common.Address, tokenY common.Address) ([]ILBFactoryLBPairInformation, error)
GetAllLBPairs is a free data retrieval call binding the contract method 0x6622e0d7.
Solidity: function getAllLBPairs(address tokenX, address tokenY) view returns((uint16,address,bool,bool)[] lbPairsAvailable)
func (*TraderjoeCallerSession) GetFeeRecipient ¶
func (_Traderjoe *TraderjoeCallerSession) GetFeeRecipient() (common.Address, error)
GetFeeRecipient is a free data retrieval call binding the contract method 0x4ccb20c0.
Solidity: function getFeeRecipient() view returns(address feeRecipient)
func (*TraderjoeCallerSession) GetFlashLoanFee ¶
func (_Traderjoe *TraderjoeCallerSession) GetFlashLoanFee() (*big.Int, error)
GetFlashLoanFee is a free data retrieval call binding the contract method 0xfd90c2be.
Solidity: function getFlashLoanFee() view returns(uint256 flashLoanFee)
func (*TraderjoeCallerSession) GetLBPairAtIndex ¶
GetLBPairAtIndex is a free data retrieval call binding the contract method 0x7daf5d66.
Solidity: function getLBPairAtIndex(uint256 index) view returns(address lbPair)
func (*TraderjoeCallerSession) GetLBPairImplementation ¶
func (_Traderjoe *TraderjoeCallerSession) GetLBPairImplementation() (common.Address, error)
GetLBPairImplementation is a free data retrieval call binding the contract method 0xaf371065.
Solidity: function getLBPairImplementation() view returns(address lbPairImplementation)
func (*TraderjoeCallerSession) GetLBPairInformation ¶
func (_Traderjoe *TraderjoeCallerSession) GetLBPairInformation(tokenA common.Address, tokenB common.Address, binStep *big.Int) (ILBFactoryLBPairInformation, error)
GetLBPairInformation is a free data retrieval call binding the contract method 0x704037bd.
Solidity: function getLBPairInformation(address tokenA, address tokenB, uint256 binStep) view returns((uint16,address,bool,bool) lbPairInformation)
func (*TraderjoeCallerSession) GetMaxFlashLoanFee ¶
func (_Traderjoe *TraderjoeCallerSession) GetMaxFlashLoanFee() (*big.Int, error)
GetMaxFlashLoanFee is a free data retrieval call binding the contract method 0x8ce9aa1c.
Solidity: function getMaxFlashLoanFee() pure returns(uint256 maxFee)
func (*TraderjoeCallerSession) GetMinBinStep ¶
func (_Traderjoe *TraderjoeCallerSession) GetMinBinStep() (*big.Int, error)
GetMinBinStep is a free data retrieval call binding the contract method 0x701ab8c1.
Solidity: function getMinBinStep() pure returns(uint256 minBinStep)
func (*TraderjoeCallerSession) GetNumberOfLBPairs ¶
func (_Traderjoe *TraderjoeCallerSession) GetNumberOfLBPairs() (*big.Int, error)
GetNumberOfLBPairs is a free data retrieval call binding the contract method 0x4e937c3a.
Solidity: function getNumberOfLBPairs() view returns(uint256 lbPairNumber)
func (*TraderjoeCallerSession) GetNumberOfQuoteAssets ¶
func (_Traderjoe *TraderjoeCallerSession) GetNumberOfQuoteAssets() (*big.Int, error)
GetNumberOfQuoteAssets is a free data retrieval call binding the contract method 0x80c5061e.
Solidity: function getNumberOfQuoteAssets() view returns(uint256 numberOfQuoteAssets)
func (*TraderjoeCallerSession) GetOpenBinSteps ¶
func (_Traderjoe *TraderjoeCallerSession) GetOpenBinSteps() ([]*big.Int, error)
GetOpenBinSteps is a free data retrieval call binding the contract method 0x0282c9c1.
Solidity: function getOpenBinSteps() view returns(uint256[] openBinStep)
func (*TraderjoeCallerSession) GetPreset ¶
func (_Traderjoe *TraderjoeCallerSession) GetPreset(binStep *big.Int) (struct { BaseFactor *big.Int FilterPeriod *big.Int DecayPeriod *big.Int ReductionFactor *big.Int VariableFeeControl *big.Int ProtocolShare *big.Int MaxVolatilityAccumulator *big.Int IsOpen bool }, error)
GetPreset is a free data retrieval call binding the contract method 0xaabc4b3c.
Solidity: function getPreset(uint256 binStep) view returns(uint256 baseFactor, uint256 filterPeriod, uint256 decayPeriod, uint256 reductionFactor, uint256 variableFeeControl, uint256 protocolShare, uint256 maxVolatilityAccumulator, bool isOpen)
func (*TraderjoeCallerSession) GetQuoteAssetAtIndex ¶
func (_Traderjoe *TraderjoeCallerSession) GetQuoteAssetAtIndex(index *big.Int) (common.Address, error)
GetQuoteAssetAtIndex is a free data retrieval call binding the contract method 0x0752092b.
Solidity: function getQuoteAssetAtIndex(uint256 index) view returns(address asset)
func (*TraderjoeCallerSession) IsQuoteAsset ¶
func (_Traderjoe *TraderjoeCallerSession) IsQuoteAsset(token common.Address) (bool, error)
IsQuoteAsset is a free data retrieval call binding the contract method 0x27721842.
Solidity: function isQuoteAsset(address token) view returns(bool isQuote)
func (*TraderjoeCallerSession) Owner ¶
func (_Traderjoe *TraderjoeCallerSession) Owner() (common.Address, error)
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() view returns(address)
func (*TraderjoeCallerSession) PendingOwner ¶
func (_Traderjoe *TraderjoeCallerSession) PendingOwner() (common.Address, error)
PendingOwner is a free data retrieval call binding the contract method 0xe30c3978.
Solidity: function pendingOwner() view returns(address)
type TraderjoeFeeRecipientSet ¶
type TraderjoeFeeRecipientSet struct { OldRecipient common.Address NewRecipient common.Address Raw types.Log // Blockchain specific contextual infos }
TraderjoeFeeRecipientSet represents a FeeRecipientSet event raised by the Traderjoe contract.
type TraderjoeFeeRecipientSetIterator ¶
type TraderjoeFeeRecipientSetIterator struct { Event *TraderjoeFeeRecipientSet // Event containing the contract specifics and raw log // contains filtered or unexported fields }
TraderjoeFeeRecipientSetIterator is returned from FilterFeeRecipientSet and is used to iterate over the raw logs and unpacked data for FeeRecipientSet events raised by the Traderjoe contract.
func (*TraderjoeFeeRecipientSetIterator) Close ¶
func (it *TraderjoeFeeRecipientSetIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*TraderjoeFeeRecipientSetIterator) Error ¶
func (it *TraderjoeFeeRecipientSetIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*TraderjoeFeeRecipientSetIterator) Next ¶
func (it *TraderjoeFeeRecipientSetIterator) 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 TraderjoeFilterer ¶
type TraderjoeFilterer struct {
// contains filtered or unexported fields
}
TraderjoeFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewTraderjoeFilterer ¶
func NewTraderjoeFilterer(address common.Address, filterer bind.ContractFilterer) (*TraderjoeFilterer, error)
NewTraderjoeFilterer creates a new log filterer instance of Traderjoe, bound to a specific deployed contract.
func (*TraderjoeFilterer) FilterFeeRecipientSet ¶
func (_Traderjoe *TraderjoeFilterer) FilterFeeRecipientSet(opts *bind.FilterOpts) (*TraderjoeFeeRecipientSetIterator, error)
FilterFeeRecipientSet is a free log retrieval operation binding the contract event 0x15d80a013f22151bc7246e3bc132e12828cde19de98870475e3fa70840152721.
Solidity: event FeeRecipientSet(address oldRecipient, address newRecipient)
func (*TraderjoeFilterer) FilterFlashLoanFeeSet ¶
func (_Traderjoe *TraderjoeFilterer) FilterFlashLoanFeeSet(opts *bind.FilterOpts) (*TraderjoeFlashLoanFeeSetIterator, error)
FilterFlashLoanFeeSet is a free log retrieval operation binding the contract event 0x5c34e91c94c78b662a45d0bd4a25a4e32c584c54a45a76e4a4d43be27ba40e50.
Solidity: event FlashLoanFeeSet(uint256 oldFlashLoanFee, uint256 newFlashLoanFee)
func (*TraderjoeFilterer) FilterLBPairCreated ¶
func (_Traderjoe *TraderjoeFilterer) FilterLBPairCreated(opts *bind.FilterOpts, tokenX []common.Address, tokenY []common.Address, binStep []*big.Int) (*TraderjoeLBPairCreatedIterator, error)
FilterLBPairCreated is a free log retrieval operation binding the contract event 0x2c8d104b27c6b7f4492017a6f5cf3803043688934ebcaa6a03540beeaf976aff.
Solidity: event LBPairCreated(address indexed tokenX, address indexed tokenY, uint256 indexed binStep, address LBPair, uint256 pid)
func (*TraderjoeFilterer) FilterLBPairIgnoredStateChanged ¶
func (_Traderjoe *TraderjoeFilterer) FilterLBPairIgnoredStateChanged(opts *bind.FilterOpts, LBPair []common.Address) (*TraderjoeLBPairIgnoredStateChangedIterator, error)
FilterLBPairIgnoredStateChanged is a free log retrieval operation binding the contract event 0x44cf35361c9ff3c8c1397ec6410d5495cc481feaef35c9af11da1a637107de4f.
Solidity: event LBPairIgnoredStateChanged(address indexed LBPair, bool ignored)
func (*TraderjoeFilterer) FilterLBPairImplementationSet ¶
func (_Traderjoe *TraderjoeFilterer) FilterLBPairImplementationSet(opts *bind.FilterOpts) (*TraderjoeLBPairImplementationSetIterator, error)
FilterLBPairImplementationSet is a free log retrieval operation binding the contract event 0x900d0e3d359f50e4f923ecdc06b401e07dbb9f485e17b07bcfc91a13000b277e.
Solidity: event LBPairImplementationSet(address oldLBPairImplementation, address LBPairImplementation)
func (*TraderjoeFilterer) FilterOwnershipTransferred ¶
func (_Traderjoe *TraderjoeFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*TraderjoeOwnershipTransferredIterator, error)
FilterOwnershipTransferred is a free log retrieval operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
func (*TraderjoeFilterer) FilterPendingOwnerSet ¶
func (_Traderjoe *TraderjoeFilterer) FilterPendingOwnerSet(opts *bind.FilterOpts, pendingOwner []common.Address) (*TraderjoePendingOwnerSetIterator, error)
FilterPendingOwnerSet is a free log retrieval operation binding the contract event 0x68f49b346b94582a8b5f9d10e3fe3365318fe8f191ff8dce7c59c6cad06b02f5.
Solidity: event PendingOwnerSet(address indexed pendingOwner)
func (*TraderjoeFilterer) FilterPresetOpenStateChanged ¶
func (_Traderjoe *TraderjoeFilterer) FilterPresetOpenStateChanged(opts *bind.FilterOpts, binStep []*big.Int, isOpen []bool) (*TraderjoePresetOpenStateChangedIterator, error)
FilterPresetOpenStateChanged is a free log retrieval operation binding the contract event 0x58a8b6a02b964cca2712e5a71d7b0d564a56b4a0f573b4c47f389341ade14cfd.
Solidity: event PresetOpenStateChanged(uint256 indexed binStep, bool indexed isOpen)
func (*TraderjoeFilterer) FilterPresetRemoved ¶
func (_Traderjoe *TraderjoeFilterer) FilterPresetRemoved(opts *bind.FilterOpts, binStep []*big.Int) (*TraderjoePresetRemovedIterator, error)
FilterPresetRemoved is a free log retrieval operation binding the contract event 0xdd86b848bb56ff540caa68683fa467d0e7eb5f8b2d44e4ee435742eeeae9be13.
Solidity: event PresetRemoved(uint256 indexed binStep)
func (*TraderjoeFilterer) FilterPresetSet ¶
func (_Traderjoe *TraderjoeFilterer) FilterPresetSet(opts *bind.FilterOpts, binStep []*big.Int) (*TraderjoePresetSetIterator, error)
FilterPresetSet is a free log retrieval operation binding the contract event 0x839844a256a87f87c9c835117d9a1c40be013954064c937072acb32d36db6a28.
Solidity: event PresetSet(uint256 indexed binStep, uint256 baseFactor, uint256 filterPeriod, uint256 decayPeriod, uint256 reductionFactor, uint256 variableFeeControl, uint256 protocolShare, uint256 maxVolatilityAccumulator)
func (*TraderjoeFilterer) FilterQuoteAssetAdded ¶
func (_Traderjoe *TraderjoeFilterer) FilterQuoteAssetAdded(opts *bind.FilterOpts, quoteAsset []common.Address) (*TraderjoeQuoteAssetAddedIterator, error)
FilterQuoteAssetAdded is a free log retrieval operation binding the contract event 0x84cc2115995684dcb0cd3d3a9565e3d32f075de81db70c8dc3a719b2a47af67e.
Solidity: event QuoteAssetAdded(address indexed quoteAsset)
func (*TraderjoeFilterer) FilterQuoteAssetRemoved ¶
func (_Traderjoe *TraderjoeFilterer) FilterQuoteAssetRemoved(opts *bind.FilterOpts, quoteAsset []common.Address) (*TraderjoeQuoteAssetRemovedIterator, error)
FilterQuoteAssetRemoved is a free log retrieval operation binding the contract event 0x0b767739217755d8af5a2ba75b181a19fa1750f8bb701f09311cb19a90140cb3.
Solidity: event QuoteAssetRemoved(address indexed quoteAsset)
func (*TraderjoeFilterer) ParseFeeRecipientSet ¶
func (_Traderjoe *TraderjoeFilterer) ParseFeeRecipientSet(log types.Log) (*TraderjoeFeeRecipientSet, error)
ParseFeeRecipientSet is a log parse operation binding the contract event 0x15d80a013f22151bc7246e3bc132e12828cde19de98870475e3fa70840152721.
Solidity: event FeeRecipientSet(address oldRecipient, address newRecipient)
func (*TraderjoeFilterer) ParseFlashLoanFeeSet ¶
func (_Traderjoe *TraderjoeFilterer) ParseFlashLoanFeeSet(log types.Log) (*TraderjoeFlashLoanFeeSet, error)
ParseFlashLoanFeeSet is a log parse operation binding the contract event 0x5c34e91c94c78b662a45d0bd4a25a4e32c584c54a45a76e4a4d43be27ba40e50.
Solidity: event FlashLoanFeeSet(uint256 oldFlashLoanFee, uint256 newFlashLoanFee)
func (*TraderjoeFilterer) ParseLBPairCreated ¶
func (_Traderjoe *TraderjoeFilterer) ParseLBPairCreated(log types.Log) (*TraderjoeLBPairCreated, error)
ParseLBPairCreated is a log parse operation binding the contract event 0x2c8d104b27c6b7f4492017a6f5cf3803043688934ebcaa6a03540beeaf976aff.
Solidity: event LBPairCreated(address indexed tokenX, address indexed tokenY, uint256 indexed binStep, address LBPair, uint256 pid)
func (*TraderjoeFilterer) ParseLBPairIgnoredStateChanged ¶
func (_Traderjoe *TraderjoeFilterer) ParseLBPairIgnoredStateChanged(log types.Log) (*TraderjoeLBPairIgnoredStateChanged, error)
ParseLBPairIgnoredStateChanged is a log parse operation binding the contract event 0x44cf35361c9ff3c8c1397ec6410d5495cc481feaef35c9af11da1a637107de4f.
Solidity: event LBPairIgnoredStateChanged(address indexed LBPair, bool ignored)
func (*TraderjoeFilterer) ParseLBPairImplementationSet ¶
func (_Traderjoe *TraderjoeFilterer) ParseLBPairImplementationSet(log types.Log) (*TraderjoeLBPairImplementationSet, error)
ParseLBPairImplementationSet is a log parse operation binding the contract event 0x900d0e3d359f50e4f923ecdc06b401e07dbb9f485e17b07bcfc91a13000b277e.
Solidity: event LBPairImplementationSet(address oldLBPairImplementation, address LBPairImplementation)
func (*TraderjoeFilterer) ParseOwnershipTransferred ¶
func (_Traderjoe *TraderjoeFilterer) ParseOwnershipTransferred(log types.Log) (*TraderjoeOwnershipTransferred, error)
ParseOwnershipTransferred is a log parse operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
func (*TraderjoeFilterer) ParsePendingOwnerSet ¶
func (_Traderjoe *TraderjoeFilterer) ParsePendingOwnerSet(log types.Log) (*TraderjoePendingOwnerSet, error)
ParsePendingOwnerSet is a log parse operation binding the contract event 0x68f49b346b94582a8b5f9d10e3fe3365318fe8f191ff8dce7c59c6cad06b02f5.
Solidity: event PendingOwnerSet(address indexed pendingOwner)
func (*TraderjoeFilterer) ParsePresetOpenStateChanged ¶
func (_Traderjoe *TraderjoeFilterer) ParsePresetOpenStateChanged(log types.Log) (*TraderjoePresetOpenStateChanged, error)
ParsePresetOpenStateChanged is a log parse operation binding the contract event 0x58a8b6a02b964cca2712e5a71d7b0d564a56b4a0f573b4c47f389341ade14cfd.
Solidity: event PresetOpenStateChanged(uint256 indexed binStep, bool indexed isOpen)
func (*TraderjoeFilterer) ParsePresetRemoved ¶
func (_Traderjoe *TraderjoeFilterer) ParsePresetRemoved(log types.Log) (*TraderjoePresetRemoved, error)
ParsePresetRemoved is a log parse operation binding the contract event 0xdd86b848bb56ff540caa68683fa467d0e7eb5f8b2d44e4ee435742eeeae9be13.
Solidity: event PresetRemoved(uint256 indexed binStep)
func (*TraderjoeFilterer) ParsePresetSet ¶
func (_Traderjoe *TraderjoeFilterer) ParsePresetSet(log types.Log) (*TraderjoePresetSet, error)
ParsePresetSet is a log parse operation binding the contract event 0x839844a256a87f87c9c835117d9a1c40be013954064c937072acb32d36db6a28.
Solidity: event PresetSet(uint256 indexed binStep, uint256 baseFactor, uint256 filterPeriod, uint256 decayPeriod, uint256 reductionFactor, uint256 variableFeeControl, uint256 protocolShare, uint256 maxVolatilityAccumulator)
func (*TraderjoeFilterer) ParseQuoteAssetAdded ¶
func (_Traderjoe *TraderjoeFilterer) ParseQuoteAssetAdded(log types.Log) (*TraderjoeQuoteAssetAdded, error)
ParseQuoteAssetAdded is a log parse operation binding the contract event 0x84cc2115995684dcb0cd3d3a9565e3d32f075de81db70c8dc3a719b2a47af67e.
Solidity: event QuoteAssetAdded(address indexed quoteAsset)
func (*TraderjoeFilterer) ParseQuoteAssetRemoved ¶
func (_Traderjoe *TraderjoeFilterer) ParseQuoteAssetRemoved(log types.Log) (*TraderjoeQuoteAssetRemoved, error)
ParseQuoteAssetRemoved is a log parse operation binding the contract event 0x0b767739217755d8af5a2ba75b181a19fa1750f8bb701f09311cb19a90140cb3.
Solidity: event QuoteAssetRemoved(address indexed quoteAsset)
func (*TraderjoeFilterer) WatchFeeRecipientSet ¶
func (_Traderjoe *TraderjoeFilterer) WatchFeeRecipientSet(opts *bind.WatchOpts, sink chan<- *TraderjoeFeeRecipientSet) (event.Subscription, error)
WatchFeeRecipientSet is a free log subscription operation binding the contract event 0x15d80a013f22151bc7246e3bc132e12828cde19de98870475e3fa70840152721.
Solidity: event FeeRecipientSet(address oldRecipient, address newRecipient)
func (*TraderjoeFilterer) WatchFlashLoanFeeSet ¶
func (_Traderjoe *TraderjoeFilterer) WatchFlashLoanFeeSet(opts *bind.WatchOpts, sink chan<- *TraderjoeFlashLoanFeeSet) (event.Subscription, error)
WatchFlashLoanFeeSet is a free log subscription operation binding the contract event 0x5c34e91c94c78b662a45d0bd4a25a4e32c584c54a45a76e4a4d43be27ba40e50.
Solidity: event FlashLoanFeeSet(uint256 oldFlashLoanFee, uint256 newFlashLoanFee)
func (*TraderjoeFilterer) WatchLBPairCreated ¶
func (_Traderjoe *TraderjoeFilterer) WatchLBPairCreated(opts *bind.WatchOpts, sink chan<- *TraderjoeLBPairCreated, tokenX []common.Address, tokenY []common.Address, binStep []*big.Int) (event.Subscription, error)
WatchLBPairCreated is a free log subscription operation binding the contract event 0x2c8d104b27c6b7f4492017a6f5cf3803043688934ebcaa6a03540beeaf976aff.
Solidity: event LBPairCreated(address indexed tokenX, address indexed tokenY, uint256 indexed binStep, address LBPair, uint256 pid)
func (*TraderjoeFilterer) WatchLBPairIgnoredStateChanged ¶
func (_Traderjoe *TraderjoeFilterer) WatchLBPairIgnoredStateChanged(opts *bind.WatchOpts, sink chan<- *TraderjoeLBPairIgnoredStateChanged, LBPair []common.Address) (event.Subscription, error)
WatchLBPairIgnoredStateChanged is a free log subscription operation binding the contract event 0x44cf35361c9ff3c8c1397ec6410d5495cc481feaef35c9af11da1a637107de4f.
Solidity: event LBPairIgnoredStateChanged(address indexed LBPair, bool ignored)
func (*TraderjoeFilterer) WatchLBPairImplementationSet ¶
func (_Traderjoe *TraderjoeFilterer) WatchLBPairImplementationSet(opts *bind.WatchOpts, sink chan<- *TraderjoeLBPairImplementationSet) (event.Subscription, error)
WatchLBPairImplementationSet is a free log subscription operation binding the contract event 0x900d0e3d359f50e4f923ecdc06b401e07dbb9f485e17b07bcfc91a13000b277e.
Solidity: event LBPairImplementationSet(address oldLBPairImplementation, address LBPairImplementation)
func (*TraderjoeFilterer) WatchOwnershipTransferred ¶
func (_Traderjoe *TraderjoeFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *TraderjoeOwnershipTransferred, previousOwner []common.Address, newOwner []common.Address) (event.Subscription, error)
WatchOwnershipTransferred is a free log subscription operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
func (*TraderjoeFilterer) WatchPendingOwnerSet ¶
func (_Traderjoe *TraderjoeFilterer) WatchPendingOwnerSet(opts *bind.WatchOpts, sink chan<- *TraderjoePendingOwnerSet, pendingOwner []common.Address) (event.Subscription, error)
WatchPendingOwnerSet is a free log subscription operation binding the contract event 0x68f49b346b94582a8b5f9d10e3fe3365318fe8f191ff8dce7c59c6cad06b02f5.
Solidity: event PendingOwnerSet(address indexed pendingOwner)
func (*TraderjoeFilterer) WatchPresetOpenStateChanged ¶
func (_Traderjoe *TraderjoeFilterer) WatchPresetOpenStateChanged(opts *bind.WatchOpts, sink chan<- *TraderjoePresetOpenStateChanged, binStep []*big.Int, isOpen []bool) (event.Subscription, error)
WatchPresetOpenStateChanged is a free log subscription operation binding the contract event 0x58a8b6a02b964cca2712e5a71d7b0d564a56b4a0f573b4c47f389341ade14cfd.
Solidity: event PresetOpenStateChanged(uint256 indexed binStep, bool indexed isOpen)
func (*TraderjoeFilterer) WatchPresetRemoved ¶
func (_Traderjoe *TraderjoeFilterer) WatchPresetRemoved(opts *bind.WatchOpts, sink chan<- *TraderjoePresetRemoved, binStep []*big.Int) (event.Subscription, error)
WatchPresetRemoved is a free log subscription operation binding the contract event 0xdd86b848bb56ff540caa68683fa467d0e7eb5f8b2d44e4ee435742eeeae9be13.
Solidity: event PresetRemoved(uint256 indexed binStep)
func (*TraderjoeFilterer) WatchPresetSet ¶
func (_Traderjoe *TraderjoeFilterer) WatchPresetSet(opts *bind.WatchOpts, sink chan<- *TraderjoePresetSet, binStep []*big.Int) (event.Subscription, error)
WatchPresetSet is a free log subscription operation binding the contract event 0x839844a256a87f87c9c835117d9a1c40be013954064c937072acb32d36db6a28.
Solidity: event PresetSet(uint256 indexed binStep, uint256 baseFactor, uint256 filterPeriod, uint256 decayPeriod, uint256 reductionFactor, uint256 variableFeeControl, uint256 protocolShare, uint256 maxVolatilityAccumulator)
func (*TraderjoeFilterer) WatchQuoteAssetAdded ¶
func (_Traderjoe *TraderjoeFilterer) WatchQuoteAssetAdded(opts *bind.WatchOpts, sink chan<- *TraderjoeQuoteAssetAdded, quoteAsset []common.Address) (event.Subscription, error)
WatchQuoteAssetAdded is a free log subscription operation binding the contract event 0x84cc2115995684dcb0cd3d3a9565e3d32f075de81db70c8dc3a719b2a47af67e.
Solidity: event QuoteAssetAdded(address indexed quoteAsset)
func (*TraderjoeFilterer) WatchQuoteAssetRemoved ¶
func (_Traderjoe *TraderjoeFilterer) WatchQuoteAssetRemoved(opts *bind.WatchOpts, sink chan<- *TraderjoeQuoteAssetRemoved, quoteAsset []common.Address) (event.Subscription, error)
WatchQuoteAssetRemoved is a free log subscription operation binding the contract event 0x0b767739217755d8af5a2ba75b181a19fa1750f8bb701f09311cb19a90140cb3.
Solidity: event QuoteAssetRemoved(address indexed quoteAsset)
type TraderjoeFlashLoanFeeSet ¶
type TraderjoeFlashLoanFeeSet struct { OldFlashLoanFee *big.Int NewFlashLoanFee *big.Int Raw types.Log // Blockchain specific contextual infos }
TraderjoeFlashLoanFeeSet represents a FlashLoanFeeSet event raised by the Traderjoe contract.
type TraderjoeFlashLoanFeeSetIterator ¶
type TraderjoeFlashLoanFeeSetIterator struct { Event *TraderjoeFlashLoanFeeSet // Event containing the contract specifics and raw log // contains filtered or unexported fields }
TraderjoeFlashLoanFeeSetIterator is returned from FilterFlashLoanFeeSet and is used to iterate over the raw logs and unpacked data for FlashLoanFeeSet events raised by the Traderjoe contract.
func (*TraderjoeFlashLoanFeeSetIterator) Close ¶
func (it *TraderjoeFlashLoanFeeSetIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*TraderjoeFlashLoanFeeSetIterator) Error ¶
func (it *TraderjoeFlashLoanFeeSetIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*TraderjoeFlashLoanFeeSetIterator) Next ¶
func (it *TraderjoeFlashLoanFeeSetIterator) 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 TraderjoeLBPairCreated ¶
type TraderjoeLBPairCreated struct { TokenX common.Address TokenY common.Address BinStep *big.Int LBPair common.Address Pid *big.Int Raw types.Log // Blockchain specific contextual infos }
TraderjoeLBPairCreated represents a LBPairCreated event raised by the Traderjoe contract.
type TraderjoeLBPairCreatedIterator ¶
type TraderjoeLBPairCreatedIterator struct { Event *TraderjoeLBPairCreated // Event containing the contract specifics and raw log // contains filtered or unexported fields }
TraderjoeLBPairCreatedIterator is returned from FilterLBPairCreated and is used to iterate over the raw logs and unpacked data for LBPairCreated events raised by the Traderjoe contract.
func (*TraderjoeLBPairCreatedIterator) Close ¶
func (it *TraderjoeLBPairCreatedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*TraderjoeLBPairCreatedIterator) Error ¶
func (it *TraderjoeLBPairCreatedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*TraderjoeLBPairCreatedIterator) Next ¶
func (it *TraderjoeLBPairCreatedIterator) 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 TraderjoeLBPairIgnoredStateChanged ¶
type TraderjoeLBPairIgnoredStateChanged struct { LBPair common.Address Ignored bool Raw types.Log // Blockchain specific contextual infos }
TraderjoeLBPairIgnoredStateChanged represents a LBPairIgnoredStateChanged event raised by the Traderjoe contract.
type TraderjoeLBPairIgnoredStateChangedIterator ¶
type TraderjoeLBPairIgnoredStateChangedIterator struct { Event *TraderjoeLBPairIgnoredStateChanged // Event containing the contract specifics and raw log // contains filtered or unexported fields }
TraderjoeLBPairIgnoredStateChangedIterator is returned from FilterLBPairIgnoredStateChanged and is used to iterate over the raw logs and unpacked data for LBPairIgnoredStateChanged events raised by the Traderjoe contract.
func (*TraderjoeLBPairIgnoredStateChangedIterator) Close ¶
func (it *TraderjoeLBPairIgnoredStateChangedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*TraderjoeLBPairIgnoredStateChangedIterator) Error ¶
func (it *TraderjoeLBPairIgnoredStateChangedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*TraderjoeLBPairIgnoredStateChangedIterator) Next ¶
func (it *TraderjoeLBPairIgnoredStateChangedIterator) 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 TraderjoeLBPairImplementationSet ¶
type TraderjoeLBPairImplementationSet struct { OldLBPairImplementation common.Address LBPairImplementation common.Address Raw types.Log // Blockchain specific contextual infos }
TraderjoeLBPairImplementationSet represents a LBPairImplementationSet event raised by the Traderjoe contract.
type TraderjoeLBPairImplementationSetIterator ¶
type TraderjoeLBPairImplementationSetIterator struct { Event *TraderjoeLBPairImplementationSet // Event containing the contract specifics and raw log // contains filtered or unexported fields }
TraderjoeLBPairImplementationSetIterator is returned from FilterLBPairImplementationSet and is used to iterate over the raw logs and unpacked data for LBPairImplementationSet events raised by the Traderjoe contract.
func (*TraderjoeLBPairImplementationSetIterator) Close ¶
func (it *TraderjoeLBPairImplementationSetIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*TraderjoeLBPairImplementationSetIterator) Error ¶
func (it *TraderjoeLBPairImplementationSetIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*TraderjoeLBPairImplementationSetIterator) Next ¶
func (it *TraderjoeLBPairImplementationSetIterator) 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 TraderjoeOwnershipTransferred ¶
type TraderjoeOwnershipTransferred struct { PreviousOwner common.Address NewOwner common.Address Raw types.Log // Blockchain specific contextual infos }
TraderjoeOwnershipTransferred represents a OwnershipTransferred event raised by the Traderjoe contract.
type TraderjoeOwnershipTransferredIterator ¶
type TraderjoeOwnershipTransferredIterator struct { Event *TraderjoeOwnershipTransferred // Event containing the contract specifics and raw log // contains filtered or unexported fields }
TraderjoeOwnershipTransferredIterator is returned from FilterOwnershipTransferred and is used to iterate over the raw logs and unpacked data for OwnershipTransferred events raised by the Traderjoe contract.
func (*TraderjoeOwnershipTransferredIterator) Close ¶
func (it *TraderjoeOwnershipTransferredIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*TraderjoeOwnershipTransferredIterator) Error ¶
func (it *TraderjoeOwnershipTransferredIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*TraderjoeOwnershipTransferredIterator) Next ¶
func (it *TraderjoeOwnershipTransferredIterator) 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 TraderjoePendingOwnerSet ¶
type TraderjoePendingOwnerSet struct { PendingOwner common.Address Raw types.Log // Blockchain specific contextual infos }
TraderjoePendingOwnerSet represents a PendingOwnerSet event raised by the Traderjoe contract.
type TraderjoePendingOwnerSetIterator ¶
type TraderjoePendingOwnerSetIterator struct { Event *TraderjoePendingOwnerSet // Event containing the contract specifics and raw log // contains filtered or unexported fields }
TraderjoePendingOwnerSetIterator is returned from FilterPendingOwnerSet and is used to iterate over the raw logs and unpacked data for PendingOwnerSet events raised by the Traderjoe contract.
func (*TraderjoePendingOwnerSetIterator) Close ¶
func (it *TraderjoePendingOwnerSetIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*TraderjoePendingOwnerSetIterator) Error ¶
func (it *TraderjoePendingOwnerSetIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*TraderjoePendingOwnerSetIterator) Next ¶
func (it *TraderjoePendingOwnerSetIterator) 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 TraderjoePresetOpenStateChanged ¶
type TraderjoePresetOpenStateChanged struct { BinStep *big.Int IsOpen bool Raw types.Log // Blockchain specific contextual infos }
TraderjoePresetOpenStateChanged represents a PresetOpenStateChanged event raised by the Traderjoe contract.
type TraderjoePresetOpenStateChangedIterator ¶
type TraderjoePresetOpenStateChangedIterator struct { Event *TraderjoePresetOpenStateChanged // Event containing the contract specifics and raw log // contains filtered or unexported fields }
TraderjoePresetOpenStateChangedIterator is returned from FilterPresetOpenStateChanged and is used to iterate over the raw logs and unpacked data for PresetOpenStateChanged events raised by the Traderjoe contract.
func (*TraderjoePresetOpenStateChangedIterator) Close ¶
func (it *TraderjoePresetOpenStateChangedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*TraderjoePresetOpenStateChangedIterator) Error ¶
func (it *TraderjoePresetOpenStateChangedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*TraderjoePresetOpenStateChangedIterator) Next ¶
func (it *TraderjoePresetOpenStateChangedIterator) 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 TraderjoePresetRemoved ¶
type TraderjoePresetRemoved struct { BinStep *big.Int Raw types.Log // Blockchain specific contextual infos }
TraderjoePresetRemoved represents a PresetRemoved event raised by the Traderjoe contract.
type TraderjoePresetRemovedIterator ¶
type TraderjoePresetRemovedIterator struct { Event *TraderjoePresetRemoved // Event containing the contract specifics and raw log // contains filtered or unexported fields }
TraderjoePresetRemovedIterator is returned from FilterPresetRemoved and is used to iterate over the raw logs and unpacked data for PresetRemoved events raised by the Traderjoe contract.
func (*TraderjoePresetRemovedIterator) Close ¶
func (it *TraderjoePresetRemovedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*TraderjoePresetRemovedIterator) Error ¶
func (it *TraderjoePresetRemovedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*TraderjoePresetRemovedIterator) Next ¶
func (it *TraderjoePresetRemovedIterator) 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 TraderjoePresetSet ¶
type TraderjoePresetSet struct { BinStep *big.Int BaseFactor *big.Int FilterPeriod *big.Int DecayPeriod *big.Int ReductionFactor *big.Int VariableFeeControl *big.Int MaxVolatilityAccumulator *big.Int Raw types.Log // Blockchain specific contextual infos }
TraderjoePresetSet represents a PresetSet event raised by the Traderjoe contract.
type TraderjoePresetSetIterator ¶
type TraderjoePresetSetIterator struct { Event *TraderjoePresetSet // Event containing the contract specifics and raw log // contains filtered or unexported fields }
TraderjoePresetSetIterator is returned from FilterPresetSet and is used to iterate over the raw logs and unpacked data for PresetSet events raised by the Traderjoe contract.
func (*TraderjoePresetSetIterator) Close ¶
func (it *TraderjoePresetSetIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*TraderjoePresetSetIterator) Error ¶
func (it *TraderjoePresetSetIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*TraderjoePresetSetIterator) Next ¶
func (it *TraderjoePresetSetIterator) 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 TraderjoeQuoteAssetAdded ¶
type TraderjoeQuoteAssetAdded struct { QuoteAsset common.Address Raw types.Log // Blockchain specific contextual infos }
TraderjoeQuoteAssetAdded represents a QuoteAssetAdded event raised by the Traderjoe contract.
type TraderjoeQuoteAssetAddedIterator ¶
type TraderjoeQuoteAssetAddedIterator struct { Event *TraderjoeQuoteAssetAdded // Event containing the contract specifics and raw log // contains filtered or unexported fields }
TraderjoeQuoteAssetAddedIterator is returned from FilterQuoteAssetAdded and is used to iterate over the raw logs and unpacked data for QuoteAssetAdded events raised by the Traderjoe contract.
func (*TraderjoeQuoteAssetAddedIterator) Close ¶
func (it *TraderjoeQuoteAssetAddedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*TraderjoeQuoteAssetAddedIterator) Error ¶
func (it *TraderjoeQuoteAssetAddedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*TraderjoeQuoteAssetAddedIterator) Next ¶
func (it *TraderjoeQuoteAssetAddedIterator) 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 TraderjoeQuoteAssetRemoved ¶
type TraderjoeQuoteAssetRemoved struct { QuoteAsset common.Address Raw types.Log // Blockchain specific contextual infos }
TraderjoeQuoteAssetRemoved represents a QuoteAssetRemoved event raised by the Traderjoe contract.
type TraderjoeQuoteAssetRemovedIterator ¶
type TraderjoeQuoteAssetRemovedIterator struct { Event *TraderjoeQuoteAssetRemoved // Event containing the contract specifics and raw log // contains filtered or unexported fields }
TraderjoeQuoteAssetRemovedIterator is returned from FilterQuoteAssetRemoved and is used to iterate over the raw logs and unpacked data for QuoteAssetRemoved events raised by the Traderjoe contract.
func (*TraderjoeQuoteAssetRemovedIterator) Close ¶
func (it *TraderjoeQuoteAssetRemovedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*TraderjoeQuoteAssetRemovedIterator) Error ¶
func (it *TraderjoeQuoteAssetRemovedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*TraderjoeQuoteAssetRemovedIterator) Next ¶
func (it *TraderjoeQuoteAssetRemovedIterator) 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 TraderjoeRaw ¶
type TraderjoeRaw struct {
Contract *Traderjoe // Generic contract binding to access the raw methods on
}
TraderjoeRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*TraderjoeRaw) Call ¶
func (_Traderjoe *TraderjoeRaw) 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 (*TraderjoeRaw) Transact ¶
func (_Traderjoe *TraderjoeRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*TraderjoeRaw) Transfer ¶
func (_Traderjoe *TraderjoeRaw) 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 TraderjoeSession ¶
type TraderjoeSession struct { Contract *Traderjoe // 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 }
TraderjoeSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*TraderjoeSession) AddQuoteAsset ¶
func (_Traderjoe *TraderjoeSession) AddQuoteAsset(quoteAsset common.Address) (*types.Transaction, error)
AddQuoteAsset is a paid mutator transaction binding the contract method 0x5a440923.
Solidity: function addQuoteAsset(address quoteAsset) returns()
func (*TraderjoeSession) BecomeOwner ¶
func (_Traderjoe *TraderjoeSession) BecomeOwner() (*types.Transaction, error)
BecomeOwner is a paid mutator transaction binding the contract method 0xf9dca989.
Solidity: function becomeOwner() returns()
func (*TraderjoeSession) CreateLBPair ¶
func (_Traderjoe *TraderjoeSession) CreateLBPair(tokenX common.Address, tokenY common.Address, activeId *big.Int, binStep uint16) (*types.Transaction, error)
CreateLBPair is a paid mutator transaction binding the contract method 0x659ac74b.
Solidity: function createLBPair(address tokenX, address tokenY, uint24 activeId, uint16 binStep) returns(address pair)
func (*TraderjoeSession) ForceDecay ¶
func (_Traderjoe *TraderjoeSession) ForceDecay(pair common.Address) (*types.Transaction, error)
ForceDecay is a paid mutator transaction binding the contract method 0x3c78a941.
Solidity: function forceDecay(address pair) returns()
func (*TraderjoeSession) GetAllBinSteps ¶
func (_Traderjoe *TraderjoeSession) GetAllBinSteps() ([]*big.Int, error)
GetAllBinSteps is a free data retrieval call binding the contract method 0x5b35875c.
Solidity: function getAllBinSteps() view returns(uint256[] binStepWithPreset)
func (*TraderjoeSession) GetAllLBPairs ¶
func (_Traderjoe *TraderjoeSession) GetAllLBPairs(tokenX common.Address, tokenY common.Address) ([]ILBFactoryLBPairInformation, error)
GetAllLBPairs is a free data retrieval call binding the contract method 0x6622e0d7.
Solidity: function getAllLBPairs(address tokenX, address tokenY) view returns((uint16,address,bool,bool)[] lbPairsAvailable)
func (*TraderjoeSession) GetFeeRecipient ¶
func (_Traderjoe *TraderjoeSession) GetFeeRecipient() (common.Address, error)
GetFeeRecipient is a free data retrieval call binding the contract method 0x4ccb20c0.
Solidity: function getFeeRecipient() view returns(address feeRecipient)
func (*TraderjoeSession) GetFlashLoanFee ¶
func (_Traderjoe *TraderjoeSession) GetFlashLoanFee() (*big.Int, error)
GetFlashLoanFee is a free data retrieval call binding the contract method 0xfd90c2be.
Solidity: function getFlashLoanFee() view returns(uint256 flashLoanFee)
func (*TraderjoeSession) GetLBPairAtIndex ¶
GetLBPairAtIndex is a free data retrieval call binding the contract method 0x7daf5d66.
Solidity: function getLBPairAtIndex(uint256 index) view returns(address lbPair)
func (*TraderjoeSession) GetLBPairImplementation ¶
func (_Traderjoe *TraderjoeSession) GetLBPairImplementation() (common.Address, error)
GetLBPairImplementation is a free data retrieval call binding the contract method 0xaf371065.
Solidity: function getLBPairImplementation() view returns(address lbPairImplementation)
func (*TraderjoeSession) GetLBPairInformation ¶
func (_Traderjoe *TraderjoeSession) GetLBPairInformation(tokenA common.Address, tokenB common.Address, binStep *big.Int) (ILBFactoryLBPairInformation, error)
GetLBPairInformation is a free data retrieval call binding the contract method 0x704037bd.
Solidity: function getLBPairInformation(address tokenA, address tokenB, uint256 binStep) view returns((uint16,address,bool,bool) lbPairInformation)
func (*TraderjoeSession) GetMaxFlashLoanFee ¶
func (_Traderjoe *TraderjoeSession) GetMaxFlashLoanFee() (*big.Int, error)
GetMaxFlashLoanFee is a free data retrieval call binding the contract method 0x8ce9aa1c.
Solidity: function getMaxFlashLoanFee() pure returns(uint256 maxFee)
func (*TraderjoeSession) GetMinBinStep ¶
func (_Traderjoe *TraderjoeSession) GetMinBinStep() (*big.Int, error)
GetMinBinStep is a free data retrieval call binding the contract method 0x701ab8c1.
Solidity: function getMinBinStep() pure returns(uint256 minBinStep)
func (*TraderjoeSession) GetNumberOfLBPairs ¶
func (_Traderjoe *TraderjoeSession) GetNumberOfLBPairs() (*big.Int, error)
GetNumberOfLBPairs is a free data retrieval call binding the contract method 0x4e937c3a.
Solidity: function getNumberOfLBPairs() view returns(uint256 lbPairNumber)
func (*TraderjoeSession) GetNumberOfQuoteAssets ¶
func (_Traderjoe *TraderjoeSession) GetNumberOfQuoteAssets() (*big.Int, error)
GetNumberOfQuoteAssets is a free data retrieval call binding the contract method 0x80c5061e.
Solidity: function getNumberOfQuoteAssets() view returns(uint256 numberOfQuoteAssets)
func (*TraderjoeSession) GetOpenBinSteps ¶
func (_Traderjoe *TraderjoeSession) GetOpenBinSteps() ([]*big.Int, error)
GetOpenBinSteps is a free data retrieval call binding the contract method 0x0282c9c1.
Solidity: function getOpenBinSteps() view returns(uint256[] openBinStep)
func (*TraderjoeSession) GetPreset ¶
func (_Traderjoe *TraderjoeSession) GetPreset(binStep *big.Int) (struct { BaseFactor *big.Int FilterPeriod *big.Int DecayPeriod *big.Int ReductionFactor *big.Int VariableFeeControl *big.Int ProtocolShare *big.Int MaxVolatilityAccumulator *big.Int IsOpen bool }, error)
GetPreset is a free data retrieval call binding the contract method 0xaabc4b3c.
Solidity: function getPreset(uint256 binStep) view returns(uint256 baseFactor, uint256 filterPeriod, uint256 decayPeriod, uint256 reductionFactor, uint256 variableFeeControl, uint256 protocolShare, uint256 maxVolatilityAccumulator, bool isOpen)
func (*TraderjoeSession) GetQuoteAssetAtIndex ¶
GetQuoteAssetAtIndex is a free data retrieval call binding the contract method 0x0752092b.
Solidity: function getQuoteAssetAtIndex(uint256 index) view returns(address asset)
func (*TraderjoeSession) IsQuoteAsset ¶
func (_Traderjoe *TraderjoeSession) IsQuoteAsset(token common.Address) (bool, error)
IsQuoteAsset is a free data retrieval call binding the contract method 0x27721842.
Solidity: function isQuoteAsset(address token) view returns(bool isQuote)
func (*TraderjoeSession) Owner ¶
func (_Traderjoe *TraderjoeSession) Owner() (common.Address, error)
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() view returns(address)
func (*TraderjoeSession) PendingOwner ¶
func (_Traderjoe *TraderjoeSession) PendingOwner() (common.Address, error)
PendingOwner is a free data retrieval call binding the contract method 0xe30c3978.
Solidity: function pendingOwner() view returns(address)
func (*TraderjoeSession) RemovePreset ¶
func (_Traderjoe *TraderjoeSession) RemovePreset(binStep uint16) (*types.Transaction, error)
RemovePreset is a paid mutator transaction binding the contract method 0xe203a31f.
Solidity: function removePreset(uint16 binStep) returns()
func (*TraderjoeSession) RemoveQuoteAsset ¶
func (_Traderjoe *TraderjoeSession) RemoveQuoteAsset(quoteAsset common.Address) (*types.Transaction, error)
RemoveQuoteAsset is a paid mutator transaction binding the contract method 0xddbfd941.
Solidity: function removeQuoteAsset(address quoteAsset) returns()
func (*TraderjoeSession) RenounceOwnership ¶
func (_Traderjoe *TraderjoeSession) RenounceOwnership() (*types.Transaction, error)
RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
Solidity: function renounceOwnership() returns()
func (*TraderjoeSession) RevokePendingOwner ¶
func (_Traderjoe *TraderjoeSession) RevokePendingOwner() (*types.Transaction, error)
RevokePendingOwner is a paid mutator transaction binding the contract method 0x67ab8a4e.
Solidity: function revokePendingOwner() returns()
func (*TraderjoeSession) SetFeeRecipient ¶
func (_Traderjoe *TraderjoeSession) SetFeeRecipient(feeRecipient common.Address) (*types.Transaction, error)
SetFeeRecipient is a paid mutator transaction binding the contract method 0xe74b981b.
Solidity: function setFeeRecipient(address feeRecipient) returns()
func (*TraderjoeSession) SetFeesParametersOnPair ¶
func (_Traderjoe *TraderjoeSession) SetFeesParametersOnPair(tokenX common.Address, tokenY common.Address, binStep uint16, baseFactor uint16, filterPeriod uint16, decayPeriod uint16, reductionFactor uint16, variableFeeControl *big.Int, protocolShare uint16, maxVolatilityAccumulator *big.Int) (*types.Transaction, error)
SetFeesParametersOnPair is a paid mutator transaction binding the contract method 0x093ff769.
Solidity: function setFeesParametersOnPair(address tokenX, address tokenY, uint16 binStep, uint16 baseFactor, uint16 filterPeriod, uint16 decayPeriod, uint16 reductionFactor, uint24 variableFeeControl, uint16 protocolShare, uint24 maxVolatilityAccumulator) returns()
func (*TraderjoeSession) SetFlashLoanFee ¶
func (_Traderjoe *TraderjoeSession) SetFlashLoanFee(flashLoanFee *big.Int) (*types.Transaction, error)
SetFlashLoanFee is a paid mutator transaction binding the contract method 0xe92d0d5d.
Solidity: function setFlashLoanFee(uint256 flashLoanFee) returns()
func (*TraderjoeSession) SetLBPairIgnored ¶
func (_Traderjoe *TraderjoeSession) SetLBPairIgnored(tokenX common.Address, tokenY common.Address, binStep uint16, ignored bool) (*types.Transaction, error)
SetLBPairIgnored is a paid mutator transaction binding the contract method 0x69d56ea3.
Solidity: function setLBPairIgnored(address tokenX, address tokenY, uint16 binStep, bool ignored) returns()
func (*TraderjoeSession) SetLBPairImplementation ¶
func (_Traderjoe *TraderjoeSession) SetLBPairImplementation(newLBPairImplementation common.Address) (*types.Transaction, error)
SetLBPairImplementation is a paid mutator transaction binding the contract method 0xb0384781.
Solidity: function setLBPairImplementation(address newLBPairImplementation) returns()
func (*TraderjoeSession) SetPendingOwner ¶
func (_Traderjoe *TraderjoeSession) SetPendingOwner(pendingOwner_ common.Address) (*types.Transaction, error)
SetPendingOwner is a paid mutator transaction binding the contract method 0xc42069ec.
Solidity: function setPendingOwner(address pendingOwner_) returns()
func (*TraderjoeSession) SetPreset ¶
func (_Traderjoe *TraderjoeSession) SetPreset(binStep uint16, baseFactor uint16, filterPeriod uint16, decayPeriod uint16, reductionFactor uint16, variableFeeControl *big.Int, protocolShare uint16, maxVolatilityAccumulator *big.Int, isOpen bool) (*types.Transaction, error)
SetPreset is a paid mutator transaction binding the contract method 0x379ee803.
Solidity: function setPreset(uint16 binStep, uint16 baseFactor, uint16 filterPeriod, uint16 decayPeriod, uint16 reductionFactor, uint24 variableFeeControl, uint16 protocolShare, uint24 maxVolatilityAccumulator, bool isOpen) returns()
func (*TraderjoeSession) SetPresetOpenState ¶
func (_Traderjoe *TraderjoeSession) SetPresetOpenState(binStep uint16, isOpen bool) (*types.Transaction, error)
SetPresetOpenState is a paid mutator transaction binding the contract method 0x4cd161d3.
Solidity: function setPresetOpenState(uint16 binStep, bool isOpen) returns()
type TraderjoeTransactor ¶
type TraderjoeTransactor struct {
// contains filtered or unexported fields
}
TraderjoeTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewTraderjoeTransactor ¶
func NewTraderjoeTransactor(address common.Address, transactor bind.ContractTransactor) (*TraderjoeTransactor, error)
NewTraderjoeTransactor creates a new write-only instance of Traderjoe, bound to a specific deployed contract.
func (*TraderjoeTransactor) AddQuoteAsset ¶
func (_Traderjoe *TraderjoeTransactor) AddQuoteAsset(opts *bind.TransactOpts, quoteAsset common.Address) (*types.Transaction, error)
AddQuoteAsset is a paid mutator transaction binding the contract method 0x5a440923.
Solidity: function addQuoteAsset(address quoteAsset) returns()
func (*TraderjoeTransactor) BecomeOwner ¶
func (_Traderjoe *TraderjoeTransactor) BecomeOwner(opts *bind.TransactOpts) (*types.Transaction, error)
BecomeOwner is a paid mutator transaction binding the contract method 0xf9dca989.
Solidity: function becomeOwner() returns()
func (*TraderjoeTransactor) CreateLBPair ¶
func (_Traderjoe *TraderjoeTransactor) CreateLBPair(opts *bind.TransactOpts, tokenX common.Address, tokenY common.Address, activeId *big.Int, binStep uint16) (*types.Transaction, error)
CreateLBPair is a paid mutator transaction binding the contract method 0x659ac74b.
Solidity: function createLBPair(address tokenX, address tokenY, uint24 activeId, uint16 binStep) returns(address pair)
func (*TraderjoeTransactor) ForceDecay ¶
func (_Traderjoe *TraderjoeTransactor) ForceDecay(opts *bind.TransactOpts, pair common.Address) (*types.Transaction, error)
ForceDecay is a paid mutator transaction binding the contract method 0x3c78a941.
Solidity: function forceDecay(address pair) returns()
func (*TraderjoeTransactor) RemovePreset ¶
func (_Traderjoe *TraderjoeTransactor) RemovePreset(opts *bind.TransactOpts, binStep uint16) (*types.Transaction, error)
RemovePreset is a paid mutator transaction binding the contract method 0xe203a31f.
Solidity: function removePreset(uint16 binStep) returns()
func (*TraderjoeTransactor) RemoveQuoteAsset ¶
func (_Traderjoe *TraderjoeTransactor) RemoveQuoteAsset(opts *bind.TransactOpts, quoteAsset common.Address) (*types.Transaction, error)
RemoveQuoteAsset is a paid mutator transaction binding the contract method 0xddbfd941.
Solidity: function removeQuoteAsset(address quoteAsset) returns()
func (*TraderjoeTransactor) RenounceOwnership ¶
func (_Traderjoe *TraderjoeTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)
RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
Solidity: function renounceOwnership() returns()
func (*TraderjoeTransactor) RevokePendingOwner ¶
func (_Traderjoe *TraderjoeTransactor) RevokePendingOwner(opts *bind.TransactOpts) (*types.Transaction, error)
RevokePendingOwner is a paid mutator transaction binding the contract method 0x67ab8a4e.
Solidity: function revokePendingOwner() returns()
func (*TraderjoeTransactor) SetFeeRecipient ¶
func (_Traderjoe *TraderjoeTransactor) SetFeeRecipient(opts *bind.TransactOpts, feeRecipient common.Address) (*types.Transaction, error)
SetFeeRecipient is a paid mutator transaction binding the contract method 0xe74b981b.
Solidity: function setFeeRecipient(address feeRecipient) returns()
func (*TraderjoeTransactor) SetFeesParametersOnPair ¶
func (_Traderjoe *TraderjoeTransactor) SetFeesParametersOnPair(opts *bind.TransactOpts, tokenX common.Address, tokenY common.Address, binStep uint16, baseFactor uint16, filterPeriod uint16, decayPeriod uint16, reductionFactor uint16, variableFeeControl *big.Int, protocolShare uint16, maxVolatilityAccumulator *big.Int) (*types.Transaction, error)
SetFeesParametersOnPair is a paid mutator transaction binding the contract method 0x093ff769.
Solidity: function setFeesParametersOnPair(address tokenX, address tokenY, uint16 binStep, uint16 baseFactor, uint16 filterPeriod, uint16 decayPeriod, uint16 reductionFactor, uint24 variableFeeControl, uint16 protocolShare, uint24 maxVolatilityAccumulator) returns()
func (*TraderjoeTransactor) SetFlashLoanFee ¶
func (_Traderjoe *TraderjoeTransactor) SetFlashLoanFee(opts *bind.TransactOpts, flashLoanFee *big.Int) (*types.Transaction, error)
SetFlashLoanFee is a paid mutator transaction binding the contract method 0xe92d0d5d.
Solidity: function setFlashLoanFee(uint256 flashLoanFee) returns()
func (*TraderjoeTransactor) SetLBPairIgnored ¶
func (_Traderjoe *TraderjoeTransactor) SetLBPairIgnored(opts *bind.TransactOpts, tokenX common.Address, tokenY common.Address, binStep uint16, ignored bool) (*types.Transaction, error)
SetLBPairIgnored is a paid mutator transaction binding the contract method 0x69d56ea3.
Solidity: function setLBPairIgnored(address tokenX, address tokenY, uint16 binStep, bool ignored) returns()
func (*TraderjoeTransactor) SetLBPairImplementation ¶
func (_Traderjoe *TraderjoeTransactor) SetLBPairImplementation(opts *bind.TransactOpts, newLBPairImplementation common.Address) (*types.Transaction, error)
SetLBPairImplementation is a paid mutator transaction binding the contract method 0xb0384781.
Solidity: function setLBPairImplementation(address newLBPairImplementation) returns()
func (*TraderjoeTransactor) SetPendingOwner ¶
func (_Traderjoe *TraderjoeTransactor) SetPendingOwner(opts *bind.TransactOpts, pendingOwner_ common.Address) (*types.Transaction, error)
SetPendingOwner is a paid mutator transaction binding the contract method 0xc42069ec.
Solidity: function setPendingOwner(address pendingOwner_) returns()
func (*TraderjoeTransactor) SetPreset ¶
func (_Traderjoe *TraderjoeTransactor) SetPreset(opts *bind.TransactOpts, binStep uint16, baseFactor uint16, filterPeriod uint16, decayPeriod uint16, reductionFactor uint16, variableFeeControl *big.Int, protocolShare uint16, maxVolatilityAccumulator *big.Int, isOpen bool) (*types.Transaction, error)
SetPreset is a paid mutator transaction binding the contract method 0x379ee803.
Solidity: function setPreset(uint16 binStep, uint16 baseFactor, uint16 filterPeriod, uint16 decayPeriod, uint16 reductionFactor, uint24 variableFeeControl, uint16 protocolShare, uint24 maxVolatilityAccumulator, bool isOpen) returns()
func (*TraderjoeTransactor) SetPresetOpenState ¶
func (_Traderjoe *TraderjoeTransactor) SetPresetOpenState(opts *bind.TransactOpts, binStep uint16, isOpen bool) (*types.Transaction, error)
SetPresetOpenState is a paid mutator transaction binding the contract method 0x4cd161d3.
Solidity: function setPresetOpenState(uint16 binStep, bool isOpen) returns()
type TraderjoeTransactorRaw ¶
type TraderjoeTransactorRaw struct {
Contract *TraderjoeTransactor // Generic write-only contract binding to access the raw methods on
}
TraderjoeTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*TraderjoeTransactorRaw) Transact ¶
func (_Traderjoe *TraderjoeTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*TraderjoeTransactorRaw) Transfer ¶
func (_Traderjoe *TraderjoeTransactorRaw) 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 TraderjoeTransactorSession ¶
type TraderjoeTransactorSession struct { Contract *TraderjoeTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
TraderjoeTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*TraderjoeTransactorSession) AddQuoteAsset ¶
func (_Traderjoe *TraderjoeTransactorSession) AddQuoteAsset(quoteAsset common.Address) (*types.Transaction, error)
AddQuoteAsset is a paid mutator transaction binding the contract method 0x5a440923.
Solidity: function addQuoteAsset(address quoteAsset) returns()
func (*TraderjoeTransactorSession) BecomeOwner ¶
func (_Traderjoe *TraderjoeTransactorSession) BecomeOwner() (*types.Transaction, error)
BecomeOwner is a paid mutator transaction binding the contract method 0xf9dca989.
Solidity: function becomeOwner() returns()
func (*TraderjoeTransactorSession) CreateLBPair ¶
func (_Traderjoe *TraderjoeTransactorSession) CreateLBPair(tokenX common.Address, tokenY common.Address, activeId *big.Int, binStep uint16) (*types.Transaction, error)
CreateLBPair is a paid mutator transaction binding the contract method 0x659ac74b.
Solidity: function createLBPair(address tokenX, address tokenY, uint24 activeId, uint16 binStep) returns(address pair)
func (*TraderjoeTransactorSession) ForceDecay ¶
func (_Traderjoe *TraderjoeTransactorSession) ForceDecay(pair common.Address) (*types.Transaction, error)
ForceDecay is a paid mutator transaction binding the contract method 0x3c78a941.
Solidity: function forceDecay(address pair) returns()
func (*TraderjoeTransactorSession) RemovePreset ¶
func (_Traderjoe *TraderjoeTransactorSession) RemovePreset(binStep uint16) (*types.Transaction, error)
RemovePreset is a paid mutator transaction binding the contract method 0xe203a31f.
Solidity: function removePreset(uint16 binStep) returns()
func (*TraderjoeTransactorSession) RemoveQuoteAsset ¶
func (_Traderjoe *TraderjoeTransactorSession) RemoveQuoteAsset(quoteAsset common.Address) (*types.Transaction, error)
RemoveQuoteAsset is a paid mutator transaction binding the contract method 0xddbfd941.
Solidity: function removeQuoteAsset(address quoteAsset) returns()
func (*TraderjoeTransactorSession) RenounceOwnership ¶
func (_Traderjoe *TraderjoeTransactorSession) RenounceOwnership() (*types.Transaction, error)
RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
Solidity: function renounceOwnership() returns()
func (*TraderjoeTransactorSession) RevokePendingOwner ¶
func (_Traderjoe *TraderjoeTransactorSession) RevokePendingOwner() (*types.Transaction, error)
RevokePendingOwner is a paid mutator transaction binding the contract method 0x67ab8a4e.
Solidity: function revokePendingOwner() returns()
func (*TraderjoeTransactorSession) SetFeeRecipient ¶
func (_Traderjoe *TraderjoeTransactorSession) SetFeeRecipient(feeRecipient common.Address) (*types.Transaction, error)
SetFeeRecipient is a paid mutator transaction binding the contract method 0xe74b981b.
Solidity: function setFeeRecipient(address feeRecipient) returns()
func (*TraderjoeTransactorSession) SetFeesParametersOnPair ¶
func (_Traderjoe *TraderjoeTransactorSession) SetFeesParametersOnPair(tokenX common.Address, tokenY common.Address, binStep uint16, baseFactor uint16, filterPeriod uint16, decayPeriod uint16, reductionFactor uint16, variableFeeControl *big.Int, protocolShare uint16, maxVolatilityAccumulator *big.Int) (*types.Transaction, error)
SetFeesParametersOnPair is a paid mutator transaction binding the contract method 0x093ff769.
Solidity: function setFeesParametersOnPair(address tokenX, address tokenY, uint16 binStep, uint16 baseFactor, uint16 filterPeriod, uint16 decayPeriod, uint16 reductionFactor, uint24 variableFeeControl, uint16 protocolShare, uint24 maxVolatilityAccumulator) returns()
func (*TraderjoeTransactorSession) SetFlashLoanFee ¶
func (_Traderjoe *TraderjoeTransactorSession) SetFlashLoanFee(flashLoanFee *big.Int) (*types.Transaction, error)
SetFlashLoanFee is a paid mutator transaction binding the contract method 0xe92d0d5d.
Solidity: function setFlashLoanFee(uint256 flashLoanFee) returns()
func (*TraderjoeTransactorSession) SetLBPairIgnored ¶
func (_Traderjoe *TraderjoeTransactorSession) SetLBPairIgnored(tokenX common.Address, tokenY common.Address, binStep uint16, ignored bool) (*types.Transaction, error)
SetLBPairIgnored is a paid mutator transaction binding the contract method 0x69d56ea3.
Solidity: function setLBPairIgnored(address tokenX, address tokenY, uint16 binStep, bool ignored) returns()
func (*TraderjoeTransactorSession) SetLBPairImplementation ¶
func (_Traderjoe *TraderjoeTransactorSession) SetLBPairImplementation(newLBPairImplementation common.Address) (*types.Transaction, error)
SetLBPairImplementation is a paid mutator transaction binding the contract method 0xb0384781.
Solidity: function setLBPairImplementation(address newLBPairImplementation) returns()
func (*TraderjoeTransactorSession) SetPendingOwner ¶
func (_Traderjoe *TraderjoeTransactorSession) SetPendingOwner(pendingOwner_ common.Address) (*types.Transaction, error)
SetPendingOwner is a paid mutator transaction binding the contract method 0xc42069ec.
Solidity: function setPendingOwner(address pendingOwner_) returns()
func (*TraderjoeTransactorSession) SetPreset ¶
func (_Traderjoe *TraderjoeTransactorSession) SetPreset(binStep uint16, baseFactor uint16, filterPeriod uint16, decayPeriod uint16, reductionFactor uint16, variableFeeControl *big.Int, protocolShare uint16, maxVolatilityAccumulator *big.Int, isOpen bool) (*types.Transaction, error)
SetPreset is a paid mutator transaction binding the contract method 0x379ee803.
Solidity: function setPreset(uint16 binStep, uint16 baseFactor, uint16 filterPeriod, uint16 decayPeriod, uint16 reductionFactor, uint24 variableFeeControl, uint16 protocolShare, uint24 maxVolatilityAccumulator, bool isOpen) returns()
func (*TraderjoeTransactorSession) SetPresetOpenState ¶
func (_Traderjoe *TraderjoeTransactorSession) SetPresetOpenState(binStep uint16, isOpen bool) (*types.Transaction, error)
SetPresetOpenState is a paid mutator transaction binding the contract method 0x4cd161d3.
Solidity: function setPresetOpenState(uint16 binStep, bool isOpen) returns()