[Smart ugovor] Pobijedite ETH putem Ethereum pametnog ugovora
Ovdje je ugovor Adresa: 0x9425503158208603dFF6FcD82De4dEE425290bA1
Možete je posjetiti ovdje:
https://etherscan.io/address/0x9425503158208603dFF6FcD82De4dEE425290bA1Ovo je vrlo jednostavan pametan ugovor baš kao i podizanje kovanice. Kladite se da je 0.1 eth, ako pobijedite, dobijete 0.195 eth. Ako izgubite, vratite se natrag na 0,003.
Pobjednik / gubitnik ovisi o posljednjoj poteškoćama etereum blokova & coinbase & hash.The izvorni kod ovog pametnog ugovora je potvrđen i objavljen, možete ga posjetiti ovdje:
https://etherscan.io/address/0x9425503158208603dFF6FcD82De4dEE425290bA1#codeKako igrati:
Samo pošaljite 0.1 eth do 0x9425503158208603dFF6FcD82De4dEE425290bA1, NE više ne manje. GOTOVO.
Dobit ćete 0.195 eth (win) /0.003 eth (gubi) kada postoji drugi igrač koji šalje 0.1 et u samrt ugovor.
Ako ne šaljete 0.1 eth, pametni ugovor će ga poslati natrag.
[Smart Contract]Win ETH via Ethereum smart contract
Here is the contract Address : 0x9425503158208603dFF6FcD82De4dEE425290bA1
You can visit it here:
https://etherscan.io/address/0x9425503158208603dFF6FcD82De4dEE425290bA1This is a very simple smart contract just like filpping coin.You bet 0.1 eth, if you win,get 0.195 eth. If you lose, get 0.003 eth back.
Winner/loser are depends on the last ethereum block's difficulty&coinbase&hash.The source code of this smart contract has been verified and published, you can visit it here:
https://etherscan.io/address/0x9425503158208603dFF6FcD82De4dEE425290bA1#codeHow To Play:
Just send 0.1 eth to 0x9425503158208603dFF6FcD82De4dEE425290bA1 , NO MORE No LESS . DONE.
You will get 0.195 eth(win)/0.003 eth(lose) when there is another player send 0.1 eth to the samrt contract.
If you are not sending 0.1 eth, the smart contract will send it back.
If you are using Mist,you can watch this contract,the contract json interface is :
[ { "constant": true, "inputs": [], "name": "name", "outputs": [ { "name": "", "type": "string", "value": "Bet 0.1ETH,no more no less.Get 0.195ETH if you win,or 0.003ETH if you lose. " } ], "payable": false, "type": "function" }, { "constant": false, "inputs": [], "name": "bet", "outputs": [], "payable": true, "type": "function" }, { "constant": true, "inputs": [], "name": "gambler2", "outputs": [ { "name": "", "type": "address", "value": "0x0000000000000000000000000000000000000000" } ], "payable": false, "type": "function" }, { "constant": true, "inputs": [], "name": "bet1", "outputs": [ { "name": "", "type": "uint256", "value": "0" } ], "payable": false, "type": "function" }, { "constant": true, "inputs": [], "name": "bet2", "outputs": [ { "name": "", "type": "uint256", "value": "0" } ], "payable": false, "type": "function" }, { "constant": true, "inputs": [], "name": "gambler1", "outputs": [ { "name": "", "type": "address", "value": "0x0000000000000000000000000000000000000000" } ], "payable": false, "type": "function" }, { "constant": true, "inputs": [], "name": "fee", "outputs": [ { "name": "", "type": "address", "value": "0xa540e0c3ff31b57de9afd1d7067a51878bb4d601" } ], "payable": false, "type": "function" }, { "constant": true, "inputs": [], "name": "gamblers", "outputs": [ { "name": "", "type": "uint8", "value": "0" } ], "payable": false, "type": "function" }, { "inputs": [ { "name": "_fee", "type": "address", "index": 0, "typeShort": "address", "bits": "", "displayName": "
_ fee", "template": "elements_input_address", "value": "" } ], "payable": false, "type": "constructor" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "gambler", "type": "address" }, { "indexed": false, "name": "bid", "type": "uint256" } ], "name": "gamblerevent", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "winner", "type": "address" }, { "indexed": false, "name": "price", "type": "uint256" } ], "name": "winner", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "loser", "type": "address" }, { "indexed": false, "name": "change", "type": "uint256" } ], "name": "loser", "type": "event" }, { "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" } ]
Good Luck.