DLP_f7cdcd73
Verified contract
Proxy
Active on
Ethereum with 8 txns
Unified storage
Map
Table
Raw
Constants and immutables
0
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
0xd7ef…a2af
0x5e84…bb01
1 additional
variable
Balances ($9,376.77)
Asset | Symbol | Type | Quantity | Price | Value |
---|---|---|---|---|---|
XPR | ERC-20 | 10.009M | $0.000918 |
$9,183.76 | |
WETH | ERC-20 | 0.061984 | $3,113.83 |
$193.01 |
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 21073399 | 21 days ago | | | 0 | 0.0023262666 | |
| 20787044 | 2 months ago | | | 0 | 0.0013443994 | |
| 19759891 | 7 months ago | | | 0 | 0.0011487470 | |
| 19346025 | 9 months ago | | | 0 | 0.0054284938 | |
| 19317088 | 9 months ago | | | 0 | 0.0043236329 | |
| 19297676 | 9 months ago | | | 0 | 0.0024132769 | |
| 19278502 | 9 months ago | | | 0 | 0.0035034453 | |
| 19248535 | 9 months ago | | | 0 | 0.0035656201 |
ABI
ABI objects
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 i, uint256 K, uint256 B, uint256 Q, uint256 B0, uint256 Q0, uint256 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 baseReserve, uint256 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 _addr) pure returns (string)
allowance(address owner, address spender) view returns (uint256)
balanceOf(address owner) view returns (uint256 balance)
getUserFeeRate(address user) view returns (uint256 lpFeeRate, uint256 mtFeeRate)
nonces(address) view returns (uint256)
querySellBase(address trader, uint256 payBaseAmount) view returns (uint256 receiveQuoteAmount, uint256 mtFee, uint8 newRState, uint256 newBaseTarget)
querySellQuote(address trader, uint256 payQuoteAmount) view returns (uint256 receiveBaseAmount, uint256 mtFee, uint8 newRState, uint256 newQuoteTarget)
State-modifying
Events approve(address spender, uint256 amount) returns (bool)
buyShares(address to) returns (uint256 shares, uint256 baseInput, uint256 quoteInput)
correctRState()
flashLoan(uint256 baseAmount, uint256 quoteAmount, address assetTo, bytes data)
init(address maintainer, address baseTokenAddress, address quoteTokenAddress, uint256 lpFeeRate, address mtFeeRateModel, uint256 i, uint256 k, bool isOpenTWAP)
permit(address owner, address spender, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s)
sellBase(address to) returns (uint256 receiveQuoteAmount)
sellQuote(address to) returns (uint256 receiveBaseAmount)
sellShares(uint256 shareAmount, address to, uint256 baseMinAmount, uint256 quoteMinAmount, bytes data, uint256 deadline) returns (uint256 baseAmount, uint256 quoteAmount)
sync()
transfer(address to, uint256 amount) returns (bool)
transferFrom(address from, address to, uint256 amount) returns (bool)
Approval(address indexed owner, address indexed spender, uint256 amount)
Burn(address indexed user, uint256 value)
BuyShares(address to, uint256 increaseShares, uint256 totalShares)
DODOFlashLoan(address borrower, address assetTo, uint256 baseAmount, uint256 quoteAmount)
DODOSwap(address fromToken, address toToken, uint256 fromAmount, uint256 toAmount, address trader, address receiver)
Mint(address indexed user, uint256 value)
RChange(uint8 newRState)
SellShares(address payer, address to, uint256 decreaseShares, uint256 totalShares)
Transfer(address indexed from, address indexed to, uint256 amount)
This contract contains no constructor objects.
This contract contains no fallback and receive objects.
This contract contains no error objects.