ETH Price: $2,500.63 (-0.63%)

Token

Energi (NRG)
 

Overview

Max Total Supply

8,293,463.206918520727580421 NRG

Holders

1,875 ( -0.053%)

Market

Price

$0.05 @ 0.000020 ETH (+0.37%)

Onchain Market Cap

$416,870.93

Circulating Supply Market Cap

$4,146,950.00

Other Info

Token Contract (WITH 18 Decimals)

Balance
5,162.638183320089813604 NRG

Value
$259.50 ( ~0.103773813415973 Eth) [0.0622%]
0xeb9923c25f46c0d978f047b8ab3795f4ff7000a9
Loading...
Loading
Loading...
Loading
Loading...
Loading

OVERVIEW

A cryptocurrency that combines Ethereum-compatible smart contracts, on-chain governance, a self-funding treasury, and a layer 2 masternode network

Market

Volume (24H):$370,621.00
Market Capitalization:$4,146,950.00
Circulating Supply:82,501,537.00 NRG
Market Data Source: Coinmarketcap

# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
EnergiTokenProxy

Compiler Version
v0.5.16+commit.9c3226ce

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, GNU GPLv3 license

Contract Source Code (Solidity Multiple files format)

File 1 of 2: EnergiTokenProxy.sol
// Copyright (C) 2020 Energi Core

// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.

// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
// GNU General Public License for more details.

// You should have received a copy of the GNU General Public License
// along with this program.  If not, see <http://www.gnu.org/licenses/>.

pragma solidity ^0.5.0;

import './IEnergiTokenProxy.sol';

contract EnergiTokenProxy is IEnergiTokenProxy {

    address public delegate;

    address public proxyOwner;

    modifier onlyProxyOwner {
        require(msg.sender == proxyOwner, 'EnergiTokenProxy: FORBIDDEN');
        _;
    }

    constructor(address _owner, address _delegate) public {
        proxyOwner = _owner;
        delegate = _delegate;
    }

    function setProxyOwner(address _owner) external onlyProxyOwner {
        proxyOwner = _owner;
    }

    function upgradeDelegate(address _delegate) external onlyProxyOwner {
        delegate = _delegate;
    }

    function () external payable {

        address _delegate = delegate;
        require(_delegate != address(0));

        assembly {
            let ptr := mload(0x40)
            calldatacopy(ptr, 0, calldatasize)
            let result := delegatecall(gas, _delegate, ptr, calldatasize, 0, 0)
            let size := returndatasize
            returndatacopy(ptr, 0, size)

            switch result
            case 0 { revert(ptr, size) }
            default { return(ptr, size) }
        }
    }
}

File 2 of 2: IEnergiTokenProxy.sol
// Copyright (C) 2020 Energi Core

// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.

// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
// GNU General Public License for more details.

// You should have received a copy of the GNU General Public License
// along with this program.  If not, see <http://www.gnu.org/licenses/>.

pragma solidity ^0.5.0;

interface IEnergiTokenProxy {

    function proxyOwner() external view returns (address);

    function delegate() external view returns (address);

    function setProxyOwner(address _owner) external;

