ETH Price: $3,457.08 (-0.86%)

Token

Decentralized Detention (JAIL)
 

Overview

Max Total Supply

14,000 JAIL

Holders

247

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-

Other Info

Token Contract (WITH 18 Decimals)

Balance
64.453536718368017488 JAIL

Value
$0.00
0x5919cAE0F94c031fBD837C741581b9BF7B6323DC
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:
JAILcontract

Compiler Version
v0.5.17+commit.d19bba13

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, None license
/**
 *Submitted for verification at Etherscan.io on 2020-10-12
*/

//                                  ,╓╓╗N%%[    ╘╣ßN╗╓╓,
//                             ╓#╣         [    ]░▒╖      ╢%╓
//                            j▒,          [    ]░░░▒╖       L
//                      ╓╣    j░░▒╖        [    ]░░░░░░b     [    ╟N,
//                   ╓ß       j░░░░▒╖      [    ]░░░░░░░░▒,  [    ╟░░@╕
//                 ╓╣         j░░░░░░░b    [    ]░░░░░░░░░░▒╖[    ╟░░░░╢W
//               ╓╣           j░░░░░░░░░▒, [    ]░░░░░░░░░░░░[    ╟░░░░░░╬╕
//              ╗             j░░░░░░░░░░░▒[    ]░░░░░░░░░░░░[    ╟░░░░░░░░@
//             ╣               ░░░░░░░░░░░░[    ]░░░░░░░░░░░░[    ╟░░░░░░░░░▓
//            ╢               j╬╨╙╨╬░░░░░░░[    ]░░░░░░░╬╩╙╙╬[    ╟░░░░░░░░░░░,
//           ╢      ▒╝╝╜╙,    j[    '▒░░░░░[    ]░░░░░░╜    j[   ,╟╨╨╩╩╬░░░░░░░
//          ß   ▒"          ```"ⁿ╕    ▒░░░░[    ]░░░░░`   ╓ⁿ"```          "╬░░░╣
//         ╒                     ╘     ▒░░░[    ]░░░░     Γ                 ░░░░L
//         ║    ╕                ╔     ╟░░░[    ]░░░░     @                ╓░░░░▒
//             [       ```"`````"╬    ╒░░░░[    ]░░░░L    ╫"`````""``       ]░░░░
//           ╝"[                  L   ╬░░░░[    ]░░░░░   ╒                  ]"╩║░L
//         `    ╦          ,,,,,,╓L  ╓░░░░░[    ]░░░░░L  Jµ,,,,,           4`    `
//              j                 ]░░░░░░░░[    ]░░░░░░░░╝                 [
//               ╬,               ╫░░░░░░░░[    ]░░░░░░░░╫               ,@
//                 ╟              ║░░░░░░░░[    ]░░░░░░░░░              ▒
//                  ╬╓,         ,╓╢░░░░░░░░[    ]░░░░░░░░░W,        ,,╓@`
//                    ,╬░▒````]░░░░░░░░░░░░[    ]░░░░░░░░░░░░[````╟░╣,
//                 ,φ╬░░░▒    j░░░░░░░░░░░░[    ]░░░░░░░░░░░░[    ╟░░░▒@,
//              ╓φ╣░░░░░░▒    j░░░░░░░░░░░░[    ]░░░░░░░░░░░░[    ╟░░░░░░▒@╓
//             '╢░░░░░░░░▒    j░░░░░░░░░░░░[    ]░░░░░░░░░░░░[    ╟░░░░░░░░░╜
//               ╩░░░░░░░▒    j░░░░░░░░░░░░[    ]░░░░░░░░░░░░[    ╟░░░░░░░╩
//                 ╬░░░░░▒    j░░░░░░░░░░░░[    ]░░░░░░░░░░░░[    ╟░░░░░╬`
//                  '╬░░░▒    j░░░░░░░░░░░░[    ]░░░░░░░░░░░░[    ╟░░░╬"
//                     ╨╢▒    j░░░░░░░░░░░░[    ]░░░░░░░░░░░░[    ╟▒╩
//                            j░░░░░░░░░░░░[    ]░░░░░░░░░░░░[    `
//                             ╬░░░░░░░░░░░[    ]░░░░░░░░░░░║╛
//                                "╨╩Ñ░░░░░[    ]░░░░░@╩╨"

