-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Reserve incentives in eUSD vaults and markets
- Loading branch information
Showing
8 changed files
with
367 additions
and
113 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,10 @@ | ||
## Context | ||
|
||
Please, provide here any context that could help us to validate the Reward Program(s). | ||
|
||
## Merge conditions checklist | ||
|
||
- [ ] Ensure there is at least one week between the PR submission and the start of the Program(s). | ||
- [ ] Send funds to the URD; the PR will only be merged after the funds have been received. | ||
|
||
**Important**: If the delay between the PR creation and the start of the Program(s) is less than one week, or if we do not see any funds sent to the URD, the PR will not be merged, and the Program(s) will not be created. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
export default { | ||
moduleFileExtensions: ["ts", "js"], | ||
transform: { | ||
"^.+\\.tsx?$": "ts-jest", | ||
}, | ||
testTimeout: 50_000, | ||
testMatch: ["**/tests/**/*.test.(ts|js)"], | ||
testEnvironment: "node", | ||
}; | ||
moduleFileExtensions: ["ts", "js"], | ||
transform: { | ||
"^.+\\.tsx?$": "ts-jest", | ||
}, | ||
testTimeout: 50_000, | ||
testMatch: ["**/tests/**/*.test.(ts|js)"], | ||
testEnvironment: "node", | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
import { Address, ChainId } from "@morpho-org/blue-rewards-core-sdk"; | ||
|
||
export type AirdropRewardProgramArgs = { | ||
claimDate: bigint; | ||
fundsSender: Address; | ||
urdAddress: Address; | ||
tokenAddress: Address; | ||
chainId: ChainId; | ||
cidV0: string; | ||
}; | ||
|
||
/** | ||
* List of Airdrop programs | ||
* @example | ||
* [ | ||
* { | ||
* claimDate: 1717149233n, | ||
* fundsSender: "0xF057afeEc22E220f47AD4220871364e9E828b2e9", | ||
* urdAddress: "0x330eefa8a787552dc5cad3c3ca644844b1e61ddb", | ||
* tokenAddress: "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48", | ||
* cidV0: "QmUSNh34dpKFbX7YMU4fd5JbfkVYzb4e45o3pSqqXvzkKw", | ||
* chainId: ChainId.MAINNET | ||
* } | ||
* ] | ||
*/ | ||
export const airdropPrograms: AirdropRewardProgramArgs[] = []; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.