DLP_f7cdcd73

Verified contract

Proxy

Active on Ethereum with 8 txns
Deployed by via 0x2e2a93a7 at 19157021
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
1 additional variable
ERC-20
Value $9,183.76
ERC-20
Value $193.01
0x833f0a3ca8b5381643963e8d8d5627ff4690edbc8b6fc8210c3da75d5e962dd6
0x18edd8ee1f2a77469a76f7520bd4a682fe6e5800fe804af1172d774b9756f0e6
0xc1a60a054930ef514451e2917b70721f23bb2012cb74f67482143cef81956f02
0xf3b453a5b1d366e3c5f43e1cfe58ab5d75540a72a1bd73a102e4c2d74092b3ef
0x99d61f12f116aaca85ba66a22e330f42f3a00e0a024857fb75f6825674d3577e
0xc4578161402a1259927f608fbd9c3e298f1f83860dc2d4fbe61e86f7caa161c9
0x90628c4d2468b6ba077ab03ebcb62d3014714b999a608cff2c4f7322d1314dad
0x7184aff0d78b0b260054771a7e7ec29a9f02f8304cd020696a9a7e13d068b3ce

Functions
Getter at block 21227442
DOMAIN_SEPARATOR(view returns (bytes32)
0x493f44102245e97f7be8e0cdea5586b9044f40f9641ef2a51a241997ab1898f1
PERMIT_TYPEHASH(view returns (bytes32)
0x6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c9
_BASE_PRICE_CUMULATIVE_LAST_(view returns (uint256)
0
_BASE_RESERVE_(view returns (uint112)
61984376794013533
_BASE_TARGET_(view returns (uint112)
1160647238489305562
_BASE_TOKEN_(view returns (address)
0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2
_BLOCK_TIMESTAMP_LAST_(view returns (uint32)
0
_IS_OPEN_TWAP_(view returns (bool)
false
_I_(view returns (uint256)
26837505849
_K_(view returns (uint256)
100000000000000
_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)
100089997516
_QUOTE_TARGET_(view returns (uint112)
54356407764
_QUOTE_TOKEN_(view returns (address)
0xd7efb00d12c2c13131fd319336fdf952525da2af
_RState_(view returns (uint32)
1
decimals(view returns (uint8)
18
getBaseInput(view returns (uint256 input)
0
getMidPrice(view returns (uint256 midPrice)
29002038349
getPMMState(view returns (struct PMMPricingPMMState state)
(26837505849, 100000000000000, 61984376794013533, 100089997516, 1761417420958819755, 54356407764, 1)
getPMMStateForCall(view returns (uint256 iuint256 Kuint256 Buint256 Quint256 B0uint256 Q0uint256 R)
(i=26837505849, K=100000000000000, B=61984376794013533, Q=100089997516, B0=1761417420958819755, Q0=54356407764, R=1)
getQuoteInput(view returns (uint256 input)
0
getVaultReserve(view returns (uint256 baseReserveuint256 quoteReserve)
(baseReserve=61984376794013533, quoteReserve=100089997516)
name(view returns (string)
DLP_f7cdcd73
symbol(view returns (string)
DLP
totalSupply(view returns (uint256)
66891655984259957
version(pure returns (string)
DSP 1.0.1
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 mtFeeuint8 newRStateuint256 newBaseTarget)
querySellQuote(address traderuint256 payQuoteAmountview returns (uint256 receiveBaseAmountuint256 mtFeeuint8 newRStateuint256 newQuoteTarget)
State-modifying
approve(address spenderuint256 amountreturns (bool)
buyShares(address toreturns (uint256 sharesuint256 baseInputuint256 quoteInput)
correctRState(
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
RChange(uint8 newRState
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.