DODO

Verified contract

Implementation

Active on Ethereum with 0 txns
Deployed by via 0x4087c221 at 10613573
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
3 additional variables

No balances found for "DODO"

No transactions found for "DODO"


Functions
Getter at block 21288806
_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 baseTargetuint256 quoteTarget)
(baseTarget=0, quoteTarget=0)
 
getMidPrice(view returns (uint256 midPrice)
 
getOraclePrice(view returns (uint256)
 
getTotalBaseCapital(view returns (uint256)
 
getTotalQuoteCapital(view returns (uint256)
version(pure returns (uint256)
100
Read-only
_CLAIMED_(addressview returns (bool)
getBaseCapitalBalanceOf(address lpview returns (uint256)
getLpBaseBalance(address lpview returns (uint256 lpBalance)
getLpQuoteBalance(address lpview returns (uint256 lpBalance)
getQuoteCapitalBalanceOf(address lpview returns (uint256)
getWithdrawBasePenalty(uint256 amountview returns (uint256 penalty)
getWithdrawQuotePenalty(uint256 amountview returns (uint256 penalty)
queryBuyBaseToken(uint256 amountview returns (uint256 payQuote)
querySellBaseToken(uint256 amountview returns (uint256 receiveQuote)
State-modifying
buyBaseToken(uint256 amountuint256 maxPayQuotebytes datareturns (uint256)
claimAssets(
claimOwnership(
depositBase(uint256 amountreturns (uint256)
depositBaseTo(address touint256 amountreturns (uint256)
depositQuote(uint256 amountreturns (uint256)
depositQuoteTo(address touint256 amountreturns (uint256)
disableBaseDeposit(
disableQuoteDeposit(
disableTrading(
donateBaseToken(uint256 amount
donateQuoteToken(uint256 amount
enableBaseDeposit(
enableQuoteDeposit(
enableTrading(
finalSettlement(
init(address owneraddress supervisoraddress maintaineraddress baseTokenaddress quoteTokenaddress oracleuint256 lpFeeRateuint256 mtFeeRateuint256 kuint256 gasPriceLimit
retrieve(address tokenuint256 amount
sellBaseToken(uint256 amountuint256 minReceiveQuotebytes datareturns (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 toreturns (uint256)
withdrawAllQuote(returns (uint256)
withdrawAllQuoteTo(address toreturns (uint256)
withdrawBase(uint256 amountreturns (uint256)
withdrawBaseTo(address touint256 amountreturns (uint256)
withdrawQuote(uint256 amountreturns (uint256)
withdrawQuoteTo(address touint256 amountreturns (uint256)
Events
BuyBaseToken(address indexed buyeruint256 receiveBaseuint256 payQuote
ChargeMaintainerFee(address indexed maintainerbool isBaseTokenuint256 amount
ChargePenalty(address indexed payerbool isBaseTokenuint256 amount
ClaimAssets(address indexed useruint256 baseTokenAmountuint256 quoteTokenAmount
Deposit(address indexed payeraddress indexed receiverbool isBaseTokenuint256 amountuint256 lpTokenAmount
Donate(uint256 amountbool isBaseToken
OwnershipTransferPrepared(address indexed previousOwneraddress indexed newOwner
OwnershipTransferred(address indexed previousOwneraddress indexed newOwner
SellBaseToken(address indexed selleruint256 payBaseuint256 receiveQuote
UpdateGasPriceLimit(uint256 oldGasPriceLimituint256 newGasPriceLimit
UpdateK(uint256 oldKuint256 newK
UpdateLiquidityProviderFeeRate(uint256 oldLiquidityProviderFeeRateuint256 newLiquidityProviderFeeRate
UpdateMaintainerFeeRate(uint256 oldMaintainerFeeRateuint256 newMaintainerFeeRate
Withdraw(address indexed payeraddress indexed receiverbool isBaseTokenuint256 amountuint256 lpTokenAmount
Constructor

This contract contains no constructor objects.

Fallback and receive

This contract contains no fallback and receive objects.

Errors

This contract contains no error objects.