ETH Price: $3,848.05 (-1.87%)

Token

SwapX Token (SWP)
 

Overview

Max Total Supply

2,125,888.266741216503225742 SWP

Holders

281 (0.00%)

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-

Other Info

Token Contract (WITH 18 Decimals)

Filtered by Token Holder
niwin.eth
Balance
2.775216176453072454 SWP

Value
$0.00
0xE113E7B1E8Ecd07973EA40978aED520241d17f27
Loading...
Loading
Loading...
Loading
Loading...
Loading

OVERVIEW

SwapX aims to offer DEX whereby anyone is able to operate their own liquidity pool fund.Pair Token will be an incentive token for investors that contribute to the liquidity pool. SWP is generated by mining and released linearly by mining algorithm.

# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
SwapXGovernToken

Compiler Version
v0.5.16+commit.9c3226ce

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, None license

Contract Source Code (Solidity Multiple files format)

File 4 of 4: SwapXGovernToken.sol
pragma solidity ^0.5.16;

import './SafeMath.sol';
import "./Ownable.sol";
import "./IERC20.sol";

contract SwapXGovernToken is Ownable, IERC20{

    using SafeMath for uint256;

    mapping (address => uint256) internal _balances;
    mapping (address => mapping (address => uint256)) internal _allowances;
    uint256 internal _totalSupply;
    uint256 internal _maxSupply;
    string internal _name;
    string internal _symbol;
    uint8 internal _decimals;

    mapping(address => bool) internal issuer;

    modifier onlyIssuer() {
        require(issuer[msg.sender], "The caller does not have issuer role privileges");
        _;
    }

    constructor (string memory name, string memory sym, uint256 maxSupply) public {
        _name = name;
        _symbol = sym;
        _decimals = 18;

        if (maxSupply != 0) {
            _maxSupply = maxSupply;
        }

        owner = msg.sender;
        issuer[msg.sender] = true;
    }


    function isOwner() public view returns (bool) {
        return msg.sender == owner;
    }

    function name() external view returns (string memory) {
        return _name;
    }

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

    function decimals() external view returns (uint8) {
        return _decimals;
    }

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

    function maxSupply() external view returns (uint256) {
        return _maxSupply;
    }

    function balanceOf(address account) public view returns (uint256) {
        return _balances[account];
    }

    function transfer(address recipient, uint256 amount) external returns (bool) {
        _transfer(msg.sender, recipient, amount);
        return true;
    }

    function allowance(address _owner, address spender) external view returns (uint256) {
        return _allowances[_owner][spender];
    }

    function approve(address spender, uint256 value) external returns (bool) {
        _approve(msg.sender, spender, value);
        return true;
    }

    function transferFrom(address sender, address recipient, uint256 amount) external returns (bool) {
        //        require(!frozen[sender] && !frozen[recipient] && !frozen[msg.sender], "address frozen");
        _transfer(sender, recipient, amount);
        _approve(sender, msg.sender, _allowances[sender][msg.sender].sub(amount));
        return true;
    }

    function increaseAllowance(address spender, uint256 addedValue) external returns (bool) {
        //        require(!frozen[spender] && !frozen[msg.sender], "address frozen");
        _approve(msg.sender, spender, _allowances[msg.sender][spender].add(addedValue));
        return true;
    }

    function decreaseAllowance(address spender, uint256 subtractedValue) external returns (bool) {
        //        require(!frozen[spender] && !frozen[msg.sender], "address frozen");
        _approve(msg.sender, spender, _allowances[msg.sender][spender].sub(subtractedValue));
        return true;
    }

    function issue(address account, uint256 amount) external onlyIssuer returns (bool) {
        _mint(account, amount);
        return true;
    }

    function redeem(address account, uint256 amount) external onlyIssuer returns (bool) {
        _burn(account, amount);
        return true;
    }

    function addIssuer(address _addr) public onlyOwner returns (bool){
        require(_addr != address(0), "address cannot be 0");
        if(issuer[_addr] == false) {
            issuer[_addr] = true;
            return true;
        }
        return false;
    }

    function removeIssuer(address _addr) public onlyOwner returns (bool) {
        require(_addr != address(0), "address cannot be 0");
        if(issuer[_addr] == true) {
            issuer[_addr] = false;
            return true;
        }
        return false;
    }

    function _transfer(address sender, address recipient, uint256 amount) internal {
        require(sender != address(0), "ERC20: transfer from the zero address");
        require(recipient != address(0), "ERC20: transfer to the zero address");

        _balances[sender] = _balances[sender].sub(amount);
        _balances[recipient] = _balances[recipient].add(amount);
        emit Transfer(sender, recipient, amount);
    }

    function _mint(address account, uint256 amount) internal {
        require(account != address(0), "ERC20: mint to the zero address");

        _totalSupply = _totalSupply.add(amount);

        require(_totalSupply <= _maxSupply, "ERC20: supply amount cannot over maxSupply");
        _balances[account] = _balances[account].add(amount);
        emit Transfer(address(0), account, amount);
    }

    function _burn(address account, uint256 value) internal {
        require(account != address(0), "ERC20: burn from the zero address");

        _totalSupply = _totalSupply.sub(value);
        _balances[account] = _balances[account].sub(value);
        emit Transfer(account, address(0), value);
    }

    function _approve(address _owner, address spender, uint256 value) internal {
        require(_owner != address(0), "ERC20: approve from the zero address");
        require(spender != address(0), "ERC20: approve to the zero address");

        _allowances[_owner][spender] = value;
        emit Approval(_owner, spender, value);
    }

    function _burnFrom(address account, uint256 amount) internal {
        _burn(account, amount);
        _approve(account, msg.sender, _allowances[account][msg.sender].sub(amount));
    }
}

