@snowbridge/contract-types 0.1.36 → 0.1.37

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.
@@ -1,9 +1,9 @@
1
1
 
2
- > @snowbridge/contract-types@0.1.36 build /home/runner/work/snowbridge/snowbridge/web/packages/contract-types
2
+ > @snowbridge/contract-types@0.1.37 build /home/runner/work/snowbridge/snowbridge/web/packages/contract-types
3
3
  > pnpm typechain && tsc
4
4
 
5
5
 
6
- > @snowbridge/contract-types@0.1.36 typechain /home/runner/work/snowbridge/snowbridge/web/packages/contract-types
6
+ > @snowbridge/contract-types@0.1.37 typechain /home/runner/work/snowbridge/snowbridge/web/packages/contract-types
7
7
  > typechain --target ethers-v6 '../../../contracts/out/?(IERC20.sol|IERC20Metadata.sol|IGateway.sol|BeefyClient.sol|WETH9.sol)/!(*.abi).json' --out-dir src
8
8
 
9
9
  Successfully generated 13 typings!
@@ -205,8 +205,36 @@ export declare class IERC20Metadata__factory {
205
205
  }];
206
206
  }, {
207
207
  readonly type: "error";
208
- readonly name: "InvalidAccount";
209
- readonly inputs: readonly [];
208
+ readonly name: "InvalidApprover";
209
+ readonly inputs: readonly [{
210
+ readonly name: "";
211
+ readonly type: "address";
212
+ readonly internalType: "address";
213
+ }];
214
+ }, {
215
+ readonly type: "error";
216
+ readonly name: "InvalidReceiver";
217
+ readonly inputs: readonly [{
218
+ readonly name: "";
219
+ readonly type: "address";
220
+ readonly internalType: "address";
221
+ }];
222
+ }, {
223
+ readonly type: "error";
224
+ readonly name: "InvalidSender";
225
+ readonly inputs: readonly [{
226
+ readonly name: "";
227
+ readonly type: "address";
228
+ readonly internalType: "address";
229
+ }];
230
+ }, {
231
+ readonly type: "error";
232
+ readonly name: "InvalidSpender";
233
+ readonly inputs: readonly [{
234
+ readonly name: "";
235
+ readonly type: "address";
236
+ readonly internalType: "address";
237
+ }];
210
238
  }];
211
239
  static createInterface(): IERC20MetadataInterface;
212
240
  static connect(address: string, runner?: ContractRunner | null): IERC20Metadata;
@@ -1 +1 @@
1
- {"version":3,"file":"IERC20Metadata__factory.d.ts","sourceRoot":"","sources":["../../src/factories/IERC20Metadata__factory.ts"],"names":[],"mappings":"AAIA,OAAO,EAAuB,KAAK,cAAc,EAAE,MAAM,QAAQ,CAAC;AAClE,OAAO,KAAK,EACV,cAAc,EACd,uBAAuB,EACxB,MAAM,mBAAmB,CAAC;AAkR3B,qBAAa,uBAAuB;IAClC,MAAM,CAAC,QAAQ,CAAC,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAAQ;IAC3B,MAAM,CAAC,eAAe,IAAI,uBAAuB;IAGjD,MAAM,CAAC,OAAO,CACZ,OAAO,EAAE,MAAM,EACf,MAAM,CAAC,EAAE,cAAc,GAAG,IAAI,GAC7B,cAAc;CAGlB"}
1
+ {"version":3,"file":"IERC20Metadata__factory.d.ts","sourceRoot":"","sources":["../../src/factories/IERC20Metadata__factory.ts"],"names":[],"mappings":"AAIA,OAAO,EAAuB,KAAK,cAAc,EAAE,MAAM,QAAQ,CAAC;AAClE,OAAO,KAAK,EACV,cAAc,EACd,uBAAuB,EACxB,MAAM,mBAAmB,CAAC;AAyT3B,qBAAa,uBAAuB;IAClC,MAAM,CAAC,QAAQ,CAAC,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAAQ;IAC3B,MAAM,CAAC,eAAe,IAAI,uBAAuB;IAGjD,MAAM,CAAC,OAAO,CACZ,OAAO,EAAE,MAAM,EACf,MAAM,CAAC,EAAE,cAAc,GAAG,IAAI,GAC7B,cAAc;CAGlB"}
@@ -272,8 +272,47 @@ const _abi = [
272
272
  },
273
273
  {
274
274
  type: "error",
275
- name: "InvalidAccount",
276
- inputs: [],
275
+ name: "InvalidApprover",
276
+ inputs: [
277
+ {
278
+ name: "",
279
+ type: "address",
280
+ internalType: "address",
281
+ },
282
+ ],
283
+ },
284
+ {
285
+ type: "error",
286
+ name: "InvalidReceiver",
287
+ inputs: [
288
+ {
289
+ name: "",
290
+ type: "address",
291
+ internalType: "address",
292
+ },
293
+ ],
294
+ },
295
+ {
296
+ type: "error",
297
+ name: "InvalidSender",
298
+ inputs: [
299
+ {
300
+ name: "",
301
+ type: "address",
302
+ internalType: "address",
303
+ },
304
+ ],
305
+ },
306
+ {
307
+ type: "error",
308
+ name: "InvalidSpender",
309
+ inputs: [
310
+ {
311
+ name: "",
312
+ type: "address",
313
+ internalType: "address",
314
+ },
315
+ ],
277
316
  },
