@instadapp/avocado-base 0.0.0-dev.f0b0c4f → 0.0.0-dev.f307ae7

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 (40) hide show
  1. package/.github/workflows/npm-publish-dev.yml +2 -5
  2. package/.vscode/settings.json +67 -0
  3. package/abi/avoFactoryProxy.json +1 -1
  4. package/abi/forwarder.json +1 -1
  5. package/abi/multisigAgnosticForwarder.json +937 -0
  6. package/abi/multisigForwarder.json +680 -680
  7. package/app.vue +5 -5
  8. package/assets/images/icons/check.svg +3 -0
  9. package/assets/images/icons/copy.svg +9 -2
  10. package/assets/images/icons/hammer.svg +5 -0
  11. package/assets/images/icons/stars.svg +4 -0
  12. package/components/ActionLogo.vue +33 -29
  13. package/components/ActionMetadata.vue +45 -29
  14. package/components/Address.vue +74 -0
  15. package/components/AuthorityAvatar.vue +4 -3
  16. package/components/ChainLogo.vue +22 -25
  17. package/components/CopyClipboard.vue +16 -38
  18. package/components/metadata/Bridge.vue +22 -23
  19. package/components/metadata/CrossTransfer.vue +35 -30
  20. package/components/metadata/GasTopup.vue +14 -15
  21. package/components/metadata/Permit2.vue +12 -13
  22. package/components/metadata/Signers.vue +11 -54
  23. package/components/metadata/Swap.vue +45 -53
  24. package/components/metadata/Transfer.vue +26 -27
  25. package/contracts/MultisigAgnosticForwarder.ts +1423 -0
  26. package/contracts/factories/MultisigAgnosticForwarder__factory.ts +2135 -0
  27. package/contracts/factories/index.ts +1 -0
  28. package/contracts/index.ts +2 -0
  29. package/eslint.config.mjs +34 -0
  30. package/nuxt.config.ts +21 -12
  31. package/package.json +14 -14
  32. package/server/utils/index.ts +4 -4
  33. package/utils/avocado.ts +17 -17
  34. package/utils/bignumber.ts +47 -36
  35. package/utils/formatter.ts +55 -61
  36. package/utils/helper.ts +33 -30
  37. package/utils/metadata.ts +422 -319
  38. package/utils/network.ts +542 -203
  39. package/utils/services.ts +11 -13
  40. package/utils/utils.d.ts +121 -105
@@ -3,7 +3,7 @@ name: NPM Publish(Dev)
3
3
  on:
4
4
  push:
5
5
  branches:
6
- - 'main'
6
+ - "main"
7
7
 
8
8
  jobs:
9
9
  dev-npm-publish:
@@ -18,7 +18,7 @@ jobs:
18
18
 
19
19
  - uses: actions/setup-node@v3
20
20
  with:
21
- node-version: 16
21
+ node-version: ">=v18.18.0"
22
22
 
23
23
  - uses: actions/cache@v3
24
24
  with:
@@ -48,6 +48,3 @@ jobs:
48
48
  token: ${{ secrets.NPM_AUTH_TOKEN }}
49
49
  tag: dev
50
50
  access: public
51
-
52
-
53
-
@@ -0,0 +1,67 @@
1
+ {
2
+ "files.associations": {
3
+ "*.css": "tailwindcss"
4
+ },
5
+ "editor.quickSuggestions": {
6
+ "strings": true
7
+ },
8
+ "tailwindCSS.experimental.configFile": "tailwind.config.ts",
9
+ "tailwindCSS.experimental.classRegex": [
10
+ [
11
+ "ui:\\s*{([^)]*)\\s*}",
12
+ "[\"'`]([^\"'`]*).*?[\"'`]"
13
+ ],
14
+ [
15
+ "/\\*ui\\*/\\s*{([^;]*)}",
16
+ ":\\s*[\"'`]([^\"'`]*).*?[\"'`]"
17
+ ]
18
+ ],
19
+ "tailwindCSS.classAttributes": [
20
+ "class",
21
+ "className",
22
+ "ui"
23
+ ],
24
+ "editor.tabSize": 2,
25
+ "editor.detectIndentation": false,
26
+ // Enable the ESlint flat config support
27
+ "eslint.useFlatConfig": true,
28
+
29
+ // Disable the default formatter, use eslint instead
30
+ "prettier.enable": false,
31
+ "editor.formatOnSave": false,
32
+
33
+ // Auto fix
34
+ "editor.codeActionsOnSave": {
35
+ "source.fixAll.eslint": "explicit",
36
+ "source.organizeImports": "never"
37
+ },
38
+
39
+ // Silent the stylistic rules in you IDE, but still auto fix them
40
+ "eslint.rules.customizations": [
41
+ { "rule": "style/*", "severity": "off" },
42
+ { "rule": "format/*", "severity": "off" },
43
+ { "rule": "*-indent", "severity": "off" },
44
+ { "rule": "*-spacing", "severity": "off" },
45
+ { "rule": "*-spaces", "severity": "off" },
46
+ { "rule": "*-order", "severity": "off" },
47
+ { "rule": "*-dangle", "severity": "off" },
48
+ { "rule": "*-newline", "severity": "off" },
49
+ { "rule": "*quotes", "severity": "off" },
50
+ { "rule": "*semi", "severity": "off" }
51
+ ],
52
+
53
+ // Enable eslint for all supported languages
54
+ "eslint.validate": [
55
+ "javascript",
56
+ "javascriptreact",
57
+ "typescript",
58
+ "typescriptreact",
59
+ "vue",
60
+ "html",
61
+ "markdown",
62
+ "json",
63
+ "jsonc",
64
+ "yaml",
65
+ "toml"
66
+ ]
67
+ }
@@ -106,4 +106,4 @@
106
106
  "stateMutability": "nonpayable",
107
107
  "type": "function"
108
108
  }
109
- ]
109
+ ]
@@ -1432,4 +1432,4 @@
1432
1432
  "stateMutability": "nonpayable",
1433
1433
  "type": "function"
1434
1434
  }
1435
- ]
1435
+ ]