pragma solidity >=0.4.22 <0.6.0;

contract JAILcontract {

    string public constant name = "Decentralized Detention";
    string public constant symbol = "JAIL";
    uint8 public constant decimals = 18;  


    event Approval(address indexed tokenOwner, address indexed spender, uint tokens);
    event Transfer(address indexed from, address indexed to, uint tokens);


    mapping(address => uint256) balances;

    mapping(address => mapping (address => uint256)) allowed;
    
    uint256 totalSupply_;

    using SafeMath for uint256;


   constructor(uint256 total) public {  
	totalSupply_ = total;
	balances[msg.sender] = totalSupply_;
    }  

    function totalSupply() public view returns (uint256) {
	return totalSupply_;
    }
    
    function balanceOf(address tokenOwner) public view returns (uint) {
        return balances[tokenOwner];
    }

    function transfer(address receiver, uint numTokens) public returns (bool) {
        require(numTokens <= balances[msg.sender]);
        balances[msg.sender] = balances[msg.sender].sub(numTokens);
        balances[receiver] = balances[receiver].add(numTokens);
        emit Transfer(msg.sender, receiver, numTokens);
        return true;
    }

    function approve(address delegate, uint numTokens) public returns (bool) {
        allowed[msg.sender][delegate] = numTokens;
        emit Approval(msg.sender, delegate, numTokens);
        return true;
    }

    function allowance(address owner, address delegate) public view returns (uint) {
        return allowed[owner][delegate];
    }

    function transferFrom(address owner, address buyer, uint numTokens) public returns (bool) {
        require(numTokens <= balances[owner]);    
        require(numTokens <= allowed[owner][msg.sender]);
    
        balances[owner] = balances[owner].sub(numTokens);
        allowed[owner][msg.sender] = allowed[owner][msg.sender].sub(numTokens);
        balances[buyer] = balances[buyer].add(numTokens);
        emit Transfer(owner, buyer, numTokens);
        return true;
    }
}

library SafeMath { 
    function sub(uint256 a, uint256 b) internal pure returns (uint256) {
      assert(b <= a);
      return a - b;
    }
    
    function add(uint256 a, uint256 b) internal pure returns (uint256) {
      uint256 c = a + b;
      assert(c >= a);
      return c;
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"uint256","name":"total","type":"uint256"}],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"tokenOwner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"tokens","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":"tokens","type":"uint256"}],"name":"Transfer","type":"event"},{"constant":true,"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"delegate","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"delegate","type":"address"},{"internalType":"uint256","name":"numTokens","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"tokenOwner","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":true,"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"payable":false,"stateMutability":"view","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":"receiver","type":"address"},{"internalType":"uint256","name":"numTokens","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"buyer","type":"address"},{"internalType":"uint256","name":"numTokens","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"}]

