Skip to content

Commit

Permalink
Make it a little cuter (#20)
Browse files Browse the repository at this point in the history
* MVP version 5 distribute rewards (plus a little of version 7: epochs) (#17)

* Add mock rewards to contract and display in the UI

* Add scalable reward distribution logic

* Display rewards data and functions in UI

* Introduce epochs and display epoch start time in UI

* Add endEpoch function and make available in the UI

* Introduce epoch points

* Display content item link as a card

* Add divider in view

* Make several tweaks to the front-end

* Saving progress
  • Loading branch information
jasonklein authored Dec 10, 2023
1 parent 6cecdfd commit 47056a4
Show file tree
Hide file tree
Showing 16 changed files with 303 additions and 301 deletions.
136 changes: 12 additions & 124 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions packages/hardhat/deploy/00_deploy_DFLT.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,8 @@ const deployDFLTContract: DeployFunction = async function (hre: HardhatRuntimeEn
autoMine: true,
});

// TODO: add as consumer to Chainlink Functions and VRF subscriptions
// TODO: consider moving setting source to a separate script file
// Get the deployed contract
const dfltContract = await hre.ethers.getContract("DailyFinancialLiteracyTracker", deployer);

Expand Down
Loading

0 comments on commit 47056a4

Please sign in to comment.