Skip to content

Commit

Permalink
Merge branch 'main' into reserve-rewards
Browse files Browse the repository at this point in the history
Signed-off-by: bigq <99990370+yum0e@users.noreply.github.com>
  • Loading branch information
yum0e authored Jul 16, 2024
2 parents bb9163a + 3fc6803 commit 8c3cd4f
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 5 deletions.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

This repository allows you to create your own reward program by submitting a pull request.

**⚠️ Warning:** Please anticipate with one week before the start of the program to ensure smooth implementation and avoid any last-minute issues.

### Create a Market program

Market Programs can be added in `src/market-programs.ts` at the end of the `marketPrograms` array. You should send funds to the URD with the funds sender before the start date of the program to validate it.
Expand Down Expand Up @@ -48,7 +50,6 @@ export const vaultPrograms = [
];
```


### Frequently Asked Questions

1. Where should we get the `urdAddress`?
Expand Down
8 changes: 6 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,11 @@
"release": "patch"
},
{
"release": "minor"
"type": "chore",
"release": false
},
{
"release": "patch"
}
]
}
Expand Down Expand Up @@ -88,4 +92,4 @@
"@semantic-release/github"
]
}
}
}
19 changes: 17 additions & 2 deletions src/market-programs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -253,13 +253,13 @@ export const marketPrograms: MarketRewardProgramArgs[] = [
// cbETH/USDC 16,000 USDC 06/21/2024 07/20/2024 10am EST
{
start: 1718978400n,
end: 1721401200n,
end: 1721142000n,
fundsSender: "0x874A0A0fc772a32b40e3749ACc3B72f3b0c9b82a",
urdAddress: "0x5400dBb270c956E8985184335A1C62AcA6Ce1333",
tokenAddress: "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
marketId: "0xdba352d93a64b17c71104cbddc6aef85cd432322a1446b5b65163cbbc615cd0c",
rewardAmount: {
supply: parseUnits("16000", 6),
supply: parseUnits("14280", 6),
borrow: 0n,
collateral: 0n,
},
Expand Down Expand Up @@ -537,4 +537,19 @@ export const marketPrograms: MarketRewardProgramArgs[] = [
},
chainId: ChainId.BASE,
},
// new cbETH/USDC 16,000 USDC 07/16/2024 07/20/2024 11am EST
{
start: 1721142000n,
end: 1721401200n,
fundsSender: "0x874A0A0fc772a32b40e3749ACc3B72f3b0c9b82a",
urdAddress: "0x5400dBb270c956E8985184335A1C62AcA6Ce1333",
tokenAddress: "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
marketId: "0x1c21c59df9db44bf6f645d854ee710a8ca17b479451447e9f56758aee10a2fad",
rewardAmount: {
supply: parseUnits("1720", 6),
borrow: 0n,
collateral: 0n,
},
chainId: ChainId.BASE,
},
];

0 comments on commit 8c3cd4f

Please sign in to comment.