gDAI

Verified contract

Proxy

Active on Ethereum with 85 txns
Deployed by via 0xb7b70287 at 11350047
Slot
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
ERC-20
Value $33.96
ERC-20
--
ERC-20
--
ERC-20
--
0xfcb10e641dcc562c3a4c3f8dfafb42e1cd4d7c593d0d55e181f86cfa8f98869e
0xea6c4c62a3ee0fc080c1daeb069afd349dd42136f5ab4229c4673506c27c93a4
0x25e75a101d627c07dec603c8918933799d7a44e23590cec440750f9b71cb161c
0xce7b13b71ea9dcc67044adfd9f0521583136c5e4e674927513480450fc0fa78f
0xaa6fd4160b92f98d9a982a6e989343de06b0f35501db333735cf5d771c36aa71
0x0872255d9c7b7f769e067d2655c1b0717b427732c1cae66ee74528a0ee9fcf39
0x52c5dbed53edfb9c6eae2468c16fbb7f8ee5d90e7a9857accbc4581be93774be
0x962ff078f6dc95e0eee102f47f9cf435c4c600fbbf0bc3b85130c44b9d59708b
0x882345713318fca614f31b282aa2eb796915765b2faf6486acb065c52e620928
0x4ecaf65bf2a91749988447388d7c6c3908affe6c9e4dddfd2dd08ae338210089

Functions
Getter at block 21224808
decimals(view returns (uint8)
18
depositFee(view returns (uint256 _depositFee)
20000000000000000
getRebalanceMargins(view returns (uint256 _liquidRebalanceMarginuint256 _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
 
totalReserve(view returns (uint256 _totalReserve)
totalSupply(view returns (uint256)
306127539997992637457
withdrawalFee(view returns (uint256 _withdrawalFee)
0
Read-only
allowance(address owneraddress spenderview returns (uint256)
balanceOf(address accountview returns (uint256)
calcDepositCostFromShares(uint256 _netSharesuint256 _totalReserveuint256 _totalSupplyuint256 _depositFeepure returns (uint256 _costuint256 _feeShares)
calcDepositSharesFromCost(uint256 _costuint256 _totalReserveuint256 _totalSupplyuint256 _depositFeepure returns (uint256 _netSharesuint256 _feeShares)
calcWithdrawalCostFromShares(uint256 _grossSharesuint256 _totalReserveuint256 _totalSupplyuint256 _withdrawalFeepure returns (uint256 _costuint256 _feeShares)
calcWithdrawalSharesFromCost(uint256 _costuint256 _totalReserveuint256 _totalSupplyuint256 _withdrawalFeepure returns (uint256 _grossSharesuint256 _feeShares)
tokenAt(uint256 _indexview returns (address _token)
tokenPercent(address _tokenview returns (uint256 _percent)
State-modifying
allocateLiquidityPool(uint256 _stakesAmountuint256 _sharesAmount
anounceTokenPercentTransfer(address _sourceTokenaddress _targetTokenuint256 _percent
approve(address spenderuint256 amountreturns (bool)
burnLiquidityPoolPortion(
cancelLiquidityPoolMigration(
completeLiquidityPoolMigration(
decreaseAllowance(address spenderuint256 subtractedValuereturns (bool)
deposit(uint256 _cost
increaseAllowance(address spenderuint256 addedValuereturns (bool)
initiateLiquidityPoolMigration(address _migrationRecipient
insertToken(address _token
removeToken(address _token
renounceOwnership(
setLiquidityPoolBurningRate(uint256 _burningRate
setRebalanceMargins(uint256 _liquidRebalanceMarginuint256 _portfolioRebalanceMargin
transfer(address recipientuint256 amountreturns (bool)
transferFrom(address senderaddress recipientuint256 amountreturns (bool)
transferOwnership(address newOwner
transferTokenPercent(address _sourceTokenaddress _targetTokenuint256 _percent
withdraw(uint256 _grossShares
Events
AnnounceTokenPercentTransfer(address indexed _sourceTokenaddress indexed _targetTokenuint256 _percent
Approval(address indexed owneraddress indexed spenderuint256 value
BurnLiquidityPoolPortion(uint256 _stakesAmountuint256 _sharesAmount
CancelLiquidityPoolMigration(address indexed _migrationRecipient
ChangeTokenPercent(address indexed _tokenuint256 _oldPercentuint256 _newPercent
CompleteLiquidityPoolMigration(address indexed _migrationRecipientuint256 _stakesAmountuint256 _sharesAmount
InitiateLiquidityPoolMigration(address indexed _migrationRecipient
InsertToken(address indexed _token
OwnershipTransferred(address indexed previousOwneraddress indexed newOwner
RemoveToken(address indexed _token
Transfer(address indexed fromaddress indexed touint256 value
TransferTokenPercent(address indexed _sourceTokenaddress indexed _targetTokenuint256 _percent
Constructor
constructor(
Fallback and receive

This contract contains no fallback and receive objects.

Errors

This contract contains no error objects.