gDAI
Verified contract
Proxy
Active on
Ethereum with 85 txns
Unified storage
Map
Table
Raw
Constants and immutables
10
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
-
variable spans 6 additional slots
-
variable spans 6 additional slots
Balances ($33.96)
Asset | Symbol | Type | Quantity | Price | Value |
---|---|---|---|---|---|
DAI | ERC-20 | 34.072536 | $0.996632 |
$33.96 | |
gcDAI | ERC-20 | 12.327387K | -- | -- | |
BPT | ERC-20 | 158.739339 | -- | -- | |
gDAI | ERC-20 | 10.73371 | -- | -- |
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 21205588 | 3 days ago | | | 0 | 0.0061207940 | |
| 21203447 | 3 days ago | | | 0 | 0.00033264447 | |
| 21203438 | 3 days ago | | | 0 | 0.0064029079 | |
| 21178262 | 6 days ago | | | 0 | 0.0012486391 | |
| 21178250 | 6 days ago | | | 0 | 0.016257773 | |
| 21177464 | 7 days ago | | | 0 | 0.00091398525 | |
| 21177462 | 7 days ago | | | 0 | 0.012310501 | |
| 19066732 | 10 months ago | | | 0 | 0.0061922224 | |
| 18289741 | a year ago | | | 0 | 0.0049008462 | |
| 15760487 | 2 years ago | | | 0 | 0.0091329340 |
ABI
ABI objects
Getter at block 21224808 totalReserve() view returns (uint256 _totalReserve)
decimals() view returns (uint8)
18
depositFee() view returns (uint256 _depositFee)
20000000000000000
getRebalanceMargins() view returns (uint256 _liquidRebalanceMargin, uint256 _portfolioRebalanceMargin)
(_liquidRebalanceMargin=95000000000000000, _portfolioRebalanceMargin=10000000000000000)
liquidityPool() view returns (address _liquidityPool)
0x285f2e1495c9c9f883b36331ee54bb1d7d0542c5
liquidityPoolBurningRate() view returns (uint256 _burningRate)
5000000000000000
liquidityPoolLastBurningTime() view returns (uint256 _lastBurningTime)
1616630123
liquidityPoolMigrationRecipient() view returns (address _migrationRecipient)
0x80f2dcc36d9548f97a14a3bf73d992fb614e45f4
liquidityPoolMigrationUnlockTime() view returns (uint256 _migrationUnlockTime)
1617235043
name() view returns (string)
growth DAI
owner() view returns (address)
0x3e7ff81efbbadf5fca2810086b7f4c17a4f3682f
reserveToken() view returns (address)
0x6b175474e89094c44da98b954eedeac495271d0f
stakesToken() view returns (address)
0x09e64c2b61a5f1690ee6fbed9baf5d6990f8dfd0
symbol() view returns (string)
gDAI
tokenCount() view returns (uint256 _count)
1
totalSupply() view returns (uint256)
306127539997992637457
withdrawalFee() view returns (uint256 _withdrawalFee)
0
Read-only
allowance(address owner, address spender) view returns (uint256)
balanceOf(address account) view returns (uint256)
calcDepositCostFromShares(uint256 _netShares, uint256 _totalReserve, uint256 _totalSupply, uint256 _depositFee) pure returns (uint256 _cost, uint256 _feeShares)
calcDepositSharesFromCost(uint256 _cost, uint256 _totalReserve, uint256 _totalSupply, uint256 _depositFee) pure returns (uint256 _netShares, uint256 _feeShares)
calcWithdrawalCostFromShares(uint256 _grossShares, uint256 _totalReserve, uint256 _totalSupply, uint256 _withdrawalFee) pure returns (uint256 _cost, uint256 _feeShares)
calcWithdrawalSharesFromCost(uint256 _cost, uint256 _totalReserve, uint256 _totalSupply, uint256 _withdrawalFee) pure returns (uint256 _grossShares, uint256 _feeShares)
tokenAt(uint256 _index) view returns (address _token)
tokenPercent(address _token) view returns (uint256 _percent)
State-modifying
Events allocateLiquidityPool(uint256 _stakesAmount, uint256 _sharesAmount)
anounceTokenPercentTransfer(address _sourceToken, address _targetToken, uint256 _percent)
approve(address spender, uint256 amount) returns (bool)
burnLiquidityPoolPortion()
cancelLiquidityPoolMigration()
completeLiquidityPoolMigration()
decreaseAllowance(address spender, uint256 subtractedValue) returns (bool)
deposit(uint256 _cost)
increaseAllowance(address spender, uint256 addedValue) returns (bool)
initiateLiquidityPoolMigration(address _migrationRecipient)
insertToken(address _token)
removeToken(address _token)
renounceOwnership()
setLiquidityPoolBurningRate(uint256 _burningRate)
setRebalanceMargins(uint256 _liquidRebalanceMargin, uint256 _portfolioRebalanceMargin)
transfer(address recipient, uint256 amount) returns (bool)
transferFrom(address sender, address recipient, uint256 amount) returns (bool)
transferOwnership(address newOwner)
transferTokenPercent(address _sourceToken, address _targetToken, uint256 _percent)
withdraw(uint256 _grossShares)
AnnounceTokenPercentTransfer(address indexed _sourceToken, address indexed _targetToken, uint256 _percent)
Approval(address indexed owner, address indexed spender, uint256 value)
BurnLiquidityPoolPortion(uint256 _stakesAmount, uint256 _sharesAmount)
CancelLiquidityPoolMigration(address indexed _migrationRecipient)
ChangeTokenPercent(address indexed _token, uint256 _oldPercent, uint256 _newPercent)
CompleteLiquidityPoolMigration(address indexed _migrationRecipient, uint256 _stakesAmount, uint256 _sharesAmount)
InitiateLiquidityPoolMigration(address indexed _migrationRecipient)
InsertToken(address indexed _token)
OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
RemoveToken(address indexed _token)
Transfer(address indexed from, address indexed to, uint256 value)
TransferTokenPercent(address indexed _sourceToken, address indexed _targetToken, uint256 _percent)
constructor()
This contract contains no fallback and receive objects.
This contract contains no error objects.