Versions in this module Expand all Collapse all v0 v0.0.1 Dec 9, 2023 Changes in this version + var VaultV2bABI = VaultV2bMetaData.ABI + var VaultV2bMetaData = &bind.MetaData + type VaultV2b struct + func NewVaultV2b(address common.Address, backend bind.ContractBackend) (*VaultV2b, error) + type VaultV2bBuyUSDG struct + Account common.Address + FeeBasisPoints *big.Int + Raw types.Log + Token common.Address + TokenAmount *big.Int + UsdgAmount *big.Int + type VaultV2bBuyUSDGIterator struct + Event *VaultV2bBuyUSDG + func (it *VaultV2bBuyUSDGIterator) Close() error + func (it *VaultV2bBuyUSDGIterator) Error() error + func (it *VaultV2bBuyUSDGIterator) Next() bool + type VaultV2bCaller struct + func NewVaultV2bCaller(address common.Address, caller bind.ContractCaller) (*VaultV2bCaller, error) + func (_VaultV2b *VaultV2bCaller) AdjustForDecimals(opts *bind.CallOpts, _amount *big.Int, _tokenDiv common.Address, ...) (*big.Int, error) + func (_VaultV2b *VaultV2bCaller) AllWhitelistedTokens(opts *bind.CallOpts, arg0 *big.Int) (common.Address, error) + func (_VaultV2b *VaultV2bCaller) AllWhitelistedTokensLength(opts *bind.CallOpts) (*big.Int, error) + func (_VaultV2b *VaultV2bCaller) ApprovedRouters(opts *bind.CallOpts, arg0 common.Address, arg1 common.Address) (bool, error) + func (_VaultV2b *VaultV2bCaller) BASISPOINTSDIVISOR(opts *bind.CallOpts) (*big.Int, error) + func (_VaultV2b *VaultV2bCaller) BufferAmounts(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error) + func (_VaultV2b *VaultV2bCaller) CumulativeFundingRates(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error) + func (_VaultV2b *VaultV2bCaller) ErrorController(opts *bind.CallOpts) (common.Address, error) + func (_VaultV2b *VaultV2bCaller) Errors(opts *bind.CallOpts, arg0 *big.Int) (string, error) + func (_VaultV2b *VaultV2bCaller) FUNDINGRATEPRECISION(opts *bind.CallOpts) (*big.Int, error) + func (_VaultV2b *VaultV2bCaller) FeeReserves(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error) + func (_VaultV2b *VaultV2bCaller) FundingInterval(opts *bind.CallOpts) (*big.Int, error) + func (_VaultV2b *VaultV2bCaller) FundingRateFactor(opts *bind.CallOpts) (*big.Int, error) + func (_VaultV2b *VaultV2bCaller) GetDelta(opts *bind.CallOpts, _indexToken common.Address, _size *big.Int, ...) (bool, *big.Int, error) + func (_VaultV2b *VaultV2bCaller) GetEntryFundingRate(opts *bind.CallOpts, _collateralToken common.Address, ...) (*big.Int, error) + func (_VaultV2b *VaultV2bCaller) GetFeeBasisPoints(opts *bind.CallOpts, _token common.Address, _usdgDelta *big.Int, ...) (*big.Int, error) + func (_VaultV2b *VaultV2bCaller) GetFundingFee(opts *bind.CallOpts, _account common.Address, _collateralToken common.Address, ...) (*big.Int, error) + func (_VaultV2b *VaultV2bCaller) GetGlobalShortDelta(opts *bind.CallOpts, _token common.Address) (bool, *big.Int, error) + func (_VaultV2b *VaultV2bCaller) GetMaxPrice(opts *bind.CallOpts, _token common.Address) (*big.Int, error) + func (_VaultV2b *VaultV2bCaller) GetMinPrice(opts *bind.CallOpts, _token common.Address) (*big.Int, error) + func (_VaultV2b *VaultV2bCaller) GetNextAveragePrice(opts *bind.CallOpts, _indexToken common.Address, _size *big.Int, ...) (*big.Int, error) + func (_VaultV2b *VaultV2bCaller) GetNextFundingRate(opts *bind.CallOpts, _token common.Address) (*big.Int, error) + func (_VaultV2b *VaultV2bCaller) GetNextGlobalShortAveragePrice(opts *bind.CallOpts, _indexToken common.Address, _nextPrice *big.Int, ...) (*big.Int, error) + func (_VaultV2b *VaultV2bCaller) GetPosition(opts *bind.CallOpts, _account common.Address, _collateralToken common.Address, ...) (*big.Int, *big.Int, *big.Int, *big.Int, *big.Int, *big.Int, bool, *big.Int, ...) + func (_VaultV2b *VaultV2bCaller) GetPositionDelta(opts *bind.CallOpts, _account common.Address, _collateralToken common.Address, ...) (bool, *big.Int, error) + func (_VaultV2b *VaultV2bCaller) GetPositionFee(opts *bind.CallOpts, _account common.Address, _collateralToken common.Address, ...) (*big.Int, error) + func (_VaultV2b *VaultV2bCaller) GetPositionKey(opts *bind.CallOpts, _account common.Address, _collateralToken common.Address, ...) ([32]byte, error) + func (_VaultV2b *VaultV2bCaller) GetPositionLeverage(opts *bind.CallOpts, _account common.Address, _collateralToken common.Address, ...) (*big.Int, error) + func (_VaultV2b *VaultV2bCaller) GetRedemptionAmount(opts *bind.CallOpts, _token common.Address, _usdgAmount *big.Int) (*big.Int, error) + func (_VaultV2b *VaultV2bCaller) GetRedemptionCollateral(opts *bind.CallOpts, _token common.Address) (*big.Int, error) + func (_VaultV2b *VaultV2bCaller) GetRedemptionCollateralUsd(opts *bind.CallOpts, _token common.Address) (*big.Int, error) + func (_VaultV2b *VaultV2bCaller) GetTargetUsdgAmount(opts *bind.CallOpts, _token common.Address) (*big.Int, error) + func (_VaultV2b *VaultV2bCaller) GetUtilisation(opts *bind.CallOpts, _token common.Address) (*big.Int, error) + func (_VaultV2b *VaultV2bCaller) GlobalShortAveragePrices(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error) + func (_VaultV2b *VaultV2bCaller) GlobalShortSizes(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error) + func (_VaultV2b *VaultV2bCaller) Gov(opts *bind.CallOpts) (common.Address, error) + func (_VaultV2b *VaultV2bCaller) GuaranteedUsd(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error) + func (_VaultV2b *VaultV2bCaller) HasDynamicFees(opts *bind.CallOpts) (bool, error) + func (_VaultV2b *VaultV2bCaller) InManagerMode(opts *bind.CallOpts) (bool, error) + func (_VaultV2b *VaultV2bCaller) InPrivateLiquidationMode(opts *bind.CallOpts) (bool, error) + func (_VaultV2b *VaultV2bCaller) IncludeAmmPrice(opts *bind.CallOpts) (bool, error) + func (_VaultV2b *VaultV2bCaller) IsInitialized(opts *bind.CallOpts) (bool, error) + func (_VaultV2b *VaultV2bCaller) IsLeverageEnabled(opts *bind.CallOpts) (bool, error) + func (_VaultV2b *VaultV2bCaller) IsLiquidator(opts *bind.CallOpts, arg0 common.Address) (bool, error) + func (_VaultV2b *VaultV2bCaller) IsManager(opts *bind.CallOpts, arg0 common.Address) (bool, error) + func (_VaultV2b *VaultV2bCaller) IsSwapEnabled(opts *bind.CallOpts) (bool, error) + func (_VaultV2b *VaultV2bCaller) LastFundingTimes(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error) + func (_VaultV2b *VaultV2bCaller) LiquidationFeeUsd(opts *bind.CallOpts) (*big.Int, error) + func (_VaultV2b *VaultV2bCaller) MAXFEEBASISPOINTS(opts *bind.CallOpts) (*big.Int, error) + func (_VaultV2b *VaultV2bCaller) MAXFUNDINGRATEFACTOR(opts *bind.CallOpts) (*big.Int, error) + func (_VaultV2b *VaultV2bCaller) MAXLIQUIDATIONFEEUSD(opts *bind.CallOpts) (*big.Int, error) + func (_VaultV2b *VaultV2bCaller) MINFUNDINGRATEINTERVAL(opts *bind.CallOpts) (*big.Int, error) + func (_VaultV2b *VaultV2bCaller) MINLEVERAGE(opts *bind.CallOpts) (*big.Int, error) + func (_VaultV2b *VaultV2bCaller) MarginFeeBasisPoints(opts *bind.CallOpts) (*big.Int, error) + func (_VaultV2b *VaultV2bCaller) MaxGasPrice(opts *bind.CallOpts) (*big.Int, error) + func (_VaultV2b *VaultV2bCaller) MaxGlobalShortSizes(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error) + func (_VaultV2b *VaultV2bCaller) MaxLeverage(opts *bind.CallOpts) (*big.Int, error) + func (_VaultV2b *VaultV2bCaller) MaxUsdgAmounts(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error) + func (_VaultV2b *VaultV2bCaller) MinProfitBasisPoints(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error) + func (_VaultV2b *VaultV2bCaller) MinProfitTime(opts *bind.CallOpts) (*big.Int, error) + func (_VaultV2b *VaultV2bCaller) MintBurnFeeBasisPoints(opts *bind.CallOpts) (*big.Int, error) + func (_VaultV2b *VaultV2bCaller) PRICEPRECISION(opts *bind.CallOpts) (*big.Int, error) + func (_VaultV2b *VaultV2bCaller) PoolAmounts(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error) + func (_VaultV2b *VaultV2bCaller) Positions(opts *bind.CallOpts, arg0 [32]byte) (struct{ ... }, error) + func (_VaultV2b *VaultV2bCaller) PriceFeed(opts *bind.CallOpts) (common.Address, error) + func (_VaultV2b *VaultV2bCaller) ReservedAmounts(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error) + func (_VaultV2b *VaultV2bCaller) Router(opts *bind.CallOpts) (common.Address, error) + func (_VaultV2b *VaultV2bCaller) ShortableTokens(opts *bind.CallOpts, arg0 common.Address) (bool, error) + func (_VaultV2b *VaultV2bCaller) StableFundingRateFactor(opts *bind.CallOpts) (*big.Int, error) + func (_VaultV2b *VaultV2bCaller) StableSwapFeeBasisPoints(opts *bind.CallOpts) (*big.Int, error) + func (_VaultV2b *VaultV2bCaller) StableTaxBasisPoints(opts *bind.CallOpts) (*big.Int, error) + func (_VaultV2b *VaultV2bCaller) StableTokens(opts *bind.CallOpts, arg0 common.Address) (bool, error) + func (_VaultV2b *VaultV2bCaller) SwapFeeBasisPoints(opts *bind.CallOpts) (*big.Int, error) + func (_VaultV2b *VaultV2bCaller) TaxBasisPoints(opts *bind.CallOpts) (*big.Int, error) + func (_VaultV2b *VaultV2bCaller) TokenBalances(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error) + func (_VaultV2b *VaultV2bCaller) TokenDecimals(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error) + func (_VaultV2b *VaultV2bCaller) TokenToUsdMin(opts *bind.CallOpts, _token common.Address, _tokenAmount *big.Int) (*big.Int, error) + func (_VaultV2b *VaultV2bCaller) TokenWeights(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error) + func (_VaultV2b *VaultV2bCaller) TotalTokenWeights(opts *bind.CallOpts) (*big.Int, error) + func (_VaultV2b *VaultV2bCaller) USDGDECIMALS(opts *bind.CallOpts) (*big.Int, error) + func (_VaultV2b *VaultV2bCaller) UsdToToken(opts *bind.CallOpts, _token common.Address, _usdAmount *big.Int, ...) (*big.Int, error) + func (_VaultV2b *VaultV2bCaller) UsdToTokenMax(opts *bind.CallOpts, _token common.Address, _usdAmount *big.Int) (*big.Int, error) + func (_VaultV2b *VaultV2bCaller) UsdToTokenMin(opts *bind.CallOpts, _token common.Address, _usdAmount *big.Int) (*big.Int, error) + func (_VaultV2b *VaultV2bCaller) Usdg(opts *bind.CallOpts) (common.Address, error) + func (_VaultV2b *VaultV2bCaller) UsdgAmounts(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error) + func (_VaultV2b *VaultV2bCaller) UseSwapPricing(opts *bind.CallOpts) (bool, error) + func (_VaultV2b *VaultV2bCaller) ValidateLiquidation(opts *bind.CallOpts, _account common.Address, _collateralToken common.Address, ...) (*big.Int, *big.Int, error) + func (_VaultV2b *VaultV2bCaller) VaultUtils(opts *bind.CallOpts) (common.Address, error) + func (_VaultV2b *VaultV2bCaller) WhitelistedTokenCount(opts *bind.CallOpts) (*big.Int, error) + func (_VaultV2b *VaultV2bCaller) WhitelistedTokens(opts *bind.CallOpts, arg0 common.Address) (bool, error) + type VaultV2bCallerRaw struct + Contract *VaultV2bCaller + func (_VaultV2b *VaultV2bCallerRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error + type VaultV2bCallerSession struct + CallOpts bind.CallOpts + Contract *VaultV2bCaller + func (_VaultV2b *VaultV2bCallerSession) AdjustForDecimals(_amount *big.Int, _tokenDiv common.Address, _tokenMul common.Address) (*big.Int, error) + func (_VaultV2b *VaultV2bCallerSession) AllWhitelistedTokens(arg0 *big.Int) (common.Address, error) + func (_VaultV2b *VaultV2bCallerSession) AllWhitelistedTokensLength() (*big.Int, error) + func (_VaultV2b *VaultV2bCallerSession) ApprovedRouters(arg0 common.Address, arg1 common.Address) (bool, error) + func (_VaultV2b *VaultV2bCallerSession) BASISPOINTSDIVISOR() (*big.Int, error) + func (_VaultV2b *VaultV2bCallerSession) BufferAmounts(arg0 common.Address) (*big.Int, error) + func (_VaultV2b *VaultV2bCallerSession) CumulativeFundingRates(arg0 common.Address) (*big.Int, error) + func (_VaultV2b *VaultV2bCallerSession) ErrorController() (common.Address, error) + func (_VaultV2b *VaultV2bCallerSession) Errors(arg0 *big.Int) (string, error) + func (_VaultV2b *VaultV2bCallerSession) FUNDINGRATEPRECISION() (*big.Int, error) + func (_VaultV2b *VaultV2bCallerSession) FeeReserves(arg0 common.Address) (*big.Int, error) + func (_VaultV2b *VaultV2bCallerSession) FundingInterval() (*big.Int, error) + func (_VaultV2b *VaultV2bCallerSession) FundingRateFactor() (*big.Int, error) + func (_VaultV2b *VaultV2bCallerSession) GetDelta(_indexToken common.Address, _size *big.Int, _averagePrice *big.Int, ...) (bool, *big.Int, error) + func (_VaultV2b *VaultV2bCallerSession) GetEntryFundingRate(_collateralToken common.Address, _indexToken common.Address, _isLong bool) (*big.Int, error) + func (_VaultV2b *VaultV2bCallerSession) GetFeeBasisPoints(_token common.Address, _usdgDelta *big.Int, _feeBasisPoints *big.Int, ...) (*big.Int, error) + func (_VaultV2b *VaultV2bCallerSession) GetFundingFee(_account common.Address, _collateralToken common.Address, ...) (*big.Int, error) + func (_VaultV2b *VaultV2bCallerSession) GetGlobalShortDelta(_token common.Address) (bool, *big.Int, error) + func (_VaultV2b *VaultV2bCallerSession) GetMaxPrice(_token common.Address) (*big.Int, error) + func (_VaultV2b *VaultV2bCallerSession) GetMinPrice(_token common.Address) (*big.Int, error) + func (_VaultV2b *VaultV2bCallerSession) GetNextAveragePrice(_indexToken common.Address, _size *big.Int, _averagePrice *big.Int, ...) (*big.Int, error) + func (_VaultV2b *VaultV2bCallerSession) GetNextFundingRate(_token common.Address) (*big.Int, error) + func (_VaultV2b *VaultV2bCallerSession) GetNextGlobalShortAveragePrice(_indexToken common.Address, _nextPrice *big.Int, _sizeDelta *big.Int) (*big.Int, error) + func (_VaultV2b *VaultV2bCallerSession) GetPosition(_account common.Address, _collateralToken common.Address, ...) (*big.Int, *big.Int, *big.Int, *big.Int, *big.Int, *big.Int, bool, *big.Int, ...) + func (_VaultV2b *VaultV2bCallerSession) GetPositionDelta(_account common.Address, _collateralToken common.Address, ...) (bool, *big.Int, error) + func (_VaultV2b *VaultV2bCallerSession) GetPositionFee(_account common.Address, _collateralToken common.Address, ...) (*big.Int, error) + func (_VaultV2b *VaultV2bCallerSession) GetPositionKey(_account common.Address, _collateralToken common.Address, ...) ([32]byte, error) + func (_VaultV2b *VaultV2bCallerSession) GetPositionLeverage(_account common.Address, _collateralToken common.Address, ...) (*big.Int, error) + func (_VaultV2b *VaultV2bCallerSession) GetRedemptionAmount(_token common.Address, _usdgAmount *big.Int) (*big.Int, error) + func (_VaultV2b *VaultV2bCallerSession) GetRedemptionCollateral(_token common.Address) (*big.Int, error) + func (_VaultV2b *VaultV2bCallerSession) GetRedemptionCollateralUsd(_token common.Address) (*big.Int, error) + func (_VaultV2b *VaultV2bCallerSession) GetTargetUsdgAmount(_token common.Address) (*big.Int, error) + func (_VaultV2b *VaultV2bCallerSession) GetUtilisation(_token common.Address) (*big.Int, error) + func (_VaultV2b *VaultV2bCallerSession) GlobalShortAveragePrices(arg0 common.Address) (*big.Int, error) + func (_VaultV2b *VaultV2bCallerSession) GlobalShortSizes(arg0 common.Address) (*big.Int, error) + func (_VaultV2b *VaultV2bCallerSession) Gov() (common.Address, error) + func (_VaultV2b *VaultV2bCallerSession) GuaranteedUsd(arg0 common.Address) (*big.Int, error) + func (_VaultV2b *VaultV2bCallerSession) HasDynamicFees() (bool, error) + func (_VaultV2b *VaultV2bCallerSession) InManagerMode() (bool, error) + func (_VaultV2b *VaultV2bCallerSession) InPrivateLiquidationMode() (bool, error) + func (_VaultV2b *VaultV2bCallerSession) IncludeAmmPrice() (bool, error) + func (_VaultV2b *VaultV2bCallerSession) IsInitialized() (bool, error) + func (_VaultV2b *VaultV2bCallerSession) IsLeverageEnabled() (bool, error) + func (_VaultV2b *VaultV2bCallerSession) IsLiquidator(arg0 common.Address) (bool, error) + func (_VaultV2b *VaultV2bCallerSession) IsManager(arg0 common.Address) (bool, error) + func (_VaultV2b *VaultV2bCallerSession) IsSwapEnabled() (bool, error) + func (_VaultV2b *VaultV2bCallerSession) LastFundingTimes(arg0 common.Address) (*big.Int, error) + func (_VaultV2b *VaultV2bCallerSession) LiquidationFeeUsd() (*big.Int, error) + func (_VaultV2b *VaultV2bCallerSession) MAXFEEBASISPOINTS() (*big.Int, error) + func (_VaultV2b *VaultV2bCallerSession) MAXFUNDINGRATEFACTOR() (*big.Int, error) + func (_VaultV2b *VaultV2bCallerSession) MAXLIQUIDATIONFEEUSD() (*big.Int, error) + func (_VaultV2b *VaultV2bCallerSession) MINFUNDINGRATEINTERVAL() (*big.Int, error) + func (_VaultV2b *VaultV2bCallerSession) MINLEVERAGE() (*big.Int, error) + func (_VaultV2b *VaultV2bCallerSession) MarginFeeBasisPoints() (*big.Int, error) + func (_VaultV2b *VaultV2bCallerSession) MaxGasPrice() (*big.Int, error) + func (_VaultV2b *VaultV2bCallerSession) MaxGlobalShortSizes(arg0 common.Address) (*big.Int, error) + func (_VaultV2b *VaultV2bCallerSession) MaxLeverage() (*big.Int, error) + func (_VaultV2b *VaultV2bCallerSession) MaxUsdgAmounts(arg0 common.Address) (*big.Int, error) + func (_VaultV2b *VaultV2bCallerSession) MinProfitBasisPoints(arg0 common.Address) (*big.Int, error) + func (_VaultV2b *VaultV2bCallerSession) MinProfitTime() (*big.Int, error) + func (_VaultV2b *VaultV2bCallerSession) MintBurnFeeBasisPoints() (*big.Int, error) + func (_VaultV2b *VaultV2bCallerSession) PRICEPRECISION() (*big.Int, error) + func (_VaultV2b *VaultV2bCallerSession) PoolAmounts(arg0 common.Address) (*big.Int, error) + func (_VaultV2b *VaultV2bCallerSession) Positions(arg0 [32]byte) (struct{ ... }, error) + func (_VaultV2b *VaultV2bCallerSession) PriceFeed() (common.Address, error) + func (_VaultV2b *VaultV2bCallerSession) ReservedAmounts(arg0 common.Address) (*big.Int, error) + func (_VaultV2b *VaultV2bCallerSession) Router() (common.Address, error) + func (_VaultV2b *VaultV2bCallerSession) ShortableTokens(arg0 common.Address) (bool, error) + func (_VaultV2b *VaultV2bCallerSession) StableFundingRateFactor() (*big.Int, error) + func (_VaultV2b *VaultV2bCallerSession) StableSwapFeeBasisPoints() (*big.Int, error) + func (_VaultV2b *VaultV2bCallerSession) StableTaxBasisPoints() (*big.Int, error) + func (_VaultV2b *VaultV2bCallerSession) StableTokens(arg0 common.Address) (bool, error) + func (_VaultV2b *VaultV2bCallerSession) SwapFeeBasisPoints() (*big.Int, error) + func (_VaultV2b *VaultV2bCallerSession) TaxBasisPoints() (*big.Int, error) + func (_VaultV2b *VaultV2bCallerSession) TokenBalances(arg0 common.Address) (*big.Int, error) + func (_VaultV2b *VaultV2bCallerSession) TokenDecimals(arg0 common.Address) (*big.Int, error) + func (_VaultV2b *VaultV2bCallerSession) TokenToUsdMin(_token common.Address, _tokenAmount *big.Int) (*big.Int, error) + func (_VaultV2b *VaultV2bCallerSession) TokenWeights(arg0 common.Address) (*big.Int, error) + func (_VaultV2b *VaultV2bCallerSession) TotalTokenWeights() (*big.Int, error) + func (_VaultV2b *VaultV2bCallerSession) USDGDECIMALS() (*big.Int, error) + func (_VaultV2b *VaultV2bCallerSession) UsdToToken(_token common.Address, _usdAmount *big.Int, _price *big.Int) (*big.Int, error) + func (_VaultV2b *VaultV2bCallerSession) UsdToTokenMax(_token common.Address, _usdAmount *big.Int) (*big.Int, error) + func (_VaultV2b *VaultV2bCallerSession) UsdToTokenMin(_token common.Address, _usdAmount *big.Int) (*big.Int, error) + func (_VaultV2b *VaultV2bCallerSession) Usdg() (common.Address, error) + func (_VaultV2b *VaultV2bCallerSession) UsdgAmounts(arg0 common.Address) (*big.Int, error) + func (_VaultV2b *VaultV2bCallerSession) UseSwapPricing() (bool, error) + func (_VaultV2b *VaultV2bCallerSession) ValidateLiquidation(_account common.Address, _collateralToken common.Address, ...) (*big.Int, *big.Int, error) + func (_VaultV2b *VaultV2bCallerSession) VaultUtils() (common.Address, error) + func (_VaultV2b *VaultV2bCallerSession) WhitelistedTokenCount() (*big.Int, error) + func (_VaultV2b *VaultV2bCallerSession) WhitelistedTokens(arg0 common.Address) (bool, error) + type VaultV2bClosePosition struct + AveragePrice *big.Int + Collateral *big.Int + EntryFundingRate *big.Int + Key [32]byte + Raw types.Log + RealisedPnl *big.Int + ReserveAmount *big.Int + Size *big.Int + type VaultV2bClosePositionIterator struct + Event *VaultV2bClosePosition + func (it *VaultV2bClosePositionIterator) Close() error + func (it *VaultV2bClosePositionIterator) Error() error + func (it *VaultV2bClosePositionIterator) Next() bool + type VaultV2bCollectMarginFees struct + FeeTokens *big.Int + FeeUsd *big.Int + Raw types.Log + Token common.Address + type VaultV2bCollectMarginFeesIterator struct + Event *VaultV2bCollectMarginFees + func (it *VaultV2bCollectMarginFeesIterator) Close() error + func (it *VaultV2bCollectMarginFeesIterator) Error() error + func (it *VaultV2bCollectMarginFeesIterator) Next() bool + type VaultV2bCollectSwapFees struct + FeeTokens *big.Int + FeeUsd *big.Int + Raw types.Log + Token common.Address + type VaultV2bCollectSwapFeesIterator struct + Event *VaultV2bCollectSwapFees + func (it *VaultV2bCollectSwapFeesIterator) Close() error + func (it *VaultV2bCollectSwapFeesIterator) Error() error + func (it *VaultV2bCollectSwapFeesIterator) Next() bool + type VaultV2bDecreaseGuaranteedUsd struct + Amount *big.Int + Raw types.Log + Token common.Address + type VaultV2bDecreaseGuaranteedUsdIterator struct + Event *VaultV2bDecreaseGuaranteedUsd + func (it *VaultV2bDecreaseGuaranteedUsdIterator) Close() error + func (it *VaultV2bDecreaseGuaranteedUsdIterator) Error() error + func (it *VaultV2bDecreaseGuaranteedUsdIterator) Next() bool + type VaultV2bDecreasePoolAmount struct + Amount *big.Int + Raw types.Log + Token common.Address + type VaultV2bDecreasePoolAmountIterator struct + Event *VaultV2bDecreasePoolAmount + func (it *VaultV2bDecreasePoolAmountIterator) Close() error + func (it *VaultV2bDecreasePoolAmountIterator) Error() error + func (it *VaultV2bDecreasePoolAmountIterator) Next() bool + type VaultV2bDecreasePosition struct + Account common.Address + CollateralDelta *big.Int + CollateralToken common.Address + Fee *big.Int + IndexToken common.Address + IsLong bool + Key [32]byte + Price *big.Int + Raw types.Log + SizeDelta *big.Int + type VaultV2bDecreasePositionIterator struct + Event *VaultV2bDecreasePosition + func (it *VaultV2bDecreasePositionIterator) Close() error + func (it *VaultV2bDecreasePositionIterator) Error() error + func (it *VaultV2bDecreasePositionIterator) Next() bool + type VaultV2bDecreaseReservedAmount struct + Amount *big.Int + Raw types.Log + Token common.Address + type VaultV2bDecreaseReservedAmountIterator struct + Event *VaultV2bDecreaseReservedAmount + func (it *VaultV2bDecreaseReservedAmountIterator) Close() error + func (it *VaultV2bDecreaseReservedAmountIterator) Error() error + func (it *VaultV2bDecreaseReservedAmountIterator) Next() bool + type VaultV2bDecreaseUsdgAmount struct + Amount *big.Int + Raw types.Log + Token common.Address + type VaultV2bDecreaseUsdgAmountIterator struct + Event *VaultV2bDecreaseUsdgAmount + func (it *VaultV2bDecreaseUsdgAmountIterator) Close() error + func (it *VaultV2bDecreaseUsdgAmountIterator) Error() error + func (it *VaultV2bDecreaseUsdgAmountIterator) Next() bool + type VaultV2bDirectPoolDeposit struct + Amount *big.Int + Raw types.Log + Token common.Address + type VaultV2bDirectPoolDepositIterator struct + Event *VaultV2bDirectPoolDeposit + func (it *VaultV2bDirectPoolDepositIterator) Close() error + func (it *VaultV2bDirectPoolDepositIterator) Error() error + func (it *VaultV2bDirectPoolDepositIterator) Next() bool + type VaultV2bFilterer struct + func NewVaultV2bFilterer(address common.Address, filterer bind.ContractFilterer) (*VaultV2bFilterer, error) + func (_VaultV2b *VaultV2bFilterer) FilterBuyUSDG(opts *bind.FilterOpts) (*VaultV2bBuyUSDGIterator, error) + func (_VaultV2b *VaultV2bFilterer) FilterClosePosition(opts *bind.FilterOpts) (*VaultV2bClosePositionIterator, error) + func (_VaultV2b *VaultV2bFilterer) FilterCollectMarginFees(opts *bind.FilterOpts) (*VaultV2bCollectMarginFeesIterator, error) + func (_VaultV2b *VaultV2bFilterer) FilterCollectSwapFees(opts *bind.FilterOpts) (*VaultV2bCollectSwapFeesIterator, error) + func (_VaultV2b *VaultV2bFilterer) FilterDecreaseGuaranteedUsd(opts *bind.FilterOpts) (*VaultV2bDecreaseGuaranteedUsdIterator, error) + func (_VaultV2b *VaultV2bFilterer) FilterDecreasePoolAmount(opts *bind.FilterOpts) (*VaultV2bDecreasePoolAmountIterator, error) + func (_VaultV2b *VaultV2bFilterer) FilterDecreasePosition(opts *bind.FilterOpts) (*VaultV2bDecreasePositionIterator, error) + func (_VaultV2b *VaultV2bFilterer) FilterDecreaseReservedAmount(opts *bind.FilterOpts) (*VaultV2bDecreaseReservedAmountIterator, error) + func (_VaultV2b *VaultV2bFilterer) FilterDecreaseUsdgAmount(opts *bind.FilterOpts) (*VaultV2bDecreaseUsdgAmountIterator, error) + func (_VaultV2b *VaultV2bFilterer) FilterDirectPoolDeposit(opts *bind.FilterOpts) (*VaultV2bDirectPoolDepositIterator, error) + func (_VaultV2b *VaultV2bFilterer) FilterIncreaseGuaranteedUsd(opts *bind.FilterOpts) (*VaultV2bIncreaseGuaranteedUsdIterator, error) + func (_VaultV2b *VaultV2bFilterer) FilterIncreasePoolAmount(opts *bind.FilterOpts) (*VaultV2bIncreasePoolAmountIterator, error) + func (_VaultV2b *VaultV2bFilterer) FilterIncreasePosition(opts *bind.FilterOpts) (*VaultV2bIncreasePositionIterator, error) + func (_VaultV2b *VaultV2bFilterer) FilterIncreaseReservedAmount(opts *bind.FilterOpts) (*VaultV2bIncreaseReservedAmountIterator, error) + func (_VaultV2b *VaultV2bFilterer) FilterIncreaseUsdgAmount(opts *bind.FilterOpts) (*VaultV2bIncreaseUsdgAmountIterator, error) + func (_VaultV2b *VaultV2bFilterer) FilterLiquidatePosition(opts *bind.FilterOpts) (*VaultV2bLiquidatePositionIterator, error) + func (_VaultV2b *VaultV2bFilterer) FilterSellUSDG(opts *bind.FilterOpts) (*VaultV2bSellUSDGIterator, error) + func (_VaultV2b *VaultV2bFilterer) FilterSwap(opts *bind.FilterOpts) (*VaultV2bSwapIterator, error) + func (_VaultV2b *VaultV2bFilterer) FilterUpdateFundingRate(opts *bind.FilterOpts) (*VaultV2bUpdateFundingRateIterator, error) + func (_VaultV2b *VaultV2bFilterer) FilterUpdatePnl(opts *bind.FilterOpts) (*VaultV2bUpdatePnlIterator, error) + func (_VaultV2b *VaultV2bFilterer) FilterUpdatePosition(opts *bind.FilterOpts) (*VaultV2bUpdatePositionIterator, error) + func (_VaultV2b *VaultV2bFilterer) ParseBuyUSDG(log types.Log) (*VaultV2bBuyUSDG, error) + func (_VaultV2b *VaultV2bFilterer) ParseClosePosition(log types.Log) (*VaultV2bClosePosition, error) + func (_VaultV2b *VaultV2bFilterer) ParseCollectMarginFees(log types.Log) (*VaultV2bCollectMarginFees, error) + func (_VaultV2b *VaultV2bFilterer) ParseCollectSwapFees(log types.Log) (*VaultV2bCollectSwapFees, error) + func (_VaultV2b *VaultV2bFilterer) ParseDecreaseGuaranteedUsd(log types.Log) (*VaultV2bDecreaseGuaranteedUsd, error) + func (_VaultV2b *VaultV2bFilterer) ParseDecreasePoolAmount(log types.Log) (*VaultV2bDecreasePoolAmount, error) + func (_VaultV2b *VaultV2bFilterer) ParseDecreasePosition(log types.Log) (*VaultV2bDecreasePosition, error) + func (_VaultV2b *VaultV2bFilterer) ParseDecreaseReservedAmount(log types.Log) (*VaultV2bDecreaseReservedAmount, error) + func (_VaultV2b *VaultV2bFilterer) ParseDecreaseUsdgAmount(log types.Log) (*VaultV2bDecreaseUsdgAmount, error) + func (_VaultV2b *VaultV2bFilterer) ParseDirectPoolDeposit(log types.Log) (*VaultV2bDirectPoolDeposit, error) + func (_VaultV2b *VaultV2bFilterer) ParseIncreaseGuaranteedUsd(log types.Log) (*VaultV2bIncreaseGuaranteedUsd, error) + func (_VaultV2b *VaultV2bFilterer) ParseIncreasePoolAmount(log types.Log) (*VaultV2bIncreasePoolAmount, error) + func (_VaultV2b *VaultV2bFilterer) ParseIncreasePosition(log types.Log) (*VaultV2bIncreasePosition, error) + func (_VaultV2b *VaultV2bFilterer) ParseIncreaseReservedAmount(log types.Log) (*VaultV2bIncreaseReservedAmount, error) + func (_VaultV2b *VaultV2bFilterer) ParseIncreaseUsdgAmount(log types.Log) (*VaultV2bIncreaseUsdgAmount, error) + func (_VaultV2b *VaultV2bFilterer) ParseLiquidatePosition(log types.Log) (*VaultV2bLiquidatePosition, error) + func (_VaultV2b *VaultV2bFilterer) ParseSellUSDG(log types.Log) (*VaultV2bSellUSDG, error) + func (_VaultV2b *VaultV2bFilterer) ParseSwap(log types.Log) (*VaultV2bSwap, error) + func (_VaultV2b *VaultV2bFilterer) ParseUpdateFundingRate(log types.Log) (*VaultV2bUpdateFundingRate, error) + func (_VaultV2b *VaultV2bFilterer) ParseUpdatePnl(log types.Log) (*VaultV2bUpdatePnl, error) + func (_VaultV2b *VaultV2bFilterer) ParseUpdatePosition(log types.Log) (*VaultV2bUpdatePosition, error) + func (_VaultV2b *VaultV2bFilterer) WatchBuyUSDG(opts *bind.WatchOpts, sink chan<- *VaultV2bBuyUSDG) (event.Subscription, error) + func (_VaultV2b *VaultV2bFilterer) WatchClosePosition(opts *bind.WatchOpts, sink chan<- *VaultV2bClosePosition) (event.Subscription, error) + func (_VaultV2b *VaultV2bFilterer) WatchCollectMarginFees(opts *bind.WatchOpts, sink chan<- *VaultV2bCollectMarginFees) (event.Subscription, error) + func (_VaultV2b *VaultV2bFilterer) WatchCollectSwapFees(opts *bind.WatchOpts, sink chan<- *VaultV2bCollectSwapFees) (event.Subscription, error) + func (_VaultV2b *VaultV2bFilterer) WatchDecreaseGuaranteedUsd(opts *bind.WatchOpts, sink chan<- *VaultV2bDecreaseGuaranteedUsd) (event.Subscription, error) + func (_VaultV2b *VaultV2bFilterer) WatchDecreasePoolAmount(opts *bind.WatchOpts, sink chan<- *VaultV2bDecreasePoolAmount) (event.Subscription, error) + func (_VaultV2b *VaultV2bFilterer) WatchDecreasePosition(opts *bind.WatchOpts, sink chan<- *VaultV2bDecreasePosition) (event.Subscription, error) + func (_VaultV2b *VaultV2bFilterer) WatchDecreaseReservedAmount(opts *bind.WatchOpts, sink chan<- *VaultV2bDecreaseReservedAmount) (event.Subscription, error) + func (_VaultV2b *VaultV2bFilterer) WatchDecreaseUsdgAmount(opts *bind.WatchOpts, sink chan<- *VaultV2bDecreaseUsdgAmount) (event.Subscription, error) + func (_VaultV2b *VaultV2bFilterer) WatchDirectPoolDeposit(opts *bind.WatchOpts, sink chan<- *VaultV2bDirectPoolDeposit) (event.Subscription, error) + func (_VaultV2b *VaultV2bFilterer) WatchIncreaseGuaranteedUsd(opts *bind.WatchOpts, sink chan<- *VaultV2bIncreaseGuaranteedUsd) (event.Subscription, error) + func (_VaultV2b *VaultV2bFilterer) WatchIncreasePoolAmount(opts *bind.WatchOpts, sink chan<- *VaultV2bIncreasePoolAmount) (event.Subscription, error) + func (_VaultV2b *VaultV2bFilterer) WatchIncreasePosition(opts *bind.WatchOpts, sink chan<- *VaultV2bIncreasePosition) (event.Subscription, error) + func (_VaultV2b *VaultV2bFilterer) WatchIncreaseReservedAmount(opts *bind.WatchOpts, sink chan<- *VaultV2bIncreaseReservedAmount) (event.Subscription, error) + func (_VaultV2b *VaultV2bFilterer) WatchIncreaseUsdgAmount(opts *bind.WatchOpts, sink chan<- *VaultV2bIncreaseUsdgAmount) (event.Subscription, error) + func (_VaultV2b *VaultV2bFilterer) WatchLiquidatePosition(opts *bind.WatchOpts, sink chan<- *VaultV2bLiquidatePosition) (event.Subscription, error) + func (_VaultV2b *VaultV2bFilterer) WatchSellUSDG(opts *bind.WatchOpts, sink chan<- *VaultV2bSellUSDG) (event.Subscription, error) + func (_VaultV2b *VaultV2bFilterer) WatchSwap(opts *bind.WatchOpts, sink chan<- *VaultV2bSwap) (event.Subscription, error) + func (_VaultV2b *VaultV2bFilterer) WatchUpdateFundingRate(opts *bind.WatchOpts, sink chan<- *VaultV2bUpdateFundingRate) (event.Subscription, error) + func (_VaultV2b *VaultV2bFilterer) WatchUpdatePnl(opts *bind.WatchOpts, sink chan<- *VaultV2bUpdatePnl) (event.Subscription, error) + func (_VaultV2b *VaultV2bFilterer) WatchUpdatePosition(opts *bind.WatchOpts, sink chan<- *VaultV2bUpdatePosition) (event.Subscription, error) + type VaultV2bIncreaseGuaranteedUsd struct + Amount *big.Int + Raw types.Log + Token common.Address + type VaultV2bIncreaseGuaranteedUsdIterator struct + Event *VaultV2bIncreaseGuaranteedUsd + func (it *VaultV2bIncreaseGuaranteedUsdIterator) Close() error + func (it *VaultV2bIncreaseGuaranteedUsdIterator) Error() error + func (it *VaultV2bIncreaseGuaranteedUsdIterator) Next() bool + type VaultV2bIncreasePoolAmount struct + Amount *big.Int + Raw types.Log + Token common.Address + type VaultV2bIncreasePoolAmountIterator struct + Event *VaultV2bIncreasePoolAmount + func (it *VaultV2bIncreasePoolAmountIterator) Close() error + func (it *VaultV2bIncreasePoolAmountIterator) Error() error + func (it *VaultV2bIncreasePoolAmountIterator) Next() bool + type VaultV2bIncreasePosition struct + Account common.Address + CollateralDelta *big.Int + CollateralToken common.Address + Fee *big.Int + IndexToken common.Address + IsLong bool + Key [32]byte + Price *big.Int + Raw types.Log + SizeDelta *big.Int + type VaultV2bIncreasePositionIterator struct + Event *VaultV2bIncreasePosition + func (it *VaultV2bIncreasePositionIterator) Close() error + func (it *VaultV2bIncreasePositionIterator) Error() error + func (it *VaultV2bIncreasePositionIterator) Next() bool + type VaultV2bIncreaseReservedAmount struct + Amount *big.Int + Raw types.Log + Token common.Address + type VaultV2bIncreaseReservedAmountIterator struct + Event *VaultV2bIncreaseReservedAmount + func (it *VaultV2bIncreaseReservedAmountIterator) Close() error + func (it *VaultV2bIncreaseReservedAmountIterator) Error() error + func (it *VaultV2bIncreaseReservedAmountIterator) Next() bool + type VaultV2bIncreaseUsdgAmount struct + Amount *big.Int + Raw types.Log + Token common.Address + type VaultV2bIncreaseUsdgAmountIterator struct + Event *VaultV2bIncreaseUsdgAmount + func (it *VaultV2bIncreaseUsdgAmountIterator) Close() error + func (it *VaultV2bIncreaseUsdgAmountIterator) Error() error + func (it *VaultV2bIncreaseUsdgAmountIterator) Next() bool + type VaultV2bLiquidatePosition struct + Account common.Address + Collateral *big.Int + CollateralToken common.Address + IndexToken common.Address + IsLong bool + Key [32]byte + MarkPrice *big.Int + Raw types.Log + RealisedPnl *big.Int + ReserveAmount *big.Int + Size *big.Int + type VaultV2bLiquidatePositionIterator struct + Event *VaultV2bLiquidatePosition + func (it *VaultV2bLiquidatePositionIterator) Close() error + func (it *VaultV2bLiquidatePositionIterator) Error() error + func (it *VaultV2bLiquidatePositionIterator) Next() bool + type VaultV2bRaw struct + Contract *VaultV2b + func (_VaultV2b *VaultV2bRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error + func (_VaultV2b *VaultV2bRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error) + func (_VaultV2b *VaultV2bRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error) + type VaultV2bSellUSDG struct + Account common.Address + FeeBasisPoints *big.Int + Raw types.Log + Token common.Address + TokenAmount *big.Int + UsdgAmount *big.Int + type VaultV2bSellUSDGIterator struct + Event *VaultV2bSellUSDG + func (it *VaultV2bSellUSDGIterator) Close() error + func (it *VaultV2bSellUSDGIterator) Error() error + func (it *VaultV2bSellUSDGIterator) Next() bool + type VaultV2bSession struct + CallOpts bind.CallOpts + Contract *VaultV2b + TransactOpts bind.TransactOpts + func (_VaultV2b *VaultV2bSession) AddRouter(_router common.Address) (*types.Transaction, error) + func (_VaultV2b *VaultV2bSession) AdjustForDecimals(_amount *big.Int, _tokenDiv common.Address, _tokenMul common.Address) (*big.Int, error) + func (_VaultV2b *VaultV2bSession) AllWhitelistedTokens(arg0 *big.Int) (common.Address, error) + func (_VaultV2b *VaultV2bSession) AllWhitelistedTokensLength() (*big.Int, error) + func (_VaultV2b *VaultV2bSession) ApprovedRouters(arg0 common.Address, arg1 common.Address) (bool, error) + func (_VaultV2b *VaultV2bSession) BASISPOINTSDIVISOR() (*big.Int, error) + func (_VaultV2b *VaultV2bSession) BufferAmounts(arg0 common.Address) (*big.Int, error) + func (_VaultV2b *VaultV2bSession) BuyUSDG(_token common.Address, _receiver common.Address) (*types.Transaction, error) + func (_VaultV2b *VaultV2bSession) ClearTokenConfig(_token common.Address) (*types.Transaction, error) + func (_VaultV2b *VaultV2bSession) CumulativeFundingRates(arg0 common.Address) (*big.Int, error) + func (_VaultV2b *VaultV2bSession) DecreasePosition(_account common.Address, _collateralToken common.Address, ...) (*types.Transaction, error) + func (_VaultV2b *VaultV2bSession) DirectPoolDeposit(_token common.Address) (*types.Transaction, error) + func (_VaultV2b *VaultV2bSession) ErrorController() (common.Address, error) + func (_VaultV2b *VaultV2bSession) Errors(arg0 *big.Int) (string, error) + func (_VaultV2b *VaultV2bSession) FUNDINGRATEPRECISION() (*big.Int, error) + func (_VaultV2b *VaultV2bSession) FeeReserves(arg0 common.Address) (*big.Int, error) + func (_VaultV2b *VaultV2bSession) FundingInterval() (*big.Int, error) + func (_VaultV2b *VaultV2bSession) FundingRateFactor() (*big.Int, error) + func (_VaultV2b *VaultV2bSession) GetDelta(_indexToken common.Address, _size *big.Int, _averagePrice *big.Int, ...) (bool, *big.Int, error) + func (_VaultV2b *VaultV2bSession) GetEntryFundingRate(_collateralToken common.Address, _indexToken common.Address, _isLong bool) (*big.Int, error) + func (_VaultV2b *VaultV2bSession) GetFeeBasisPoints(_token common.Address, _usdgDelta *big.Int, _feeBasisPoints *big.Int, ...) (*big.Int, error) + func (_VaultV2b *VaultV2bSession) GetFundingFee(_account common.Address, _collateralToken common.Address, ...) (*big.Int, error) + func (_VaultV2b *VaultV2bSession) GetGlobalShortDelta(_token common.Address) (bool, *big.Int, error) + func (_VaultV2b *VaultV2bSession) GetMaxPrice(_token common.Address) (*big.Int, error) + func (_VaultV2b *VaultV2bSession) GetMinPrice(_token common.Address) (*big.Int, error) + func (_VaultV2b *VaultV2bSession) GetNextAveragePrice(_indexToken common.Address, _size *big.Int, _averagePrice *big.Int, ...) (*big.Int, error) + func (_VaultV2b *VaultV2bSession) GetNextFundingRate(_token common.Address) (*big.Int, error) + func (_VaultV2b *VaultV2bSession) GetNextGlobalShortAveragePrice(_indexToken common.Address, _nextPrice *big.Int, _sizeDelta *big.Int) (*big.Int, error) + func (_VaultV2b *VaultV2bSession) GetPosition(_account common.Address, _collateralToken common.Address, ...) (*big.Int, *big.Int, *big.Int, *big.Int, *big.Int, *big.Int, bool, *big.Int, ...) + func (_VaultV2b *VaultV2bSession) GetPositionDelta(_account common.Address, _collateralToken common.Address, ...) (bool, *big.Int, error) + func (_VaultV2b *VaultV2bSession) GetPositionFee(_account common.Address, _collateralToken common.Address, ...) (*big.Int, error) + func (_VaultV2b *VaultV2bSession) GetPositionKey(_account common.Address, _collateralToken common.Address, ...) ([32]byte, error) + func (_VaultV2b *VaultV2bSession) GetPositionLeverage(_account common.Address, _collateralToken common.Address, ...) (*big.Int, error) + func (_VaultV2b *VaultV2bSession) GetRedemptionAmount(_token common.Address, _usdgAmount *big.Int) (*big.Int, error) + func (_VaultV2b *VaultV2bSession) GetRedemptionCollateral(_token common.Address) (*big.Int, error) + func (_VaultV2b *VaultV2bSession) GetRedemptionCollateralUsd(_token common.Address) (*big.Int, error) + func (_VaultV2b *VaultV2bSession) GetTargetUsdgAmount(_token common.Address) (*big.Int, error) + func (_VaultV2b *VaultV2bSession) GetUtilisation(_token common.Address) (*big.Int, error) + func (_VaultV2b *VaultV2bSession) GlobalShortAveragePrices(arg0 common.Address) (*big.Int, error) + func (_VaultV2b *VaultV2bSession) GlobalShortSizes(arg0 common.Address) (*big.Int, error) + func (_VaultV2b *VaultV2bSession) Gov() (common.Address, error) + func (_VaultV2b *VaultV2bSession) GuaranteedUsd(arg0 common.Address) (*big.Int, error) + func (_VaultV2b *VaultV2bSession) HasDynamicFees() (bool, error) + func (_VaultV2b *VaultV2bSession) InManagerMode() (bool, error) + func (_VaultV2b *VaultV2bSession) InPrivateLiquidationMode() (bool, error) + func (_VaultV2b *VaultV2bSession) IncludeAmmPrice() (bool, error) + func (_VaultV2b *VaultV2bSession) IncreasePosition(_account common.Address, _collateralToken common.Address, ...) (*types.Transaction, error) + func (_VaultV2b *VaultV2bSession) Initialize(_router common.Address, _usdg common.Address, _priceFeed common.Address, ...) (*types.Transaction, error) + func (_VaultV2b *VaultV2bSession) IsInitialized() (bool, error) + func (_VaultV2b *VaultV2bSession) IsLeverageEnabled() (bool, error) + func (_VaultV2b *VaultV2bSession) IsLiquidator(arg0 common.Address) (bool, error) + func (_VaultV2b *VaultV2bSession) IsManager(arg0 common.Address) (bool, error) + func (_VaultV2b *VaultV2bSession) IsSwapEnabled() (bool, error) + func (_VaultV2b *VaultV2bSession) LastFundingTimes(arg0 common.Address) (*big.Int, error) + func (_VaultV2b *VaultV2bSession) LiquidatePosition(_account common.Address, _collateralToken common.Address, ...) (*types.Transaction, error) + func (_VaultV2b *VaultV2bSession) LiquidationFeeUsd() (*big.Int, error) + func (_VaultV2b *VaultV2bSession) MAXFEEBASISPOINTS() (*big.Int, error) + func (_VaultV2b *VaultV2bSession) MAXFUNDINGRATEFACTOR() (*big.Int, error) + func (_VaultV2b *VaultV2bSession) MAXLIQUIDATIONFEEUSD() (*big.Int, error) + func (_VaultV2b *VaultV2bSession) MINFUNDINGRATEINTERVAL() (*big.Int, error) + func (_VaultV2b *VaultV2bSession) MINLEVERAGE() (*big.Int, error) + func (_VaultV2b *VaultV2bSession) MarginFeeBasisPoints() (*big.Int, error) + func (_VaultV2b *VaultV2bSession) MaxGasPrice() (*big.Int, error) + func (_VaultV2b *VaultV2bSession) MaxGlobalShortSizes(arg0 common.Address) (*big.Int, error) + func (_VaultV2b *VaultV2bSession) MaxLeverage() (*big.Int, error) + func (_VaultV2b *VaultV2bSession) MaxUsdgAmounts(arg0 common.Address) (*big.Int, error) + func (_VaultV2b *VaultV2bSession) MinProfitBasisPoints(arg0 common.Address) (*big.Int, error) + func (_VaultV2b *VaultV2bSession) MinProfitTime() (*big.Int, error) + func (_VaultV2b *VaultV2bSession) MintBurnFeeBasisPoints() (*big.Int, error) + func (_VaultV2b *VaultV2bSession) PRICEPRECISION() (*big.Int, error) + func (_VaultV2b *VaultV2bSession) PoolAmounts(arg0 common.Address) (*big.Int, error) + func (_VaultV2b *VaultV2bSession) Positions(arg0 [32]byte) (struct{ ... }, error) + func (_VaultV2b *VaultV2bSession) PriceFeed() (common.Address, error) + func (_VaultV2b *VaultV2bSession) RemoveRouter(_router common.Address) (*types.Transaction, error) + func (_VaultV2b *VaultV2bSession) ReservedAmounts(arg0 common.Address) (*big.Int, error) + func (_VaultV2b *VaultV2bSession) Router() (common.Address, error) + func (_VaultV2b *VaultV2bSession) SellUSDG(_token common.Address, _receiver common.Address) (*types.Transaction, error) + func (_VaultV2b *VaultV2bSession) SetBufferAmount(_token common.Address, _amount *big.Int) (*types.Transaction, error) + func (_VaultV2b *VaultV2bSession) SetError(_errorCode *big.Int, _error string) (*types.Transaction, error) + func (_VaultV2b *VaultV2bSession) SetErrorController(_errorController common.Address) (*types.Transaction, error) + func (_VaultV2b *VaultV2bSession) SetFees(_taxBasisPoints *big.Int, _stableTaxBasisPoints *big.Int, ...) (*types.Transaction, error) + func (_VaultV2b *VaultV2bSession) SetFundingRate(_fundingInterval *big.Int, _fundingRateFactor *big.Int, ...) (*types.Transaction, error) + func (_VaultV2b *VaultV2bSession) SetGov(_gov common.Address) (*types.Transaction, error) + func (_VaultV2b *VaultV2bSession) SetInManagerMode(_inManagerMode bool) (*types.Transaction, error) + func (_VaultV2b *VaultV2bSession) SetInPrivateLiquidationMode(_inPrivateLiquidationMode bool) (*types.Transaction, error) + func (_VaultV2b *VaultV2bSession) SetIsLeverageEnabled(_isLeverageEnabled bool) (*types.Transaction, error) + func (_VaultV2b *VaultV2bSession) SetIsSwapEnabled(_isSwapEnabled bool) (*types.Transaction, error) + func (_VaultV2b *VaultV2bSession) SetLiquidator(_liquidator common.Address, _isActive bool) (*types.Transaction, error) + func (_VaultV2b *VaultV2bSession) SetManager(_manager common.Address, _isManager bool) (*types.Transaction, error) + func (_VaultV2b *VaultV2bSession) SetMaxGasPrice(_maxGasPrice *big.Int) (*types.Transaction, error) + func (_VaultV2b *VaultV2bSession) SetMaxGlobalShortSize(_token common.Address, _amount *big.Int) (*types.Transaction, error) + func (_VaultV2b *VaultV2bSession) SetMaxLeverage(_maxLeverage *big.Int) (*types.Transaction, error) + func (_VaultV2b *VaultV2bSession) SetPriceFeed(_priceFeed common.Address) (*types.Transaction, error) + func (_VaultV2b *VaultV2bSession) SetTokenConfig(_token common.Address, _tokenDecimals *big.Int, _tokenWeight *big.Int, ...) (*types.Transaction, error) + func (_VaultV2b *VaultV2bSession) SetUsdgAmount(_token common.Address, _amount *big.Int) (*types.Transaction, error) + func (_VaultV2b *VaultV2bSession) SetVaultUtils(_vaultUtils common.Address) (*types.Transaction, error) + func (_VaultV2b *VaultV2bSession) ShortableTokens(arg0 common.Address) (bool, error) + func (_VaultV2b *VaultV2bSession) StableFundingRateFactor() (*big.Int, error) + func (_VaultV2b *VaultV2bSession) StableSwapFeeBasisPoints() (*big.Int, error) + func (_VaultV2b *VaultV2bSession) StableTaxBasisPoints() (*big.Int, error) + func (_VaultV2b *VaultV2bSession) StableTokens(arg0 common.Address) (bool, error) + func (_VaultV2b *VaultV2bSession) Swap(_tokenIn common.Address, _tokenOut common.Address, _receiver common.Address) (*types.Transaction, error) + func (_VaultV2b *VaultV2bSession) SwapFeeBasisPoints() (*big.Int, error) + func (_VaultV2b *VaultV2bSession) TaxBasisPoints() (*big.Int, error) + func (_VaultV2b *VaultV2bSession) TokenBalances(arg0 common.Address) (*big.Int, error) + func (_VaultV2b *VaultV2bSession) TokenDecimals(arg0 common.Address) (*big.Int, error) + func (_VaultV2b *VaultV2bSession) TokenToUsdMin(_token common.Address, _tokenAmount *big.Int) (*big.Int, error) + func (_VaultV2b *VaultV2bSession) TokenWeights(arg0 common.Address) (*big.Int, error) + func (_VaultV2b *VaultV2bSession) TotalTokenWeights() (*big.Int, error) + func (_VaultV2b *VaultV2bSession) USDGDECIMALS() (*big.Int, error) + func (_VaultV2b *VaultV2bSession) UpdateCumulativeFundingRate(_collateralToken common.Address, _indexToken common.Address) (*types.Transaction, error) + func (_VaultV2b *VaultV2bSession) UpgradeVault(_newVault common.Address, _token common.Address, _amount *big.Int) (*types.Transaction, error) + func (_VaultV2b *VaultV2bSession) UsdToToken(_token common.Address, _usdAmount *big.Int, _price *big.Int) (*big.Int, error) + func (_VaultV2b *VaultV2bSession) UsdToTokenMax(_token common.Address, _usdAmount *big.Int) (*big.Int, error) + func (_VaultV2b *VaultV2bSession) UsdToTokenMin(_token common.Address, _usdAmount *big.Int) (*big.Int, error) + func (_VaultV2b *VaultV2bSession) Usdg() (common.Address, error) + func (_VaultV2b *VaultV2bSession) UsdgAmounts(arg0 common.Address) (*big.Int, error) + func (_VaultV2b *VaultV2bSession) UseSwapPricing() (bool, error) + func (_VaultV2b *VaultV2bSession) ValidateLiquidation(_account common.Address, _collateralToken common.Address, ...) (*big.Int, *big.Int, error) + func (_VaultV2b *VaultV2bSession) VaultUtils() (common.Address, error) + func (_VaultV2b *VaultV2bSession) WhitelistedTokenCount() (*big.Int, error) + func (_VaultV2b *VaultV2bSession) WhitelistedTokens(arg0 common.Address) (bool, error) + func (_VaultV2b *VaultV2bSession) WithdrawFees(_token common.Address, _receiver common.Address) (*types.Transaction, error) + type VaultV2bSwap struct + Account common.Address + AmountIn *big.Int + AmountOut *big.Int + AmountOutAfterFees *big.Int + FeeBasisPoints *big.Int + Raw types.Log + TokenIn common.Address + TokenOut common.Address + type VaultV2bSwapIterator struct + Event *VaultV2bSwap + func (it *VaultV2bSwapIterator) Close() error + func (it *VaultV2bSwapIterator) Error() error + func (it *VaultV2bSwapIterator) Next() bool + type VaultV2bTransactor struct + func NewVaultV2bTransactor(address common.Address, transactor bind.ContractTransactor) (*VaultV2bTransactor, error) + func (_VaultV2b *VaultV2bTransactor) AddRouter(opts *bind.TransactOpts, _router common.Address) (*types.Transaction, error) + func (_VaultV2b *VaultV2bTransactor) BuyUSDG(opts *bind.TransactOpts, _token common.Address, _receiver common.Address) (*types.Transaction, error) + func (_VaultV2b *VaultV2bTransactor) ClearTokenConfig(opts *bind.TransactOpts, _token common.Address) (*types.Transaction, error) + func (_VaultV2b *VaultV2bTransactor) DecreasePosition(opts *bind.TransactOpts, _account common.Address, ...) (*types.Transaction, error) + func (_VaultV2b *VaultV2bTransactor) DirectPoolDeposit(opts *bind.TransactOpts, _token common.Address) (*types.Transaction, error) + func (_VaultV2b *VaultV2bTransactor) IncreasePosition(opts *bind.TransactOpts, _account common.Address, ...) (*types.Transaction, error) + func (_VaultV2b *VaultV2bTransactor) Initialize(opts *bind.TransactOpts, _router common.Address, _usdg common.Address, ...) (*types.Transaction, error) + func (_VaultV2b *VaultV2bTransactor) LiquidatePosition(opts *bind.TransactOpts, _account common.Address, ...) (*types.Transaction, error) + func (_VaultV2b *VaultV2bTransactor) RemoveRouter(opts *bind.TransactOpts, _router common.Address) (*types.Transaction, error) + func (_VaultV2b *VaultV2bTransactor) SellUSDG(opts *bind.TransactOpts, _token common.Address, _receiver common.Address) (*types.Transaction, error) + func (_VaultV2b *VaultV2bTransactor) SetBufferAmount(opts *bind.TransactOpts, _token common.Address, _amount *big.Int) (*types.Transaction, error) + func (_VaultV2b *VaultV2bTransactor) SetError(opts *bind.TransactOpts, _errorCode *big.Int, _error string) (*types.Transaction, error) + func (_VaultV2b *VaultV2bTransactor) SetErrorController(opts *bind.TransactOpts, _errorController common.Address) (*types.Transaction, error) + func (_VaultV2b *VaultV2bTransactor) SetFees(opts *bind.TransactOpts, _taxBasisPoints *big.Int, ...) (*types.Transaction, error) + func (_VaultV2b *VaultV2bTransactor) SetFundingRate(opts *bind.TransactOpts, _fundingInterval *big.Int, ...) (*types.Transaction, error) + func (_VaultV2b *VaultV2bTransactor) SetGov(opts *bind.TransactOpts, _gov common.Address) (*types.Transaction, error) + func (_VaultV2b *VaultV2bTransactor) SetInManagerMode(opts *bind.TransactOpts, _inManagerMode bool) (*types.Transaction, error) + func (_VaultV2b *VaultV2bTransactor) SetInPrivateLiquidationMode(opts *bind.TransactOpts, _inPrivateLiquidationMode bool) (*types.Transaction, error) + func (_VaultV2b *VaultV2bTransactor) SetIsLeverageEnabled(opts *bind.TransactOpts, _isLeverageEnabled bool) (*types.Transaction, error) + func (_VaultV2b *VaultV2bTransactor) SetIsSwapEnabled(opts *bind.TransactOpts, _isSwapEnabled bool) (*types.Transaction, error) + func (_VaultV2b *VaultV2bTransactor) SetLiquidator(opts *bind.TransactOpts, _liquidator common.Address, _isActive bool) (*types.Transaction, error) + func (_VaultV2b *VaultV2bTransactor) SetManager(opts *bind.TransactOpts, _manager common.Address, _isManager bool) (*types.Transaction, error) + func (_VaultV2b *VaultV2bTransactor) SetMaxGasPrice(opts *bind.TransactOpts, _maxGasPrice *big.Int) (*types.Transaction, error) + func (_VaultV2b *VaultV2bTransactor) SetMaxGlobalShortSize(opts *bind.TransactOpts, _token common.Address, _amount *big.Int) (*types.Transaction, error) + func (_VaultV2b *VaultV2bTransactor) SetMaxLeverage(opts *bind.TransactOpts, _maxLeverage *big.Int) (*types.Transaction, error) + func (_VaultV2b *VaultV2bTransactor) SetPriceFeed(opts *bind.TransactOpts, _priceFeed common.Address) (*types.Transaction, error) + func (_VaultV2b *VaultV2bTransactor) SetTokenConfig(opts *bind.TransactOpts, _token common.Address, _tokenDecimals *big.Int, ...) (*types.Transaction, error) + func (_VaultV2b *VaultV2bTransactor) SetUsdgAmount(opts *bind.TransactOpts, _token common.Address, _amount *big.Int) (*types.Transaction, error) + func (_VaultV2b *VaultV2bTransactor) SetVaultUtils(opts *bind.TransactOpts, _vaultUtils common.Address) (*types.Transaction, error) + func (_VaultV2b *VaultV2bTransactor) Swap(opts *bind.TransactOpts, _tokenIn common.Address, _tokenOut common.Address, ...) (*types.Transaction, error) + func (_VaultV2b *VaultV2bTransactor) UpdateCumulativeFundingRate(opts *bind.TransactOpts, _collateralToken common.Address, ...) (*types.Transaction, error) + func (_VaultV2b *VaultV2bTransactor) UpgradeVault(opts *bind.TransactOpts, _newVault common.Address, _token common.Address, ...) (*types.Transaction, error) + func (_VaultV2b *VaultV2bTransactor) WithdrawFees(opts *bind.TransactOpts, _token common.Address, _receiver common.Address) (*types.Transaction, error) + type VaultV2bTransactorRaw struct + Contract *VaultV2bTransactor + func (_VaultV2b *VaultV2bTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error) + func (_VaultV2b *VaultV2bTransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error) + type VaultV2bTransactorSession struct + Contract *VaultV2bTransactor + TransactOpts bind.TransactOpts + func (_VaultV2b *VaultV2bTransactorSession) AddRouter(_router common.Address) (*types.Transaction, error) + func (_VaultV2b *VaultV2bTransactorSession) BuyUSDG(_token common.Address, _receiver common.Address) (*types.Transaction, error) + func (_VaultV2b *VaultV2bTransactorSession) ClearTokenConfig(_token common.Address) (*types.Transaction, error) + func (_VaultV2b *VaultV2bTransactorSession) DecreasePosition(_account common.Address, _collateralToken common.Address, ...) (*types.Transaction, error) + func (_VaultV2b *VaultV2bTransactorSession) DirectPoolDeposit(_token common.Address) (*types.Transaction, error) + func (_VaultV2b *VaultV2bTransactorSession) IncreasePosition(_account common.Address, _collateralToken common.Address, ...) (*types.Transaction, error) + func (_VaultV2b *VaultV2bTransactorSession) Initialize(_router common.Address, _usdg common.Address, _priceFeed common.Address, ...) (*types.Transaction, error) + func (_VaultV2b *VaultV2bTransactorSession) LiquidatePosition(_account common.Address, _collateralToken common.Address, ...) (*types.Transaction, error) + func (_VaultV2b *VaultV2bTransactorSession) RemoveRouter(_router common.Address) (*types.Transaction, error) + func (_VaultV2b *VaultV2bTransactorSession) SellUSDG(_token common.Address, _receiver common.Address) (*types.Transaction, error) + func (_VaultV2b *VaultV2bTransactorSession) SetBufferAmount(_token common.Address, _amount *big.Int) (*types.Transaction, error) + func (_VaultV2b *VaultV2bTransactorSession) SetError(_errorCode *big.Int, _error string) (*types.Transaction, error) + func (_VaultV2b *VaultV2bTransactorSession) SetErrorController(_errorController common.Address) (*types.Transaction, error) + func (_VaultV2b *VaultV2bTransactorSession) SetFees(_taxBasisPoints *big.Int, _stableTaxBasisPoints *big.Int, ...) (*types.Transaction, error) + func (_VaultV2b *VaultV2bTransactorSession) SetFundingRate(_fundingInterval *big.Int, _fundingRateFactor *big.Int, ...) (*types.Transaction, error) + func (_VaultV2b *VaultV2bTransactorSession) SetGov(_gov common.Address) (*types.Transaction, error) + func (_VaultV2b *VaultV2bTransactorSession) SetInManagerMode(_inManagerMode bool) (*types.Transaction, error) + func (_VaultV2b *VaultV2bTransactorSession) SetInPrivateLiquidationMode(_inPrivateLiquidationMode bool) (*types.Transaction, error) + func (_VaultV2b *VaultV2bTransactorSession) SetIsLeverageEnabled(_isLeverageEnabled bool) (*types.Transaction, error) + func (_VaultV2b *VaultV2bTransactorSession) SetIsSwapEnabled(_isSwapEnabled bool) (*types.Transaction, error) + func (_VaultV2b *VaultV2bTransactorSession) SetLiquidator(_liquidator common.Address, _isActive bool) (*types.Transaction, error) + func (_VaultV2b *VaultV2bTransactorSession) SetManager(_manager common.Address, _isManager bool) (*types.Transaction, error) + func (_VaultV2b *VaultV2bTransactorSession) SetMaxGasPrice(_maxGasPrice *big.Int) (*types.Transaction, error) + func (_VaultV2b *VaultV2bTransactorSession) SetMaxGlobalShortSize(_token common.Address, _amount *big.Int) (*types.Transaction, error) + func (_VaultV2b *VaultV2bTransactorSession) SetMaxLeverage(_maxLeverage *big.Int) (*types.Transaction, error) + func (_VaultV2b *VaultV2bTransactorSession) SetPriceFeed(_priceFeed common.Address) (*types.Transaction, error) + func (_VaultV2b *VaultV2bTransactorSession) SetTokenConfig(_token common.Address, _tokenDecimals *big.Int, _tokenWeight *big.Int, ...) (*types.Transaction, error) + func (_VaultV2b *VaultV2bTransactorSession) SetUsdgAmount(_token common.Address, _amount *big.Int) (*types.Transaction, error) + func (_VaultV2b *VaultV2bTransactorSession) SetVaultUtils(_vaultUtils common.Address) (*types.Transaction, error) + func (_VaultV2b *VaultV2bTransactorSession) Swap(_tokenIn common.Address, _tokenOut common.Address, _receiver common.Address) (*types.Transaction, error) + func (_VaultV2b *VaultV2bTransactorSession) UpdateCumulativeFundingRate(_collateralToken common.Address, _indexToken common.Address) (*types.Transaction, error) + func (_VaultV2b *VaultV2bTransactorSession) UpgradeVault(_newVault common.Address, _token common.Address, _amount *big.Int) (*types.Transaction, error) + func (_VaultV2b *VaultV2bTransactorSession) WithdrawFees(_token common.Address, _receiver common.Address) (*types.Transaction, error) + type VaultV2bUpdateFundingRate struct + FundingRate *big.Int + Raw types.Log + Token common.Address + type VaultV2bUpdateFundingRateIterator struct + Event *VaultV2bUpdateFundingRate + func (it *VaultV2bUpdateFundingRateIterator) Close() error + func (it *VaultV2bUpdateFundingRateIterator) Error() error + func (it *VaultV2bUpdateFundingRateIterator) Next() bool + type VaultV2bUpdatePnl struct + Delta *big.Int + HasProfit bool + Key [32]byte + Raw types.Log + type VaultV2bUpdatePnlIterator struct + Event *VaultV2bUpdatePnl + func (it *VaultV2bUpdatePnlIterator) Close() error + func (it *VaultV2bUpdatePnlIterator) Error() error + func (it *VaultV2bUpdatePnlIterator) Next() bool + type VaultV2bUpdatePosition struct + AveragePrice *big.Int + Collateral *big.Int + EntryFundingRate *big.Int + Key [32]byte + MarkPrice *big.Int + Raw types.Log + RealisedPnl *big.Int + ReserveAmount *big.Int + Size *big.Int + type VaultV2bUpdatePositionIterator struct + Event *VaultV2bUpdatePosition + func (it *VaultV2bUpdatePositionIterator) Close() error + func (it *VaultV2bUpdatePositionIterator) Error() error + func (it *VaultV2bUpdatePositionIterator) Next() bool