{"id":285056,"date":"2017-04-17T01:30:28","date_gmt":"2017-04-16T21:30:28","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=285056"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-29T21:00:00","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=285056","title":{"rendered":"\u0421\u0432\u043e\u044f \u043a\u0440\u0438\u043f\u0442\u043e\u0432\u0430\u043b\u044e\u0442\u0430 \u043d\u0430 ethereum"},"content":{"rendered":"<p><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/files\/93e\/8dd\/767\/93e8dd767e0c469483bf5d8aa5277bfd.png\"\/>  <\/p>\n<p>\u041e\u0431\u0449\u0430\u044f \u0440\u044b\u043d\u043e\u0447\u043d\u0430\u044f \u043a\u0430\u043f\u0438\u0442\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u044f \u0433\u043b\u043e\u0431\u0430\u043b\u044c\u043d\u043e\u0433\u043e \u0440\u044b\u043d\u043a\u0430 \u043a\u0440\u0438\u043f\u0442\u043e\u0432\u0430\u043b\u044e\u0442 \u0437\u0430 \u043f\u043e\u0441\u043b\u0435\u0434\u043d\u0438\u0439 \u0433\u043e\u0434 \u0432\u044b\u0440\u043e\u0441\u043b\u0430 \u0441 $6 \u043c\u043b\u0440\u0434 (\u0432 \u044f\u043d\u0432\u0430\u0440\u0435 2016 \u0433\u043e\u0434\u0430) \u0434\u043e $28 \u043c\u043b\u0440\u0434 (\u043d\u0430 \u0442\u0435\u043a\u0443\u0449\u0438\u0439 \u043c\u043e\u043c\u0435\u043d\u0442). \u0421 \u043d\u0430\u0447\u0430\u043b\u0430 2017 \u0433\u043e\u0434\u0430 \u0440\u044b\u043d\u043e\u043a \u043a\u0440\u0438\u043f\u0442\u043e\u0432\u0430\u043b\u044e\u0442 \u0432\u044b\u0440\u043e\u0441 \u043f\u0440\u0438\u043c\u0435\u0440\u043d\u043e \u0432 \u043f\u043e\u043b\u0442\u043e\u0440\u0430 \u0440\u0430\u0437\u0430. \u041d\u0430 \u0431\u0438\u0440\u0436\u0430\u0445 \u0442\u043e\u0440\u0433\u0443\u044e\u0442\u0441\u044f \u0443\u0436\u0435 \u0431\u043e\u043b\u044c\u0448\u0435 \u0441\u043e\u0442\u043d\u0438 \u0440\u0430\u0437\u043d\u044b\u0445 \u043a\u0440\u0438\u043f\u0442\u043e\u0432\u0430\u043b\u044e\u0442. \u041a\u0440\u0443\u043f\u043d\u044b\u0435 \u043e\u0440\u0433\u0430\u043d\u0438\u0437\u0430\u0446\u0438\u0438 \u043e\u0431\u044a\u0435\u0434\u0438\u043d\u044f\u044e\u0442\u0441\u044f \u0432 \u043a\u043e\u043d\u0441\u043e\u0440\u0446\u0438\u0443\u043c\u044b, \u0447\u0442\u043e\u0431\u044b \u0432\u044b\u043f\u0443\u0441\u043a\u0430\u0442\u044c \u0441\u0432\u043e\u044e \u0432\u0430\u043b\u044e\u0442\u0443. \u0414\u0430\u0436\u0435 \u0433\u043e\u0441\u0443\u0434\u0430\u0440\u0441\u0442\u0432\u0430 \u0434\u0435\u043b\u0430\u044e\u0442 \u0441\u0432\u043e\u0438 \u043d\u0430\u0446\u0438\u043e\u043d\u0430\u043b\u044c\u043d\u044b\u0435 \u043a\u0440\u0438\u043f\u0442\u043e\u0432\u0430\u043b\u044e\u0442\u044b. \u0422\u0435\u0445\u043d\u043e\u043b\u043e\u0433\u0438\u0438 \u0431\u043b\u043e\u043a\u0447\u0435\u0439\u043d\u0430 \u0434\u043e\u0448\u043b\u0438 \u0434\u043e \u0442\u0430\u043a\u043e\u0433\u043e \u0443\u0440\u043e\u0432\u043d\u044f, \u0447\u0442\u043e \u0443\u0436\u0435 \u043f\u043e\u0447\u0442\u0438 \u043b\u044e\u0431\u043e\u0439 \u043c\u043e\u0436\u0435\u0442 \u0437\u0430\u043f\u0443\u0441\u0442\u0438\u0442\u044c \u0441\u0432\u043e\u044e \u043a\u0440\u0438\u043f\u0442\u043e\u0432\u0430\u043b\u044e\u0442\u0443, \u0447\u0435\u043c \u043c\u044b \u0432 \u044d\u0442\u043e\u0439 \u0441\u0442\u0430\u0442\u044c\u0435 \u0438 \u0437\u0430\u0439\u043c\u0435\u043c\u0441\u044f. \u041b\u0435\u0433\u0447\u0435 \u0432\u0441\u0435\u0433\u043e \u0441\u043e\u0437\u0434\u0430\u0442\u044c \u0441\u0432\u043e\u0438 \u043c\u043e\u043d\u0435\u0442\u044b \u043d\u0430 \u0441\u043c\u0430\u0440\u0442 \u043a\u043e\u043d\u0442\u0440\u0430\u043a\u0442\u0430\u0445 \u043d\u0430 \u0431\u0430\u0437\u0435 ethereum.<\/p>\n<p><a name=\"habracut\"><\/a>  <\/p>\n<p>\u0417\u0430\u0439\u0434\u044f \u043d\u0430 \u043a\u0440\u0443\u043f\u043d\u0435\u0439\u0448\u0443\u044e \u0432 \u043d\u0430\u0441\u0442\u043e\u044f\u0449\u0438\u0439 \u043c\u043e\u043c\u0435\u043d\u0442 \u0431\u0438\u0440\u0436\u0443 \u043a\u0440\u0438\u043f\u0442\u043e\u0432\u0430\u043b\u044e\u0442, \u0432\u0432\u0435\u0440\u0445\u0443 \u0441\u043f\u0438\u0441\u043a\u0430 \u043c\u043e\u0436\u043d\u043e \u043d\u0430\u0439\u0442\u0438 \u043a \u043f\u0440\u0438\u043c\u0435\u0440\u0443 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0435 \u0432\u0430\u043b\u044e\u0442\u044b: GNT (Golem), REP (Augur).<\/p>\n<p>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/files\/769\/ead\/161\/769ead1610854a6e95d5a74240e29888.png\"\/>  <\/p>\n<p>\u0425\u043e\u0442\u044f \u043e\u043d\u0438 \u0438 \u043d\u0430\u0445\u043e\u0434\u044f\u0442\u0441\u044f \u0432 \u043e\u0434\u043d\u043e\u043c \u0441\u043f\u0438\u0441\u043a\u0435 \u0441 Bitcoin (\u043f\u0435\u0440\u0432\u0430\u044f \u0438 \u0441\u0430\u043c\u0430\u044f \u0438\u0437\u0432\u0435\u0441\u0442\u043d\u0430\u044f \u043a\u0440\u0438\u043f\u0442\u043e\u0432\u0430\u043b\u044e\u0442\u0430) \u0438 Ethereum (\u0432\u0442\u043e\u0440\u0430\u044f \u043f\u043e \u043f\u043e\u043f\u0443\u043b\u044f\u0440\u043d\u043e\u0441\u0442\u0438 \u0438 \u043a\u0430\u043f\u0438\u0442\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0438 \u0432\u0430\u043b\u044e\u0442\u0430) \u2014 \u043e\u043d\u0438 \u043d\u0435 \u044f\u0432\u043b\u044f\u044e\u0442\u0441\u044f \u0441\u0430\u043c\u043e\u0441\u0442\u043e\u044f\u0442\u0435\u043b\u044c\u043d\u044b\u043c\u0438 \u043a\u0440\u0438\u043f\u0442\u043e\u0432\u0430\u043b\u044e\u0442\u0430\u043c\u0438 \u0432 \u043a\u043b\u0430\u0441\u0441\u0438\u0447\u0435\u0441\u043a\u043e\u043c \u0438\u0445 \u043f\u043e\u043d\u0438\u043c\u0430\u043d\u0438\u0438. \u041e\u043d\u0438 \u044f\u0432\u043b\u044f\u044e\u0442\u0441\u044f \u043a\u0440\u0438\u043f\u0442\u043e-\u0442\u043e\u043a\u0435\u043d\u0430\u043c\u0438 (tokens \u0438\u043b\u0438 assets) \u043d\u0430 \u0431\u0430\u0437\u0435 \u0431\u043b\u043e\u043a\u0447\u0435\u0439\u043d\u0430 ethereum.<br \/>  \u0421\u043f\u0438\u0441\u043e\u043a \u043f\u043e\u0434\u043e\u0431\u043d\u044b\u0445 \u0442\u043e\u043a\u0435\u043d\u043e\u0432 \u043c\u043e\u0436\u043d\u043e \u043d\u0430\u0439\u0442\u0438 \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440 \u0437\u0434\u0435\u0441\u044c <a href=\"https:\/\/ethplorer.io\">https:\/\/ethplorer.io<\/a>, \u0442\u0430\u043c \u0436\u0435 \u043c\u043e\u0436\u043d\u043e \u043d\u0430\u0439\u0442\u0438 \u0441\u0442\u0430\u0442\u0438\u0441\u0442\u0438\u043a\u0443 \u043f\u043e \u043d\u0438\u043c.<\/p>\n<p>  <\/p>\n<p>\u041d\u0443\u0436\u043d\u044b \u043f\u043e\u0434\u043e\u0431\u043d\u044b\u0435 \u0442\u043e\u043a\u0435\u043d\u044b \u043e\u0431\u044b\u0447\u043d\u043e \u0434\u043b\u044f \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0435\u0433\u043e: \u043a\u0430\u043a\u0430\u044f-\u0442\u043e \u043a\u043e\u043c\u043f\u0430\u043d\u0438\u044f \u0445\u043e\u0447\u0435\u0442 \u0432\u044b\u043f\u0443\u0441\u0442\u0438\u0442\u044c \u043f\u0440\u043e\u0434\u0443\u043a\u0442, \u0432 \u043a\u043e\u0442\u043e\u0440\u043e\u043c \u043d\u0443\u0436\u043d\u0430 \u043d\u0435\u043a\u0430\u044f \u0432\u043d\u0443\u0442\u0440\u0435\u043d\u043d\u044f\u044f \u0432\u0430\u043b\u044e\u0442\u0430. \u0422\u0430\u043a\u0436\u0435 \u044d\u0442\u0430 \u043a\u043e\u043c\u043f\u0430\u043d\u0438\u044f \u0445\u043e\u0447\u0435\u0442 \u043f\u0440\u043e\u0432\u0435\u0441\u0442\u0438 ICO (Initial Coin Offering), \u0442.\u0435. \u0441\u043e\u0431\u0440\u0430\u0442\u044c \u0434\u0435\u043d\u0435\u0433 \u043d\u0430 \u043f\u0440\u043e\u0435\u043a\u0442 \u043f\u0443\u0442\u0451\u043c \u043f\u0440\u0435\u0434\u0432\u0430\u0440\u0438\u0442\u0435\u043b\u044c\u043d\u043e\u0439 \u043f\u0440\u043e\u0434\u0430\u0436\u0438 \u0442\u043e\u043a\u0435\u043d\u043e\u0432 \u0438\u043d\u0432\u0435\u0441\u0442\u043e\u0440\u0430\u043c. \u0422\u0430\u043a \u0438 \u043f\u043e\u044f\u0432\u043b\u044f\u044e\u0442\u0441\u044f \u044d\u0442\u0438 \u0442\u043e\u043a\u0435\u043d\u044b. \u041f\u0440\u0435\u0438\u043c\u0443\u0449\u0435\u0441\u0442\u0432\u0430 \u0437\u0434\u0435\u0441\u044c \u043f\u0440\u044f\u043c\u043e \u0438\u0441\u0442\u0435\u043a\u0430\u044e\u0442 \u0438\u0437 \u043f\u0440\u0435\u0438\u043c\u0443\u0449\u0435\u0441\u0442\u0432 \u0431\u043b\u043e\u043a\u0447\u0435\u0439\u043d\u0430 \u0438 \u0441\u043c\u0430\u0440\u0442 \u043a\u043e\u043d\u0442\u0440\u0430\u043a\u0442\u043e\u0432: \u043f\u0440\u043e\u0437\u0440\u0430\u0447\u043d\u043e\u0441\u0442\u044c, \u0437\u0430\u0449\u0438\u0449\u0435\u043d\u043d\u043e\u0441\u0442\u044c \u0438 \u0440\u0430\u0441\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u043d\u043e\u0441\u0442\u044c.<\/p>\n<p>  <\/p>\n<p>\u041d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u043f\u043e\u0441\u043c\u043e\u0442\u0440\u0438\u043c \u043d\u0430 \u043e\u0434\u043d\u0443 \u0438\u0437 \u043f\u0435\u0440\u0432\u044b\u0445 \u0442\u0430\u043a\u0438\u0445 \u043a\u043e\u043c\u043f\u0430\u043d\u0438\u0439 Golem (<a href=\"https:\/\/golem.network\">https:\/\/golem.network<\/a>).<br \/>  \u0421\u0443\u0442\u044c \u0435\u0451 \u0437\u0430\u043a\u043b\u044e\u0447\u0430\u0435\u0442\u0441\u044f \u0432 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0435\u043c: \u043a\u043e\u0433\u0434\u0430 \u043d\u0430\u043c \u043f\u043e\u043d\u0430\u0434\u043e\u0431\u044f\u0442\u0441\u044f \u0432\u044b\u0447\u0438\u0441\u043b\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0435 \u043c\u043e\u0449\u043d\u043e\u0441\u0442\u0438, \u043c\u044b \u043c\u043e\u0436\u0435\u043c \u0438\u0434\u0442\u0438 \u043d\u0435 \u043d\u0430 Amazon (Azure, Google&#8230;), \u0430 \u0430\u0440\u0435\u043d\u0434\u043e\u0432\u0430\u0442\u044c \u043a\u043e\u043c\u043f\u044c\u044e\u0442\u0435\u0440 \u0443 \u0434\u0440\u0443\u0433\u043e\u0433\u043e \u0443\u0447\u0430\u0441\u0442\u043d\u0438\u043a\u0430 \u0441\u0435\u0442\u0438, \u0440\u0430\u0441\u043f\u043b\u0430\u0442\u0438\u0432\u0448\u0438\u0441\u044c \u0441 \u043d\u0438\u043c GNT \u0442\u043e\u043a\u0435\u043d\u0430\u043c\u0438. \u0421\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0435\u043d\u043d\u043e, \u0442\u0430\u043a\u0436\u0435 \u043c\u043e\u0436\u043d\u043e \u0441\u0434\u0430\u0442\u044c \u0441\u0432\u043e\u0439 \u043a\u043e\u043c\u043f\u044c\u044e\u0442\u0435\u0440 \u0432 \u0430\u0440\u0435\u043d\u0434\u0443 \u0438 \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u043e\u0435 \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e GNT. \u0414\u0430\u043b\u044c\u0448\u0435 \u044d\u0442\u0438 \u0442\u043e\u043a\u0435\u043d\u044b \u043c\u043e\u0436\u043d\u043e \u043b\u0438\u0431\u043e \u0442\u0440\u0430\u0442\u0438\u0442\u044c \u0432\u043d\u0443\u0442\u0440\u0438 \u0441\u0435\u0442\u0438, \u043b\u0438\u0431\u043e \u043f\u0440\u043e\u0434\u0430\u0442\u044c \u043d\u0430 \u0431\u0438\u0440\u0436\u0435. \u041d\u0435\u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0442\u043e\u043a\u0435\u043d\u044b \u043c\u043e\u0433\u0443\u0442 \u043f\u0440\u0438\u043d\u043e\u0441\u0438\u0442\u044c \u0434\u0438\u0432\u0438\u0434\u0435\u043d\u0434\u044b, \u043b\u0438\u0431\u043e \u0434\u0430\u0432\u0430\u0442\u044c \u043f\u0440\u0430\u0432\u0430 \u0433\u043e\u043b\u043e\u0441\u0430 \u043d\u0430 \u043f\u0440\u043e\u0432\u043e\u0434\u0438\u043c\u044b\u0445 \u0432\u044b\u0431\u043e\u0440\u0430\u0445 \u043e \u043a\u0430\u043a\u0438\u0445-\u043b\u0438\u0431\u043e \u0432\u043e\u043f\u0440\u043e\u0441\u0430\u0445 \u0441\u0432\u044f\u0437\u0430\u043d\u043d\u044b\u0445 \u0441 \u043f\u0440\u043e\u0434\u0443\u043a\u0442\u043e\u043c \u043a\u043e\u043c\u043f\u0430\u043d\u0438\u0438 (\u0442\u0430\u043a\u043e\u0435 \u0440\u0435\u0430\u043b\u0438\u0437\u0443\u0435\u0442\u0441\u044f \u043d\u0430 \u0441\u043c\u0430\u0440\u0442 \u043a\u043e\u043d\u0442\u0440\u0430\u043a\u0442\u0430\u0445).<br \/>  Golem, \u0432\u044b\u043f\u0443\u0441\u0442\u0438\u0432 1,000,000,000 \u0442\u043e\u043a\u0435\u043d\u043e\u0432, \u0441\u043c\u043e\u0433\u043b\u0438 \u043f\u0440\u0438\u0432\u043b\u0435\u0447\u044c 820,000 ETH, \u0447\u0442\u043e \u043f\u043e \u0442\u0435\u043a\u0443\u0449\u0435\u043c\u0443 \u043a\u0443\u0440\u0441\u044b \u0441\u043e\u0441\u0442\u0430\u0432\u043b\u044f\u0435\u0442 \u043f\u0440\u0438\u043c\u0435\u0440\u043d\u043e $32,800,000, \u043d\u043e \u0432\u043e \u0432\u0440\u0435\u043c\u0435\u043d\u0430 \u0438\u0445 ICO \u043a\u0443\u0440\u0441 \u0431\u044b\u043b \u0440\u0430\u0437\u0430 \u0432 3 \u0445\u0443\u0436\u0435.<\/p>\n<p>  <\/p>\n<p>\u0421\u0435\u0439\u0447\u0430\u0441 \u044f \u0432\u0430\u043c \u0440\u0430\u0441\u0441\u043a\u0430\u0436\u0443, \u043a\u0430\u043a \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u0441\u0432\u043e\u044e \u043f\u043e\u0434\u043e\u0431\u043d\u0443\u044e \u043a\u0440\u0438\u043f\u0442\u043e\u0432\u0430\u043b\u044e\u0442\u0443 (tokens) \u043d\u0430 \u0431\u0430\u0437\u0435 Ethereum.<\/p>\n<p>  <\/p>\n<p>\u0412 \u043d\u0430\u0441\u0442\u043e\u044f\u0449\u0438\u0439 \u043c\u043e\u043c\u0435\u043d\u0442 \u0441\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u043e\u043c \u0441\u0447\u0438\u0442\u0430\u0435\u0442\u0441\u044f ERC20, \u043e\u043f\u0438\u0441\u0430\u043d\u043d\u044b\u0439 \u0437\u0434\u0435\u0441\u044c <a href=\"https:\/\/github.com\/ethereum\/EIPs\/issues\/20\">https:\/\/github.com\/ethereum\/EIPs\/issues\/20<\/a><\/p>\n<p>  <\/p>\n<p>\u0418\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441 \u043e\u0431\u044b\u0447\u043d\u043e \u0432\u044b\u0433\u043b\u044f\u0434\u0438\u0442 \u043f\u0440\u0438\u043c\u0435\u0440\u043d\u043e \u0442\u0430\u043a:<\/p>\n<p>  <\/p>\n<pre><code class=\"javascript\">\/*  * ERC20 interface  * see https:\/\/github.com\/ethereum\/EIPs\/issues\/20  *\/ contract ERC20 {   uint public totalSupply;   function balanceOf(address who) constant returns (uint);   function transfer(address to, uint value);   function allowance(address owner, address spender) constant returns (uint);    function transferFrom(address from, address to, uint value);   function approve(address spender, uint value);    event Transfer(address indexed from, address indexed to, uint value);   event Approval(address indexed owner, address indexed spender, uint value); }<\/code><\/pre>\n<p>  <\/p>\n<p>\u0410 \u0440\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u044f \u043f\u0440\u0438\u043c\u0435\u0440\u043d\u043e \u0442\u0430\u043a:<\/p>\n<p>  <\/p>\n<pre><code class=\"javascript\">contract StandardToken is ERC20 {    string public constant name = &quot;Token Name&quot;;   string public constant symbol = &quot;TKN&quot;;   uint8 public constant decimals = 18;     mapping (address =&gt; mapping (address =&gt; uint)) allowed;   mapping (address =&gt; uint) balances;    function transferFrom(address _from, address _to, uint _value) {     var _allowance = allowed[_from][msg.sender];      \/\/ Check is not needed because safeSub(_allowance, _value) will already throw if this condition is not met     \/\/ if (_value &gt; _allowance) throw;      balances[_to] +=_value;     balances[_from] -= _value;     allowed[_from][msg.sender] -= _value;     Transfer(_from, _to, _value);   }    function approve(address _spender, uint _value) {     allowed[msg.sender][_spender] = _value;     Approval(msg.sender, _spender, _value);   }    function allowance(address _owner, address _spender) constant returns (uint remaining) {     return allowed[_owner][_spender];   }    function transfer(address _to, uint _value) {     balances[msg.sender] -= _value;     balances[_to] += _value;     Transfer(msg.sender, _to, _value);   }    function balanceOf(address _owner) constant returns (uint balance) {     return balances[_owner];   } }<\/code><\/pre>\n<p>  <\/p>\n<p>\u0420\u0430\u0437\u0431\u0435\u0440\u0435\u043c \u043f\u043e\u0434\u0440\u043e\u0431\u043d\u0435\u0435.<\/p>\n<p>  <\/p>\n<p>\u042d\u0442\u043e \u0442\u0435\u043a\u0443\u0449\u0435\u0435 \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u0432\u044b\u043f\u0443\u0449\u0435\u043d\u043d\u044b\u0445 \u043c\u043e\u043d\u0435\u0442:<\/p>\n<p>  <\/p>\n<pre><code class=\"javascript\">uint public totalSupply;<\/code><\/pre>\n<p>  <\/p>\n<p>\u0423\u0437\u043d\u0430\u0451\u043c \u0431\u0430\u043b\u0430\u043d\u0441 \u043f\u043e \u0430\u0434\u0440\u0435\u0441\u0443:<\/p>\n<p>  <\/p>\n<pre><code class=\"javascript\">function balanceOf(address who) constant returns (uint);<\/code><\/pre>\n<p>  <\/p>\n<p>\u041f\u0435\u0440\u0435\u0432\u043e\u0434\u0438\u043c \u0441\u0432\u043e\u0438 \u0442\u043e\u043a\u0435\u043d\u044b \u043a\u043e\u043c\u0443-\u0442\u043e \u0434\u0440\u0443\u0433\u043e\u043c\u0443:<\/p>\n<p>  <\/p>\n<pre><code class=\"javascript\">function transfer(address to, uint value);<\/code><\/pre>\n<p>  <\/p>\n<p>\u0423\u0437\u043d\u0430\u0451\u043c \u0441\u043a\u043e\u043b\u044c\u043a\u043e \u043c\u043e\u043d\u0435\u0442 \u043d\u0430\u043c \u0440\u0430\u0437\u0440\u0435\u0448\u0435\u043d\u043e \u043f\u043e\u0442\u0440\u0430\u0442\u0438\u0442\u044c \u0441 \u0447\u0443\u0436\u043e\u0433\u043e \u0430\u043a\u043a\u0430\u0443\u043d\u0442\u0430. \u0423\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u0435 \u044d\u0442\u0438\u043c\u0438 \u0440\u0430\u0437\u0440\u0435\u0448\u0435\u043d\u0438\u044f\u043c\u0438 \u043e\u0441\u0443\u0449\u0435\u0441\u0442\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u0444\u0443\u043d\u043a\u0446\u0438\u0435\u0439 approve, \u043e\u043f\u0438\u0441\u0430\u043d\u043d\u043e\u0439 \u043d\u0438\u0436\u0435:<\/p>\n<p>  <\/p>\n<pre><code class=\"javascript\">function allowance(address owner, address spender) constant returns (uint);<\/code><\/pre>\n<p>  <\/p>\n<p>\u041f\u0435\u0440\u0435\u0432\u043e\u0434\u0438\u043c \u0447\u0443\u0436\u0438\u0435, \u043d\u043e \u0434\u043e\u0441\u0442\u0443\u043f\u043d\u044b\u0435 \u043d\u0430\u043c \u0442\u043e\u043a\u0435\u043d\u044b \u043a\u043e\u043c\u0443-\u0442\u043e \u0434\u0440\u0443\u0433\u043e\u043c\u0443:<\/p>\n<p>  <\/p>\n<pre><code class=\"javascript\">function transferFrom(address from, address to, uint value);<\/code><\/pre>\n<p>  <\/p>\n<p>\u0420\u0430\u0437\u0440\u0435\u0448\u0430\u0435\u043c \u043a\u043e\u043c\u0443-\u0442\u043e \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c\u0441\u044f \u043d\u0430\u0448\u0438\u043c\u0438 \u0442\u043e\u043a\u0435\u043d\u0430\u043c\u0438. \u041d\u043e \u043e\u0441\u0442\u0430\u044e\u0442\u0441\u044f \u044d\u0442\u0438 \u0442\u043e\u043a\u0435\u043d\u044b \u0443 \u043d\u0430\u0441. \u041d\u0435\u0442 \u043e\u0433\u0440\u0430\u043d\u0438\u0447\u0435\u043d\u0438\u0439 \u043d\u0430 \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u0430\u043a\u043a\u0430\u0443\u043d\u0442\u043e\u0432, \u043a\u043e\u0442\u043e\u0440\u043e\u043c\u0443 \u0431\u0443\u0434\u0435\u0442 \u0440\u0430\u0437\u0440\u0435\u0448\u0435\u043d\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u043d\u0430\u0448\u0438 \u0442\u043e\u043a\u0435\u043d\u044b:<\/p>\n<p>  <\/p>\n<pre><code class=\"javascript\">function approve(address spender, uint value);<\/code><\/pre>\n<p>  <\/p>\n<p>\u0421\u043e\u0431\u044b\u0442\u0438\u044f \u043e \u0442\u043e\u043c, \u0447\u0442\u043e \u043a\u0442\u043e-\u0442\u043e \u043f\u0435\u0440\u0435\u0432\u0435\u043b \u0442\u043e\u043a\u0435\u043d\u044b \u0438 \u043e \u0442\u043e\u043c, \u0447\u0442\u043e \u043a\u0442\u043e-\u0442\u043e \u0440\u0430\u0437\u0440\u0435\u0448\u0438\u043b \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c\u0441\u044f \u0441\u0432\u043e\u0438\u043c\u0438 \u0442\u043e\u043a\u0435\u043d\u0430\u043c\u0438:<\/p>\n<p>  <\/p>\n<pre><code class=\"javascript\">event Transfer(address indexed from, address indexed to, uint value); event Approval(address indexed owner, address indexed spender, uint value);<\/code><\/pre>\n<p>  <\/p>\n<p>\u041f\u043e\u043b\u043d\u043e\u0435 \u0438\u043c\u044f \u0442\u043e\u043a\u0435\u043d\u0430:<\/p>\n<p>  <\/p>\n<pre><code class=\"javascript\">string public constant name = &quot;Token Name&quot;;<\/code><\/pre>\n<p>  <\/p>\n<p>\u041a\u0440\u0430\u0442\u043a\u043e\u0435 \u0438\u043c\u044f \u0442\u043e\u043a\u0435\u043d\u0430:<\/p>\n<p>  <\/p>\n<pre><code class=\"javascript\">string public constant symbol = &quot;TKN&quot;;<\/code><\/pre>\n<p>  <\/p>\n<p>\u041a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u0434\u0435\u0441\u044f\u0442\u0438\u0447\u043d\u044b\u0445 \u0440\u0430\u0437\u0440\u044f\u0434\u043e\u0432. \u0412 ETH \u0438\u0445 18, \u043d\u043e \u043c\u043e\u0436\u043d\u043e \u043f\u043e\u0441\u0442\u0430\u0432\u0438\u0442\u044c \u0434\u0440\u0443\u0433\u043e\u0435 \u0447\u0438\u0441\u043b\u043e<\/p>\n<p>  <\/p>\n<pre><code>uint8 public constant decimals = 18; <\/code><\/pre>\n<p>  <\/p>\n<p>\u0421\u043b\u043e\u0432\u0430\u0440\u044c \u0430\u0434\u0440\u0435\u0441 -&gt; \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u0442\u043e\u043a\u0435\u043d\u043e\u0432:<\/p>\n<p>  <\/p>\n<pre><code class=\"javascript\">mapping (address =&gt; uint) balances;<\/code><\/pre>\n<p>  <\/p>\n<p>\u0421\u043b\u043e\u0432\u0430\u0440\u044c \u0434\u043e\u0441\u0442\u0443\u043f\u043d\u044b\u0445 \u0434\u043b\u044f \u0440\u0430\u0441\u043f\u043e\u0440\u044f\u0436\u0435\u043d\u0438\u044f \u043a\u043e\u043c\u0443-\u0442\u043e \u0434\u0440\u0443\u0433\u043e\u043c\u0443 \u0442\u043e\u043a\u0435\u043d\u043e\u0432:<\/p>\n<p>  <\/p>\n<pre><code class=\"javascript\">mapping (address =&gt; mapping (address =&gt; uint)) allowed;<\/code><\/pre>\n<p>  <\/p>\n<p>\u0412\u043e\u0442, \u0432 \u043f\u0440\u0438\u043d\u0446\u0438\u043f\u0435 \u0438 \u0432\u0441\u0435. \u041d\u043e \u0432 \u0434\u0430\u043d\u043d\u043e\u043c \u0432\u0438\u0434\u0435 \u0441\u043c\u0430\u0440\u0442 \u043a\u043e\u043d\u0442\u0440\u0430\u043a\u0442 \u0431\u0435\u0441\u043f\u043e\u043b\u0435\u0437\u0435\u043d, \u0442.\u043a. \u0441\u0435\u0439\u0447\u0430\u0441 \u043d\u0435 \u043f\u0440\u0435\u0434\u0443\u0441\u043c\u0430\u0442\u0440\u0438\u0432\u0430\u0435\u0442 \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u0435 \u0442\u043e\u043a\u0435\u043d\u043e\u0432 \u0438 \u0438\u0445 \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u0432\u0441\u0435\u0433\u0434\u0430 \u0431\u0443\u0434\u0435\u0442 \u0440\u0430\u0432\u043d\u043e \u043d\u0443\u043b\u044e.<br \/>  \u0414\u043e\u0431\u0430\u0432\u0438\u043c \u043a\u043e\u043d\u0441\u0442\u0440\u0443\u043a\u0442\u043e\u0440, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0431\u0443\u0434\u0435\u0442 \u0441\u043e\u0437\u0434\u0430\u0432\u0430\u0442\u044c 1,000,000 \u0442\u043e\u043a\u0435\u043d\u043e\u0432 \u0438 \u043f\u0435\u0440\u0435\u0432\u043e\u0434\u0438\u0442\u044c \u0438\u0445 \u0432\u043b\u0430\u0434\u0435\u043b\u044c\u0446\u0443 \u0441\u043c\u0430\u0440\u0442 \u043a\u043e\u043d\u0442\u0440\u0430\u043a\u0442\u0430. \u0422\u0430\u043a\u0436\u0435 \u043d\u0435 \u043f\u043e\u043c\u0435\u0448\u0430\u043b\u043e \u0431\u044b \u0432\u0441\u0435 \u043c\u0430\u0442\u0435\u043c\u0430\u0442\u0438\u0447\u0435\u043a\u0438\u0435 \u043e\u043f\u0435\u0440\u0430\u0446\u0438\u0438 \u0441\u043e\u043f\u0440\u043e\u0432\u043e\u0436\u0434\u0430\u0442\u044c \u043f\u0440\u043e\u0432\u0435\u0440\u043a\u0430\u043c\u0438 \u043d\u0430 \u043f\u0435\u0440\u0435\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u0435, \u043d\u043e \u0437\u0434\u0435\u0441\u044c \u044f \u044d\u0442\u043e \u0443\u043f\u0443\u0449\u0443.<\/p>\n<p>  <\/p>\n<pre><code class=\"javascript\">function StandardToken(){   balances[msg.sender] = 1000000; }<\/code><\/pre>\n<p>  <\/p>\n<p>\u041d\u0435 \u043f\u043e\u043c\u0435\u0448\u0430\u043b\u043e \u0431\u044b \u0438 \u0434\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u0444\u0443\u043d\u043a\u0446\u0438\u044e, \u043a\u043e\u0442\u043e\u0440\u0430\u044f \u043f\u043e\u0437\u0432\u043e\u043b\u0438\u0442 \u043f\u043e\u043a\u0443\u043f\u0430\u0442\u044c \u0442\u043e\u043a\u0435\u043d\u044b. \u0414\u043b\u044f \u043f\u0440\u043e\u0441\u0442\u043e\u0442\u044b \u0431\u0443\u0434\u0435\u043c \u0447\u0435\u043a\u0430\u043d\u0438\u0442\u044c \u0442\u043e\u043a\u0435\u043d\u044b \u043f\u043e \u043a\u0443\u0440\u0441\u0443 1 \u043a 1, \u0442.\u0435. \u0437\u0430 1 ETH \u0431\u0443\u0434\u0435\u043c \u043d\u0430\u0447\u0438\u0441\u043b\u044f\u0442\u044c 1 \u043d\u0430\u0448 \u0442\u043e\u043a\u0435\u043d.<br \/>  \u0412\u044b\u0433\u043b\u044f\u0434\u0435\u0442\u044c \u043e\u043d\u0430 \u043c\u043e\u0436\u0435\u0442 \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440 \u0442\u0430\u043a:<\/p>\n<p>  <\/p>\n<pre><code class=\"javascript\">function mint() payable external {   if (msg.value == 0) throw;    var numTokens = msg.value;   totalSupply += numTokens;    balances[msg.sender] += numTokens;    Transfer(0, msg.sender, numTokens); }<\/code><\/pre>\n<p>  <\/p>\n<p>\u041e\u0441\u0442\u0430\u043b\u043e\u0441\u044c \u044d\u0442\u043e \u043e\u043f\u0443\u0431\u043b\u0438\u043a\u043e\u0432\u0430\u0442\u044c \u0432 \u0431\u043b\u043e\u043a\u0447\u0435\u0439\u043d. \u041f\u043e\u0441\u043b\u0435 \u044d\u0442\u043e\u0433\u043e \u043c\u043e\u0436\u043d\u043e \u0431\u0443\u0434\u0435\u0442 \u043f\u0435\u0440\u0435\u0441\u044b\u043b\u0430\u0442\u044c \u044d\u0442\u0438 \u0442\u043e\u043a\u0435\u043d\u044b \u043d\u0430 \u0434\u0440\u0443\u0433\u0438\u0435 \u0430\u043a\u043a\u0430\u0443\u043d\u0442\u044b.<\/p>\n<p>  <\/p>\n<p>\u041f\u043e\u043b\u0435\u0437\u043d\u044b\u0435 \u0441\u0441\u044b\u043b\u043a\u0438 \u043f\u043e \u0442\u0435\u043c\u0435:<br \/>  <a href=\"https:\/\/ethplorer.io\">https:\/\/ethplorer.io<\/a><br \/>  \u0421\u0442\u0430\u0442\u0438\u0441\u0442\u0438\u043a\u0430 \u043f\u043e \u0442\u043e\u043a\u0435\u043d\u0430\u043c<\/p>\n<p>  <\/p>\n<p><a href=\"https:\/\/www.icoalert.com\">https:\/\/www.icoalert.com<\/a><br \/>  \u0421\u043f\u0438\u0441\u043e\u043a \u0430\u043a\u0442\u0438\u0432\u043d\u044b\u0445 \u0438 \u0433\u0440\u044f\u0434\u0443\u0449\u0438\u0445 ICO<\/p>\n<p> \u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b \u0441\u0442\u0430\u0442\u044c\u0438 <a href=\"https:\/\/habrahabr.ru\/post\/326626\/\"> https:\/\/habrahabr.ru\/post\/326626\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/files\/93e\/8dd\/767\/93e8dd767e0c469483bf5d8aa5277bfd.png\"\/>  <\/p>\n<p>\u041e\u0431\u0449\u0430\u044f \u0440\u044b\u043d\u043e\u0447\u043d\u0430\u044f \u043a\u0430\u043f\u0438\u0442\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u044f \u0433\u043b\u043e\u0431\u0430\u043b\u044c\u043d\u043e\u0433\u043e \u0440\u044b\u043d\u043a\u0430 \u043a\u0440\u0438\u043f\u0442\u043e\u0432\u0430\u043b\u044e\u0442 \u0437\u0430 \u043f\u043e\u0441\u043b\u0435\u0434\u043d\u0438\u0439 \u0433\u043e\u0434 \u0432\u044b\u0440\u043e\u0441\u043b\u0430 \u0441 $6 \u043c\u043b\u0440\u0434 (\u0432 \u044f\u043d\u0432\u0430\u0440\u0435 2016 \u0433\u043e\u0434\u0430) \u0434\u043e $28 \u043c\u043b\u0440\u0434 (\u043d\u0430 \u0442\u0435\u043a\u0443\u0449\u0438\u0439 \u043c\u043e\u043c\u0435\u043d\u0442). \u0421 \u043d\u0430\u0447\u0430\u043b\u0430 2017 \u0433\u043e\u0434\u0430 \u0440\u044b\u043d\u043e\u043a \u043a\u0440\u0438\u043f\u0442\u043e\u0432\u0430\u043b\u044e\u0442 \u0432\u044b\u0440\u043e\u0441 \u043f\u0440\u0438\u043c\u0435\u0440\u043d\u043e \u0432 \u043f\u043e\u043b\u0442\u043e\u0440\u0430 \u0440\u0430\u0437\u0430. \u041d\u0430 \u0431\u0438\u0440\u0436\u0430\u0445 \u0442\u043e\u0440\u0433\u0443\u044e\u0442\u0441\u044f \u0443\u0436\u0435 \u0431\u043e\u043b\u044c\u0448\u0435 \u0441\u043e\u0442\u043d\u0438 \u0440\u0430\u0437\u043d\u044b\u0445 \u043a\u0440\u0438\u043f\u0442\u043e\u0432\u0430\u043b\u044e\u0442. \u041a\u0440\u0443\u043f\u043d\u044b\u0435 \u043e\u0440\u0433\u0430\u043d\u0438\u0437\u0430\u0446\u0438\u0438 \u043e\u0431\u044a\u0435\u0434\u0438\u043d\u044f\u044e\u0442\u0441\u044f \u0432 \u043a\u043e\u043d\u0441\u043e\u0440\u0446\u0438\u0443\u043c\u044b, \u0447\u0442\u043e\u0431\u044b \u0432\u044b\u043f\u0443\u0441\u043a\u0430\u0442\u044c \u0441\u0432\u043e\u044e \u0432\u0430\u043b\u044e\u0442\u0443. \u0414\u0430\u0436\u0435 \u0433\u043e\u0441\u0443\u0434\u0430\u0440\u0441\u0442\u0432\u0430 \u0434\u0435\u043b\u0430\u044e\u0442 \u0441\u0432\u043e\u0438 \u043d\u0430\u0446\u0438\u043e\u043d\u0430\u043b\u044c\u043d\u044b\u0435 \u043a\u0440\u0438\u043f\u0442\u043e\u0432\u0430\u043b\u044e\u0442\u044b. \u0422\u0435\u0445\u043d\u043e\u043b\u043e\u0433\u0438\u0438 \u0431\u043b\u043e\u043a\u0447\u0435\u0439\u043d\u0430 \u0434\u043e\u0448\u043b\u0438 \u0434\u043e \u0442\u0430\u043a\u043e\u0433\u043e \u0443\u0440\u043e\u0432\u043d\u044f, \u0447\u0442\u043e \u0443\u0436\u0435 \u043f\u043e\u0447\u0442\u0438 \u043b\u044e\u0431\u043e\u0439 \u043c\u043e\u0436\u0435\u0442 \u0437\u0430\u043f\u0443\u0441\u0442\u0438\u0442\u044c \u0441\u0432\u043e\u044e \u043a\u0440\u0438\u043f\u0442\u043e\u0432\u0430\u043b\u044e\u0442\u0443, \u0447\u0435\u043c \u043c\u044b \u0432 \u044d\u0442\u043e\u0439 \u0441\u0442\u0430\u0442\u044c\u0435 \u0438 \u0437\u0430\u0439\u043c\u0435\u043c\u0441\u044f. \u041b\u0435\u0433\u0447\u0435 \u0432\u0441\u0435\u0433\u043e \u0441\u043e\u0437\u0434\u0430\u0442\u044c \u0441\u0432\u043e\u0438 \u043c\u043e\u043d\u0435\u0442\u044b \u043d\u0430 \u0441\u043c\u0430\u0440\u0442 \u043a\u043e\u043d\u0442\u0440\u0430\u043a\u0442\u0430\u0445 \u043d\u0430 \u0431\u0430\u0437\u0435 ethereum.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-285056","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/285056","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=285056"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/285056\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=285056"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=285056"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=285056"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}