Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updated Index Contract Address on Arbitrum #9748

Merged
merged 1 commit into from
Apr 8, 2024
Merged
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
4 changes: 3 additions & 1 deletion projects/astra-dao/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ const ASTRA_STAKING_CONTRACT_ARBITRUM = '0x6fE79b531b2b1d5378631B3Ab33B0994E2973
async function tvl(api) {
const chain = api.chain
let gotError = false;
const indexAddr = chain === 'ethereum' ? '0x17b9B197E422820b3e28629a2BB101949EE7D12B' : '0x8e265fF847CC660Cd89786D4308076a9f921428f';
const indexAddr = chain === 'ethereum' ? '0x17b9B197E422820b3e28629a2BB101949EE7D12B' : '0xFa3e6EC87941d4e29b1738F8F7f5C27B23Eb3f94';
const stableCoin = await api.call({ abi: 'address:baseStableCoin', target: indexAddr });
let i = 0;
const tokens = [stableCoin];
Expand Down Expand Up @@ -36,5 +36,7 @@ module.exports = {
hallmarks: [
[Math.floor(new Date('2023-09-14') / 1e3), 'Security Incident'],
[Math.floor(new Date('2024-01-04') / 1e3), 'Arbitrum Launch'],
[Math.floor(new Date('2024-03-29') / 1e3), 'Shutdown Indices and Distributed User Funds'],
[Math.floor(new Date('2024-04-05') / 1e3), 'Launched New Indices'],
],
};
Loading