0x0d04146b2fe5d267629a7eb341fb4388dcdbd22f
Verified contract
Proxy
Active on
Ethereum with 9,398 txns
Unified storage
Map
Table
Raw
Constants and immutables
0
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
3 additional
variables
Balances ($528.09)
Asset | Symbol | Type | Quantity | Price | Value |
---|---|---|---|---|---|
USDC | ERC-20 | 415.962375 | $1.001 |
$416.38 | |
COMP | ERC-20 | 1.585068 | $70.48 |
$111.72 | |
TOMATOS | ERC-20 | 9.999 | -- | -- | |
UXT | ERC-20 | 0.175336 | -- | -- |
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 18403481 | a year ago | | | 0 | 0.00079923055 | |
| 18403447 | a year ago | | | 0 | 0.0010663296 | |
| 16670307 | 2 years ago | | | 0 | 0.012300333 | |
| 16436791 | 2 years ago | | | 0 | 0.0032757234 | |
| 16309349 | 2 years ago | | | 0 | 0.0022967172 | |
| 14184106 | 3 years ago | | | 0 | 0.0050752581 | |
| 12663883 | 3 years ago | | | 0 | 0.0016458000 | |
| 12561467 | 3 years ago | | | 0 | 0.0038496480 | |
| 12519043 | 4 years ago | | | 0 | 0.0038416000 | |
| 12518123 | 4 years ago | | | 0 | 0.0042259429 |
ABI
ABI objects
Getter at block 21283755 getExpectedTarget() view returns (uint256 baseTarget, uint256 quoteTarget) getMidPrice() view returns (uint256 midPrice)
_BASE_BALANCE_() view returns (uint256)
1585068472543107622
_BASE_CAPITAL_RECEIVE_QUOTE_() view returns (uint256)
0
_BASE_CAPITAL_TOKEN_() view returns (address)
0x53cf4694b427fcef9bb1f4438b68df51a10228d0
_BASE_TOKEN_() view returns (address)
0xc00e94cb662c3520282e6f5717214004a7f26888
_CLOSED_() view returns (bool)
false
_DEPOSIT_BASE_ALLOWED_() view returns (bool)
true
_DEPOSIT_QUOTE_ALLOWED_() view returns (bool)
true
_GAS_PRICE_LIMIT_() view returns (uint256)
1000000000000000000000000000
_K_() view returns (uint256)
350000000000000000
_LP_FEE_RATE_() view returns (uint256)
40000000000000000
_MAINTAINER_() view returns (address)
0xab21016bd4127638b8c555e36636449b33df1c38
_MT_FEE_RATE_() view returns (uint256)
10000000000000000
_NEW_OWNER_() view returns (address)
0x0000000000000000000000000000000000000000
_ORACLE_() view returns (address)
0x06a9ab707d11db07540ad64fd64ff4e4015c14bc
_OWNER_() view returns (address)
0x95c4f5b83aa70810d4f142d58e5f7242bd891cb0
_QUOTE_BALANCE_() view returns (uint256)
415962375
_QUOTE_CAPITAL_RECEIVE_BASE_() view returns (uint256)
0
_QUOTE_CAPITAL_TOKEN_() view returns (address)
0x51baf2656778ad6d67b19a419f91d38c3d0b87b6
_QUOTE_TOKEN_() view returns (address)
0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48
_R_STATUS_() view returns (uint8)
1
_SUPERVISOR_() view returns (address)
0x9c59990ec0177d87ed7d60a56f584e6b06c639a2
_TARGET_BASE_TOKEN_AMOUNT_() view returns (uint256)
1706082480707424426
_TARGET_QUOTE_TOKEN_AMOUNT_() view returns (uint256)
410524925
_TRADE_ALLOWED_() view returns (bool)
true
getOraclePrice() view returns (uint256)
70586000
getTotalBaseCapital() view returns (uint256)
1866389132362630112
getTotalQuoteCapital() view returns (uint256)
470370749
version() pure returns (uint256)
100
Read-only
_CLAIMED_(address) view returns (bool)
getBaseCapitalBalanceOf(address lp) view returns (uint256)
getLpBaseBalance(address lp) view returns (uint256 lpBalance)
getLpQuoteBalance(address lp) view returns (uint256 lpBalance)
getQuoteCapitalBalanceOf(address lp) view returns (uint256)
getWithdrawBasePenalty(uint256 amount) view returns (uint256 penalty)
getWithdrawQuotePenalty(uint256 amount) view returns (uint256 penalty)
queryBuyBaseToken(uint256 amount) view returns (uint256 payQuote)
querySellBaseToken(uint256 amount) view returns (uint256 receiveQuote)
State-modifying
Events buyBaseToken(uint256 amount, uint256 maxPayQuote, bytes data) returns (uint256)
claimAssets()
claimOwnership()
depositBase(uint256 amount) returns (uint256)
depositBaseTo(address to, uint256 amount) returns (uint256)
depositQuote(uint256 amount) returns (uint256)
depositQuoteTo(address to, uint256 amount) returns (uint256)
disableBaseDeposit()
disableQuoteDeposit()
disableTrading()
donateBaseToken(uint256 amount)
donateQuoteToken(uint256 amount)
enableBaseDeposit()
enableQuoteDeposit()
enableTrading()
finalSettlement()
init(address owner, address supervisor, address maintainer, address baseToken, address quoteToken, address oracle, uint256 lpFeeRate, uint256 mtFeeRate, uint256 k, uint256 gasPriceLimit)
retrieve(address token, uint256 amount)
sellBaseToken(uint256 amount, uint256 minReceiveQuote, bytes data) returns (uint256)
setGasPriceLimit(uint256 newGasPriceLimit)
setK(uint256 newK)
setLiquidityProviderFeeRate(uint256 newLiquidityPorviderFeeRate)
setMaintainer(address newMaintainer)
setMaintainerFeeRate(uint256 newMaintainerFeeRate)
setOracle(address newOracle)
setSupervisor(address newSupervisor)
transferOwnership(address newOwner)
withdrawAllBase() returns (uint256)
withdrawAllBaseTo(address to) returns (uint256)
withdrawAllQuote() returns (uint256)
withdrawAllQuoteTo(address to) returns (uint256)
withdrawBase(uint256 amount) returns (uint256)
withdrawBaseTo(address to, uint256 amount) returns (uint256)
withdrawQuote(uint256 amount) returns (uint256)
withdrawQuoteTo(address to, uint256 amount) returns (uint256)
BuyBaseToken(address indexed buyer, uint256 receiveBase, uint256 payQuote)
ChargeMaintainerFee(address indexed maintainer, bool isBaseToken, uint256 amount)
ChargePenalty(address indexed payer, bool isBaseToken, uint256 amount)
ClaimAssets(address indexed user, uint256 baseTokenAmount, uint256 quoteTokenAmount)
Deposit(address indexed payer, address indexed receiver, bool isBaseToken, uint256 amount, uint256 lpTokenAmount)
Donate(uint256 amount, bool isBaseToken)
OwnershipTransferPrepared(address indexed previousOwner, address indexed newOwner)
OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
SellBaseToken(address indexed seller, uint256 payBase, uint256 receiveQuote)
UpdateGasPriceLimit(uint256 oldGasPriceLimit, uint256 newGasPriceLimit)
UpdateK(uint256 oldK, uint256 newK)
UpdateLiquidityProviderFeeRate(uint256 oldLiquidityProviderFeeRate, uint256 newLiquidityProviderFeeRate)
UpdateMaintainerFeeRate(uint256 oldMaintainerFeeRate, uint256 newMaintainerFeeRate)
Withdraw(address indexed payer, address indexed receiver, bool isBaseToken, uint256 amount, uint256 lpTokenAmount)
This contract contains no constructor objects.
This contract contains no fallback and receive objects.
This contract contains no error objects.