BlackHoleSwap-Compound DAI/USDC v1
Verified contract
Active on
Ethereum with 4,339 txns
Balances ($89,700.64)
Asset | Symbol | Type | Quantity | Price | Value |
---|---|---|---|---|---|
cDAI | ERC-20 | 1.810923M | $0.023913 |
$43,304.86 | |
cUSDC | ERC-20 | 1.725296M | $0.024341 |
$41,995.77 | |
UNI | ERC-20 | 400 | $11.00 |
$4,400 | |
BHSc$ | ERC-20 | 61 | -- | -- | |
HQG | ERC-20 | 1 | -- | -- |
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 20703107 | 3 months ago | | | 0 | 0.00044352647 | |
| 20703092 | 3 months ago | | | 0 | 0.00049330336 | |
| 20607184 | 3 months ago | | | 0 | 0.000052350123 | |
| 20607152 | 3 months ago | | | 0 | 0.000060551222 | |
| 20606988 | 3 months ago | | | 0 | 0.00087258140 | |
| 20539520 | 3 months ago | | | 0 | 0.000035405866 | |
| 20465700 | 4 months ago | | | 0 | 0.00068233155 | |
| 20281716 | 5 months ago | | | 0 | 0.000095258161 | |
| 20008467 | 6 months ago | | | 0 | 0.00060682098 | |
| 19746250 | 7 months ago | | | 0 | 0.0032810728 |
ABI
ABI objects
Getter at block 21275462
amplifier() view returns (uint256)
750000000000000000
decimals() view returns (uint8)
18
fee() view returns (uint256)
999700000000000000
name() view returns (string)
BlackHoleSwap-Compound DAI/USDC v1
protocolFee() view returns (uint256)
100000000000000
rate() pure returns (uint256)
1000000000000
symbol() view returns (string)
BHSc$
totalSupply() view returns (uint256)
71414805810523053598206
Read-only
allowance(address owner, address spender) view returns (uint256)
balanceOf(address owner) view returns (uint256)
getInputPrice(uint256 input, uint256 a, uint256 b, uint256 c, uint256 d) pure returns (uint256)
getOutputPrice(uint256 output, uint256 a, uint256 b, uint256 c, uint256 d) pure returns (uint256)
State-modifying
Events S() returns (uint256)
addLiquidity(uint256 share, uint256[4] tokens) returns (uint256 dai_in, uint256 dai_out, uint256 usdc_in, uint256 usdc_out)
approve(address spender, uint256 value) returns (bool)
collectComp()
dai2usdcIn(uint256 input, uint256 min_output, uint256 deadline) returns (uint256)
dai2usdcOut(uint256 max_input, uint256 output, uint256 deadline) returns (uint256)
getDaiBalance() returns (uint256, uint256)
getUSDCBalance() returns (uint256, uint256)
removeLiquidity(uint256 share, uint256[4] tokens) returns (uint256 dai_in, uint256 dai_out, uint256 usdc_in, uint256 usdc_out)
setAdmin(address _admin)
setParams(uint256 _fee, uint256 _protocolFee)
setVault(address _vault)
transfer(address to, uint256 value) returns (bool)
transferFrom(address from, address to, uint256 value) returns (bool)
usdc2daiIn(uint256 input, uint256 min_output, uint256 deadline) returns (uint256)
usdc2daiOut(uint256 max_input, uint256 output, uint256 deadline) returns (uint256)
AddLiquidity(address indexed provider, uint256 share, int256 DAIAmount, int256 USDCAmount)
Approval(address indexed owner, address indexed spender, uint256 value)
Purchases(address indexed buyer, address indexed sell_token, uint256 inputs, address indexed buy_token, uint256 outputs)
RemoveLiquidity(address indexed provider, uint256 share, int256 DAIAmount, int256 USDCAmount)
Transfer(address indexed from, address indexed to, uint256 value)
constructor()
This contract contains no fallback and receive objects.
This contract contains no error objects.