Skip to content

Commit

Permalink
add entities
Browse files Browse the repository at this point in the history
  • Loading branch information
0xngmi committed May 2, 2023
1 parent 7edfe09 commit d732d76
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 1 deletion.
14 changes: 14 additions & 0 deletions projects/entities/mt-gox.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
const { cexExports } = require('../helper/cex')

const config = {
bitcoin: {
owners: [
"bc1qa5wkgaew2dkv56kfvj49j0av5nml45x9ek9hz6", //https://www.reddit.com/r/CryptoCurrency/comments/li1fw7/btc_silkroad_stash_seized_nov_2020_by_the_feds/
'bc1qmxjefnuy06v345v6vhwpwt05dztztmx4g3y7wp',
'bc1qf2yvj48mzkj7uf8lc2a9sa7w983qe256l5c8fs',
'bc1qe7nk2nlnjewghgw4sgm0r89zkjzsurda7z4rdg'
],
},
}

module.exports = cexExports(config)
2 changes: 1 addition & 1 deletion test.js
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ function checkExportKeys(module, filePath, chains) {
|| (filePath.length === 1 && !['.js', ''].includes(path.extname(filePath[0]))) // matches .../projects/projectXYZ.js or .../projects/projectXYZ
|| (filePath.length === 2 &&
!(['api.js', 'index.js', 'apiCache.js',].includes(filePath[1]) // matches .../projects/projectXYZ/index.js
|| ['treasury',].includes(filePath[0]) // matches .../projects/treasury/project.js
|| ['treasury', 'entities'].includes(filePath[0]) // matches .../projects/treasury/project.js
)))
process.exit(0)

Expand Down

0 comments on commit d732d76

Please sign in to comment.