Skip to content

Instantly share code, notes, and snippets.

View altuntasfatih's full-sized avatar
👺
Hola

Fatih Altuntaş altuntasfatih

👺
Hola
View GitHub Profile
@altuntasfatih
altuntasfatih / Blackjack.sol
Created February 2, 2018 06:17 — forked from anonymous/Blackjack.sol
Created using browser-solidity: Realtime Ethereum Contract Compiler and Runtime. Load this file by pasting this gists URL or ID at https://ethereum.github.io/browser-solidity/#version=soljson-v0.4.19+commit.c4cbbb05.js&optimize=false&gist=
pragma solidity ^0.4.0;
contract Blackjack {
event test_value(string name);
event joinedPlayer(
address playerAdd,
uint bet,
address ownAdd
@altuntasfatih
altuntasfatih / Ethtransfer.sol
Created January 30, 2018 14:57 — forked from anonymous/Ethtransfer.sol
Created using browser-solidity: Realtime Ethereum Contract Compiler and Runtime. Load this file by pasting this gists URL or ID at https://ethereum.github.io/browser-solidity/#version=soljson-v0.4.19+commit.c4cbbb05.js&optimize=false&gist=
pragma solidity ^0.4.0;
contract EtherTransferTo {
function () public payable {
}
function getBalance() public returns (uint) {
return address(this).balance;
}
}