ETH Price: $3,388.87 (+1.27%)

Token

Jupiter (JUP)
 

Overview

Max Total Supply

1,000,000,000 JUP

Holders

17,001 (0.00%)

Market

Price

$0.00 @ 0.000000 ETH

Onchain Market Cap

$2,147,150.00

Circulating Supply Market Cap

$2,151,701.00

Other Info

Token Contract (WITH 18 Decimals)

Balance
0 JUP

Value
$0.00
0x8f6b5394e93291a9fab9b73e66f5f052daa8b149
Loading...
Loading
Loading...
Loading
Loading...
Loading

Market

Volume (24H):$101,768.00
Market Capitalization:$2,151,701.00
Circulating Supply:1,000,000,000.00 JUP
Market Data Source: Coinmarketcap

# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
Jupiter

Compiler Version
v0.6.12+commit.27d51765

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license
/**
 *Submitted for verification at Etherscan.io on 2020-08-16
*/

pragma solidity ^0.6.0;
//
// SPDX-License-Identifier: MIT
//

contract Jupiter {

    string public constant name = "Jupiter";
    string public constant symbol = "JUP";
    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;
        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;
    }
}

// 
/**
 * @dev Wrappers over Solidity's arithmetic operations with added overflow
 * checks.
 *
 * Arithmetic operations in Solidity wrap on overflow. This can easily result
 * in bugs, because programmers usually assume that an overflow raises an
 * error, which is the standard behavior in high level programming languages.
 * `SafeMath` restores this intuition by reverting the transaction when an
 * operation overflows.
 *
 * Using this library instead of the unchecked operations eliminates an entire
 * class of bugs, so it's recommended to use it always.
 */
