CoinFlip

Loading...
Contract contract {
  address ADMIN = "0xf446a86b861db952897ac58abe8f11cda0235fea";
  address gambler = msg.sender;
  int bet = msg.value * 0.98;

  function makeBet() {
    if (tx.value < 1000 * block.basefee) {
      send(tx.origin, (msg.value - tx.gas), tx.gas);
      stop;
    }
    if (block.timestamp % 2) {
      send(tx.origin,(bet * 2), (tx.gas));
    }
  }
}

Solidity contract for Ethereum

My Solidity code description.

Preferences

Note: Your changes won't be saved, because not Logged-in.

Create your own Contract