608060405234801561001057600080fd5b506040516106363803806106368339818101604052602081101561003357600080fd5b50516002819055336000908152602081905260409020556105dd806100596000396000f3fe608060405234801561001057600080fd5b50600436106100935760003560e01c8063313ce56711610066578063313ce567146101a557806370a08231146101c357806395d89b41146101e9578063a9059cbb146101f1578063dd62ed3e1461021d57610093565b806306fdde0314610098578063095ea7b31461011557806318160ddd1461015557806323b872dd1461016f575b600080fd5b6100a061024b565b6040805160208082528351818301528351919283929083019185019080838360005b838110156100da5781810151838201526020016100c2565b50505050905090810190601f1680156101075780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6101416004803603604081101561012b57600080fd5b506001600160a01b038135169060200135610284565b604080519115158252519081900360200190f35b61015d6102ea565b60408051918252519081900360200190f35b6101416004803603606081101561018557600080fd5b506001600160a01b038135811691602081013590911690604001356102f0565b6101ad61044b565b6040805160ff9092168252519081900360200190f35b61015d600480360360208110156101d957600080fd5b50356001600160a01b0316610450565b6100a061046b565b6101416004803603604081101561020757600080fd5b506001600160a01b03813516906020013561048b565b61015d6004803603604081101561023357600080fd5b506001600160a01b0381358116916020013516610555565b6040518060400160405280601781526020017f446563656e7472616c697a656420446574656e74696f6e00000000000000000081525081565b3360008181526001602090815260408083206001600160a01b038716808552908352818420869055815186815291519394909390927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925928290030190a350600192915050565b60025490565b6001600160a01b03831660009081526020819052604081205482111561031557600080fd5b6001600160a01b038416600090815260016020908152604080832033845290915290205482111561034557600080fd5b6001600160a01b03841660009081526020819052604090205461036e908363ffffffff61058016565b6001600160a01b0385166000908152602081815260408083209390935560018152828220338352905220546103a9908363ffffffff61058016565b6001600160a01b03808616600090815260016020908152604080832033845282528083209490945591861681529081905220546103ec908363ffffffff61059216565b6001600160a01b038085166000818152602081815260409182902094909455805186815290519193928816927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a35060019392505050565b601281565b6001600160a01b031660009081526020819052604090205490565b604051806040016040528060048152602001631290525360e21b81525081565b336000908152602081905260408120548211156104a757600080fd5b336000908152602081905260409020546104c7908363ffffffff61058016565b33600090815260208190526040808220929092556001600160a01b038516815220546104f9908363ffffffff61059216565b6001600160a01b038416600081815260208181526040918290209390935580518581529051919233927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a350600192915050565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b60008282111561058c57fe5b50900390565b6000828201838110156105a157fe5b939250505056fea265627a7a72315820c3df445d892e353a4c6d13dc3920c247198ecb47da54d57ddc6f8e0dde9c2f9264736f6c634300051100320000000000000000000000000000000000000000000002f6f10780d22cc00000

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106100935760003560e01c8063313ce56711610066578063313ce567146101a557806370a08231146101c357806395d89b41146101e9578063a9059cbb146101f1578063dd62ed3e1461021d57610093565b806306fdde0314610098578063095ea7b31461011557806318160ddd1461015557806323b872dd1461016f575b600080fd5b6100a061024b565b6040805160208082528351818301528351919283929083019185019080838360005b838110156100da5781810151838201526020016100c2565b50505050905090810190601f1680156101075780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6101416004803603604081101561012b57600080fd5b506001600160a01b038135169060200135610284565b604080519115158252519081900360200190f35b61015d6102ea565b60408051918252519081900360200190f35b6101416004803603606081101561018557600080fd5b506001600160a01b038135811691602081013590911690604001356102f0565b6101ad61044b565b6040805160ff9092168252519081900360200190f35b61015d600480360360208110156101d957600080fd5b50356001600160a01b0316610450565b6100a061046b565b6101416004803603604081101561020757600080fd5b506001600160a01b03813516906020013561048b565b61015d6004803603604081101561023357600080fd5b506001600160a01b0381358116916020013516610555565b6040518060400160405280601781526020017f446563656e7472616c697a656420446574656e74696f6e00000000000000000081525081565b3360008181526001602090815260408083206001600160a01b038716808552908352818420869055815186815291519394909390927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925928290030190a350600192915050565b60025490565b6001600160a01b03831660009081526020819052604081205482111561031557600080fd5b6001600160a01b038416600090815260016020908152604080832033845290915290205482111561034557600080fd5b6001600160a01b03841660009081526020819052604090205461036e908363ffffffff61058016565b6001600160a01b0385166000908152602081815260408083209390935560018152828220338352905220546103a9908363ffffffff61058016565b6001600160a01b03808616600090815260016020908152604080832033845282528083209490945591861681529081905220546103ec908363ffffffff61059216565b6001600160a01b038085166000818152602081815260409182902094909455805186815290519193928816927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a35060019392505050565b601281565b6001600160a01b031660009081526020819052604090205490565b604051806040016040528060048152602001631290525360e21b81525081565b336000908152602081905260408120548211156104a757600080fd5b336000908152602081905260409020546104c7908363ffffffff61058016565b33600090815260208190526040808220929092556001600160a01b038516815220546104f9908363ffffffff61059216565b6001600160a01b038416600081815260208181526040918290209390935580518581529051919233927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a350600192915050565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b60008282111561058c57fe5b50900390565b6000828201838110156105a157fe5b939250505056fea265627a7a72315820c3df445d892e353a4c6d13dc3920c247198ecb47da54d57ddc6f8e0dde9c2f9264736f6c63430005110032

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

