Gains Network USDC
Verified contract
Proxy
Active on
Base with 4,195 txns
Unified storage
Map
Table
Raw
Constants and immutables
0
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
-
variable spans 49 additional slots
-
variable spans 44 additional slots
-
variable spans 48 additional slots
-
variable spans 48 additional slots
0x7d01…5ceb
0xefa1…be37
-
variable spans 1 additional slot
39 additional
variables
Balances ($4,151,433.92)
Asset | Symbol | Type | Quantity | Price | Value |
---|---|---|---|---|---|
USDC | ERC-20 | 3.916443M | $1.001 |
$3,920,359.46 | |
gUSDC | ERC-20 | 226.988571K | $1.018 |
$231,074.37 | |
ETHO | ERC-20 | 10 | $0.009846 |
$0.1 | |
DOB | ERC-20 | 1K | -- | -- |
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 22750824 | an hour ago | | | 0 | 0.0000060398440 | |
| 22749749 | 2 hours ago | | | 0 | 0.0000060398440 | |
| 22745163 | 4 hours ago | | | 0 | 0.0000060398440 | |
| 22741702 | 6 hours ago | | | 0 | 0.0000060008281 | |
| 22741699 | 6 hours ago | | | 0 | 0.0000060008281 | |
| 22741697 | 6 hours ago | | | 0 | 0.0000060008281 | |
| 22741682 | 6 hours ago | | | 0 | 0.0000060008281 | |
| 22738442 | 8 hours ago | | | 0 | 3.4110136e-7 | |
| 22734577 | 10 hours ago | | | 0 | 0.0000058715953 | |
| 22731789 | 12 hours ago | | | 0 | 0.0000057803247 |
ABI
ABI objects
Getter at block 22752535 gnsTokenToAssetsPrice() view returns (uint256 price)
MIN_LOCK_DURATION() view returns (uint256)
1209600
accBlockWeightedMarketCap() view returns (uint256)
0
accBlockWeightedMarketCapLastStored() view returns (uint256)
0
accPnlPerToken() view returns (int256)
-235145544596115174
accPnlPerTokenUsed() view returns (int256)
-205883733712749284
accRewardsPerToken() view returns (uint256)
19952968514474756
admin() view returns (address)
0xe8997c502fcd0729b462fca19a50cf0daea0cab5
asset() view returns (address)
0x833589fcd6edb6e08f4c7c32d4f71b54bda02913
assetsToDeplete() view returns (uint256)
0
availableAssets() view returns (uint256)
3825443823754
collateralConfig() view returns (uint128 precision, uint128 precisionDelta)
(precision=1000000, precisionDelta=1000000000000)
collateralizationP() view returns (uint256)
120185610520121493830
currentEpoch() view returns (uint256)
20
currentEpochPositiveOpenPnl() view returns (uint256)
0
currentEpochStart() view returns (uint256)
1732070009
currentMaxSupply() view returns (uint256)
3182944087826
dailyAccPnlDelta() view returns (int256)
776823581807400
dailyMintedGns() view returns (uint256)
0
decimals() view returns (uint8)
6
gnsPriceProvider() view returns (address addr, bytes signature)
(addr=0x6cd5ac19a07518a8092eeffda4f1174c72704eeb, signature=0x1de109d2)
gnsToken() view returns (address)
0xfb1aaba03c31ea98a3eec7591808acb1947ee7ac
lastDailyAccPnlDeltaReset() view returns (uint256)
1732232501
lastDailyMintedGnsReset() view returns (uint256)
0
lastMaxSupplyUpdate() view returns (uint256)
1732232501
lockedDepositNft() view returns (address)
0x7d0131aceefd2acc919d7b2ac32e8e6c81a05ceb
lockedDepositsCount() view returns (uint256)
16
lossesBurnP() view returns (uint256)
0
manager() view returns (address)
0x03908e9aeba0a23c1c476f946b99b6e9ea0b8f08
marketCap() view returns (uint256)
3182946616653
maxAccOpenPnlDelta() view returns (uint256)
250000000000000000
maxAccPnlPerToken() view returns (uint256)
1019952968514474756
maxDailyAccPnlDelta() view returns (uint256)
500000000000000000
maxDiscountP() view returns (uint256)
5000000000000000000
maxDiscountThresholdP() view returns (uint256)
150000000000000000000
maxGnsSupplyMintDailyP() view returns (uint256)
50000000000000000
maxSupplyIncreaseDailyP() view returns (uint256)
2000000000000000000
name() view returns (string)
Gains Network USDC
openTradesPnlFeed() view returns (address)
0xefa1c2753dad877bb6531bba9d9c589b5433be37
owner() view returns (address)
0x3a00b1fa6cb7d07043fc2b2066066735f9419e7a
pnlHandler() view returns (address)
0x6cd5ac19a07518a8092eeffda4f1174c72704eeb
shareToAssetsPrice() view returns (uint256)
1019952968514474756
symbol() view returns (string)
gUSDC
totalAssets() view returns (uint256)
3916443016036
totalClosedPnl() view returns (int256)
-733856300570
totalDepleted() view returns (uint256)
0
totalDepletedGns() view returns (uint256)
0
totalDeposited() view returns (uint256)
3182586715466
totalDiscounts() view returns (uint256)
359901517
totalLiability() view returns (int256)
-733813948974
totalLockedDiscounts() view returns (uint256)
317549921
totalRefilled() view returns (uint256)
0
totalRefilledGns() view returns (uint256)
0
totalRewards() view returns (uint256)
44821030650
totalSupply() view returns (uint256)
3120679791039
tvl() view returns (uint256)
3182946616653
withdrawEpochsTimelock() view returns (uint256)
1
Read-only
allowance(address owner, address spender) view returns (uint256)
balanceOf(address account) view returns (uint256)
convertToAssets(uint256 shares) view returns (uint256)
convertToShares(uint256 assets) view returns (uint256)
getLockedDeposit(uint256 depositId) view returns (struct IGTokenLockedDeposit)
lockDiscountP(uint256 collatP, uint256 lockDuration) view returns (uint256)
lockedDeposits(uint256) view returns (address owner, uint256 shares, uint256 assetsDeposited, uint256 assetsDiscount, uint256 atTimestamp, uint256 lockDuration)
maxDeposit(address owner) view returns (uint256)
maxMint(address) view returns (uint256)
maxRedeem(address owner) view returns (uint256)
maxWithdraw(address owner) view returns (uint256)
previewDeposit(uint256 assets) view returns (uint256)
previewMint(uint256 shares) view returns (uint256)
previewRedeem(uint256 shares) view returns (uint256)
previewWithdraw(uint256 assets) view returns (uint256)
totalSharesBeingWithdrawn(address owner) view returns (uint256 shares)
withdrawLockThresholdsP(uint256) view returns (uint256)
withdrawRequests(address, uint256) view returns (uint256)
State-modifying
Events approve(address spender, uint256 amount) returns (bool)
cancelWithdrawRequest(uint256 shares, address owner, uint256 unlockEpoch)
decreaseAllowance(address spender, uint256 subtractedValue) returns (bool)
deplete(uint256 assets)
deposit(uint256 assets, address receiver) returns (uint256)
depositWithDiscountAndLock(uint256 assets, uint256 lockDuration, address receiver) returns (uint256)
distributeReward(uint256 assets)
increaseAllowance(address spender, uint256 addedValue) returns (bool)
initialize(struct IGTokenMeta _meta, struct IGTokenContractAddresses _contractAddresses, uint256 _MIN_LOCK_DURATION, uint256 _maxAccOpenPnlDelta, uint256 _maxDailyAccPnlDelta, uint256[2] _withdrawLockThresholdsP, uint256 _maxSupplyIncreaseDailyP, uint256 _lossesBurnP, uint256 _maxGnsSupplyMintDailyP, uint256 _maxDiscountP, uint256 _maxDiscountThresholdP)
initializeV3()
makeWithdrawRequest(uint256 shares, address owner)
mint(uint256 shares, address receiver) returns (uint256)
mintWithDiscountAndLock(uint256 shares, uint256 lockDuration, address receiver) returns (uint256)
receiveAssets(uint256 assets, address user)
redeem(uint256 shares, address receiver, address owner) returns (uint256)
refill(uint256 assets)
renounceOwnership()
sendAssets(uint256 assets, address receiver)
transfer(address to, uint256 amount) returns (bool)
transferFrom(address from, address to, uint256 amount) returns (bool)
transferOwnership(address newOwner)
tryNewOpenPnlRequestOrEpoch()
tryResetDailyAccPnlDelta()
tryUpdateCurrentMaxSupply()
unlockDeposit(uint256 depositId, address receiver)
updateAccPnlPerTokenUsed(uint256 prevPositiveOpenPnl, uint256 newPositiveOpenPnl) returns (uint256)
updateAdmin(address newValue)
updateDelegatee(address _delegatee)
updateGnsPriceProvider(struct IGTokenGnsPriceProvider newValue)
updateLossesBurnP(uint256 newValue)
updateManager(address newValue)
updateMaxAccOpenPnlDelta(uint256 newValue)
updateMaxDailyAccPnlDelta(uint256 newValue)
updateMaxDiscountP(uint256 newValue)
updateMaxDiscountThresholdP(uint256 newValue)
updateMaxGnsSupplyMintDailyP(uint256 newValue)
updateMaxSupplyIncreaseDailyP(uint256 newValue)
updateOpenTradesPnlFeed(address newValue)
updatePnlHandler(address newValue)
updateWithdrawLockThresholdsP(uint256[2] newValue)
withdraw(uint256 assets, address receiver, address owner) returns (uint256)
AccPnlPerTokenUsedUpdated(address indexed sender, uint256 indexed newEpoch, uint256 prevPositiveOpenPnl, uint256 newPositiveOpenPnl, uint256 newEpochPositiveOpenPnl, int256 newAccPnlPerTokenUsed)
AdminUpdated(address newValue)
Approval(address indexed owner, address indexed spender, uint256 value)
AssetsReceived(address indexed sender, address indexed user, uint256 assets, uint256 assetsLessDeplete)
AssetsSent(address indexed sender, address indexed receiver, uint256 assets)
CurrentMaxSupplyUpdated(uint256 newValue)
DailyAccPnlDeltaReset()
Delegated(address indexed asset, address indexed delegatee, bool success)
Depleted(address indexed sender, uint256 assets, uint256 amountGns)
Deposit(address indexed sender, address indexed owner, uint256 assets, uint256 shares)
DepositLocked(address indexed sender, address indexed owner, uint256 depositId, struct IGTokenLockedDeposit d)
DepositUnlocked(address indexed sender, address indexed receiver, address indexed owner, uint256 depositId, struct IGTokenLockedDeposit d)
GnsPriceProviderUpdated(struct IGTokenGnsPriceProvider newValue)
Initialized(uint8 version)
LossesBurnPUpdated(uint256 newValue)
ManagerUpdated(address newValue)
MaxAccOpenPnlDeltaUpdated(uint256 newValue)
MaxDailyAccPnlDeltaUpdated(uint256 newValue)
MaxDiscountPUpdated(uint256 newValue)
MaxDiscountThresholdPUpdated(uint256 newValue)
MaxGnsSupplyMintDailyPUpdated(uint256 newValue)
MaxSupplyIncreaseDailyPUpdated(uint256 newValue)
OpenTradesPnlFeedCallFailed()
OpenTradesPnlFeedUpdated(address newValue)
OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
PnlHandlerUpdated(address newValue)
Refilled(address indexed sender, uint256 assets, uint256 amountGns)
RewardDistributed(address indexed sender, uint256 assets)
ShareToAssetsPriceUpdated(uint256 newValue)
Transfer(address indexed from, address indexed to, uint256 value)
Withdraw(address indexed sender, address indexed receiver, address indexed owner, uint256 assets, uint256 shares)
WithdrawCanceled(address indexed sender, address indexed owner, uint256 shares, uint256 currEpoch, uint256 indexed unlockEpoch)
WithdrawLockThresholdsPUpdated(uint256[2] newValue)
WithdrawRequested(address indexed sender, address indexed owner, uint256 shares, uint256 currEpoch, uint256 indexed unlockEpoch)
This contract contains no constructor objects.
This contract contains no fallback and receive objects.
AboveInflationLimit()
AboveMax()
AddressZero()
BelowMin()
BytesZero()
ERC4626ExceededMaxDeposit()
ERC4626ExceededMaxMint()
ERC4626ExceededMaxRedeem()
ERC4626ExceededMaxWithdraw()
EndOfEpoch()
GnsPriceCallFailed()
GnsTokenPriceZero()
MaxDailyPnl()
NoActiveDiscount()
NoDiscount()
NotAllowed()
NotEnoughAssets()
NotUnderCollateralized()
NotUnlocked()
OnlyManager()
OnlyPnlFeed()
OnlyTradingPnlHandler()
OwnableInvalidOwner(address owner)
PendingWithdrawal()
PriceZero()
ValueZero()
WrongValue()
WrongValues()