0xca7b0632bd0e646b0f823927d3d2e61b00fe4d80
Verified contract
Proxy
Active on
Ethereum with 8,961 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,647.19)
Asset | Symbol | Type | Quantity | Price | Value |
---|---|---|---|---|---|
USDC | ERC-20 | 2.177841K | $0.999608 |
$2,176.99 | |
SNX | ERC-20 | 880.360384 | $1.67 |
$1,470.2 | |
TOMATOS | ERC-20 | 9.999 | -- | -- |
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 16436797 | 2 years ago | | | 0 | 0.0035687055 | |
| 16309354 | 2 years ago | | | 0 | 0.0029779350 | |
| 14428610 | 3 years ago | | | 0 | 0.0036067337 | |
| 14184071 | 3 years ago | | | 0 | 0.0084667789 | |
| 13714325 | 3 years ago | | | 0 | 0.017042671 | |
| 13714302 | 3 years ago | | | 0 | 0.016293598 | |
| 12933296 | 3 years ago | | | 0 | 0.0040541472 | |
| 12902884 | 3 years ago | | | 0 | 0.0084461400 | |
| 12668389 | 3 years ago | | | 0 | 0.0012593196 | |
| 12529574 | 3 years ago | | | 0 | 0.0051433365 |
ABI
ABI objects
Getter at block 21157896 getExpectedTarget() view returns (uint256 baseTarget, uint256 quoteTarget) getMidPrice() view returns (uint256 midPrice)
_BASE_BALANCE_() view returns (uint256)
880360384323376047686
_BASE_CAPITAL_RECEIVE_QUOTE_() view returns (uint256)
0
_BASE_CAPITAL_TOKEN_() view returns (address)
0x5bd1b7d3930d7a5e8fd5aeec6b931c822c8be14e
_BASE_TOKEN_() view returns (address)
0xc011a73ee8576fb46f5e1c5751ca3b9fe0af2a6f
_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)
10000000000000000000000000000
_K_() view returns (uint256)
500000000000000000
_LP_FEE_RATE_() view returns (uint256)
40000000000000000
_MAINTAINER_() view returns (address)
0x95c4f5b83aa70810d4f142d58e5f7242bd891cb0
_MT_FEE_RATE_() view returns (uint256)
10000000000000000
_NEW_OWNER_() view returns (address)
0x0000000000000000000000000000000000000000
_ORACLE_() view returns (address)
0x0a870717a19a4b4cd37a31d58ebf28bccc07d4da
_OWNER_() view returns (address)
0x95c4f5b83aa70810d4f142d58e5f7242bd891cb0
_QUOTE_BALANCE_() view returns (uint256)
2177841147
_QUOTE_CAPITAL_RECEIVE_BASE_() view returns (uint256)
0
_QUOTE_CAPITAL_TOKEN_() view returns (address)
0x1b06a22b20362b4115388ab8ca3ed0972230d78a
_QUOTE_TOKEN_() view returns (address)
0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48
_R_STATUS_() view returns (uint8)
1
_SUPERVISOR_() view returns (address)
0x9c59990ec0177d87ed7d60a56f584e6b06c639a2
_TARGET_BASE_TOKEN_AMOUNT_() view returns (uint256)
911784849706114335432
_TARGET_QUOTE_TOKEN_AMOUNT_() view returns (uint256)
2117598567
_TRADE_ALLOWED_() view returns (bool)
true
getOraclePrice() view returns (uint256)
1668780
getTotalBaseCapital() view returns (uint256)
1003707923800241937746
getTotalQuoteCapital() view returns (uint256)
2210126363
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.