@aromedia/contracts-sdk 0.2.0 → 1.0.0

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 (42) hide show
  1. package/dist/chains.d.cts +10 -0
  2. package/dist/chains.d.ts +10 -0
  3. package/dist/{chunk-7I5N3BGV.js → chunk-BENMJNYO.js} +3 -3
  4. package/dist/chunk-BENMJNYO.js.map +1 -0
  5. package/dist/{chunk-TZQHQLNY.js → chunk-EGUPIYHR.js} +2242 -199
  6. package/dist/chunk-EGUPIYHR.js.map +1 -0
  7. package/dist/{chunk-BYPGUFYV.js → chunk-VUYKYCOD.js} +1 -1
  8. package/dist/chunk-VUYKYCOD.js.map +1 -0
  9. package/dist/{chunk-FWZ7XKFC.js → chunk-WUHQC3GY.js} +22 -12
  10. package/dist/chunk-WUHQC3GY.js.map +1 -0
  11. package/dist/generated/abis.cjs +2245 -200
  12. package/dist/generated/abis.cjs.map +1 -1
  13. package/dist/generated/abis.d.cts +6046 -2916
  14. package/dist/generated/abis.d.ts +6046 -2916
  15. package/dist/generated/abis.js +7 -3
  16. package/dist/generated/addresses.cjs +21 -11
  17. package/dist/generated/addresses.cjs.map +1 -1
  18. package/dist/generated/addresses.js +1 -1
  19. package/dist/hooks/index.cjs +307 -27
  20. package/dist/hooks/index.cjs.map +1 -1
  21. package/dist/hooks/index.d.cts +46 -5
  22. package/dist/hooks/index.d.ts +46 -5
  23. package/dist/hooks/index.js +7 -3
  24. package/dist/hooks/index.js.map +1 -1
  25. package/dist/index.cjs +2421 -313
  26. package/dist/index.cjs.map +1 -1
  27. package/dist/index.d.cts +132 -14
  28. package/dist/index.d.ts +132 -14
  29. package/dist/index.js +60 -7
  30. package/dist/index.js.map +1 -1
  31. package/dist/{onboarding-DxL_LpM3.d.ts → onboarding-BD_g7Len.d.ts} +64 -9
  32. package/dist/{onboarding-BHpAJaNW.d.cts → onboarding-DDKwXy8O.d.cts} +64 -9
  33. package/dist/workflows/index.cjs +282 -17
  34. package/dist/workflows/index.cjs.map +1 -1
  35. package/dist/workflows/index.d.cts +1 -1
  36. package/dist/workflows/index.d.ts +1 -1
  37. package/dist/workflows/index.js +3 -3
  38. package/package.json +1 -1
  39. package/dist/chunk-7I5N3BGV.js.map +0 -1
  40. package/dist/chunk-BYPGUFYV.js.map +0 -1
  41. package/dist/chunk-FWZ7XKFC.js.map +0 -1
  42. package/dist/chunk-TZQHQLNY.js.map +0 -1
package/dist/index.cjs CHANGED
@@ -21,6 +21,7 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: tru
21
21
  var index_exports = {};
