From 4cdc7f931900b6a19db3e064f6f0b27e551c5f41 Mon Sep 17 00:00:00 2001 From: bayge Date: Fri, 13 Dec 2024 15:56:16 +1030 Subject: [PATCH] Increase the amount of ETH sent slightly --- .github/workflows/deploy-docs.yml | 3 +-- pkg/Donation.sol | 1 + web/src/components/donationLevel.tsx | 4 ++-- web/src/config.ts | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/deploy-docs.yml b/.github/workflows/deploy-docs.yml index cdcda46..0f40bde 100644 --- a/.github/workflows/deploy-docs.yml +++ b/.github/workflows/deploy-docs.yml @@ -5,8 +5,7 @@ on: branches: - main paths: - - docs/** - - src/** + - pkg/** - README.md jobs: diff --git a/pkg/Donation.sol b/pkg/Donation.sol index 67fde8e..b2a7c77 100644 --- a/pkg/Donation.sol +++ b/pkg/Donation.sol @@ -7,6 +7,7 @@ import { IDonationAdmin, IDonationView} from "./IDonation.sol"; +// Donation contract to receive ETH donations to send to charities. contract Donation is IDonation { uint256 constant private MIN_DONATION = 0; diff --git a/web/src/components/donationLevel.tsx b/web/src/components/donationLevel.tsx index 57579dc..becc711 100644 --- a/web/src/components/donationLevel.tsx +++ b/web/src/components/donationLevel.tsx @@ -14,7 +14,7 @@ export default function DonationLevel() { const donationClicks = useUserStore((s) => s.donationClicks); const donationQueue = useUserStore((s) => s.donationQueue); const curr = donationQueue[0]; - const totalDonation = donationClicks * 0.0005; + const totalDonation = donationClicks * 0.001; useEffect(() => { if (curr?.id && account) { @@ -40,7 +40,7 @@ export default function DonationLevel() { {item.status === "error" ? (
✖️
) : null} - {item.donation * 0.0005} + {item.donation * 0.001}