DAI_Compound_Adapter

Verified contract

Active on Ethereum with 1 txns
Deployed by via 0xe81ec70c at 11716190
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
ERC-20
Value $3,440.64
0x0d76f4d07d5ada3951081bcfe295c95ff8d73f0cdcf674201cd921229435a306

Functions
Getter at block 21230160
DAI(view returns (address)
0x6b175474e89094c44da98b954eedeac495271d0f
cDAI(view returns (address)
0x5d3a536e4d6dbd6114cc1ead35777bab948e3643
created(view returns (uint256)
1611462652
get_base_asset_address(view returns (address)
0x6b175474e89094c44da98b954eedeac495271d0f
get_ctoken_balance(view returns (uint256)
14476878751388
governance(view returns (address)
0x09e9ff67d9d5a25fa465db6f0bede5560581f8cb
name(view returns (string)
DAI/Compound
platform(view returns (string)
Compound
saffron_pool(view returns (address)
0xbb3c0d82a2da2dc2d4d3fe1b063913f0dc1c2c8c
Read-only

This contract contains no read-only function objects.

State-modifying
approve_transfer(address addruint256 amount
deploy_capital(uint256 amount
erc_sweep(address _tokenaddress _to
get_exchange_rate(returns (uint256)
get_holdings(returns (uint256)
get_interest(uint256 principalreturns (uint256)
return_capital(uint256 base_asset_amountaddress to
set_base_asset(address addr
set_governance(address to
sweep(address _to
Events
ErcSwept(address whoaddress toaddress tokenuint256 amount
GetExchangeRate(uint256 arg0uint256 arg1
GetHoldings(uint256 holdings
GetInterestEvaluatedToZero(bool zero_interest
ReturnCapital(uint256 cdai_balanceuint256 base_asset_amount
Swept(address whoaddress touint256 cBaluint256 dBal
Constructor
constructor(address _saffron_pooladdress CErc20_contract_addressaddress base_asset_address
Fallback and receive

This contract contains no fallback and receive objects.

Errors

This contract contains no error objects.