ETH Price: $3,342.90 (+0.65%)

Token

THREEREDTREES (3RT)
 

Overview

Max Total Supply

217,000,000 3RT

Holders

154

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-

Other Info

Token Contract (WITH 0 Decimals)

Balance
7,289 3RT

Value
$0.00
0x63e7a104bd5c9437a4eae0c76ea0dd4a654bf616
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:
THREEREDTREES

Compiler Version
v0.4.19+commit.c4cbbb05

Optimization Enabled:
Yes with 100 runs

Other Settings:
homestead EvmVersion, GNU GPLv2 license
/**
 *Submitted for verification at Etherscan.io on 2021-04-30
*/

pragma solidity ^0.4.19;

contract THREEREDTREES {

    string public constant name = "THREEREDTREES";
    string public constant symbol = "3RT";
    uint8 public constant decimals = 0;  


    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;
    
   function THREEREDTREES(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);
        Transfer(msg.sender, receiver, numTokens);
        return true;
    }

    function approve(address delegate, uint numTokens) public returns (bool) {
        allowed[msg.sender][delegate] = numTokens;
        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);
        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

[{"constant":true,"inputs":[],"name":"name","outputs":[{"name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"delegate","type":"address"},{"name":"numTokens","type":"uint256"}],"name":"approve","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"totalSupply","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"owner","type":"address"},{"name":"buyer","type":"address"},{"name":"numTokens","type":"uint256"}],"name":"transferFrom","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"decimals","outputs":[{"name":"","type":"uint8"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"tokenOwner","type":"address"}],"name":"balanceOf","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"symbol","outputs":[{"name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"receiver","type":"address"},{"name":"numTokens","type":"uint256"}],"name":"transfer","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"owner","type":"address"},{"name":"delegate","type":"address"}],"name":"allowance","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"inputs":[{"name":"total","type":"uint256"}],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"name":"tokenOwner","type":"address"},{"indexed":true,"name":"spender","type":"address"},{"indexed":false,"name":"tokens","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"from","type":"address"},{"indexed":true,"name":"to","type":"address"},{"indexed":false,"name":"tokens","type":"uint256"}],"name":"Transfer","type":"event"}]

6060604052341561000f57600080fd5b60405160208061067f833981016040528080516002819055600160a060020a033316600090815260208190526040902055505061062e806100516000396000f3006060604052600436106100985763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166306fdde03811461009d578063095ea7b31461012757806318160ddd1461015d57806323b872dd14610182578063313ce567146101aa57806370a08231146101d357806395d89b41146101f2578063a9059cbb14610205578063dd62ed3e14610227575b600080fd5b34156100a857600080fd5b6100b061024c565b60405160208082528190810183818151815260200191508051906020019080838360005b838110156100ec5780820151838201526020016100d4565b50505050905090810190601f1680156101195780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b341561013257600080fd5b610149600160a060020a0360043516602435610283565b604051901515815260200160405180910390f35b341561016857600080fd5b6101706102ef565b60405190815260200160405180910390f35b341561018d57600080fd5b610149600160a060020a03600435811690602435166044356102f5565b34156101b557600080fd5b6101bd61045d565b60405160ff909116815260200160405180910390f35b34156101de57600080fd5b610170600160a060020a0360043516610462565b34156101fd57600080fd5b6100b061047d565b341561021057600080fd5b610149600160a060020a03600435166024356104b4565b341561023257600080fd5b610170600160a060020a03600435811690602435166105af565b60408051908101604052600d81527f5448524545524544545245455300000000000000000000000000000000000000602082015281565b600160a060020a03338116600081815260016020908152604080832094871680845294909152808220859055909291907f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259085905190815260200160405180910390a350600192915050565b60025490565b600160a060020a03831660009081526020819052604081205482111561031a57600080fd5b600160a060020a038085166000908152600160209081526040808320339094168352929052205482111561034d57600080fd5b600160a060020a038416600090815260208190526040902054610376908363ffffffff6105da16565b600160a060020a0380861660009081526020818152604080832094909455600181528382203390931682529190915220546103b7908363ffffffff6105da16565b600160a060020a038086166000908152600160209081526040808320338516845282528083209490945591861681529081905220546103fc908363ffffffff6105ec16565b600160a060020a03808516600081815260208190526040908190209390935591908616907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9085905190815260200160405180910390a35060019392505050565b600081565b600160a060020a031660009081526020819052604090205490565b60408051908101604052600381527f3352540000000000000000000000000000000000000000000000000000000000602082015281565b600160a060020a0333166000908152602081905260408120548211156104d957600080fd5b600160a060020a033316600090815260208190526040902054610502908363ffffffff6105da16565b600160a060020a033381166000908152602081905260408082209390935590851681522054610537908363ffffffff6105ec16565b60008085600160a060020a0316600160a060020a031681526020019081526020016000208190555082600160a060020a031633600160a060020a03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8460405190815260200160405180910390a350600192915050565b600160a060020a03918216600090815260016020908152604080832093909416825291909152205490565b6000828211156105e657fe5b50900390565b6000828201838110156105fb57fe5b93925050505600a165627a7a723058201b4ef3737f21b6fb64884bb6b2005599e896d8a6ab1a18cb0b4b46701835b0200029000000000000000000000000000000000000000000000000000000000cef2840

Deployed Bytecode

0x6060604052600436106100985763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166306fdde03811461009d578063095ea7b31461012757806318160ddd1461015d57806323b872dd14610182578063313ce567146101aa57806370a08231146101d357806395d89b41146101f2578063a9059cbb14610205578063dd62ed3e14610227575b600080fd5b34156100a857600080fd5b6100b061024c565b60405160208082528190810183818151815260200191508051906020019080838360005b838110156100ec5780820151838201526020016100d4565b50505050905090810190601f1680156101195780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b341561013257600080fd5b610149600160a060020a0360043516602435610283565b604051901515815260200160405180910390f35b341561016857600080fd5b6101706102ef565b60405190815260200160405180910390f35b341561018d57600080fd5b610149600160a060020a03600435811690602435166044356102f5565b34156101b557600080fd5b6101bd61045d565b60405160ff909116815260200160405180910390f35b34156101de57600080fd5b610170600160a060020a0360043516610462565b34156101fd57600080fd5b6100b061047d565b341561021057600080fd5b610149600160a060020a03600435166024356104b4565b341561023257600080fd5b610170600160a060020a03600435811690602435166105af565b60408051908101604052600d81527f5448524545524544545245455300000000000000000000000000000000000000602082015281565b600160a060020a03338116600081815260016020908152604080832094871680845294909152808220859055909291907f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259085905190815260200160405180910390a350600192915050565b60025490565b600160a060020a03831660009081526020819052604081205482111561031a57600080fd5b600160a060020a038085166000908152600160209081526040808320339094168352929052205482111561034d57600080fd5b600160a060020a038416600090815260208190526040902054610376908363ffffffff6105da16565b600160a060020a0380861660009081526020818152604080832094909455600181528382203390931682529190915220546103b7908363ffffffff6105da16565b600160a060020a038086166000908152600160209081526040808320338516845282528083209490945591861681529081905220546103fc908363ffffffff6105ec16565b600160a060020a03808516600081815260208190526040908190209390935591908616907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9085905190815260200160405180910390a35060019392505050565b600081565b600160a060020a031660009081526020819052604090205490565b60408051908101604052600381527f3352540000000000000000000000000000000000000000000000000000000000602082015281565b600160a060020a0333166000908152602081905260408120548211156104d957600080fd5b600160a060020a033316600090815260208190526040902054610502908363ffffffff6105da16565b600160a060020a033381166000908152602081905260408082209390935590851681522054610537908363ffffffff6105ec16565b60008085600160a060020a0316600160a060020a031681526020019081526020016000208190555082600160a060020a031633600160a060020a03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8460405190815260200160405180910390a350600192915050565b600160a060020a03918216600090815260016020908152604080832093909416825291909152205490565b6000828211156105e657fe5b50900390565b6000828201838110156105fb57fe5b93925050505600a165627a7a723058201b4ef3737f21b6fb64884bb6b2005599e896d8a6ab1a18cb0b4b46701835b0200029

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

000000000000000000000000000000000000000000000000000000000cef2840

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

-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 000000000000000000000000000000000000000000000000000000000cef2840


Deployed Bytecode Sourcemap

28:2051:0:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;60:45;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:2;8:100;;;99:1;94:3;90;84:5;71:3;;;64:6;52:2;45:3;8:100;;;12:14;3:109;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1244:207:0;;;;;;;;;;-1:-1:-1;;;;;1244:207:0;;;;;;;;;;;;;;;;;;;;;;;;677:84;;;;;;;;;;;;;;;;;;;;;;;;;;;1596:480;;;;;;;;;;-1:-1:-1;;;;;1596:480:0;;;;;;;;;;;;156:34;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;773:112;;;;;;;;;;-1:-1:-1;;;;;773:112:0;;;;;112:37;;;;;;;;;;;;893:343;;;;;;;;;;-1:-1:-1;;;;;893:343:0;;;;;;;1459:129;;;;;;;;;;-1:-1:-1;;;;;1459:129:0;;;;;;;;;;60:45;;;;;;;;;;;;;;;;;;:::o;1244:207::-;-1:-1:-1;;;;;1336:10:0;1328:19;;1311:4;1328:19;;;:7;:19;;;;;;;;:29;;;;;;;;;;;;;:41;;;1311:4;;1328:29;:19;1380:41;;1360:9;;1380:41;;;;;;;;;;;;;-1:-1:-1;1439:4:0;1244:207;;;;:::o;677:84::-;741:12;;677:84;:::o;1596:480::-;-1:-1:-1;;;;;1718:15:0;;1680:4;1718:15;;;;;;;;;;;1705:28;;;1697:37;;;;;;-1:-1:-1;;;;;1770:14:0;;;;;;;:7;:14;;;;;;;;1785:10;1770:26;;;;;;;;;;1757:39;;;1749:48;;;;;;-1:-1:-1;;;;;1832:15:0;;:8;:15;;;;;;;;;;;:30;;1852:9;1832:30;:19;:30;:::i;:::-;-1:-1:-1;;;;;1814:15:0;;;:8;:15;;;;;;;;;;;:48;;;;1902:7;:14;;;;;1917:10;1902:26;;;;;;;;;;;:41;;1933:9;1902:41;:30;:41;:::i;:::-;-1:-1:-1;;;;;1873:14:0;;;;;;;:7;:14;;;;;;;;1888:10;1873:26;;;;;;;;;:70;;;;1972:15;;;;;;;;;;;:30;;1992:9;1972:30;:19;:30;:::i;:::-;-1:-1:-1;;;;;1954:15:0;;;:8;:15;;;;;;;;;;;;:48;;;;:15;2013:33;;;;;;2036:9;;2013:33;;;;;;;;;;;;;-1:-1:-1;2064:4:0;1596:480;;;;;:::o;156:34::-;189:1;156:34;:::o;773:112::-;-1:-1:-1;;;;;857:20:0;833:4;857:20;;;;;;;;;;;;773:112::o;112:37::-;;;;;;;;;;;;;;;;;;:::o;893:343::-;-1:-1:-1;;;;;1008:10:0;999:20;961:4;999:20;;;;;;;;;;;986:33;;;978:42;;;;;;-1:-1:-1;;;;;1063:10:0;1054:20;:8;:20;;;;;;;;;;;:35;;1079:9;1054:35;:24;:35;:::i;:::-;-1:-1:-1;;;;;1040:10:0;1031:20;;:8;:20;;;;;;;;;;;:58;;;;1121:18;;;;;;;:33;;1144:9;1121:33;:22;:33;:::i;:::-;1100:8;:18;1109:8;-1:-1:-1;;;;;1100:18:0;-1:-1:-1;;;;;1100:18:0;;;;;;;;;;;;:54;;;;1186:8;-1:-1:-1;;;;;1165:41:0;1174:10;-1:-1:-1;;;;;1165:41:0;;1196:9;1165:41;;;;;;;;;;;;;;-1:-1:-1;1224:4:0;893:343;;;;:::o;1459:129::-;-1:-1:-1;;;;;1556:14:0;;;1532:4;1556:14;;;:7;:14;;;;;;;;:24;;;;;;;;;;;;;1459:129::o;2108:119::-;2166:7;2191:6;;;;2184:14;;;;-1:-1:-1;2214:5:0;;;2108:119::o;2239:141::-;2297:7;2327:5;;;2348:6;;;;2341:14;;;;2371:1;2239:141;-1:-1:-1;;;2239:141:0:o

Swarm Source

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