Token PrintyV2

Overview ERC20

Price
$0.00 @ 0.000000 AVAX
Fully Diluted Market Cap
Total Supply:
337,268,828 PRINT

Holders:
1,830 addresses
Contract:
0x6902a8ecf99a732e5a73491afc14e5e135ee42340x6902a8ecF99a732e5a73491Afc14e5E135eE4234

Decimals:
18

Social Profiles:
Not Available, Update ?

Balance
999 PRINT

Value
$0.00
0xAb5801a7D398351b8bE11C439e05C5B3259aeC9B
Loading
[ Download CSV Export  ] 
Loading
[ Download CSV Export  ] 
Loading

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

Contract Source Code Verified (Exact Match)

Contract Name:
BaseV2

Compiler Version
v0.8.11+commit.d7f03943

Optimization Enabled:
Yes with 200 runs

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

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

contract BaseV2 {

    string public constant symbol = "PRINT";
    string public constant name = "PrintyV2";
    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);
    }

    // No checks as its meant to be once off to set minting rights to BaseV2 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) {
        balanceOf[_to] += _amount;
        totalSupply += _amount;
        emit Transfer(address(0x0), _to, _amount);
        return true;
    }

    function _transfer(address _from, address _to, uint _value) internal returns (bool) {
        balanceOf[_from] -= _value;
        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;
    }
}

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"}]

60806040526000805534801561001457600080fd5b50600380546001600160a01b0319163390811790915561003590600061003b565b506100f2565b6001600160a01b0382166000908152600160205260408120805483919083906100659084906100cc565b925050819055508160008082825461007d91906100cc565b90915550506040518281526001600160a01b038416906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a350600192915050565b600082198211156100ed57634e487b7160e01b600052601160045260246000fd5b500190565b61066d806101016000396000f3fe608060405234801561001057600080fd5b50600436106100b45760003560e01c806340c10f191161007157806340c10f191461018857806370a082311461019b57806395d89b41146101bb578063a9059cbb146101df578063dd62ed3e146101f2578063fca3b5aa1461021d57600080fd5b806306fdde03146100b957806307546172146100f6578063095ea7b31461012157806318160ddd1461014457806323b872dd1461015b578063313ce5671461016e575b600080fd5b6100e060405180604001604052806008815260200167283934b73a3cab1960c11b81525081565b6040516100ed91906104cd565b60405180910390f35b600354610109906001600160a01b031681565b6040516001600160a01b0390911681526020016100ed565b61013461012f36600461053e565b610232565b60405190151581526020016100ed565b61014d60005481565b6040519081526020016100ed565b610134610169366004610568565b61029e565b610176601281565b60405160ff90911681526020016100ed565b61013461019636600461053e565b610318565b61014d6101a93660046105a4565b60016020526000908152604090205481565b6100e060405180604001604052806005815260200164141492539560da1b81525081565b6101346101ed36600461053e565b610346565b61014d6102003660046105bf565b600260209081526000928352604080842090915290825290205481565b61023061022b3660046105a4565b61035a565b005b3360008181526002602090815260408083206001600160a01b038716808552925280832085905551919290917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259061028d9086815260200190565b60405180910390a350600192915050565b6001600160a01b03831660009081526002602090815260408083203384529091528120546000198114610304576001600160a01b0385166000908152600260209081526040808320338452909152812080548592906102fe908490610608565b90915550505b61030f858585610393565b95945050505050565b6003546000906001600160a01b0316331461033257600080fd5b61033c8383610448565b5060019392505050565b6000610353338484610393565b9392505050565b6003546001600160a01b0316331461037157600080fd5b600380546001600160a01b0319166001600160a01b0392909216919091179055565b6001600160a01b0383166000908152600160205260408120805483919083906103bd908490610608565b90915550506001600160a01b038316600090815260016020526040812080548492906103ea90849061061f565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8460405161043691815260200190565b60405180910390a35060019392505050565b6001600160a01b03821660009081526001602052604081208054839190839061047290849061061f565b925050819055508160008082825461048a919061061f565b90915550506040518281526001600160a01b038416906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200161028d565b600060208083528351808285015260005b818110156104fa578581018301518582016040015282016104de565b8181111561050c576000604083870101525b50601f01601f1916929092016040019392505050565b80356001600160a01b038116811461053957600080fd5b919050565b6000806040838503121561055157600080fd5b61055a83610522565b946020939093013593505050565b60008060006060848603121561057d57600080fd5b61058684610522565b925061059460208501610522565b9150604084013590509250925092565b6000602082840312156105b657600080fd5b61035382610522565b600080604083850312156105d257600080fd5b6105db83610522565b91506105e960208401610522565b90509250929050565b634e487b7160e01b600052601160045260246000fd5b60008282101561061a5761061a6105f2565b500390565b60008219821115610632576106326105f2565b50019056fea26469706673582212204f9062b46867377370a7753a08da0e584836c243707147d0105e19e07a7c011864736f6c634300080b0033

