DLP_134a1499

Verified contract

Proxy

Active on Ethereum with 9 txns
Deployed by via 0x232c7c37 at 18885348
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
ERC-20
Value $4,037.92
ERC-20
--
0xadf5e99edcbecc7e9ea1412ec9ad4725fcad8c95071ee902398ee68472ceda3b
0xf6d0058a78cc7b033fc62f746cde1287d45ed75fd9c68aa18f0c6e8066881dba
0x7016f53668e0edcbe62f4a4ac940a30ef5bda2c2023c1482088f4f346ca8247d
0x688a143fb60d9c8590321e19b596566b8eb085089e69be2c3ab3e43baac5ec4b
0xf1a9b2c5552c7597ff4594f8b51d3fe65846ef3c44134d483216d061e2b91f9b
0x2b44477f89200a6afb0b237865217b3dd6a96f040ae8d50f57ef5552eabfe0f6
0xb069a7cef73bada2d2b6e1cab608b41d06d8aabc2f2f65a59a7361ae50dad77f
0xfac21cf24a926a14389a8224aa828d7040da744962c32b6ab9daaf6cc7894752
0x02673b51946e17d4a951e40a12acc2934ecd149e85e98d3a145855ea2b51e752

Functions
Getter at block 21390239
DOMAIN_SEPARATOR(view returns (bytes32)
0x607d06a41355ec4215ecb398d2a05fb0ac25408e4a08d86110768d2dc595c37a
PERMIT_TYPEHASH(view returns (bytes32)
0x6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c9
_BASE_PRICE_CUMULATIVE_LAST_(view returns (uint256)
0
_BASE_RESERVE_(view returns (uint112)
1039878608391782365
_BASE_TOKEN_(view returns (address)
0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2
_BLOCK_TIMESTAMP_LAST_(view returns (uint32)
0
_IS_OPEN_TWAP_(view returns (bool)
false
_I_(view returns (uint256)
1000000000000
_K_(view returns (uint256)
1000000000000000000
_LP_FEE_RATE_(view returns (uint256)
80000000000000000
_MAINTAINER_(view returns (address)
0x95c4f5b83aa70810d4f142d58e5f7242bd891cb0
_MT_FEE_RATE_MODEL_(view returns (address)
0x5e84190a270333ace5b9202a3f4cebf11b81bb01
_QUOTE_RESERVE_(view returns (uint112)
228212119835645020696476
_QUOTE_TOKEN_(view returns (address)
0xd04e772bc0d591fbd288f2e2a86afa3d3cb647f8
decimals(view returns (uint8)
18
getBaseInput(view returns (uint256 input)
0
getMidPrice(view returns (uint256 midPrice)
219460815081893277798730
getPMMState(view returns (struct PMMPricingPMMState state)
(1000000000000, 1000000000000000000, 1039878608391782365, 228212119835645020696476, 487148240444183037939339, 0, 1)
getPMMStateForCall(view returns (uint256 iuint256 Kuint256 Buint256 Quint256 B0uint256 Q0uint256 R)
(i=1000000000000, K=1000000000000000000, B=1039878608391782365, Q=228212119835645020696476, B0=487148240444183037939339, Q0=0, R=1)
getQuoteInput(view returns (uint256 input)
0
getVaultReserve(view returns (uint256 baseReserveuint256 quoteReserve)
(baseReserve=1039878608391782365, quoteReserve=228212119835645020696476)
name(view returns (string)
DLP_134a1499
symbol(view returns (string)
DLP
totalSupply(view returns (uint256)
270657864462927
version(pure returns (string)
DVM 1.0.2
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.