Skip to content

Commit

Permalink
Add sketch of TACoRewardsDispenser contract
Browse files Browse the repository at this point in the history
  • Loading branch information
manumonti committed Sep 19, 2024
1 parent 75c2b97 commit 2dd5a94
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions contracts/contracts/TACoRewardsDispenser.sol
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
// SPDX-License-Identifier: AGPL-3.0-or-later

pragma solidity 0.8.23;

contract TACoRewardsDispenser {
IProxy public claimableRewards; // TODO: what interface to use for claimabeRewards contract?
IApplication public tacoApplication;

constructor(IProxy _claimableRewards, IApplication) {
// TODO: we need some checks here using "require"
claimableRewards = _claimableRewards;
tacoApplication = _tacoApplication;
}

// TODO: what are the arguments? what is done here?
function allocatedRewards () {}

Check failure on line 16 in contracts/contracts/TACoRewardsDispenser.sol

View workflow job for this annotation

GitHub Actions / linting

Delete ·

Check failure on line 16 in contracts/contracts/TACoRewardsDispenser.sol

View workflow job for this annotation

GitHub Actions / linting

Explicitly mark visibility in function

Check failure on line 16 in contracts/contracts/TACoRewardsDispenser.sol

View workflow job for this annotation

GitHub Actions / linting

Code contains empty blocks
}

0 comments on commit 2dd5a94

Please sign in to comment.