@instadapp/avocado-base 0.0.0-dev.424dd71 → 0.0.0-dev.4546ed9
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 +68 -0
- package/abi/multisigAgnosticForwarder.json +938 -0
- package/assets/images/icons/check.svg +3 -0
- package/assets/images/icons/copy.svg +9 -2
- package/assets/images/icons/stars.svg +4 -0
- package/components/ActionLogo.vue +32 -30
- package/components/ActionMetadata.vue +30 -20
- package/components/Address.vue +74 -0
- package/components/AuthorityAvatar.vue +4 -5
- package/components/ChainLogo.vue +10 -17
- package/components/CopyClipboard.vue +16 -38
- package/components/metadata/CrossTransfer.vue +29 -32
- package/components/metadata/Signers.vue +11 -55
- package/components/metadata/Swap.vue +29 -30
- package/components/metadata/Transfer.vue +25 -27
- package/contracts/MultisigAgnosticForwarder.ts +1423 -0
- package/contracts/factories/MultisigAgnosticForwarder__factory.ts +2135 -0
- package/contracts/factories/index.ts +1 -0
- package/contracts/index.ts +2 -0
- package/eslint.config.mjs +19 -0
- package/nuxt.config.ts +7 -2
- package/package.json +18 -13
- package/utils/formatter.ts +1 -1
- package/utils/metadata.ts +104 -8
- package/utils/network.ts +421 -265
- package/utils/utils.d.ts +14 -2
package/utils/utils.d.ts
CHANGED
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import type { Chain } from "viem";
|
|
2
|
+
|
|
1
3
|
declare global {
|
|
2
4
|
type ChainId =
|
|
3
5
|
| 1
|
|
@@ -15,7 +17,11 @@ declare global {
|
|
|
15
17
|
| 122
|
|
16
18
|
| 534352
|
|
17
19
|
| 204
|
|
18
|
-
| 63400
|
|
20
|
+
| 63400
|
|
21
|
+
| 169
|
|
22
|
+
| 34443
|
|
23
|
+
| 81457
|
|
24
|
+
| 59144
|
|
19
25
|
|
|
20
26
|
type ISlackMessageType = "danger" | "error" | "success" | "banner";
|
|
21
27
|
|
|
@@ -38,7 +44,9 @@ declare global {
|
|
|
38
44
|
usdcAddress?: string;
|
|
39
45
|
explorerUrl: string;
|
|
40
46
|
fakeTransactionHash: string;
|
|
41
|
-
|
|
47
|
+
viemChain: Chain;
|
|
48
|
+
// must start with https://
|
|
49
|
+
apiURL: `https://${string}` | null;
|
|
42
50
|
params: {
|
|
43
51
|
chainName?: string;
|
|
44
52
|
iconUrls?: string[];
|
|
@@ -75,8 +83,10 @@ declare global {
|
|
|
75
83
|
toChainId: string;
|
|
76
84
|
amount: string;
|
|
77
85
|
receiver: string;
|
|
86
|
+
provider?: string;
|
|
78
87
|
};
|
|
79
88
|
|
|
89
|
+
|
|
80
90
|
type AuthMetadataProps = {
|
|
81
91
|
address: string;
|
|
82
92
|
chainId: string;
|
|
@@ -102,6 +112,8 @@ declare global {
|
|
|
102
112
|
toChainId: string;
|
|
103
113
|
bridgeFee: string;
|
|
104
114
|
nativeToken: string;
|
|
115
|
+
version?: string;
|
|
116
|
+
provider: string;
|
|
105
117
|
};
|
|
106
118
|
|
|
107
119
|
type SwapMetadataProps = {
|