the contract address should write :0x4Bf215086c05C0384BdF3731bdB2B37799E9bb5B
or myself address
When connecting to a smart contract, the address of the smart contract and the interface code of the interoperability with the smart contract are specified.
When confirming participation, you must execute all instructions exactly in exactly the same way. Note that there is a function "ParticipiateInTokenLottery" and the function "ParticipiateInsTokenLottery". The first records the participant and writes off the token 1 from the balance in confirmation, and the second shows how many participants there are in total. You need to choose the first "ParticipiateInTokenLottery"
Enter in the field "Contract Address" - 0x4Bf215086c05C0384BdF3731bdB2B37799E9bb5B
should I change the 0x4Bf215086c05C0384BdF3731bdB2B37799E9bb5B to myself address :0x9320b7813920cacCF5f7C0e6Fe65bFA2D97bf33A
it's right?
like this?
Enter in the field "Contract Address" - 0x4Bf215086c05C0384BdF3731bdB2B37799E9bb5B
Enter in the field "ABI / JSON Interface" this code:[ { "constant": false, "inputs": [ { "name": "_to", "type": "address" }, { "name": "amount", "type": "uint256" } ], "name": "sendTokens", "outputs": [], "payable": false, "type": "function" }, { "constant": true, "inputs": [], "name": "name", "outputs": [ { "name": "", "type": "string", "value": "Lottereum" } ], "payable": false, "type": "function" }, { "constant": false, "inputs": [ { "name": "_sender", "type": "address" }, { "name": "_value", "type": "uint256" } ], "name": "approve", "outputs": [ { "name": "success", "type": "bool" } ], "payable": false, "type": "function" }, { "constant": true, "inputs": [], "name": "totalSupply", "outputs": [ { "name": "", "type": "uint256", "value": "1000000" } ], "payable": false, "type": "function" }, { "constant": false, "inputs": [ { "name": "_from", "type": "address" }, { "name": "_to", "type": "address" }, { "name": "_value", "type": "uint256" } ], "name": "transferFrom", "outputs": [ { "name": "success", "type": "bool" } ], "payable": false, "type": "function" }, { "constant": true, "inputs": [], "name": "ticketPriceInTokenLottery", "outputs": [ { "name": "", "type": "uint256", "value": "100" } ], "payable": false, "type": "function" }, { "constant": true, "inputs": [], "name": "decimals", "outputs": [ { "name": "", "type": "uint8", "value": "0" } ], "payable": false, "type": "function" }, { "constant": true, "inputs": [ { "name": "", "type": "uint256" } ], "name": "investors", "outputs": [ { "name": "", "type": "address", "value": "0xdfddcd072309e832528f3b41967d9869ee7aea63" } ], "payable": false, "type": "function" }, { "constant": false, "inputs": [ { "name": "_price", "type": "uint256" }, { "name": "_priceEth", "type": "string" } ], "name": "setTicketPriceInEthereum", "outputs": [], "payable": false, "type": "function" }, { "constant": true, "inputs": [], "name": "startTimeLotteryByToken", "outputs": [ { "name": "", "type": "string", "value": "" } ], "payable": false, "type": "function" }, { "constant": false, "inputs": [ { "name": "_price", "type": "uint256" } ], "name": "setTicketPriceInToken", "outputs": [], "payable": false, "type": "function" }, { "constant": false, "inputs": [], "name": "buyTicketForTokenLottery", "outputs": [], "payable": false, "type": "function" }, { "constant": true, "inputs": [ { "name": "", "type": "uint256" } ], "name": "participientsEthereumLottery", "outputs": [ { "name": "", "type": "address", "value": "0x" } ], "payable": false, "type": "function" }, { "constant": true, "inputs": [], "name": "ticketPriceInEthereumLottery", "outputs": [ { "name": "", "type": "string", "value": "0.01" } ], "payable": false, "type": "function" }, { "constant": true, "inputs": [ { "name": "", "type": "address" } ], "name": "balanceOf", "outputs": [ { "name": "", "type": "uint256", "value": "0" } ], "payable": false, "type": "function" }, { "constant": false, "inputs": [ { "name": "_value", "type": "uint256" } ], "name": "setMaxTransfer", "outputs": [], "payable": false, "type": "function" }, { "constant": false, "inputs": [ { "name": "_dateTime", "type": "uint256" }, { "name": "_dateString", "type": "string" } ], "name": "setStartTimeLotteryByEthereum", "outputs": [], "payable": false, "type": "function" }, { "constant": false, "inputs": [], "name": "addEther", "outputs": [], "payable": true, "type": "function" }, { "constant": true, "inputs": [], "name": "owner", "outputs": [ { "name": "", "type": "address", "value": "0xe57c4f7de8e2c3bcc1801ecbe12a54a1bd88fe06" } ], "payable": false, "type": "function" }, { "constant": false, "inputs": [ { "name": "users", "type": "address[]" }, { "name": "countToken", "type": "uint256" } ], "name": "importAddresses", "outputs": [], "payable": false, "type": "function" }, { "constant": true, "inputs": [], "name": "symbol", "outputs": [ { "name": "", "type": "string", "value": "LTE" } ], "payable": false, "type": "function" }, { "constant": false, "inputs": [], "name": "playLotteryByEthereum", "outputs": [], "payable": false, "type": "function" }, { "constant": false, "inputs": [ { "name": "_dateTime", "type": "uint256" }, { "name": "_dateString", "type": "string" } ], "name": "setStartTimeLotteryByToken", "outputs": [], "payable": false, "type": "function" }, { "constant": false, "inputs": [ { "name": "_to", "type": "address" }, { "name": "_value", "type": "uint256" } ], "name": "transfer", "outputs": [], "payable": false, "type": "function" }, { "constant": true, "inputs": [], "name": "buyPriceTokenInWei", "outputs": [ { "name": "", "type": "uint256", "value": "1500000000000000" } ], "payable": false, "type": "function" }, { "constant": false, "inputs": [], "name": "participateInEthereumLottery", "outputs": [], "payable": false, "type": "function" }, { "constant": false, "inputs": [], "name": "playLotteryByToken", "outputs": [], "payable": false, "type": "function" }, { "constant": false, "inputs": [], "name": "buyTicketForEthereumLottery", "outputs": [], "payable": true, "type": "function" }, { "constant": true, "inputs": [], "name": "amountOfTicketsForTokenLotteryPurchased", "outputs": [ { "name": "", "type": "uint256", "value": "0" } ], "payable": false, "type": "function" }, { "constant": false, "inputs": [ { "name": "price", "type": "uint256" } ], "name": "setPriceOfToken", "outputs": [], "payable": false, "type": "function" }, { "constant": false, "inputs": [ { "name": "_sender", "type": "address" }, { "name": "_value", "type": "uint256" }, { "name": "_extraData", "type": "bytes" } ], "name": "approveAndCall", "outputs": [ { "name": "success", "type": "bool" } ], "payable": false, "type": "function" }, { "constant": false, "inputs": [], "name": "buyTokens", "outputs": [], "payable": true, "type": "function" }, { "constant": true, "inputs": [], "name": "startTimeLotteryByEthereum", "outputs": [ { "name": "", "type": "string", "value": "" } ], "payable": false, "type": "function" }, { "constant": true, "inputs": [ { "name": "", "type": "address" }, { "name": "", "type": "address" } ], "name": "allowance", "outputs": [ { "name": "", "type": "uint256", "value": "0" } ], "payable": false, "type": "function" }, { "constant": true, "inputs": [], "name": "amountOfTicketsForEthereumLotteryPurchased", "outputs": [ { "name": "", "type": "uint256", "value": "0" } ], "payable": false, "type": "function" }, { "constant": true, "inputs": [], "name": "totalFundInTokenLottery", "outputs": [ { "name": "", "type": "uint256", "value": "0" } ], "payable": false, "type": "function" }, { "constant": false, "inputs": [ { "name": "investAddress", "type": "address" }, { "name": "share", "type": "uint256" } ], "name": "addInvestor", "outputs": [], "payable": false, "type": "function" }, { "constant": true, "inputs": [], "name": "maxTransfer", "outputs": [ { "name": "", "type": "uint256", "value": "4" } ], "payable": false, "type": "function" }, { "constant": false, "inputs": [ { "name": "newOwner", "type": "address" } ], "name": "transferOwnership", "outputs": [], "payable": false, "type": "function" }, { "constant": true, "inputs": [], "name": "administrator", "outputs": [ { "name": "", "type": "address", "value": "0x1cf460db4a2290498616c2d9aea2ad1ed201fa39" } ], "payable": false, "type": "function" }, { "constant": false, "inputs": [ { "name": "countWei", "type": "uint256" } ], "name": "sendEther", "outputs": [], "payable": false, "type": "function" }, { "constant": true, "inputs": [ { "name": "", "type": "uint256" } ], "name": "participientsTokenLottery", "outputs": [ { "name": "", "type": "address", "value": "0x" } ], "payable": false, "type": "function" }, { "constant": true, "inputs": [], "name": "totalFundEthereumLotteryInWei", "outputs": [ { "name": "", "type": "uint256", "value": "0" } ], "payable": false, "type": "function" }, { "constant": false, "inputs": [], "name": "participateInTokenLottery", "outputs": [], "payable": false, "type": "function" }, { "inputs": [], "payable": false, "type": "constructor" }, { "payable": false, "type": "fallback" }, { "anonymous": false, "inputs": [ { "indexed": true, "name": "from", "type": "address" }, { "indexed": true, "name": "to", "type": "address" }, { "indexed": false, "name": "value", "type": "uint256" } ], "name": "Transfer", "type": "event" } ]