ETH Price: $3,405.67 (+3.36%)

Token

Reward Extractor (RE)
 

Overview

Max Total Supply

0.000000000000000001 RE

Holders

1

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-

Other Info

Token Contract (WITH 18 Decimals)

Balance
0.000000000000000001 RE

Value
$0.00
0x7d85C0905a6E1Ab5837a0b57cD94A419d3a77523
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:
ERC20

Compiler Version
v0.8.17+commit.8df45f5f

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license
/**
 *Submitted for verification at Etherscan.io on 2023-07-17
*/

// SPDX-License-Identifier: MIT
pragma solidity 0.8.17;

contract ERC20 {
    uint public totalSupply;
    mapping(address => uint) public balanceOf;
    mapping(address => mapping(address => uint)) public allowance;

    string public name;
    string public symbol;
    uint8 public decimals;

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

    constructor(string memory _name, string memory _symbol, uint256 _totalSupply) {
        name = _name;
        symbol = _symbol;
        decimals = 18;
        _mint(msg.sender, _totalSupply);
    }

    function transfer(address recipient, uint amount) external returns (bool) {
        balanceOf[msg.sender] -= amount;
        balanceOf[recipient] += amount;
        emit Transfer(msg.sender, recipient, amount);
        return true;
    }

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

    function transferFrom(
        address sender,
        address recipient,
        uint amount
    ) external returns (bool) {
        allowance[sender][msg.sender] -= amount;
        balanceOf[sender] -= amount;
        balanceOf[recipient] += amount;
        emit Transfer(sender, recipient, amount);
        return true;
    }

    function _mint(address to, uint amount) internal {
        balanceOf[to] += amount;
        totalSupply += amount;
        emit Transfer(address(0), to, amount);
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"_name","type":"string"},{"internalType":"string","name":"_symbol","type":"string"},{"internalType":"uint256","name":"_totalSupply","type":"uint256"}],"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":"amount","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":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","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":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"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"}],"stateMutability":"nonpayable","type":"function"}]

