CubePool

Verified contract

Active on Ethereum with 1,274 txns
Deployed by via 0xa6a8f2be at 12153444
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
Native
Value $44,058.27
0x30fd8c17081dc7ff8c1c1d8d15fb6f040d45938328e94dec05a2777533b7e216
0xbb6ac589ae555ea9526b1f3646a8619eb269860ea707cea4ef877327184cb5d3
0x8f0c2e3f77e353596c082a6e9f8eb72e41c8f7c6b9ef5d6c85a44706a63a3437
0x027130401124adc2481f8a24024bf8f40de2ee6612021d03030fe9e232699682
0x3181aa322d74fc31e0a8aa315770b5d563bf0612c0955a436f2633b1b3426a88
0x06c9271acdbc74e2a4cb5403464e044aabed304a1a581b644270159eab9afeb5
0xbc51abeb6ae1427fd094923775ef7fbc74f61efb1402566cf58adf7a6c3c4785
0xa66a7bb7a02ebbf813ab5eda2f8ba450d081bae909cb0e46e38a528b70fb5d9e
0x7217d7cfda9693b97be54d438ddc4326c2ca92a4e0eacb55e2a0ba8a7f03afe5
0xcebf56d32fca86fa29d386cc1fd6823f9660513b74bd3865cc13d6d320a9a46c

Functions
Getter at block 21287778
MIN_TOTAL_EQUITY(view returns (uint256)
1000
accruedProtocolFees(view returns (uint256)
0
cubeTokenImpl(view returns (address)
0x63ac156aab82af415dd24594529d13e47d11a49e
feedsRegistry(view returns (address)
0x2a7963958168f32c0250ae470ccb4bef15db618e
finalized(view returns (bool)
false
governance(view returns (address)
0x9f2aa07f5d8f63fbdcf2f20bc0dd462816c337db
guardian(view returns (address)
0x0000000000000000000000000000000000000000
maxPoolBalance(view returns (uint256)
100000000000000000000
numCubeTokens(view returns (uint256)
12
pendingGovernance(view returns (address)
0x0000000000000000000000000000000000000000
poolBalance(view returns (uint256)
12409977111832782054
protocolFee(view returns (uint256)
2000
totalEquity(view returns (uint256)
68475702502654767263952687024826137312
Read-only
cubeTokens(uint256view returns (address)
cubeTokensMap(stringboolview returns (address)
params(addressview returns (bytes32 currencyKeybool inversebool depositPausedbool withdrawPausedbool updatePausedbool addeduint256 depositWithdrawFeeuint256 maxPoolShareuint256 initialSpotPriceuint256 lastPriceuint256 lastUpdated)
quote(address cubeTokenview returns (uint256)
quoteDeposit(address cubeTokenuint256 ethInview returns (uint256)
quoteWithdraw(address cubeTokenuint256 cubeTokensInview returns (uint256)
State-modifying
acceptGovernance(
addCubeToken(string spotSymbolbool inverseuint256 depositWithdrawFeeuint256 maxPoolSharereturns (address)
collectProtocolFees(
deposit(address cubeTokenaddress recipientpayable returns (uint256 cubeTokensOut)
emergencyWithdraw(
finalize(
setAllPaused(bool depositPausedbool withdrawPausedbool updatePaused
setDepositWithdrawFee(address cubeTokenuint256 depositWithdrawFee
setGovernance(address _governance
setGuardian(address _guardian
setMaxPoolBalance(uint256 _maxPoolBalance
setMaxPoolShare(address cubeTokenuint256 maxPoolShare
setPaused(address cubeTokenbool depositPausedbool withdrawPausedbool updatePaused
setProtocolFee(uint256 _protocolFee
update(address cubeToken
updateAll(uint256 maxStaleTime
withdraw(address cubeTokenuint256 cubeTokensInaddress recipientreturns (uint256 ethOut)
Events
AddCubeToken(address cubeTokenstring spotSymbolbool inversebytes32 currencyKeyuint256 initialSpotPrice
DepositOrWithdraw(address indexed cubeTokenaddress indexed senderaddress indexed recipientbool isDeposituint256 cubeTokenQuantityuint256 ethAmountuint256 protocolFees
Update(address cubeTokenuint256 price
Constructor
constructor(address _feedsRegistryaddress _cubeTokenImpl
Fallback and receive
receive(
Errors

This contract contains no error objects.