Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
0x271d…61e6
Balances ($0.00)
Asset | Symbol | Type | Quantity | Price | Value |
---|---|---|---|---|---|
gro3Crv | ERC-20 | 2.011677M | -- | -- |
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 16732779 | 2 years ago | | | 0 | 0.0010938650 | |
| 16721245 | 2 years ago | | | 0 | 0.0067526402 | |
| 16697456 | 2 years ago | | | 0 | 0.0011272660 |
ABI
ABI objects
Getter at block 21326790 gTokenTotalAssets() view returns (uint256) pnlDistribution() view returns (uint256[2] newTrancheBalances, int256 profit, int256 loss) utilisation() view returns (uint256)
NO_OF_TOKENS() view returns (uint256)
1
NO_OF_TRANCHES() view returns (uint256)
2
getYieldTokenValues() view returns (uint256[1] values)
[2020764933655804008590778]
hasMigrated() view returns (bool)
false
hasMigratedFromOldTranche() view returns (bool)
true
minDeposit() view returns (uint256)
1000000000000000000
oracle() view returns (address)
0x7d412e8df10a7ca21a978e571583a5820b66dccd
owner() view returns (address)
0x359f4fe841f246a095a82cb26f5819e10a91fe0d
pnl() view returns (address)
0x271d1b123932b5b469aabc9c5b870d2a744861e6
utilisationThreshold() view returns (uint256)
115792089237316195423570985008687907853269984665640564039457584007913129639935
Read-only
getTrancheToken(bool _tranche) view returns (address trancheToken)
getYieldToken(uint256 _index) view returns (address yieldToken)
getYieldTokenDecimals(uint256 _index) view returns (uint256 decimals)
tokenBalances(uint256) view returns (uint256)
trancheBalances(bool) view returns (uint256)
State-modifying
Events deposit(uint256 _amount, uint256 _index, bool _tranche, address _recipient) returns (uint256 trancheAmount, uint256 calcAmount)
finalizeMigration()
migrate(address _oldGTranche)
migrateFromOldTranche()
prepareMigration(address _newGTranche)
renounceOwnership()
setPnL(address _pnl)
setUtilisationThreshold(uint256 _newThreshold)
transferOwnership(address newOwner)
withdraw(uint256 _amount, uint256 _index, bool _tranche, address _recipient) returns (uint256 yieldTokenAmounts, uint256 calcAmount)
LogMigration(uint256 JuniorTrancheBalance, uint256 SeniorTrancheBalance, uint256[] YieldTokenBalances)
LogMigrationFinished(address newGTranche)
LogMigrationPrepared(address newGTranche)
LogNewDeposit(address indexed sender, address indexed recipient, uint256 amount, uint256 index, bool indexed tranche, uint256 calcAmount)
LogNewPnL(int256 profit, int256 loss)
LogNewTrancheBalance(uint256[2] balances, uint256 _utilisation)
LogNewUtilisationThreshold(uint256 newThreshold)
LogNewWithdrawal(address indexed sender, address indexed recipient, uint256 amount, uint256 index, bool indexed tranche, uint256 yieldTokenAmounts, uint256 calcAmount)
LogSetNewPnLLogic(address pnl)
OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
constructor(address[] _yieldTokens, address[2] _trancheTokens, address _oracle, address _gMigration)
This contract contains no fallback and receive objects.
AlreadyMigrated()
IndexTooHigh()
MsgSenderNotTranche()
NoAssets()
NotEnoughBalance()
UtilisationTooHigh()