Skip to content
This repository has been archived by the owner on Jan 24, 2024. It is now read-only.

feat(llama-airforce): Add new uPRISMA pounder and distributor #3185

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -51,11 +51,14 @@ export class EthereumLlamaAirforceAirdropContractPositionFetcher extends Contrac
address: '0x5682a28919389b528ae74dd627e0d632ca7e398c',
rewardTokenAddress: '0x3a886455e5b33300a31c5e77bac01e76c0c7b29c', // uFXS
},

{
address: '0x27a11054b62c29c166f3fab2b0ac708043b0cb49',
address: '0x6788234f40931ca615b0d221c1afbf0ec07afcc5',
rewardTokenAddress: '0x8659fc767cad6005de79af65dafe4249c57927af', // uCVX
},
{
address: '0xf09320ed7db384cab7fce9ea9947436a806754d3',
rewardTokenAddress: '0x9bfd08d7b3cc40129132a17b4d5b9ea3351464bd', // uPRISMA
},
];
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ export class EthereumLlamaAirforceMerkleCache extends MerkleCache<LlamaAirforceM
network = Network.ETHEREUM_MAINNET;

async resolveMerkleData() {
const [{ data: uCrvData }, { data: uFxsData }, { data: uCvxData }] = await Promise.all([
const [{ data: uCrvData }, { data: uFxsData }, { data: uCvxData }, { data: uPrismaData }] = await Promise.all([
axios.get<LlamaAirforceMerkleData>(
'https://raw.githubusercontent.com/0xAlunara/Llama-Airforce-Airdrops/master/ucrv/latest.json',
),
Expand All @@ -33,16 +33,21 @@ export class EthereumLlamaAirforceMerkleCache extends MerkleCache<LlamaAirforceM
axios.get<LlamaAirforceMerkleData>(
'https://raw.githubusercontent.com/0xAlunara/Llama-Airforce-Airdrops/master/ucvx/latest.json',
),
axios.get<LlamaAirforceMerkleData>(
'https://raw.githubusercontent.com/0xAlunara/Llama-Airforce-Airdrops/master/uprisma/latest.json',
),
]);

const uCrvTokenAddress = '0xde2bef0a01845257b4aef2a2eaa48f6eaeafa8b7';
const uFxsTokenAddress = '0x3a886455e5b33300a31c5e77bac01e76c0c7b29c';
const uCvxTokenAddress = '0x8659fc767cad6005de79af65dafe4249c57927af';
const uPrismaTokenAddress = '0x9bfd08d7b3cc40129132a17b4d5b9ea3351464bd';

return {
[uCrvTokenAddress]: uCrvData.claims,
[uFxsTokenAddress]: uFxsData.claims,
[uCvxTokenAddress]: uCvxData.claims,
[uPrismaTokenAddress]: uPrismaData.claims,
};
}
}
Loading