22
22
  __export(index_exports, {
23
23
  AroContractError: () => AroContractError,
24
+ AroLiquidityCommitment_ABI: () => AroLiquidityCommitment_ABI,
24
25
  AroMediaAccessManager_ABI: () => AroMediaAccessManager_ABI,
25
26
  AroMediaAssetsRegistry_ABI: () => AroMediaAssetsRegistry_ABI,
26
27
  AroMediaIncMultiSig_ABI: () => AroMediaIncMultiSig_ABI,
@@ -34,6 +35,7 @@ __export(index_exports, {
34
35
  ForcedTransferManager_ABI: () => ForcedTransferManager_ABI,
35
36
  ForcedTransferStatus: () => ForcedTransferStatus,
36
37
  ForcedTransferStatusLabels: () => ForcedTransferStatusLabels,
38
+ MINT_APPROVAL_TYPES: () => MINT_APPROVAL_TYPES,
37
39
  NominationStatus: () => NominationStatus,
38
40
  NominationStatusLabels: () => NominationStatusLabels,
39
41
  SUPPORTED_CHAIN_IDS: () => SUPPORTED_CHAIN_IDS,
@@ -44,6 +46,7 @@ __export(index_exports, {
44
46
  aroChains: () => aroChains,
45
47
  base: () => import_chains.base,
46
48
  baseSepolia: () => import_chains.baseSepolia,
49
+ cAROUSD_ABI: () => cAROUSD_ABI,
47
50
  chainById: () => chainById,
48
51
  chainLabels: () => chainLabels,
49
52
  checkMembershipStatus: () => checkMembershipStatus,
@@ -65,9 +68,12 @@ __export(index_exports, {
65
68
  hardhat: () => import_chains.hardhat,
66
69
  hashKycResult: () => hashKycResult,
67
70
  mainnet: () => import_chains.mainnet,
71
+ mintApprovalDomain: () => mintApprovalDomain,
72
+ mintApprovalTypedData: () => mintApprovalTypedData,
68
73
  mintSBTForApproved: () => mintSBTForApproved,
69
74
  nominateCandidate: () => nominateCandidate,
70
75
  sepolia: () => import_chains.sepolia,
76
+ signMintApproval: () => signMintApproval,
71
77
  tierAtLeast: () => tierAtLeast,
72
78
  tierLabel: () => tierLabel,
73
79
  tierRequirements: () => tierRequirements,
@@ -1782,6 +1788,86 @@ var AroMediaAccessManager_ABI = [
1782
1788
  "stateMutability": "nonpayable",
1783
1789
  "type": "function"
1784
1790
  },
1791
+ {
1792
+ "inputs": [
1793
+ {
1794
+ "internalType": "address",
1795
+ "name": "rwaToken",
1796
+ "type": "address"
1797
+ },
1798
+ {
1799
+ "internalType": "address",
1800
+ "name": "assetsRegistry",
1801
+ "type": "address"
1802
+ },
1803
+ {
1804
+ "internalType": "address",
1805
+ "name": "forcedTransferManager",
1806
+ "type": "address"
1807
+ },
1808
+ {
1809
+ "internalType": "address",
1810
+ "name": "sbt",
1811
+ "type": "address"
1812
+ }
1813
+ ],
1814
+ "name": "configureAccessControlForAllContracts",
1815
+ "outputs": [],
1816
+ "stateMutability": "nonpayable",
1817
+ "type": "function"
1818
+ },
1819
+ {
1820
+ "inputs": [
1821
+ {
1822
+ "internalType": "address",
1823
+ "name": "assetsRegistry",
1824
+ "type": "address"
1825
+ }
1826
+ ],
1827
+ "name": "configureAccessControlForAssetsRegistry",
1828
+ "outputs": [],
1829
+ "stateMutability": "nonpayable",
1830
+ "type": "function"
1831
+ },
1832
+ {
1833
+ "inputs": [
1834
+ {
1835
+ "internalType": "address",
1836
+ "name": "forcedTransferManager",
1837
+ "type": "address"
1838
+ }
1839
+ ],
1840
+ "name": "configureAccessControlForForcedTransferManager",
1841
+ "outputs": [],
1842
+ "stateMutability": "nonpayable",
1843
+ "type": "function"
1844
+ },
1845
+ {
1846
+ "inputs": [
1847
+ {
1848
+ "internalType": "address",
1849
+ "name": "rwaToken",
1850
+ "type": "address"
1851
+ }
1852
+ ],
1853
+ "name": "configureAccessControlForRWAToken",
1854
+ "outputs": [],
1855
+ "stateMutability": "nonpayable",
1856
+ "type": "function"
1857
+ },
1858
+ {
1859
+ "inputs": [
1860
+ {
1861
+ "internalType": "address",
1862
+ "name": "sbt",
1863
+ "type": "address"
1864
+ }
1865
+ ],
1866
+ "name": "configureAccessControlForSBT",
1867
+ "outputs": [],
1868
+ "stateMutability": "nonpayable",
1869
+ "type": "function"
1870
+ },
1785
1871
  {
1786
1872
  "inputs": [
1787
1873
  {
@@ -2434,104 +2520,6 @@ var AroMediaAccessManager_ABI = [
2434
2520
  "outputs": [],
2435
2521
  "stateMutability": "nonpayable",
2436
2522
  "type": "function"
2437
- },
2438
- {
2439
- "inputs": [
2440
- {
2441
- "internalType": "address",
2442
- "name": "rwaToken",
2443
- "type": "address"
2444
- },
2445
- {
2446
- "internalType": "address",
2447
- "name": "assetsRegistry",
2448
- "type": "address"
2449
- },
2450
- {
2451
- "internalType": "address",
2452
- "name": "forcedTransferManager",
2453
- "type": "address"
2454
- },
2455
- {
2456
- "internalType": "address",
2457
- "name": "sbt",
2458
- "type": "address"
2459
- },
2460
- {
2461
- "internalType": "address",
2462
- "name": "nomination",
2463
- "type": "address"
2464
- }
2465
- ],
2466
- "name": "wireAllContracts",
2467
- "outputs": [],
2468
- "stateMutability": "nonpayable",
2469
- "type": "function"
2470
- },
2471
- {
2472
- "inputs": [
2473
- {
2474
- "internalType": "address",
2475
- "name": "assetsRegistry",
2476
- "type": "address"
2477
- }
2478
- ],
2479
- "name": "wireAssetsRegistry",
2480
- "outputs": [],
2481
- "stateMutability": "nonpayable",
2482
- "type": "function"
2483
- },
2484
- {
2485
- "inputs": [
2486
- {
2487
- "internalType": "address",
2488
- "name": "forcedTransferManager",
2489
- "type": "address"
2490
- }
2491
- ],
2492
- "name": "wireForcedTransferManager",
2493
- "outputs": [],
2494
- "stateMutability": "nonpayable",
2495
- "type": "function"
2496
- },
2497
- {
2498
- "inputs": [
2499
- {
2500
- "internalType": "address",
2501
- "name": "nomination",
2502
- "type": "address"
2503
- }
2504
- ],
2505
- "name": "wireNomination",
2506
- "outputs": [],
2507
- "stateMutability": "nonpayable",
2508
- "type": "function"
2509
- },
2510
- {
2511
- "inputs": [
2512
- {
2513
- "internalType": "address",
2514
- "name": "rwaToken",
2515
- "type": "address"
2516
- }
2517
- ],
2518
- "name": "wireRWAToken",
2519
- "outputs": [],
2520
- "stateMutability": "nonpayable",
2521
- "type": "function"
2522
- },
2523
- {
2524
- "inputs": [
2525
- {
2526
- "internalType": "address",
2527
- "name": "sbt",
2528
- "type": "address"
2529
- }
2530
- ],
2531
- "name": "wireSBT",
2532
- "outputs": [],
2533
- "stateMutability": "nonpayable",
2534
- "type": "function"
2535
2523
  }
2536
2524
  ];
2537
2525
  var AroMediaRWA_ABI = [
@@ -2758,7 +2746,7 @@ var AroMediaRWA_ABI = [
2758
2746
  "inputs": [
2759
2747
  {
2760
2748
  "internalType": "address",
2761
- "name": "user",
2749
+ "name": "account",
2762
2750
  "type": "address"
2763
2751
  },
2764
2752
  {
@@ -3072,7 +3060,7 @@ var AroMediaRWA_ABI = [
3072
3060
  {
3073
3061
  "indexed": true,
3074
3062
  "internalType": "address",
3075
- "name": "user",
3063
+ "name": "account",
3076
3064
  "type": "address"
3077
3065
  },
3078
3066
  {
@@ -3390,6 +3378,25 @@ var AroMediaRWA_ABI = [
3390
3378
  "stateMutability": "nonpayable",
3391
3379
  "type": "function"
3392
3380
  },
3381
+ {
3382
+ "inputs": [
3383
+ {
3384
+ "internalType": "address",
3385
+ "name": "account",
3386
+ "type": "address"
3387
+ }
3388
+ ],
3389
+ "name": "canTransact",
3390
+ "outputs": [
3391
+ {
3392
+ "internalType": "bool",
3393
+ "name": "",
3394
+ "type": "bool"
3395
+ }
3396
+ ],
3397
+ "stateMutability": "view",
3398
+ "type": "function"
3399
+ },
3393
3400
  {
3394
3401
  "inputs": [
3395
3402
  {
@@ -5641,106 +5648,182 @@ var AroSBT_ABI = [
5641
5648
  "type": "error"
5642
5649
  },
5643
5650
  {
5644
- "inputs": [],
5645
- "name": "ERC721EnumerableForbiddenBatchMint",
5651
+ "inputs": [
5652
+ {
5653
+ "internalType": "bytes32",
5654
+ "name": "approvalDigest",
5655
+ "type": "bytes32"
5656
+ }
5657
+ ],
5658
+ "name": "ApprovalAlreadyUsed",
5646
5659
  "type": "error"
5647
5660
  },
5648
5661
  {
5649
5662
  "inputs": [
5650
5663
  {
5651
5664
  "internalType": "address",
5652
- "name": "sender",
5665
+ "name": "expected",
5653
5666
  "type": "address"
5654
5667
  },
5655
- {
5656
- "internalType": "uint256",
5657
- "name": "tokenId",
5658
- "type": "uint256"
5659
- },
5660
5668
  {
5661
5669
  "internalType": "address",
5662
- "name": "owner",
5670
+ "name": "caller",
5663
5671
  "type": "address"
5664
5672
  }
5665
5673
  ],
5666
- "name": "ERC721IncorrectOwner",
5674
+ "name": "ApprovalCandidateMismatch",
5667
5675
  "type": "error"
5668
5676
  },
5669
5677
  {
5670
5678
  "inputs": [
5671
5679
  {
5672
- "internalType": "address",
5673
- "name": "operator",
5674
- "type": "address"
5675
- },
5676
- {
5677
- "internalType": "uint256",
5678
- "name": "tokenId",
5679
- "type": "uint256"
5680
+ "internalType": "uint64",
5681
+ "name": "deadline",
5682
+ "type": "uint64"
5680
5683
  }
5681
5684
  ],
5682
- "name": "ERC721InsufficientApproval",
5685
+ "name": "ApprovalExpired",
5683
5686
  "type": "error"
5684
5687
  },
5685
5688
  {
5686
5689
  "inputs": [
5687
5690
  {
5688
5691
  "internalType": "address",
5689
- "name": "approver",
5692
+ "name": "signer",
5690
5693
  "type": "address"
5691
5694
  }
5692
5695
  ],
5693
- "name": "ERC721InvalidApprover",
5696
+ "name": "ApprovalSignerNotApprover",
5694
5697
  "type": "error"
5695
5698
  },
5696
5699
  {
5697
- "inputs": [
5698
- {
5699
- "internalType": "address",
5700
- "name": "operator",
5701
- "type": "address"
5702
- }
5703
- ],
5704
- "name": "ERC721InvalidOperator",
5700
+ "inputs": [],
5701
+ "name": "ECDSAInvalidSignature",
5705
5702
  "type": "error"
5706
5703
  },
5707
5704
  {
5708
5705
  "inputs": [
5709
5706
  {
5710
- "internalType": "address",
5711
- "name": "owner",
5712
- "type": "address"
5707
+ "internalType": "uint256",
5708
+ "name": "length",
5709
+ "type": "uint256"
5713
5710
  }
5714
5711
  ],
5715
- "name": "ERC721InvalidOwner",
5712
+ "name": "ECDSAInvalidSignatureLength",
5716
5713
  "type": "error"
5717
5714
  },
5718
5715
  {
5719
5716
  "inputs": [
5720
5717
  {
5721
- "internalType": "address",
5722
- "name": "receiver",
5723
- "type": "address"
5718
+ "internalType": "bytes32",
5719
+ "name": "s",
5720
+ "type": "bytes32"
5724
5721
  }
5725
5722
  ],
5726
- "name": "ERC721InvalidReceiver",
5723
+ "name": "ECDSAInvalidSignatureS",
5727
5724
  "type": "error"
5728
5725
  },
5729
5726
  {
5730
- "inputs": [
5731
- {
5732
- "internalType": "address",
5733
- "name": "sender",
5734
- "type": "address"
5735
- }
5736
- ],
5737
- "name": "ERC721InvalidSender",
5727
+ "inputs": [],
5728
+ "name": "ERC721EnumerableForbiddenBatchMint",
5738
5729
  "type": "error"
5739
5730
  },
5740
5731
  {
5741
5732
  "inputs": [
5742
5733
  {
5743
- "internalType": "uint256",
5734
+ "internalType": "address",
5735
+ "name": "sender",
5736
+ "type": "address"
5737
+ },
5738
+ {
5739
+ "internalType": "uint256",
5740
+ "name": "tokenId",
5741
+ "type": "uint256"
5742
+ },
5743
+ {
5744
+ "internalType": "address",
5745
+ "name": "owner",
5746
+ "type": "address"
5747
+ }
5748
+ ],
5749
+ "name": "ERC721IncorrectOwner",
5750
+ "type": "error"
5751
+ },
5752
+ {
5753
+ "inputs": [
5754
+ {
5755
+ "internalType": "address",
5756
+ "name": "operator",
5757
+ "type": "address"
5758
+ },
5759
+ {
5760
+ "internalType": "uint256",
5761
+ "name": "tokenId",
5762
+ "type": "uint256"
5763
+ }
5764
+ ],
5765
+ "name": "ERC721InsufficientApproval",
5766
+ "type": "error"
5767
+ },
5768
+ {
5769
+ "inputs": [
5770
+ {
5771
+ "internalType": "address",
5772
+ "name": "approver",
5773
+ "type": "address"
5774
+ }
5775
+ ],
5776
+ "name": "ERC721InvalidApprover",
5777
+ "type": "error"
5778
+ },
5779
+ {
5780
+ "inputs": [
5781
+ {
5782
+ "internalType": "address",
5783
+ "name": "operator",
5784
+ "type": "address"
5785
+ }
5786
+ ],
5787
+ "name": "ERC721InvalidOperator",
5788
+ "type": "error"
5789
+ },
5790
+ {
5791
+ "inputs": [
5792
+ {
5793
+ "internalType": "address",
5794
+ "name": "owner",
5795
+ "type": "address"
5796
+ }
5797
+ ],
5798
+ "name": "ERC721InvalidOwner",
5799
+ "type": "error"
5800
+ },
5801
+ {
5802
+ "inputs": [
5803
+ {
5804
+ "internalType": "address",
5805
+ "name": "receiver",
5806
+ "type": "address"
5807
+ }
5808
+ ],
5809
+ "name": "ERC721InvalidReceiver",
5810
+ "type": "error"
5811
+ },
5812
+ {
5813
+ "inputs": [
5814
+ {
5815
+ "internalType": "address",
5816
+ "name": "sender",
5817
+ "type": "address"
5818
+ }
5819
+ ],
5820
+ "name": "ERC721InvalidSender",
5821
+ "type": "error"
5822
+ },
5823
+ {
5824
+ "inputs": [
5825
+ {
5826
+ "internalType": "uint256",
5744
5827
  "name": "tokenId",
5745
5828
  "type": "uint256"
5746
5829
  }
@@ -5774,6 +5857,11 @@ var AroSBT_ABI = [
5774
5857
  "name": "ExpectedPause",
5775
5858
  "type": "error"
5776
5859
  },
5860
+ {
5861
+ "inputs": [],
5862
+ "name": "InvalidShortString",
5863
+ "type": "error"
5864
+ },
5777
5865
  {
5778
5866
  "inputs": [
5779
5867
  {
@@ -5790,6 +5878,17 @@ var AroSBT_ABI = [
5790
5878
  "name": "SoulboundTransferBlocked",
5791
5879
  "type": "error"
5792
5880
  },
5881
+ {
5882
+ "inputs": [
5883
+ {
5884
+ "internalType": "string",
5885
+ "name": "str",
5886
+ "type": "string"
5887
+ }
5888
+ ],
5889
+ "name": "StringTooLong",
5890
+ "type": "error"
5891
+ },
5793
5892
  {
5794
5893
  "anonymous": false,
5795
5894
  "inputs": [
@@ -5872,6 +5971,12 @@ var AroSBT_ABI = [
5872
5971
  "name": "BatchMetadataUpdate",
5873
5972
  "type": "event"
5874
5973
  },
5974
+ {
5975
+ "anonymous": false,
5976
+ "inputs": [],
5977
+ "name": "EIP712DomainChanged",
5978
+ "type": "event"
5979
+ },
5875
5980
  {
5876
5981
  "anonymous": false,
5877
5982
  "inputs": [
@@ -5908,9 +6013,9 @@ var AroSBT_ABI = [
5908
6013
  },
5909
6014
  {
5910
6015
  "indexed": false,
5911
- "internalType": "enum AroSBT.Tier",
6016
+ "internalType": "uint256",
5912
6017
  "name": "tier",
5913
- "type": "uint8"
6018
+ "type": "uint256"
5914
6019
  },
5915
6020
  {
5916
6021
  "indexed": false,
@@ -5960,6 +6065,37 @@ var AroSBT_ABI = [
5960
6065
  "name": "MetadataUpdate",
5961
6066
  "type": "event"
5962
6067
  },
6068
+ {
6069
+ "anonymous": false,
6070
+ "inputs": [
6071
+ {
6072
+ "indexed": true,
6073
+ "internalType": "address",
6074
+ "name": "candidate",
6075
+ "type": "address"
6076
+ },
6077
+ {
6078
+ "indexed": true,
6079
+ "internalType": "bytes32",
6080
+ "name": "approvalDigest",
6081
+ "type": "bytes32"
6082
+ },
6083
+ {
6084
+ "indexed": true,
6085
+ "internalType": "address",
6086
+ "name": "approver",
6087
+ "type": "address"
6088
+ },
6089
+ {
6090
+ "indexed": false,
6091
+ "internalType": "bytes32",
6092
+ "name": "nominationId",
6093
+ "type": "bytes32"
6094
+ }
6095
+ ],
6096
+ "name": "MintApprovalConsumed",
6097
+ "type": "event"
6098
+ },
5963
6099
  {
5964
6100
  "anonymous": false,
5965
6101
  "inputs": [
@@ -5990,15 +6126,15 @@ var AroSBT_ABI = [
5990
6126
  },
5991
6127
  {
5992
6128
  "indexed": false,
5993
- "internalType": "enum AroSBT.Tier",
6129
+ "internalType": "uint256",
5994
6130
  "name": "oldTier",
5995
- "type": "uint8"
6131
+ "type": "uint256"
5996
6132
  },
5997
6133
  {
5998
6134
  "indexed": false,
5999
- "internalType": "enum AroSBT.Tier",
6135
+ "internalType": "uint256",
6000
6136
  "name": "newTier",
6001
- "type": "uint8"
6137
+ "type": "uint256"
6002
6138
  }
6003
6139
  ],
6004
6140
  "name": "TierUpdated",
@@ -6055,6 +6191,19 @@ var AroSBT_ABI = [
6055
6191
  "name": "Unpaused",
6056
6192
  "type": "event"
6057
6193
  },
6194
+ {
6195
+ "inputs": [],
6196
+ "name": "APPROVER_ROLE",
6197
+ "outputs": [
6198
+ {
6199
+ "internalType": "uint64",
6200
+ "name": "",
6201
+ "type": "uint64"
6202
+ }
6203
+ ],
6204
+ "stateMutability": "view",
6205
+ "type": "function"
6206
+ },
6058
6207
  {
6059
6208
  "inputs": [
6060
6209
  {
@@ -6105,6 +6254,49 @@ var AroSBT_ABI = [
6105
6254
  "stateMutability": "view",
6106
6255
  "type": "function"
6107
6256
  },
6257
+ {
6258
+ "inputs": [],
6259
+ "name": "eip712Domain",
6260
+ "outputs": [
6261
+ {
6262
+ "internalType": "bytes1",
6263
+ "name": "fields",
6264
+ "type": "bytes1"
6265
+ },
6266
+ {
6267
+ "internalType": "string",
6268
+ "name": "name",
6269
+ "type": "string"
6270
+ },
6271
+ {
6272
+ "internalType": "string",
6273
+ "name": "version",
6274
+ "type": "string"
6275
+ },
6276
+ {
6277
+ "internalType": "uint256",
6278
+ "name": "chainId",
6279
+ "type": "uint256"
6280
+ },
6281
+ {
6282
+ "internalType": "address",
6283
+ "name": "verifyingContract",
6284
+ "type": "address"
6285
+ },
6286
+ {
6287
+ "internalType": "bytes32",
6288
+ "name": "salt",
6289
+ "type": "bytes32"
6290
+ },
6291
+ {
6292
+ "internalType": "uint256[]",
6293
+ "name": "extensions",
6294
+ "type": "uint256[]"
6295
+ }
6296
+ ],
6297
+ "stateMutability": "view",
6298
+ "type": "function"
6299
+ },
6108
6300
  {
6109
6301
  "inputs": [
6110
6302
  {
@@ -6147,9 +6339,9 @@ var AroSBT_ABI = [
6147
6339
  "type": "uint256"
6148
6340
  },
6149
6341
  {
6150
- "internalType": "enum AroSBT.Tier",
6342
+ "internalType": "uint256",
6151
6343
  "name": "tier",
6152
- "type": "uint8"
6344
+ "type": "uint256"
6153
6345
  },
6154
6346
  {
6155
6347
  "internalType": "bytes32",
@@ -6188,9 +6380,9 @@ var AroSBT_ABI = [
6188
6380
  "type": "uint256"
6189
6381
  },
6190
6382
  {
6191
- "internalType": "enum AroSBT.Tier",
6383
+ "internalType": "uint256",
6192
6384
  "name": "tier",
6193
- "type": "uint8"
6385
+ "type": "uint256"
6194
6386
  },
6195
6387
  {
6196
6388
  "internalType": "bytes32",
@@ -6297,6 +6489,11 @@ var AroSBT_ABI = [
6297
6489
  "internalType": "string",
6298
6490
  "name": "metadataURI",
6299
6491
  "type": "string"
6492
+ },
6493
+ {
6494
+ "internalType": "uint256",
6495
+ "name": "tier",
6496
+ "type": "uint256"
6300
6497
  }
6301
6498
  ],
6302
6499
  "name": "mint",
@@ -6326,11 +6523,6 @@ var AroSBT_ABI = [
6326
6523
  "internalType": "string",
6327
6524
  "name": "metadataURI",
6328
6525
  "type": "string"
6329
- },
6330
- {
6331
- "internalType": "enum AroSBT.Tier",
6332
- "name": "tier",
6333
- "type": "uint8"
6334
6526
  }
6335
6527
  ],
6336
6528
  "name": "mint",
@@ -6344,43 +6536,104 @@ var AroSBT_ABI = [
6344
6536
  "stateMutability": "nonpayable",
6345
6537
  "type": "function"
6346
6538
  },
6347
- {
6348
- "inputs": [],
6349
- "name": "name",
6350
- "outputs": [
6351
- {
6352
- "internalType": "string",
6353
- "name": "",
6354
- "type": "string"
6355
- }
6356
- ],
6357
- "stateMutability": "view",
6358
- "type": "function"
6359
- },
6360
6539
  {
6361
6540
  "inputs": [
6362
6541
  {
6363
- "internalType": "uint256",
6364
- "name": "tokenId",
6365
- "type": "uint256"
6366
- }
6367
- ],
6368
- "name": "ownerOf",
6369
- "outputs": [
6370
- {
6371
- "internalType": "address",
6372
- "name": "",
6373
- "type": "address"
6374
- }
6375
- ],
6376
- "stateMutability": "view",
6377
- "type": "function"
6378
- },
6379
- {
6380
- "inputs": [],
6381
- "name": "pause",
6382
- "outputs": [],
6383
- "stateMutability": "nonpayable",
6542
+ "components": [
6543
+ {
6544
+ "internalType": "address",
6545
+ "name": "candidate",
6546
+ "type": "address"
6547
+ },
6548
+ {
6549
+ "internalType": "uint256",
6550
+ "name": "tier",
6551
+ "type": "uint256"
6552
+ },
6553
+ {
6554
+ "internalType": "bytes32",
6555
+ "name": "kycHash",
6556
+ "type": "bytes32"
6557
+ },
6558
+ {
6559
+ "internalType": "bytes32",
6560
+ "name": "nominationId",
6561
+ "type": "bytes32"
6562
+ },
6563
+ {
6564
+ "internalType": "string",
6565
+ "name": "metadataURI",
6566
+ "type": "string"
6567
+ },
6568
+ {
6569
+ "internalType": "uint64",
6570
+ "name": "deadline",
6571
+ "type": "uint64"
6572
+ },
6573
+ {
6574
+ "internalType": "bytes32",
6575
+ "name": "nonce",
6576
+ "type": "bytes32"
6577
+ }
6578
+ ],
6579
+ "internalType": "struct AroSBT.MintApproval",
6580
+ "name": "approval",
6581
+ "type": "tuple"
6582
+ },
6583
+ {
6584
+ "internalType": "bytes",
6585
+ "name": "signature",
6586
+ "type": "bytes"
6587
+ }
6588
+ ],
6589
+ "name": "mintWithApproval",
6590
+ "outputs": [
6591
+ {
6592
+ "internalType": "uint256",
6593
+ "name": "",
6594
+ "type": "uint256"
6595
+ }
6596
+ ],
6597
+ "stateMutability": "nonpayable",
6598
+ "type": "function"
6599
+ },
6600
+ {
6601
+ "inputs": [],
6602
+ "name": "name",
6603
+ "outputs": [
6604
+ {
6605
+ "internalType": "string",
6606
+ "name": "",
6607
+ "type": "string"
6608
+ }
6609
+ ],
6610
+ "stateMutability": "view",
6611
+ "type": "function"
6612
+ },
6613
+ {
6614
+ "inputs": [
6615
+ {
6616
+ "internalType": "uint256",
6617
+ "name": "tokenId",
6618
+ "type": "uint256"
6619
+ }
6620
+ ],
6621
+ "name": "ownerOf",
6622
+ "outputs": [
6623
+ {
6624
+ "internalType": "address",
6625
+ "name": "",
6626
+ "type": "address"
6627
+ }
6628
+ ],
6629
+ "stateMutability": "view",
6630
+ "type": "function"
6631
+ },
6632
+ {
6633
+ "inputs": [],
6634
+ "name": "pause",
6635
+ "outputs": [],
6636
+ "stateMutability": "nonpayable",
6384
6637
  "type": "function"
6385
6638
  },
6386
6639
  {
@@ -6499,9 +6752,9 @@ var AroSBT_ABI = [
6499
6752
  "type": "uint256"
6500
6753
  },
6501
6754
  {
6502
- "internalType": "enum AroSBT.Tier",
6755
+ "internalType": "uint256",
6503
6756
  "name": "newTier",
6504
- "type": "uint8"
6757
+ "type": "uint256"
6505
6758
  }
6506
6759
  ],
6507
6760
  "name": "setTier",
@@ -6695,6 +6948,25 @@ var AroSBT_ABI = [
6695
6948
  "outputs": [],
6696
6949
  "stateMutability": "nonpayable",
6697
6950
  "type": "function"
6951
+ },
6952
+ {
6953
+ "inputs": [
6954
+ {
6955
+ "internalType": "bytes32",
6956
+ "name": "",
6957
+ "type": "bytes32"
6958
+ }
6959
+ ],
6960
+ "name": "usedApprovals",
6961
+ "outputs": [
6962
+ {
6963
+ "internalType": "bool",
6964
+ "name": "",
6965
+ "type": "bool"
6966
+ }
6967
+ ],
6968
+ "stateMutability": "view",
6969
+ "type": "function"
6698
6970
  }
6699
6971
  ];
6700
6972
  var AroNomination_ABI = [
@@ -6949,152 +7221,1869 @@ var AroNomination_ABI = [
6949
7221
  "anonymous": false,
6950
7222
  "inputs": [
6951
7223
  {
6952
- "indexed": false,
7224
+ "indexed": false,
7225
+ "internalType": "address",
7226
+ "name": "oldContract",
7227
+ "type": "address"
7228
+ },
7229
+ {
7230
+ "indexed": false,
7231
+ "internalType": "address",
7232
+ "name": "newContract",
7233
+ "type": "address"
7234
+ }
7235
+ ],
7236
+ "name": "SBTContractUpdated",
7237
+ "type": "event"
7238
+ },
7239
+ {
7240
+ "anonymous": false,
7241
+ "inputs": [
7242
+ {
7243
+ "indexed": false,
7244
+ "internalType": "uint256",
7245
+ "name": "oldThreshold",
7246
+ "type": "uint256"
7247
+ },
7248
+ {
7249
+ "indexed": false,
7250
+ "internalType": "uint256",
7251
+ "name": "newThreshold",
7252
+ "type": "uint256"
7253
+ }
7254
+ ],
7255
+ "name": "ThresholdUpdated",
7256
+ "type": "event"
7257
+ },
7258
+ {
7259
+ "inputs": [],
7260
+ "name": "authority",
7261
+ "outputs": [
7262
+ {
7263
+ "internalType": "address",
7264
+ "name": "",
7265
+ "type": "address"
7266
+ }
7267
+ ],
7268
+ "stateMutability": "view",
7269
+ "type": "function"
7270
+ },
7271
+ {
7272
+ "inputs": [
7273
+ {
7274
+ "internalType": "address",
7275
+ "name": "candidate",
7276
+ "type": "address"
7277
+ }
7278
+ ],
7279
+ "name": "clearNomination",
7280
+ "outputs": [],
7281
+ "stateMutability": "nonpayable",
7282
+ "type": "function"
7283
+ },
7284
+ {
7285
+ "inputs": [
7286
+ {
7287
+ "internalType": "address",
7288
+ "name": "candidate",
7289
+ "type": "address"
7290
+ }
7291
+ ],
7292
+ "name": "getNomination",
7293
+ "outputs": [
7294
+ {
7295
+ "internalType": "address",
7296
+ "name": "nominator",
7297
+ "type": "address"
7298
+ },
7299
+ {
7300
+ "internalType": "address[]",
7301
+ "name": "vouchers",
7302
+ "type": "address[]"
7303
+ },
7304
+ {
7305
+ "internalType": "uint256",
7306
+ "name": "nominatedAt",
7307
+ "type": "uint256"
7308
+ },
7309
+ {
7310
+ "internalType": "enum AroNomination.NominationStatus",
7311
+ "name": "status",
7312
+ "type": "uint8"
7313
+ }
7314
+ ],
7315
+ "stateMutability": "view",
7316
+ "type": "function"
7317
+ },
7318
+ {
7319
+ "inputs": [
7320
+ {
7321
+ "internalType": "address",
7322
+ "name": "candidate",
7323
+ "type": "address"
7324
+ }
7325
+ ],
7326
+ "name": "getNominationCount",
7327
+ "outputs": [
7328
+ {
7329
+ "internalType": "uint256",
7330
+ "name": "",
7331
+ "type": "uint256"
7332
+ }
7333
+ ],
7334
+ "stateMutability": "view",
7335
+ "type": "function"
7336
+ },
7337
+ {
7338
+ "inputs": [
7339
+ {
7340
+ "internalType": "address",
7341
+ "name": "candidate",
7342
+ "type": "address"
7343
+ }
7344
+ ],
7345
+ "name": "getNominationStatus",
7346
+ "outputs": [
7347
+ {
7348
+ "internalType": "enum AroNomination.NominationStatus",
7349
+ "name": "",
7350
+ "type": "uint8"
7351
+ }
7352
+ ],
7353
+ "stateMutability": "view",
7354
+ "type": "function"
7355
+ },
7356
+ {
7357
+ "inputs": [
7358
+ {
7359
+ "internalType": "address",
7360
+ "name": "candidate",
7361
+ "type": "address"
7362
+ }
7363
+ ],
7364
+ "name": "getNominator",
7365
+ "outputs": [
7366
+ {
7367
+ "internalType": "address",
7368
+ "name": "",
7369
+ "type": "address"
7370
+ }
7371
+ ],
7372
+ "stateMutability": "view",
7373
+ "type": "function"
7374
+ },
7375
+ {
7376
+ "inputs": [
7377
+ {
7378
+ "internalType": "address",
7379
+ "name": "candidate",
7380
+ "type": "address"
7381
+ }
7382
+ ],
7383
+ "name": "getVouchers",
7384
+ "outputs": [
7385
+ {
7386
+ "internalType": "address[]",
7387
+ "name": "",
7388
+ "type": "address[]"
7389
+ }
7390
+ ],
7391
+ "stateMutability": "view",
7392
+ "type": "function"
7393
+ },
7394
+ {
7395
+ "inputs": [
7396
+ {
7397
+ "internalType": "address",
7398
+ "name": "voucher",
7399
+ "type": "address"
7400
+ },
7401
+ {
7402
+ "internalType": "address",
7403
+ "name": "candidate",
7404
+ "type": "address"
7405
+ }
7406
+ ],
7407
+ "name": "hasVouched",
7408
+ "outputs": [
7409
+ {
7410
+ "internalType": "bool",
7411
+ "name": "",
7412
+ "type": "bool"
7413
+ }
7414
+ ],
7415
+ "stateMutability": "view",
7416
+ "type": "function"
7417
+ },
7418
+ {
7419
+ "inputs": [],
7420
+ "name": "isConsumingScheduledOp",
7421
+ "outputs": [
7422
+ {
7423
+ "internalType": "bytes4",
7424
+ "name": "",
7425
+ "type": "bytes4"
7426
+ }
7427
+ ],
7428
+ "stateMutability": "view",
7429
+ "type": "function"
7430
+ },
7431
+ {
7432
+ "inputs": [
7433
+ {
7434
+ "internalType": "address",
7435
+ "name": "candidate",
7436
+ "type": "address"
7437
+ }
7438
+ ],
7439
+ "name": "isNominated",
7440
+ "outputs": [
7441
+ {
7442
+ "internalType": "bool",
7443
+ "name": "",
7444
+ "type": "bool"
7445
+ }
7446
+ ],
7447
+ "stateMutability": "view",
7448
+ "type": "function"
7449
+ },
7450
+ {
7451
+ "inputs": [
7452
+ {
7453
+ "internalType": "address",
7454
+ "name": "candidate",
7455
+ "type": "address"
7456
+ }
7457
+ ],
7458
+ "name": "nominate",
7459
+ "outputs": [],
7460
+ "stateMutability": "nonpayable",
7461
+ "type": "function"
7462
+ },
7463
+ {
7464
+ "inputs": [],
7465
+ "name": "sbtContract",
7466
+ "outputs": [
7467
+ {
7468
+ "internalType": "contract AroSBT",
7469
+ "name": "",
7470
+ "type": "address"
7471
+ }
7472
+ ],
7473
+ "stateMutability": "view",
7474
+ "type": "function"
7475
+ },
7476
+ {
7477
+ "inputs": [
7478
+ {
7479
+ "internalType": "address",
7480
+ "name": "newAuthority",
7481
+ "type": "address"
7482
+ }
7483
+ ],
7484
+ "name": "setAuthority",
7485
+ "outputs": [],
7486
+ "stateMutability": "nonpayable",
7487
+ "type": "function"
7488
+ },
7489
+ {
7490
+ "inputs": [
7491
+ {
7492
+ "internalType": "address",
7493
+ "name": "newSBTContract",
7494
+ "type": "address"
7495
+ }
7496
+ ],
7497
+ "name": "setSBTContract",
7498
+ "outputs": [],
7499
+ "stateMutability": "nonpayable",
7500
+ "type": "function"
7501
+ },
7502
+ {
7503
+ "inputs": [
7504
+ {
7505
+ "internalType": "uint256",
7506
+ "name": "newThreshold",
7507
+ "type": "uint256"
7508
+ }
7509
+ ],
7510
+ "name": "setThreshold",
7511
+ "outputs": [],
7512
+ "stateMutability": "nonpayable",
7513
+ "type": "function"
7514
+ },
7515
+ {
7516
+ "inputs": [],
7517
+ "name": "threshold",
7518
+ "outputs": [
7519
+ {
7520
+ "internalType": "uint256",
7521
+ "name": "",
7522
+ "type": "uint256"
7523
+ }
7524
+ ],
7525
+ "stateMutability": "view",
7526
+ "type": "function"
7527
+ },
7528
+ {
7529
+ "inputs": [
7530
+ {
7531
+ "internalType": "address",
7532
+ "name": "candidate",
7533
+ "type": "address"
7534
+ }
7535
+ ],
7536
+ "name": "vouch",
7537
+ "outputs": [],
7538
+ "stateMutability": "nonpayable",
7539
+ "type": "function"
7540
+ }
7541
+ ];
7542
+ var cAROUSD_ABI = [
7543
+ {
7544
+ "inputs": [
7545
+ {
7546
+ "internalType": "address",
7547
+ "name": "initialAuthority",
7548
+ "type": "address"
7549
+ },
7550
+ {
7551
+ "internalType": "string",
7552
+ "name": "tokenURI_",
7553
+ "type": "string"
7554
+ }
7555
+ ],
7556
+ "stateMutability": "nonpayable",
7557
+ "type": "constructor"
7558
+ },
7559
+ {
7560
+ "inputs": [
7561
+ {
7562
+ "internalType": "address",
7563
+ "name": "authority",
7564
+ "type": "address"
7565
+ }
7566
+ ],
7567
+ "name": "AccessManagedInvalidAuthority",
7568
+ "type": "error"
7569
+ },
7570
+ {
7571
+ "inputs": [
7572
+ {
7573
+ "internalType": "address",
7574
+ "name": "caller",
7575
+ "type": "address"
7576
+ },
7577
+ {
7578
+ "internalType": "uint32",
7579
+ "name": "delay",
7580
+ "type": "uint32"
7581
+ }
7582
+ ],
7583
+ "name": "AccessManagedRequiredDelay",
7584
+ "type": "error"
7585
+ },
7586
+ {
7587
+ "inputs": [
7588
+ {
7589
+ "internalType": "address",
7590
+ "name": "caller",
7591
+ "type": "address"
7592
+ }
7593
+ ],
7594
+ "name": "AccessManagedUnauthorized",
7595
+ "type": "error"
7596
+ },
7597
+ {
7598
+ "inputs": [],
7599
+ "name": "ContractPaused",
7600
+ "type": "error"
7601
+ },
7602
+ {
7603
+ "inputs": [
7604
+ {
7605
+ "internalType": "uint256",
7606
+ "name": "requestId",
7607
+ "type": "uint256"
7608
+ }
7609
+ ],
7610
+ "name": "ERC7984InvalidGatewayRequest",
7611
+ "type": "error"
7612
+ },
7613
+ {
7614
+ "inputs": [
7615
+ {
7616
+ "internalType": "address",
7617
+ "name": "receiver",
7618
+ "type": "address"
7619
+ }
7620
+ ],
7621
+ "name": "ERC7984InvalidReceiver",
7622
+ "type": "error"
7623
+ },
7624
+ {
7625
+ "inputs": [
7626
+ {
7627
+ "internalType": "address",
7628
+ "name": "sender",
7629
+ "type": "address"
7630
+ }
7631
+ ],
7632
+ "name": "ERC7984InvalidSender",
7633
+ "type": "error"
7634
+ },
7635
+ {
7636
+ "inputs": [
7637
+ {
7638
+ "internalType": "address",
7639
+ "name": "caller",
7640
+ "type": "address"
7641
+ }
7642
+ ],
7643
+ "name": "ERC7984UnauthorizedCaller",
7644
+ "type": "error"
7645
+ },
7646
+ {
7647
+ "inputs": [
7648
+ {
7649
+ "internalType": "address",
7650
+ "name": "holder",
7651
+ "type": "address"
7652
+ },
7653
+ {
7654
+ "internalType": "address",
7655
+ "name": "spender",
7656
+ "type": "address"
7657
+ }
7658
+ ],
7659
+ "name": "ERC7984UnauthorizedSpender",
7660
+ "type": "error"
7661
+ },
7662
+ {
7663
+ "inputs": [
7664
+ {
7665
+ "internalType": "euint64",
7666
+ "name": "amount",
7667
+ "type": "bytes32"
7668
+ },
7669
+ {
7670
+ "internalType": "address",
7671
+ "name": "user",
7672
+ "type": "address"
7673
+ }
7674
+ ],
7675
+ "name": "ERC7984UnauthorizedUseOfEncryptedAmount",
7676
+ "type": "error"
7677
+ },
7678
+ {
7679
+ "inputs": [
7680
+ {
7681
+ "internalType": "address",
7682
+ "name": "holder",
7683
+ "type": "address"
7684
+ }
7685
+ ],
7686
+ "name": "ERC7984ZeroBalance",
7687
+ "type": "error"
7688
+ },
7689
+ {
7690
+ "inputs": [],
7691
+ "name": "InvalidKMSSignatures",
7692
+ "type": "error"
7693
+ },
7694
+ {
7695
+ "inputs": [
7696
+ {
7697
+ "internalType": "bytes32",
7698
+ "name": "handle",
7699
+ "type": "bytes32"
7700
+ },
7701
+ {
7702
+ "internalType": "address",
7703
+ "name": "sender",
7704
+ "type": "address"
7705
+ }
7706
+ ],
7707
+ "name": "SenderNotAllowedToUseHandle",
7708
+ "type": "error"
7709
+ },
7710
+ {
7711
+ "anonymous": false,
7712
+ "inputs": [
7713
+ {
7714
+ "indexed": true,
7715
+ "internalType": "euint64",
7716
+ "name": "encryptedAmount",
7717
+ "type": "bytes32"
7718
+ },
7719
+ {
7720
+ "indexed": true,
7721
+ "internalType": "address",
7722
+ "name": "requester",
7723
+ "type": "address"
7724
+ }
7725
+ ],
7726
+ "name": "AmountDiscloseRequested",
7727
+ "type": "event"
7728
+ },
7729
+ {
7730
+ "anonymous": false,
7731
+ "inputs": [
7732
+ {
7733
+ "indexed": true,
7734
+ "internalType": "euint64",
7735
+ "name": "encryptedAmount",
7736
+ "type": "bytes32"
7737
+ },
7738
+ {
7739
+ "indexed": false,
7740
+ "internalType": "uint64",
7741
+ "name": "amount",
7742
+ "type": "uint64"
7743
+ }
7744
+ ],
7745
+ "name": "AmountDisclosed",
7746
+ "type": "event"
7747
+ },
7748
+ {
7749
+ "anonymous": false,
7750
+ "inputs": [
7751
+ {
7752
+ "indexed": false,
7753
+ "internalType": "address",
7754
+ "name": "authority",
7755
+ "type": "address"
7756
+ }
7757
+ ],
7758
+ "name": "AuthorityUpdated",
7759
+ "type": "event"
7760
+ },
7761
+ {
7762
+ "anonymous": false,
7763
+ "inputs": [
7764
+ {
7765
+ "indexed": true,
7766
+ "internalType": "address",
7767
+ "name": "from",
7768
+ "type": "address"
7769
+ },
7770
+ {
7771
+ "indexed": true,
7772
+ "internalType": "address",
7773
+ "name": "to",
7774
+ "type": "address"
7775
+ },
7776
+ {
7777
+ "indexed": true,
7778
+ "internalType": "euint64",
7779
+ "name": "amount",
7780
+ "type": "bytes32"
7781
+ }
7782
+ ],
7783
+ "name": "ConfidentialTransfer",
7784
+ "type": "event"
7785
+ },
7786
+ {
7787
+ "anonymous": false,
7788
+ "inputs": [
7789
+ {
7790
+ "indexed": true,
7791
+ "internalType": "address",
7792
+ "name": "holder",
7793
+ "type": "address"
7794
+ },
7795
+ {
7796
+ "indexed": true,
7797
+ "internalType": "address",
7798
+ "name": "operator",
7799
+ "type": "address"
7800
+ },
7801
+ {
7802
+ "indexed": false,
7803
+ "internalType": "uint48",
7804
+ "name": "until",
7805
+ "type": "uint48"
7806
+ }
7807
+ ],
7808
+ "name": "OperatorSet",
7809
+ "type": "event"
7810
+ },
7811
+ {
7812
+ "anonymous": false,
7813
+ "inputs": [
7814
+ {
7815
+ "indexed": false,
7816
+ "internalType": "bool",
7817
+ "name": "paused",
7818
+ "type": "bool"
7819
+ },
7820
+ {
7821
+ "indexed": true,
7822
+ "internalType": "address",
7823
+ "name": "by",
7824
+ "type": "address"
7825
+ }
7826
+ ],
7827
+ "name": "PausedSet",
7828
+ "type": "event"
7829
+ },
7830
+ {
7831
+ "anonymous": false,
7832
+ "inputs": [
7833
+ {
7834
+ "indexed": false,
7835
+ "internalType": "bytes32[]",
7836
+ "name": "handlesList",
7837
+ "type": "bytes32[]"
7838
+ },
7839
+ {
7840
+ "indexed": false,
7841
+ "internalType": "bytes",
7842
+ "name": "abiEncodedCleartexts",
7843
+ "type": "bytes"
7844
+ }
7845
+ ],
7846
+ "name": "PublicDecryptionVerified",
7847
+ "type": "event"
7848
+ },
7849
+ {
7850
+ "inputs": [],
7851
+ "name": "authority",
7852
+ "outputs": [
7853
+ {
7854
+ "internalType": "address",
7855
+ "name": "",
7856
+ "type": "address"
7857
+ }
7858
+ ],
7859
+ "stateMutability": "view",
7860
+ "type": "function"
7861
+ },
7862
+ {
7863
+ "inputs": [
7864
+ {
7865
+ "internalType": "address",
7866
+ "name": "from",
7867
+ "type": "address"
7868
+ },
7869
+ {
7870
+ "internalType": "externalEuint64",
7871
+ "name": "encryptedAmount",
7872
+ "type": "bytes32"
7873
+ },
7874
+ {
7875
+ "internalType": "bytes",
7876
+ "name": "inputProof",
7877
+ "type": "bytes"
7878
+ }
7879
+ ],
7880
+ "name": "confidentialAdminBurn",
7881
+ "outputs": [
7882
+ {
7883
+ "internalType": "euint64",
7884
+ "name": "transferred",
7885
+ "type": "bytes32"
7886
+ }
7887
+ ],
7888
+ "stateMutability": "nonpayable",
7889
+ "type": "function"
7890
+ },
7891
+ {
7892
+ "inputs": [
7893
+ {
7894
+ "internalType": "address",
7895
+ "name": "account",
7896
+ "type": "address"
7897
+ }
7898
+ ],
7899
+ "name": "confidentialBalanceOf",
7900
+ "outputs": [
7901
+ {
7902
+ "internalType": "euint64",
7903
+ "name": "",
7904
+ "type": "bytes32"
7905
+ }
7906
+ ],
7907
+ "stateMutability": "view",
7908
+ "type": "function"
7909
+ },
7910
+ {
7911
+ "inputs": [
7912
+ {
7913
+ "internalType": "externalEuint64",
7914
+ "name": "encryptedAmount",
7915
+ "type": "bytes32"
7916
+ },
7917
+ {
7918
+ "internalType": "bytes",
7919
+ "name": "inputProof",
7920
+ "type": "bytes"
7921
+ }
7922
+ ],
7923
+ "name": "confidentialBurn",
7924
+ "outputs": [
7925
+ {
7926
+ "internalType": "euint64",
7927
+ "name": "transferred",
7928
+ "type": "bytes32"
7929
+ }
7930
+ ],
7931
+ "stateMutability": "nonpayable",
7932
+ "type": "function"
7933
+ },
7934
+ {
7935
+ "inputs": [
7936
+ {
7937
+ "internalType": "address",
7938
+ "name": "from",
7939
+ "type": "address"
7940
+ },
7941
+ {
7942
+ "internalType": "externalEuint64",
7943
+ "name": "encryptedAmount",
7944
+ "type": "bytes32"
7945
+ },
7946
+ {
7947
+ "internalType": "bytes",
7948
+ "name": "inputProof",
7949
+ "type": "bytes"
7950
+ }
7951
+ ],
7952
+ "name": "confidentialBurnFrom",
7953
+ "outputs": [
7954
+ {
7955
+ "internalType": "euint64",
7956
+ "name": "transferred",
7957
+ "type": "bytes32"
7958
+ }
7959
+ ],
7960
+ "stateMutability": "nonpayable",
7961
+ "type": "function"
7962
+ },
7963
+ {
7964
+ "inputs": [
7965
+ {
7966
+ "internalType": "address",
7967
+ "name": "to",
7968
+ "type": "address"
7969
+ },
7970
+ {
7971
+ "internalType": "externalEuint64",
7972
+ "name": "encryptedAmount",
7973
+ "type": "bytes32"
7974
+ },
7975
+ {
7976
+ "internalType": "bytes",
7977
+ "name": "inputProof",
7978
+ "type": "bytes"
7979
+ }
7980
+ ],
7981
+ "name": "confidentialMint",
7982
+ "outputs": [
7983
+ {
7984
+ "internalType": "euint64",
7985
+ "name": "transferred",
7986
+ "type": "bytes32"
7987
+ }
7988
+ ],
7989
+ "stateMutability": "nonpayable",
7990
+ "type": "function"
7991
+ },
7992
+ {
7993
+ "inputs": [
7994
+ {
7995
+ "internalType": "address",
7996
+ "name": "to",
7997
+ "type": "address"
7998
+ },
7999
+ {
8000
+ "internalType": "uint64",
8001
+ "name": "amount",
8002
+ "type": "uint64"
8003
+ }
8004
+ ],
8005
+ "name": "confidentialMintTrivial",
8006
+ "outputs": [
8007
+ {
8008
+ "internalType": "euint64",
8009
+ "name": "transferred",
8010
+ "type": "bytes32"
8011
+ }
8012
+ ],
8013
+ "stateMutability": "nonpayable",
8014
+ "type": "function"
8015
+ },
8016
+ {
8017
+ "inputs": [],
8018
+ "name": "confidentialTotalSupply",
8019
+ "outputs": [
8020
+ {
8021
+ "internalType": "euint64",
8022
+ "name": "",
8023
+ "type": "bytes32"
8024
+ }
8025
+ ],
8026
+ "stateMutability": "view",
8027
+ "type": "function"
8028
+ },
8029
+ {
8030
+ "inputs": [
8031
+ {
8032
+ "internalType": "address",
8033
+ "name": "to",
8034
+ "type": "address"
8035
+ },
8036
+ {
8037
+ "internalType": "externalEuint64",
8038
+ "name": "encryptedAmount",
8039
+ "type": "bytes32"
8040
+ },
8041
+ {
8042
+ "internalType": "bytes",
8043
+ "name": "inputProof",
8044
+ "type": "bytes"
8045
+ }
8046
+ ],
8047
+ "name": "confidentialTransfer",
8048
+ "outputs": [
8049
+ {
8050
+ "internalType": "euint64",
8051
+ "name": "",
8052
+ "type": "bytes32"
8053
+ }
8054
+ ],
8055
+ "stateMutability": "nonpayable",
8056
+ "type": "function"
8057
+ },
8058
+ {
8059
+ "inputs": [
8060
+ {
8061
+ "internalType": "address",
8062
+ "name": "to",
8063
+ "type": "address"
8064
+ },
8065
+ {
8066
+ "internalType": "euint64",
8067
+ "name": "amount",
8068
+ "type": "bytes32"
8069
+ }
8070
+ ],
8071
+ "name": "confidentialTransfer",
8072
+ "outputs": [
8073
+ {
8074
+ "internalType": "euint64",
8075
+ "name": "",
8076
+ "type": "bytes32"
8077
+ }
8078
+ ],
8079
+ "stateMutability": "nonpayable",
8080
+ "type": "function"
8081
+ },
8082
+ {
8083
+ "inputs": [
8084
+ {
8085
+ "internalType": "address",
8086
+ "name": "to",
8087
+ "type": "address"
8088
+ },
8089
+ {
8090
+ "internalType": "euint64",
8091
+ "name": "amount",
8092
+ "type": "bytes32"
8093
+ },
8094
+ {
8095
+ "internalType": "bytes",
8096
+ "name": "data",
8097
+ "type": "bytes"
8098
+ }
8099
+ ],
8100
+ "name": "confidentialTransferAndCall",
8101
+ "outputs": [
8102
+ {
8103
+ "internalType": "euint64",
8104
+ "name": "transferred",
8105
+ "type": "bytes32"
8106
+ }
8107
+ ],
8108
+ "stateMutability": "nonpayable",
8109
+ "type": "function"
8110
+ },
8111
+ {
8112
+ "inputs": [
8113
+ {
8114
+ "internalType": "address",
8115
+ "name": "to",
8116
+ "type": "address"
8117
+ },
8118
+ {
8119
+ "internalType": "externalEuint64",
8120
+ "name": "encryptedAmount",
8121
+ "type": "bytes32"
8122
+ },
8123
+ {
8124
+ "internalType": "bytes",
8125
+ "name": "inputProof",
8126
+ "type": "bytes"
8127
+ },
8128
+ {
8129
+ "internalType": "bytes",
8130
+ "name": "data",
8131
+ "type": "bytes"
8132
+ }
8133
+ ],
8134
+ "name": "confidentialTransferAndCall",
8135
+ "outputs": [
8136
+ {
8137
+ "internalType": "euint64",
8138
+ "name": "transferred",
8139
+ "type": "bytes32"
8140
+ }
8141
+ ],
8142
+ "stateMutability": "nonpayable",
8143
+ "type": "function"
8144
+ },
8145
+ {
8146
+ "inputs": [
8147
+ {
8148
+ "internalType": "address",
8149
+ "name": "from",
8150
+ "type": "address"
8151
+ },
8152
+ {
8153
+ "internalType": "address",
8154
+ "name": "to",
8155
+ "type": "address"
8156
+ },
8157
+ {
8158
+ "internalType": "externalEuint64",
8159
+ "name": "encryptedAmount",
8160
+ "type": "bytes32"
8161
+ },
8162
+ {
8163
+ "internalType": "bytes",
8164
+ "name": "inputProof",
8165
+ "type": "bytes"
8166
+ }
8167
+ ],
8168
+ "name": "confidentialTransferFrom",
8169
+ "outputs": [
8170
+ {
8171
+ "internalType": "euint64",
8172
+ "name": "transferred",
8173
+ "type": "bytes32"
8174
+ }
8175
+ ],
8176
+ "stateMutability": "nonpayable",
8177
+ "type": "function"
8178
+ },
8179
+ {
8180
+ "inputs": [
8181
+ {
8182
+ "internalType": "address",
8183
+ "name": "from",
8184
+ "type": "address"
8185
+ },
8186
+ {
8187
+ "internalType": "address",
8188
+ "name": "to",
8189
+ "type": "address"
8190
+ },
8191
+ {
8192
+ "internalType": "euint64",
8193
+ "name": "amount",
8194
+ "type": "bytes32"
8195
+ }
8196
+ ],
8197
+ "name": "confidentialTransferFrom",
8198
+ "outputs": [
8199
+ {
8200
+ "internalType": "euint64",
8201
+ "name": "transferred",
8202
+ "type": "bytes32"
8203
+ }
8204
+ ],
8205
+ "stateMutability": "nonpayable",
8206
+ "type": "function"
8207
+ },
8208
+ {
8209
+ "inputs": [
8210
+ {
8211
+ "internalType": "address",
8212
+ "name": "from",
8213
+ "type": "address"
8214
+ },
8215
+ {
8216
+ "internalType": "address",
8217
+ "name": "to",
8218
+ "type": "address"
8219
+ },
8220
+ {
8221
+ "internalType": "externalEuint64",
8222
+ "name": "encryptedAmount",
8223
+ "type": "bytes32"
8224
+ },
8225
+ {
8226
+ "internalType": "bytes",
8227
+ "name": "inputProof",
8228
+ "type": "bytes"
8229
+ },
8230
+ {
8231
+ "internalType": "bytes",
8232
+ "name": "data",
8233
+ "type": "bytes"
8234
+ }
8235
+ ],
8236
+ "name": "confidentialTransferFromAndCall",
8237
+ "outputs": [
8238
+ {
8239
+ "internalType": "euint64",
8240
+ "name": "transferred",
8241
+ "type": "bytes32"
8242
+ }
8243
+ ],
8244
+ "stateMutability": "nonpayable",
8245
+ "type": "function"
8246
+ },
8247
+ {
8248
+ "inputs": [
8249
+ {
8250
+ "internalType": "address",
8251
+ "name": "from",
8252
+ "type": "address"
8253
+ },
8254
+ {
8255
+ "internalType": "address",
8256
+ "name": "to",
8257
+ "type": "address"
8258
+ },
8259
+ {
8260
+ "internalType": "euint64",
8261
+ "name": "amount",
8262
+ "type": "bytes32"
8263
+ },
8264
+ {
8265
+ "internalType": "bytes",
8266
+ "name": "data",
8267
+ "type": "bytes"
8268
+ }
8269
+ ],
8270
+ "name": "confidentialTransferFromAndCall",
8271
+ "outputs": [
8272
+ {
8273
+ "internalType": "euint64",
8274
+ "name": "transferred",
8275
+ "type": "bytes32"
8276
+ }
8277
+ ],
8278
+ "stateMutability": "nonpayable",
8279
+ "type": "function"
8280
+ },
8281
+ {
8282
+ "inputs": [],
8283
+ "name": "contractURI",
8284
+ "outputs": [
8285
+ {
8286
+ "internalType": "string",
8287
+ "name": "",
8288
+ "type": "string"
8289
+ }
8290
+ ],
8291
+ "stateMutability": "view",
8292
+ "type": "function"
8293
+ },
8294
+ {
8295
+ "inputs": [],
8296
+ "name": "decimals",
8297
+ "outputs": [
8298
+ {
8299
+ "internalType": "uint8",
8300
+ "name": "",
8301
+ "type": "uint8"
8302
+ }
8303
+ ],
8304
+ "stateMutability": "view",
8305
+ "type": "function"
8306
+ },
8307
+ {
8308
+ "inputs": [
8309
+ {
8310
+ "internalType": "euint64",
8311
+ "name": "encryptedAmount",
8312
+ "type": "bytes32"
8313
+ },
8314
+ {
8315
+ "internalType": "uint64",
8316
+ "name": "cleartextAmount",
8317
+ "type": "uint64"
8318
+ },
8319
+ {
8320
+ "internalType": "bytes",
8321
+ "name": "decryptionProof",
8322
+ "type": "bytes"
8323
+ }
8324
+ ],
8325
+ "name": "discloseEncryptedAmount",
8326
+ "outputs": [],
8327
+ "stateMutability": "nonpayable",
8328
+ "type": "function"
8329
+ },
8330
+ {
8331
+ "inputs": [],
8332
+ "name": "isConsumingScheduledOp",
8333
+ "outputs": [
8334
+ {
8335
+ "internalType": "bytes4",
8336
+ "name": "",
8337
+ "type": "bytes4"
8338
+ }
8339
+ ],
8340
+ "stateMutability": "view",
8341
+ "type": "function"
8342
+ },
8343
+ {
8344
+ "inputs": [
8345
+ {
8346
+ "internalType": "address",
8347
+ "name": "holder",
8348
+ "type": "address"
8349
+ },
8350
+ {
8351
+ "internalType": "address",
8352
+ "name": "spender",
8353
+ "type": "address"
8354
+ }
8355
+ ],
8356
+ "name": "isOperator",
8357
+ "outputs": [
8358
+ {
8359
+ "internalType": "bool",
8360
+ "name": "",
8361
+ "type": "bool"
8362
+ }
8363
+ ],
8364
+ "stateMutability": "view",
8365
+ "type": "function"
8366
+ },
8367
+ {
8368
+ "inputs": [],
8369
+ "name": "name",
8370
+ "outputs": [
8371
+ {
8372
+ "internalType": "string",
8373
+ "name": "",
8374
+ "type": "string"
8375
+ }
8376
+ ],
8377
+ "stateMutability": "view",
8378
+ "type": "function"
8379
+ },
8380
+ {
8381
+ "inputs": [],
8382
+ "name": "pause",
8383
+ "outputs": [],
8384
+ "stateMutability": "nonpayable",
8385
+ "type": "function"
8386
+ },
8387
+ {
8388
+ "inputs": [],
8389
+ "name": "paused",
8390
+ "outputs": [
8391
+ {
8392
+ "internalType": "bool",
8393
+ "name": "",
8394
+ "type": "bool"
8395
+ }
8396
+ ],
8397
+ "stateMutability": "view",
8398
+ "type": "function"
8399
+ },
8400
+ {
8401
+ "inputs": [
8402
+ {
8403
+ "internalType": "euint64",
8404
+ "name": "encryptedAmount",
8405
+ "type": "bytes32"
8406
+ }
8407
+ ],
8408
+ "name": "requestDiscloseEncryptedAmount",
8409
+ "outputs": [],
8410
+ "stateMutability": "nonpayable",
8411
+ "type": "function"
8412
+ },
8413
+ {
8414
+ "inputs": [
8415
+ {
8416
+ "internalType": "address",
8417
+ "name": "newAuthority",
8418
+ "type": "address"
8419
+ }
8420
+ ],
8421
+ "name": "setAuthority",
8422
+ "outputs": [],
8423
+ "stateMutability": "nonpayable",
8424
+ "type": "function"
8425
+ },
8426
+ {
8427
+ "inputs": [
8428
+ {
8429
+ "internalType": "address",
8430
+ "name": "operator",
8431
+ "type": "address"
8432
+ },
8433
+ {
8434
+ "internalType": "uint48",
8435
+ "name": "until",
8436
+ "type": "uint48"
8437
+ }
8438
+ ],
8439
+ "name": "setOperator",
8440
+ "outputs": [],
8441
+ "stateMutability": "nonpayable",
8442
+ "type": "function"
8443
+ },
8444
+ {
8445
+ "inputs": [
8446
+ {
8447
+ "internalType": "bytes4",
8448
+ "name": "interfaceId",
8449
+ "type": "bytes4"
8450
+ }
8451
+ ],
8452
+ "name": "supportsInterface",
8453
+ "outputs": [
8454
+ {
8455
+ "internalType": "bool",
8456
+ "name": "",
8457
+ "type": "bool"
8458
+ }
8459
+ ],
8460
+ "stateMutability": "view",
8461
+ "type": "function"
8462
+ },
8463
+ {
8464
+ "inputs": [],
8465
+ "name": "symbol",
8466
+ "outputs": [
8467
+ {
8468
+ "internalType": "string",
8469
+ "name": "",
8470
+ "type": "string"
8471
+ }
8472
+ ],
8473
+ "stateMutability": "view",
8474
+ "type": "function"
8475
+ },
8476
+ {
8477
+ "inputs": [],
8478
+ "name": "unpause",
8479
+ "outputs": [],
8480
+ "stateMutability": "nonpayable",
8481
+ "type": "function"
8482
+ }
8483
+ ];
8484
+ var AroLiquidityCommitment_ABI = [
8485
+ {
8486
+ "inputs": [
8487
+ {
8488
+ "internalType": "address",
8489
+ "name": "initialAuthority",
8490
+ "type": "address"
8491
+ },
8492
+ {
8493
+ "internalType": "contract cAROUSD",
8494
+ "name": "arousd",
8495
+ "type": "address"
8496
+ },
8497
+ {
8498
+ "internalType": "address",
8499
+ "name": "feeSink_",
8500
+ "type": "address"
8501
+ }
8502
+ ],
8503
+ "stateMutability": "nonpayable",
8504
+ "type": "constructor"
8505
+ },
8506
+ {
8507
+ "inputs": [
8508
+ {
8509
+ "internalType": "address",
8510
+ "name": "authority",
8511
+ "type": "address"
8512
+ }
8513
+ ],
8514
+ "name": "AccessManagedInvalidAuthority",
8515
+ "type": "error"
8516
+ },
8517
+ {
8518
+ "inputs": [
8519
+ {
8520
+ "internalType": "address",
8521
+ "name": "caller",
8522
+ "type": "address"
8523
+ },
8524
+ {
8525
+ "internalType": "uint32",
8526
+ "name": "delay",
8527
+ "type": "uint32"
8528
+ }
8529
+ ],
8530
+ "name": "AccessManagedRequiredDelay",
8531
+ "type": "error"
8532
+ },
8533
+ {
8534
+ "inputs": [
8535
+ {
8536
+ "internalType": "address",
8537
+ "name": "caller",
8538
+ "type": "address"
8539
+ }
8540
+ ],
8541
+ "name": "AccessManagedUnauthorized",
8542
+ "type": "error"
8543
+ },
8544
+ {
8545
+ "inputs": [],
8546
+ "name": "AmountTooLarge",
8547
+ "type": "error"
8548
+ },
8549
+ {
8550
+ "inputs": [],
8551
+ "name": "AmountZero",
8552
+ "type": "error"
8553
+ },
8554
+ {
8555
+ "inputs": [
8556
+ {
8557
+ "internalType": "uint16",
8558
+ "name": "bps",
8559
+ "type": "uint16"
8560
+ }
8561
+ ],
8562
+ "name": "FeeTooHigh",
8563
+ "type": "error"
8564
+ },
8565
+ {
8566
+ "inputs": [
8567
+ {
8568
+ "internalType": "address",
8569
+ "name": "stable",
8570
+ "type": "address"
8571
+ },
8572
+ {
8573
+ "internalType": "uint256",
8574
+ "name": "needed",
8575
+ "type": "uint256"
8576
+ },
8577
+ {
8578
+ "internalType": "uint256",
8579
+ "name": "have",
8580
+ "type": "uint256"
8581
+ }
8582
+ ],
8583
+ "name": "InsufficientReserves",
8584
+ "type": "error"
8585
+ },
8586
+ {
8587
+ "inputs": [],
8588
+ "name": "InvalidFeeSink",
8589
+ "type": "error"
8590
+ },
8591
+ {
8592
+ "inputs": [],
8593
+ "name": "InvalidKMSSignatures",
8594
+ "type": "error"
8595
+ },
8596
+ {
8597
+ "inputs": [],
8598
+ "name": "InvalidStableAddress",
8599
+ "type": "error"
8600
+ },
8601
+ {
8602
+ "inputs": [
8603
+ {
8604
+ "internalType": "uint64",
8605
+ "name": "cleartext",
8606
+ "type": "uint64"
8607
+ },
8608
+ {
8609
+ "internalType": "uint64",
8610
+ "name": "cap",
8611
+ "type": "uint64"
8612
+ }
8613
+ ],
8614
+ "name": "PayoutExceedsMaxStableOut",
8615
+ "type": "error"
8616
+ },
8617
+ {
8618
+ "inputs": [
8619
+ {
8620
+ "internalType": "uint256",
8621
+ "name": "redeemId",
8622
+ "type": "uint256"
8623
+ }
8624
+ ],
8625
+ "name": "RedeemAlreadyFinalized",
8626
+ "type": "error"
8627
+ },
8628
+ {
8629
+ "inputs": [
8630
+ {
8631
+ "internalType": "uint256",
8632
+ "name": "redeemId",
8633
+ "type": "uint256"
8634
+ }
8635
+ ],
8636
+ "name": "RedeemUnknown",
8637
+ "type": "error"
8638
+ },
8639
+ {
8640
+ "inputs": [
8641
+ {
8642
+ "internalType": "address",
8643
+ "name": "token",
8644
+ "type": "address"
8645
+ }
8646
+ ],
8647
+ "name": "SafeERC20FailedOperation",
8648
+ "type": "error"
8649
+ },
8650
+ {
8651
+ "inputs": [
8652
+ {
8653
+ "internalType": "address",
8654
+ "name": "stable",
8655
+ "type": "address"
8656
+ }
8657
+ ],
8658
+ "name": "StableNotAllowed",
8659
+ "type": "error"
8660
+ },
8661
+ {
8662
+ "anonymous": false,
8663
+ "inputs": [
8664
+ {
8665
+ "indexed": false,
8666
+ "internalType": "address",
8667
+ "name": "authority",
8668
+ "type": "address"
8669
+ }
8670
+ ],
8671
+ "name": "AuthorityUpdated",
8672
+ "type": "event"
8673
+ },
8674
+ {
8675
+ "anonymous": false,
8676
+ "inputs": [
8677
+ {
8678
+ "indexed": true,
8679
+ "internalType": "address",
8680
+ "name": "depositor",
8681
+ "type": "address"
8682
+ },
8683
+ {
8684
+ "indexed": true,
8685
+ "internalType": "address",
8686
+ "name": "recipient",
8687
+ "type": "address"
8688
+ },
8689
+ {
8690
+ "indexed": true,
8691
+ "internalType": "address",
8692
+ "name": "stable",
8693
+ "type": "address"
8694
+ },
8695
+ {
8696
+ "indexed": false,
8697
+ "internalType": "uint256",
8698
+ "name": "grossAmount",
8699
+ "type": "uint256"
8700
+ },
8701
+ {
8702
+ "indexed": false,
8703
+ "internalType": "uint256",
8704
+ "name": "feeAmount",
8705
+ "type": "uint256"
8706
+ },
8707
+ {
8708
+ "indexed": false,
8709
+ "internalType": "uint256",
8710
+ "name": "netAmount",
8711
+ "type": "uint256"
8712
+ }
8713
+ ],
8714
+ "name": "DepositCommitted",
8715
+ "type": "event"
8716
+ },
8717
+ {
8718
+ "anonymous": false,
8719
+ "inputs": [
8720
+ {
8721
+ "indexed": false,
8722
+ "internalType": "uint16",
8723
+ "name": "oldBps",
8724
+ "type": "uint16"
8725
+ },
8726
+ {
8727
+ "indexed": false,
8728
+ "internalType": "uint16",
8729
+ "name": "newBps",
8730
+ "type": "uint16"
8731
+ }
8732
+ ],
8733
+ "name": "DepositFeeUpdated",
8734
+ "type": "event"
8735
+ },
8736
+ {
8737
+ "anonymous": false,
8738
+ "inputs": [
8739
+ {
8740
+ "indexed": true,
8741
+ "internalType": "address",
8742
+ "name": "oldSink",
8743
+ "type": "address"
8744
+ },
8745
+ {
8746
+ "indexed": true,
8747
+ "internalType": "address",
8748
+ "name": "newSink",
8749
+ "type": "address"
8750
+ }
8751
+ ],
8752
+ "name": "FeeSinkUpdated",
8753
+ "type": "event"
8754
+ },
8755
+ {
8756
+ "anonymous": false,
8757
+ "inputs": [
8758
+ {
8759
+ "indexed": false,
8760
+ "internalType": "bytes32[]",
8761
+ "name": "handlesList",
8762
+ "type": "bytes32[]"
8763
+ },
8764
+ {
8765
+ "indexed": false,
8766
+ "internalType": "bytes",
8767
+ "name": "abiEncodedCleartexts",
8768
+ "type": "bytes"
8769
+ }
8770
+ ],
8771
+ "name": "PublicDecryptionVerified",
8772
+ "type": "event"
8773
+ },
8774
+ {
8775
+ "anonymous": false,
8776
+ "inputs": [
8777
+ {
8778
+ "indexed": false,
8779
+ "internalType": "uint16",
8780
+ "name": "oldBps",
8781
+ "type": "uint16"
8782
+ },
8783
+ {
8784
+ "indexed": false,
8785
+ "internalType": "uint16",
8786
+ "name": "newBps",
8787
+ "type": "uint16"
8788
+ }
8789
+ ],
8790
+ "name": "RedeemFeeUpdated",
8791
+ "type": "event"
8792
+ },
8793
+ {
8794
+ "anonymous": false,
8795
+ "inputs": [
8796
+ {
8797
+ "indexed": true,
8798
+ "internalType": "uint256",
8799
+ "name": "redeemId",
8800
+ "type": "uint256"
8801
+ },
8802
+ {
8803
+ "indexed": true,
8804
+ "internalType": "address",
8805
+ "name": "redeemer",
8806
+ "type": "address"
8807
+ },
8808
+ {
8809
+ "indexed": true,
8810
+ "internalType": "address",
8811
+ "name": "stable",
8812
+ "type": "address"
8813
+ },
8814
+ {
8815
+ "indexed": false,
8816
+ "internalType": "uint64",
8817
+ "name": "cleartextBurned",
8818
+ "type": "uint64"
8819
+ },
8820
+ {
8821
+ "indexed": false,
8822
+ "internalType": "uint256",
8823
+ "name": "feeAmount",
8824
+ "type": "uint256"
8825
+ },
8826
+ {
8827
+ "indexed": false,
8828
+ "internalType": "uint256",
8829
+ "name": "netPaid",
8830
+ "type": "uint256"
8831
+ }
8832
+ ],
8833
+ "name": "RedeemFinalized",
8834
+ "type": "event"
8835
+ },
8836
+ {
8837
+ "anonymous": false,
8838
+ "inputs": [
8839
+ {
8840
+ "indexed": true,
8841
+ "internalType": "uint256",
8842
+ "name": "redeemId",
8843
+ "type": "uint256"
8844
+ },
8845
+ {
8846
+ "indexed": true,
8847
+ "internalType": "address",
8848
+ "name": "redeemer",
8849
+ "type": "address"
8850
+ },
8851
+ {
8852
+ "indexed": true,
8853
+ "internalType": "address",
8854
+ "name": "stable",
8855
+ "type": "address"
8856
+ },
8857
+ {
8858
+ "indexed": false,
8859
+ "internalType": "uint64",
8860
+ "name": "maxStableOut",
8861
+ "type": "uint64"
8862
+ },
8863
+ {
8864
+ "indexed": false,
8865
+ "internalType": "euint64",
8866
+ "name": "burnedHandle",
8867
+ "type": "bytes32"
8868
+ }
8869
+ ],
8870
+ "name": "RedeemRequested",
8871
+ "type": "event"
8872
+ },
8873
+ {
8874
+ "anonymous": false,
8875
+ "inputs": [
8876
+ {
8877
+ "indexed": true,
8878
+ "internalType": "address",
8879
+ "name": "stable",
8880
+ "type": "address"
8881
+ },
8882
+ {
8883
+ "indexed": false,
8884
+ "internalType": "bool",
8885
+ "name": "allowed",
8886
+ "type": "bool"
8887
+ }
8888
+ ],
8889
+ "name": "StableAllowed",
8890
+ "type": "event"
8891
+ },
8892
+ {
8893
+ "anonymous": false,
8894
+ "inputs": [
8895
+ {
8896
+ "indexed": true,
6953
8897
  "internalType": "address",
6954
- "name": "oldContract",
8898
+ "name": "stable",
6955
8899
  "type": "address"
6956
8900
  },
6957
8901
  {
6958
- "indexed": false,
8902
+ "indexed": true,
6959
8903
  "internalType": "address",
6960
- "name": "newContract",
8904
+ "name": "to",
6961
8905
  "type": "address"
8906
+ },
8907
+ {
8908
+ "indexed": false,
8909
+ "internalType": "uint256",
8910
+ "name": "amount",
8911
+ "type": "uint256"
6962
8912
  }
6963
8913
  ],
6964
- "name": "SBTContractUpdated",
8914
+ "name": "Swept",
6965
8915
  "type": "event"
6966
8916
  },
6967
8917
  {
6968
- "anonymous": false,
6969
- "inputs": [
8918
+ "inputs": [],
8919
+ "name": "AROUSD",
8920
+ "outputs": [
6970
8921
  {
6971
- "indexed": false,
6972
- "internalType": "uint256",
6973
- "name": "oldThreshold",
6974
- "type": "uint256"
6975
- },
8922
+ "internalType": "contract cAROUSD",
8923
+ "name": "",
8924
+ "type": "address"
8925
+ }
8926
+ ],
8927
+ "stateMutability": "view",
8928
+ "type": "function"
8929
+ },
8930
+ {
8931
+ "inputs": [],
8932
+ "name": "FEE_BPS_DENOMINATOR",
8933
+ "outputs": [
6976
8934
  {
6977
- "indexed": false,
6978
8935
  "internalType": "uint256",
6979
- "name": "newThreshold",
8936
+ "name": "",
6980
8937
  "type": "uint256"
6981
8938
  }
6982
8939
  ],
6983
- "name": "ThresholdUpdated",
6984
- "type": "event"
8940
+ "stateMutability": "view",
8941
+ "type": "function"
6985
8942
  },
6986
8943
  {
6987
8944
  "inputs": [],
6988
- "name": "authority",
8945
+ "name": "MAX_FEE_BPS",
6989
8946
  "outputs": [
6990
8947
  {
6991
- "internalType": "address",
8948
+ "internalType": "uint256",
6992
8949
  "name": "",
6993
- "type": "address"
8950
+ "type": "uint256"
6994
8951
  }
6995
8952
  ],
6996
8953
  "stateMutability": "view",
6997
8954
  "type": "function"
6998
8955
  },
6999
8956
  {
7000
- "inputs": [
8957
+ "inputs": [],
8958
+ "name": "authority",
8959
+ "outputs": [
7001
8960
  {
7002
8961
  "internalType": "address",
7003
- "name": "candidate",
8962
+ "name": "",
7004
8963
  "type": "address"
7005
8964
  }
7006
8965
  ],
7007
- "name": "clearNomination",
7008
- "outputs": [],
7009
- "stateMutability": "nonpayable",
8966
+ "stateMutability": "view",
7010
8967
  "type": "function"
7011
8968
  },
7012
8969
  {
7013
8970
  "inputs": [
7014
8971
  {
7015
8972
  "internalType": "address",
7016
- "name": "candidate",
8973
+ "name": "recipient",
7017
8974
  "type": "address"
7018
- }
7019
- ],
7020
- "name": "getNomination",
7021
- "outputs": [
8975
+ },
7022
8976
  {
7023
8977
  "internalType": "address",
7024
- "name": "nominator",
8978
+ "name": "stable",
7025
8979
  "type": "address"
7026
8980
  },
7027
8981
  {
7028
- "internalType": "address[]",
7029
- "name": "vouchers",
7030
- "type": "address[]"
7031
- },
8982
+ "internalType": "uint256",
8983
+ "name": "amount",
8984
+ "type": "uint256"
8985
+ }
8986
+ ],
8987
+ "name": "commitDeposit",
8988
+ "outputs": [
7032
8989
  {
7033
8990
  "internalType": "uint256",
7034
- "name": "nominatedAt",
8991
+ "name": "netAmount",
7035
8992
  "type": "uint256"
7036
- },
8993
+ }
8994
+ ],
8995
+ "stateMutability": "nonpayable",
8996
+ "type": "function"
8997
+ },
8998
+ {
8999
+ "inputs": [],
9000
+ "name": "depositFeeBps",
9001
+ "outputs": [
7037
9002
  {
7038
- "internalType": "enum AroNomination.NominationStatus",
7039
- "name": "status",
7040
- "type": "uint8"
9003
+ "internalType": "uint16",
9004
+ "name": "",
9005
+ "type": "uint16"
7041
9006
  }
7042
9007
  ],
7043
9008
  "stateMutability": "view",
7044
9009
  "type": "function"
7045
9010
  },
7046
9011
  {
7047
- "inputs": [
9012
+ "inputs": [],
9013
+ "name": "feeSink",
9014
+ "outputs": [
7048
9015
  {
7049
9016
  "internalType": "address",
7050
- "name": "candidate",
9017
+ "name": "",
7051
9018
  "type": "address"
7052
9019
  }
7053
9020
  ],
7054
- "name": "getNominationCount",
7055
- "outputs": [
9021
+ "stateMutability": "view",
9022
+ "type": "function"
9023
+ },
9024
+ {
9025
+ "inputs": [
7056
9026
  {
7057
9027
  "internalType": "uint256",
7058
- "name": "",
9028
+ "name": "redeemId",
7059
9029
  "type": "uint256"
9030
+ },
9031
+ {
9032
+ "internalType": "uint64",
9033
+ "name": "cleartextBurned",
9034
+ "type": "uint64"
9035
+ },
9036
+ {
9037
+ "internalType": "bytes",
9038
+ "name": "decryptionProof",
9039
+ "type": "bytes"
7060
9040
  }
7061
9041
  ],
7062
- "stateMutability": "view",
9042
+ "name": "finalizeRedeem",
9043
+ "outputs": [],
9044
+ "stateMutability": "nonpayable",
7063
9045
  "type": "function"
7064
9046
  },
7065
9047
  {
7066
9048
  "inputs": [
7067
9049
  {
7068
9050
  "internalType": "address",
7069
- "name": "candidate",
9051
+ "name": "stable",
7070
9052
  "type": "address"
7071
9053
  }
7072
9054
  ],
7073
- "name": "getNominationStatus",
9055
+ "name": "freeReserves",
7074
9056
  "outputs": [
7075
9057
  {
7076
- "internalType": "enum AroNomination.NominationStatus",
9058
+ "internalType": "uint256",
7077
9059
  "name": "",
7078
- "type": "uint8"
9060
+ "type": "uint256"
7079
9061
  }
7080
9062
  ],
7081
9063
  "stateMutability": "view",
7082
9064
  "type": "function"
7083
9065
  },
7084
9066
  {
7085
- "inputs": [
9067
+ "inputs": [],
9068
+ "name": "isConsumingScheduledOp",
9069
+ "outputs": [
7086
9070
  {
7087
- "internalType": "address",
7088
- "name": "candidate",
7089
- "type": "address"
9071
+ "internalType": "bytes4",
9072
+ "name": "",
9073
+ "type": "bytes4"
7090
9074
  }
7091
9075
  ],
7092
- "name": "getNominator",
9076
+ "stateMutability": "view",
9077
+ "type": "function"
9078
+ },
9079
+ {
9080
+ "inputs": [],
9081
+ "name": "nextRedeemId",
7093
9082
  "outputs": [
7094
9083
  {
7095
- "internalType": "address",
9084
+ "internalType": "uint256",
7096
9085
  "name": "",
7097
- "type": "address"
9086
+ "type": "uint256"
7098
9087
  }
7099
9088
  ],
7100
9089
  "stateMutability": "view",
@@ -7104,16 +9093,16 @@ var AroNomination_ABI = [
7104
9093
  "inputs": [
7105
9094
  {
7106
9095
  "internalType": "address",
7107
- "name": "candidate",
9096
+ "name": "stable",
7108
9097
  "type": "address"
7109
9098
  }
7110
9099
  ],
7111
- "name": "getVouchers",
9100
+ "name": "pendingRedeemLiability",
7112
9101
  "outputs": [
7113
9102
  {
7114
- "internalType": "address[]",
9103
+ "internalType": "uint256",
7115
9104
  "name": "",
7116
- "type": "address[]"
9105
+ "type": "uint256"
7117
9106
  }
7118
9107
  ],
7119
9108
  "stateMutability": "view",
@@ -7121,22 +9110,42 @@ var AroNomination_ABI = [
7121
9110
  },
7122
9111
  {
7123
9112
  "inputs": [
9113
+ {
9114
+ "internalType": "uint256",
9115
+ "name": "id",
9116
+ "type": "uint256"
9117
+ }
9118
+ ],
9119
+ "name": "pendingRedeems",
9120
+ "outputs": [
7124
9121
  {
7125
9122
  "internalType": "address",
7126
- "name": "voucher",
9123
+ "name": "redeemer",
7127
9124
  "type": "address"
7128
9125
  },
7129
9126
  {
7130
9127
  "internalType": "address",
7131
- "name": "candidate",
9128
+ "name": "stable",
7132
9129
  "type": "address"
7133
- }
7134
- ],
7135
- "name": "hasVouched",
7136
- "outputs": [
9130
+ },
9131
+ {
9132
+ "internalType": "euint64",
9133
+ "name": "burnedHandle",
9134
+ "type": "bytes32"
9135
+ },
9136
+ {
9137
+ "internalType": "uint64",
9138
+ "name": "maxStableOut",
9139
+ "type": "uint64"
9140
+ },
9141
+ {
9142
+ "internalType": "uint64",
9143
+ "name": "settledAmount",
9144
+ "type": "uint64"
9145
+ },
7137
9146
  {
7138
9147
  "internalType": "bool",
7139
- "name": "",
9148
+ "name": "finalized",
7140
9149
  "type": "bool"
7141
9150
  }
7142
9151
  ],
@@ -7145,12 +9154,12 @@ var AroNomination_ABI = [
7145
9154
  },
7146
9155
  {
7147
9156
  "inputs": [],
7148
- "name": "isConsumingScheduledOp",
9157
+ "name": "redeemFeeBps",
7149
9158
  "outputs": [
7150
9159
  {
7151
- "internalType": "bytes4",
9160
+ "internalType": "uint16",
7152
9161
  "name": "",
7153
- "type": "bytes4"
9162
+ "type": "uint16"
7154
9163
  }
7155
9164
  ],
7156
9165
  "stateMutability": "view",
@@ -7160,56 +9169,71 @@ var AroNomination_ABI = [
7160
9169
  "inputs": [
7161
9170
  {
7162
9171
  "internalType": "address",
7163
- "name": "candidate",
9172
+ "name": "stable",
7164
9173
  "type": "address"
9174
+ },
9175
+ {
9176
+ "internalType": "uint64",
9177
+ "name": "maxStableOut",
9178
+ "type": "uint64"
9179
+ },
9180
+ {
9181
+ "internalType": "externalEuint64",
9182
+ "name": "encryptedAmount",
9183
+ "type": "bytes32"
9184
+ },
9185
+ {
9186
+ "internalType": "bytes",
9187
+ "name": "inputProof",
9188
+ "type": "bytes"
7165
9189
  }
7166
9190
  ],
7167
- "name": "isNominated",
9191
+ "name": "requestRedeem",
7168
9192
  "outputs": [
7169
9193
  {
7170
- "internalType": "bool",
7171
- "name": "",
7172
- "type": "bool"
9194
+ "internalType": "uint256",
9195
+ "name": "redeemId",
9196
+ "type": "uint256"
7173
9197
  }
7174
9198
  ],
7175
- "stateMutability": "view",
9199
+ "stateMutability": "nonpayable",
7176
9200
  "type": "function"
7177
9201
  },
7178
9202
  {
7179
9203
  "inputs": [
7180
9204
  {
7181
9205
  "internalType": "address",
7182
- "name": "candidate",
9206
+ "name": "newAuthority",
7183
9207
  "type": "address"
7184
9208
  }
7185
9209
  ],
7186
- "name": "nominate",
9210
+ "name": "setAuthority",
7187
9211
  "outputs": [],
7188
9212
  "stateMutability": "nonpayable",
7189
9213
  "type": "function"
7190
9214
  },
7191
9215
  {
7192
- "inputs": [],
7193
- "name": "sbtContract",
7194
- "outputs": [
9216
+ "inputs": [
7195
9217
  {
7196
- "internalType": "contract AroSBT",
7197
- "name": "",
7198
- "type": "address"
9218
+ "internalType": "uint16",
9219
+ "name": "bps",
9220
+ "type": "uint16"
7199
9221
  }
7200
9222
  ],
7201
- "stateMutability": "view",
9223
+ "name": "setDepositFeeBps",
9224
+ "outputs": [],
9225
+ "stateMutability": "nonpayable",
7202
9226
  "type": "function"
7203
9227
  },
7204
9228
  {
7205
9229
  "inputs": [
7206
9230
  {
7207
9231
  "internalType": "address",
7208
- "name": "newAuthority",
9232
+ "name": "newSink",
7209
9233
  "type": "address"
7210
9234
  }
7211
9235
  ],
7212
- "name": "setAuthority",
9236
+ "name": "setFeeSink",
7213
9237
  "outputs": [],
7214
9238
  "stateMutability": "nonpayable",
7215
9239
  "type": "function"
@@ -7217,12 +9241,12 @@ var AroNomination_ABI = [
7217
9241
  {
7218
9242
  "inputs": [
7219
9243
  {
7220
- "internalType": "address",
7221
- "name": "newSBTContract",
7222
- "type": "address"
9244
+ "internalType": "uint16",
9245
+ "name": "bps",
9246
+ "type": "uint16"
7223
9247
  }
7224
9248
  ],
7225
- "name": "setSBTContract",
9249
+ "name": "setRedeemFeeBps",
7226
9250
  "outputs": [],
7227
9251
  "stateMutability": "nonpayable",
7228
9252
  "type": "function"
@@ -7230,24 +9254,35 @@ var AroNomination_ABI = [
7230
9254
  {
7231
9255
  "inputs": [
7232
9256
  {
7233
- "internalType": "uint256",
7234
- "name": "newThreshold",
7235
- "type": "uint256"
9257
+ "internalType": "address",
9258
+ "name": "stable",
9259
+ "type": "address"
9260
+ },
9261
+ {
9262
+ "internalType": "bool",
9263
+ "name": "allowed",
9264
+ "type": "bool"
7236
9265
  }
7237
9266
  ],
7238
- "name": "setThreshold",
9267
+ "name": "setStableAllowed",
7239
9268
  "outputs": [],
7240
9269
  "stateMutability": "nonpayable",
7241
9270
  "type": "function"
7242
9271
  },
7243
9272
  {
7244
- "inputs": [],
7245
- "name": "threshold",
9273
+ "inputs": [
9274
+ {
9275
+ "internalType": "address",
9276
+ "name": "stable",
9277
+ "type": "address"
9278
+ }
9279
+ ],
9280
+ "name": "stableAllowed",
7246
9281
  "outputs": [
7247
9282
  {
7248
- "internalType": "uint256",
9283
+ "internalType": "bool",
7249
9284
  "name": "",
7250
- "type": "uint256"
9285
+ "type": "bool"
7251
9286
  }
7252
9287
  ],
7253
9288
  "stateMutability": "view",
@@ -7257,11 +9292,21 @@ var AroNomination_ABI = [
7257
9292
  "inputs": [
7258
9293
  {
7259
9294
  "internalType": "address",
7260
- "name": "candidate",
9295
+ "name": "stable",
9296
+ "type": "address"
9297
+ },
9298
+ {
9299
+ "internalType": "address",
9300
+ "name": "to",
7261
9301
  "type": "address"
9302
+ },
9303
+ {
9304
+ "internalType": "uint256",
9305
+ "name": "amount",
9306
+ "type": "uint256"
7262
9307
  }
7263
9308
  ],
7264
- "name": "vouch",
9309
+ "name": "sweep",
7265
9310
  "outputs": [],
7266
9311
  "stateMutability": "nonpayable",
7267
9312
  "type": "function"
@@ -7274,7 +9319,9 @@ var abis = {
7274
9319
  AroMediaAssetsRegistry: AroMediaAssetsRegistry_ABI,
7275
9320
  ForcedTransferManager: ForcedTransferManager_ABI,
7276
9321
  AroSBT: AroSBT_ABI,
7277
- AroNomination: AroNomination_ABI
9322
+ AroNomination: AroNomination_ABI,
9323
+ cAROUSD: cAROUSD_ABI,
9324
+ AroLiquidityCommitment: AroLiquidityCommitment_ABI
7278
9325
  };
7279
9326
 
7280
9327
  // src/generated/addresses.ts
@@ -7300,17 +9347,21 @@ var addresses = {
7300
9347
  AroMediaAssetsRegistry: "0x0000000000000000000000000000000000000000",
7301
9348
  ForcedTransferManager: "0x0000000000000000000000000000000000000000",
7302
9349
  AroSBT: "0x0000000000000000000000000000000000000000",
7303
- AroNomination: "0x0000000000000000000000000000000000000000"
9350
+ AroNomination: "0x0000000000000000000000000000000000000000",
9351
+ cAROUSD: "0x0000000000000000000000000000000000000000",
9352
+ AroLiquidityCommitment: "0x0000000000000000000000000000000000000000"
7304
9353
  },
7305
9354
  11155111: {
7306
9355
  // sepolia
7307
- AroMediaIncMultiSig: "0x8d2A0721f124464B8937994D5F72cFec180F314B",
7308
- AroMediaAccessManager: "0x3BA2b821354921dBD9509583d5B319105c70eD03",
7309
- AroMediaRWA: "0xa5292d74f8baCF0A3e68302F2CA8032bc9F6765b",
7310
- AroMediaAssetsRegistry: "0x17d9Dc6a0c8D043058193C836ed001235bACE5fe",
7311
- ForcedTransferManager: "0x92D447b7E585B48CA405DbAaFe0a6C1D0682678c",
7312
- AroSBT: "0xc1562aD0232271Bb3F5D0E555F43AD645C3A5dAf",
7313
- AroNomination: "0xF86305E1B89C778a8f92Eb6510138865a97842F8"
9356
+ AroMediaIncMultiSig: "0x6527c5F8F713435CfFB3CcCEF8E5A6DF0F3CFB20",
9357
+ AroMediaAccessManager: "0x6b8600FaD1549D7bBa9A7Dd40e0f7D1cf2046168",
9358
+ AroMediaRWA: "0x723a7F57bF2d23011f584Eb155a9f7AEbCfCaf12",
9359
+ AroMediaAssetsRegistry: "0xa0ccaAAaCC7A97F0aFa7fa9db5B0a09EB8933f9d",
9360
+ ForcedTransferManager: "0xcEa2CD3ceB141Ac18F38DBBD018C8d77feF44fA6",
9361
+ AroSBT: "0xE4151d629aC7cfe05f00bC593426e80cD6e6fde3",
9362
+ AroNomination: "0x0000000000000000000000000000000000000000",
9363
+ cAROUSD: "0xa76BBE008611a9416e709b712b3f72fB0D000Fc2",
9364
+ AroLiquidityCommitment: "0xe744c518Fc436FFE55e2fb84F1a2F6B921e6f5d4"
7314
9365
  },
7315
9366
  8453: {
7316
9367
  // base
@@ -7320,7 +9371,9 @@ var addresses = {
7320
9371
  AroMediaAssetsRegistry: "0x0000000000000000000000000000000000000000",
7321
9372
  ForcedTransferManager: "0x0000000000000000000000000000000000000000",
7322
9373
  AroSBT: "0x0000000000000000000000000000000000000000",
7323
- AroNomination: "0x0000000000000000000000000000000000000000"
9374
+ AroNomination: "0x0000000000000000000000000000000000000000",
9375
+ cAROUSD: "0x0000000000000000000000000000000000000000",
9376
+ AroLiquidityCommitment: "0x0000000000000000000000000000000000000000"
7324
9377
  },
7325
9378
  84532: {
7326
9379
  // baseSepolia
@@ -7330,7 +9383,9 @@ var addresses = {
7330
9383
  AroMediaAssetsRegistry: "0x0000000000000000000000000000000000000000",
7331
9384
  ForcedTransferManager: "0x0000000000000000000000000000000000000000",
7332
9385
  AroSBT: "0x0000000000000000000000000000000000000000",
7333
- AroNomination: "0x0000000000000000000000000000000000000000"
9386
+ AroNomination: "0x0000000000000000000000000000000000000000",
9387
+ cAROUSD: "0x0000000000000000000000000000000000000000",
9388
+ AroLiquidityCommitment: "0x0000000000000000000000000000000000000000"
7334
9389
  },
7335
9390
  31337: {
7336
9391
  // hardhat
@@ -7340,7 +9395,9 @@ var addresses = {
7340
9395
  AroMediaAssetsRegistry: "0x0000000000000000000000000000000000000000",
7341
9396
  ForcedTransferManager: "0x0000000000000000000000000000000000000000",
7342
9397
  AroSBT: "0x0000000000000000000000000000000000000000",
7343
- AroNomination: "0x0000000000000000000000000000000000000000"
9398
+ AroNomination: "0x0000000000000000000000000000000000000000",
9399
+ cAROUSD: "0x0000000000000000000000000000000000000000",
9400
+ AroLiquidityCommitment: "0x0000000000000000000000000000000000000000"
7344
9401
  }
7345
9402
  };
7346
9403
  var chainLabels = {
@@ -7729,7 +9786,7 @@ async function mintSBTForApproved(sdk, opts) {
7729
9786
  throw new Error("mintSBTForApproved requires a walletClient on the SDK");
7730
9787
  }
7731
9788
  const wallet = sdk.walletClient;
7732
- const tier = opts.tier ?? 0 /* STANDARD */;
9789
+ const tier = opts.tier === void 0 ? 0n : typeof opts.tier === "bigint" ? opts.tier : BigInt(opts.tier);
7733
9790
  try {
7734
9791
  return await wallet.writeContract({
7735
9792
  account: pickAccount(wallet, opts.account),
@@ -7821,14 +9878,60 @@ var tierRequirements = {
7821
9878
  [3 /* FOUNDING */]: "Founding member; highest verification and vetting."
7822
9879
  };
7823
9880
  function tierLabel(tier) {
7824
- return AroTierLabels[tier];
9881
+ const asNumber = typeof tier === "bigint" ? Number(tier) : tier;
9882
+ if (Number.isInteger(asNumber) && asNumber in AroTierLabels) {
9883
+ return AroTierLabels[asNumber];
9884
+ }
9885
+ return `Tier ${asNumber}`;
7825
9886
  }
7826
9887
  function tierAtLeast(held, required) {
7827
- return held >= required;
9888
+ const heldNum = typeof held === "bigint" ? held : BigInt(held);
9889
+ const requiredNum = typeof required === "bigint" ? required : BigInt(required);
9890
+ return heldNum >= requiredNum;
9891
+ }
9892
+
9893
+ // src/utils/mintApproval.ts
9894
+ function mintApprovalDomain(chainId, sbtAddress) {
9895
+ return {
9896
+ name: "AroSBT",
9897
+ version: "1",
9898
+ chainId: typeof chainId === "bigint" ? Number(chainId) : chainId,
9899
+ verifyingContract: sbtAddress
9900
+ };
9901
+ }
9902
+ var MINT_APPROVAL_TYPES = {
9903
+ MintApproval: [
9904
+ { name: "candidate", type: "address" },
9905
+ { name: "tier", type: "uint256" },
9906
+ { name: "kycHash", type: "bytes32" },
9907
+ { name: "nominationId", type: "bytes32" },
9908
+ { name: "metadataURI", type: "string" },
9909
+ { name: "deadline", type: "uint64" },
9910
+ { name: "nonce", type: "bytes32" }
9911
+ ]
9912
+ };
9913
+ async function signMintApproval(account, sbtAddress, chainId, payload) {
9914
+ const domain = mintApprovalDomain(chainId, sbtAddress);
9915
+ const signature = await account.signTypedData({
9916
+ domain,
9917
+ types: MINT_APPROVAL_TYPES,
9918
+ primaryType: "MintApproval",
9919
+ message: payload
9920
+ });
9921
+ return { payload, signature, domain };
9922
+ }
9923
+ function mintApprovalTypedData(sbtAddress, chainId, payload) {
9924
+ return {
9925
+ domain: mintApprovalDomain(chainId, sbtAddress),
9926
+ types: MINT_APPROVAL_TYPES,
9927
+ primaryType: "MintApproval",
9928
+ message: payload
9929
+ };
7828
9930
  }
7829
9931
  // Annotate the CommonJS export names for ESM import in node:
7830
9932
  0 && (module.exports = {
7831
9933
  AroContractError,
9934
+ AroLiquidityCommitment_ABI,
7832
9935
  AroMediaAccessManager_ABI,
7833
9936
  AroMediaAssetsRegistry_ABI,
7834
9937
  AroMediaIncMultiSig_ABI,
@@ -7842,6 +9945,7 @@ function tierAtLeast(held, required) {
7842
9945
  ForcedTransferManager_ABI,
7843
9946
  ForcedTransferStatus,
7844
9947
  ForcedTransferStatusLabels,
9948
+ MINT_APPROVAL_TYPES,
7845
9949
  NominationStatus,
7846
9950
  NominationStatusLabels,
7847
9951
  SUPPORTED_CHAIN_IDS,
@@ -7852,6 +9956,7 @@ function tierAtLeast(held, required) {
7852
9956
  aroChains,
7853
9957
  base,
7854
9958
  baseSepolia,
9959
+ cAROUSD_ABI,
7855
9960
  chainById,
7856
9961
  chainLabels,
7857
9962
  checkMembershipStatus,
@@ -7873,9 +9978,12 @@ function tierAtLeast(held, required) {
7873
9978
  hardhat,
7874
9979
  hashKycResult,
7875
9980
  mainnet,
9981
+ mintApprovalDomain,
9982
+ mintApprovalTypedData,
7876
9983
  mintSBTForApproved,
7877
9984
  nominateCandidate,
7878
9985
  sepolia,
9986
+ signMintApproval,
7879
9987
  tierAtLeast,
7880
9988
  tierLabel,
7881
9989
  tierRequirements,