0000000000000000000000000000000000000000000002f6f10780d22cc00000

-----Decoded View---------------
Arg [0] : total (uint256): 14000000000000000000000

-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000002f6f10780d22cc00000


Deployed Bytecode Sourcemap

4011:2066:0:-;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;4011:2066:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4042:55;;;:::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;4042:55:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5232:212;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;5232:212:0;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;4660:84;;;:::i;:::-;;;;;;;;;;;;;;;;5589:485;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;5589:485:0;;;;;;;;;;;;;;;;;:::i;4149:35::-;;;:::i;:::-;;;;;;;;;;;;;;;;;;;4756:112;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;4756:112:0;-1:-1:-1;;;;;4756:112:0;;:::i;4104:38::-;;;:::i;4876:348::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;4876:348:0;;;;;;;;:::i;5452:129::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;5452:129:0;;;;;;;;;;:::i;4042:55::-;;;;;;;;;;;;;;;;;;;:::o;5232:212::-;5324:10;5299:4;5316:19;;;:7;:19;;;;;;;;-1:-1:-1;;;;;5316:29:0;;;;;;;;;;;:41;;;5373;;;;;;;5299:4;;5316:29;;5324:10;;5373:41;;;;;;;;-1:-1:-1;5432:4:0;5232:212;;;;:::o;4660:84::-;4724:12;;4660:84;:::o;5589:485::-;-1:-1:-1;;;;;5711:15:0;;5673:4;5711:15;;;;;;;;;;;5698:28;;;5690:37;;;;;;-1:-1:-1;;;;;5763:14:0;;;;;;:7;:14;;;;;;;;5778:10;5763:26;;;;;;;;5750:39;;;5742:48;;;;;;-1:-1:-1;;;;;5825:15:0;;:8;:15;;;;;;;;;;;:30;;5845:9;5825:30;:19;:30;:::i;:::-;-1:-1:-1;;;;;5807:15:0;;:8;:15;;;;;;;;;;;:48;;;;5895:7;:14;;;;;5910:10;5895:26;;;;;;:41;;5926:9;5895:41;:30;:41;:::i;:::-;-1:-1:-1;;;;;5866:14:0;;;;;;;:7;:14;;;;;;;;5881:10;5866:26;;;;;;;:70;;;;5965:15;;;;;;;;;;;:30;;5985:9;5965:30;:19;:30;:::i;:::-;-1:-1:-1;;;;;5947:15:0;;;:8;:15;;;;;;;;;;;;:48;;;;6011:33;;;;;;;5947:15;;6011:33;;;;;;;;;;;;;-1:-1:-1;6062:4:0;5589:485;;;;;:::o;4149:35::-;4182:2;4149:35;:::o;4756:112::-;-1:-1:-1;;;;;4840:20:0;4816:4;4840:20;;;;;;;;;;;;4756:112::o;4104:38::-;;;;;;;;;;;;;;-1:-1:-1;;;4104:38:0;;;;:::o;4876:348::-;4991:10;4944:4;4982:20;;;;;;;;;;;4969:33;;;4961:42;;;;;;5046:10;5037:8;:20;;;;;;;;;;;:35;;5062:9;5037:35;:24;:35;:::i;:::-;5023:10;5014:8;:20;;;;;;;;;;;:58;;;;-1:-1:-1;;;;;5104:18:0;;;;;;:33;;5127:9;5104:33;:22;:33;:::i;:::-;-1:-1:-1;;;;;5083:18:0;;:8;:18;;;;;;;;;;;;:54;;;;5153:41;;;;;;;5083:18;;5162:10;;5153:41;;;;;;;;;;-1:-1:-1;5212:4:0;4876:348;;;;:::o;5452:129::-;-1:-1:-1;;;;;5549:14:0;;;5525:4;5549:14;;;:7;:14;;;;;;;;:24;;;;;;;;;;;;;5452:129::o;6106:119::-;6164:7;6194:1;6189;:6;;6182:14;;;;-1:-1:-1;6212:5:0;;;6106:119::o;6237:141::-;6295:7;6325:5;;;6346:6;;;;6339:14;;;;6369:1;6237:141;-1:-1:-1;;;6237:141:0:o

Swarm Source

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