viem 2.0.0-rc.2 → 2.0.0-rc.4

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 (175) hide show
  1. package/CHANGELOG.md +44 -0
  2. package/_cjs/_test/generated.js +313 -0
  3. package/_cjs/_test/generated.js.map +1 -0
  4. package/_cjs/accounts/generateMnemonic.js +2 -2
  5. package/_cjs/accounts/generateMnemonic.js.map +1 -1
  6. package/_cjs/chains/definitions/acala.js +32 -0
  7. package/_cjs/chains/definitions/acala.js.map +1 -0
  8. package/_cjs/chains/definitions/arbitrumSepolia.js +2 -4
  9. package/_cjs/chains/definitions/arbitrumSepolia.js.map +1 -1
  10. package/_cjs/chains/definitions/bahamut.js +43 -0
  11. package/_cjs/chains/definitions/bahamut.js.map +1 -0
  12. package/_cjs/chains/definitions/bitTorrent.js +19 -0
  13. package/_cjs/chains/definitions/bitTorrent.js.map +1 -0
  14. package/_cjs/chains/definitions/bitTorrentTestnet.js +20 -0
  15. package/_cjs/chains/definitions/bitTorrentTestnet.js.map +1 -0
  16. package/_cjs/chains/definitions/jbc.js +32 -0
  17. package/_cjs/chains/definitions/jbc.js.map +1 -0
  18. package/_cjs/chains/definitions/karura.js +32 -0
  19. package/_cjs/chains/definitions/karura.js.map +1 -0
  20. package/_cjs/chains/definitions/klaytn.js +1 -1
  21. package/_cjs/chains/definitions/klaytn.js.map +1 -1
  22. package/_cjs/chains/definitions/mandala.js +32 -0
  23. package/_cjs/chains/definitions/mandala.js.map +1 -0
  24. package/_cjs/chains/definitions/oasisTestnet.js +22 -0
  25. package/_cjs/chains/definitions/oasisTestnet.js.map +1 -0
  26. package/_cjs/chains/definitions/opBNBTestnet.js +1 -1
  27. package/_cjs/chains/definitions/opBNBTestnet.js.map +1 -1
  28. package/_cjs/chains/definitions/wemix.js +19 -0
  29. package/_cjs/chains/definitions/wemix.js.map +1 -0
  30. package/_cjs/chains/definitions/wemixTestnet.js +20 -0
  31. package/_cjs/chains/definitions/wemixTestnet.js.map +1 -0
  32. package/_cjs/chains/definitions/zkFair.js +30 -0
  33. package/_cjs/chains/definitions/zkFair.js.map +1 -0
  34. package/_cjs/chains/definitions/zkFairTestnet.js +30 -0
  35. package/_cjs/chains/definitions/zkFairTestnet.js.map +1 -0
  36. package/_cjs/chains/index.js +28 -4
  37. package/_cjs/chains/index.js.map +1 -1
  38. package/_cjs/chains/opStack/abis.js.map +1 -1
  39. package/_cjs/chains/opStack/contracts.js.map +1 -1
  40. package/_cjs/chains/opStack/decorators/publicL1.js.map +1 -1
  41. package/_cjs/chains/opStack/decorators/publicL2.js.map +1 -1
  42. package/_cjs/chains/opStack/decorators/walletL1.js.map +1 -1
  43. package/_cjs/chains/opStack/decorators/walletL2.js.map +1 -1
  44. package/_cjs/errors/version.js +1 -1
  45. package/_esm/_test/generated.js +335 -0
  46. package/_esm/_test/generated.js.map +1 -0
  47. package/_esm/accounts/generateMnemonic.js +3 -2
  48. package/_esm/accounts/generateMnemonic.js.map +1 -1
  49. package/_esm/chains/definitions/acala.js +29 -0
  50. package/_esm/chains/definitions/acala.js.map +1 -0
  51. package/_esm/chains/definitions/arbitrumSepolia.js +2 -4
  52. package/_esm/chains/definitions/arbitrumSepolia.js.map +1 -1
  53. package/_esm/chains/definitions/bahamut.js +40 -0
  54. package/_esm/chains/definitions/bahamut.js.map +1 -0
  55. package/_esm/chains/definitions/bitTorrent.js +16 -0
  56. package/_esm/chains/definitions/bitTorrent.js.map +1 -0
  57. package/_esm/chains/definitions/bitTorrentTestnet.js +17 -0
  58. package/_esm/chains/definitions/bitTorrentTestnet.js.map +1 -0
  59. package/_esm/chains/definitions/jbc.js +29 -0
  60. package/_esm/chains/definitions/jbc.js.map +1 -0
  61. package/_esm/chains/definitions/karura.js +29 -0
  62. package/_esm/chains/definitions/karura.js.map +1 -0
  63. package/_esm/chains/definitions/klaytn.js +1 -1
  64. package/_esm/chains/definitions/klaytn.js.map +1 -1
  65. package/_esm/chains/definitions/mandala.js +29 -0
  66. package/_esm/chains/definitions/mandala.js.map +1 -0
  67. package/_esm/chains/definitions/oasisTestnet.js +19 -0
  68. package/_esm/chains/definitions/oasisTestnet.js.map +1 -0
  69. package/_esm/chains/definitions/opBNBTestnet.js +1 -1
  70. package/_esm/chains/definitions/opBNBTestnet.js.map +1 -1
  71. package/_esm/chains/definitions/wemix.js +16 -0
  72. package/_esm/chains/definitions/wemix.js.map +1 -0
  73. package/_esm/chains/definitions/wemixTestnet.js +17 -0
  74. package/_esm/chains/definitions/wemixTestnet.js.map +1 -0
  75. package/_esm/chains/definitions/zkFair.js +27 -0
  76. package/_esm/chains/definitions/zkFair.js.map +1 -0
  77. package/_esm/chains/definitions/zkFairTestnet.js +27 -0
  78. package/_esm/chains/definitions/zkFairTestnet.js.map +1 -0
  79. package/_esm/chains/index.js +12 -0
  80. package/_esm/chains/index.js.map +1 -1
  81. package/_esm/chains/opStack/abis.js +4 -0
  82. package/_esm/chains/opStack/abis.js.map +1 -1
  83. package/_esm/chains/opStack/contracts.js +4 -0
  84. package/_esm/chains/opStack/contracts.js.map +1 -1
  85. package/_esm/chains/opStack/decorators/publicL1.js +15 -0
  86. package/_esm/chains/opStack/decorators/publicL1.js.map +1 -1
  87. package/_esm/chains/opStack/decorators/publicL2.js +15 -0
  88. package/_esm/chains/opStack/decorators/publicL2.js.map +1 -1
  89. package/_esm/chains/opStack/decorators/walletL1.js +17 -0
  90. package/_esm/chains/opStack/decorators/walletL1.js.map +1 -1
  91. package/_esm/chains/opStack/decorators/walletL2.js +17 -0
  92. package/_esm/chains/opStack/decorators/walletL2.js.map +1 -1
  93. package/_esm/errors/version.js +1 -1
  94. package/_test/generated.ts +350 -0
  95. package/_types/_test/generated.d.ts +428 -0
  96. package/_types/_test/generated.d.ts.map +1 -0
  97. package/_types/accounts/generateMnemonic.d.ts +2 -1
  98. package/_types/accounts/generateMnemonic.d.ts.map +1 -1
  99. package/_types/actions/public/simulateContract.d.ts +2 -2
  100. package/_types/actions/public/simulateContract.d.ts.map +1 -1
  101. package/_types/chains/definitions/acala.d.ts +40 -0
  102. package/_types/chains/definitions/acala.d.ts.map +1 -0
  103. package/_types/chains/definitions/arbitrumSepolia.d.ts +6 -2
  104. package/_types/chains/definitions/arbitrumSepolia.d.ts.map +1 -1
  105. package/_types/chains/definitions/bahamut.d.ts +40 -0
  106. package/_types/chains/definitions/bahamut.d.ts.map +1 -0
  107. package/_types/chains/definitions/bitTorrent.d.ts +42 -0
  108. package/_types/chains/definitions/bitTorrent.d.ts.map +1 -0
  109. package/_types/chains/definitions/bitTorrentTestnet.d.ts +42 -0
  110. package/_types/chains/definitions/bitTorrentTestnet.d.ts.map +1 -0
  111. package/_types/chains/definitions/jbc.d.ts +36 -0
  112. package/_types/chains/definitions/jbc.d.ts.map +1 -0
  113. package/_types/chains/definitions/karura.d.ts +40 -0
  114. package/_types/chains/definitions/karura.d.ts.map +1 -0
  115. package/_types/chains/definitions/klaytn.d.ts +1 -1
  116. package/_types/chains/definitions/mandala.d.ts +40 -0
  117. package/_types/chains/definitions/mandala.d.ts.map +1 -0
  118. package/_types/chains/definitions/oasisTestnet.d.ts +38 -0
  119. package/_types/chains/definitions/oasisTestnet.d.ts.map +1 -0
  120. package/_types/chains/definitions/opBNBTestnet.d.ts +1 -1
  121. package/_types/chains/definitions/wemix.d.ts +42 -0
  122. package/_types/chains/definitions/wemix.d.ts.map +1 -0
  123. package/_types/chains/definitions/wemixTestnet.d.ts +42 -0
  124. package/_types/chains/definitions/wemixTestnet.d.ts.map +1 -0
  125. package/_types/chains/definitions/zkFair.d.ts +38 -0
  126. package/_types/chains/definitions/zkFair.d.ts.map +1 -0
  127. package/_types/chains/definitions/zkFairTestnet.d.ts +38 -0
  128. package/_types/chains/definitions/zkFairTestnet.d.ts.map +1 -0
  129. package/_types/chains/index.d.ts +12 -0
  130. package/_types/chains/index.d.ts.map +1 -1
  131. package/_types/chains/opStack/abis.d.ts +4 -0
  132. package/_types/chains/opStack/abis.d.ts.map +1 -1
  133. package/_types/chains/opStack/contracts.d.ts +4 -0
  134. package/_types/chains/opStack/contracts.d.ts.map +1 -1
  135. package/_types/chains/opStack/decorators/publicL1.d.ts +15 -0
  136. package/_types/chains/opStack/decorators/publicL1.d.ts.map +1 -1
  137. package/_types/chains/opStack/decorators/publicL2.d.ts +15 -0
  138. package/_types/chains/opStack/decorators/publicL2.d.ts.map +1 -1
  139. package/_types/chains/opStack/decorators/walletL1.d.ts +17 -0
  140. package/_types/chains/opStack/decorators/walletL1.d.ts.map +1 -1
  141. package/_types/chains/opStack/decorators/walletL2.d.ts +17 -0
  142. package/_types/chains/opStack/decorators/walletL2.d.ts.map +1 -1
  143. package/_types/chains/opStack/types/contract.d.ts +8 -7
  144. package/_types/chains/opStack/types/contract.d.ts.map +1 -1
  145. package/_types/clients/decorators/wallet.d.ts +2 -2
  146. package/_types/clients/decorators/wallet.d.ts.map +1 -1
  147. package/_types/errors/version.d.ts +1 -1
  148. package/accounts/generateMnemonic.ts +6 -2
  149. package/actions/public/simulateContract.ts +2 -2
  150. package/chains/definitions/acala.ts +29 -0
  151. package/chains/definitions/arbitrumSepolia.ts +2 -4
  152. package/chains/definitions/bahamut.ts +40 -0
  153. package/chains/definitions/bitTorrent.ts +16 -0
  154. package/chains/definitions/bitTorrentTestnet.ts +17 -0
  155. package/chains/definitions/jbc.ts +29 -0
  156. package/chains/definitions/karura.ts +29 -0
  157. package/chains/definitions/klaytn.ts +1 -1
  158. package/chains/definitions/mandala.ts +29 -0
  159. package/chains/definitions/oasisTestnet.ts +19 -0
  160. package/chains/definitions/opBNBTestnet.ts +1 -1
  161. package/chains/definitions/wemix.ts +16 -0
  162. package/chains/definitions/wemixTestnet.ts +17 -0
  163. package/chains/definitions/zkFair.ts +27 -0
  164. package/chains/definitions/zkFairTestnet.ts +27 -0
  165. package/chains/index.ts +12 -0
  166. package/chains/opStack/abis.ts +4 -0
  167. package/chains/opStack/contracts.ts +4 -0
  168. package/chains/opStack/decorators/publicL1.ts +15 -0
  169. package/chains/opStack/decorators/publicL2.ts +15 -0
  170. package/chains/opStack/decorators/walletL1.ts +17 -0
  171. package/chains/opStack/decorators/walletL2.ts +17 -0
  172. package/chains/opStack/types/contract.ts +15 -6
  173. package/clients/decorators/wallet.ts +2 -2
  174. package/errors/version.ts +1 -1
  175. package/package.json +12 -34
