0x8876819535b48b551c9e97ebc07332c7482b4b2d
Verified contract
Proxy
Active on
Ethereum with 24,802 txns
Unified storage
Map
Table
Raw
Constants and immutables
0Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
3 additional
variables
Balances ($5.63)
Asset | Symbol | Type | Quantity | Price | Value |
---|---|---|---|---|---|
USDT | ERC-20 | 4.738741 | $1.002 |
$4.75 | |
DODO | ERC-20 | 6 | $0.146317 |
$0.88 | |
CRE | ERC-20 | 1 | $0.003585 |
$0 | |
TetherLP.com | ERC-20 | 442 | -- | -- | |
TetherClaims.com | ERC-20 | 400 | -- | -- | |
HDSF | ERC-20 | 27 | -- | -- | |
MC | ERC-20 | 2.5 | -- | -- | |
0xd66c…177f | ERC-1555 | 1 | -- | -- | |
HQG | ERC-20 | 0.1 | -- | -- |
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 19879658 | 4 months ago | | | 0 | 0.00043789232 | |
| 18068100 | a year ago | | | 0 | 0.00095698842 | |
| 18068092 | a year ago | | | 0 | 0.0013609784 | |
| 17883576 | a year ago | | | 0 | 0.0050850285 | |
| 17883411 | a year ago | | | 0 | 0.0052587776 | |
| 17883054 | a year ago | | | 0 | 0.0047189759 | |
| 17883052 | a year ago | | | 0 | 0.0047359322 | |
| 17882846 | a year ago | | | 0 | 0.0048529247 | |
| 17882774 | a year ago | | | 0 | 0.0048037226 | |
| 17882666 | a year ago | | | 0 | 0.0047301344 |
ABI
ABI objects
Getter at block 20792380 getMidPrice() view returns (uint256 midPrice)
_BASE_BALANCE_() view returns (uint256)
0
_BASE_CAPITAL_RECEIVE_QUOTE_() view returns (uint256)
35532
_BASE_CAPITAL_TOKEN_() view returns (address)
0x3befc1f0f6cfe0ea852ae61709de370599c88bde
_BASE_TOKEN_() view returns (address)
0x43dfc4159d86f3a37a5a4b3d4580b888ad7d4ddd
_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)
100000000000000000000000000000000000000
_K_() view returns (uint256)
999000000000000000
_LP_FEE_RATE_() view returns (uint256)
3000000000000000
_MAINTAINER_() view returns (address)
0xab21016bd4127638b8c555e36636449b33df1c38
_MT_FEE_RATE_() view returns (uint256)
0
_NEW_OWNER_() view returns (address)
0x0000000000000000000000000000000000000000
_ORACLE_() view returns (address)
0x09b6ca7001487aa9e98a1d115123f6adee093af1
_OWNER_() view returns (address)
0x95c4f5b83aa70810d4f142d58e5f7242bd891cb0
_QUOTE_BALANCE_() view returns (uint256)
4738741
_QUOTE_CAPITAL_RECEIVE_BASE_() view returns (uint256)
0
_QUOTE_CAPITAL_TOKEN_() view returns (address)
0x1e5bfc8c1225a6ce59504988f823c44e08414a49
_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)
100000
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.