ETH Price: $3,492.12 (+1.48%)

Token

veSync (VS)

Overview

Max Total Supply

256,482,084.267422350980904235 VS

Holders

45,483

Market

Price

$0.00 @ 0.000000 ETH (-1.21%)

Onchain Market Cap

$319,551.03

Circulating Supply Market Cap

$0.00

Other Info

Token Contract (WITH 18 Decimals)

Balance
282.172556337656406228 VS

Value
$0.35 ( ~0.000100225754926664 ETH) [0.0001%]
0xf9e1d1e9f22c96752356adfd377231528c7e851e
Loading...
Loading
Loading...
Loading
Loading...
Loading

Market

Volume (24H):$524.84
Market Capitalization:$0.00
Circulating Supply:0.00 VS
Market Data Source: Coinmarketcap

Contract Source Code Verified (Exact Match)

Contract Name:
VS

Compiler Version
v0.8.13+commit.abaa5c0e

ZkSolc Version
v1.3.8

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license
File 1 of 1 : VS.sol
// Sources flattened with hardhat v2.14.0 https://hardhat.org

// File contracts/interfaces/IVS.sol

pragma solidity 0.8.13;

interface IVS {
    function totalSupply() external view returns (uint);
    function balanceOf(address) external view returns (uint);
    function approve(address spender, uint value) external returns (bool);
    function transfer(address, uint) external returns (bool);
    function transferFrom(address,address,uint) external returns (bool);
    function mint(address, uint) external returns (bool);
    function minter() external returns (address);
}


// File contracts/VS.sol

// SPDX-License-Identifier: GPL-3.0-or-later
pragma solidity 0.8.13;

contract VS is IVS {

    string public constant name = "veSync";
    string public constant symbol = "VS";
    uint8 public constant decimals = 18;
    uint public totalSupply = 0;

    mapping(address => uint) public balanceOf;
    mapping(address => mapping(address => uint)) public allowance;

    address public minter;

    event Transfer(address indexed from, address indexed to, uint value);
    event Approval(address indexed owner, address indexed spender, uint value);

    constructor() {
        minter = msg.sender;
        _mint(msg.sender, 0);
    }

    // It's meant to be once off to set minting rights to Minter
    function setMinter(address _minter) external {
        require(msg.sender == minter);
        minter = _minter;
    }

    function approve(address _spender, uint _value) external returns (bool) {
        allowance[msg.sender][_spender] = _value;
        emit Approval(msg.sender, _spender, _value);
        return true;
    }

    function _mint(address _to, uint _amount) internal returns (bool) {
        totalSupply += _amount;
        unchecked {
            balanceOf[_to] += _amount;
        }
        emit Transfer(address(0x0), _to, _amount);
        return true;
    }

    function _transfer(address _from, address _to, uint _value) internal returns (bool) {
        balanceOf[_from] -= _value;
        unchecked {
            balanceOf[_to] += _value;
        }
        emit Transfer(_from, _to, _value);
        return true;
    }

    function transfer(address _to, uint _value) external returns (bool) {
        return _transfer(msg.sender, _to, _value);
    }

    function transferFrom(address _from, address _to, uint _value) external returns (bool) {
        uint allowed_from = allowance[_from][msg.sender];
        if (allowed_from != type(uint).max) {
            allowance[_from][msg.sender] -= _value;
        }
        return _transfer(_from, _to, _value);
    }

    function mint(address account, uint amount) external returns (bool) {
        require(msg.sender == minter);
        _mint(account, amount);
        return true;
    }
}

Settings
{
  "compilerPath": "",
  "experimental": {},
  "optimizer": {
    "enabled": true,
    "mode": "3"
  }
}

Contract Security Audit

Contract ABI

[{"inputs":[],"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"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"address","name":"","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_spender","type":"address"},{"internalType":"uint256","name":"_value","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","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":"account","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"mint","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"minter","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_minter","type":"address"}],"name":"setMinter","outputs":[],"stateMutability":"nonpayable","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":"_value","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":"_value","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"}]

9c4d535b0000000000000000000000000000000000000000000000000000000000000000010000f1e52e4047e098b7d3454d69ff8b3973cdbf43a7375267b890c17e765800000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000000

Deployed Bytecode

