Skip to content

Commit 2e5dfb3

Browse files
authored
feat: add Beamable Network (#17358)
1 parent dd2fb53 commit 2e5dfb3

File tree

1 file changed

+38
-0
lines changed

1 file changed

+38
-0
lines changed

projects/beamable-network/index.js

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
const { sumTokens2 } = require('../helper/solana');
2+
3+
// BMB Token Mint Address
4+
const BMB_TOKEN = 'BMBtwz6LFDJVJd2aZvL5F64fdvWP3RPn4NP5q9Xe15UD';
5+
6+
// Core Anchorage wallets with locked BMB
7+
const CORE_WALLETS = [
8+
'7xQVXzXC5fz4LEq5PsHjKkFaQsenEp8KBLfsU8vXHixT', // Core Team
9+
'GkqBtacaEuCGr5KortDHUF7WNT6bSasCsRSEpoBbgPKH', // Investors
10+
'9zx2QN7DwGdDdU81SjKFve31F8Midg8RHs7wgrE7KguR', // Advisors
11+
];
12+
13+
// Beamable Network Program Vaults
14+
const PROGRAM_VAULTS = [
15+
'SiuEivQxySKyoSLgq2HaRSp68TEU85uRAfz56kk6T45', // depin: flexlock vault
16+
'6pZERJjcMpNjPZ6ovnXWC6LzwkXLAYgAR1URAEs63cWC', // worker_stake: collected emissions
17+
'2zMVb81qUwusaT4EbK8gvpyJBHdJ8uPwMcrefSkLMU6Z', // worker_stake: community stake
18+
'HBjL14QGKnfVtdxVRQRong1WHnYb89gyjBBQtwLQSLVi', // worker_stake: worker's stake
19+
];
20+
21+
async function staking(api) {
22+
const allOwners = [...CORE_WALLETS, ...PROGRAM_VAULTS];
23+
24+
return sumTokens2({
25+
api,
26+
tokens: [BMB_TOKEN],
27+
owners: allOwners,
28+
});
29+
}
30+
31+
module.exports = {
32+
timetravel: false,
33+
methodology: "Counts the number of BMB tokens locked across Core Anchorage wallets and Beamable Network program vaults.",
34+
solana: {
35+
tvl: () => ({}),
36+
staking,
37+
},
38+
};

0 commit comments

Comments
 (0)