ETH Price: $3,167.92 (+1.96%)

Token

WrappedM by M^0 (wM)
 

Overview

Max Total Supply

18,701,734.766558 wM

Holders

46 (0.00%)

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-

Other Info

Token Contract (WITH 6 Decimals)

Balance
100 wM

Value
$0.00
0xa08171d289c6de357a800cf839dab7cce752de2c
Loading...
Loading
Loading...
Loading
Loading...
Loading

OVERVIEW

M^0 is an on-chain protocol, as well as a set of off-chain standards and APIs, that powers the first open federation of cryptodollar issuers. Smart $M is next-gen wrapper contract for the $M cryptodollar.

# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
Proxy

Compiler Version
v0.8.23+commit.f704f362

Optimization Enabled:
Yes with 999999 runs

Other Settings:
shanghai EvmVersion
File 1 of 1 : Proxy.sol
// SPDX-License-Identifier: BUSL-1.1

pragma solidity 0.8.23;
/**
 * @title  Minimal transparent proxy.
 * @author M^0 Labs
 */
contract Proxy {
    /// @dev Storage slot with the address of the current factory. `keccak256('eip1967.proxy.implementation') - 1`.
    uint256 private constant _IMPLEMENTATION_SLOT = 0x360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc;

    /**
     * @dev   Constructs the contract given the address of some implementation.
     * @param implementation_ The address of some implementation.
     */
    constructor(address implementation_) {
        if (implementation_ == address(0)) revert();

        assembly {
            sstore(_IMPLEMENTATION_SLOT, implementation_)
        }
    }

    fallback() external payable virtual {
        bytes32 implementation_;

        assembly {
            implementation_ := sload(_IMPLEMENTATION_SLOT)
        }

        assembly {
            calldatacopy(0, 0, calldatasize())

            let result_ := delegatecall(gas(), implementation_, 0, calldatasize(), 0, 0)

            returndatacopy(0, 0, returndatasize())

            switch result_
            case 0 {
                revert(0, returndatasize())
            }
            default {
                return(0, returndatasize())
            }
        }
    }
}

Settings
{
  "remappings": [
    "common/=lib/common/src/",
    "ds-test/=lib/common/lib/forge-std/lib/ds-test/src/",
    "forge-std/=lib/forge-std/src/"
  ],
  "optimizer": {
    "enabled": true,
    "runs": 999999
  },
  "metadata": {
    "useLiteralContent": false,
    "bytecodeHash": "ipfs",
    "appendCBOR": true
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "devdoc",
        "userdoc",
        "metadata",
        "abi"
      ]
    }
  },
  "evmVersion": "shanghai",
  "viaIR": false,
  "libraries": {}
}

Contract Security Audit

Contract ABI

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

608060405234801561000f575f80fd5b5060405161011938038061011983398101604081905261002e91610067565b6001600160a01b038116610040575f80fd5b7f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc55610094565b5f60208284031215610077575f80fd5b81516001600160a01b038116811461008d575f80fd5b9392505050565b6079806100a05f395ff3fe60806040527f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc54365f80375f80365f845af43d5f803e808015603f573d5ff35b3d5ffdfea2646970667358221220d2631db1b18b2947844c1d7d37e70f0971180c52e4a2cab755f41723bab4648764736f6c63430008170033000000000000000000000000813b926b1d096e117721bd1eb017fba122302da0

Deployed Bytecode

0x60806040527f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc54365f80375f80365f845af43d5f803e808015603f573d5ff35b3d5ffdfea2646970667358221220d2631db1b18b2947844c1d7d37e70f0971180c52e4a2cab755f41723bab4648764736f6c63430008170033

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

000000000000000000000000813b926b1d096e117721bd1eb017fba122302da0

-----Decoded View---------------
Arg [0] : implementation_ (address): 0x813B926B1D096e117721bD1Eb017FbA122302DA0

-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 000000000000000000000000813b926b1d096e117721bd1eb017fba122302da0


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.