DLP_3058ef90

Verified contract

Proxy

Active on Ethereum with 481 txns
Deployed by via 0xf7c78a33 at 12430370
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
1 additional variable
ERC-20
Value $11,692.14
ERC-20
Value $5,369.71
ERC-20
Value $23.75
ERC-20
Value $1.42
ERC-20
Value $0.98
ERC-20
Value $0
ERC-20
Value $0
ERC-20
--
ERC-20
--
ERC-20
--
0xb18266a2ff098ef9f057de12d0b40c7c8f97f339298348a44e01ed53b13026fb
0x859f3f16b738e0357b5cb52149386ff2846d3bd149e9b353bca7a5f3c4850ad1
0xf33a64835c76d8c8bb6e8d50a0398c8b5917d54b4644f2864fa1c9985df69410
0x31cf1cb337b0d4cbe55a7b2e0eb19ff7f93129e5b439fb968124c2726adb1ae7
0x25dfca995be2c0ddd96a97475633a0eff019a4f88984f88c87cb347408d6af6c
0xb0386c97f64ea5cee36fae54c84a1546699ec1ffe1fa3b90c190d305d04fe77b
0x54b075fc6a4333bdf7e9f4f116cf2c1efd476bf10f6b09c72a409554b0ee4afa
0x26d71751e7bd408a1d2ab747d98aa1131ceb18c797e07ef1bffd3f96886e1e2a
0xd67487ef39aa938699951e806191b05ff75e98e99d4238a208003f37722f2ac3
0xe9e42e0550ef16007bbd760ba7854fe8bb8389188535a11a77dcdcf5ccba78a2

Functions
Getter at block 21226312
DOMAIN_SEPARATOR(view returns (bytes32)
0x080ea3dff8ffe9f4580ebb85f78d59a155d0ef2a1143e4954d37a40cf4698abf
PERMIT_TYPEHASH(view returns (bytes32)
0x6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c9
_BASE_PRICE_CUMULATIVE_LAST_(view returns (uint256)
0
_BASE_RESERVE_(view returns (uint112)
11696117890450825172390
_BASE_TARGET_(view returns (uint112)
8529848569475848945608
_BASE_TOKEN_(view returns (address)
0x6b175474e89094c44da98b954eedeac495271d0f
_BLOCK_TIMESTAMP_LAST_(view returns (uint32)
0
_IS_OPEN_TWAP_(view returns (bool)
false
_I_(view returns (uint256)
1000000
_K_(view returns (uint256)
500000000000000
_LP_FEE_RATE_(view returns (uint256)
0
_MAINTAINER_(view returns (address)
0x95c4f5b83aa70810d4f142d58e5f7242bd891cb0
_MT_FEE_RATE_MODEL_(view returns (address)
0x5e84190a270333ace5b9202a3f4cebf11b81bb01
_QUOTE_RESERVE_(view returns (uint112)
5364341073
_QUOTE_TARGET_(view returns (uint112)
8529676510
_QUOTE_TOKEN_(view returns (address)
0xdac17f958d2ee523a2206206994597c13d831ec7
_RState_(view returns (uint32)
2
decimals(view returns (uint8)
18
getBaseInput(view returns (uint256 input)
0
getMidPrice(view returns (uint256 midPrice)
999236
getPMMState(view returns (struct PMMPricingPMMState state)
(1000000, 500000000000000, 11696117890450825172390, 5364341073, 8529848569475848945608, 8529676509, 2)
getPMMStateForCall(view returns (uint256 iuint256 Kuint256 Buint256 Quint256 B0uint256 Q0uint256 R)
(i=1000000, K=500000000000000, B=11696117890450825172390, Q=5364341073, B0=8529848569475848945608, Q0=8529676509, R=2)
getQuoteInput(view returns (uint256 input)
0
getVaultReserve(view returns (uint256 baseReserveuint256 quoteReserve)
(baseReserve=11696117890450825172390, quoteReserve=5364341073)
name(view returns (string)
DLP_3058ef90
symbol(view returns (string)
DLP
totalSupply(view returns (uint256)
8529667126308288237245
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.