Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

  • I am igastatus on github.
  • I am abdurmus (https://keybase.io/abdurmus) on keybase.
  • I have a public key ASCRx3kDzZKk-7rWNhl1Xl-wZHaUPmnNvxc_mTb1tac9swo

To claim this, I am signing this object:

### Keybase proof
I hereby claim:
* I am igastatus on github.
* I am anildurmus (https://keybase.io/anildurmus) on keybase.
* I have a public key ASDyOVY49h9rONqxmHTILAkXhnET99T2_2dMXbzP_gsdrgo
To claim this, I am signing this object:
@igastatus
igastatus / Crowdfunding.sol
Created June 9, 2020 17:59
Created using remix-ide: Realtime Ethereum Contract Compiler and Runtime. Load this file by pasting this gists URL or ID at https://remix.ethereum.org/#version=soljson-v0.5.4+commit.9549d8ff.js&optimize=false&gist=
// We will be using Solidity version 0.5.4
pragma solidity 0.5.4;
// Importing OpenZeppelin's SafeMath Implementation
import 'https://raw.githubusercontent.com/OpenZeppelin/openzeppelin-contracts/1fd993bc01890bf6bd974aaf3d709bdf0a79b9bf/contracts/math/SafeMath.sol';
contract Crowdfunding {
using SafeMath for uint256;
// List of existing projects