File tree Expand file tree Collapse file tree 1 file changed +38
-0
lines changed
projects/beamable-network Expand file tree Collapse file tree 1 file changed +38
-0
lines changed Original file line number Diff line number Diff line change 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+ } ;
You can’t perform that action at this time.
0 commit comments