Skip to content

Instantly share code, notes, and snippets.

View teerth17's full-sized avatar
🎯
Focusing

Teerth Patel teerth17

🎯
Focusing
View GitHub Profile
@teerth17
teerth17 / crowdFunding-SmartContract.sol
Created March 12, 2023 16:17
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.8.12+commit.f00d7308.js&optimize=false&runs=200&gist=
// SPDX-License-Identifier: GPL-3.0
pragma solidity >= 0.5.0 < 0.9.0;
contract Cf{
mapping(address=>uint) public contributors;
address public manager;
uint minimumContribution;
uint deadline;
uint public target;
@teerth17
teerth17 / Cf.sol
Created March 12, 2023 16:15
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.8.12+commit.f00d7308.js&optimize=false&runs=200&gist=
// SPDX-License-Identifier: GPL-3.0
pragma solidity >= 0.5.0 < 0.9.0;
contract Cf{
mapping(address=>uint) public contributors;
address public manager;
uint minimumContribution;
uint deadline;
uint public target;
@teerth17
teerth17 / CrowdFunding.sol
Created October 23, 2022 13:26
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.8.17+commit.8df45f5f.js&optimize=false&runs=200&gist=
// SPDX-License-Identifier: GPL-3.0
pragma solidity >= 0.5.0 < 0.9.0;
contract CrowdFunding{
mapping(address=>uint) public contributors;
address public manager;
uint public minimumContribution;
uint public deadline;
uint public target;