Token Phantasma Energy

 

Overview [ERC-20]

Max Total Supply:
53,585,897.2120308628 KCAL

Holders:
1,374 (0.00%)

Transfers:
-

Loading
[ Download CSV Export  ] 
Loading
[ Download CSV Export  ] 
Loading

OVERVIEW

Phantasma is a fast, secure and scalable blockchain solution powered by the governance token SOUL and the energy token KCAL that allows for interoperability with other blockchains while maintaining a decentralized governance system

Market

Volume (24H):$0.00
Market Capitalization:$0.00
Circulating Supply:0.00 KCAL
Market Data Source: Coinmarketcap

# Exchange Pair Price  24H Volume % Volume
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
PhantasmaToken

Compiler Version
v0.7.1+commit.f4a555be

Optimization Enabled:
No with 200 runs

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

// SPDX-License-Identifier: MIT

pragma solidity ^0.7.0;

abstract contract Pausable {
    /**
     * @dev Emitted when the pause is triggered by `account`.
     */
    event Paused(address account);

    /**
     * @dev Emitted when the pause is lifted by `account`.
     */
    event Unpaused(address account);

    bool private _paused;

    /**
     * @dev Initializes the contract in unpaused state.
     */
    constructor () {
        _paused = false;
    }

    /**
     * @dev Returns true if the contract is paused, and false otherwise.
     */
    function paused() public view returns (bool) {
        return _paused;
    }

    /**
     * @dev Modifier to make a function callable only when the contract is not paused.
     *
     * Requirements:
     *
     * - The contract must not be paused.
     */
    modifier whenNotPaused() {
        require(!_paused, "Pausable: paused");
        _;
    }

    /**
     * @dev Modifier to make a function callable only when the contract is paused.
     *
     * Requirements:
     *
     * - The contract must be paused.
     */
    modifier whenPaused() {
        require(_paused, "Pausable: not paused");
        _;
    }

    /**
     * @dev Triggers stopped state.
     *
     * Requirements:
     *
     * - The contract must not be paused.
     */
    function _pause() internal virtual whenNotPaused {
        _paused = true;
        emit Paused(msg.sender);
    }

    /**
     * @dev Returns to normal state.
     *
     * Requirements:
     *
     * - The contract must be paused.
     */
    function _unpause() internal virtual whenPaused {
        _paused = false;
        emit Unpaused(msg.sender);
    }
}