60806040523480156200001157600080fd5b50604051620009ab380380620009ab8339810160408190526200003491620001c7565b6003620000428482620002c9565b506004620000518382620002c9565b506005805460ff191660121790556200006b338262000074565b505050620003bd565b6001600160a01b038216600090815260016020526040812080548392906200009e90849062000395565b9250508190555080600080828254620000b8919062000395565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b634e487b7160e01b600052604160045260246000fd5b600082601f8301126200012a57600080fd5b81516001600160401b038082111562000147576200014762000102565b604051601f8301601f19908116603f0116810190828211818310171562000172576200017262000102565b816040528381526020925086838588010111156200018f57600080fd5b600091505b83821015620001b3578582018301518183018401529082019062000194565b600093810190920192909252949350505050565b600080600060608486031215620001dd57600080fd5b83516001600160401b0380821115620001f557600080fd5b620002038783880162000118565b945060208601519150808211156200021a57600080fd5b50620002298682870162000118565b925050604084015190509250925092565b600181811c908216806200024f57607f821691505b6020821081036200027057634e487b7160e01b600052602260045260246000fd5b50919050565b601f821115620002c457600081815260208120601f850160051c810160208610156200029f5750805b601f850160051c820191505b81811015620002c057828155600101620002ab565b5050505b505050565b81516001600160401b03811115620002e557620002e562000102565b620002fd81620002f684546200023a565b8462000276565b602080601f8311600181146200033557600084156200031c5750858301515b600019600386901b1c1916600185901b178555620002c0565b600085815260208120601f198616915b82811015620003665788860151825594840194600190910190840162000345565b5085821015620003855787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b80820180821115620003b757634e487b7160e01b600052601160045260246000fd5b92915050565b6105de80620003cd6000396000f3fe608060405234801561001057600080fd5b50600436106100935760003560e01c8063313ce56711610066578063313ce5671461010357806370a082311461012257806395d89b4114610142578063a9059cbb1461014a578063dd62ed3e1461015d57600080fd5b806306fdde0314610098578063095ea7b3146100b657806318160ddd146100d957806323b872dd146100f0575b600080fd5b6100a0610188565b6040516100ad919061040d565b60405180910390f35b6100c96100c4366004610477565b610216565b60405190151581526020016100ad565b6100e260005481565b6040519081526020016100ad565b6100c96100fe3660046104a1565b610283565b6005546101109060ff1681565b60405160ff90911681526020016100ad565b6100e26101303660046104dd565b60016020526000908152604090205481565b6100a0610370565b6100c9610158366004610477565b61037d565b6100e261016b3660046104ff565b600260209081526000928352604080842090915290825290205481565b6003805461019590610532565b80601f01602080910402602001604051908101604052809291908181526020018280546101c190610532565b801561020e5780601f106101e35761010080835404028352916020019161020e565b820191906000526020600020905b8154815290600101906020018083116101f157829003601f168201915b505050505081565b3360008181526002602090815260408083206001600160a01b038716808552925280832085905551919290917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925906102719086815260200190565b60405180910390a35060015b92915050565b6001600160a01b03831660009081526002602090815260408083203384529091528120805483919083906102b8908490610582565b90915550506001600160a01b038416600090815260016020526040812080548492906102e5908490610582565b90915550506001600160a01b03831660009081526001602052604081208054849290610312908490610595565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8460405161035e91815260200190565b60405180910390a35060019392505050565b6004805461019590610532565b3360009081526001602052604081208054839190839061039e908490610582565b90915550506001600160a01b038316600090815260016020526040812080548492906103cb908490610595565b90915550506040518281526001600160a01b0384169033907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90602001610271565b600060208083528351808285015260005b8181101561043a5785810183015185820160400152820161041e565b506000604082860101526040601f19601f8301168501019250505092915050565b80356001600160a01b038116811461047257600080fd5b919050565b6000806040838503121561048a57600080fd5b6104938361045b565b946020939093013593505050565b6000806000606084860312156104b657600080fd5b6104bf8461045b565b92506104cd6020850161045b565b9150604084013590509250925092565b6000602082840312156104ef57600080fd5b6104f88261045b565b9392505050565b6000806040838503121561051257600080fd5b61051b8361045b565b91506105296020840161045b565b90509250929050565b600181811c9082168061054657607f821691505b60208210810361056657634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b8181038181111561027d5761027d61056c565b8082018082111561027d5761027d61056c56fea26469706673582212200ab22cc5a1fc4390ac970d281939b02500814ea55e59406e2691db5eb2d532ed64736f6c63430008110033000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a00000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000001052657761726420457874726163746f720000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000025245000000000000000000000000000000000000000000000000000000000000

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106100935760003560e01c8063313ce56711610066578063313ce5671461010357806370a082311461012257806395d89b4114610142578063a9059cbb1461014a578063dd62ed3e1461015d57600080fd5b806306fdde0314610098578063095ea7b3146100b657806318160ddd146100d957806323b872dd146100f0575b600080fd5b6100a0610188565b6040516100ad919061040d565b60405180910390f35b6100c96100c4366004610477565b610216565b60405190151581526020016100ad565b6100e260005481565b6040519081526020016100ad565b6100c96100fe3660046104a1565b610283565b6005546101109060ff1681565b60405160ff90911681526020016100ad565b6100e26101303660046104dd565b60016020526000908152604090205481565b6100a0610370565b6100c9610158366004610477565b61037d565b6100e261016b3660046104ff565b600260209081526000928352604080842090915290825290205481565b6003805461019590610532565b80601f01602080910402602001604051908101604052809291908181526020018280546101c190610532565b801561020e5780601f106101e35761010080835404028352916020019161020e565b820191906000526020600020905b8154815290600101906020018083116101f157829003601f168201915b505050505081565b3360008181526002602090815260408083206001600160a01b038716808552925280832085905551919290917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925906102719086815260200190565b60405180910390a35060015b92915050565b6001600160a01b03831660009081526002602090815260408083203384529091528120805483919083906102b8908490610582565b90915550506001600160a01b038416600090815260016020526040812080548492906102e5908490610582565b90915550506001600160a01b03831660009081526001602052604081208054849290610312908490610595565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8460405161035e91815260200190565b60405180910390a35060019392505050565b6004805461019590610532565b3360009081526001602052604081208054839190839061039e908490610582565b90915550506001600160a01b038316600090815260016020526040812080548492906103cb908490610595565b90915550506040518281526001600160a01b0384169033907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90602001610271565b600060208083528351808285015260005b8181101561043a5785810183015185820160400152820161041e565b506000604082860101526040601f19601f8301168501019250505092915050565b80356001600160a01b038116811461047257600080fd5b919050565b6000806040838503121561048a57600080fd5b6104938361045b565b946020939093013593505050565b6000806000606084860312156104b657600080fd5b6104bf8461045b565b92506104cd6020850161045b565b9150604084013590509250925092565b6000602082840312156104ef57600080fd5b6104f88261045b565b9392505050565b6000806040838503121561051257600080fd5b61051b8361045b565b91506105296020840161045b565b90509250929050565b600181811c9082168061054657607f821691505b60208210810361056657634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b8181038181111561027d5761027d61056c565b8082018082111561027d5761027d61056c56fea26469706673582212200ab22cc5a1fc4390ac970d281939b02500814ea55e59406e2691db5eb2d532ed64736f6c63430008110033

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

