tokamak-multichain
Advanced tools
Comparing version 1.0.0 to 1.0.1
{ | ||
"name": "@tokamak/multi-chain", | ||
"description": "Unified token and contract list for Titan Mainnet and other Chains.", | ||
"version": "1.1.6", | ||
"main": "packages/index.js", | ||
"types": "packages/index.d.ts", | ||
"homepage": "https://github.com/tokamak-network/titan.github.io#readme", | ||
"license": "MIT", | ||
"author": "Tokamak-network", | ||
"repository": { | ||
"type": "git", | ||
"url": "git+https://github.com/tokamak-network/titan.github.io" | ||
}, | ||
"tsup": { | ||
"entry": [ | ||
"index.ts", | ||
"titan.tokenlist.json", | ||
"tokamak.contractlist.json" | ||
"name": "tokamak-multichain", | ||
"description": "Unified token and contract list for Titan Mainnet and other Chains.", | ||
"version": "1.0.0", | ||
"main": "dist/packages/index.js", | ||
"types": "dist/packages/index.d.ts", | ||
"homepage": "https://github.com/tokamak-network/tokamak-multichain#readme", | ||
"license": "MIT", | ||
"author": "Tokamak-network", | ||
"repository": { | ||
"type": "git", | ||
"url": "git+https://github.com/tokamak-network/tokamak-multichain.git" | ||
}, | ||
"tsup": { | ||
"entry": [ | ||
"index.ts", | ||
"titan.tokenlist.json", | ||
"tokamak.contractlist.json" | ||
], | ||
"outDir": "dist", | ||
"format": [ | ||
"esm", | ||
"cjs" | ||
], | ||
"splitting": false, | ||
"sourcemap": true, | ||
"clean": true | ||
}, | ||
"scripts": { | ||
"validate": "tsx ./bin/cli.ts validate", | ||
"generate": "tsx ./bin/cli.ts generate", | ||
"generate-contracts": "tsx ./contracts/src/generate.ts --datadir ./contracts", | ||
"generate:sdk": "", | ||
"generate:ci": "pnpm generate --datadir ./tokens/data --outfile titan.tokenlist.json", | ||
"build": "tsup", | ||
"build:ci": "pnpm generate:ci && pnpm tsup --dts", | ||
"release": "pnpm build:ci && npm publish", | ||
"test": "jest --detectOpenHandles", | ||
"test-package": "tsx ./test/index.test.ts", | ||
"lint:check": "eslint . --max-warnings=0", | ||
"lint:fix": "eslint --fix .", | ||
"lint": "pnpm lint:fix && pnpm lint:check", | ||
"start-bot": "tsx ./src/bot.ts", | ||
"typecheck": "tsc -p ./tsconfig.json --noEmit" | ||
}, | ||
"files": [ | ||
"dist" | ||
], | ||
"outDir": "dist", | ||
"format": [ | ||
"esm", | ||
"cjs" | ||
], | ||
"splitting": false, | ||
"sourcemap": true, | ||
"clean": true | ||
}, | ||
"scripts": { | ||
"validate": "tsx ./bin/cli.ts validate", | ||
"generate": "tsx ./bin/cli.ts generate", | ||
"generate-contracts": "tsx ./contracts/src/generate.ts --datadir ./contracts", | ||
"generate:ci": "pnpm generate --datadir ./tokens/data --outfile titan.tokenlist.json", | ||
"build": "tsup", | ||
"build:ci": "pnpm generate:ci && pnpm tsup --dts", | ||
"release": "pnpm build:ci && npm publish", | ||
"test": "jest --detectOpenHandles", | ||
"test-package": "tsx ./test/index.test.ts", | ||
"lint:check": "eslint . --max-warnings=0", | ||
"lint:fix": "eslint --fix .", | ||
"lint": "pnpm lint:fix && pnpm lint:check", | ||
"start-bot": "tsx ./src/bot.ts", | ||
"typecheck": "tsc -p ./tsconfig.json --noEmit" | ||
}, | ||
"files": [ | ||
"dist" | ||
], | ||
"dependencies": { | ||
"@actions/core": "^1.4.0", | ||
"@eth-optimism/contracts": "^0.5.40", | ||
"@eth-optimism/core-utils": "^0.9.3", | ||
"@ethersproject/abstract-provider": "^5.7.0", | ||
"@ethersproject/abstract-signer": "^5.7.0", | ||
"@uniswap/token-lists": "^1.0.0-beta.30", | ||
"ajv": "^8.11.0", | ||
"ajv-formats": "^2.1.1", | ||
"commander": "^9.4.0", | ||
"ethers": "^5.4.1", | ||
"node-fetch": "2.6.7", | ||
"octokit": "^2.0.7", | ||
"uuid": "^9.0.0" | ||
}, | ||
"devDependencies": { | ||
"@actions/core": "^1.4.0", | ||
"@babel/eslint-parser": "^7.18.2", | ||
"@eth-optimism/common-ts": "^0.6.5", | ||
"@eth-optimism/contracts": "^0.5.40", | ||
"@eth-optimism/core-utils": "^0.9.3", | ||
"@ethersproject/abstract-provider": "^5.7.0", | ||
"@ethersproject/abstract-signer": "^5.7.0", | ||
"@types/glob": "^8.0.0", | ||
"@types/jest": "^29.0.3", | ||
"@types/node": "^12.0.0", | ||
"@types/uuid": "^8.3.4", | ||
"@typescript-eslint/eslint-plugin": "^5.26.0", | ||
"@typescript-eslint/parser": "^4.26.0", | ||
"@uniswap/token-lists": "^1.0.0-beta.30", | ||
"ajv": "^8.11.0", | ||
"ajv-formats": "^2.1.1", | ||
"commander": "^9.4.0", | ||
"eslint": "^8.16.0", | ||
"eslint-config-prettier": "^8.3.0", | ||
"eslint-config-standard": "^16.0.3", | ||
"eslint-plugin-import": "^2.26.0", | ||
"eslint-plugin-jsdoc": "^35.1.2", | ||
"eslint-plugin-node": "^11.1.0", | ||
"eslint-plugin-prefer-arrow": "^1.2.3", | ||
"eslint-plugin-prettier": "^4.0.0", | ||
"eslint-plugin-promise": "^5.1.0", | ||
"eslint-plugin-react": "^7.24.0", | ||
"eslint-plugin-unicorn": "^42.0.0", | ||
"ethers": "^5.4.1", | ||
"extract-zip": "^2.0.1", | ||
"glob": "^8.0.3", | ||
"jest": "^28.1.3", | ||
"jsonschema": "^1.4.1", | ||
"mocha": "^8.4.0", | ||
"node-fetch": "2.6.7", | ||
"octokit": "^2.0.7", | ||
"prettier": "^2.3.1", | ||
"ts-jest": "^29.0.1", | ||
"ts-mocha": "^10.0.0", | ||
"tsup": "^6.7.0", | ||
"tsx": "^3.12.6", | ||
"typescript": "^4.6.2", | ||
"uuid": "^9.0.0" | ||
} | ||
"dependencies": { | ||
"@actions/core": "^1.4.0", | ||
"@eth-optimism/contracts": "^0.5.40", | ||
"@eth-optimism/core-utils": "^0.9.3", | ||
"@ethersproject/abstract-provider": "^5.7.0", | ||
"@ethersproject/abstract-signer": "^5.7.0", | ||
"@uniswap/token-lists": "^1.0.0-beta.30", | ||
"ajv": "^8.11.0", | ||
"ajv-formats": "^2.1.1", | ||
"assert": "^2.1.0", | ||
"browserify-fs": "^1.0.0", | ||
"commander": "^9.4.0", | ||
"ethers": "^5.4.1", | ||
"node-fetch": "2.6.7", | ||
"octokit": "^2.0.7", | ||
"path": "^0.12.7", | ||
"uuid": "^9.0.0" | ||
}, | ||
"devDependencies": { | ||
"@actions/core": "^1.4.0", | ||
"@babel/eslint-parser": "^7.18.2", | ||
"@eth-optimism/common-ts": "^0.6.5", | ||
"@eth-optimism/contracts": "^0.5.40", | ||
"@eth-optimism/core-utils": "^0.9.3", | ||
"@ethersproject/abstract-provider": "^5.7.0", | ||
"@ethersproject/abstract-signer": "^5.7.0", | ||
"@types/glob": "^8.0.0", | ||
"@types/jest": "^29.0.3", | ||
"@types/node": "^12.0.0", | ||
"@types/uuid": "^8.3.4", | ||
"@typescript-eslint/eslint-plugin": "^5.26.0", | ||
"@typescript-eslint/parser": "^4.26.0", | ||
"@uniswap/token-lists": "^1.0.0-beta.30", | ||
"ajv": "^8.11.0", | ||
"ajv-formats": "^2.1.1", | ||
"commander": "^9.4.0", | ||
"eslint": "^8.16.0", | ||
"eslint-config-prettier": "^8.3.0", | ||
"eslint-config-standard": "^16.0.3", | ||
"eslint-plugin-import": "^2.26.0", | ||
"eslint-plugin-jsdoc": "^35.1.2", | ||
"eslint-plugin-node": "^11.1.0", | ||
"eslint-plugin-prefer-arrow": "^1.2.3", | ||
"eslint-plugin-prettier": "^4.0.0", | ||
"eslint-plugin-promise": "^5.1.0", | ||
"eslint-plugin-react": "^7.24.0", | ||
"eslint-plugin-unicorn": "^42.0.0", | ||
"ethers": "^5.4.1", | ||
"extract-zip": "^2.0.1", | ||
"glob": "^8.0.3", | ||
"jest": "^28.1.3", | ||
"jsonschema": "^1.4.1", | ||
"mocha": "^8.4.0", | ||
"node-fetch": "2.6.7", | ||
"octokit": "^2.0.7", | ||
"prettier": "^2.3.1", | ||
"ts-jest": "^29.0.1", | ||
"ts-mocha": "^10.0.0", | ||
"tsup": "^6.7.0", | ||
"tsx": "^3.12.6", | ||
"typescript": "^4.6.2", | ||
"uuid": "^9.0.0" | ||
}, | ||
"bugs": { | ||
"url": "https://github.com/tokamak-network/tokamak-multichain/issues" | ||
}, | ||
"directories": { | ||
"test": "test" | ||
} | ||
} |
@@ -7,3 +7,3 @@ "use strict"; | ||
exports.getAllERC20Contracts = exports.getAllERC20Tokens = exports.getAllContracts = exports.getContract = void 0; | ||
const fs_1 = __importDefault(require("fs")); | ||
const browserify_fs_1 = __importDefault(require("browserify-fs")); | ||
const path_1 = __importDefault(require("path")); | ||
@@ -24,7 +24,7 @@ const ethers_1 = require("ethers"); | ||
} | ||
const files = fs_1.default.readdirSync(dir); | ||
const files = browserify_fs_1.default.readdirSync(dir); | ||
for (const contract of files) { | ||
const filePath = path_1.default.join(dir, contract, 'abi', `${contractName}.json`); | ||
if (fs_1.default.existsSync(filePath)) { | ||
const abi = JSON.parse(fs_1.default.readFileSync(filePath, 'utf8')); | ||
if (browserify_fs_1.default.existsSync(filePath)) { | ||
const abi = JSON.parse(browserify_fs_1.default.readFileSync(filePath, 'utf8')); | ||
cache.set(contractName, abi); | ||
@@ -31,0 +31,0 @@ return abi; |
var name = "Multi chain Token List"; | ||
var logoURI = "https://titan.github.io/titan.svg"; | ||
var logoURI = "https://tokamak-multichain/titan.svg"; | ||
var keywords = [ | ||
@@ -8,3 +8,3 @@ "scaling", | ||
]; | ||
var timestamp = "2024-01-16T09:31:41.462Z"; | ||
var timestamp = "2024-01-25T07:34:33.791Z"; | ||
var tokens = [ | ||
@@ -17,3 +17,3 @@ { | ||
decimals: 18, | ||
logoURI: "https://titan.github.io/data/ETH/logo.svg", | ||
logoURI: "https://tokamak-multichain/data/ETH/logo.svg", | ||
extensions: { | ||
@@ -31,3 +31,3 @@ bridgeAddress: "0x59aa194798Ba87D26Ba6bEF80B85ec465F4bbcfD", | ||
decimals: 18, | ||
logoURI: "https://titan.github.io/data/ETH/logo.svg", | ||
logoURI: "https://tokamak-multichain/data/ETH/logo.svg", | ||
extensions: { | ||
@@ -45,3 +45,3 @@ bridgeAddress: "0x7377F3D0F64d7a54Cf367193eb74a052ff8578FD", | ||
decimals: 18, | ||
logoURI: "https://titan.github.io/data/ETH/logo.svg", | ||
logoURI: "https://tokamak-multichain/data/ETH/logo.svg", | ||
extensions: { | ||
@@ -58,3 +58,3 @@ titanListId: "default", | ||
decimals: 18, | ||
logoURI: "https://titan.github.io/data/ETH/logo.svg", | ||
logoURI: "https://tokamak-multichain/data/ETH/logo.svg", | ||
extensions: { | ||
@@ -72,3 +72,3 @@ bridgeAddress: "0x4200000000000000000000000000000000000010", | ||
decimals: 18, | ||
logoURI: "https://titan.github.io/data/ETH/logo.svg", | ||
logoURI: "https://tokamak-multichain/data/ETH/logo.svg", | ||
extensions: { | ||
@@ -86,3 +86,3 @@ bridgeAddress: "0x4200000000000000000000000000000000000010", | ||
decimals: 6, | ||
logoURI: "https://titan.github.io/data/TON/logo.svg", | ||
logoURI: "https://tokamak-multichain/data/TON/logo.svg", | ||
extensions: { | ||
@@ -100,3 +100,3 @@ bridgeAddress: "0x59aa194798Ba87D26Ba6bEF80B85ec465F4bbcfD", | ||
decimals: 6, | ||
logoURI: "https://titan.github.io/data/TON/logo.svg", | ||
logoURI: "https://tokamak-multichain/data/TON/logo.svg", | ||
extensions: { | ||
@@ -114,3 +114,3 @@ bridgeAddress: "0x7377F3D0F64d7a54Cf367193eb74a052ff8578FD", | ||
decimals: 6, | ||
logoURI: "https://titan.github.io/data/TON/logo.svg", | ||
logoURI: "https://tokamak-multichain/data/TON/logo.svg", | ||
extensions: { | ||
@@ -127,3 +127,3 @@ titanListId: "default", | ||
decimals: 6, | ||
logoURI: "https://titan.github.io/data/TON/logo.svg", | ||
logoURI: "https://tokamak-multichain/data/TON/logo.svg", | ||
extensions: { | ||
@@ -141,3 +141,3 @@ bridgeAddress: "0x4200000000000000000000000000000000000010", | ||
decimals: 6, | ||
logoURI: "https://titan.github.io/data/TON/logo.svg", | ||
logoURI: "https://tokamak-multichain/data/TON/logo.svg", | ||
extensions: { | ||
@@ -155,3 +155,3 @@ bridgeAddress: "0x4200000000000000000000000000000000000010", | ||
decimals: 18, | ||
logoURI: "https://titan.github.io/data/TOS/logo.svg", | ||
logoURI: "https://tokamak-multichain/data/TOS/logo.svg", | ||
extensions: { | ||
@@ -169,3 +169,3 @@ bridgeAddress: "0x59aa194798Ba87D26Ba6bEF80B85ec465F4bbcfD", | ||
decimals: 18, | ||
logoURI: "https://titan.github.io/data/TOS/logo.svg", | ||
logoURI: "https://tokamak-multichain/data/TOS/logo.svg", | ||
extensions: { | ||
@@ -183,3 +183,3 @@ bridgeAddress: "0x7377F3D0F64d7a54Cf367193eb74a052ff8578FD", | ||
decimals: 18, | ||
logoURI: "https://titan.github.io/data/TOS/logo.svg", | ||
logoURI: "https://tokamak-multichain/data/TOS/logo.svg", | ||
extensions: { | ||
@@ -196,3 +196,3 @@ titanListId: "default", | ||
decimals: 18, | ||
logoURI: "https://titan.github.io/data/TOS/logo.svg", | ||
logoURI: "https://tokamak-multichain/data/TOS/logo.svg", | ||
extensions: { | ||
@@ -210,3 +210,3 @@ bridgeAddress: "0x4200000000000000000000000000000000000010", | ||
decimals: 18, | ||
logoURI: "https://titan.github.io/data/TOS/logo.svg", | ||
logoURI: "https://tokamak-multichain/data/TOS/logo.svg", | ||
extensions: { | ||
@@ -224,3 +224,3 @@ bridgeAddress: "0x4200000000000000000000000000000000000010", | ||
decimals: 6, | ||
logoURI: "https://titan.github.io/data/USDC/logo.svg", | ||
logoURI: "https://tokamak-multichain/data/USDC/logo.svg", | ||
extensions: { | ||
@@ -237,3 +237,3 @@ titanListId: "default", | ||
decimals: 6, | ||
logoURI: "https://titan.github.io/data/USDC/logo.svg", | ||
logoURI: "https://tokamak-multichain/data/USDC/logo.svg", | ||
extensions: { | ||
@@ -250,3 +250,3 @@ titanListId: "default", | ||
decimals: 6, | ||
logoURI: "https://titan.github.io/data/USDC/logo.svg", | ||
logoURI: "https://tokamak-multichain/data/USDC/logo.svg", | ||
extensions: { | ||
@@ -263,3 +263,3 @@ titanListId: "default", | ||
decimals: 6, | ||
logoURI: "https://titan.github.io/data/USDC/logo.svg", | ||
logoURI: "https://tokamak-multichain/data/USDC/logo.svg", | ||
extensions: { | ||
@@ -276,3 +276,3 @@ titanListId: "default", | ||
decimals: 6, | ||
logoURI: "https://titan.github.io/data/USDC/logo.svg", | ||
logoURI: "https://tokamak-multichain/data/USDC/logo.svg", | ||
extensions: { | ||
@@ -289,3 +289,3 @@ titanListId: "default", | ||
decimals: 6, | ||
logoURI: "https://titan.github.io/data/USDT/logo.svg", | ||
logoURI: "https://tokamak-multichain/data/USDT/logo.svg", | ||
extensions: { | ||
@@ -303,3 +303,3 @@ bridgeAddress: "0x59aa194798Ba87D26Ba6bEF80B85ec465F4bbcfD", | ||
decimals: 6, | ||
logoURI: "https://titan.github.io/data/USDT/logo.svg", | ||
logoURI: "https://tokamak-multichain/data/USDT/logo.svg", | ||
extensions: { | ||
@@ -317,3 +317,3 @@ bridgeAddress: "0x7377F3D0F64d7a54Cf367193eb74a052ff8578FD", | ||
decimals: 6, | ||
logoURI: "https://titan.github.io/data/USDT/logo.svg", | ||
logoURI: "https://tokamak-multichain/data/USDT/logo.svg", | ||
extensions: { | ||
@@ -330,3 +330,3 @@ titanListId: "default", | ||
decimals: 6, | ||
logoURI: "https://titan.github.io/data/USDT/logo.svg", | ||
logoURI: "https://tokamak-multichain/data/USDT/logo.svg", | ||
extensions: { | ||
@@ -344,3 +344,3 @@ bridgeAddress: "0x4200000000000000000000000000000000000010", | ||
decimals: 6, | ||
logoURI: "https://titan.github.io/data/USDT/logo.svg", | ||
logoURI: "https://tokamak-multichain/data/USDT/logo.svg", | ||
extensions: { | ||
@@ -358,3 +358,3 @@ bridgeAddress: "0x4200000000000000000000000000000000000010", | ||
decimals: 18, | ||
logoURI: "https://titan.github.io/data/WETH/logo.svg", | ||
logoURI: "https://tokamak-multichain/data/WETH/logo.svg", | ||
extensions: { | ||
@@ -370,3 +370,3 @@ titanListId: "default", | ||
decimals: 18, | ||
logoURI: "https://titan.github.io/data/WETH/logo.svg", | ||
logoURI: "https://tokamak-multichain/data/WETH/logo.svg", | ||
extensions: { | ||
@@ -383,3 +383,3 @@ titanListId: "default", | ||
decimals: 18, | ||
logoURI: "https://titan.github.io/data/WETH/logo.svg", | ||
logoURI: "https://tokamak-multichain/data/WETH/logo.svg", | ||
extensions: { | ||
@@ -396,3 +396,3 @@ titanListId: "default", | ||
decimals: 18, | ||
logoURI: "https://titan.github.io/data/WETH/logo.svg", | ||
logoURI: "https://tokamak-multichain/data/WETH/logo.svg", | ||
extensions: { | ||
@@ -409,3 +409,3 @@ titanListId: "default", | ||
decimals: 18, | ||
logoURI: "https://titan.github.io/data/WETH/logo.svg", | ||
logoURI: "https://tokamak-multichain/data/WETH/logo.svg", | ||
extensions: { | ||
@@ -419,4 +419,4 @@ titanListId: "default", | ||
major: 1, | ||
minor: 1, | ||
patch: 5 | ||
minor: 0, | ||
patch: 0 | ||
}; | ||
@@ -423,0 +423,0 @@ var titan_tokenlist = { |
// titan.tokenlist.json | ||
var name = "Multi chain Token List"; | ||
var logoURI = "https://titan.github.io/titan.svg"; | ||
var logoURI = "https://tokamak-multichain/titan.svg"; | ||
var keywords = [ | ||
@@ -9,3 +9,3 @@ "scaling", | ||
]; | ||
var timestamp = "2024-01-16T09:31:41.462Z"; | ||
var timestamp = "2024-01-25T07:34:33.791Z"; | ||
var tokens = [ | ||
@@ -18,3 +18,3 @@ { | ||
decimals: 18, | ||
logoURI: "https://titan.github.io/data/ETH/logo.svg", | ||
logoURI: "https://tokamak-multichain/data/ETH/logo.svg", | ||
extensions: { | ||
@@ -32,3 +32,3 @@ bridgeAddress: "0x59aa194798Ba87D26Ba6bEF80B85ec465F4bbcfD", | ||
decimals: 18, | ||
logoURI: "https://titan.github.io/data/ETH/logo.svg", | ||
logoURI: "https://tokamak-multichain/data/ETH/logo.svg", | ||
extensions: { | ||
@@ -46,3 +46,3 @@ bridgeAddress: "0x7377F3D0F64d7a54Cf367193eb74a052ff8578FD", | ||
decimals: 18, | ||
logoURI: "https://titan.github.io/data/ETH/logo.svg", | ||
logoURI: "https://tokamak-multichain/data/ETH/logo.svg", | ||
extensions: { | ||
@@ -59,3 +59,3 @@ titanListId: "default", | ||
decimals: 18, | ||
logoURI: "https://titan.github.io/data/ETH/logo.svg", | ||
logoURI: "https://tokamak-multichain/data/ETH/logo.svg", | ||
extensions: { | ||
@@ -73,3 +73,3 @@ bridgeAddress: "0x4200000000000000000000000000000000000010", | ||
decimals: 18, | ||
logoURI: "https://titan.github.io/data/ETH/logo.svg", | ||
logoURI: "https://tokamak-multichain/data/ETH/logo.svg", | ||
extensions: { | ||
@@ -87,3 +87,3 @@ bridgeAddress: "0x4200000000000000000000000000000000000010", | ||
decimals: 6, | ||
logoURI: "https://titan.github.io/data/TON/logo.svg", | ||
logoURI: "https://tokamak-multichain/data/TON/logo.svg", | ||
extensions: { | ||
@@ -101,3 +101,3 @@ bridgeAddress: "0x59aa194798Ba87D26Ba6bEF80B85ec465F4bbcfD", | ||
decimals: 6, | ||
logoURI: "https://titan.github.io/data/TON/logo.svg", | ||
logoURI: "https://tokamak-multichain/data/TON/logo.svg", | ||
extensions: { | ||
@@ -115,3 +115,3 @@ bridgeAddress: "0x7377F3D0F64d7a54Cf367193eb74a052ff8578FD", | ||
decimals: 6, | ||
logoURI: "https://titan.github.io/data/TON/logo.svg", | ||
logoURI: "https://tokamak-multichain/data/TON/logo.svg", | ||
extensions: { | ||
@@ -128,3 +128,3 @@ titanListId: "default", | ||
decimals: 6, | ||
logoURI: "https://titan.github.io/data/TON/logo.svg", | ||
logoURI: "https://tokamak-multichain/data/TON/logo.svg", | ||
extensions: { | ||
@@ -142,3 +142,3 @@ bridgeAddress: "0x4200000000000000000000000000000000000010", | ||
decimals: 6, | ||
logoURI: "https://titan.github.io/data/TON/logo.svg", | ||
logoURI: "https://tokamak-multichain/data/TON/logo.svg", | ||
extensions: { | ||
@@ -156,3 +156,3 @@ bridgeAddress: "0x4200000000000000000000000000000000000010", | ||
decimals: 18, | ||
logoURI: "https://titan.github.io/data/TOS/logo.svg", | ||
logoURI: "https://tokamak-multichain/data/TOS/logo.svg", | ||
extensions: { | ||
@@ -170,3 +170,3 @@ bridgeAddress: "0x59aa194798Ba87D26Ba6bEF80B85ec465F4bbcfD", | ||
decimals: 18, | ||
logoURI: "https://titan.github.io/data/TOS/logo.svg", | ||
logoURI: "https://tokamak-multichain/data/TOS/logo.svg", | ||
extensions: { | ||
@@ -184,3 +184,3 @@ bridgeAddress: "0x7377F3D0F64d7a54Cf367193eb74a052ff8578FD", | ||
decimals: 18, | ||
logoURI: "https://titan.github.io/data/TOS/logo.svg", | ||
logoURI: "https://tokamak-multichain/data/TOS/logo.svg", | ||
extensions: { | ||
@@ -197,3 +197,3 @@ titanListId: "default", | ||
decimals: 18, | ||
logoURI: "https://titan.github.io/data/TOS/logo.svg", | ||
logoURI: "https://tokamak-multichain/data/TOS/logo.svg", | ||
extensions: { | ||
@@ -211,3 +211,3 @@ bridgeAddress: "0x4200000000000000000000000000000000000010", | ||
decimals: 18, | ||
logoURI: "https://titan.github.io/data/TOS/logo.svg", | ||
logoURI: "https://tokamak-multichain/data/TOS/logo.svg", | ||
extensions: { | ||
@@ -225,3 +225,3 @@ bridgeAddress: "0x4200000000000000000000000000000000000010", | ||
decimals: 6, | ||
logoURI: "https://titan.github.io/data/USDC/logo.svg", | ||
logoURI: "https://tokamak-multichain/data/USDC/logo.svg", | ||
extensions: { | ||
@@ -238,3 +238,3 @@ titanListId: "default", | ||
decimals: 6, | ||
logoURI: "https://titan.github.io/data/USDC/logo.svg", | ||
logoURI: "https://tokamak-multichain/data/USDC/logo.svg", | ||
extensions: { | ||
@@ -251,3 +251,3 @@ titanListId: "default", | ||
decimals: 6, | ||
logoURI: "https://titan.github.io/data/USDC/logo.svg", | ||
logoURI: "https://tokamak-multichain/data/USDC/logo.svg", | ||
extensions: { | ||
@@ -264,3 +264,3 @@ titanListId: "default", | ||
decimals: 6, | ||
logoURI: "https://titan.github.io/data/USDC/logo.svg", | ||
logoURI: "https://tokamak-multichain/data/USDC/logo.svg", | ||
extensions: { | ||
@@ -277,3 +277,3 @@ titanListId: "default", | ||
decimals: 6, | ||
logoURI: "https://titan.github.io/data/USDC/logo.svg", | ||
logoURI: "https://tokamak-multichain/data/USDC/logo.svg", | ||
extensions: { | ||
@@ -290,3 +290,3 @@ titanListId: "default", | ||
decimals: 6, | ||
logoURI: "https://titan.github.io/data/USDT/logo.svg", | ||
logoURI: "https://tokamak-multichain/data/USDT/logo.svg", | ||
extensions: { | ||
@@ -304,3 +304,3 @@ bridgeAddress: "0x59aa194798Ba87D26Ba6bEF80B85ec465F4bbcfD", | ||
decimals: 6, | ||
logoURI: "https://titan.github.io/data/USDT/logo.svg", | ||
logoURI: "https://tokamak-multichain/data/USDT/logo.svg", | ||
extensions: { | ||
@@ -318,3 +318,3 @@ bridgeAddress: "0x7377F3D0F64d7a54Cf367193eb74a052ff8578FD", | ||
decimals: 6, | ||
logoURI: "https://titan.github.io/data/USDT/logo.svg", | ||
logoURI: "https://tokamak-multichain/data/USDT/logo.svg", | ||
extensions: { | ||
@@ -331,3 +331,3 @@ titanListId: "default", | ||
decimals: 6, | ||
logoURI: "https://titan.github.io/data/USDT/logo.svg", | ||
logoURI: "https://tokamak-multichain/data/USDT/logo.svg", | ||
extensions: { | ||
@@ -345,3 +345,3 @@ bridgeAddress: "0x4200000000000000000000000000000000000010", | ||
decimals: 6, | ||
logoURI: "https://titan.github.io/data/USDT/logo.svg", | ||
logoURI: "https://tokamak-multichain/data/USDT/logo.svg", | ||
extensions: { | ||
@@ -359,3 +359,3 @@ bridgeAddress: "0x4200000000000000000000000000000000000010", | ||
decimals: 18, | ||
logoURI: "https://titan.github.io/data/WETH/logo.svg", | ||
logoURI: "https://tokamak-multichain/data/WETH/logo.svg", | ||
extensions: { | ||
@@ -371,3 +371,3 @@ titanListId: "default", | ||
decimals: 18, | ||
logoURI: "https://titan.github.io/data/WETH/logo.svg", | ||
logoURI: "https://tokamak-multichain/data/WETH/logo.svg", | ||
extensions: { | ||
@@ -384,3 +384,3 @@ titanListId: "default", | ||
decimals: 18, | ||
logoURI: "https://titan.github.io/data/WETH/logo.svg", | ||
logoURI: "https://tokamak-multichain/data/WETH/logo.svg", | ||
extensions: { | ||
@@ -397,3 +397,3 @@ titanListId: "default", | ||
decimals: 18, | ||
logoURI: "https://titan.github.io/data/WETH/logo.svg", | ||
logoURI: "https://tokamak-multichain/data/WETH/logo.svg", | ||
extensions: { | ||
@@ -410,3 +410,3 @@ titanListId: "default", | ||
decimals: 18, | ||
logoURI: "https://titan.github.io/data/WETH/logo.svg", | ||
logoURI: "https://tokamak-multichain/data/WETH/logo.svg", | ||
extensions: { | ||
@@ -420,4 +420,4 @@ titanListId: "default", | ||
major: 1, | ||
minor: 1, | ||
patch: 5 | ||
minor: 0, | ||
patch: 0 | ||
}; | ||
@@ -424,0 +424,0 @@ var titan_tokenlist_default = { |
{ | ||
"name": "Multi chain Token List", | ||
"logoURI": "https://titan.github.io/titan.svg", | ||
"logoURI": "https://tokamak-multichain/titan.svg", | ||
"keywords": [ | ||
@@ -9,3 +9,3 @@ "scaling", | ||
], | ||
"timestamp": "2024-01-16T09:31:41.462Z", | ||
"timestamp": "2024-01-25T07:34:33.791Z", | ||
"tokens": [ | ||
@@ -18,3 +18,3 @@ { | ||
"decimals": 18, | ||
"logoURI": "https://titan.github.io/data/ETH/logo.svg", | ||
"logoURI": "https://tokamak-multichain/data/ETH/logo.svg", | ||
"extensions": { | ||
@@ -32,3 +32,3 @@ "bridgeAddress": "0x59aa194798Ba87D26Ba6bEF80B85ec465F4bbcfD", | ||
"decimals": 18, | ||
"logoURI": "https://titan.github.io/data/ETH/logo.svg", | ||
"logoURI": "https://tokamak-multichain/data/ETH/logo.svg", | ||
"extensions": { | ||
@@ -46,3 +46,3 @@ "bridgeAddress": "0x7377F3D0F64d7a54Cf367193eb74a052ff8578FD", | ||
"decimals": 18, | ||
"logoURI": "https://titan.github.io/data/ETH/logo.svg", | ||
"logoURI": "https://tokamak-multichain/data/ETH/logo.svg", | ||
"extensions": { | ||
@@ -59,3 +59,3 @@ "titanListId": "default", | ||
"decimals": 18, | ||
"logoURI": "https://titan.github.io/data/ETH/logo.svg", | ||
"logoURI": "https://tokamak-multichain/data/ETH/logo.svg", | ||
"extensions": { | ||
@@ -73,3 +73,3 @@ "bridgeAddress": "0x4200000000000000000000000000000000000010", | ||
"decimals": 18, | ||
"logoURI": "https://titan.github.io/data/ETH/logo.svg", | ||
"logoURI": "https://tokamak-multichain/data/ETH/logo.svg", | ||
"extensions": { | ||
@@ -87,3 +87,3 @@ "bridgeAddress": "0x4200000000000000000000000000000000000010", | ||
"decimals": 6, | ||
"logoURI": "https://titan.github.io/data/TON/logo.svg", | ||
"logoURI": "https://tokamak-multichain/data/TON/logo.svg", | ||
"extensions": { | ||
@@ -101,3 +101,3 @@ "bridgeAddress": "0x59aa194798Ba87D26Ba6bEF80B85ec465F4bbcfD", | ||
"decimals": 6, | ||
"logoURI": "https://titan.github.io/data/TON/logo.svg", | ||
"logoURI": "https://tokamak-multichain/data/TON/logo.svg", | ||
"extensions": { | ||
@@ -115,3 +115,3 @@ "bridgeAddress": "0x7377F3D0F64d7a54Cf367193eb74a052ff8578FD", | ||
"decimals": 6, | ||
"logoURI": "https://titan.github.io/data/TON/logo.svg", | ||
"logoURI": "https://tokamak-multichain/data/TON/logo.svg", | ||
"extensions": { | ||
@@ -128,3 +128,3 @@ "titanListId": "default", | ||
"decimals": 6, | ||
"logoURI": "https://titan.github.io/data/TON/logo.svg", | ||
"logoURI": "https://tokamak-multichain/data/TON/logo.svg", | ||
"extensions": { | ||
@@ -142,3 +142,3 @@ "bridgeAddress": "0x4200000000000000000000000000000000000010", | ||
"decimals": 6, | ||
"logoURI": "https://titan.github.io/data/TON/logo.svg", | ||
"logoURI": "https://tokamak-multichain/data/TON/logo.svg", | ||
"extensions": { | ||
@@ -156,3 +156,3 @@ "bridgeAddress": "0x4200000000000000000000000000000000000010", | ||
"decimals": 18, | ||
"logoURI": "https://titan.github.io/data/TOS/logo.svg", | ||
"logoURI": "https://tokamak-multichain/data/TOS/logo.svg", | ||
"extensions": { | ||
@@ -170,3 +170,3 @@ "bridgeAddress": "0x59aa194798Ba87D26Ba6bEF80B85ec465F4bbcfD", | ||
"decimals": 18, | ||
"logoURI": "https://titan.github.io/data/TOS/logo.svg", | ||
"logoURI": "https://tokamak-multichain/data/TOS/logo.svg", | ||
"extensions": { | ||
@@ -184,3 +184,3 @@ "bridgeAddress": "0x7377F3D0F64d7a54Cf367193eb74a052ff8578FD", | ||
"decimals": 18, | ||
"logoURI": "https://titan.github.io/data/TOS/logo.svg", | ||
"logoURI": "https://tokamak-multichain/data/TOS/logo.svg", | ||
"extensions": { | ||
@@ -197,3 +197,3 @@ "titanListId": "default", | ||
"decimals": 18, | ||
"logoURI": "https://titan.github.io/data/TOS/logo.svg", | ||
"logoURI": "https://tokamak-multichain/data/TOS/logo.svg", | ||
"extensions": { | ||
@@ -211,3 +211,3 @@ "bridgeAddress": "0x4200000000000000000000000000000000000010", | ||
"decimals": 18, | ||
"logoURI": "https://titan.github.io/data/TOS/logo.svg", | ||
"logoURI": "https://tokamak-multichain/data/TOS/logo.svg", | ||
"extensions": { | ||
@@ -225,3 +225,3 @@ "bridgeAddress": "0x4200000000000000000000000000000000000010", | ||
"decimals": 6, | ||
"logoURI": "https://titan.github.io/data/USDC/logo.svg", | ||
"logoURI": "https://tokamak-multichain/data/USDC/logo.svg", | ||
"extensions": { | ||
@@ -238,3 +238,3 @@ "titanListId": "default", | ||
"decimals": 6, | ||
"logoURI": "https://titan.github.io/data/USDC/logo.svg", | ||
"logoURI": "https://tokamak-multichain/data/USDC/logo.svg", | ||
"extensions": { | ||
@@ -251,3 +251,3 @@ "titanListId": "default", | ||
"decimals": 6, | ||
"logoURI": "https://titan.github.io/data/USDC/logo.svg", | ||
"logoURI": "https://tokamak-multichain/data/USDC/logo.svg", | ||
"extensions": { | ||
@@ -264,3 +264,3 @@ "titanListId": "default", | ||
"decimals": 6, | ||
"logoURI": "https://titan.github.io/data/USDC/logo.svg", | ||
"logoURI": "https://tokamak-multichain/data/USDC/logo.svg", | ||
"extensions": { | ||
@@ -277,3 +277,3 @@ "titanListId": "default", | ||
"decimals": 6, | ||
"logoURI": "https://titan.github.io/data/USDC/logo.svg", | ||
"logoURI": "https://tokamak-multichain/data/USDC/logo.svg", | ||
"extensions": { | ||
@@ -290,3 +290,3 @@ "titanListId": "default", | ||
"decimals": 6, | ||
"logoURI": "https://titan.github.io/data/USDT/logo.svg", | ||
"logoURI": "https://tokamak-multichain/data/USDT/logo.svg", | ||
"extensions": { | ||
@@ -304,3 +304,3 @@ "bridgeAddress": "0x59aa194798Ba87D26Ba6bEF80B85ec465F4bbcfD", | ||
"decimals": 6, | ||
"logoURI": "https://titan.github.io/data/USDT/logo.svg", | ||
"logoURI": "https://tokamak-multichain/data/USDT/logo.svg", | ||
"extensions": { | ||
@@ -318,3 +318,3 @@ "bridgeAddress": "0x7377F3D0F64d7a54Cf367193eb74a052ff8578FD", | ||
"decimals": 6, | ||
"logoURI": "https://titan.github.io/data/USDT/logo.svg", | ||
"logoURI": "https://tokamak-multichain/data/USDT/logo.svg", | ||
"extensions": { | ||
@@ -331,3 +331,3 @@ "titanListId": "default", | ||
"decimals": 6, | ||
"logoURI": "https://titan.github.io/data/USDT/logo.svg", | ||
"logoURI": "https://tokamak-multichain/data/USDT/logo.svg", | ||
"extensions": { | ||
@@ -345,3 +345,3 @@ "bridgeAddress": "0x4200000000000000000000000000000000000010", | ||
"decimals": 6, | ||
"logoURI": "https://titan.github.io/data/USDT/logo.svg", | ||
"logoURI": "https://tokamak-multichain/data/USDT/logo.svg", | ||
"extensions": { | ||
@@ -359,3 +359,3 @@ "bridgeAddress": "0x4200000000000000000000000000000000000010", | ||
"decimals": 18, | ||
"logoURI": "https://titan.github.io/data/WETH/logo.svg", | ||
"logoURI": "https://tokamak-multichain/data/WETH/logo.svg", | ||
"extensions": { | ||
@@ -371,3 +371,3 @@ "titanListId": "default", | ||
"decimals": 18, | ||
"logoURI": "https://titan.github.io/data/WETH/logo.svg", | ||
"logoURI": "https://tokamak-multichain/data/WETH/logo.svg", | ||
"extensions": { | ||
@@ -384,3 +384,3 @@ "titanListId": "default", | ||
"decimals": 18, | ||
"logoURI": "https://titan.github.io/data/WETH/logo.svg", | ||
"logoURI": "https://tokamak-multichain/data/WETH/logo.svg", | ||
"extensions": { | ||
@@ -397,3 +397,3 @@ "titanListId": "default", | ||
"decimals": 18, | ||
"logoURI": "https://titan.github.io/data/WETH/logo.svg", | ||
"logoURI": "https://tokamak-multichain/data/WETH/logo.svg", | ||
"extensions": { | ||
@@ -410,3 +410,3 @@ "titanListId": "default", | ||
"decimals": 18, | ||
"logoURI": "https://titan.github.io/data/WETH/logo.svg", | ||
"logoURI": "https://tokamak-multichain/data/WETH/logo.svg", | ||
"extensions": { | ||
@@ -420,5 +420,5 @@ "titanListId": "default", | ||
"major": 1, | ||
"minor": 1, | ||
"patch": 5 | ||
"minor": 0, | ||
"patch": 0 | ||
} | ||
} |
@@ -14,3 +14,3 @@ "use strict"; | ||
const defaultTokens_1 = require("./defaultTokens"); | ||
const BASE_URL = 'https://titan.github.io'; | ||
const BASE_URL = 'https://tokamak-multichain'; | ||
const generate = (datadir) => { | ||
@@ -17,0 +17,0 @@ return fs_1.default |
{ | ||
"name": "tokamak-multichain", | ||
"description": "Unified token and contract list for Titan Mainnet and other Chains.", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"main": "dist/packages/index.js", | ||
@@ -33,2 +33,3 @@ "types": "dist/packages/index.d.ts", | ||
"generate-contracts": "tsx ./contracts/src/generate.ts --datadir ./contracts", | ||
"generate:sdk": "", | ||
"generate:ci": "pnpm generate --datadir ./tokens/data --outfile titan.tokenlist.json", | ||
@@ -58,2 +59,4 @@ "build": "tsup", | ||
"ajv-formats": "^2.1.1", | ||
"assert": "^2.1.0", | ||
"browserify-fs": "^1.0.0", | ||
"commander": "^9.4.0", | ||
@@ -63,2 +66,3 @@ "ethers": "^5.4.1", | ||
"octokit": "^2.0.7", | ||
"path": "^0.12.7", | ||
"uuid": "^9.0.0" | ||
@@ -65,0 +69,0 @@ }, |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1590757
3
16
+ Addedassert@^2.1.0
+ Addedbrowserify-fs@^1.0.0
+ Addedpath@^0.12.7
+ Addedabstract-leveldown@0.12.4(transitive)
+ Addedassert@2.1.0(transitive)
+ Addedavailable-typed-arrays@1.0.7(transitive)
+ Addedbl@0.8.2(transitive)
+ Addedbrowserify-fs@1.0.0(transitive)
+ Addedbuffer-from@1.1.2(transitive)
+ Addedcall-bind@1.0.7(transitive)
+ Addedclone@0.1.19(transitive)
+ Addedconcat-stream@1.6.2(transitive)
+ Addedcore-util-is@1.0.3(transitive)
+ Addeddeferred-leveldown@0.2.0(transitive)
+ Addeddefine-data-property@1.1.4(transitive)
+ Addeddefine-properties@1.2.1(transitive)
+ Addederrno@0.1.8(transitive)
+ Addedes-define-property@1.0.0(transitive)
+ Addedes-errors@1.3.0(transitive)
+ Addedfor-each@0.3.3(transitive)
+ Addedforeach@2.0.6(transitive)
+ Addedfunction-bind@1.1.2(transitive)
+ Addedfwd-stream@1.0.4(transitive)
+ Addedget-intrinsic@1.2.4(transitive)
+ Addedgopd@1.0.1(transitive)
+ Addedhas-property-descriptors@1.0.2(transitive)
+ Addedhas-proto@1.0.3(transitive)
+ Addedhas-symbols@1.0.3(transitive)
+ Addedhas-tostringtag@1.0.2(transitive)
+ Addedhasown@2.0.2(transitive)
+ Addedidb-wrapper@1.7.2(transitive)
+ Addedindexof@0.0.1(transitive)
+ Addedinherits@2.0.3(transitive)
+ Addedis@0.2.7(transitive)
+ Addedis-arguments@1.1.1(transitive)
+ Addedis-callable@1.2.7(transitive)
+ Addedis-generator-function@1.0.10(transitive)
+ Addedis-nan@1.3.2(transitive)
+ Addedis-object@0.1.2(transitive)
+ Addedis-typed-array@1.1.13(transitive)
+ Addedisarray@0.0.11.0.0(transitive)
+ Addedisbuffer@0.0.0(transitive)
+ Addedlevel-blobs@0.1.7(transitive)
+ Addedlevel-filesystem@1.2.0(transitive)
+ Addedlevel-fix-range@1.0.22.0.0(transitive)
+ Addedlevel-hooks@4.5.0(transitive)
+ Addedlevel-js@2.2.4(transitive)
+ Addedlevel-peek@1.0.6(transitive)
+ Addedlevel-sublevel@5.2.3(transitive)
+ Addedlevelup@0.18.6(transitive)
+ Addedltgt@2.2.1(transitive)
+ Addedobject-is@1.1.6(transitive)
+ Addedobject-keys@0.2.00.4.01.1.1(transitive)
+ Addedobject.assign@4.1.5(transitive)
+ Addedoctal@1.0.0(transitive)
+ Addedpath@0.12.7(transitive)
+ Addedpossible-typed-array-names@1.0.0(transitive)
+ Addedprocess@0.11.10(transitive)
+ Addedprocess-nextick-args@2.0.1(transitive)
+ Addedprr@0.0.01.0.1(transitive)
+ Addedreadable-stream@1.0.341.1.142.3.8(transitive)
+ Addedsafe-buffer@5.1.2(transitive)
+ Addedsemver@2.3.2(transitive)
+ Addedset-function-length@1.2.2(transitive)
+ Addedstring-range@1.2.2(transitive)
+ Addedstring_decoder@0.10.311.1.1(transitive)
+ Addedtypedarray@0.0.6(transitive)
+ Addedtypedarray-to-buffer@1.0.4(transitive)
+ Addedutil@0.10.40.12.5(transitive)
+ Addedutil-deprecate@1.0.2(transitive)
+ Addedwhich-typed-array@1.1.15(transitive)
+ Addedxtend@2.0.62.1.22.2.03.0.0(transitive)
- Removedsafe-buffer@5.2.1(transitive)