/**
 * @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) {
        // Solidity only automatically asserts when dividing by 0
        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;
    }
}

contract PhantasmaToken is Pausable {

	using SafeMath for uint256;

    string private _name;
    string private _symbol;
    uint8 private _decimals;

    uint256 constant private MAX_UINT256 = 2**256 - 1;
    mapping (address => uint256) private _balances;
    mapping (address => mapping (address => uint256)) private _allowances;
    mapping(address => bool) private _burnAddresses;
	
	uint256 private _totalSupply;
    address private _producer;
	
	function name() public view returns (string memory) {
        return _name;
    }

    function symbol() public view returns (string memory) {
        return _symbol;
    }
	
    function decimals() public view returns (uint8) {
        return _decimals;
    }

    constructor (string memory name_, string memory symbol_, uint8 decimals_) {
        _name = name_;
        _symbol = symbol_;
        _decimals = decimals_;
        _totalSupply = 0;                        
		_producer = msg.sender;
		addNodeAddress(msg.sender);
    }
	
    function addNodeAddress(address _address) public {
		require(msg.sender == _producer);
		require(!_burnAddresses[msg.sender]);
        _burnAddresses[_address] = true;
    }

    function deleteNodeAddress(address _address) public {
		require(msg.sender == _producer);
        require(_burnAddresses[_address]);
        _burnAddresses[_address] = true;
    }

    function transfer(address _to, uint256 _value) public returns (bool success) {
        require(!paused(), "transfer while paused" );
        require(_balances[msg.sender] >= _value);

        if (_burnAddresses[_to]) {

           return swapOut(msg.sender, _to, _value);

        } else {

            _balances[msg.sender] = _balances[msg.sender].sub(_value);
            _balances[_to] = _balances[_to].add(_value);
            emit Transfer(msg.sender, _to, _value); //solhint-disable-line indent, no-unused-vars
            return true;

        }
    }

    function transferFrom(address _from, address _to, uint256 _value) public returns (bool success) {
        require(!paused(), "transferFrom while paused");

        uint256 allowance = _allowances[_from][msg.sender];
        require(_balances[_from] >= _value && allowance >= _value);

        _balances[_to] = _balances[_to].add(_value);
        _balances[_from] = _balances[_from].sub(_value);

        if (allowance < MAX_UINT256) {
            _allowances[_from][msg.sender] -= _value;
        }

        emit Transfer(_from, _to, _value); //solhint-disable-line indent, no-unused-vars
        return true;
    }

    function balanceOf(address account) public view returns (uint256) {
        return _balances[account];
    }

    function approve(address _spender, uint256 _value) public returns (bool) {
        _allowances[msg.sender][_spender] = _value;
        emit Approval(msg.sender, _spender, _value); //solhint-disable-line indent, no-unused-vars
        return true;
    }

    function allowance(address _owner, address _spender) public view returns (uint256 remaining) {
        require(!paused(), "allowance while paused");
        return _allowances[_owner][_spender];
    }
	
    function totalSupply() public view returns (uint256) {
        return _totalSupply;
    }

    function swapInit(address newProducer) public returns (bool success) {
		require(msg.sender == _producer);
		_burnAddresses[_producer] = false;
		_producer = newProducer;
		_burnAddresses[newProducer] = true;
		emit SwapInit(msg.sender, newProducer);
		return true;
    }

    function swapIn(address source, address target, uint256 amount) public returns (bool success) {
        require(!paused(), "swapIn while paused" );
		require(msg.sender == _producer); // only called by Spook
        _totalSupply = _totalSupply.add(amount);
        _balances[target] = _balances[target].add(amount);
        emit Transfer(source, target, amount);
		return true;
    }

    function swapOut(address source, address target, uint256 amount) private returns (bool success) {
		require(msg.sender == source, "sender != source");
		require(_balances[source] >= amount);
		require(_totalSupply >= amount);
		
        _totalSupply = _totalSupply.sub(amount);
        _balances[source] = _balances[source].sub(amount);
        emit Transfer(source, target, amount);
		return true;
    }

    function pause() public {
		require(msg.sender == _producer);
        _pause();
    }

    function unpause() public {
		require(msg.sender == _producer);
        _unpause();
    }

    
    // solhint-disable-next-line no-simple-event-func-name
    event SwapInit(address indexed _from, address indexed _to);
    event Transfer(address indexed _from, address indexed _to, uint256 _value);
    event Approval(address indexed _owner, address indexed _spender, uint256 _value);	
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"name_","type":"string"},{"internalType":"string","name":"symbol_","type":"string"},{"internalType":"uint8","name":"decimals_","type":"uint8"}],"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":false,"internalType":"address","name":"account","type":"address"}],"name":"Paused","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"_from","type":"address"},{"indexed":true,"internalType":"address","name":"_to","type":"address"}],"name":"SwapInit","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"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Unpaused","type":"event"},{"inputs":[{"internalType":"address","name":"_address","type":"address"}],"name":"addNodeAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_owner","type":"address"},{"internalType":"address","name":"_spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"remaining","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":"account","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":"_address","type":"address"}],"name":"deleteNodeAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"source","type":"address"},{"internalType":"address","name":"target","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"swapIn","outputs":[{"internalType":"bool","name":"success","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newProducer","type":"address"}],"name":"swapInit","outputs":[{"internalType":"bool","name":"success","type":"bool"}],"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":"success","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":"success","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"unpause","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60806040523480156200001157600080fd5b50604051620020d4380380620020d4833981810160405260608110156200003757600080fd5b81019080805160405193929190846401000000008211156200005857600080fd5b838201915060208201858111156200006f57600080fd5b82518660018202830111640100000000821117156200008d57600080fd5b8083526020830192505050908051906020019080838360005b83811015620000c3578082015181840152602081019050620000a6565b50505050905090810190601f168015620000f15780820380516001836020036101000a031916815260200191505b50604052602001805160405193929190846401000000008211156200011557600080fd5b838201915060208201858111156200012c57600080fd5b82518660018202830111640100000000821117156200014a57600080fd5b8083526020830192505050908051906020019080838360005b838110156200018057808201518184015260208101905062000163565b50505050905090810190601f168015620001ae5780820380516001836020036101000a031916815260200191505b506040526020018051906020019092919050505060008060006101000a81548160ff0219169083151502179055508260019080519060200190620001f49291906200039a565b5081600290805190602001906200020d9291906200039a565b5080600360006101000a81548160ff021916908360ff160217905550600060078190555033600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555062000283336200028c60201b60201c565b50505062000440565b600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614620002e757600080fd5b600660003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16156200033f57600080fd5b6001600660008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555050565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f10620003dd57805160ff19168380011785556200040e565b828001600101855582156200040e579182015b828111156200040d578251825591602001919060010190620003f0565b5b5090506200041d919062000421565b5090565b5b808211156200043c57600081600090555060010162000422565b5090565b611c8480620004506000396000f3fe608060405234801561001057600080fd5b50600436106101005760003560e01c80636c89ae841161009757806395d89b411161006657806395d89b411461041d578063a9059cbb146104a0578063dd62ed3e14610504578063f78d880e1461057c57610100565b80636c89ae841461031d57806370a08231146103775780638456cb59146103cf57806388d109a7146103d957610100565b806323b872dd116100d357806323b872dd1461024e578063313ce567146102d25780633f4ba83a146102f35780635c975abb146102fd57610100565b806306fdde0314610105578063095ea7b31461018857806318160ddd146101ec57806318f833791461020a575b600080fd5b61010d610600565b6040518080602001828103825283818151815260200191508051906020019080838360005b8381101561014d578082015181840152602081019050610132565b50505050905090810190601f16801561017a5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6101d46004803603604081101561019e57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803590602001909291905050506106a2565b60405180821515815260200191505060405180910390f35b6101f4610794565b6040518082815260200191505060405180910390f35b61024c6004803603602081101561022057600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919050505061079e565b005b6102ba6004803603606081101561026457600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803590602001909291905050506108aa565b60405180821515815260200191505060405180910390f35b6102da610c4e565b604051808260ff16815260200191505060405180910390f35b6102fb610c65565b005b610305610cc9565b60405180821515815260200191505060405180910390f35b61035f6004803603602081101561033357600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610cdf565b60405180821515815260200191505060405180910390f35b6103b96004803603602081101561038d57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610eb1565b6040518082815260200191505060405180910390f35b6103d7610efa565b005b61041b600480360360208110156103ef57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610f5e565b005b610425611069565b6040518080602001828103825283818151815260200191508051906020019080838360005b8381101561046557808201518184015260208101905061044a565b50505050905090810190601f1680156104925780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6104ec600480360360408110156104b657600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291908035906020019092919050505061110b565b60405180821515815260200191505060405180910390f35b6105666004803603604081101561051a57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506113d2565b6040518082815260200191505060405180910390f35b6105e86004803603606081101561059257600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803590602001909291905050506114d4565b60405180821515815260200191505060405180910390f35b606060018054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156106985780601f1061066d57610100808354040283529160200191610698565b820191906000526020600020905b81548152906001019060200180831161067b57829003601f168201915b5050505050905090565b600081600560003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508273ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925846040518082815260200191505060405180910390a36001905092915050565b6000600754905090565b600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146107f857600080fd5b600660003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff161561084f57600080fd5b6001600660008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555050565b60006108b4610cc9565b15610927576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260198152602001807f7472616e7366657246726f6d207768696c65207061757365640000000000000081525060200191505060405180910390fd5b6000600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905082600460008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054101580156109f75750828110155b610a0057600080fd5b610a5283600460008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546116cb90919063ffffffff16565b600460008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550610ae783600460008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461175390919063ffffffff16565b600460008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff811015610bdd5782600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825403925050819055505b8373ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef856040518082815260200191505060405180910390a360019150509392505050565b6000600360009054906101000a900460ff16905090565b600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610cbf57600080fd5b610cc761179d565b565b60008060009054906101000a900460ff16905090565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610d3b57600080fd5b600060066000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506001600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167f75b91fa1da1a0b134e88d33dcd1b8db5e9d7147fc6307e747c914d505d4b2a8760405160405180910390a360019050919050565b6000600460008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610f5457600080fd5b610f5c611886565b565b600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610fb857600080fd5b600660008273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1661100e57600080fd5b6001600660008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555050565b606060028054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156111015780601f106110d657610100808354040283529160200191611101565b820191906000526020600020905b8154815290600101906020018083116110e457829003601f168201915b5050505050905090565b6000611115610cc9565b15611188576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260158152602001807f7472616e73666572207768696c6520706175736564000000000000000000000081525060200191505060405180910390fd5b81600460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205410156111d457600080fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff161561123857611231338484611970565b90506113cc565b61128a82600460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461175390919063ffffffff16565b600460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555061131f82600460008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546116cb90919063ffffffff16565b600460008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508273ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040518082815260200191505060405180910390a3600190505b92915050565b60006113dc610cc9565b1561144f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260168152602001807f616c6c6f77616e6365207768696c65207061757365640000000000000000000081525060200191505060405180910390fd5b600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b60006114de610cc9565b15611551576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260138152602001807f73776170496e207768696c65207061757365640000000000000000000000000081525060200191505060405180910390fd5b600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146115ab57600080fd5b6115c0826007546116cb90919063ffffffff16565b60078190555061161882600460008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546116cb90919063ffffffff16565b600460008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040518082815260200191505060405180910390a3600190509392505050565b600080828401905083811015611749576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601b8152602001807f536166654d6174683a206164646974696f6e206f766572666c6f77000000000081525060200191505060405180910390fd5b8091505092915050565b600061179583836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250611b8e565b905092915050565b60008054906101000a900460ff1661181d576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260148152602001807f5061757361626c653a206e6f742070617573656400000000000000000000000081525060200191505060405180910390fd5b60008060006101000a81548160ff0219169083151502179055507f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa33604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390a1565b60008054906101000a900460ff1615611907576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260108152602001807f5061757361626c653a207061757365640000000000000000000000000000000081525060200191505060405180910390fd5b60016000806101000a81548160ff0219169083151502179055507f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a25833604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390a1565b60008373ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614611a13576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260108152602001807f73656e64657220213d20736f757263650000000000000000000000000000000081525060200191505060405180910390fd5b81600460008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020541015611a5f57600080fd5b816007541015611a6e57600080fd5b611a838260075461175390919063ffffffff16565b600781905550611adb82600460008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461175390919063ffffffff16565b600460008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040518082815260200191505060405180910390a3600190509392505050565b6000838311158290611c3b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b83811015611c00578082015181840152602081019050611be5565b50505050905090810190601f168015611c2d5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b506000838503905080915050939250505056fea2646970667358221220bf148ef6b28fd1fc203510200c9e8b9fdc11581134c3aefd31724e8c95e82b1f64736f6c63430007010033000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000000000a00000000000000000000000000000000000000000000000000000000000000105068616e7461736d6120456e657267790000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000044b43414c00000000000000000000000000000000000000000000000000000000

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

000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000000000a00000000000000000000000000000000000000000000000000000000000000105068616e7461736d6120456e657267790000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000044b43414c00000000000000000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : name_ (string): Phantasma Energy
Arg [1] : symbol_ (string): KCAL
Arg [2] : decimals_ (uint8): 10

-----Encoded View---------------
7 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000060
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000a0
Arg [2] : 000000000000000000000000000000000000000000000000000000000000000a
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000010
Arg [4] : 5068616e7461736d6120456e6572677900000000000000000000000000000000
Arg [5] : 0000000000000000000000000000000000000000000000000000000000000004
Arg [6] : 4b43414c00000000000000000000000000000000000000000000000000000000


Deployed ByteCode Sourcemap

7061:4920:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;7532:83;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;9808:256;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;10284:91;;;:::i;:::-;;;;;;;;;;;;;;;;;;;8094:177;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;9052:630;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;7719:83;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;11584:92;;;:::i;:::-;;586:78;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;10383:278;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;9690:110;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;11488:88;;;:::i;:::-;;8279:183;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;7623:87;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8470:574;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;10072:203;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;10669:390;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;7532:83;7569:13;7602:5;7595:12;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;7532:83;:::o;9808:256::-;9875:4;9928:6;9892:11;:23;9904:10;9892:23;;;;;;;;;;;;;;;:33;9916:8;9892:33;;;;;;;;;;;;;;;:42;;;;9971:8;9950:38;;9959:10;9950:38;;;9981:6;9950:38;;;;;;;;;;;;;;;;;;10052:4;10045:11;;9808:256;;;;:::o;10284:91::-;10328:7;10355:12;;10348:19;;10284:91;:::o;8094:177::-;8170:9;;;;;;;;;;;8156:23;;:10;:23;;;8148:32;;;;;;8194:14;:26;8209:10;8194:26;;;;;;;;;;;;;;;;;;;;;;;;;8193:27;8185:36;;;;;;8259:4;8232:14;:24;8247:8;8232:24;;;;;;;;;;;;;;;;:31;;;;;;;;;;;;;;;;;;8094:177;:::o;9052:630::-;9134:12;9168:8;:6;:8::i;:::-;9167:9;9159:47;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;9219:17;9239:11;:18;9251:5;9239:18;;;;;;;;;;;;;;;:30;9258:10;9239:30;;;;;;;;;;;;;;;;9219:50;;9308:6;9288:9;:16;9298:5;9288:16;;;;;;;;;;;;;;;;:26;;:49;;;;;9331:6;9318:9;:19;;9288:49;9280:58;;;;;;9368:26;9387:6;9368:9;:14;9378:3;9368:14;;;;;;;;;;;;;;;;:18;;:26;;;;:::i;:::-;9351:9;:14;9361:3;9351:14;;;;;;;;;;;;;;;:43;;;;9424:28;9445:6;9424:9;:16;9434:5;9424:16;;;;;;;;;;;;;;;;:20;;:28;;;;:::i;:::-;9405:9;:16;9415:5;9405:16;;;;;;;;;;;;;;;:47;;;;7265:10;9469:9;:23;9465:96;;;9543:6;9509:11;:18;9521:5;9509:18;;;;;;;;;;;;;;;:30;9528:10;9509:30;;;;;;;;;;;;;;;;:40;;;;;;;;;;;9465:96;9594:3;9578:28;;9587:5;9578:28;;;9599:6;9578:28;;;;;;;;;;;;;;;;;;9670:4;9663:11;;;9052:630;;;;;:::o;7719:83::-;7760:5;7785:9;;;;;;;;;;;7778:16;;7719:83;:::o;11584:92::-;11637:9;;;;;;;;;;;11623:23;;:10;:23;;;11615:32;;;;;;11658:10;:8;:10::i;:::-;11584:92::o;586:78::-;625:4;649:7;;;;;;;;;;;642:14;;586:78;:::o;10383:278::-;10438:12;10479:9;;;;;;;;;;;10465:23;;:10;:23;;;10457:32;;;;;;10522:5;10494:14;:25;10509:9;;;;;;;;;;;10494:25;;;;;;;;;;;;;;;;:33;;;;;;;;;;;;;;;;;;10544:11;10532:9;;:23;;;;;;;;;;;;;;;;;;10590:4;10560:14;:27;10575:11;10560:27;;;;;;;;;;;;;;;;:34;;;;;;;;;;;;;;;;;;10625:11;10604:33;;10613:10;10604:33;;;;;;;;;;;;10649:4;10642:11;;10383:278;;;:::o;9690:110::-;9747:7;9774:9;:18;9784:7;9774:18;;;;;;;;;;;;;;;;9767:25;;9690:110;;;:::o;11488:88::-;11539:9;;;;;;;;;;;11525:23;;:10;:23;;;11517:32;;;;;;11560:8;:6;:8::i;:::-;11488:88::o;8279:183::-;8358:9;;;;;;;;;;;8344:23;;:10;:23;;;8336:32;;;;;;8387:14;:24;8402:8;8387:24;;;;;;;;;;;;;;;;;;;;;;;;;8379:33;;;;;;8450:4;8423:14;:24;8438:8;8423:24;;;;;;;;;;;;;;;;:31;;;;;;;;;;;;;;;;;;8279:183;:::o;7623:87::-;7662:13;7695:7;7688:14;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;7623:87;:::o;8470:574::-;8533:12;8567:8;:6;:8::i;:::-;8566:9;8558:44;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8646:6;8621:9;:21;8631:10;8621:21;;;;;;;;;;;;;;;;:31;;8613:40;;;;;;8670:14;:19;8685:3;8670:19;;;;;;;;;;;;;;;;;;;;;;;;;8666:371;;;8714:32;8722:10;8734:3;8739:6;8714:7;:32::i;:::-;8707:39;;;;8666:371;8807:33;8833:6;8807:9;:21;8817:10;8807:21;;;;;;;;;;;;;;;;:25;;:33;;;;:::i;:::-;8783:9;:21;8793:10;8783:21;;;;;;;;;;;;;;;:57;;;;8872:26;8891:6;8872:9;:14;8882:3;8872:14;;;;;;;;;;;;;;;;:18;;:26;;;;:::i;:::-;8855:9;:14;8865:3;8855:14;;;;;;;;;;;;;;;:43;;;;8939:3;8918:33;;8927:10;8918:33;;;8944:6;8918:33;;;;;;;;;;;;;;;;;;9019:4;9012:11;;8470:574;;;;;:::o;10072:203::-;10146:17;10185:8;:6;:8::i;:::-;10184:9;10176:44;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;10238:11;:19;10250:6;10238:19;;;;;;;;;;;;;;;:29;10258:8;10238:29;;;;;;;;;;;;;;;;10231:36;;10072:203;;;;:::o;10669:390::-;10749:12;10783:8;:6;:8::i;:::-;10782:9;10774:42;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;10843:9;;;;;;;;;;;10829:23;;:10;:23;;;10821:32;;;;;;10903:24;10920:6;10903:12;;:16;;:24;;;;:::i;:::-;10888:12;:39;;;;10958:29;10980:6;10958:9;:17;10968:6;10958:17;;;;;;;;;;;;;;;;:21;;:29;;;;:::i;:::-;10938:9;:17;10948:6;10938:17;;;;;;;;;;;;;;;:49;;;;11020:6;11003:32;;11012:6;11003:32;;;11028:6;11003:32;;;;;;;;;;;;;;;;;;11047:4;11040:11;;10669:390;;;;;:::o;2590:181::-;2648:7;2668:9;2684:1;2680;:5;2668:17;;2709:1;2704;:6;;2696:46;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2762:1;2755:8;;;2590:181;;;;:::o;3046:136::-;3104:7;3131:43;3135:1;3138;3131:43;;;;;;;;;;;;;;;;;:3;:43::i;:::-;3124:50;;3046:136;;;;:::o;1633:118::-;1180:7;;;;;;;;;;1172:40;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1702:5:::1;1692:7:::0;::::1;:15;;;;;;;;;;;;;;;;;;1723:20;1732:10;1723:20;;;;;;;;;;;;;;;;;;;;1633:118::o:0;1376:116::-;904:7;;;;;;;;;;903:8;895:37;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1446:4:::1;1436:7;::::0;:14:::1;;;;;;;;;;;;;;;;;;1466:18;1473:10;1466:18;;;;;;;;;;;;;;;;;;;;1376:116::o:0;11067:413::-;11149:12;11190:6;11176:20;;:10;:20;;;11168:49;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;11251:6;11230:9;:17;11240:6;11230:17;;;;;;;;;;;;;;;;:27;;11222:36;;;;;;11287:6;11271:12;;:22;;11263:31;;;;;;11324:24;11341:6;11324:12;;:16;;:24;;;;:::i;:::-;11309:12;:39;;;;11379:29;11401:6;11379:9;:17;11389:6;11379:17;;;;;;;;;;;;;;;;:21;;:29;;;;:::i;:::-;11359:9;:17;11369:6;11359:17;;;;;;;;;;;;;;;:49;;;;11441:6;11424:32;;11433:6;11424:32;;;11449:6;11424:32;;;;;;;;;;;;;;;;;;11468:4;11461:11;;11067:413;;;;;:::o;3477:192::-;3563:7;3596:1;3591;:6;;3599:12;3583:29;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3623:9;3639:1;3635;:5;3623:17;;3660:1;3653:8;;;3477:192;;;;;:::o

Swarm Source

ipfs://bf148ef6b28fd1fc203510200c9e8b9fdc11581134c3aefd31724e8c95e82b1f

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.