Skip to content

Commit

Permalink
fix: PAXG rewards on misconfigured markets (#69)
Browse files Browse the repository at this point in the history
  • Loading branch information
yum0e authored Oct 18, 2024
1 parent d17101c commit 11e4e1d
Showing 1 changed file with 3 additions and 17 deletions.
20 changes: 3 additions & 17 deletions src/market-programs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1152,30 +1152,16 @@ export const marketPrograms: MarketRewardProgramArgs[] = [
chainId: ChainId.MAINNET,
},
// USDC/PAXG 3.15 PAXG on Mainnet 10/08/2024 11/08/2024 1pm GMT
// Updated to 0.998999495967741936 PAXG from 10/08/2024 to 10/18/2024 because of market misconfiguration
{
start: 1728392400n,
end: 1731070800n,
end: 1729241835n,
fundsSender: "0x264bd8291fAE1D75DB2c5F573b07faA6715997B5",
urdAddress: "0x330eefa8a787552DC5cAd3C3cA644844B1E61Ddb",
tokenAddress: "0x45804880De22913dAFE09f4980848ECE6EcbAf78",
marketId: "0x8eaf7b29f02ba8d8c1d7aeb587403dcb16e2e943e4e2f5f94b0963c2386406c9",
rewardAmount: {
supply: parseUnits("3.15", 18),
borrow: 0n,
collateral: 0n,
},
chainId: ChainId.MAINNET,
},
// USDC/PAXG 6.35 PAXG on Mainnet 11/08/2024 12/08/2024 1pm GMT
{
start: 1731070800n,
end: 1733662800n,
fundsSender: "0x264bd8291fAE1D75DB2c5F573b07faA6715997B5",
urdAddress: "0x330eefa8a787552DC5cAd3C3cA644844B1E61Ddb",
tokenAddress: "0x45804880De22913dAFE09f4980848ECE6EcbAf78",
marketId: "0x8eaf7b29f02ba8d8c1d7aeb587403dcb16e2e943e4e2f5f94b0963c2386406c9",
rewardAmount: {
supply: parseUnits("6.35", 18),
supply: parseUnits("0.998999495967741936", 18),
borrow: 0n,
collateral: 0n,
},
Expand Down

0 comments on commit 11e4e1d

Please sign in to comment.