@0xmonaco/contracts 0.7.1 → 0.7.2

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.
@@ -448,6 +448,14 @@ export declare const VAULT_ABI: readonly [{
448
448
  readonly type: "function";
449
449
  }, {
450
450
  readonly inputs: readonly [{
451
+ readonly internalType: "address";
452
+ readonly name: "destination";
453
+ readonly type: "address";
454
+ }, {
455
+ readonly internalType: "string";
456
+ readonly name: "applicationId";
457
+ readonly type: "string";
458
+ }, {
451
459
  readonly internalType: "address";
452
460
  readonly name: "token";
453
461
  readonly type: "address";
@@ -455,28 +463,20 @@ export declare const VAULT_ABI: readonly [{
455
463
  readonly internalType: "uint256";
456
464
  readonly name: "amount";
457
465
  readonly type: "uint256";
458
- }, {
459
- readonly internalType: "bytes";
460
- readonly name: "seed";
461
- readonly type: "bytes";
462
- }, {
463
- readonly internalType: "bytes";
464
- readonly name: "signature";
465
- readonly type: "bytes";
466
466
  }];
467
- readonly name: "deposit";
467
+ readonly name: "depositERC20";
468
468
  readonly outputs: readonly [];
469
469
  readonly stateMutability: "nonpayable";
470
470
  readonly type: "function";
471
471
  }, {
472
472
  readonly inputs: readonly [{
473
- readonly internalType: "bytes";
474
- readonly name: "seed";
475
- readonly type: "bytes";
473
+ readonly internalType: "address";
474
+ readonly name: "destination";
475
+ readonly type: "address";
476
476
  }, {
477
- readonly internalType: "bytes";
478
- readonly name: "signature";
479
- readonly type: "bytes";
477
+ readonly internalType: "string";
478
+ readonly name: "applicationId";
479
+ readonly type: "string";
480
480
  }];
481
481
  readonly name: "depositNative";
482
482
  readonly outputs: readonly [];
@@ -579,26 +579,26 @@ export const VAULT_ABI = [
579
579
  inputs: [
580
580
  {
581
581
  internalType: "address",
582
- name: "token",
582
+ name: "destination",
583
583
  type: "address",
584
584
  },
585
585
  {
586
- internalType: "uint256",
587
- name: "amount",
588
- type: "uint256",
586
+ internalType: "string",
587
+ name: "applicationId",
588
+ type: "string",
589
589
  },
590
590
  {
591
- internalType: "bytes",
592
- name: "seed",
593
- type: "bytes",
591
+ internalType: "address",
592
+ name: "token",
593
+ type: "address",
594
594
  },
595
595
  {
596
- internalType: "bytes",
597
- name: "signature",
598
- type: "bytes",
596
+ internalType: "uint256",
597
+ name: "amount",
598
+ type: "uint256",
599
599
  },
600
600
  ],
601
- name: "deposit",
601
+ name: "depositERC20",
602
602
  outputs: [],
603
603
  stateMutability: "nonpayable",
604
604
  type: "function",
@@ -606,14 +606,14 @@ export const VAULT_ABI = [
606
606
  {
607
607
  inputs: [
608
608
  {
609
- internalType: "bytes",
610
- name: "seed",
611
- type: "bytes",
609
+ internalType: "address",
610
+ name: "destination",
611
+ type: "address",
612
612
  },
613
613
  {
614
- internalType: "bytes",
615
- name: "signature",
616
- type: "bytes",
614
+ internalType: "string",
615
+ name: "applicationId",
616
+ type: "string",
617
617
  },
618
618
  ],
619
619
  name: "depositNative",
package/dist/index.d.ts CHANGED
@@ -465,6 +465,14 @@ export declare const CONTRACT_ABIS: {
465
465
  readonly type: "function";
466
466
  }, {
467
467
  readonly inputs: readonly [{
468
+ readonly internalType: "address";
469
+ readonly name: "destination";
470
+ readonly type: "address";
471
+ }, {
472
+ readonly internalType: "string";
473
+ readonly name: "applicationId";
474
+ readonly type: "string";
475
+ }, {
468
476
  readonly internalType: "address";
469
477
  readonly name: "token";
470
478
  readonly type: "address";
@@ -472,28 +480,20 @@ export declare const CONTRACT_ABIS: {
472
480
  readonly internalType: "uint256";
473
481
  readonly name: "amount";
474
482
  readonly type: "uint256";
475
- }, {
476
- readonly internalType: "bytes";
477
- readonly name: "seed";
478
- readonly type: "bytes";
479
- }, {
480
- readonly internalType: "bytes";
481
- readonly name: "signature";
482
- readonly type: "bytes";
483
483
  }];
484
- readonly name: "deposit";
484
+ readonly name: "depositERC20";
485
485
  readonly outputs: readonly [];
486
486
  readonly stateMutability: "nonpayable";
487
487
  readonly type: "function";
488
488
  }, {
489
489
  readonly inputs: readonly [{
490
- readonly internalType: "bytes";
491
- readonly name: "seed";
492
- readonly type: "bytes";
490
+ readonly internalType: "address";
491
+ readonly name: "destination";
492
+ readonly type: "address";
493
493
  }, {
494
- readonly internalType: "bytes";
495
- readonly name: "signature";
496
- readonly type: "bytes";
494
+ readonly internalType: "string";
495
+ readonly name: "applicationId";
496
+ readonly type: "string";
497
497
  }];
498
498
  readonly name: "depositNative";
499
499
  readonly outputs: readonly [];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@0xmonaco/contracts",
3
- "version": "0.7.1",
3
+ "version": "0.7.2",
4
4
  "type": "module",
5
5
  "repository": {
6
6
  "type": "git",