Skip to content

Commit a183d5a

Browse files
authored
Feat: add gate-btc (#17024)
1 parent 7f919f4 commit a183d5a

File tree

3 files changed

+29
-0
lines changed

3 files changed

+29
-0
lines changed

projects/gate-btc/index.js

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
const sdk = require('@defillama/sdk');
2+
const { sumTokensExport } = require('../helper/sumTokens.js');
3+
const bitcoinAddressBook = require('../helper/bitcoin-book/index.js')
4+
5+
module.exports = {
6+
methodology: "BTC on btc chain",
7+
bitcoin: {
8+
tvl: sdk.util.sumChainTvls([
9+
sumTokensExport({ owners: bitcoinAddressBook.gateBtc }),
10+
]),
11+
},
12+
};
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
module.exports = [
2+
'bc1pjkxsx5sr9g6y2psjv680l40kewhf8xpnal96k9cncxgst7806kzqwxq9n4',
3+
'bc1puk7pamvpvy5g4ccw8l0dl368jf5apauu384036yud9n2waq2xqysz0g6w3',
4+
'bc1puglknm7e2hk5gdnu9rjx022g7rwc7xwegwdrgwspl07q55p6a3wq4y0rsj',
5+
'bc1pg6t68yfcum3d2pp98h3h7sypra2yml03sa00hl7eqxe9zu6z48aqmq8t0s',
6+
'1NwrvHiCFRnfkWsqX5yrWg6HK6GkM3gPWA',
7+
'bc1p9tw7swmqtfpe8gj7llhvuun86esqs0va9wepwsljva00s8cu25fq3tr775',
8+
'bc1p7p0re55adj45dacj83h2jyfz2ka0ghlph7ud8klgq0nc7c2a0d6sx3tcyv',
9+
'bc1psd5djk3g7u69upaww2ds44dcs7rlnht4k8yz7xv9wlk3j5sfjz2qg7hc2n',
10+
'bc1p6xexk4fmuzafc9ryflmn4ssfgtap0j3p0zrueyagfqnwfqc60mhsjrm0pd',
11+
'17KesGyx3sW4afkRp2YJRERNKarCRdfRTZ',
12+
'162jqywuy9wRtyyzVa5dbNnmnbuaz7YkAU',
13+
'14yyRRiEMJ5q5LmDCH4Nf6Emx7UKhoRfxR',
14+
'16pP3Pm2PEVZiMREQ6FJXieTWKE5ZMPfpU'
15+
]

projects/helper/bitcoin-book/index.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,7 @@ const xbtc = require('./okx-xbtc.js')
114114
const leadbtc = require('./leadbtc.js')
115115
const bitgetBtc = require('./bitget-bgBTC.js')
116116
const magicEden = require('./magic-eden.js')
117+
const gateBtc = require('./gate-btc.js')
117118

118119
const p2pb2b = ['39BFtTzZjj6o2s7eewefFQxqM4617VmhEK']
119120
const teleswap = [
@@ -272,4 +273,5 @@ module.exports = {
272273
xbtc,
273274
leadbtc,
274275
magicEden,
276+
gateBtc
275277
}

0 commit comments

Comments
 (0)