DODO
Verified contract
Implementation
Active on
Ethereum with 0 txns
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 ($0.00)
No balances found for "DODO"
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|
No transactions found for "DODO"
ABI
ABI objects
Getter at block 21246158 getMidPrice() view returns (uint256 midPrice) getOraclePrice() view returns (uint256) getTotalBaseCapital() view returns (uint256) getTotalQuoteCapital() view returns (uint256)
_BASE_BALANCE_() view returns (uint256)
0
_BASE_CAPITAL_RECEIVE_QUOTE_() view returns (uint256)
0
_BASE_CAPITAL_TOKEN_() view returns (address)
0x0000000000000000000000000000000000000000
_BASE_TOKEN_() view returns (address)
0x0000000000000000000000000000000000000000
_CLOSED_() view returns (bool)
false
_DEPOSIT_BASE_ALLOWED_() view returns (bool)
false
_DEPOSIT_QUOTE_ALLOWED_() view returns (bool)
false
_GAS_PRICE_LIMIT_() view returns (uint256)
0
_K_() view returns (uint256)
0
_LP_FEE_RATE_() view returns (uint256)
0
_MAINTAINER_() view returns (address)
0x0000000000000000000000000000000000000000
_MT_FEE_RATE_() view returns (uint256)
0
_NEW_OWNER_() view returns (address)
0x0000000000000000000000000000000000000000
_ORACLE_() view returns (address)
0x0000000000000000000000000000000000000000
_OWNER_() view returns (address)
0x0000000000000000000000000000000000000000
_QUOTE_BALANCE_() view returns (uint256)
0
_QUOTE_CAPITAL_RECEIVE_BASE_() view returns (uint256)
0
_QUOTE_CAPITAL_TOKEN_() view returns (address)
0x0000000000000000000000000000000000000000
_QUOTE_TOKEN_() view returns (address)
0x0000000000000000000000000000000000000000
_R_STATUS_() view returns (uint8)
0
_SUPERVISOR_() view returns (address)
0x0000000000000000000000000000000000000000
_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)
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.