Deployed ByteCode Sourcemap

73:2114:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;144:40;;;;;;;;;;;;;;;-1:-1:-1;;;144:40:0;;;;;;;;;;;;:::i;:::-;;;;;;;;387:21;;;;;-1:-1:-1;;;;;387:21:0;;;;;;-1:-1:-1;;;;;780:32:1;;;762:51;;750:2;735:18;387:21:0;616:203:1;879:207:0;;;;;;:::i;:::-;;:::i;:::-;;;1426:14:1;;1419:22;1401:41;;1389:2;1374:18;879:207:0;1261:187:1;233:27:0;;;;;;;;;1599:25:1;;;1587:2;1572:18;233:27:0;1453:177:1;1693:312:0;;;;;;:::i;:::-;;:::i;191:35::-;;224:2;191:35;;;;;2140:4:1;2128:17;;;2110:36;;2098:2;2083:18;191:35:0;1968:184:1;2013:171:0;;;;;;:::i;:::-;;:::i;269:41::-;;;;;;:::i;:::-;;;;;;;;;;;;;;98:39;;;;;;;;;;;;;;;-1:-1:-1;;;98:39:0;;;;;1557:128;;;;;;:::i;:::-;;:::i;317:61::-;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;751:120;;;;;;:::i;:::-;;:::i;:::-;;879:207;972:10;945:4;962:21;;;:9;:21;;;;;;;;-1:-1:-1;;;;;962:31:0;;;;;;;;;;:40;;;1018:38;945:4;;962:31;;1018:38;;;;996:6;1599:25:1;;1587:2;1572:18;;1453:177;1018:38:0;;;;;;;;-1:-1:-1;1074:4:0;879:207;;;;:::o;1693:312::-;-1:-1:-1;;;;;1811:16:0;;1774:4;1811:16;;;:9;:16;;;;;;;;1828:10;1811:28;;;;;;;;-1:-1:-1;;1854:30:0;;1850:101;;-1:-1:-1;;;;;1901:16:0;;;;;;:9;:16;;;;;;;;1918:10;1901:28;;;;;;;:38;;1933:6;;1901:16;:38;;1933:6;;1901:38;:::i;:::-;;;;-1:-1:-1;;1850:101:0;1968:29;1978:5;1985:3;1990:6;1968:9;:29::i;:::-;1961:36;1693:312;-1:-1:-1;;;;;1693:312:0:o;2013:171::-;2114:6;;2075:4;;-1:-1:-1;;;;;2114:6:0;2100:10;:20;2092:29;;;;;;2132:22;2138:7;2147:6;2132:5;:22::i;:::-;-1:-1:-1;2172:4:0;;2013:171;-1:-1:-1;;;2013:171:0:o;1557:128::-;1619:4;1643:34;1653:10;1665:3;1670:6;1643:9;:34::i;:::-;1636:41;1557:128;-1:-1:-1;;;1557:128:0:o;751:120::-;829:6;;-1:-1:-1;;;;;829:6:0;815:10;:20;807:29;;;;;;847:6;:16;;-1:-1:-1;;;;;;847:16:0;-1:-1:-1;;;;;847:16:0;;;;;;;;;;751:120::o;1319:230::-;-1:-1:-1;;;;;1414:16:0;;1397:4;1414:16;;;:9;:16;;;;;:26;;1434:6;;1414:16;1397:4;;1414:26;;1434:6;;1414:26;:::i;:::-;;;;-1:-1:-1;;;;;;;1451:14:0;;;;;;:9;:14;;;;;:24;;1469:6;;1451:14;:24;;1469:6;;1451:24;:::i;:::-;;;;;;;;1507:3;-1:-1:-1;;;;;1491:28:0;1500:5;-1:-1:-1;;;;;1491:28:0;;1512:6;1491:28;;;;1599:25:1;;1587:2;1572:18;;1453:177;1491:28:0;;;;;;;;-1:-1:-1;1537:4:0;1319:230;;;;;:::o;1094:217::-;-1:-1:-1;;;;;1171:14:0;;1154:4;1171:14;;;:9;:14;;;;;:25;;1189:7;;1171:14;1154:4;;1171:25;;1189:7;;1171:25;:::i;:::-;;;;;;;;1222:7;1207:11;;:22;;;;;;;:::i;:::-;;;;-1:-1:-1;;1245:36:0;;1599:25:1;;;-1:-1:-1;;;;;1245:36:0;;;1262:3;;1245:36;;1587:2:1;1572:18;1245:36:0;1453:177:1;14:597;126:4;155:2;184;173:9;166:21;216:6;210:13;259:6;254:2;243:9;239:18;232:34;284:1;294:140;308:6;305:1;302:13;294:140;;;403:14;;;399:23;;393:30;369:17;;;388:2;365:26;358:66;323:10;;294:140;;;452:6;449:1;446:13;443:91;;;522:1;517:2;508:6;497:9;493:22;489:31;482:42;443:91;-1:-1:-1;595:2:1;574:15;-1:-1:-1;;570:29:1;555:45;;;;602:2;551:54;;14:597;-1:-1:-1;;;14:597:1:o;824:173::-;892:20;;-1:-1:-1;;;;;941:31:1;;931:42;;921:70;;987:1;984;977:12;921:70;824:173;;;:::o;1002:254::-;1070:6;1078;1131:2;1119:9;1110:7;1106:23;1102:32;1099:52;;;1147:1;1144;1137:12;1099:52;1170:29;1189:9;1170:29;:::i;:::-;1160:39;1246:2;1231:18;;;;1218:32;;-1:-1:-1;;;1002:254:1:o;1635:328::-;1712:6;1720;1728;1781:2;1769:9;1760:7;1756:23;1752:32;1749:52;;;1797:1;1794;1787:12;1749:52;1820:29;1839:9;1820:29;:::i;:::-;1810:39;;1868:38;1902:2;1891:9;1887:18;1868:38;:::i;:::-;1858:48;;1953:2;1942:9;1938:18;1925:32;1915:42;;1635:328;;;;;:::o;2157:186::-;2216:6;2269:2;2257:9;2248:7;2244:23;2240:32;2237:52;;;2285:1;2282;2275:12;2237:52;2308:29;2327:9;2308:29;:::i;2348:260::-;2416:6;2424;2477:2;2465:9;2456:7;2452:23;2448:32;2445:52;;;2493:1;2490;2483:12;2445:52;2516:29;2535:9;2516:29;:::i;:::-;2506:39;;2564:38;2598:2;2587:9;2583:18;2564:38;:::i;:::-;2554:48;;2348:260;;;;;:::o;2613:127::-;2674:10;2669:3;2665:20;2662:1;2655:31;2705:4;2702:1;2695:15;2729:4;2726:1;2719:15;2745:125;2785:4;2813:1;2810;2807:8;2804:34;;;2818:18;;:::i;:::-;-1:-1:-1;2855:9:1;;2745:125::o;2875:128::-;2915:3;2946:1;2942:6;2939:1;2936:13;2933:39;;;2952:18;;:::i;:::-;-1:-1:-1;2988:9:1;;2875:128::o

Swarm Source

ipfs://4f9062b46867377370a7753a08da0e584836c243707147d0105e19e07a7c0118
Loading