0x562c0b218cc9ba06d9eb42f3aef54c54cc5a4650
Verified contract
Proxy
Active on
Ethereum with 16,443 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 ($3,779.78)
Asset | Symbol | Type | Quantity | Price | Value |
---|---|---|---|---|---|
LINK | ERC-20 | 177.754151 | $16.73 |
$2,973.83 | |
USDC | ERC-20 | 807.79333 | $0.997718 |
$805.95 | |
TOMATOS | ERC-20 | 19.9 | -- | -- | |
CPIT | ERC-20 | 0.521 | -- | -- | |
UXT | ERC-20 | 0.350739 | -- | -- |
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 18440635 | a year ago | | | 0 | 0.0019087770 | |
| 18440629 | a year ago | | | 0 | 0.0021223213 | |
| 16436794 | 2 years ago | | | 0 | 0.0032077732 | |
| 16309352 | 2 years ago | | | 0 | 0.0021951324 | |
| 13433663 | 3 years ago | | | 0 | 0.0086717498 | |
| 12711515 | 3 years ago | | | 0 | 0.00094132800 | |
| 12676558 | 3 years ago | | | 0 | 0.0044831890 | |
| 12371567 | 4 years ago | | | 0 | 0.0050093160 | |
| 12348117 | 4 years ago | | | 0 | 0.0037881532 | |
| 12346709 | 4 years ago | | | 0 | 0.0053311320 |
ABI
ABI objects
Getter at block 21272405 getExpectedTarget() view returns (uint256 baseTarget, uint256 quoteTarget) getMidPrice() view returns (uint256 midPrice)
_BASE_BALANCE_() view returns (uint256)
177754151452276934836
_BASE_CAPITAL_RECEIVE_QUOTE_() view returns (uint256)
0
_BASE_CAPITAL_TOKEN_() view returns (address)
0xf03f3d2fbee37f92ec91ae927a8019cacef4b738
_BASE_TOKEN_() view returns (address)
0x514910771af9ca656af840dff83e8264ecf986ca
_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)
100000000000000000000000000
_K_() view returns (uint256)
250000000000000000
_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)
0x809ccf986464bbd278d94fa87b6e832e6d6acbb4
_OWNER_() view returns (address)
0x95c4f5b83aa70810d4f142d58e5f7242bd891cb0
_QUOTE_BALANCE_() view returns (uint256)
797793330
_QUOTE_CAPITAL_RECEIVE_BASE_() view returns (uint256)
0
_QUOTE_CAPITAL_TOKEN_() view returns (address)
0x0f769bc3ecbda8e0d78280c88e31609e899a1f78
_QUOTE_TOKEN_() view returns (address)
0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48
_R_STATUS_() view returns (uint8)
2
_SUPERVISOR_() view returns (address)
0x9c59990ec0177d87ed7d60a56f584e6b06c639a2
_TARGET_BASE_TOKEN_AMOUNT_() view returns (uint256)
176002611361019647390
_TARGET_QUOTE_TOKEN_AMOUNT_() view returns (uint256)
817544150
_TRADE_ALLOWED_() view returns (bool)
true
getOraclePrice() view returns (uint256)
16720583
getTotalBaseCapital() view returns (uint256)
206001005379565818805
getTotalQuoteCapital() view returns (uint256)
657322644
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.