0xD343d5dba2FBa55EEF58189619c05e33CAB95cA1
on Ethereum Mainnet (1)
Match
Runtime Bytecode
Creation Bytecode
- Contract Name
- DMMPool
- Compilation Target
- DMMPool.sol:DMMPool
- Language
Solidity
- Compiler
- solc 0.6.12+commit.27d51765
- EVM Version
- istanbul
- Verified At
- 2024-08-08 16:33:50 UTC
- Deployer
- 0xfDa4779d888c555709DaEA07A7C598189db5c217
- Deployment Transaction
- 0xb1f04617baa0f7e14bf249d266033ee842cbc61e89163761f2dde6abc87ab0ef
- Block Number
- 12721698
- Transaction Index
- 154
Read/Write Contract on:
Loading contract data...
Source Code
Loading contract data...
Compiler Settings
Loading...
Contract Metadata
Loading...
Creation Bytecode
Loading contract data...
CBOR Auxdata
These values are what Sourcify extracted from the recompiled bytecode. If these values are different in the on-chain bytecode, they will show up in Transformations section.
CBOR Auxdata id: 1
View on 
Solidity metadata.json IPFS hash: QmX232DVLGYmXs7RGKPYD14y99HeE3nPFtfFpp6TpX53Sh
Loading contract data...
Transformations
CBOR Auxdata Transformations
| Byte Offsets | Length (bytes) | Values |
|---|---|---|
| 19779 | 54 | Original (recompiled):0xa264697066735822122080f4601fe4b6582f873875f23c93f9c34030f71e8b975d4b879c33cc4b942cfa64736f6c634300060c0033 Transformed (onchain):0xa264697066735822122049f6f8528b3e4b37e72b9bde0aa804ce74fda17a3dc51ea424bf85cf5943707e64736f6c634300060c0033 |
Runtime Bytecode
Loading contract data...
CBOR Auxdata
These values are what Sourcify extracted from the recompiled bytecode. If these values are different in the on-chain bytecode, they will show up in Transformations section.
CBOR Auxdata id: 1
View on 
Solidity metadata.json IPFS hash: QmX232DVLGYmXs7RGKPYD14y99HeE3nPFtfFpp6TpX53Sh
Loading contract data...
Transformations
CBOR Auxdata Transformations
| Byte Offsets | Length (bytes) | Values |
|---|---|---|
| 19123 | 54 | Original (recompiled):0xa264697066735822122080f4601fe4b6582f873875f23c93f9c34030f71e8b975d4b879c33cc4b942cfa64736f6c634300060c0033 Transformed (onchain):0xa264697066735822122049f6f8528b3e4b37e72b9bde0aa804ce74fda17a3dc51ea424bf85cf5943707e64736f6c634300060c0033 |
Storage Layout
For non-default storage allocations (e.g. EIP-7201) check out 
| Slot | Offset | Bytes | Label | Type | Contract |
|---|---|---|---|---|---|
| 0 | 0 | 32 | _balances | mapping(address ⇒ uint256) | DMMPool.sol:DMMPool |
| 1 | 0 | 32 | _allowances | mapping(address ⇒ mapping(address ⇒ uint256)) | DMMPool.sol:DMMPool |
| 2 | 0 | 32 | _totalSupply | uint256 | DMMPool.sol:DMMPool |
| 3 | 0 | 32 | _name | string | DMMPool.sol:DMMPool |
| 4 | 0 | 32 | _symbol | string | DMMPool.sol:DMMPool |
| 5 | 0 | 1 | _decimals | uint8 | DMMPool.sol:DMMPool |
| 6 | 0 | 32 | domainSeparator | bytes32 | DMMPool.sol:DMMPool |
| 7 | 0 | 32 | nonces | mapping(address ⇒ uint256) | DMMPool.sol:DMMPool |
| 8 | 0 | 32 | _status | uint256 | DMMPool.sol:DMMPool |
| 9 | 0 | 16 | shortEMA | uint128 | DMMPool.sol:DMMPool |
| 9 | 16 | 16 | longEMA | uint128 | DMMPool.sol:DMMPool |
| 10 | 0 | 16 | currentBlockVolume | uint128 | DMMPool.sol:DMMPool |
| 10 | 16 | 16 | lastTradeBlock | uint128 | DMMPool.sol:DMMPool |
| 11 | 0 | 20 | factory | contract IDMMFactory | DMMPool.sol:DMMPool |
| 12 | 0 | 20 | token0 | contract IERC20 | DMMPool.sol:DMMPool |
| 13 | 0 | 20 | token1 | contract IERC20 | DMMPool.sol:DMMPool |
| 14 | 0 | 14 | reserve0 | uint112 | DMMPool.sol:DMMPool |
| 14 | 14 | 14 | reserve1 | uint112 | DMMPool.sol:DMMPool |
| 14 | 28 | 4 | ampBps | uint32 | DMMPool.sol:DMMPool |
| 15 | 0 | 14 | vReserve0 | uint112 | DMMPool.sol:DMMPool |
| 15 | 14 | 14 | vReserve1 | uint112 | DMMPool.sol:DMMPool |
| 16 | 0 | 32 | kLast | uint256 | DMMPool.sol:DMMPool |
Transient Storage Layout
Transient storage layout is only available for Solidity contracts compiled with version ≥ 0.8.27.
Standard JSON Input
This isn't the original compiler JSON data. Generated for compatibility.
Loading...
Standard JSON Output
This isn't the original compiler JSON data. Generated for compatibility.
Loading...