DVM

Verified contract

Implementation

Active on Ethereum with 0 txns
Deployed by via 0x7f10ab92 at 20283577
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0

No balances found for "DVM"

No transactions found for "DVM"


Functions
Getter at block 21274320
DOMAIN_SEPARATOR(view returns (bytes32)
0x0000000000000000000000000000000000000000000000000000000000000000
PERMIT_TYPEHASH(view returns (bytes32)
0x6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c9
_BASE_PRICE_CUMULATIVE_LAST_(view returns (uint256)
0
_BASE_RESERVE_(view returns (uint112)
0
_BASE_TOKEN_(view returns (address)
0x0000000000000000000000000000000000000000
_BLOCK_TIMESTAMP_LAST_(view returns (uint32)
0
_IS_OPEN_TWAP_(view returns (bool)
false
_I_(view returns (uint256)
0
_K_(view returns (uint256)
0
_LP_FEE_RATE_(view returns (uint256)
0
_MAINTAINER_(view returns (address)
0x0000000000000000000000000000000000000000
_MT_FEE_RATE_MODEL_(view returns (address)
0x0000000000000000000000000000000000000000
_QUOTE_RESERVE_(view returns (uint112)
0
_QUOTE_TOKEN_(view returns (address)
0x0000000000000000000000000000000000000000
decimals(view returns (uint8)
0
 
getBaseInput(view returns (uint256 input)
 
getMidPrice(view returns (uint256 midPrice)
 
getPMMState(view returns (struct PMMPricingPMMState state)
 
getPMMStateForCall(view returns (uint256 iuint256 Kuint256 Buint256 Quint256 B0uint256 Q0uint256 R)
 
getQuoteInput(view returns (uint256 input)
getVaultReserve(view returns (uint256 baseReserveuint256 quoteReserve)
(baseReserve=0, quoteReserve=0)
name(view returns (string)
symbol(view returns (string)
totalSupply(view returns (uint256)
0
version(pure returns (string)
DVM 1.0.3
Read-only
addressToShortString(address _addrpure returns (string)
allowance(address owneraddress spenderview returns (uint256)
balanceOf(address ownerview returns (uint256 balance)
getUserFeeRate(address userview returns (uint256 lpFeeRateuint256 mtFeeRate)
nonces(addressview returns (uint256)
querySellBase(address traderuint256 payBaseAmountview returns (uint256 receiveQuoteAmountuint256 mtFee)
querySellQuote(address traderuint256 payQuoteAmountview returns (uint256 receiveBaseAmountuint256 mtFee)
State-modifying
approve(address spenderuint256 amountreturns (bool)
buyShares(address toreturns (uint256 sharesuint256 baseInputuint256 quoteInput)
flashLoan(uint256 baseAmountuint256 quoteAmountaddress assetTobytes data
init(address maintaineraddress baseTokenAddressaddress quoteTokenAddressuint256 lpFeeRateaddress mtFeeRateModeluint256 iuint256 kbool isOpenTWAP
permit(address owneraddress spenderuint256 valueuint256 deadlineuint8 vbytes32 rbytes32 s
sellBase(address toreturns (uint256 receiveQuoteAmount)
sellQuote(address toreturns (uint256 receiveBaseAmount)
sellShares(uint256 shareAmountaddress touint256 baseMinAmountuint256 quoteMinAmountbytes datauint256 deadlinereturns (uint256 baseAmountuint256 quoteAmount)
sync(
transfer(address touint256 amountreturns (bool)
transferFrom(address fromaddress touint256 amountreturns (bool)
Events
Approval(address indexed owneraddress indexed spenderuint256 amount
Burn(address indexed useruint256 value
BuyShares(address touint256 increaseSharesuint256 totalShares
DODOFlashLoan(address borroweraddress assetTouint256 baseAmountuint256 quoteAmount
DODOSwap(address fromTokenaddress toTokenuint256 fromAmountuint256 toAmountaddress traderaddress receiver
Mint(address indexed useruint256 value
SellShares(address payeraddress touint256 decreaseSharesuint256 totalShares
Transfer(address indexed fromaddress indexed touint256 amount
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.