Feature Tip: Add private address tag to any address under My Name Tag !
ERC-20
Currency
Overview
Max Total Supply
8,150,533.525212679686646204 NRG
Holders
1,861 ( -0.054%)
Market
Price
$0.06 @ 0.000017 ETH (-0.09%)
Onchain Market Cap
$470,872.62
Circulating Supply Market Cap
$4,867,642.00
Other Info
Token Contract (WITH 18 Decimals)
Balance
215.457052639746494926 NRGValue
$12.45 ( ~0.00366040043253717 Eth) [0.0026%]Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
EnergiTokenProxy
Compiler Version
v0.5.16+commit.9c3226ce
Contract Source Code (Solidity Multiple files format)
// 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) } } } }
// 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
- No Contract Security Audit Submitted- Submit Audit Here
[{"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"}]
Contract Creation Code
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.