000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a00000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000001052657761726420457874726163746f720000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000025245000000000000000000000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : _name (string): Reward Extractor
Arg [1] : _symbol (string): RE
Arg [2] : _totalSupply (uint256): 1

-----Encoded View---------------
7 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000060
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000a0
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000001
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000010
Arg [4] : 52657761726420457874726163746f7200000000000000000000000000000000
Arg [5] : 0000000000000000000000000000000000000000000000000000000000000002
Arg [6] : 5245000000000000000000000000000000000000000000000000000000000000


Deployed Bytecode Sourcemap

60:1602:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;230:18;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;930:204;;;;;;:::i;:::-;;:::i;:::-;;;1169:14:1;;1162:22;1144:41;;1132:2;1117:18;930:204:0;1004:187:1;82:23:0;;;;;;;;;1342:25:1;;;1330:2;1315:18;82:23:0;1196:177:1;1142:338:0;;;;;;:::i;:::-;;:::i;282:21::-;;;;;;;;;;;;1883:4:1;1871:17;;;1853:36;;1841:2;1826:18;282:21:0;1711:184:1;112:41:0;;;;;;:::i;:::-;;;;;;;;;;;;;;255:20;;;:::i;680:242::-;;;;;;:::i;:::-;;:::i;160:61::-;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;230:18;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;930:204::-;1022:10;995:4;1012:21;;;:9;:21;;;;;;;;-1:-1:-1;;;;;1012:30:0;;;;;;;;;;:39;;;1067:37;995:4;;1012:30;;1067:37;;;;1045:6;1342:25:1;;1330:2;1315:18;;1196:177;1067:37:0;;;;;;;;-1:-1:-1;1122:4:0;930:204;;;;;:::o;1142:338::-;-1:-1:-1;;;;;1281:17:0;;1264:4;1281:17;;;:9;:17;;;;;;;;1299:10;1281:29;;;;;;;:39;;1314:6;;1281:29;1264:4;;1281:39;;1314:6;;1281:39;:::i;:::-;;;;-1:-1:-1;;;;;;;1331:17:0;;;;;;:9;:17;;;;;:27;;1352:6;;1331:17;:27;;1352:6;;1331:27;:::i;:::-;;;;-1:-1:-1;;;;;;;1369:20:0;;;;;;:9;:20;;;;;:30;;1393:6;;1369:20;:30;;1393:6;;1369:30;:::i;:::-;;;;;;;;1432:9;-1:-1:-1;;;;;1415:35:0;1424:6;-1:-1:-1;;;;;1415:35:0;;1443:6;1415:35;;;;1342:25:1;;1330:2;1315:18;;1196:177;1415:35:0;;;;;;;;-1:-1:-1;1468:4:0;1142:338;;;;;:::o;255:20::-;;;;;;;:::i;680:242::-;775:10;748:4;765:21;;;:9;:21;;;;;:31;;790:6;;765:21;748:4;;765:31;;790:6;;765:31;:::i;:::-;;;;-1:-1:-1;;;;;;;807:20:0;;;;;;:9;:20;;;;;:30;;831:6;;807:20;:30;;831:6;;807:30;:::i;:::-;;;;-1:-1:-1;;853:39:0;;1342:25:1;;;-1:-1:-1;;;;;853:39:0;;;862:10;;853:39;;1330:2:1;1315:18;853:39:0;1196:177:1;14:548;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;;;298:3;483:1;478:2;469:6;458:9;454:22;450:31;443:42;553:2;546;542:7;537:2;529:6;525:15;521:29;510:9;506:45;502:54;494:62;;;;14:548;;;;:::o;567:173::-;635:20;;-1:-1:-1;;;;;684:31:1;;674:42;;664:70;;730:1;727;720:12;664:70;567:173;;;:::o;745:254::-;813:6;821;874:2;862:9;853:7;849:23;845:32;842:52;;;890:1;887;880:12;842:52;913:29;932:9;913:29;:::i;:::-;903:39;989:2;974:18;;;;961:32;;-1:-1:-1;;;745:254:1:o;1378:328::-;1455:6;1463;1471;1524:2;1512:9;1503:7;1499:23;1495:32;1492:52;;;1540:1;1537;1530:12;1492:52;1563:29;1582:9;1563:29;:::i;:::-;1553:39;;1611:38;1645:2;1634:9;1630:18;1611:38;:::i;:::-;1601:48;;1696:2;1685:9;1681:18;1668:32;1658:42;;1378:328;;;;;:::o;1900:186::-;1959:6;2012:2;2000:9;1991:7;1987:23;1983:32;1980:52;;;2028:1;2025;2018:12;1980:52;2051:29;2070:9;2051:29;:::i;:::-;2041:39;1900:186;-1:-1:-1;;;1900:186:1:o;2091:260::-;2159:6;2167;2220:2;2208:9;2199:7;2195:23;2191:32;2188:52;;;2236:1;2233;2226:12;2188:52;2259:29;2278:9;2259:29;:::i;:::-;2249:39;;2307:38;2341:2;2330:9;2326:18;2307:38;:::i;:::-;2297:48;;2091:260;;;;;:::o;2356:380::-;2435:1;2431:12;;;;2478;;;2499:61;;2553:4;2545:6;2541:17;2531:27;;2499:61;2606:2;2598:6;2595:14;2575:18;2572:38;2569:161;;2652:10;2647:3;2643:20;2640:1;2633:31;2687:4;2684:1;2677:15;2715:4;2712:1;2705:15;2569:161;;2356:380;;;:::o;2741:127::-;2802:10;2797:3;2793:20;2790:1;2783:31;2833:4;2830:1;2823:15;2857:4;2854:1;2847:15;2873:128;2940:9;;;2961:11;;;2958:37;;;2975:18;;:::i;3006:125::-;3071:9;;;3092:10;;;3089:36;;;3105:18;;:::i

Swarm Source

ipfs://0ab22cc5a1fc4390ac970d281939b02500814ea55e59406e2691db5eb2d532ed
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.