ERC-20
Energy Sector
Overview
Max Total Supply
633,858.311346493889668246 PYLNT
Holders
111 (0.00%)
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 18 Decimals)
Balance
20.365995542554673361 PYLNTValue
$0.00Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
Pylon_ERC20
Compiler Version
v0.5.11+commit.c082d0b4
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2019-09-12 */ ///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //: :// //: Pylon Token ERC20 :// //: https://pylon-network.org :// //: :// //: :// //: This contract is just a way to complete the ERC20 functions for the :// //: original Pylon Token (Smart Contract 0x7703C35CfFdC5CDa8D27aa3df2F9ba6964544b6e) :// //: :// //: Now Pylon_ERC20 takes the ownership of the original Pylon Token contract. :// //: This means that onlyOwner functions of the original Pylon Token contract, :// //: (mint, burn, frezze, transferOwner) will not be possible to execute anymore. :// //: :// //: All this guarantees that no one can take control of the Pylon Tokens. :// //: :// //: :// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// pragma solidity ^0.5.11; //Interface to functions of the original Pylon Token smart contract. contract PylonToken { function balanceOf(address _owner) external pure returns (uint256 balance); function burnFrom(address _from, uint256 _value) external returns (bool success); function mintToken(address _to, uint256 _value) external; } contract Pylon_ERC20 { string public name = "PYLNT"; // Extended name of this contract string public symbol = "PYLNT"; // Symbol of the Pylon Token uint256 public decimals = 18; // The decimals to consider uint256 public totalSupply= 633858311346493889668246; // TotalSupply of Pylon Token PylonToken PLNTToken; //Pointer to the original Pylon Token Contract mapping (address => mapping (address => uint256)) internal allowed; // addrPYLNT is the address of the original Pylon Token Contract 0x7703C35CfFdC5CDa8D27aa3df2F9ba6964544b6e constructor(address addrPYLNT) public { PLNTToken = PylonToken(addrPYLNT); } event Transfer(address indexed from, address indexed to, uint256 value); event Approval(address indexed owner, address indexed spender, uint256 value); function balanceOf(address _owner) public view returns (uint256) { return PLNTToken.balanceOf(address(_owner)); } function transfer(address _to, uint256 _value) public returns (bool) { allowed[msg.sender][msg.sender] += _value; return transferFrom(msg.sender, _to, _value); } // The original Pylon Token contract lacks the transferFrom function, which is mandatory for the ERC20 standar. // Below it is implemented by using the burnFrom & mintToken functions from the original contract. function transferFrom(address _from, address _to, uint256 _value) public returns (bool){ require(_value <= allowed[_from][msg.sender]); PLNTToken.burnFrom(_from, _value); PLNTToken.mintToken(_to, _value); allowed[_from][msg.sender] -= _value; emit Transfer(_from, _to, _value); return true; } function approve(address _spender, uint256 _value) public returns (bool) { allowed[msg.sender][_spender] = _value; emit Approval(msg.sender, _spender, _value); return true; } function allowance(address _owner, address _spender) public view returns (uint256) { return allowed[_owner][_spender]; } function approveAndCall(address _spender, uint256 _value, bytes calldata _extraData) external returns (bool success) { tokenRecipient spender = tokenRecipient(_spender); if (approve(_spender, _value)) { spender.receiveApproval(msg.sender, _value, address(this), _extraData); return true; } } } interface tokenRecipient { function receiveApproval(address _from, uint256 _value, address _token, bytes calldata _extraData) external; }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"constant":true,"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"_spender","type":"address"},{"internalType":"uint256","name":"_value","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"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":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"decimals","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"_owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_value","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"_spender","type":"address"},{"internalType":"uint256","name":"_value","type":"uint256"},{"internalType":"bytes","name":"_extraData","type":"bytes"}],"name":"approveAndCall","outputs":[{"internalType":"bool","name":"success","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"_owner","type":"address"},{"internalType":"address","name":"_spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"addrPYLNT","type":"address"}],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"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":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"}]
Contract Creation Code
60c0604052600560808190527f50594c4e5400000000000000000000000000000000000000000000000000000060a090815261003e91600091906100ec565b506040805180820190915260058082527f50594c4e540000000000000000000000000000000000000000000000000000006020909201918252610083916001916100ec565b5060126002556986398725245f112364966003553480156100a357600080fd5b5060405161092b38038061092b833981810160405260208110156100c657600080fd5b5051600480546001600160a01b0319166001600160a01b03909216919091179055610187565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f1061012d57805160ff191683800117855561015a565b8280016001018555821561015a579182015b8281111561015a57825182559160200191906001019061013f565b5061016692915061016a565b5090565b61018491905b808211156101665760008155600101610170565b90565b610795806101966000396000f3fe608060405234801561001057600080fd5b506004361061009e5760003560e01c806370a082311161006657806370a08231146101b857806395d89b41146101de578063a9059cbb146101e6578063cae9ca5114610212578063dd62ed3e146102975761009e565b806306fdde03146100a3578063095ea7b31461012057806318160ddd1461016057806323b872dd1461017a578063313ce567146101b0575b600080fd5b6100ab6102c5565b6040805160208082528351818301528351919283929083019185019080838360005b838110156100e55781810151838201526020016100cd565b50505050905090810190601f1680156101125780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b61014c6004803603604081101561013657600080fd5b506001600160a01b038135169060200135610353565b604080519115158252519081900360200190f35b6101686103b9565b60408051918252519081900360200190f35b61014c6004803603606081101561019057600080fd5b506001600160a01b038135811691602081013590911690604001356103bf565b610168610551565b610168600480360360208110156101ce57600080fd5b50356001600160a01b0316610557565b6100ab6105dc565b61014c600480360360408110156101fc57600080fd5b506001600160a01b038135169060200135610636565b61014c6004803603606081101561022857600080fd5b6001600160a01b038235169160208101359181019060608101604082013564010000000081111561025857600080fd5b82018360208201111561026a57600080fd5b8035906020019184600183028401116401000000008311171561028c57600080fd5b509092509050610666565b610168600480360360408110156102ad57600080fd5b506001600160a01b0381358116916020013516610735565b6000805460408051602060026001851615610100026000190190941693909304601f8101849004840282018401909252818152929183018282801561034b5780601f106103205761010080835404028352916020019161034b565b820191906000526020600020905b81548152906001019060200180831161032e57829003601f168201915b505050505081565b3360008181526005602090815260408083206001600160a01b038716808552908352818420869055815186815291519394909390927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925928290030190a350600192915050565b60035481565b6001600160a01b03831660009081526005602090815260408083203384529091528120548211156103ef57600080fd5b600480546040805163079cc67960e41b81526001600160a01b038881169482019490945260248101869052905192909116916379cc6790916044808201926020929091908290030181600087803b15801561044957600080fd5b505af115801561045d573d6000803e3d6000fd5b505050506040513d602081101561047357600080fd5b50506004805460408051630f38ca0d60e31b81526001600160a01b038781169482019490945260248101869052905192909116916379c650689160448082019260009290919082900301818387803b1580156104ce57600080fd5b505af11580156104e2573d6000803e3d6000fd5b505050506001600160a01b0384811660008181526005602090815260408083203384528252918290208054879003905581518681529151938716937fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35060019392505050565b60025481565b60048054604080516370a0823160e01b81526001600160a01b03858116948201949094529051600093909216916370a0823191602480820192602092909190829003018186803b1580156105aa57600080fd5b505afa1580156105be573d6000803e3d6000fd5b505050506040513d60208110156105d457600080fd5b505192915050565b60018054604080516020600284861615610100026000190190941693909304601f8101849004840282018401909252818152929183018282801561034b5780601f106103205761010080835404028352916020019161034b565b33600081815260056020908152604080832090915281208054840190559061065f9084846103bf565b9392505050565b6000846106738186610353565b1561072b57604051638f4ffcb160e01b81523360048201818152602483018890523060448401819052608060648501908152608485018890526001600160a01b03861694638f4ffcb194938b93928b928b92919060a401848480828437600081840152601f19601f8201169050808301925050509650505050505050600060405180830381600087803b15801561070957600080fd5b505af115801561071d573d6000803e3d6000fd5b50505050600191505061072d565b505b949350505050565b6001600160a01b0391821660009081526005602090815260408083209390941682529190915220549056fea265627a7a72315820cc84e0b2862356ad07db39c30cde146f7d605f2155f008e0cce6105824aa34be64736f6c634300050b00320000000000000000000000007703c35cffdc5cda8d27aa3df2f9ba6964544b6e
Deployed Bytecode
0x608060405234801561001057600080fd5b506004361061009e5760003560e01c806370a082311161006657806370a08231146101b857806395d89b41146101de578063a9059cbb146101e6578063cae9ca5114610212578063dd62ed3e146102975761009e565b806306fdde03146100a3578063095ea7b31461012057806318160ddd1461016057806323b872dd1461017a578063313ce567146101b0575b600080fd5b6100ab6102c5565b6040805160208082528351818301528351919283929083019185019080838360005b838110156100e55781810151838201526020016100cd565b50505050905090810190601f1680156101125780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b61014c6004803603604081101561013657600080fd5b506001600160a01b038135169060200135610353565b604080519115158252519081900360200190f35b6101686103b9565b60408051918252519081900360200190f35b61014c6004803603606081101561019057600080fd5b506001600160a01b038135811691602081013590911690604001356103bf565b610168610551565b610168600480360360208110156101ce57600080fd5b50356001600160a01b0316610557565b6100ab6105dc565b61014c600480360360408110156101fc57600080fd5b506001600160a01b038135169060200135610636565b61014c6004803603606081101561022857600080fd5b6001600160a01b038235169160208101359181019060608101604082013564010000000081111561025857600080fd5b82018360208201111561026a57600080fd5b8035906020019184600183028401116401000000008311171561028c57600080fd5b509092509050610666565b610168600480360360408110156102ad57600080fd5b506001600160a01b0381358116916020013516610735565b6000805460408051602060026001851615610100026000190190941693909304601f8101849004840282018401909252818152929183018282801561034b5780601f106103205761010080835404028352916020019161034b565b820191906000526020600020905b81548152906001019060200180831161032e57829003601f168201915b505050505081565b3360008181526005602090815260408083206001600160a01b038716808552908352818420869055815186815291519394909390927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925928290030190a350600192915050565b60035481565b6001600160a01b03831660009081526005602090815260408083203384529091528120548211156103ef57600080fd5b600480546040805163079cc67960e41b81526001600160a01b038881169482019490945260248101869052905192909116916379cc6790916044808201926020929091908290030181600087803b15801561044957600080fd5b505af115801561045d573d6000803e3d6000fd5b505050506040513d602081101561047357600080fd5b50506004805460408051630f38ca0d60e31b81526001600160a01b038781169482019490945260248101869052905192909116916379c650689160448082019260009290919082900301818387803b1580156104ce57600080fd5b505af11580156104e2573d6000803e3d6000fd5b505050506001600160a01b0384811660008181526005602090815260408083203384528252918290208054879003905581518681529151938716937fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35060019392505050565b60025481565b60048054604080516370a0823160e01b81526001600160a01b03858116948201949094529051600093909216916370a0823191602480820192602092909190829003018186803b1580156105aa57600080fd5b505afa1580156105be573d6000803e3d6000fd5b505050506040513d60208110156105d457600080fd5b505192915050565b60018054604080516020600284861615610100026000190190941693909304601f8101849004840282018401909252818152929183018282801561034b5780601f106103205761010080835404028352916020019161034b565b33600081815260056020908152604080832090915281208054840190559061065f9084846103bf565b9392505050565b6000846106738186610353565b1561072b57604051638f4ffcb160e01b81523360048201818152602483018890523060448401819052608060648501908152608485018890526001600160a01b03861694638f4ffcb194938b93928b928b92919060a401848480828437600081840152601f19601f8201169050808301925050509650505050505050600060405180830381600087803b15801561070957600080fd5b505af115801561071d573d6000803e3d6000fd5b50505050600191505061072d565b505b949350505050565b6001600160a01b0391821660009081526005602090815260408083209390941682529190915220549056fea265627a7a72315820cc84e0b2862356ad07db39c30cde146f7d605f2155f008e0cce6105824aa34be64736f6c634300050b0032
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
0000000000000000000000007703c35cffdc5cda8d27aa3df2f9ba6964544b6e
-----Decoded View---------------
Arg [0] : addrPYLNT (address): 0x7703C35CfFdC5CDa8D27aa3df2F9ba6964544b6e
-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 0000000000000000000000007703c35cffdc5cda8d27aa3df2f9ba6964544b6e
Deployed Bytecode Sourcemap
2734:2641:0:-;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;2734:2641:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2766:28;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:100:-1;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;2766:28:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4595:226;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;4595:226:0;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;3004:52;;;:::i;:::-;;;;;;;;;;;;;;;;4222:365;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;4222:365:0;;;;;;;;;;;;;;;;;:::i;2927:28::-;;;:::i;3652:137::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;3652:137:0;-1:-1:-1;;;;;3652:137:0;;:::i;2849:30::-;;;:::i;3797:194::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;3797:194:0;;;;;;;;:::i;4987:383::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;4987:383:0;;;;;;;;;;;;;;;;;;;21:11:-1;5:28;;2:2;;;46:1;43;36:12;2:2;4987:383:0;;35:9:-1;28:4;12:14;8:25;5:40;2:2;;;58:1;55;48:12;2:2;4987:383:0;;;;;;100:9:-1;95:1;81:12;77:20;67:8;63:35;60:50;39:11;25:12;22:29;11:107;8:2;;;131:1;128;121:12;8:2;-1:-1;4987:383:0;;-1:-1:-1;4987:383:0;-1:-1:-1;4987:383:0;:::i;4829:144::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;4829:144:0;;;;;;;;;;:::i;2766:28::-;;;;;;;;;;;;;;;-1:-1:-1;;2766:28:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;4595:226::-;4697:10;4662:4;4689:19;;;:7;:19;;;;;;;;-1:-1:-1;;;;;4689:29:0;;;;;;;;;;;:38;;;4753;;;;;;;4662:4;;4689:29;;4697:10;;4753:38;;;;;;;;-1:-1:-1;4809:4:0;4595:226;;;;:::o;3004:52::-;;;;:::o;4222:365::-;-1:-1:-1;;;;;4348:14:0;;4304:4;4348:14;;;:7;:14;;;;;;;;4363:10;4348:26;;;;;;;;4338:36;;;4330:45;;;;;;4386:9;;;:33;;;-1:-1:-1;;;4386:33:0;;-1:-1:-1;;;;;4386:33:0;;;;;;;;;;;;;;;;;;:9;;;;;:18;;:33;;;;;;;;;;;;;;;:9;;:33;;;5:2:-1;;;;30:1;27;20:12;5:2;4386:33:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;4386:33:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;4430:9:0;;;:32;;;-1:-1:-1;;;4430:32:0;;-1:-1:-1;;;;;4430:32:0;;;;;;;;;;;;;;;;;;:9;;;;;:19;;:32;;;;;:9;;:32;;;;;;;;:9;;:32;;;5:2:-1;;;;30:1;27;20:12;5:2;4430:32:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;-1:-1;;;;;;;;;4475:14:0;;;;;;;:7;:14;;;;;;;;4490:10;4475:26;;;;;;;;:36;;;;;;;4529:28;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;4575:4:0;4222:365;;;;;:::o;2927:28::-;;;;:::o;3652:137::-;3745:9;;;:36;;;-1:-1:-1;;;3745:36:0;;-1:-1:-1;;;;;3745:36:0;;;;;;;;;;;;3708:7;;3745:9;;;;:19;;:36;;;;;;;;;;;;;;;:9;:36;;;5:2:-1;;;;30:1;27;20:12;5:2;3745:36:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;3745:36:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;3745:36:0;;3652:137;-1:-1:-1;;3652:137:0:o;2849:30::-;;;;;;;;;;;;;;;-1:-1:-1;;2849:30:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3797:194;3895:10;3860:4;3887:19;;;:7;:19;;;;;;;;:31;;;;;:41;;;;;;3860:4;3946:37;;3971:3;3922:6;3946:12;:37::i;:::-;3939:44;3797:194;-1:-1:-1;;;3797:194:0:o;4987:383::-;5090:12;5165:8;5199:25;5165:8;5217:6;5199:7;:25::i;:::-;5195:168;;;5255:70;;-1:-1:-1;;;5255:70:0;;5279:10;5255:70;;;;;;;;;;;;5307:4;5255:70;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;5255:23:0;;;;;5279:10;5291:6;;5307:4;5314:10;;;;5255:70;;;;5314:10;;;;5255:70;1:33:-1;99:1;93:3;85:6;81:16;74:27;137:4;133:9;126:4;121:3;117:14;113:30;106:37;;169:3;161:6;157:16;147:26;;5255:70:0;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;5255:70:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;5255:70:0;;;;5347:4;5340:11;;;;;5195:168;4987:383;;;;;;;;:::o;4829:144::-;-1:-1:-1;;;;;4940:15:0;;;4903:7;4940:15;;;:7;:15;;;;;;;;:25;;;;;;;;;;;;;4829:144::o
Swarm Source
bzzr://cc84e0b2862356ad07db39c30cde146f7d605f2155f008e0cce6105824aa34be
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.