BlackHoleSwap-Compound DAI/USDC v1

Verified contract

Active on Ethereum with 4,339 txns
Deployed by via 0x8ee6c5ee at 10667214
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
ERC-20
Value $43,304.86
ERC-20
Value $41,995.77
ERC-20
Value $4,400
ERC-20
--
ERC-20
--
0x78e3dd3aae6625f94c7ef534792d8182e796c736c43cf67057eab1be752b46d4
0x50bc4ea5492f0553c8751376ce352e0ce3af7e76051d6a1bd3f2fbd99fa8c170
0xd0dafa6c3888830c61b044e857eab62265a82d1f66f3574e26b853dce709e89c
From
0x6cc731ddfe64c7124ee5e951115470ad61a36a50fe8751aceea5c67914d9d49c
From
0x1be70e1086d7fed209e49c787029699ca4ba12438d2759e441fa82c3e503eab1
From
0xd5186f1d7ce050f79a25b25499028a9b6f0f1a501850715d2aad4b5c3df378d4
0x3e29a348c7418c28986ccc872f5320d0cd6a8f9fb69d27588d8317d661dde7e7
0x6c2da95a76b12ee6f2d91c98f8313c6c1b5487bb47af78398e5ffdeafc67cb93
0x4c04406de5ff83dbb4235dae43c2ab28d662242139c78aef45ab72c55961a679
0xaa4a358143923ab0e7a6348cf81d9131123f58f276f55b8a8c80919be1a5dbaa

Functions
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 owneraddress spenderview returns (uint256)
balanceOf(address ownerview returns (uint256)
getInputPrice(uint256 inputuint256 auint256 buint256 cuint256 dpure returns (uint256)
getOutputPrice(uint256 outputuint256 auint256 buint256 cuint256 dpure returns (uint256)
State-modifying
S(returns (uint256)
addLiquidity(uint256 shareuint256[4] tokensreturns (uint256 dai_inuint256 dai_outuint256 usdc_inuint256 usdc_out)
approve(address spenderuint256 valuereturns (bool)
collectComp(
dai2usdcIn(uint256 inputuint256 min_outputuint256 deadlinereturns (uint256)
dai2usdcOut(uint256 max_inputuint256 outputuint256 deadlinereturns (uint256)
getDaiBalance(returns (uint256uint256)
getUSDCBalance(returns (uint256uint256)
removeLiquidity(uint256 shareuint256[4] tokensreturns (uint256 dai_inuint256 dai_outuint256 usdc_inuint256 usdc_out)
setAdmin(address _admin
setParams(uint256 _feeuint256 _protocolFee
setVault(address _vault
transfer(address touint256 valuereturns (bool)
transferFrom(address fromaddress touint256 valuereturns (bool)
usdc2daiIn(uint256 inputuint256 min_outputuint256 deadlinereturns (uint256)
usdc2daiOut(uint256 max_inputuint256 outputuint256 deadlinereturns (uint256)
Events
AddLiquidity(address indexed provideruint256 shareint256 DAIAmountint256 USDCAmount
Approval(address indexed owneraddress indexed spenderuint256 value
Purchases(address indexed buyeraddress indexed sell_tokenuint256 inputsaddress indexed buy_tokenuint256 outputs
RemoveLiquidity(address indexed provideruint256 shareint256 DAIAmountint256 USDCAmount
Transfer(address indexed fromaddress indexed touint256 value
Constructor
constructor(
Fallback and receive

This contract contains no fallback and receive objects.

Errors

This contract contains no error objects.