@instadapp/interop-x 0.0.0-dev.326bdca → 0.0.0-dev.376f394

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (45) hide show
  1. package/.github/workflows/ci.yml +19 -0
  2. package/dist/package.json +12 -11
  3. package/dist/src/abi/index.js +2 -2
  4. package/dist/src/abi/interopX.json +1436 -0
  5. package/dist/src/api/index.js +1 -1
  6. package/dist/src/constants/addresses.js +2 -7
  7. package/dist/src/constants/tokens.js +62 -39
  8. package/dist/src/db/models/transaction.js +12 -12
  9. package/dist/src/gnosis/actions/withdraw/index.js +106 -33
  10. package/dist/src/gnosis/index.js +4 -4
  11. package/dist/src/index.js +1 -1
  12. package/dist/src/net/protocol/dial/SignatureDialProtocol.js +6 -2
  13. package/dist/src/tasks/{InteropXContract/SyncBridgeRequestEvents.js → InteropX/SyncLogSubmitEvents.js} +21 -15
  14. package/dist/src/tasks/Transactions/SyncTransactionStatusTask.js +5 -2
  15. package/dist/src/tasks/index.js +7 -8
  16. package/dist/src/typechain/{InteropXContract.js → InteropX.js} +0 -0
  17. package/dist/src/typechain/factories/InteropX__factory.js +1928 -0
  18. package/dist/src/typechain/factories/index.js +3 -3
  19. package/dist/src/typechain/index.js +3 -3
  20. package/dist/src/utils/index.js +36 -9
  21. package/package.json +12 -11
  22. package/src/abi/index.ts +2 -2
  23. package/src/abi/interopX.json +1436 -0
  24. package/src/api/index.ts +1 -1
  25. package/src/constants/addresses.ts +3 -8
  26. package/src/constants/tokens.ts +63 -40
  27. package/src/db/models/transaction.ts +31 -29
  28. package/src/gnosis/actions/withdraw/index.ts +141 -42
  29. package/src/gnosis/index.ts +5 -5
  30. package/src/net/protocol/dial/SignatureDialProtocol.ts +6 -2
  31. package/src/tasks/{InteropXContract/SyncBridgeRequestEvents.ts → InteropX/SyncLogSubmitEvents.ts} +40 -20
  32. package/src/tasks/Transactions/SyncTransactionStatusTask.ts +5 -2
  33. package/src/tasks/index.ts +7 -9
  34. package/src/typechain/InteropX.ts +1216 -0
  35. package/src/typechain/factories/InteropX__factory.ts +1932 -0
  36. package/src/typechain/factories/index.ts +1 -1
  37. package/src/typechain/index.ts +2 -2
  38. package/src/utils/index.ts +88 -39
  39. package/dist/src/abi/interopXContract.json +0 -391
  40. package/dist/src/tasks/InteropXContract/ProcessBridgeRequestEvents.js +0 -146
  41. package/dist/src/typechain/factories/InteropXContract__factory.js +0 -526
  42. package/src/abi/interopXContract.json +0 -391
  43. package/src/tasks/InteropXContract/ProcessBridgeRequestEvents.ts +0 -208
  44. package/src/typechain/InteropXContract.ts +0 -524
  45. package/src/typechain/factories/InteropXContract__factory.ts +0 -533
@@ -0,0 +1,19 @@
1
+ name: Interop X CI
2
+
3
+ on:
4
+ push:
5
+
6
+ jobs:
7
+ build:
8
+
9
+ runs-on: ubuntu-latest
10
+
11
+ steps:
12
+ - uses: actions/checkout@v2
13
+ - name: Use Node.js
14
+ uses: actions/setup-node@v1
15
+ with:
16
+ node-version: 16
17
+ - name: Install dependencies
18
+ run: yarn --frozen-lockfile
19
+ - run: yarn run build
package/dist/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@instadapp/interop-x",
3
- "version": "0.0.0-dev.326bdca",
3
+ "version": "0.0.0-dev.376f394",
4
4
  "license": "MIT",
5
5
  "main": "dist/index.js",
6
6
  "engines": {
@@ -25,16 +25,17 @@
25
25
  "dependencies": {
26
26
  "@achingbrain/libp2p-gossipsub": "^0.12.2",
27
27
  "@fastify/cors": "^7.0.0",
28
+ "async-retry": "^1.3.3",
28
29
  "await-spawn": "^4.0.2",
29
- "axios": "^0.27.1",
30
- "axios-retry": "^3.2.4",
30
+ "axios": "^0.27.2",
31
+ "axios-retry": "^3.2.5",
31
32
  "chalk": "4.1.2",
32
- "dotenv": "^16.0.0",
33
+ "dotenv": "^16.0.1",
33
34
  "ethereumjs-util": "^7.1.4",
34
- "ethers": "^5.6.4",
35
+ "ethers": "^5.6.5",
35
36
  "ethers-multisend": "^2.1.1",
36
37
  "expand-home-dir": "^0.0.3",
37
- "fastify": "^3.28.0",
38
+ "fastify": "^3.29.0",
38
39
  "fs-extra": "^10.1.0",
39
40
  "libp2p": "^0.36.2",
40
41
  "libp2p-bootstrap": "^0.14.0",
@@ -45,12 +46,12 @@
45
46
  "libp2p-pubsub-peer-discovery": "^4.0.0",
46
47
  "libp2p-tcp": "^0.17.2",
47
48
  "libp2p-websockets": "^0.16.2",
48
- "luxon": "^2.3.2",
49
+ "luxon": "^2.4.0",
49
50
  "module-alias": "^2.2.2",
50
51
  "patch-package": "^6.4.7",
51
52
  "postinstall-postinstall": "^2.1.0",
52
53
  "sequelize": "6.18.0",
53
- "sqlite3": "^5.0.5",
54
+ "sqlite3": "^5.0.8",
54
55
  "waait": "^1.0.5"
55
56
  },
56
57
  "bin": {
@@ -61,13 +62,13 @@
61
62
  "@typechain/ethers-v5": "^10.0.0",
62
63
  "@types/bn.js": "^5.1.0",
63
64
  "@types/fs-extra": "^9.0.13",
64
- "@types/node": "^17.0.17",
65
- "nodemon": "^2.0.15",
65
+ "@types/node": "^17.0.33",
66
+ "nodemon": "^2.0.16",
66
67
  "replace-in-file": "^6.3.2",
67
68
  "rimraf": "^3.0.2",
68
69
  "ts-node": "^10.5.0",
69
70
  "tsconfig-paths": "^3.12.0",
70
71
  "typechain": "^8.0.0",
71
- "typescript": "^4.5.5"
72
+ "typescript": "^4.6.4"
72
73
  }
73
74
  }
@@ -5,9 +5,9 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
6
  const gnosisSafe_json_1 = __importDefault(require("./gnosisSafe.json"));
7
7
  const erc20_json_1 = __importDefault(require("./erc20.json"));
8
- const interopXContract_json_1 = __importDefault(require("./interopXContract.json"));
8
+ const interopX_json_1 = __importDefault(require("./interopX.json"));
9
9
  exports.default = {
10
10
  gnosisSafe: gnosisSafe_json_1.default,
11
11
  erc20: erc20_json_1.default,
12
- interopXContract: interopXContract_json_1.default,
12
+ interopX: interopX_json_1.default,
13
13
  };