[ { "constant": true, "inputs": [], "name": "registeredTo", "outputs": [ { "name": "", "type": "uint256", "value": "1470349124" } ], "type": "function" }, { "constant": false, "inputs": [], "name": "killContract", "outputs": [], "type": "function" }, { "constant": true, "inputs": [], "name": "lotteryName", "outputs": [ { "name": "", "type": "string", "value": "Конкурс от Хакера" } ], "type": "function" }, { "constant": true, "inputs": [], "name": "winnerID", "outputs": [ { "name": "", "type": "int256", "value": "-1" } ], "type": "function" }, { "constant": false, "inputs": [ { "name": "_nickname", "type": "string" }, { "name": "_email", "type": "string" } ], "name": "registration", "outputs": [ { "name": "success", "type": "bool" } ], "type": "function" }, { "constant": false, "inputs": [ { "name": "_name", "type": "string" } ], "name": "changeName", "outputs": [], "type": "function" }, { "constant": true, "inputs": [], "name": "lotteryDescription", "outputs": [ { "name": "", "type": "string", "value": "Зарегистрируйся и участвуй в розыгрыше подписки на Хакер на 3 месяца" } ], "type": "function" }, { "constant": false, "inputs": [ { "name": "_daysToAdd", "type": "uint256" } ], "name": "extendDuration", "outputs": [], "type": "function" }, { "constant": true, "inputs": [], "name": "owner", "outputs": [ { "name": "", "type": "address", "value": "0x2b9a547689dbc009b0d5b27c6ce1dfb35d1947d3" } ], "type": "function" }, { "constant": true, "inputs": [ { "name": "", "type": "uint256" } ], "name": "participantsProfiles", "outputs": [ { "name": "nickname", "type": "string" }, { "name": "email", "type": "string" } ], "type": "function" }, { "constant": true, "inputs": [], "name": "getNumberOfParticipants", "outputs": [ { "name": "length", "type": "uint256", "value": "0" } ], "type": "function" }, { "constant": false, "inputs": [], "name": "playLottery", "outputs": [ { "name": "id", "type": "int256" } ], "type": "function" }, { "constant": false, "inputs": [ { "name": "_description", "type": "string" } ], "name": "changeDescription", "outputs": [], "type": "function" }, { "constant": false, "inputs": [ { "name": "_newOwner", "type": "address" } ], "name": "transferOwnership", "outputs": [], "type": "function" }, { "inputs": [ { "name": "_lotteryName", "type": "string", "index": 0, "typeShort": "string", "bits": "", "displayName": "&thinsp;<span class=\"punctuation\">_</span>&thinsp;lottery Name", "template": "elements_input_string", "value": "Конкурс от Хакера" }, { "name": "_lotteryDescription", "type": "string", "index": 1, "typeShort": "string", "bits": "", "displayName": "&thinsp;<span class=\"punctuation\">_</span>&thinsp;lottery Description", "template": "elements_input_string", "value": "Зарегистрируйся и участвуй в розыгрыше подписки на Хакер на 3 месяца" }, { "name": "_duration", "type": "uint256", "index": 2, "typeShort": "uint", "bits": "256", "displayName": "&thinsp;<span class=\"punctuation\">_</span>&thinsp;duration", "template": "elements_input_uint", "value": "30" } ], "type": "constructor" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "_nickname", "type": "string" }, { "indexed": false, "name": "_email", "type": "string" }, { "indexed": false, "name": "_addr", "type": "address" } ], "name": "registered", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "_registeredTo", "type": "uint256" } ], "name": "extendedDuration", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "_id", "type": "int256" } ], "name": "winnerFounded", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "_owner", "type": "address" } ], "name": "ownershipTrasfered", "type": "event" } ]