Skip to content

Instantly share code, notes, and snippets.

View NaderQast's full-sized avatar

Nader Al-Quwatli NaderQast

View GitHub Profile
@NaderQast
NaderQast / contracts...FundMe.sol
Created February 5, 2026 10:16
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.31+commit.fd3a2265.js&optimize=undefined&runs=200&gist=
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.20;
import {PriceConverter } from "./PriceConverter.sol";
contract FundMe {
using PriceConverter for uint256 ;
uint256 public minimumUSD = 2e18 ;
address[] public funders;
mapping(address funder => uint256 amountFunded) public addressToAmountFunded;