Bitcoin Forum
December 17, 2017, 01:37:16 AM *
News: Latest stable version of Bitcoin Core: 0.15.1  [Torrent].
 
   Home   Help Search Donate Login Register  
Pages: [1]
  Print  
Author Topic: [Contrat intelligent] Gagnez l'ETH via le contrat intelligent Ethereum  (Read 215 times)
EthGame
Newbie
*
Offline Offline

Activity: 6


View Profile
July 18, 2017, 05:09:57 AM
 #1

[Contrat intelligent] Gagnez l'ETH via le contrat intelligent Ethereum

Voici le contrat Adresse: 0x9425503158208603dFF6FcD82De4dEE425290bA1

Vous pouvez le visiter ici: https://etherscan.io/address/0x9425503158208603dFF6FcD82De4dEE425290bA1

Il s'agit d'un contrat simple très simple, tout comme le filage d'une pièce. Vous pariez 0.1 eth, si vous gagnez, obtenez 0.195 éth. Si vous perdez, récupérez 0.003 ans.

Le gagnant / perdant dépend de la difficulté du dernier bloc éthique et de la monnaie et du hash. Le code source de ce contrat intelligent a été vérifié et publié, vous pouvez le visiter ici:
http://Https://etherscan.io/address/0x9425503158208603dFF6FcD82De4dEE425290bA1#code


Comment jouer:

Envoyez simplement 0.1 eth à 0x9425503158208603dFF6FcD82De4dEE425290bA1, PLUS NON PLUS MOINS. TERMINÉ.
Vous obtiendrez 0.195 eth (gagner) /0.003 eth (perdre) quand il y a un autre joueur envoie 0.1 eth au contrat samrt.
Si vous n'êtes pas en train d'envoyer 0.1 eth, le contrat intelligent le renverra.


[Smart Contract]Win ETH via Ethereum smart contract

Here is the contract Address :      0x9425503158208603dFF6FcD82De4dEE425290bA1

You can visit it here:       https://etherscan.io/address/0x9425503158208603dFF6FcD82De4dEE425290bA1

This 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#code


How 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": "&thinsp;<span class=\"punctuation\">_</span>&thinsp;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.
1513474636
Hero Member
*
Offline Offline

Posts: 1513474636

View Profile Personal Message (Offline)

Ignore
1513474636
Reply with quote  #2

1513474636
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1513474636
Hero Member
*
Offline Offline

Posts: 1513474636

View Profile Personal Message (Offline)

Ignore
1513474636
Reply with quote  #2

1513474636
Report to moderator
cooly78
Sr. Member
****
Offline Offline

Activity: 322


Proof-of-Asset Protocol


View Profile
July 18, 2017, 07:27:26 AM
 #2

Pas très clair ce jeu!!

Et combien dans la poche du développeur?



|
 
 
50
|
 




                       ▄
           ▄▄▄▄▄▄███████
▄▄▄▄█████  █████████████
█████████  █████████████
█████████  █████████████
█████████  █████████████
█████████  █████████████
█████████  █████████████

█████████  █████████████
█████████  █████████████
█████████  █████████████
█████████  █████████████
█████████  █████████████
▀▀▀▀█████  █████████████
           ▀▀▀▀▀▀███████
                       ▀
|
 
 
$1,5 M
|



        ▄▄▄█████████▄▄▄
      ▄█████▀▀███▀▀█████▄
    ▄███▀     ███     ▀███▄
   ████       ███       ████
  ███▀                   ▀███
 ███▀                     ▀███
▄██▀       █████████       ▀██▄
███                         ███
███        █████████        ███
███                         ███
▀██▄       █████████       ▄██▀
 ███▄                     ▄███
  ███▄                   ▄███
   ████       ███       ████
    ▀███▄     ███     ▄███▀
      ▀█████▄▄███▄▄█████▀
        ▀▀▀█████████▀▀▀
|
 
|
 
<>
<>
<>
<>
 
GITHUB
TWITTER
YOUTUBE
FACEBOOK
baba0000000000
Full Member
***
Offline Offline

Activity: 168



View Profile
July 18, 2017, 07:46:59 AM
 #3

Me suis dit la même chose.

C'est le casino qui gagne à chaque fois non ?

cooly78
Sr. Member
****
Offline Offline

Activity: 322


Proof-of-Asset Protocol


View Profile
July 18, 2017, 08:46:35 AM
 #4

ben si 2 joueurs jouent a 0.1 ETH et que le gagnant empoche 0.195 et le perdant 0.003, ça fait 0.198.....quelqu'un empoche donc 0.002 à chaque "duel"

Si tu as réelement une chance sur 2 de gagner, sur le long terme tu vas tendre à perdre.....c'est comme au casino :-)

|
 
 
50
|
 




                       ▄
           ▄▄▄▄▄▄███████
▄▄▄▄█████  █████████████
█████████  █████████████
█████████  █████████████
█████████  █████████████
█████████  █████████████
█████████  █████████████

█████████  █████████████
█████████  █████████████
█████████  █████████████
█████████  █████████████
█████████  █████████████
▀▀▀▀█████  █████████████
           ▀▀▀▀▀▀███████
                       ▀
|
 
 
$1,5 M
|



        ▄▄▄█████████▄▄▄
      ▄█████▀▀███▀▀█████▄
    ▄███▀     ███     ▀███▄
   ████       ███       ████
  ███▀                   ▀███
 ███▀                     ▀███
▄██▀       █████████       ▀██▄
███                         ███
███        █████████        ███
███                         ███
▀██▄       █████████       ▄██▀
 ███▄                     ▄███
  ███▄                   ▄███
   ████       ███       ████
    ▀███▄     ███     ▄███▀
      ▀█████▄▄███▄▄█████▀
        ▀▀▀█████████▀▀▀
|
 
|
 
<>
<>
<>
<>
 
GITHUB
TWITTER
YOUTUBE
FACEBOOK
Pages: [1]
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!