@instadapp/avocado-base 0.0.0-dev.f5f443b → 0.0.0-dev.f823550
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.
- package/.github/workflows/npm-publish-dev.yml +2 -5
- package/.vscode/settings.json +67 -0
- package/abi/avoFactoryProxy.json +1 -1
- package/abi/forwarder.json +9 -9
- package/abi/multisigAgnosticForwarder.json +937 -0
- package/abi/multisigForwarder.json +697 -0
- package/app.vue +9 -2
- package/assets/images/icons/arrow-left.svg +5 -0
- package/assets/images/icons/arrow-right.svg +5 -0
- package/assets/images/icons/avocado.svg +4 -0
- package/assets/images/icons/bridge-2.svg +3 -0
- package/assets/images/icons/bridge.svg +7 -0
- package/assets/images/icons/calendar.svg +8 -0
- package/assets/images/icons/change-threshold.svg +4 -0
- package/assets/images/icons/check-circle.svg +4 -0
- package/assets/images/icons/check.svg +3 -0
- package/assets/images/icons/chevron-down.svg +4 -0
- package/assets/images/icons/clipboard.svg +7 -0
- package/assets/images/icons/clock-circle.svg +5 -0
- package/assets/images/icons/copy.svg +12 -0
- package/assets/images/icons/cross-transfer.svg +7 -0
- package/assets/images/icons/dapp.svg +4 -0
- package/assets/images/icons/deploy.svg +12 -0
- package/assets/images/icons/error-circle.svg +6 -0
- package/assets/images/icons/exclamation-circle.svg +13 -0
- package/assets/images/icons/exclamation-octagon.svg +13 -0
- package/assets/images/icons/exclamation-triangle.svg +5 -0
- package/assets/images/icons/external-link.svg +6 -0
- package/assets/images/icons/eye.svg +4 -0
- package/assets/images/icons/flowers.svg +8 -0
- package/assets/images/icons/gas-emoji.svg +193 -0
- package/assets/images/icons/gas.svg +14 -0
- package/assets/images/icons/gift.svg +153 -0
- package/assets/images/icons/globe.svg +110 -0
- package/assets/images/icons/hamburger.svg +6 -0
- package/assets/images/icons/hammer.svg +5 -0
- package/assets/images/icons/info-2.svg +12 -0
- package/assets/images/icons/instadapp-pro.svg +4 -0
- package/assets/images/icons/logout.svg +3 -0
- package/assets/images/icons/moon.svg +3 -0
- package/assets/images/icons/multi-send.svg +7 -0
- package/assets/images/icons/network.svg +13 -0
- package/assets/images/icons/options.svg +5 -0
- package/assets/images/icons/permit-sign.svg +11 -0
- package/assets/images/icons/plus-circle.svg +6 -0
- package/assets/images/icons/plus.svg +5 -0
- package/assets/images/icons/power-off-bg.svg +24 -0
- package/assets/images/icons/power-off.svg +19 -0
- package/assets/images/icons/power-on.svg +19 -0
- package/assets/images/icons/qr.svg +20 -0
- package/assets/images/icons/question-circle.svg +14 -0
- package/assets/images/icons/refresh.svg +6 -0
- package/assets/images/icons/reject-proposal.svg +6 -0
- package/assets/images/icons/search.svg +12 -0
- package/assets/images/icons/stars.svg +4 -0
- package/assets/images/icons/sun.svg +3 -0
- package/assets/images/icons/transfer.svg +5 -0
- package/assets/images/icons/trash-2.svg +8 -0
- package/assets/images/icons/upgrade.svg +4 -0
- package/assets/images/icons/wave.svg +214 -0
- package/assets/images/icons/x.svg +5 -0
- package/components/ActionLogo.vue +42 -0
- package/components/ActionMetadata.vue +88 -0
- package/components/Address.vue +74 -0
- package/components/AuthorityAvatar.vue +39 -0
- package/components/ChainLogo.vue +18 -563
- package/components/CopyClipboard.vue +42 -0
- package/components/metadata/Bridge.vue +58 -0
- package/components/metadata/CrossTransfer.vue +76 -0
- package/components/metadata/GasTopup.vue +38 -0
- package/components/metadata/Permit2.vue +41 -0
- package/components/metadata/Signers.vue +19 -0
- package/components/metadata/Swap.vue +66 -0
- package/components/metadata/Transfer.vue +49 -0
- package/contracts/Forwarder.ts +4 -4
- package/contracts/MultisigAgnosticForwarder.ts +1423 -0
- package/contracts/MultisigForwarder.ts +859 -0
- package/contracts/factories/Forwarder__factory.ts +8 -8
- package/contracts/factories/MultisigAgnosticForwarder__factory.ts +2135 -0
- package/contracts/factories/MultisigForwarder__factory.ts +721 -0
- package/contracts/factories/index.ts +2 -0
- package/contracts/index.ts +4 -0
- package/nuxt.config.ts +13 -2
- package/package.json +16 -13
- package/server/utils/index.ts +4 -4
- package/utils/avocado.ts +18 -16
- package/utils/bignumber.ts +60 -29
- package/utils/formatter.ts +55 -61
- package/utils/helper.ts +39 -28
- package/utils/metadata.ts +569 -321
- package/utils/network.ts +579 -184
- package/utils/services.ts +19 -0
- package/utils/utils.d.ts +148 -116
|
@@ -3,7 +3,7 @@ name: NPM Publish(Dev)
|
|
|
3
3
|
on:
|
|
4
4
|
push:
|
|
5
5
|
branches:
|
|
6
|
-
-
|
|
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:
|
|
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
|
+
}
|
package/abi/avoFactoryProxy.json
CHANGED
package/abi/forwarder.json
CHANGED
|
@@ -527,7 +527,7 @@
|
|
|
527
527
|
},
|
|
528
528
|
{
|
|
529
529
|
"internalType": "uint256",
|
|
530
|
-
"name": "
|
|
530
|
+
"name": "gasPrice",
|
|
531
531
|
"type": "uint256"
|
|
532
532
|
},
|
|
533
533
|
{
|
|
@@ -537,7 +537,7 @@
|
|
|
537
537
|
},
|
|
538
538
|
{
|
|
539
539
|
"internalType": "uint256",
|
|
540
|
-
"name": "
|
|
540
|
+
"name": "validUntil",
|
|
541
541
|
"type": "uint256"
|
|
542
542
|
}
|
|
543
543
|
],
|
|
@@ -780,7 +780,7 @@
|
|
|
780
780
|
},
|
|
781
781
|
{
|
|
782
782
|
"internalType": "uint256",
|
|
783
|
-
"name": "
|
|
783
|
+
"name": "gasPrice",
|
|
784
784
|
"type": "uint256"
|
|
785
785
|
},
|
|
786
786
|
{
|
|
@@ -790,7 +790,7 @@
|
|
|
790
790
|
},
|
|
791
791
|
{
|
|
792
792
|
"internalType": "uint256",
|
|
793
|
-
"name": "
|
|
793
|
+
"name": "validUntil",
|
|
794
794
|
"type": "uint256"
|
|
795
795
|
}
|
|
796
796
|
],
|
|
@@ -1114,7 +1114,7 @@
|
|
|
1114
1114
|
},
|
|
1115
1115
|
{
|
|
1116
1116
|
"internalType": "uint256",
|
|
1117
|
-
"name": "
|
|
1117
|
+
"name": "gasPrice",
|
|
1118
1118
|
"type": "uint256"
|
|
1119
1119
|
},
|
|
1120
1120
|
{
|
|
@@ -1124,7 +1124,7 @@
|
|
|
1124
1124
|
},
|
|
1125
1125
|
{
|
|
1126
1126
|
"internalType": "uint256",
|
|
1127
|
-
"name": "
|
|
1127
|
+
"name": "validUntil",
|
|
1128
1128
|
"type": "uint256"
|
|
1129
1129
|
}
|
|
1130
1130
|
],
|
|
@@ -1385,7 +1385,7 @@
|
|
|
1385
1385
|
},
|
|
1386
1386
|
{
|
|
1387
1387
|
"internalType": "uint256",
|
|
1388
|
-
"name": "
|
|
1388
|
+
"name": "gasPrice",
|
|
1389
1389
|
"type": "uint256"
|
|
1390
1390
|
},
|
|
1391
1391
|
{
|
|
@@ -1395,7 +1395,7 @@
|
|
|
1395
1395
|
},
|
|
1396
1396
|
{
|
|
1397
1397
|
"internalType": "uint256",
|
|
1398
|
-
"name": "
|
|
1398
|
+
"name": "validUntil",
|
|
1399
1399
|
"type": "uint256"
|
|
1400
1400
|
}
|
|
1401
1401
|
],
|
|
@@ -1432,4 +1432,4 @@
|
|
|
1432
1432
|
"stateMutability": "nonpayable",
|
|
1433
1433
|
"type": "function"
|
|
1434
1434
|
}
|
|
1435
|
-
]
|
|
1435
|
+
]
|