Skip to content

Commit

Permalink
2.4.11-test.1
Browse files Browse the repository at this point in the history
  • Loading branch information
ameeshaagrawal committed Nov 8, 2023
1 parent bcdeb9f commit 70ddadc
Show file tree
Hide file tree
Showing 3 changed files with 44 additions and 6 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@socket.tech/dl-core",
"license": "UNLICENSED",
"version": "2.4.11",
"version": "2.4.11-test.1",
"description": "Smart contracts for socket data layer.",
"main": "./dist/src/index.js",
"types": "./dist/src/index.d.ts",
Expand All @@ -17,7 +17,7 @@
"url": "git+https://github.com/SocketDotTech/socket-DL.git"
},
"devDependencies": {
"@arbitrum/sdk": "^3.0.0",
"@arbitrum/sdk": "^3.1.13",
"@eth-optimism/sdk": "^3.1.4",
"@ethersproject/bytes": "^5.7.0",
"@fxportal/maticjs-fxportal": "^1.1.1",
Expand Down
25 changes: 25 additions & 0 deletions src/chain-types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,31 @@ export const ChainSlugToKey = {
[ChainSlug.CDK_TESTNET]: HardhatChainName.CDK_TESTNET,
};

export const ChainSlugToId = {
[ChainSlug.ARBITRUM]: ChainId.ARBITRUM,
[ChainSlug.ARBITRUM_GOERLI]: ChainId.ARBITRUM_GOERLI,
[ChainSlug.ARBITRUM_SEPOLIA]: ChainId.ARBITRUM_SEPOLIA,
[ChainSlug.OPTIMISM]: ChainId.OPTIMISM,
[ChainSlug.OPTIMISM_GOERLI]: ChainId.OPTIMISM_GOERLI,
[ChainSlug.OPTIMISM_SEPOLIA]: ChainId.OPTIMISM_SEPOLIA,
[ChainSlug.BSC]: ChainId.BSC,
[ChainSlug.BSC_TESTNET]: ChainId.BSC_TESTNET,
[ChainSlug.MAINNET]: ChainId.MAINNET,
[ChainSlug.GOERLI]: ChainId.GOERLI,
[ChainSlug.SEPOLIA]: ChainId.SEPOLIA,
[ChainSlug.POLYGON_MAINNET]: ChainId.POLYGON_MAINNET,
[ChainSlug.POLYGON_MUMBAI]: ChainId.POLYGON_MUMBAI,
[ChainSlug.AEVO_TESTNET]: ChainId.AEVO_TESTNET,
[ChainSlug.AEVO]: ChainId.AEVO,
[ChainSlug.HARDHAT]: ChainId.HARDHAT,
[ChainSlug.AVALANCHE]: ChainId.AVALANCHE,
[ChainSlug.LYRA_TESTNET]: ChainId.LYRA_TESTNET,
[ChainSlug.LYRA]: ChainId.LYRA,
[ChainSlug.XAI_TESTNET]: ChainId.XAI_TESTNET,
[ChainSlug.SX_NETWORK_TESTNET]: ChainId.SX_NETWORK_TESTNET,
[ChainSlug.CDK_TESTNET]: ChainId.CDK_TESTNET,
};

export const TestnetIds: ChainSlug[] = [
ChainSlug.GOERLI,
ChainSlug.SEPOLIA,
Expand Down
21 changes: 17 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,15 @@
# yarn lockfile v1


"@arbitrum/sdk@^3.0.0":
version "3.0.0"
resolved "https://registry.npmjs.org/@arbitrum/sdk/-/sdk-3.0.0.tgz"
integrity sha512-Mws5WAxxirp3vk8JH3vyQ5H6q1NNUIAAGEd9oEnQYDMyTBHLKU293GA3s9w4w6ZfIq/RZq8YCexhy4D1R+mQng==
"@arbitrum/sdk@^3.1.13":
version "3.1.13"
resolved "https://registry.yarnpkg.com/@arbitrum/sdk/-/sdk-3.1.13.tgz#a0d3d9a7b387f42547c63f6f066d8a6c4dd945cc"
integrity sha512-oE/j8ThWWEdFfV0helmR8lD0T67/CY1zMCt6RVslaCLrytFdbg3QsrHs/sQE3yiCXgisQlsx3qomCgh8PfBo8Q==
dependencies:
"@ethersproject/address" "^5.0.8"
"@ethersproject/bignumber" "^5.1.1"
"@ethersproject/bytes" "^5.0.8"
async-mutex "^0.4.0"
ethers "^5.1.0"

"@aws-crypto/[email protected]":
Expand Down Expand Up @@ -1595,6 +1596,13 @@ async-limiter@~1.0.0:
resolved "https://registry.npmjs.org/async-limiter/-/async-limiter-1.0.1.tgz"
integrity sha512-csOlWGAcRFJaI6m+F2WKdnMKr4HhdhFVBk0H/QbJFMCr+uO2kwohwXQPxw/9OCxp05r5ghVBFSyioixx3gfkNQ==

async-mutex@^0.4.0:
version "0.4.0"
resolved "https://registry.yarnpkg.com/async-mutex/-/async-mutex-0.4.0.tgz#ae8048cd4d04ace94347507504b3cf15e631c25f"
integrity sha512-eJFZ1YhRR8UN8eBLoNzcDPcy/jqjsg6I1AP+KvWQX80BqOSW1oJPJXDylPUEeMr2ZQvHgnQ//Lp6f3RQ1zI7HA==
dependencies:
tslib "^2.4.0"

async-retry@^1.3.3:
version "1.3.3"
resolved "https://registry.yarnpkg.com/async-retry/-/async-retry-1.3.3.tgz#0e7f36c04d8478e7a58bdbed80cedf977785f280"
Expand Down Expand Up @@ -8185,6 +8193,11 @@ tslib@^2.3.1, tslib@^2.5.0:
resolved "https://registry.yarnpkg.com/tslib/-/tslib-2.5.0.tgz#42bfed86f5787aeb41d031866c8f402429e0fddf"
integrity sha512-336iVw3rtn2BUK7ORdIAHTyxHGRIHVReokCR3XjbckJMK7ms8FysBfhLR8IXnAgy7T0PTPNBWKiH514FOW/WSg==

tslib@^2.4.0:
version "2.6.2"
resolved "https://registry.yarnpkg.com/tslib/-/tslib-2.6.2.tgz#703ac29425e7b37cd6fd456e92404d46d1f3e4ae"
integrity sha512-AEYxH93jGFPn/a2iVAwW87VuUIkR1FVUKB77NwMF7nBTDkDrrT/Hpt/IrCJ0QXhW27jTBDcf5ZY7w6RiqTMw2Q==

[email protected]:
version "0.0.1"
resolved "https://registry.npmjs.org/tsort/-/tsort-0.0.1.tgz"
Expand Down

0 comments on commit 70ddadc

Please sign in to comment.