0x85f9569b69083c3e6aeffd301bb2c65606b5d575
Verified contract
Proxy
Active on
Ethereum with 4,301 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 ($51.22)
Asset | Symbol | Type | Quantity | Price | Value |
---|---|---|---|---|---|
USDT | ERC-20 | 51.122671 | $1.002 |
$51.22 |
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 11932362 | 4 years ago | | | 0 | 0.0083132341 | |
| 11932358 | 4 years ago | | | 0 | 0.0057844321 | |
| 11932352 | 4 years ago | | | 0 | 0.014773200 | |
| 11932348 | 4 years ago | | | 0 | 0.0093894400 | |
| 11599414 | 4 years ago | | | 0 | 0.0021181624 | |
| 11526854 | 4 years ago | | | 0 | 0.0075578500 | |
| 11511410 | 4 years ago | | | 0 | 0.010930083 | |
| 11500789 | 4 years ago | | | 0 | 0.011563200 | |
| 11500779 | 4 years ago | | | 0 | 0.0096524400 | |
| 11500754 | 4 years ago | | | 0 | 0.010137280 |
ABI
ABI objects
Getter at block 21246158 getMidPrice() view returns (uint256 midPrice)
_BASE_BALANCE_() view returns (uint256)
0
_BASE_CAPITAL_RECEIVE_QUOTE_() view returns (uint256)
1822078
_BASE_CAPITAL_TOKEN_() view returns (address)
0xcfba2e0f1bbf6ad96960d8866316b02e36ed1761
_BASE_TOKEN_() view returns (address)
0xa0afaa285ce85974c3c881256cb7f225e3a1178a
_CLOSED_() view returns (bool)
true
_DEPOSIT_BASE_ALLOWED_() view returns (bool)
false
_DEPOSIT_QUOTE_ALLOWED_() view returns (bool)
false
_GAS_PRICE_LIMIT_() view returns (uint256)
10000000000000000000000000000000000000000
_K_() view returns (uint256)
900000000000000000
_LP_FEE_RATE_() view returns (uint256)
0
_MAINTAINER_() view returns (address)
0x9c59990ec0177d87ed7d60a56f584e6b06c639a2
_MT_FEE_RATE_() view returns (uint256)
1000000000000000
_NEW_OWNER_() view returns (address)
0x0000000000000000000000000000000000000000
_ORACLE_() view returns (address)
0x8a6ac66ca2a1ad82bb48fbd1748cf0590e926bc5
_OWNER_() view returns (address)
0x9c59990ec0177d87ed7d60a56f584e6b06c639a2
_QUOTE_BALANCE_() view returns (uint256)
122671
_QUOTE_CAPITAL_RECEIVE_BASE_() view returns (uint256)
0
_QUOTE_CAPITAL_TOKEN_() view returns (address)
0xe236b57de7f3e9c3921391c4cb9a42d9632c0022
_QUOTE_TOKEN_() view returns (address)
0xdac17f958d2ee523a2206206994597c13d831ec7
_R_STATUS_() view returns (uint8)
0
_SUPERVISOR_() view returns (address)
0x9c59990ec0177d87ed7d60a56f584e6b06c639a2
_TARGET_BASE_TOKEN_AMOUNT_() view returns (uint256)
0
_TARGET_QUOTE_TOKEN_AMOUNT_() view returns (uint256)
0
_TRADE_ALLOWED_() view returns (bool)
false
getExpectedTarget() view returns (uint256 baseTarget, uint256 quoteTarget)
(baseTarget=0, quoteTarget=0)
getOraclePrice() view returns (uint256)
1000000
getTotalBaseCapital() view returns (uint256)
0
getTotalQuoteCapital() view returns (uint256)
0
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.