ETH Price: $2,507.33 (+0.22%)

Token

dAMM (DAMM)
 

Overview

Max Total Supply

250,000,000 DAMM

Holders

182

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-

Other Info

Token Contract (WITH 18 Decimals)

Balance
145,424.944781032498199399 DAMM

Value
$0.00
0x589ffaeab4a99275660a9fa4274cb58f7329f4df
Loading...
Loading
Loading...
Loading
Loading...
Loading

Click here to update the token information / general information
# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
DAMMProxy

Compiler Version
v0.8.13+commit.abaa5c0e

Optimization Enabled:
Yes with 250 runs

Other Settings:
default evmVersion, MIT license
/**
 *Submitted for verification at Etherscan.io on 2022-10-31
*/

// SPDX-License-Identifier: MIT
pragma solidity ^0.8.13;

contract DAMMProxy {
    // Code position in storage is keccak256("eip1967.proxy.implementation") = "0x360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc"
    constructor(bytes memory constructData, address contractLogic) {
        // save the code address
        assembly { // solium-disable-line
            sstore(0x360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc, contractLogic)
        }
        (bool success, ) = contractLogic.delegatecall(constructData); // solium-disable-line
        require(success, "Construction failed");
    }

    fallback() external payable {
        assembly { // solium-disable-line
            let contractLogic := sload(0x360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc)
            calldatacopy(0x0, 0x0, calldatasize())
            let success := delegatecall(sub(gas(), 10000), contractLogic, 0x0, calldatasize(), 0, 0)
            let retSz := returndatasize()
            returndatacopy(0, 0, retSz)
            switch success
            case 0 {
                revert(0, retSz)
            }
            default {
                return(0, retSz)
            }
        }
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"bytes","name":"constructData","type":"bytes"},{"internalType":"address","name":"contractLogic","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"stateMutability":"payable","type":"fallback"}]

608060405234801561001057600080fd5b506040516102d73803806102d783398101604081905261002f9161016b565b807f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc556000816001600160a01b03168360405161006c919061022a565b600060405180830381855af49150503d80600081146100a7576040519150601f19603f3d011682016040523d82523d6000602084013e6100ac565b606091505b50509050806101015760405162461bcd60e51b815260206004820152601360248201527f436f6e737472756374696f6e206661696c656400000000000000000000000000604482015260640160405180910390fd5b505050610246565b634e487b7160e01b600052604160045260246000fd5b60005b8381101561013a578181015183820152602001610122565b83811115610149576000848401525b50505050565b80516001600160a01b038116811461016657600080fd5b919050565b6000806040838503121561017e57600080fd5b82516001600160401b038082111561019557600080fd5b818501915085601f8301126101a957600080fd5b8151818111156101bb576101bb610109565b604051601f8201601f19908116603f011681019083821181831017156101e3576101e3610109565b816040528281528860208487010111156101fc57600080fd5b61020d83602083016020880161011f565b80965050505050506102216020840161014f565b90509250929050565b6000825161023c81846020870161011f565b9190910192915050565b6083806102546000396000f3fe60806040527f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc54600036818237808036818561270f195a01f491503d8082833e8280156049578183f35b8183fdfea264697066735822122077e75c18219d9e6eb4f3af1790051b45e738baa95158cc5fba84570506e76f8e64736f6c634300080d003300000000000000000000000000000000000000000000000000000000000000400000000000000000000000005b3a6f844f22dfba87302f13d9b9f17745b5931100000000000000000000000000000000000000000000000000000000000000048129fc1c00000000000000000000000000000000000000000000000000000000

Deployed Bytecode

0x60806040527f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc54600036818237808036818561270f195a01f491503d8082833e8280156049578183f35b8183fdfea264697066735822122077e75c18219d9e6eb4f3af1790051b45e738baa95158cc5fba84570506e76f8e64736f6c634300080d0033

Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)

00000000000000000000000000000000000000000000000000000000000000400000000000000000000000005b3a6f844f22dfba87302f13d9b9f17745b5931100000000000000000000000000000000000000000000000000000000000000048129fc1c00000000000000000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : constructData (bytes): 0x8129fc1c
Arg [1] : contractLogic (address): 0x5b3a6f844F22dfBa87302F13d9B9F17745B59311

-----Encoded View---------------
4 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000040
Arg [1] : 0000000000000000000000005b3a6f844f22dfba87302f13d9b9f17745b59311
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000004
Arg [3] : 8129fc1c00000000000000000000000000000000000000000000000000000000


Deployed Bytecode Sourcemap

61:1199:0:-:0;;;763:66;757:73;862:3;867:14;862:3;;844:38;862:3;;867:14;862:3;943:13;-1:-1:-1;;928:5:0;924:17;911:73;896:88;;1011:16;1062:5;862:3;;1041:27;1089:7;1110:57;;;;1218:5;862:3;1208:16;1110:57;1146:5;862:3;1136:16

Swarm Source

ipfs://77e75c18219d9e6eb4f3af1790051b45e738baa95158cc5fba84570506e76f8e
Loading...
Loading
Loading...
Loading
[ Download: CSV Export  ]
[ Download: CSV Export  ]

A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.