@@ -0,0 +1,350 @@
1
+ // Generated by @wagmi/cli@0.1.6 on 11/09/2023 at 9:45:29 am
2
+
3
+ //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
4
+ // IERC1271Wallet
5
+ //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
6
+
7
+ export const ierc1271WalletABI = [
8
+ {
9
+ stateMutability: 'view',
10
+ type: 'function',
11
+ inputs: [
12
+ { name: 'hash', internalType: 'bytes32', type: 'bytes32' },
13
+ { name: 'signature', internalType: 'bytes', type: 'bytes' },
14
+ ],
15
+ name: 'isValidSignature',
16
+ outputs: [{ name: 'magicValue', internalType: 'bytes4', type: 'bytes4' }],
17
+ },
18
+ ] as const
19
+
20
+ //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
21
+ // VerifySig
22
+ //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
23
+
24
+ export const verifySigABI = [
25
+ {
26
+ stateMutability: 'nonpayable',
27
+ type: 'constructor',
28
+ inputs: [
29
+ { name: '_signer', internalType: 'address', type: 'address' },
30
+ { name: '_hash', internalType: 'bytes32', type: 'bytes32' },
31
+ { name: '_signature', internalType: 'bytes', type: 'bytes' },
32
+ ],
33
+ },
34
+ {
35
+ stateMutability: 'nonpayable',
36
+ type: 'function',
37
+ inputs: [
38
+ { name: '_signer', internalType: 'address', type: 'address' },
39
+ { name: '_hash', internalType: 'bytes32', type: 'bytes32' },
40
+ { name: '_signature', internalType: 'bytes', type: 'bytes' },
41
+ ],
42
+ name: 'isValidUniversalSig',
43
+ outputs: [{ name: '', internalType: 'bool', type: 'bool' }],
44
+ },
45
+ ] as const
46
+
47
+ //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
48
+ // ERC20InvalidTransferEvent
49
+ //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
50
+
51
+ export const erc20InvalidTransferEventABI = [
52
+ {
53
+ type: 'event',
54
+ anonymous: false,
55
+ inputs: [
56
+ { name: 'from', internalType: 'address', type: 'address', indexed: true },
57
+ { name: 'to', internalType: 'address', type: 'address', indexed: false },
58
+ {
59
+ name: 'value',
60
+ internalType: 'uint256',
61
+ type: 'uint256',
62
+ indexed: false,
63
+ },
64
+ ],
65
+ name: 'Transfer',
66
+ },
67
+ {
68
+ stateMutability: 'nonpayable',
69
+ type: 'function',
70
+ inputs: [
71
+ { name: 'recipient', internalType: 'address', type: 'address' },
72
+ { name: 'amount', internalType: 'uint256', type: 'uint256' },
73
+ ],
74
+ name: 'transfer',
75
+ outputs: [],
76
+ },
77
+ ] as const
78
+
79
+ //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
80
+ // GH434
81
+ //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
82
+
83
+ export const gh434ABI = [
84
+ {
85
+ stateMutability: 'pure',
86
+ type: 'function',
87
+ inputs: [],
88
+ name: 'bar',
89
+ outputs: [{ name: '', internalType: 'string', type: 'string' }],
90
+ },
91
+ {
92
+ stateMutability: 'pure',
93
+ type: 'function',
94
+ inputs: [],
95
+ name: 'baz',
96
+ outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }],
97
+ },
98
+ {
99
+ stateMutability: 'pure',
100
+ type: 'function',
101
+ inputs: [],
102
+ name: 'foo',
103
+ outputs: [
104
+ { name: 'a', internalType: 'uint256', type: 'uint256' },
105
+ { name: 'b', internalType: 'bool', type: 'bool' },
106
+ ],
107
+ },
108
+ ] as const
109
+
110
+ //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
111
+ // EnsAvatarTokenUri
112
+ //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
113
+
114
+ export const ensAvatarTokenUriABI = [
115
+ {
116
+ stateMutability: 'view',
117
+ type: 'function',
118
+ inputs: [{ name: 'tokenId', internalType: 'uint256', type: 'uint256' }],
119
+ name: 'ownerOf',
120
+ outputs: [{ name: '', internalType: 'address', type: 'address' }],
121
+ },
122
+ {
123
+ stateMutability: 'view',
124
+ type: 'function',
125
+ inputs: [{ name: 'tokenId', internalType: 'uint256', type: 'uint256' }],
126
+ name: 'tokenURI',
127
+ outputs: [{ name: '', internalType: 'string', type: 'string' }],
128
+ },
129
+ ] as const
130
+
131
+ //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
132
+ // ErrorsExample
133
+ //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
134
+
135
+ export const errorsExampleABI = [
136
+ {
137
+ type: 'error',
138
+ inputs: [
139
+ {
140
+ name: 'foo',
141
+ internalType: 'struct ErrorsExample.Foo',
142
+ type: 'tuple',
143
+ components: [
144
+ { name: 'sender', internalType: 'address', type: 'address' },
145
+ { name: 'bar', internalType: 'uint256', type: 'uint256' },
146
+ ],
147
+ },
148
+ { name: 'message', internalType: 'string', type: 'string' },
149
+ { name: 'number', internalType: 'uint256', type: 'uint256' },
150
+ ],
151
+ name: 'ComplexError',
152
+ },
153
+ {
154
+ type: 'error',
155
+ inputs: [{ name: 'message', internalType: 'string', type: 'string' }],
156
+ name: 'SimpleError',
157
+ },
158
+ { type: 'error', inputs: [], name: 'SimpleErrorNoArgs' },
159
+ {
160
+ stateMutability: 'pure',
161
+ type: 'function',
162
+ inputs: [],
163
+ name: 'assertRead',
164
+ outputs: [],
165
+ },
166
+ {
167
+ stateMutability: 'nonpayable',
168
+ type: 'function',
169
+ inputs: [],
170
+ name: 'assertWrite',
171
+ outputs: [],
172
+ },
173
+ {
174
+ stateMutability: 'pure',
175
+ type: 'function',
176
+ inputs: [],
177
+ name: 'complexCustomRead',
178
+ outputs: [],
179
+ },
180
+ {
181
+ stateMutability: 'nonpayable',
182
+ type: 'function',
183
+ inputs: [],
184
+ name: 'complexCustomWrite',
185
+ outputs: [],
186
+ },
187
+ {
188
+ stateMutability: 'pure',
189
+ type: 'function',
190
+ inputs: [],
191
+ name: 'divideByZeroRead',
192
+ outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }],
193
+ },
194
+ {
195
+ stateMutability: 'nonpayable',
196
+ type: 'function',
197
+ inputs: [],
198
+ name: 'divideByZeroWrite',
199
+ outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }],
200
+ },
201
+ {
202
+ stateMutability: 'pure',
203
+ type: 'function',
204
+ inputs: [],
205
+ name: 'overflowRead',
206
+ outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }],
207
+ },
208
+ {
209
+ stateMutability: 'nonpayable',
210
+ type: 'function',
211
+ inputs: [],
212
+ name: 'overflowWrite',
213
+ outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }],
214
+ },
215
+ {
216
+ stateMutability: 'pure',
217
+ type: 'function',
218
+ inputs: [],
219
+ name: 'requireRead',
220
+ outputs: [],
221
+ },
222
+ {
223
+ stateMutability: 'nonpayable',
224
+ type: 'function',
225
+ inputs: [],
226
+ name: 'requireWrite',
227
+ outputs: [],
228
+ },
229
+ {
230
+ stateMutability: 'pure',
231
+ type: 'function',
232
+ inputs: [],
233
+ name: 'revertRead',
234
+ outputs: [],
235
+ },
236
+ {
237
+ stateMutability: 'nonpayable',
238
+ type: 'function',
239
+ inputs: [],
240
+ name: 'revertWrite',
241
+ outputs: [],
242
+ },
243
+ {
244
+ stateMutability: 'pure',
245
+ type: 'function',
246
+ inputs: [],
247
+ name: 'simpleCustomRead',
248
+ outputs: [],
249
+ },
250
+ {
251
+ stateMutability: 'pure',
252
+ type: 'function',
253
+ inputs: [],
254
+ name: 'simpleCustomReadNoArgs',
255
+ outputs: [],
256
+ },
257
+ {
258
+ stateMutability: 'nonpayable',
259
+ type: 'function',
260
+ inputs: [],
261
+ name: 'simpleCustomWrite',
262
+ outputs: [],
263
+ },
264
+ ] as const
265
+
266
+ //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
267
+ // OffchainLookupExample
268
+ //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
269
+
270
+ export const offchainLookupExampleABI = [
271
+ {
272
+ stateMutability: 'nonpayable',
273
+ type: 'constructor',
274
+ inputs: [{ name: 'urls_', internalType: 'string[]', type: 'string[]' }],
275
+ },
276
+ {
277
+ type: 'error',
278
+ inputs: [
279
+ { name: 'sender', internalType: 'address', type: 'address' },
280
+ { name: 'urls', internalType: 'string[]', type: 'string[]' },
281
+ { name: 'callData', internalType: 'bytes', type: 'bytes' },
282
+ { name: 'callbackFunction', internalType: 'bytes4', type: 'bytes4' },
283
+ { name: 'extraData', internalType: 'bytes', type: 'bytes' },
284
+ ],
285
+ name: 'OffchainLookup',
286
+ },
287
+ {
288
+ stateMutability: 'view',
289
+ type: 'function',
290
+ inputs: [{ name: 'name', internalType: 'string', type: 'string' }],
291
+ name: 'getAddress',
292
+ outputs: [{ name: '', internalType: 'address', type: 'address' }],
293
+ },
294
+ {
295
+ stateMutability: 'view',
296
+ type: 'function',
297
+ inputs: [
298
+ { name: 'result', internalType: 'bytes', type: 'bytes' },
299
+ { name: 'extraData', internalType: 'bytes', type: 'bytes' },
300
+ ],
301
+ name: 'getAddressWithProof',
302
+ outputs: [{ name: '', internalType: 'address', type: 'address' }],
303
+ },
304
+ {
305
+ stateMutability: 'pure',
306
+ type: 'function',
307
+ inputs: [
308
+ {
309
+ name: '_ethSignedMessageHash',
310
+ internalType: 'bytes32',
311
+ type: 'bytes32',
312
+ },
313
+ { name: '_signature', internalType: 'bytes', type: 'bytes' },
314
+ ],
315
+ name: 'recoverSigner',
316
+ outputs: [{ name: '', internalType: 'address', type: 'address' }],
317
+ },
318
+ {
319
+ stateMutability: 'pure',
320
+ type: 'function',
321
+ inputs: [{ name: 'sig', internalType: 'bytes', type: 'bytes' }],
322
+ name: 'splitSignature',
323
+ outputs: [
324
+ { name: 'r', internalType: 'bytes32', type: 'bytes32' },
325
+ { name: 's', internalType: 'bytes32', type: 'bytes32' },
326
+ { name: 'v', internalType: 'uint8', type: 'uint8' },
327
+ ],
328
+ },
329
+ {
330
+ stateMutability: 'view',
331
+ type: 'function',
332
+ inputs: [{ name: '', internalType: 'uint256', type: 'uint256' }],
333
+ name: 'urls',
334
+ outputs: [{ name: '', internalType: 'string', type: 'string' }],
335
+ },
336
+ ] as const
337
+
338
+ //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
339
+ // Payable
340
+ //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
341
+
342
+ export const payableABI = [
343
+ {
344
+ stateMutability: 'payable',
345
+ type: 'function',
346
+ inputs: [],
347
+ name: 'pay',
348
+ outputs: [],
349
+ },
350
+ ] as const