0x0002000000000002000500000000000200010000000103550000006001100270000000d00010019d0000008001000039000000400010043f0000000101200190000000680000c13d0000000001000031000000040110008c000002a90000413d0000000101000367000000000101043b000000e001100270000000d50210009c000000870000213d000000dd0210009c000000b80000213d000000e10210009c000001030000613d000000e20210009c000001830000613d000000e30110009c000002a90000c13d0000000001000416000000000110004c000002a90000c13d000000040100008a0000000001100031000000e402000041000000400310008c00000000030000190000000003024019000000e401100197000000000410004c000000000200a019000000e40110009c00000000010300190000000001026019000000000110004c000002a90000c13d00000001010003670000000402100370000000000202043b000500000002001d000000e50220009c000002a90000213d0000002401100370000000000101043b000300000001001d0000000001000411000400000001001d00000000001004350000000201000039000000200010043f000000d0010000410000000002000414000000d00320009c0000000001024019000000c001100210000000e9011001c70000801002000039033a03350000040f0000000102200190000002a90000613d000000000101043b00000005020000290000000000200435000000200010043f000000d0010000410000000002000414000000d00320009c0000000001024019000000c001100210000000e9011001c70000801002000039033a03350000040f0000000102200190000002a90000613d000000000101043b0000000302000029000000000021041b000000400100043d0000000000210435000000d0020000410000000003000414000000d00430009c0000000003028019000000d00410009c00000000010280190000004001100210000000c002300210000000000112019f000000ea011001c70000800d020000390000000303000039000000ed0400004100000004050000290000000506000029033a03300000040f0000000101200190000002a90000613d0000027b0000013d0000000001000416000000000110004c000002a90000c13d0000000303000039000000000103041a000000d1011001970000000006000411000000000161019f000000000013041b000000000000041b00000000006004350000000101000039000000200010043f000000800000043f000000d0010000410000000002000414000000d00420009c0000000001024019000000c001100210000000d2011001c70000800d02000039000000d3040000410000000005000019033a03300000040f0000000101200190000002a90000613d000000200100003900000100001004430000012000000443000000d4010000410000033b0001042e000000d60210009c000000d80000213d000000da0210009c0000011d0000613d000000db0210009c0000019f0000613d000000dc0110009c000002a90000c13d0000000001000416000000000110004c000002a90000c13d000000040100008a0000000001100031000000e402000041000000000310004c00000000030000190000000003024019000000e401100197000000000410004c000000000200a019000000e40110009c00000000010300190000000001026019000000000110004c000002a90000c13d000000400200043d000000e70120009c000001170000213d0000004001200039000000400010043f0000002001200039000000e803000041000000000031043500000002010000390000000000120435000000400100043d000500000001001d033a02b90000040f00000005040000290000000001410049000000d002000041000000d00310009c0000000001028019000000d00340009c000000000204401900000040022002100000006001100210000000000121019f0000033b0001042e000000de0210009c000001460000613d000000df0210009c000001c20000613d000000e00110009c000002a90000c13d0000000001000416000000000110004c000002a90000c13d000000040100008a0000000001100031000000e402000041000000000310004c00000000030000190000000003024019000000e401100197000000000410004c000000000200a019000000e40110009c00000000010300190000000001026019000000000110004c000002a90000c13d000000400100043d00000012020000390000000000210435000000d002000041000000d00310009c00000000010280190000004001100210000000e6011001c70000033b0001042e000000d70210009c000001600000613d000000d80210009c000002120000613d000000d90110009c000002a90000c13d0000000001000416000000000110004c000002a90000c13d000000040100008a0000000001100031000000e402000041000000200310008c00000000030000190000000003024019000000e401100197000000000410004c000000000200a019000000e40110009c00000000010300190000000001026019000000000110004c000002a90000c13d00000004010000390000000101100367000000000101043b000000e50210009c000002a90000213d0000000302000039000000000302041a000000e5043001970000000005000411000000000445004b000002a90000c13d000000d103300197000000000113019f000000000012041b000000d001000041000000400200043d000000d00320009c000000000102401900000040011002100000033b0001042e0000000001000416000000000110004c000002a90000c13d000000040100008a0000000001100031000000e402000041000000000310004c00000000030000190000000003024019000000e401100197000000000410004c000000000200a019000000e40110009c00000000010300190000000001026019000000000110004c000002a90000c13d000000400200043d000000ee0120009c0000023c0000413d000000eb0100004100000000001004350000004101000039000000040010043f000000ec010000410000033c000104300000000001000416000000000110004c000002a90000c13d000000040100008a0000000001100031000000e402000041000000400310008c00000000030000190000000003024019000000e401100197000000000410004c000000000200a019000000e40110009c00000000010300190000000001026019000000000110004c000002a90000c13d00000001010003670000000402100370000000000402043b000000e50240009c000002a90000213d0000002401100370000000000301043b0000000301000039000000000101041a000000e5011001970000000002000411000000000112004b000002a90000c13d000000010100008a000000000213013f000000000100041a000000000221004b000002510000a13d000000eb0100004100000000001004350000001101000039000000040010043f000000ec010000410000033c000104300000000001000416000000000110004c000002a90000c13d000000040100008a0000000001100031000000e402000041000000000310004c00000000030000190000000003024019000000e401100197000000000410004c000000000200a019000000e40110009c00000000010300190000000001026019000000000110004c000002a90000c13d000000400100043d000000000200041a0000000000210435000000d002000041000000d00310009c00000000010280190000004001100210000000e6011001c70000033b0001042e0000000001000416000000000110004c000002a90000c13d000000040100008a0000000001100031000000e402000041000000400310008c00000000030000190000000003024019000000e401100197000000000410004c000000000200a019000000e40110009c00000000010300190000000001026019000000000110004c000002a90000c13d00000001010003670000000402100370000000000202043b000000e50320009c000002a90000213d0000002401100370000000000301043b0000000001000411033a02e30000040f0000000101000039000000400200043d0000000000120435000000d001000041000000d00320009c00000000010240190000004001100210000000e6011001c70000033b0001042e0000000001000416000000000110004c000002a90000c13d000000040100008a0000000001100031000000e402000041000000000310004c00000000030000190000000003024019000000e401100197000000000410004c000000000200a019000000e40110009c00000000010300190000000001026019000000000110004c000002a90000c13d0000000301000039000000000101041a000000e501100197000000400200043d0000000000120435000000d001000041000000d00320009c00000000010240190000004001100210000000e6011001c70000033b0001042e0000000001000416000000000110004c000002a90000c13d000000040100008a0000000001100031000000e402000041000000200310008c00000000030000190000000003024019000000e401100197000000000410004c000000000200a019000000e40110009c00000000010300190000000001026019000000000110004c000002a90000c13d00000004010000390000000101100367000000000101043b000000e50210009c000002a90000213d00000000001004350000000101000039000000200010043f033a02ab0000040f000000000101041a000000400200043d0000000000120435000000d001000041000000d00320009c00000000010240190000004001100210000000e6011001c70000033b0001042e0000000001000416000000000110004c000002a90000c13d000000040100008a0000000001100031000000e402000041000000600310008c00000000030000190000000003024019000000e401100197000000000410004c000000000200a019000000e40110009c00000000010300190000000001026019000000000110004c000002a90000c13d00000001010003670000000402100370000000000302043b000000e50230009c000002a90000213d0000002402100370000000000202043b000500000002001d000000e50220009c000002a90000213d0000004401100370000000000101043b000300000001001d00000000003004350000000201000039000200000001001d000000200010043f000000d0010000410000000002000414000400000003001d000000d00320009c0000000001024019000000c001100210000000e9011001c70000801002000039033a03350000040f0000000102200190000002a90000613d000000000101043b0000000002000411000000e502200197000100000002001d0000000000200435000000200010043f000000d0010000410000000002000414000000d00320009c0000000001024019000000c001100210000000e9011001c70000801002000039033a03350000040f00000004030000290000000102200190000002a90000613d000000000101043b000000000101041a000000010200008a000000000121004b000002840000c13d000000000103001900000005020000290000000303000029033a02e30000040f0000000101000039000000400200043d0000000000120435000000d001000041000000d00320009c00000000010240190000004001100210000000e6011001c70000033b0001042e0000000001000416000000000110004c000002a90000c13d000000040100008a0000000001100031000000e402000041000000400310008c00000000030000190000000003024019000000e401100197000000000410004c000000000200a019000000e40110009c00000000010300190000000001026019000000000110004c000002a90000c13d00000001020003670000000401200370000000000101043b000000e50310009c000002a90000213d0000002402200370000000000302043b000000e50230009c000002a90000213d00000000001004350000000201000039000000200010043f000500000003001d033a02ab0000040f0000000502000029033a02d20000040f000000000101041a000000400200043d0000000000120435000000d001000041000000d00320009c00000000010240190000004001100210000000e6011001c70000033b0001042e0000004001200039000000400010043f0000002001200039000000ef03000041000000000031043500000006010000390000000000120435000000400100043d000500000001001d033a02b90000040f00000005040000290000000001410049000000d002000041000000d00310009c0000000001028019000000d00340009c000000000204401900000040022002100000006001100210000000000121019f0000033b0001042e0000000001310019000000000010041b00000000004004350000000101000039000000200010043f000000d0010000410000000002000414000400000003001d000000d00320009c0000000001024019000000c001100210000000e9011001c70000801002000039000500000004001d033a03350000040f000000040300002900000005060000290000000102200190000002a90000613d000000000101043b000000000201041a0000000002320019000000000021041b000000400100043d0000000000310435000000d0020000410000000003000414000000d00430009c0000000003028019000000d00410009c00000000010280190000004001100210000000c002300210000000000112019f000000ea011001c70000800d020000390000000303000039000000d3040000410000000005000019033a03300000040f0000000101200190000002a90000613d000000400100043d00000001020000390000000000210435000000d002000041000000d00310009c00000000010280190000004001100210000000e6011001c70000033b0001042e00000000003004350000000201000029000000200010043f000000d0010000410000000002000414000000d00320009c0000000001024019000000c001100210000000e9011001c70000801002000039033a03350000040f0000000102200190000002a90000613d000000000101043b00000001020000290000000000200435000000200010043f000000d0010000410000000002000414000000d00320009c0000000001024019000000c001100210000000e9011001c70000801002000039033a03350000040f0000000102200190000002a90000613d000000000101043b000000000201041a0000000303000029000000000332004b000001400000413d00000003030000290000000002320049000000000021041b0000000403000029000002050000013d00000000010000190000033c00010430000000d0010000410000000002000414000000d00320009c0000000001024019000000c001100210000000e9011001c70000801002000039033a03350000040f0000000102200190000002b70000613d000000000101043b000000000001042d00000000010000190000033c000104300000002003000039000000000431043600000000030204330000000000340435000000000430004c0000004001100039000002cd0000613d000000000400001900000000054100190000002004400039000000000624001900000000060604330000000000650435000000000534004b000002c10000413d000000000234004b000002cd0000a13d00000000023100190000000000020435000002cd0000013d0000001f02300039000000200300008a000000000232016f0000000001210019000000000001042d000000e5022001970000000000200435000000200010043f000000d0010000410000000002000414000000d00320009c0000000001024019000000c001100210000000e9011001c70000801002000039033a03350000040f0000000102200190000002e10000613d000000000101043b000000000001042d00000000010000190000033c000104300004000000000002000400000003001d000300000002001d000000e501100197000100000001001d00000000001004350000000101000039000200000001001d000000200010043f000000d0010000410000000002000414000000d00320009c0000000001024019000000c001100210000000e9011001c70000801002000039033a03350000040f0000000102200190000003280000613d000000000101043b000000000201041a0000000403000029000000000332004b0000032a0000413d00000004030000290000000002320049000000000021041b0000000301000029000000e501100197000300000001001d00000000001004350000000201000029000000200010043f000000d0010000410000000002000414000000d00320009c0000000001024019000000c001100210000000e9011001c70000801002000039033a03350000040f0000000102200190000003280000613d000000000101043b000000000201041a00000004030000290000000002320019000000000021041b000000400100043d0000000000310435000000d0020000410000000003000414000000d00430009c0000000003028019000000d00410009c00000000010280190000004001100210000000c002300210000000000112019f000000ea011001c70000800d020000390000000303000039000000d30400004100000001050000290000000306000029033a03300000040f0000000101200190000003280000613d000000000001042d00000000010000190000033c00010430000000eb0100004100000000001004350000001101000039000000040010043f000000ec010000410000033c0001043000000333002104210000000102000039000000000001042d0000000002000019000000000001042d00000338002104230000000102000039000000000001042d0000000002000019000000000001042d0000033a000004320000033b0001042e0000033c0001043000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000ffffffffffffffffffffffffffffffff00000000000000000000000000000000000000000200000000000000000000000000000000000020000000800000000000000000ddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef00000002000000000000000000000000000000400000010000000000000000000000000000000000000000000000000000000000000000000000000040c10f1800000000000000000000000000000000000000000000000000000000a9059cba00000000000000000000000000000000000000000000000000000000a9059cbb00000000000000000000000000000000000000000000000000000000dd62ed3e00000000000000000000000000000000000000000000000000000000fca3b5aa0000000000000000000000000000000000000000000000000000000040c10f190000000000000000000000000000000000000000000000000000000070a082310000000000000000000000000000000000000000000000000000000095d89b410000000000000000000000000000000000000000000000000000000018160ddc0000000000000000000000000000000000000000000000000000000018160ddd0000000000000000000000000000000000000000000000000000000023b872dd00000000000000000000000000000000000000000000000000000000313ce5670000000000000000000000000000000000000000000000000000000006fdde03000000000000000000000000000000000000000000000000000000000754617200000000000000000000000000000000000000000000000000000000095ea7b38000000000000000000000000000000000000000000000000000000000000000000000000000000000000000ffffffffffffffffffffffffffffffffffffffff0000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000000000000ffffffffffffffbf5653000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000004000000000000000000000000002000000000000000000000000000000000000200000000000000000000000004e487b710000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000240000000000000000000000008c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925000000000000000000000000000000000000000000000000ffffffffffffffc0766553796e6300000000000000000000000000000000000000000000000000000800a4937ed6261ddb20135ab9890bd0be3f3df703c2107744083fd2dd73f44d

[ 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.