IGToken

Interface for GToken contract

GnsPriceProvider

struct GnsPriceProvider {
  address addr;
  bytes signature;
}

LockedDeposit

struct LockedDeposit {
  address owner;
  uint256 shares;
  uint256 assetsDeposited;
  uint256 assetsDiscount;
  uint256 atTimestamp;
  uint256 lockDuration;
}

ContractAddresses

Meta

manager

admin

currentEpoch

currentEpochStart

currentEpochPositiveOpenPnl

updateAccPnlPerTokenUsed

getLockedDeposit

sendAssets

receiveAssets

distributeReward

tvl

marketCap

shareToAssetsPrice

collateralConfig

ManagerUpdated

AdminUpdated

PnlHandlerUpdated

OpenTradesPnlFeedUpdated

GnsPriceProviderUpdated

WithdrawLockThresholdsPUpdated

MaxAccOpenPnlDeltaUpdated

MaxDailyAccPnlDeltaUpdated

MaxSupplyIncreaseDailyPUpdated

LossesBurnPUpdated

MaxGnsSupplyMintDailyPUpdated

MaxDiscountPUpdated

MaxDiscountThresholdPUpdated

CurrentMaxSupplyUpdated

DailyAccPnlDeltaReset

ShareToAssetsPriceUpdated

OpenTradesPnlFeedCallFailed

WithdrawRequested

WithdrawCanceled

DepositLocked

DepositUnlocked

RewardDistributed

AssetsSent

AssetsReceived

Depleted

Refilled

AccPnlPerTokenUsedUpdated

OnlyManager

OnlyTradingPnlHandler

OnlyPnlFeed

AddressZero

PriceZero

ValueZero

BytesZero

NoActiveDiscount

BelowMin

AboveMax

WrongValue

WrongValues

GnsPriceCallFailed

GnsTokenPriceZero

PendingWithdrawal

EndOfEpoch

NotAllowed

NoDiscount

NotUnlocked

NotEnoughAssets

MaxDailyPnl

NotUnderCollateralized

AboveInflationLimit

OwnableInvalidOwner

ERC4626ExceededMaxDeposit

ERC4626ExceededMaxMint

ERC4626ExceededMaxWithdraw

ERC4626ExceededMaxRedeem

Was this helpful?