File 1 of 4: IERC20.sol
pragma solidity >=0.5.0;

interface IERC20 {
    event Approval(address indexed owner, address indexed spender, uint value);
    event Transfer(address indexed from, address indexed to, uint 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 (uint);
    function balanceOf(address owner) external view returns (uint);
    function allowance(address owner, address spender) external view returns (uint);

    function approve(address spender, uint value) external returns (bool);
    function transfer(address to, uint value) external returns (bool);
    function transferFrom(address from, address to, uint value) external returns (bool);
}

File 2 of 4: Ownable.sol
pragma solidity  >0.5.0;

contract Ownable {

    address public owner;
    /**
      * @dev Throws if called by any account other than the owner.
      */
    modifier onlyOwner() {
        require(msg.sender == owner);
        _;
    }

    /**
    * @dev Allows the current owner to transfer control of the contract to a newOwner.
    * @param newOwner The address to transfer ownership to.
    */
    function transferOwnership(address newOwner) public onlyOwner {
        if (newOwner != address(0)) {
            owner = newOwner;
        }
    }

}

File 3 of 4: SafeMath.sol
pragma solidity >=0.5.16;

// a library for performing overflow-safe math, courtesy of DappHub (https://github.com/dapphub/ds-math)

library SafeMath {
    function add(uint x, uint y) internal pure returns (uint z) {
        require((z = x + y) >= x, 'ds-math-add-overflow');
    }

    function sub(uint x, uint y) internal pure returns (uint z) {
        require((z = x - y) <= x, 'ds-math-sub-underflow');
    }

    function mul(uint x, uint y) internal pure returns (uint z) {
        require(y == 0 || (z = x * y) / y == x, 'ds-math-mul-overflow');
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"name","type":"string"},{"internalType":"string","name":"sym","type":"string"},{"internalType":"uint256","name":"maxSupply","type":"uint256"}],"payable":false,"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"},{"constant":false,"inputs":[{"internalType":"address","name":"_addr","type":"address"}],"name":"addIssuer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"_owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"isOwner","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"issue","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"redeem","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"_addr","type":"address"}],"name":"removeIssuer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"}]

60806040523480156200001157600080fd5b50604051620011ed380380620011ed833981810160405260608110156200003757600080fd5b81019080805160405193929190846401000000008211156200005857600080fd5b9083019060208201858111156200006e57600080fd5b82516401000000008111828201881017156200008957600080fd5b82525081516020918201929091019080838360005b83811015620000b85781810151838201526020016200009e565b50505050905090810190601f168015620000e65780820380516001836020036101000a031916815260200191505b50604052602001805160405193929190846401000000008211156200010a57600080fd5b9083019060208201858111156200012057600080fd5b82516401000000008111828201881017156200013b57600080fd5b82525081516020918201929091019080838360005b838110156200016a57818101518382015260200162000150565b50505050905090810190601f168015620001985780820380516001836020036101000a031916815260200191505b506040526020908101518551909350620001b992506005918601906200021d565b508151620001cf9060069060208501906200021d565b506007805460ff191660121790558015620001ea5760048190555b5050600080546001600160a01b0319163390811782558152600860205260409020805460ff1916600117905550620002c2565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106200026057805160ff191683800117855562000290565b8280016001018555821562000290579182015b828111156200029057825182559160200191906001019062000273565b506200029e929150620002a2565b5090565b620002bf91905b808211156200029e5760008155600101620002a9565b90565b610f1b80620002d26000396000f3fe608060405234801561001057600080fd5b50600436106101215760003560e01c806370a08231116100ad578063a457c2d711610071578063a457c2d71461037b578063a9059cbb146103a7578063d5abeb01146103d3578063dd62ed3e146103db578063f2fde38b1461040957610121565b806370a08231146102f5578063867904b41461031b5780638da5cb5b146103475780638f32d59b1461036b57806395d89b411461037357610121565b806320694db0116100f457806320694db01461022957806323b872dd1461024f578063313ce5671461028557806339509351146102a357806347bc7093146102cf57610121565b806306fdde0314610126578063095ea7b3146101a357806318160ddd146101e35780631e9a6950146101fd575b600080fd5b61012e610431565b6040805160208082528351818301528351919283929083019185019080838360005b83811015610168578181015183820152602001610150565b50505050905090810190601f1680156101955780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6101cf600480360360408110156101b957600080fd5b506001600160a01b0381351690602001356104c7565b604080519115158252519081900360200190f35b6101eb6104de565b60408051918252519081900360200190f35b6101cf6004803603604081101561021357600080fd5b506001600160a01b0381351690602001356104e4565b6101cf6004803603602081101561023f57600080fd5b50356001600160a01b031661053c565b6101cf6004803603606081101561026557600080fd5b506001600160a01b038135811691602081013590911690604001356105fa565b61028d610651565b6040805160ff9092168252519081900360200190f35b6101cf600480360360408110156102b957600080fd5b506001600160a01b03813516906020013561065a565b6101cf600480360360208110156102e557600080fd5b50356001600160a01b0316610696565b6101eb6004803603602081101561030b57600080fd5b50356001600160a01b031661074d565b6101cf6004803603604081101561033157600080fd5b506001600160a01b038135169060200135610768565b61034f6107c0565b604080516001600160a01b039092168252519081900360200190f35b6101cf6107cf565b61012e6107e0565b6101cf6004803603604081101561039157600080fd5b506001600160a01b038135169060200135610841565b6101cf600480360360408110156103bd57600080fd5b506001600160a01b03813516906020013561087d565b6101eb61088a565b6101eb600480360360408110156103f157600080fd5b506001600160a01b0381358116916020013516610890565b61042f6004803603602081101561041f57600080fd5b50356001600160a01b03166108bb565b005b60058054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156104bd5780601f10610492576101008083540402835291602001916104bd565b820191906000526020600020905b8154815290600101906020018083116104a057829003601f168201915b5050505050905090565b60006104d4338484610900565b5060015b92915050565b60035490565b3360009081526008602052604081205460ff166105325760405162461bcd60e51b815260040180806020018281038252602f815260200180610e4e602f913960400191505060405180910390fd5b6104d483836109ec565b600080546001600160a01b0316331461055457600080fd5b6001600160a01b0382166105a5576040805162461bcd60e51b81526020600482015260136024820152720616464726573732063616e6e6f74206265203606c1b604482015290519081900360640190fd5b6001600160a01b03821660009081526008602052604090205460ff166105f157506001600160a01b0381166000908152600860205260409020805460ff191660019081179091556105f5565b5060005b919050565b6000610607848484610ac7565b6001600160a01b038416600090815260026020908152604080832033808552925290912054610647918691610642908663ffffffff610c0b16565b610900565b5060019392505050565b60075460ff1690565b3360008181526002602090815260408083206001600160a01b038716845290915281205490916104d4918590610642908663ffffffff610c5b16565b600080546001600160a01b031633146106ae57600080fd5b6001600160a01b0382166106ff576040805162461bcd60e51b81526020600482015260136024820152720616464726573732063616e6e6f74206265203606c1b604482015290519081900360640190fd5b6001600160a01b03821660009081526008602052604090205460ff161515600114156105f157506001600160a01b0381166000908152600860205260409020805460ff1916905560016105f5565b6001600160a01b031660009081526001602052604090205490565b3360009081526008602052604081205460ff166107b65760405162461bcd60e51b815260040180806020018281038252602f815260200180610e4e602f913960400191505060405180910390fd5b6104d48383610caa565b6000546001600160a01b031681565b6000546001600160a01b0316331490565b60068054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156104bd5780601f10610492576101008083540402835291602001916104bd565b3360008181526002602090815260408083206001600160a01b038716845290915281205490916104d4918590610642908663ffffffff610c0b16565b60006104d4338484610ac7565b60045490565b6001600160a01b03918216600090815260026020908152604080832093909416825291909152205490565b6000546001600160a01b031633146108d257600080fd5b6001600160a01b038116156108fd57600080546001600160a01b0319166001600160a01b0383161790555b50565b6001600160a01b0383166109455760405162461bcd60e51b8152600401808060200182810382526024815260200180610ec36024913960400191505060405180910390fd5b6001600160a01b03821661098a5760405162461bcd60e51b8152600401808060200182810382526022815260200180610e026022913960400191505060405180910390fd5b6001600160a01b03808416600081815260026020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b6001600160a01b038216610a315760405162461bcd60e51b8152600401808060200182810382526021815260200180610e7d6021913960400191505060405180910390fd5b600354610a44908263ffffffff610c0b16565b6003556001600160a01b038216600090815260016020526040902054610a70908263ffffffff610c0b16565b6001600160a01b0383166000818152600160209081526040808320949094558351858152935191937fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef929081900390910190a35050565b6001600160a01b038316610b0c5760405162461bcd60e51b8152600401808060200182810382526025815260200180610e9e6025913960400191505060405180910390fd5b6001600160a01b038216610b515760405162461bcd60e51b8152600401808060200182810382526023815260200180610ddf6023913960400191505060405180910390fd5b6001600160a01b038316600090815260016020526040902054610b7a908263ffffffff610c0b16565b6001600160a01b038085166000908152600160205260408082209390935590841681522054610baf908263ffffffff610c5b16565b6001600160a01b0380841660008181526001602090815260409182902094909455805185815290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050565b808203828111156104d8576040805162461bcd60e51b815260206004820152601560248201527464732d6d6174682d7375622d756e646572666c6f7760581b604482015290519081900360640190fd5b808201828110156104d8576040805162461bcd60e51b815260206004820152601460248201527364732d6d6174682d6164642d6f766572666c6f7760601b604482015290519081900360640190fd5b6001600160a01b038216610d05576040805162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015290519081900360640190fd5b600354610d18908263ffffffff610c5b16565b60038190556004541015610d5d5760405162461bcd60e51b815260040180806020018281038252602a815260200180610e24602a913960400191505060405180910390fd5b6001600160a01b038216600090815260016020526040902054610d86908263ffffffff610c5b16565b6001600160a01b03831660008181526001602090815260408083209490945583518581529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a3505056fe45524332303a207472616e7366657220746f20746865207a65726f206164647265737345524332303a20617070726f766520746f20746865207a65726f206164647265737345524332303a20737570706c7920616d6f756e742063616e6e6f74206f766572206d6178537570706c795468652063616c6c657220646f6573206e6f7420686176652069737375657220726f6c652070726976696c6567657345524332303a206275726e2066726f6d20746865207a65726f206164647265737345524332303a207472616e736665722066726f6d20746865207a65726f206164647265737345524332303a20617070726f76652066726f6d20746865207a65726f2061646472657373a265627a7a72315820f1236bdcba5c74b1b0beaebba8f48ab6745a9bf27368a13646d7bae932dfb37464736f6c63430005100032000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000004c3ba39c5e41110000000000000000000000000000000000000000000000000000000000000000000000b537761705820546f6b656e00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000035357500000000000000000000000000000000000000000000000000000000000

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106101215760003560e01c806370a08231116100ad578063a457c2d711610071578063a457c2d71461037b578063a9059cbb146103a7578063d5abeb01146103d3578063dd62ed3e146103db578063f2fde38b1461040957610121565b806370a08231146102f5578063867904b41461031b5780638da5cb5b146103475780638f32d59b1461036b57806395d89b411461037357610121565b806320694db0116100f457806320694db01461022957806323b872dd1461024f578063313ce5671461028557806339509351146102a357806347bc7093146102cf57610121565b806306fdde0314610126578063095ea7b3146101a357806318160ddd146101e35780631e9a6950146101fd575b600080fd5b61012e610431565b6040805160208082528351818301528351919283929083019185019080838360005b83811015610168578181015183820152602001610150565b50505050905090810190601f1680156101955780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6101cf600480360360408110156101b957600080fd5b506001600160a01b0381351690602001356104c7565b604080519115158252519081900360200190f35b6101eb6104de565b60408051918252519081900360200190f35b6101cf6004803603604081101561021357600080fd5b506001600160a01b0381351690602001356104e4565b6101cf6004803603602081101561023f57600080fd5b50356001600160a01b031661053c565b6101cf6004803603606081101561026557600080fd5b506001600160a01b038135811691602081013590911690604001356105fa565b61028d610651565b6040805160ff9092168252519081900360200190f35b6101cf600480360360408110156102b957600080fd5b506001600160a01b03813516906020013561065a565b6101cf600480360360208110156102e557600080fd5b50356001600160a01b0316610696565b6101eb6004803603602081101561030b57600080fd5b50356001600160a01b031661074d565b6101cf6004803603604081101561033157600080fd5b506001600160a01b038135169060200135610768565b61034f6107c0565b604080516001600160a01b039092168252519081900360200190f35b6101cf6107cf565b61012e6107e0565b6101cf6004803603604081101561039157600080fd5b506001600160a01b038135169060200135610841565b6101cf600480360360408110156103bd57600080fd5b506001600160a01b03813516906020013561087d565b6101eb61088a565b6101eb600480360360408110156103f157600080fd5b506001600160a01b0381358116916020013516610890565b61042f6004803603602081101561041f57600080fd5b50356001600160a01b03166108bb565b005b60058054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156104bd5780601f10610492576101008083540402835291602001916104bd565b820191906000526020600020905b8154815290600101906020018083116104a057829003601f168201915b5050505050905090565b60006104d4338484610900565b5060015b92915050565b60035490565b3360009081526008602052604081205460ff166105325760405162461bcd60e51b815260040180806020018281038252602f815260200180610e4e602f913960400191505060405180910390fd5b6104d483836109ec565b600080546001600160a01b0316331461055457600080fd5b6001600160a01b0382166105a5576040805162461bcd60e51b81526020600482015260136024820152720616464726573732063616e6e6f74206265203606c1b604482015290519081900360640190fd5b6001600160a01b03821660009081526008602052604090205460ff166105f157506001600160a01b0381166000908152600860205260409020805460ff191660019081179091556105f5565b5060005b919050565b6000610607848484610ac7565b6001600160a01b038416600090815260026020908152604080832033808552925290912054610647918691610642908663ffffffff610c0b16565b610900565b5060019392505050565b60075460ff1690565b3360008181526002602090815260408083206001600160a01b038716845290915281205490916104d4918590610642908663ffffffff610c5b16565b600080546001600160a01b031633146106ae57600080fd5b6001600160a01b0382166106ff576040805162461bcd60e51b81526020600482015260136024820152720616464726573732063616e6e6f74206265203606c1b604482015290519081900360640190fd5b6001600160a01b03821660009081526008602052604090205460ff161515600114156105f157506001600160a01b0381166000908152600860205260409020805460ff1916905560016105f5565b6001600160a01b031660009081526001602052604090205490565b3360009081526008602052604081205460ff166107b65760405162461bcd60e51b815260040180806020018281038252602f815260200180610e4e602f913960400191505060405180910390fd5b6104d48383610caa565b6000546001600160a01b031681565b6000546001600160a01b0316331490565b60068054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156104bd5780601f10610492576101008083540402835291602001916104bd565b3360008181526002602090815260408083206001600160a01b038716845290915281205490916104d4918590610642908663ffffffff610c0b16565b60006104d4338484610ac7565b60045490565b6001600160a01b03918216600090815260026020908152604080832093909416825291909152205490565b6000546001600160a01b031633146108d257600080fd5b6001600160a01b038116156108fd57600080546001600160a01b0319166001600160a01b0383161790555b50565b6001600160a01b0383166109455760405162461bcd60e51b8152600401808060200182810382526024815260200180610ec36024913960400191505060405180910390fd5b6001600160a01b03821661098a5760405162461bcd60e51b8152600401808060200182810382526022815260200180610e026022913960400191505060405180910390fd5b6001600160a01b03808416600081815260026020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b6001600160a01b038216610a315760405162461bcd60e51b8152600401808060200182810382526021815260200180610e7d6021913960400191505060405180910390fd5b600354610a44908263ffffffff610c0b16565b6003556001600160a01b038216600090815260016020526040902054610a70908263ffffffff610c0b16565b6001600160a01b0383166000818152600160209081526040808320949094558351858152935191937fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef929081900390910190a35050565b6001600160a01b038316610b0c5760405162461bcd60e51b8152600401808060200182810382526025815260200180610e9e6025913960400191505060405180910390fd5b6001600160a01b038216610b515760405162461bcd60e51b8152600401808060200182810382526023815260200180610ddf6023913960400191505060405180910390fd5b6001600160a01b038316600090815260016020526040902054610b7a908263ffffffff610c0b16565b6001600160a01b038085166000908152600160205260408082209390935590841681522054610baf908263ffffffff610c5b16565b6001600160a01b0380841660008181526001602090815260409182902094909455805185815290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050565b808203828111156104d8576040805162461bcd60e51b815260206004820152601560248201527464732d6d6174682d7375622d756e646572666c6f7760581b604482015290519081900360640190fd5b808201828110156104d8576040805162461bcd60e51b815260206004820152601460248201527364732d6d6174682d6164642d6f766572666c6f7760601b604482015290519081900360640190fd5b6001600160a01b038216610d05576040805162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015290519081900360640190fd5b600354610d18908263ffffffff610c5b16565b60038190556004541015610d5d5760405162461bcd60e51b815260040180806020018281038252602a815260200180610e24602a913960400191505060405180910390fd5b6001600160a01b038216600090815260016020526040902054610d86908263ffffffff610c5b16565b6001600160a01b03831660008181526001602090815260408083209490945583518581529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a3505056fe45524332303a207472616e7366657220746f20746865207a65726f206164647265737345524332303a20617070726f766520746f20746865207a65726f206164647265737345524332303a20737570706c7920616d6f756e742063616e6e6f74206f766572206d6178537570706c795468652063616c6c657220646f6573206e6f7420686176652069737375657220726f6c652070726976696c6567657345524332303a206275726e2066726f6d20746865207a65726f206164647265737345524332303a207472616e736665722066726f6d20746865207a65726f206164647265737345524332303a20617070726f76652066726f6d20746865207a65726f2061646472657373a265627a7a72315820f1236bdcba5c74b1b0beaebba8f48ab6745a9bf27368a13646d7bae932dfb37464736f6c63430005100032

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

000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000004c3ba39c5e41110000000000000000000000000000000000000000000000000000000000000000000000b537761705820546f6b656e00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000035357500000000000000000000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : name (string): SwapX Token
Arg [1] : sym (string): SWP
Arg [2] : maxSupply (uint256): 5760000000000000000000000

-----Encoded View---------------
7 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000060
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000a0
Arg [2] : 00000000000000000000000000000000000000000004c3ba39c5e41110000000
Arg [3] : 000000000000000000000000000000000000000000000000000000000000000b
Arg [4] : 537761705820546f6b656e000000000000000000000000000000000000000000
Arg [5] : 0000000000000000000000000000000000000000000000000000000000000003
Arg [6] : 5357500000000000000000000000000000000000000000000000000000000000


Deployed Bytecode Sourcemap

105:5606:3:-;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;105:5606:3;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1088:85;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:100:-1;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;1088:85:3;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1999:150;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;1999:150:3;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;1371:93;;;:::i;:::-;;;;;;;;;;;;;;;;3301:147;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;3301:147:3;;;;;;;;:::i;3456:268::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;3456:268:3;-1:-1:-1;;;;;3456:268:3;;:::i;2157:366::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;2157:366:3;;;;;;;;;;;;;;;;;:::i;1278:85::-;;;:::i;:::-;;;;;;;;;;;;;;;;;;;2531:295;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;2531:295:3;;;;;;;;:::i;3732:272::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;3732:272:3;-1:-1:-1;;;;;3732:272:3;;:::i;1569:110::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;1569:110:3;-1:-1:-1;;;;;1569:110:3;;:::i;3147:146::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;3147:146:3;;;;;;;;:::i;54:20:1:-;;;:::i;:::-;;;;-1:-1:-1;;;;;54:20:1;;;;;;;;;;;;;;989:91:3;;;:::i;1181:89::-;;;:::i;2834:305::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;2834:305:3;;;;;;;;:::i;1687:158::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;1687:158:3;;;;;;;;:::i;1472:89::-;;;:::i;1853:138::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;1853:138:3;;;;;;;;;;:::i;422:151:1:-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;422:151:1;-1:-1:-1;;;;;422:151:1;;:::i;:::-;;1088:85:3;1160:5;1153:12;;;;;;;;-1:-1:-1;;1153:12:3;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1127:13;;1153:12;;1160:5;;1153:12;;1160:5;1153:12;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1088:85;:::o;1999:150::-;2066:4;2083:36;2092:10;2104:7;2113:5;2083:8;:36::i;:::-;-1:-1:-1;2137:4:3;1999:150;;;;;:::o;1371:93::-;1444:12;;1371:93;:::o;3301:147::-;582:10;3379:4;575:18;;;:6;:18;;;;;;;;567:78;;;;-1:-1:-1;;;567:78:3;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3396:22;3402:7;3411:6;3396:5;:22::i;3456:268::-;3516:4;222:5:1;;-1:-1:-1;;;;;222:5:1;208:10;:19;200:28;;;;;;-1:-1:-1;;;;;3540:19:3;;3532:51;;;;;-1:-1:-1;;;3532:51:3;;;;;;;;;;;;-1:-1:-1;;;3532:51:3;;;;;;;;;;;;;;;-1:-1:-1;;;;;3597:13:3;;;;;;:6;:13;;;;;;;;3594:100;;-1:-1:-1;;;;;;3636:13:3;;;;;;:6;:13;;;;;:20;;-1:-1:-1;;3636:20:3;3652:4;3636:20;;;;;;3671:11;;3594:100;-1:-1:-1;3711:5:3;239:1:1;3456:268:3;;;:::o;2157:366::-;2248:4;2373:36;2383:6;2391:9;2402:6;2373:9;:36::i;:::-;-1:-1:-1;;;;;2449:19:3;;;;;;:11;:19;;;;;;;;2437:10;2449:31;;;;;;;;;2420:73;;2429:6;;2449:43;;2485:6;2449:43;:35;:43;:::i;:::-;2420:8;:73::i;:::-;-1:-1:-1;2511:4:3;2157:366;;;;;:::o;1278:85::-;1346:9;;;;1278:85;:::o;2531:295::-;2726:10;2613:4;2747:23;;;:11;:23;;;;;;;;-1:-1:-1;;;;;2747:32:3;;;;;;;;;;2613:4;;2717:79;;2738:7;;2747:48;;2784:10;2747:48;:36;:48;:::i;3732:272::-;3795:4;222:5:1;;-1:-1:-1;;;;;222:5:1;208:10;:19;200:28;;;;;;-1:-1:-1;;;;;3820:19:3;;3812:51;;;;;-1:-1:-1;;;3812:51:3;;;;;;;;;;;;-1:-1:-1;;;3812:51:3;;;;;;;;;;;;;;;-1:-1:-1;;;;;3877:13:3;;;;;;:6;:13;;;;;;;;:21;;:13;:21;3874:100;;;-1:-1:-1;;;;;;3915:13:3;;3931:5;3915:13;;;:6;:13;;;;;:21;;-1:-1:-1;;3915:21:3;;;;3951:11;;1569:110;-1:-1:-1;;;;;1653:18:3;1626:7;1653:18;;;:9;:18;;;;;;;1569:110::o;3147:146::-;582:10;3224:4;575:18;;;:6;:18;;;;;;;;567:78;;;;-1:-1:-1;;;567:78:3;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3241:22;3247:7;3256:6;3241:5;:22::i;54:20:1:-;;;-1:-1:-1;;;;;54:20:1;;:::o;989:91:3:-;1029:4;1067:5;-1:-1:-1;;;;;1067:5:3;1053:10;:19;;989:91::o;1181:89::-;1255:7;1248:14;;;;;;;;-1:-1:-1;;1248:14:3;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1222:13;;1248:14;;1255:7;;1248:14;;1255:7;1248:14;;;;;;;;;;;;;;;;;;;;;;;;2834:305;3034:10;2921:4;3055:23;;;:11;:23;;;;;;;;-1:-1:-1;;;;;3055:32:3;;;;;;;;;;2921:4;;3025:84;;3046:7;;3055:53;;3092:15;3055:53;:36;:53;:::i;1687:158::-;1758:4;1775:40;1785:10;1797:9;1808:6;1775:9;:40::i;1472:89::-;1543:10;;1472:89;:::o;1853:138::-;-1:-1:-1;;;;;1955:19:3;;;1928:7;1955:19;;;:11;:19;;;;;;;;:28;;;;;;;;;;;;;1853:138::o;422:151:1:-;222:5;;-1:-1:-1;;;;;222:5:1;208:10;:19;200:28;;;;;;-1:-1:-1;;;;;499:22:1;;;495:71;;538:5;:16;;-1:-1:-1;;;;;;538:16:1;-1:-1:-1;;;;;538:16:1;;;;;495:71;422:151;:::o;5173:339:3:-;-1:-1:-1;;;;;5267:20:3;;5259:69;;;;-1:-1:-1;;;5259:69:3;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;5347:21:3;;5339:68;;;;-1:-1:-1;;;5339:68:3;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;5420:19:3;;;;;;;:11;:19;;;;;;;;:28;;;;;;;;;;;;;:36;;;5472:32;;;;;;;;;;;;;;;;;5173:339;;;:::o;4859:306::-;-1:-1:-1;;;;;4934:21:3;;4926:67;;;;-1:-1:-1;;;4926:67:3;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5021:12;;:23;;5038:5;5021:23;:16;:23;:::i;:::-;5006:12;:38;-1:-1:-1;;;;;5076:18:3;;;;;;:9;:18;;;;;;:29;;5099:5;5076:29;:22;:29;:::i;:::-;-1:-1:-1;;;;;5055:18:3;;;;;;:9;:18;;;;;;;;:50;;;;5121:36;;;;;;;5055:18;;5121:36;;;;;;;;;;;4859:306;;:::o;4012:429::-;-1:-1:-1;;;;;4110:20:3;;4102:70;;;;-1:-1:-1;;;4102:70:3;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;4191:23:3;;4183:71;;;;-1:-1:-1;;;4183:71:3;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;4287:17:3;;;;;;:9;:17;;;;;;:29;;4309:6;4287:29;:21;:29;:::i;:::-;-1:-1:-1;;;;;4267:17:3;;;;;;;:9;:17;;;;;;:49;;;;4350:20;;;;;;;:32;;4375:6;4350:32;:24;:32;:::i;:::-;-1:-1:-1;;;;;4327:20:3;;;;;;;:9;:20;;;;;;;;;:55;;;;4398:35;;;;;;;4327:20;;4398:35;;;;;;;;;;;;;4012:429;;;:::o;288:127:2:-;371:5;;;366:16;;;;358:50;;;;;-1:-1:-1;;;358:50:2;;;;;;;;;;;;-1:-1:-1;;;358:50:2;;;;;;;;;;;;;;156:126;239:5;;;234:16;;;;226:49;;;;;-1:-1:-1;;;226:49:2;;;;;;;;;;;;-1:-1:-1;;;226:49:2;;;;;;;;;;;;;;4449:402:3;-1:-1:-1;;;;;4525:21:3;;4517:65;;;;;-1:-1:-1;;;4517:65:3;;;;;;;;;;;;;;;;;;;;;;;;;;;;4610:12;;:24;;4627:6;4610:24;:16;:24;:::i;:::-;4595:12;:39;;;4671:10;;-1:-1:-1;4655:26:3;4647:81;;;;-1:-1:-1;;;4647:81:3;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;4760:18:3;;;;;;:9;:18;;;;;;:30;;4783:6;4760:30;:22;:30;:::i;:::-;-1:-1:-1;;;;;4739:18:3;;;;;;:9;:18;;;;;;;;:51;;;;4806:37;;;;;;;4739:18;;;;4806:37;;;;;;;;;;4449:402;;:::o

Swarm Source

bzzr://f1236bdcba5c74b1b0beaebba8f48ab6745a9bf27368a13646d7bae932dfb374
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.