CubePool
Verified contract
Active on
Ethereum with 1,274 txns
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
Balances ($44,058.27)
Native
Value
$44,058.27
Asset | Symbol | Type | Quantity | Price | Value |
---|---|---|---|---|---|
ETH | Native | 12.409977 | $3,550.23 |
$44,058.27 |
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 15954733 | 2 years ago | | | 0 | 0.00086725791 | |
| 14829181 | 3 years ago | | | 0 | 0.00084667508 | |
| 14829181 | 3 years ago | | | 0 | 0.00056445000 | |
| 14748230 | 3 years ago | | | 0 | 0.0021174946 | |
| 14748210 | 3 years ago | | | 0 | 0.0019259964 | |
| 14738196 | 3 years ago | | | 0 | 0.0010261800 | |
| 14671971 | 3 years ago | | | 0 | 0.0028846407 | |
| 14647443 | 3 years ago | | | 0 | 0.0012366719 | |
| 14647443 | 3 years ago | | | 0 | 0.0012366719 | |
| 14647406 | 3 years ago | | | 0 | 0.0015535435 |
ABI
ABI objects
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(uint256) view returns (address)
cubeTokensMap(string, bool) view returns (address)
params(address) view returns (bytes32 currencyKey, bool inverse, bool depositPaused, bool withdrawPaused, bool updatePaused, bool added, uint256 depositWithdrawFee, uint256 maxPoolShare, uint256 initialSpotPrice, uint256 lastPrice, uint256 lastUpdated)
quote(address cubeToken) view returns (uint256)
quoteDeposit(address cubeToken, uint256 ethIn) view returns (uint256)
quoteWithdraw(address cubeToken, uint256 cubeTokensIn) view returns (uint256)
State-modifying
Events acceptGovernance()
addCubeToken(string spotSymbol, bool inverse, uint256 depositWithdrawFee, uint256 maxPoolShare) returns (address)
collectProtocolFees()
deposit(address cubeToken, address recipient) payable returns (uint256 cubeTokensOut)
emergencyWithdraw()
finalize()
setAllPaused(bool depositPaused, bool withdrawPaused, bool updatePaused)
setDepositWithdrawFee(address cubeToken, uint256 depositWithdrawFee)
setGovernance(address _governance)
setGuardian(address _guardian)
setMaxPoolBalance(uint256 _maxPoolBalance)
setMaxPoolShare(address cubeToken, uint256 maxPoolShare)
setPaused(address cubeToken, bool depositPaused, bool withdrawPaused, bool updatePaused)
setProtocolFee(uint256 _protocolFee)
update(address cubeToken)
updateAll(uint256 maxStaleTime)
withdraw(address cubeToken, uint256 cubeTokensIn, address recipient) returns (uint256 ethOut)
AddCubeToken(address cubeToken, string spotSymbol, bool inverse, bytes32 currencyKey, uint256 initialSpotPrice)
DepositOrWithdraw(address indexed cubeToken, address indexed sender, address indexed recipient, bool isDeposit, uint256 cubeTokenQuantity, uint256 ethAmount, uint256 protocolFees)
Update(address cubeToken, uint256 price)
constructor(address _feedsRegistry, address _cubeTokenImpl)
receive()
This contract contains no error objects.