    function upgradeDelegate(address _delegate) external;
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"_owner","type":"address"},{"internalType":"address","name":"_delegate","type":"address"}],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"payable":true,"stateMutability":"payable","type":"fallback"},{"constant":true,"inputs":[],"name":"delegate","outputs":[{"internalType":"address","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"proxyOwner","outputs":[{"internalType":"address","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"_owner","type":"address"}],"name":"setProxyOwner","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"_delegate","type":"address"}],"name":"upgradeDelegate","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"}]

608060405234801561001057600080fd5b506040516102f73803806102f78339818101604052604081101561003357600080fd5b508051602090910151600180546001600160a01b039384166001600160a01b0319918216179091556000805493909216921691909117905561027d8061007a6000396000f3fe60806040526004361061003f5760003560e01c8063025313a21461007a5780632da4e75c146100ab578063c89e4361146100e0578063caaee91c146100f5575b6000546001600160a01b03168061005557600080fd5b60405136600082376000803683855af43d806000843e818015610076578184f35b8184fd5b34801561008657600080fd5b5061008f610128565b604080516001600160a01b039092168252519081900360200190f35b3480156100b757600080fd5b506100de600480360360208110156100ce57600080fd5b50356001600160a01b0316610137565b005b3480156100ec57600080fd5b5061008f6101b8565b34801561010157600080fd5b506100de6004803603602081101561011857600080fd5b50356001600160a01b03166101c7565b6001546001600160a01b031681565b6001546001600160a01b03163314610196576040805162461bcd60e51b815260206004820152601b60248201527f456e65726769546f6b656e50726f78793a20464f5242494444454e0000000000604482015290519081900360640190fd5b600080546001600160a01b0319166001600160a01b0392909216919091179055565b6000546001600160a01b031681565b6001546001600160a01b03163314610226576040805162461bcd60e51b815260206004820152601b60248201527f456e65726769546f6b656e50726f78793a20464f5242494444454e0000000000604482015290519081900360640190fd5b600180546001600160a01b0319166001600160a01b039290921691909117905556fea265627a7a72315820c739f871873732da182ef28a15f616bcdf5b26dfa5ed6f23193be13ca40d225a64736f6c63430005100032000000000000000000000000a104323f2b37d7e803f8cec33e7292e4dcc83277000000000000000000000000c8a672ead14383fc2856b1ffb0b85784092c6e6b

Deployed Bytecode

0x60806040526004361061003f5760003560e01c8063025313a21461007a5780632da4e75c146100ab578063c89e4361146100e0578063caaee91c146100f5575b6000546001600160a01b03168061005557600080fd5b60405136600082376000803683855af43d806000843e818015610076578184f35b8184fd5b34801561008657600080fd5b5061008f610128565b604080516001600160a01b039092168252519081900360200190f35b3480156100b757600080fd5b506100de600480360360208110156100ce57600080fd5b50356001600160a01b0316610137565b005b3480156100ec57600080fd5b5061008f6101b8565b34801561010157600080fd5b506100de6004803603602081101561011857600080fd5b50356001600160a01b03166101c7565b6001546001600160a01b031681565b6001546001600160a01b03163314610196576040805162461bcd60e51b815260206004820152601b60248201527f456e65726769546f6b656e50726f78793a20464f5242494444454e0000000000604482015290519081900360640190fd5b600080546001600160a01b0319166001600160a01b0392909216919091179055565b6000546001600160a01b031681565b6001546001600160a01b03163314610226576040805162461bcd60e51b815260206004820152601b60248201527f456e65726769546f6b656e50726f78793a20464f5242494444454e0000000000604482015290519081900360640190fd5b600180546001600160a01b0319166001600160a01b039290921691909117905556fea265627a7a72315820c739f871873732da182ef28a15f616bcdf5b26dfa5ed6f23193be13ca40d225a64736f6c63430005100032

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

000000000000000000000000a104323f2b37d7e803f8cec33e7292e4dcc83277000000000000000000000000c8a672ead14383fc2856b1ffb0b85784092c6e6b

-----Decoded View---------------
Arg [0] : _owner (address): 0xA104323F2B37d7e803F8Cec33e7292e4DCc83277
Arg [1] : _delegate (address): 0xC8a672Ead14383fc2856B1Ffb0b85784092C6E6b

-----Encoded View---------------
2 Constructor Arguments found :
Arg [0] : 000000000000000000000000a104323f2b37d7e803f8cec33e7292e4dcc83277
Arg [1] : 000000000000000000000000c8a672ead14383fc2856b1ffb0b85784092c6e6b


Deployed Bytecode Sourcemap

738:1081:0:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1358:17;1378:8;-1:-1:-1;;;;;1378:8:0;1404:23;1396:32;;;;;;1479:4;1473:11;1518:12;1515:1;1510:3;1497:34;1609:1;1606;1592:12;1587:3;1576:9;1571:3;1558:53;1636:14;1686:4;1683:1;1678:3;1663:28;1712:6;1731:28;;;;1794:4;1789:3;1782:17;1731:28;1752:4;1747:3;1740:17;822:25;;8:9:-1;5:2;;;30:1;27;20:12;5:2;822:25:0;;;:::i;:::-;;;;-1:-1:-1;;;;;822:25:0;;;;;;;;;;;;;;1207:105;;8:9:-1;5:2;;;30:1;27;20:12;5:2;1207:105:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;1207:105:0;-1:-1:-1;;;;;1207:105:0;;:::i;:::-;;792:23;;8:9:-1;5:2;;;30:1;27;20:12;5:2;792:23:0;;;:::i;1102:99::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;1102:99:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;1102:99:0;-1:-1:-1;;;;;1102:99:0;;:::i;822:25::-;;;-1:-1:-1;;;;;822:25:0;;:::o;1207:105::-;910:10;;-1:-1:-1;;;;;910:10:0;896;:24;888:64;;;;;-1:-1:-1;;;888:64:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;1285:8;:20;;-1:-1:-1;;;;;;1285:20:0;-1:-1:-1;;;;;1285:20:0;;;;;;;;;;1207:105::o;792:23::-;;;-1:-1:-1;;;;;792:23:0;;:::o;1102:99::-;910:10;;-1:-1:-1;;;;;910:10:0;896;:24;888:64;;;;;-1:-1:-1;;;888:64:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;1175:10;:19;;-1:-1:-1;;;;;;1175:19:0;-1:-1:-1;;;;;1175:19:0;;;;;;;;;;1102:99::o

Swarm Source

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