@instadapp/avocado-base 0.0.0-dev.0d5070b → 0.0.0-dev.0f85f1a
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/abi/avoFactoryProxy.json +109 -0
- package/abi/balanceResolver.json +110 -0
- package/abi/erc20.json +350 -0
- package/abi/forwarder.json +1435 -0
- package/abi/gaslessWallet.json +289 -0
- package/app.vue +20 -0
- package/components/ChainLogo.vue +140 -0
- package/contracts/AvoFactoryProxy.ts +302 -0
- package/contracts/BalanceResolver.ts +321 -0
- package/contracts/Erc20.ts +526 -0
- package/contracts/Forwarder.ts +1644 -0
- package/contracts/GaslessWallet.ts +660 -0
- package/contracts/common.ts +46 -0
- package/contracts/factories/AvoFactoryProxy__factory.ts +181 -0
- package/contracts/factories/BalanceResolver__factory.ts +212 -0
- package/contracts/factories/Erc20__factory.ts +368 -0
- package/contracts/factories/Forwarder__factory.ts +1456 -0
- package/contracts/factories/GaslessWallet__factory.ts +499 -0
- package/contracts/factories/index.ts +8 -0
- package/contracts/index.ts +14 -0
- package/nuxt.config.ts +2 -2
- package/package.json +11 -4
- package/server/utils/index.ts +2 -0
- package/utils/bignumber.ts +31 -0
- package/utils/formatter.ts +94 -0
- package/utils/helper.ts +54 -0
- package/utils/metadata.ts +417 -0
- package/utils/network.ts +164 -25
- package/utils/utils.d.ts +104 -3
|
@@ -0,0 +1,289 @@
|
|
|
1
|
+
[
|
|
2
|
+
{
|
|
3
|
+
"inputs": [
|
|
4
|
+
{
|
|
5
|
+
"internalType": "contract IGSWVersionsRegistry",
|
|
6
|
+
"name": "gswVersionsRegistry_",
|
|
7
|
+
"type": "address"
|
|
8
|
+
},
|
|
9
|
+
{ "internalType": "address", "name": "gswForwarder_", "type": "address" }
|
|
10
|
+
],
|
|
11
|
+
"stateMutability": "nonpayable",
|
|
12
|
+
"type": "constructor"
|
|
13
|
+
},
|
|
14
|
+
{ "inputs": [], "name": "GaslessSmartWallet__Expired", "type": "error" },
|
|
15
|
+
{
|
|
16
|
+
"inputs": [],
|
|
17
|
+
"name": "GaslessSmartWallet__InvalidParams",
|
|
18
|
+
"type": "error"
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
"inputs": [],
|
|
22
|
+
"name": "GaslessSmartWallet__InvalidSignature",
|
|
23
|
+
"type": "error"
|
|
24
|
+
},
|
|
25
|
+
{ "inputs": [], "name": "GaslessSmartWallet__Unauthorized", "type": "error" },
|
|
26
|
+
{ "inputs": [], "name": "SelfUpgradeable__Unauthorized", "type": "error" },
|
|
27
|
+
{
|
|
28
|
+
"anonymous": false,
|
|
29
|
+
"inputs": [
|
|
30
|
+
{
|
|
31
|
+
"indexed": true,
|
|
32
|
+
"internalType": "address",
|
|
33
|
+
"name": "source",
|
|
34
|
+
"type": "address"
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
"indexed": true,
|
|
38
|
+
"internalType": "address",
|
|
39
|
+
"name": "caller",
|
|
40
|
+
"type": "address"
|
|
41
|
+
},
|
|
42
|
+
{
|
|
43
|
+
"indexed": false,
|
|
44
|
+
"internalType": "bytes",
|
|
45
|
+
"name": "metadata",
|
|
46
|
+
"type": "bytes"
|
|
47
|
+
}
|
|
48
|
+
],
|
|
49
|
+
"name": "CastExecuted",
|
|
50
|
+
"type": "event"
|
|
51
|
+
},
|
|
52
|
+
{
|
|
53
|
+
"anonymous": false,
|
|
54
|
+
"inputs": [
|
|
55
|
+
{
|
|
56
|
+
"indexed": true,
|
|
57
|
+
"internalType": "address",
|
|
58
|
+
"name": "source",
|
|
59
|
+
"type": "address"
|
|
60
|
+
},
|
|
61
|
+
{
|
|
62
|
+
"indexed": true,
|
|
63
|
+
"internalType": "address",
|
|
64
|
+
"name": "caller",
|
|
65
|
+
"type": "address"
|
|
66
|
+
},
|
|
67
|
+
{
|
|
68
|
+
"indexed": false,
|
|
69
|
+
"internalType": "string",
|
|
70
|
+
"name": "reason",
|
|
71
|
+
"type": "string"
|
|
72
|
+
},
|
|
73
|
+
{
|
|
74
|
+
"indexed": false,
|
|
75
|
+
"internalType": "bytes",
|
|
76
|
+
"name": "metadata",
|
|
77
|
+
"type": "bytes"
|
|
78
|
+
}
|
|
79
|
+
],
|
|
80
|
+
"name": "CastFailed",
|
|
81
|
+
"type": "event"
|
|
82
|
+
},
|
|
83
|
+
{
|
|
84
|
+
"anonymous": false,
|
|
85
|
+
"inputs": [
|
|
86
|
+
{
|
|
87
|
+
"indexed": false,
|
|
88
|
+
"internalType": "uint8",
|
|
89
|
+
"name": "version",
|
|
90
|
+
"type": "uint8"
|
|
91
|
+
}
|
|
92
|
+
],
|
|
93
|
+
"name": "Initialized",
|
|
94
|
+
"type": "event"
|
|
95
|
+
},
|
|
96
|
+
{
|
|
97
|
+
"anonymous": false,
|
|
98
|
+
"inputs": [
|
|
99
|
+
{
|
|
100
|
+
"indexed": true,
|
|
101
|
+
"internalType": "address",
|
|
102
|
+
"name": "gswImpl",
|
|
103
|
+
"type": "address"
|
|
104
|
+
}
|
|
105
|
+
],
|
|
106
|
+
"name": "Upgraded",
|
|
107
|
+
"type": "event"
|
|
108
|
+
},
|
|
109
|
+
{
|
|
110
|
+
"inputs": [],
|
|
111
|
+
"name": "ACTION_TYPE_HASH",
|
|
112
|
+
"outputs": [{ "internalType": "bytes32", "name": "", "type": "bytes32" }],
|
|
113
|
+
"stateMutability": "view",
|
|
114
|
+
"type": "function"
|
|
115
|
+
},
|
|
116
|
+
{
|
|
117
|
+
"inputs": [],
|
|
118
|
+
"name": "CAST_TYPE_HASH",
|
|
119
|
+
"outputs": [{ "internalType": "bytes32", "name": "", "type": "bytes32" }],
|
|
120
|
+
"stateMutability": "view",
|
|
121
|
+
"type": "function"
|
|
122
|
+
},
|
|
123
|
+
{
|
|
124
|
+
"inputs": [],
|
|
125
|
+
"name": "DEFAULT_CHAIN_ID",
|
|
126
|
+
"outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],
|
|
127
|
+
"stateMutability": "view",
|
|
128
|
+
"type": "function"
|
|
129
|
+
},
|
|
130
|
+
{
|
|
131
|
+
"inputs": [],
|
|
132
|
+
"name": "DOMAIN_SEPARATOR_NAME",
|
|
133
|
+
"outputs": [{ "internalType": "string", "name": "", "type": "string" }],
|
|
134
|
+
"stateMutability": "view",
|
|
135
|
+
"type": "function"
|
|
136
|
+
},
|
|
137
|
+
{
|
|
138
|
+
"inputs": [],
|
|
139
|
+
"name": "DOMAIN_SEPARATOR_VERSION",
|
|
140
|
+
"outputs": [{ "internalType": "string", "name": "", "type": "string" }],
|
|
141
|
+
"stateMutability": "view",
|
|
142
|
+
"type": "function"
|
|
143
|
+
},
|
|
144
|
+
{
|
|
145
|
+
"inputs": [],
|
|
146
|
+
"name": "TYPE_HASH",
|
|
147
|
+
"outputs": [{ "internalType": "bytes32", "name": "", "type": "bytes32" }],
|
|
148
|
+
"stateMutability": "view",
|
|
149
|
+
"type": "function"
|
|
150
|
+
},
|
|
151
|
+
{
|
|
152
|
+
"inputs": [
|
|
153
|
+
{
|
|
154
|
+
"components": [
|
|
155
|
+
{ "internalType": "address", "name": "target", "type": "address" },
|
|
156
|
+
{ "internalType": "bytes", "name": "data", "type": "bytes" },
|
|
157
|
+
{ "internalType": "uint256", "name": "value", "type": "uint256" }
|
|
158
|
+
],
|
|
159
|
+
"internalType": "struct IGaslessSmartWallet.Action[]",
|
|
160
|
+
"name": "actions_",
|
|
161
|
+
"type": "tuple[]"
|
|
162
|
+
}
|
|
163
|
+
],
|
|
164
|
+
"name": "_callTargets",
|
|
165
|
+
"outputs": [],
|
|
166
|
+
"stateMutability": "payable",
|
|
167
|
+
"type": "function"
|
|
168
|
+
},
|
|
169
|
+
{
|
|
170
|
+
"inputs": [
|
|
171
|
+
{
|
|
172
|
+
"components": [
|
|
173
|
+
{ "internalType": "address", "name": "target", "type": "address" },
|
|
174
|
+
{ "internalType": "bytes", "name": "data", "type": "bytes" },
|
|
175
|
+
{ "internalType": "uint256", "name": "value", "type": "uint256" }
|
|
176
|
+
],
|
|
177
|
+
"internalType": "struct IGaslessSmartWallet.Action[]",
|
|
178
|
+
"name": "actions_",
|
|
179
|
+
"type": "tuple[]"
|
|
180
|
+
},
|
|
181
|
+
{ "internalType": "uint256", "name": "validUntil_", "type": "uint256" },
|
|
182
|
+
{ "internalType": "uint256", "name": "gas_", "type": "uint256" },
|
|
183
|
+
{ "internalType": "address", "name": "source_", "type": "address" },
|
|
184
|
+
{ "internalType": "bytes", "name": "metadata_", "type": "bytes" },
|
|
185
|
+
{ "internalType": "bytes", "name": "signature_", "type": "bytes" }
|
|
186
|
+
],
|
|
187
|
+
"name": "cast",
|
|
188
|
+
"outputs": [
|
|
189
|
+
{ "internalType": "bool", "name": "success_", "type": "bool" },
|
|
190
|
+
{ "internalType": "string", "name": "revertReason_", "type": "string" }
|
|
191
|
+
],
|
|
192
|
+
"stateMutability": "payable",
|
|
193
|
+
"type": "function"
|
|
194
|
+
},
|
|
195
|
+
{
|
|
196
|
+
"inputs": [],
|
|
197
|
+
"name": "domainSeparatorV4",
|
|
198
|
+
"outputs": [{ "internalType": "bytes32", "name": "", "type": "bytes32" }],
|
|
199
|
+
"stateMutability": "view",
|
|
200
|
+
"type": "function"
|
|
201
|
+
},
|
|
202
|
+
{
|
|
203
|
+
"inputs": [],
|
|
204
|
+
"name": "gswForwarder",
|
|
205
|
+
"outputs": [{ "internalType": "address", "name": "", "type": "address" }],
|
|
206
|
+
"stateMutability": "view",
|
|
207
|
+
"type": "function"
|
|
208
|
+
},
|
|
209
|
+
{
|
|
210
|
+
"inputs": [],
|
|
211
|
+
"name": "gswNonce",
|
|
212
|
+
"outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],
|
|
213
|
+
"stateMutability": "view",
|
|
214
|
+
"type": "function"
|
|
215
|
+
},
|
|
216
|
+
{
|
|
217
|
+
"inputs": [],
|
|
218
|
+
"name": "gswVersionsRegistry",
|
|
219
|
+
"outputs": [
|
|
220
|
+
{
|
|
221
|
+
"internalType": "contract IGSWVersionsRegistry",
|
|
222
|
+
"name": "",
|
|
223
|
+
"type": "address"
|
|
224
|
+
}
|
|
225
|
+
],
|
|
226
|
+
"stateMutability": "view",
|
|
227
|
+
"type": "function"
|
|
228
|
+
},
|
|
229
|
+
{
|
|
230
|
+
"inputs": [
|
|
231
|
+
{ "internalType": "address", "name": "owner_", "type": "address" }
|
|
232
|
+
],
|
|
233
|
+
"name": "initialize",
|
|
234
|
+
"outputs": [],
|
|
235
|
+
"stateMutability": "nonpayable",
|
|
236
|
+
"type": "function"
|
|
237
|
+
},
|
|
238
|
+
{
|
|
239
|
+
"inputs": [],
|
|
240
|
+
"name": "owner",
|
|
241
|
+
"outputs": [{ "internalType": "address", "name": "", "type": "address" }],
|
|
242
|
+
"stateMutability": "view",
|
|
243
|
+
"type": "function"
|
|
244
|
+
},
|
|
245
|
+
{
|
|
246
|
+
"inputs": [
|
|
247
|
+
{ "internalType": "address", "name": "gswImpl_", "type": "address" }
|
|
248
|
+
],
|
|
249
|
+
"name": "upgradeTo",
|
|
250
|
+
"outputs": [],
|
|
251
|
+
"stateMutability": "nonpayable",
|
|
252
|
+
"type": "function"
|
|
253
|
+
},
|
|
254
|
+
{
|
|
255
|
+
"inputs": [
|
|
256
|
+
{ "internalType": "address", "name": "gswImpl_", "type": "address" },
|
|
257
|
+
{ "internalType": "bytes", "name": "data_", "type": "bytes" },
|
|
258
|
+
{ "internalType": "bool", "name": "forceCall_", "type": "bool" }
|
|
259
|
+
],
|
|
260
|
+
"name": "upgradeToAndCall",
|
|
261
|
+
"outputs": [],
|
|
262
|
+
"stateMutability": "payable",
|
|
263
|
+
"type": "function"
|
|
264
|
+
},
|
|
265
|
+
{
|
|
266
|
+
"inputs": [
|
|
267
|
+
{
|
|
268
|
+
"components": [
|
|
269
|
+
{ "internalType": "address", "name": "target", "type": "address" },
|
|
270
|
+
{ "internalType": "bytes", "name": "data", "type": "bytes" },
|
|
271
|
+
{ "internalType": "uint256", "name": "value", "type": "uint256" }
|
|
272
|
+
],
|
|
273
|
+
"internalType": "struct IGaslessSmartWallet.Action[]",
|
|
274
|
+
"name": "actions_",
|
|
275
|
+
"type": "tuple[]"
|
|
276
|
+
},
|
|
277
|
+
{ "internalType": "uint256", "name": "validUntil_", "type": "uint256" },
|
|
278
|
+
{ "internalType": "uint256", "name": "gas_", "type": "uint256" },
|
|
279
|
+
{ "internalType": "address", "name": "source_", "type": "address" },
|
|
280
|
+
{ "internalType": "bytes", "name": "metadata_", "type": "bytes" },
|
|
281
|
+
{ "internalType": "bytes", "name": "signature_", "type": "bytes" }
|
|
282
|
+
],
|
|
283
|
+
"name": "verify",
|
|
284
|
+
"outputs": [{ "internalType": "bool", "name": "", "type": "bool" }],
|
|
285
|
+
"stateMutability": "view",
|
|
286
|
+
"type": "function"
|
|
287
|
+
},
|
|
288
|
+
{ "stateMutability": "payable", "type": "receive" }
|
|
289
|
+
]
|
package/app.vue
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div class="container mx-auto">
|
|
3
|
+
Networks:
|
|
4
|
+
<ul class="grid grid-cols-5 gap-5">
|
|
5
|
+
<li class="w-fit" v-for="network in networks">
|
|
6
|
+
<p>
|
|
7
|
+
{{ network.name }}
|
|
8
|
+
</p>
|
|
9
|
+
<p>
|
|
10
|
+
{{ network.chainId }}
|
|
11
|
+
</p>
|
|
12
|
+
<div class="flex items-center gap-2">
|
|
13
|
+
<ChainLogo class="w-8 h-8" :chain="network.chainId" />
|
|
14
|
+
<ChainLogo stroke class="w-8 h-8" :chain="network.chainId" />
|
|
15
|
+
</div>
|
|
16
|
+
</li>
|
|
17
|
+
</ul>
|
|
18
|
+
</div>
|
|
19
|
+
<ul></ul>
|
|
20
|
+
</template>
|
package/components/ChainLogo.vue
CHANGED
|
@@ -380,6 +380,146 @@
|
|
|
380
380
|
</defs>
|
|
381
381
|
</svg>
|
|
382
382
|
|
|
383
|
+
<svg
|
|
384
|
+
v-else-if="chain == 1313161554"
|
|
385
|
+
width="24"
|
|
386
|
+
height="24"
|
|
387
|
+
viewBox="0 0 24 24"
|
|
388
|
+
fill="none"
|
|
389
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
390
|
+
>
|
|
391
|
+
<rect
|
|
392
|
+
x="1"
|
|
393
|
+
y="1"
|
|
394
|
+
width="22"
|
|
395
|
+
height="22"
|
|
396
|
+
rx="11"
|
|
397
|
+
:fill="generateID('aurora', true)"
|
|
398
|
+
/>
|
|
399
|
+
<path
|
|
400
|
+
d="M11.9961 7.26624C12.4182 7.26624 12.8014 7.505 12.9902 7.88257L16.1114 14.1291C16.3835 14.6788 16.1614 15.3451 15.6116 15.6172C15.4561 15.6949 15.2894 15.7338 15.1173 15.7338H8.87486C8.26395 15.7338 7.76411 15.234 7.76411 14.6233C7.76411 14.4511 7.80299 14.279 7.88074 14.1291L11.0019 7.88257C11.1908 7.49944 11.574 7.26069 11.9961 7.26624ZM11.9961 6.5C11.2852 6.5 10.6354 6.89978 10.3188 7.53831L7.19763 13.7848C6.73667 14.7121 7.10877 15.8337 8.03624 16.3001C8.29727 16.4278 8.58607 16.5 8.87486 16.5H15.1228C16.1558 16.5 17 15.6616 17 14.6288C17 14.3401 16.9334 14.0514 16.8001 13.7904L13.6733 7.53831C13.3567 6.89978 12.707 6.5 11.9961 6.5Z"
|
|
401
|
+
fill="white"
|
|
402
|
+
/>
|
|
403
|
+
<rect
|
|
404
|
+
x="1"
|
|
405
|
+
y="1"
|
|
406
|
+
width="22"
|
|
407
|
+
height="22"
|
|
408
|
+
rx="11"
|
|
409
|
+
stroke="black"
|
|
410
|
+
stroke-width="2"
|
|
411
|
+
v-if="stroke"
|
|
412
|
+
:class="strokeClass"
|
|
413
|
+
/>
|
|
414
|
+
<defs>
|
|
415
|
+
<linearGradient
|
|
416
|
+
:id="generateID('aurora')"
|
|
417
|
+
x1="12"
|
|
418
|
+
y1="2"
|
|
419
|
+
x2="12"
|
|
420
|
+
y2="22"
|
|
421
|
+
gradientUnits="userSpaceOnUse"
|
|
422
|
+
>
|
|
423
|
+
<stop stop-color="#8EEF6B" />
|
|
424
|
+
<stop offset="1" stop-color="#70D44B" />
|
|
425
|
+
</linearGradient>
|
|
426
|
+
</defs>
|
|
427
|
+
</svg>
|
|
428
|
+
|
|
429
|
+
<svg
|
|
430
|
+
v-else-if="chain == 250"
|
|
431
|
+
width="24"
|
|
432
|
+
height="24"
|
|
433
|
+
viewBox="0 0 24 24"
|
|
434
|
+
fill="none"
|
|
435
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
436
|
+
>
|
|
437
|
+
<rect
|
|
438
|
+
x="1"
|
|
439
|
+
y="1"
|
|
440
|
+
width="22"
|
|
441
|
+
height="22"
|
|
442
|
+
rx="11"
|
|
443
|
+
:fill="generateID('fantom', true)"
|
|
444
|
+
/>
|
|
445
|
+
<path
|
|
446
|
+
fill-rule="evenodd"
|
|
447
|
+
clip-rule="evenodd"
|
|
448
|
+
d="M12.75 10.0625L15 8.75V11.375L12.75 10.0625ZM15 15.6875L12 17.4375L9 15.6875V12.625L12 14.375L15 12.625V15.6875ZM9 8.75L11.25 10.0625L9 11.375V8.75ZM12.375 10.6875L14.625 12L12.375 13.3125V10.6875ZM11.625 13.3125L9.375 12L11.625 10.6875V13.3125ZM14.625 8.125L12 9.625L9.375 8.125L12 6.5625L14.625 8.125ZM8.25 7.875V16.0625L12 18.1875L15.75 16.0625V7.875L12 5.75L8.25 7.875Z"
|
|
449
|
+
fill="white"
|
|
450
|
+
/>
|
|
451
|
+
<rect
|
|
452
|
+
x="1"
|
|
453
|
+
y="1"
|
|
454
|
+
width="22"
|
|
455
|
+
height="22"
|
|
456
|
+
rx="11"
|
|
457
|
+
stroke="black"
|
|
458
|
+
stroke-width="2"
|
|
459
|
+
v-if="stroke"
|
|
460
|
+
:class="strokeClass"
|
|
461
|
+
/>
|
|
462
|
+
<defs>
|
|
463
|
+
<linearGradient
|
|
464
|
+
:id="generateID('fantom')"
|
|
465
|
+
x1="12"
|
|
466
|
+
y1="2"
|
|
467
|
+
x2="12"
|
|
468
|
+
y2="22"
|
|
469
|
+
gradientUnits="userSpaceOnUse"
|
|
470
|
+
>
|
|
471
|
+
<stop stop-color="#51D3FF" />
|
|
472
|
+
<stop offset="1" stop-color="#13B5EC" />
|
|
473
|
+
</linearGradient>
|
|
474
|
+
</defs>
|
|
475
|
+
</svg>
|
|
476
|
+
|
|
477
|
+
<svg
|
|
478
|
+
v-else-if="chain == 634 || chain == 63400"
|
|
479
|
+
width="24"
|
|
480
|
+
height="24"
|
|
481
|
+
viewBox="0 0 24 24"
|
|
482
|
+
fill="none"
|
|
483
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
484
|
+
>
|
|
485
|
+
<rect
|
|
486
|
+
x="1"
|
|
487
|
+
y="1"
|
|
488
|
+
width="22"
|
|
489
|
+
height="22"
|
|
490
|
+
rx="11"
|
|
491
|
+
:fill="generateID('avo', true)"
|
|
492
|
+
/>
|
|
493
|
+
<path
|
|
494
|
+
d="M11.9999 17.4052C11.9999 17.7497 12.2787 18.0322 12.6197 17.997C15.6422 17.6854 18 15.1194 18 12C18 8.88061 15.6422 6.31462 12.6197 6.00299C12.2787 5.96765 11.9999 6.25038 11.9999 6.59486V8.25799C11.9999 8.60246 12.2806 8.87521 12.6167 8.94319C14.0353 9.2307 15.1035 10.4899 15.1035 12C15.1035 13.5101 14.0353 14.7693 12.6167 15.0569C12.2806 15.1248 11.9999 15.3978 11.9999 15.7421V17.4052ZM10.1378 7.12664C10.1378 6.70254 9.7247 6.4036 9.34642 6.59132C7.36369 7.57527 6 9.62756 6 12C6 14.3725 7.36369 16.4248 9.34642 17.4087C9.7247 17.5964 10.1378 17.2975 10.1378 16.8734V7.12685V7.12664Z"
|
|
495
|
+
fill="white"
|
|
496
|
+
/>
|
|
497
|
+
<rect
|
|
498
|
+
x="1"
|
|
499
|
+
y="1"
|
|
500
|
+
width="22"
|
|
501
|
+
height="22"
|
|
502
|
+
rx="11"
|
|
503
|
+
stroke="black"
|
|
504
|
+
stroke-width="2"
|
|
505
|
+
v-if="stroke"
|
|
506
|
+
:class="strokeClass"
|
|
507
|
+
/>
|
|
508
|
+
<defs>
|
|
509
|
+
<linearGradient
|
|
510
|
+
:id="generateID('avo')"
|
|
511
|
+
x1="12"
|
|
512
|
+
y1="2"
|
|
513
|
+
x2="12"
|
|
514
|
+
y2="22"
|
|
515
|
+
gradientUnits="userSpaceOnUse"
|
|
516
|
+
>
|
|
517
|
+
<stop stop-color="#6ED578" />
|
|
518
|
+
<stop offset="1" stop-color="#4CA054" />
|
|
519
|
+
</linearGradient>
|
|
520
|
+
</defs>
|
|
521
|
+
</svg>
|
|
522
|
+
|
|
383
523
|
<template v-else>
|
|
384
524
|
<svg
|
|
385
525
|
v-bind="$attrs"
|