library SafeMath {
    /**
     * @dev Returns the addition of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `+` operator.
     *
     * Requirements:
     *
     * - Addition cannot overflow.
     */
    function add(uint256 a, uint256 b) internal pure returns (uint256) {
        uint256 c = a + b;
        require(c >= a, "SafeMath: addition overflow");

        return c;
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting on
     * overflow (when the result is negative).
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(uint256 a, uint256 b) internal pure returns (uint256) {
        return sub(a, b, "SafeMath: subtraction overflow");
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting with custom message on
     * overflow (when the result is negative).
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        require(b <= a, errorMessage);
        uint256 c = a - b;

        return c;
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `*` operator.
     *
     * Requirements:
     *
     * - Multiplication cannot overflow.
     */
    function mul(uint256 a, uint256 b) internal pure returns (uint256) {
        // Gas optimization: this is cheaper than requiring 'a' not being zero, but the
        // benefit is lost if 'b' is also tested.
        // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522
        if (a == 0) {
            return 0;
        }

        uint256 c = a * b;
        require(c / a == b, "SafeMath: multiplication overflow");

        return c;
    }

    /**
     * @dev Returns the integer division of two unsigned integers. Reverts on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator. Note: this function uses a
     * `revert` opcode (which leaves remaining gas untouched) while Solidity
     * uses an invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(uint256 a, uint256 b) internal pure returns (uint256) {
        return div(a, b, "SafeMath: division by zero");
    }

    /**
     * @dev Returns the integer division of two unsigned integers. Reverts with custom message on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator. Note: this function uses a
     * `revert` opcode (which leaves remaining gas untouched) while Solidity
     * uses an invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        require(b > 0, errorMessage);
        uint256 c = a / b;
        // assert(a == b * c + a % b); // There is no case in which this doesn't hold

        return c;
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * Reverts when dividing by zero.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function mod(uint256 a, uint256 b) internal pure returns (uint256) {
        return mod(a, b, "SafeMath: modulo by zero");
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * Reverts with custom message when dividing by zero.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        require(b != 0, errorMessage);
        return a % b;
    }
}

// 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"}],"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"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"delegate","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"delegate","type":"address"},{"internalType":"uint256","name":"numTokens","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"tokenOwner","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":"receiver","type":"address"},{"internalType":"uint256","name":"numTokens","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"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"}],"stateMutability":"nonpayable","type":"function"}]

608060405234801561001057600080fd5b506040516107143803806107148339818101604052602081101561003357600080fd5b50516002819055336000908152602081905260409020556106bb806100596000396000f3fe608060405234801561001057600080fd5b50600436106100935760003560e01c8063313ce56711610066578063313ce567146101a557806370a08231146101c357806395d89b41146101e9578063a9059cbb146101f1578063dd62ed3e1461021d57610093565b806306fdde0314610098578063095ea7b31461011557806318160ddd1461015557806323b872dd1461016f575b600080fd5b6100a061024b565b6040805160208082528351818301528351919283929083019185019080838360005b838110156100da5781810151838201526020016100c2565b50505050905090810190601f1680156101075780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6101416004803603604081101561012b57600080fd5b506001600160a01b03813516906020013561026e565b604080519115158252519081900360200190f35b61015d6102d4565b60408051918252519081900360200190f35b6101416004803603606081101561018557600080fd5b506001600160a01b038135811691602081013590911690604001356102da565b6101ad610423565b6040805160ff9092168252519081900360200190f35b61015d600480360360208110156101d957600080fd5b50356001600160a01b0316610428565b6100a0610443565b6101416004803603604081101561020757600080fd5b506001600160a01b038135169060200135610462565b61015d6004803603604081101561023357600080fd5b506001600160a01b0381358116916020013516610520565b60405180604001604052806007815260200166253ab834ba32b960c91b81525081565b3360008181526001602090815260408083206001600160a01b038716808552908352818420869055815186815291519394909390927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925928290030190a350600192915050565b60025490565b6001600160a01b0383166000908152602081905260408120548211156102ff57600080fd5b6001600160a01b038416600090815260016020908152604080832033845290915290205482111561032f57600080fd5b6001600160a01b038416600090815260208190526040902054610352908361054b565b6001600160a01b038516600090815260208181526040808320939093556001815282822033835290522054610387908361054b565b6001600160a01b03808616600090815260016020908152604080832033845282528083209490945591861681529081905220546103c49083610594565b6001600160a01b038085166000818152602081815260409182902094909455805186815290519193928816927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a35060019392505050565b601281565b6001600160a01b031660009081526020819052604090205490565b6040518060400160405280600381526020016204a55560ec1b81525081565b3360009081526020819052604081205482111561047e57600080fd5b33600090815260208190526040902054610498908361054b565b33600090815260208190526040808220929092556001600160a01b038516815220546104c49083610594565b6001600160a01b038416600081815260208181526040918290209390935580518581529051919233927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a350600192915050565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b600061058d83836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f7700008152506105ee565b9392505050565b60008282018381101561058d576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b6000818484111561067d5760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561064257818101518382015260200161062a565b50505050905090810190601f16801561066f5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b50505090039056fea2646970667358221220ac526cbb1d9810060b4ed92d27b148c969fa394a0c2b42a1dd42a4616638a22264736f6c634300060c00330000000000000000000000000000000000000000033b2e3c9fd0803ce8000000

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106100935760003560e01c8063313ce56711610066578063313ce567146101a557806370a08231146101c357806395d89b41146101e9578063a9059cbb146101f1578063dd62ed3e1461021d57610093565b806306fdde0314610098578063095ea7b31461011557806318160ddd1461015557806323b872dd1461016f575b600080fd5b6100a061024b565b6040805160208082528351818301528351919283929083019185019080838360005b838110156100da5781810151838201526020016100c2565b50505050905090810190601f1680156101075780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6101416004803603604081101561012b57600080fd5b506001600160a01b03813516906020013561026e565b604080519115158252519081900360200190f35b61015d6102d4565b60408051918252519081900360200190f35b6101416004803603606081101561018557600080fd5b506001600160a01b038135811691602081013590911690604001356102da565b6101ad610423565b6040805160ff9092168252519081900360200190f35b61015d600480360360208110156101d957600080fd5b50356001600160a01b0316610428565b6100a0610443565b6101416004803603604081101561020757600080fd5b506001600160a01b038135169060200135610462565b61015d6004803603604081101561023357600080fd5b506001600160a01b0381358116916020013516610520565b60405180604001604052806007815260200166253ab834ba32b960c91b81525081565b3360008181526001602090815260408083206001600160a01b038716808552908352818420869055815186815291519394909390927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925928290030190a350600192915050565b60025490565b6001600160a01b0383166000908152602081905260408120548211156102ff57600080fd5b6001600160a01b038416600090815260016020908152604080832033845290915290205482111561032f57600080fd5b6001600160a01b038416600090815260208190526040902054610352908361054b565b6001600160a01b038516600090815260208181526040808320939093556001815282822033835290522054610387908361054b565b6001600160a01b03808616600090815260016020908152604080832033845282528083209490945591861681529081905220546103c49083610594565b6001600160a01b038085166000818152602081815260409182902094909455805186815290519193928816927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a35060019392505050565b601281565b6001600160a01b031660009081526020819052604090205490565b6040518060400160405280600381526020016204a55560ec1b81525081565b3360009081526020819052604081205482111561047e57600080fd5b33600090815260208190526040902054610498908361054b565b33600090815260208190526040808220929092556001600160a01b038516815220546104c49083610594565b6001600160a01b038416600081815260208181526040918290209390935580518581529051919233927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a350600192915050565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b600061058d83836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f7700008152506105ee565b9392505050565b60008282018381101561058d576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b6000818484111561067d5760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561064257818101518382015260200161062a565b50505050905090810190601f16801561066f5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b50505090039056fea2646970667358221220ac526cbb1d9810060b4ed92d27b148c969fa394a0c2b42a1dd42a4616638a22264736f6c634300060c0033

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

0000000000000000000000000000000000000000033b2e3c9fd0803ce8000000

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

-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000033b2e3c9fd0803ce8000000


Deployed Bytecode Sourcemap

68:2034:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;94:39;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1267:207;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;1267:207:0;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;695:84;;;:::i;:::-;;;;;;;;;;;;;;;;1619:480;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;1619:480:0;;;;;;;;;;;;;;;;;:::i;184:35::-;;;:::i;:::-;;;;;;;;;;;;;;;;;;;791:112;;;;;;;;;;;;;;;;-1:-1:-1;791:112:0;-1:-1:-1;;;;;791:112:0;;:::i;140:37::-;;;:::i;911:348::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;911:348:0;;;;;;;;:::i;1482:129::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;1482:129:0;;;;;;;;;;:::i;94:39::-;;;;;;;;;;;;;;-1:-1:-1;;;94:39:0;;;;:::o;1267:207::-;1359:10;1334:4;1351:19;;;:7;:19;;;;;;;;-1:-1:-1;;;;;1351:29:0;;;;;;;;;;;:41;;;1403;;;;;;;1334:4;;1351:29;;1359:10;;1403:41;;;;;;;;-1:-1:-1;1462:4:0;1267:207;;;;:::o;695:84::-;759:12;;695:84;:::o;1619:480::-;-1:-1:-1;;;;;1741:15:0;;1703:4;1741:15;;;;;;;;;;;1728:28;;;1720:37;;;;;;-1:-1:-1;;;;;1793:14:0;;;;;;:7;:14;;;;;;;;1808:10;1793:26;;;;;;;;1780:39;;;1772:48;;;;;;-1:-1:-1;;;;;1855:15:0;;:8;:15;;;;;;;;;;;:30;;1875:9;1855:19;:30::i;:::-;-1:-1:-1;;;;;1837:15:0;;:8;:15;;;;;;;;;;;:48;;;;1925:7;:14;;;;;1940:10;1925:26;;;;;;:41;;1956:9;1925:30;:41::i;:::-;-1:-1:-1;;;;;1896:14:0;;;;;;;:7;:14;;;;;;;;1911:10;1896:26;;;;;;;:70;;;;1995:15;;;;;;;;;;;:30;;2015:9;1995:19;:30::i;:::-;-1:-1:-1;;;;;1977:15:0;;;:8;:15;;;;;;;;;;;;:48;;;;2036:33;;;;;;;1977:15;;2036:33;;;;;;;;;;;;;-1:-1:-1;2087:4:0;1619:480;;;;;:::o;184:35::-;217:2;184:35;:::o;791:112::-;-1:-1:-1;;;;;875:20:0;851:4;875:20;;;;;;;;;;;;791:112::o;140:37::-;;;;;;;;;;;;;;-1:-1:-1;;;140:37:0;;;;:::o;911:348::-;1026:10;979:4;1017:20;;;;;;;;;;;1004:33;;;996:42;;;;;;1081:10;1072:8;:20;;;;;;;;;;;:35;;1097:9;1072:24;:35::i;:::-;1058:10;1049:8;:20;;;;;;;;;;;:58;;;;-1:-1:-1;;;;;1139:18:0;;;;;;:33;;1162:9;1139:22;:33::i;:::-;-1:-1:-1;;;;;1118:18:0;;:8;:18;;;;;;;;;;;;:54;;;;1188:41;;;;;;;1118:18;;1197:10;;1188:41;;;;;;;;;;-1:-1:-1;1247:4:0;911:348;;;;:::o;1482:129::-;-1:-1:-1;;;;;1579:14:0;;;1555:4;1579:14;;;:7;:14;;;;;;;;:24;;;;;;;;;;;;;1482:129::o;3415:136::-;3473:7;3500:43;3504:1;3507;3500:43;;;;;;;;;;;;;;;;;:3;:43::i;:::-;3493:50;3415:136;-1:-1:-1;;;3415:136:0:o;2951:181::-;3009:7;3041:5;;;3065:6;;;;3057:46;;;;;-1:-1:-1;;;3057:46:0;;;;;;;;;;;;;;;;;;;;;;;;;;;3854:192;3940:7;3976:12;3968:6;;;;3960:29;;;;-1:-1:-1;;;3960:29:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;4012:5:0;;;3854:192::o

Swarm Source

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