278
317
  ];
279
318
  class IERC20Metadata__factory {
@@ -175,8 +175,36 @@ export declare class IERC20__factory {
175
175
  }];
176
176
  }, {
177
177
  readonly type: "error";
178
- readonly name: "InvalidAccount";
179
- readonly inputs: readonly [];
178
+ readonly name: "InvalidApprover";
179
+ readonly inputs: readonly [{
180
+ readonly name: "";
181
+ readonly type: "address";
182
+ readonly internalType: "address";
183
+ }];
184
+ }, {
185
+ readonly type: "error";
186
+ readonly name: "InvalidReceiver";
187
+ readonly inputs: readonly [{
188
+ readonly name: "";
189
+ readonly type: "address";
190
+ readonly internalType: "address";
191
+ }];
192
+ }, {
193
+ readonly type: "error";
194
+ readonly name: "InvalidSender";
195
+ readonly inputs: readonly [{
196
+ readonly name: "";
197
+ readonly type: "address";
198
+ readonly internalType: "address";
199
+ }];
200
+ }, {
201
+ readonly type: "error";
202
+ readonly name: "InvalidSpender";
203
+ readonly inputs: readonly [{
204
+ readonly name: "";
205
+ readonly type: "address";
206
+ readonly internalType: "address";
207
+ }];
180
208
  }];
181
209
  static createInterface(): IERC20Interface;
182
210
  static connect(address: string, runner?: ContractRunner | null): IERC20;
@@ -1 +1 @@
1
- {"version":3,"file":"IERC20__factory.d.ts","sourceRoot":"","sources":["../../src/factories/IERC20__factory.ts"],"names":[],"mappings":"AAIA,OAAO,EAAuB,KAAK,cAAc,EAAE,MAAM,QAAQ,CAAC;AAClE,OAAO,KAAK,EAAE,MAAM,EAAE,eAAe,EAAE,MAAM,WAAW,CAAC;AA2OzD,qBAAa,eAAe;IAC1B,MAAM,CAAC,QAAQ,CAAC,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAAQ;IAC3B,MAAM,CAAC,eAAe,IAAI,eAAe;IAGzC,MAAM,CAAC,OAAO,CAAC,OAAO,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,cAAc,GAAG,IAAI,GAAG,MAAM;CAGxE"}
1
+ {"version":3,"file":"IERC20__factory.d.ts","sourceRoot":"","sources":["../../src/factories/IERC20__factory.ts"],"names":[],"mappings":"AAIA,OAAO,EAAuB,KAAK,cAAc,EAAE,MAAM,QAAQ,CAAC;AAClE,OAAO,KAAK,EAAE,MAAM,EAAE,eAAe,EAAE,MAAM,WAAW,CAAC;AAkRzD,qBAAa,eAAe;IAC1B,MAAM,CAAC,QAAQ,CAAC,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAAQ;IAC3B,MAAM,CAAC,eAAe,IAAI,eAAe;IAGzC,MAAM,CAAC,OAAO,CAAC,OAAO,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,cAAc,GAAG,IAAI,GAAG,MAAM;CAGxE"}
@@ -233,8 +233,47 @@ const _abi = [
233
233
  },
234
234
  {
235
235
  type: "error",
236
- name: "InvalidAccount",
237
- inputs: [],
236
+ name: "InvalidApprover",
237
+ inputs: [
238
+ {
239
+ name: "",
240
+ type: "address",
241
+ internalType: "address",
242
+ },
243
+ ],
244
+ },
245
+ {
246
+ type: "error",
247
+ name: "InvalidReceiver",
248
+ inputs: [
249
+ {
250
+ name: "",
251
+ type: "address",
252
+ internalType: "address",
253
+ },
254
+ ],
255
+ },
256
+ {
257
+ type: "error",
258
+ name: "InvalidSender",
259
+ inputs: [
260
+ {
261
+ name: "",
262
+ type: "address",
263
+ internalType: "address",
264
+ },
265
+ ],
266
+ },
267
+ {
268
+ type: "error",
269
+ name: "InvalidSpender",
270
+ inputs: [
271
+ {
272
+ name: "",
273
+ type: "address",
274
+ internalType: "address",
275
+ },
276
+ ],
238
277
  },
239
278
  ];
240
279
  class IERC20__factory {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@snowbridge/contract-types",
3
- "version": "0.1.36",
3
+ "version": "0.1.37",
4
4
  "description": "Snowbridge contract type bindings",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {