@nevermined-io/core-kit 0.0.59 → 0.1.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.
@@ -3087,7 +3087,7 @@ export const assetsRegistryAbi = [
3087
3087
  name: 'UUPSUnsupportedProxiableUUID',
3088
3088
  },
3089
3089
  ];
3090
- export const assetsRegistryAddress = '0xfB5bB51bedB31253c9F834db1F68ac8Cb4F4ffD7';
3090
+ export const assetsRegistryAddress = '0x37cfde2a3903D7c3D3FD3310585d1a3585166362';
3091
3091
  export const assetsRegistryConfig = {
3092
3092
  address: assetsRegistryAddress,
3093
3093
  abi: assetsRegistryAbi,
@@ -4619,6 +4619,13 @@ export const baseTemplateAbi = [
4619
4619
  outputs: [{ name: '', internalType: 'bytes4', type: 'bytes4' }],
4620
4620
  stateMutability: 'view',
4621
4621
  },
4622
+ {
4623
+ type: 'function',
4624
+ inputs: [{ name: 'forwarder', internalType: 'address', type: 'address' }],
4625
+ name: 'isTrustedForwarder',
4626
+ outputs: [{ name: '', internalType: 'bool', type: 'bool' }],
4627
+ stateMutability: 'view',
4628
+ },
4622
4629
  {
4623
4630
  type: 'function',
4624
4631
  inputs: [],
@@ -4635,6 +4642,13 @@ export const baseTemplateAbi = [
4635
4642
  outputs: [],
4636
4643
  stateMutability: 'nonpayable',
4637
4644
  },
4645
+ {
4646
+ type: 'function',
4647
+ inputs: [],
4648
+ name: 'trustedForwarder',
4649
+ outputs: [{ name: '', internalType: 'address', type: 'address' }],
4650
+ stateMutability: 'view',
4651
+ },
4638
4652
  {
4639
4653
  type: 'function',
4640
4654
  inputs: [
@@ -5432,6 +5446,13 @@ export const deployAllAbi = [
5432
5446
  outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }],
5433
5447
  stateMutability: 'view',
5434
5448
  },
5449
+ {
5450
+ type: 'function',
5451
+ inputs: [{ name: 'contractName', internalType: 'string', type: 'string' }],
5452
+ name: 'nonUpgradableDeploymentSalt',
5453
+ outputs: [{ name: 'salt', internalType: 'bytes32', type: 'bytes32' }],
5454
+ stateMutability: 'view',
5455
+ },
5435
5456
  {
5436
5457
  type: 'function',
5437
5458
  inputs: [],
@@ -5540,11 +5561,44 @@ export const deployAllAbi = [
5540
5561
  internalType: 'contract LinearPricing',
5541
5562
  type: 'address',
5542
5563
  },
5564
+ {
5565
+ name: 'trustedForwarder',
5566
+ internalType: 'contract ERC2771Forwarder',
5567
+ type: 'address',
5568
+ },
5543
5569
  ],
5544
5570
  },
5545
5571
  ],
5546
5572
  stateMutability: 'nonpayable',
5547
5573
  },
5574
+ {
5575
+ type: 'error',
5576
+ inputs: [
5577
+ { name: 'deployedAddress', internalType: 'address', type: 'address' },
5578
+ ],
5579
+ name: 'AddressDoesNotContainBytecode',
5580
+ },
5581
+ {
5582
+ type: 'error',
5583
+ inputs: [
5584
+ { name: 'deployedAddress', internalType: 'address', type: 'address' },
5585
+ ],
5586
+ name: 'AlreadyDeployed',
5587
+ },
5588
+ { type: 'error', inputs: [], name: 'Create2DeployerNotDeployed' },
5589
+ {
5590
+ type: 'error',
5591
+ inputs: [{ name: 'data', internalType: 'bytes', type: 'bytes' }],
5592
+ name: 'DeploymentFailed',
5593
+ },
5594
+ {
5595
+ type: 'error',
5596
+ inputs: [
5597
+ { name: 'expectedAddress', internalType: 'address', type: 'address' },
5598
+ { name: 'deployedAddress', internalType: 'address', type: 'address' },
5599
+ ],
5600
+ name: 'NotDeployedToExpectedAddress',
5601
+ },
5548
5602
  ];
5549
5603
  //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
5550
5604
  // DeployConditions
@@ -7199,6 +7253,11 @@ export const deployTemplatesAbi = [
7199
7253
  internalType: 'contract TransferCreditsCondition',
7200
7254
  type: 'address',
7201
7255
  },
7256
+ {
7257
+ name: 'trustedForwarderAddress',
7258
+ internalType: 'contract ERC2771Forwarder',
7259
+ type: 'address',
7260
+ },
7202
7261
  {
7203
7262
  name: 'fiatPaymentTemplateSalt',
7204
7263
  internalType: 'struct UpgradeableContractDeploySalt',
@@ -7262,6 +7321,11 @@ export const deployTemplatesAbi = [
7262
7321
  internalType: 'contract DistributePaymentsCondition',
7263
7322
  type: 'address',
7264
7323
  },
7324
+ {
7325
+ name: 'trustedForwarderAddress',
7326
+ internalType: 'contract ERC2771Forwarder',
7327
+ type: 'address',
7328
+ },
7265
7329
  {
7266
7330
  name: 'fixedPaymentTemplateSalt',
7267
7331
  internalType: 'struct UpgradeableContractDeploySalt',
@@ -7320,6 +7384,11 @@ export const deployTemplatesAbi = [
7320
7384
  internalType: 'contract DistributePaymentsCondition',
7321
7385
  type: 'address',
7322
7386
  },
7387
+ {
7388
+ name: 'trustedForwarderAddress',
7389
+ internalType: 'contract ERC2771Forwarder',
7390
+ type: 'address',
7391
+ },
7323
7392
  {
7324
7393
  name: 'payAsYouGoTemplateSalt',
7325
7394
  internalType: 'struct UpgradeableContractDeploySalt',
@@ -7422,6 +7491,11 @@ export const deployTemplatesAbi = [
7422
7491
  internalType: 'contract IAccessManager',
7423
7492
  type: 'address',
7424
7493
  },
7494
+ {
7495
+ name: 'trustedForwarderAddress',
7496
+ internalType: 'contract ERC2771Forwarder',
7497
+ type: 'address',
7498
+ },
7425
7499
  {
7426
7500
  name: 'fixedPaymentTemplateSalt',
7427
7501
  internalType: 'struct UpgradeableContractDeploySalt',
@@ -7768,7 +7842,7 @@ export const distributePaymentsConditionAbi = [
7768
7842
  name: 'UUPSUnsupportedProxiableUUID',
7769
7843
  },
7770
7844
  ];
7771
- export const distributePaymentsConditionAddress = '0xeb25CB2C6671f0d096785e34eA17A8565AE30eA8';
7845
+ export const distributePaymentsConditionAddress = '0x0184aaa2efC22fdDA14133B44a730e243196F4A5';
7772
7846
  export const distributePaymentsConditionConfig = {
7773
7847
  address: distributePaymentsConditionAddress,
7774
7848
  abi: distributePaymentsConditionAbi,
@@ -7790,6 +7864,33 @@ export const ecdsaAbi = [
7790
7864
  },
7791
7865
  ];
7792
7866
  //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
7867
+ // EIP712
7868
+ //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
7869
+ export const eip712Abi = [
7870
+ {
7871
+ type: 'function',
7872
+ inputs: [],
7873
+ name: 'eip712Domain',
7874
+ outputs: [
7875
+ { name: 'fields', internalType: 'bytes1', type: 'bytes1' },
7876
+ { name: 'name', internalType: 'string', type: 'string' },
7877
+ { name: 'version', internalType: 'string', type: 'string' },
7878
+ { name: 'chainId', internalType: 'uint256', type: 'uint256' },
7879
+ { name: 'verifyingContract', internalType: 'address', type: 'address' },
7880
+ { name: 'salt', internalType: 'bytes32', type: 'bytes32' },
7881
+ { name: 'extensions', internalType: 'uint256[]', type: 'uint256[]' },
7882
+ ],
7883
+ stateMutability: 'view',
7884
+ },
7885
+ { type: 'event', anonymous: false, inputs: [], name: 'EIP712DomainChanged' },
7886
+ { type: 'error', inputs: [], name: 'InvalidShortString' },
7887
+ {
7888
+ type: 'error',
7889
+ inputs: [{ name: 'str', internalType: 'string', type: 'string' }],
7890
+ name: 'StringTooLong',
7891
+ },
7892
+ ];
7893
+ //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
7793
7894
  // EIP712Upgradeable
7794
7895
  //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
7795
7896
  export const eip712UpgradeableAbi = [
@@ -8350,6 +8451,240 @@ export const erc20Abi = [
8350
8451
  },
8351
8452
  ];
8352
8453
  //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
8454
+ // ERC2771Context
8455
+ //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
8456
+ export const erc2771ContextAbi = [
8457
+ {
8458
+ type: 'function',
8459
+ inputs: [{ name: 'forwarder', internalType: 'address', type: 'address' }],
8460
+ name: 'isTrustedForwarder',
8461
+ outputs: [{ name: '', internalType: 'bool', type: 'bool' }],
8462
+ stateMutability: 'view',
8463
+ },
8464
+ {
8465
+ type: 'function',
8466
+ inputs: [],
8467
+ name: 'trustedForwarder',
8468
+ outputs: [{ name: '', internalType: 'address', type: 'address' }],
8469
+ stateMutability: 'view',
8470
+ },
8471
+ ];
8472
+ //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
8473
+ // ERC2771ContextUpgradeable
8474
+ //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
8475
+ export const erc2771ContextUpgradeableAbi = [
8476
+ {
8477
+ type: 'function',
8478
+ inputs: [{ name: 'forwarder', internalType: 'address', type: 'address' }],
8479
+ name: 'isTrustedForwarder',
8480
+ outputs: [{ name: '', internalType: 'bool', type: 'bool' }],
8481
+ stateMutability: 'view',
8482
+ },
8483
+ {
8484
+ type: 'function',
8485
+ inputs: [],
8486
+ name: 'trustedForwarder',
8487
+ outputs: [{ name: '', internalType: 'address', type: 'address' }],
8488
+ stateMutability: 'view',
8489
+ },
8490
+ {
8491
+ type: 'event',
8492
+ anonymous: false,
8493
+ inputs: [
8494
+ {
8495
+ name: 'version',
8496
+ internalType: 'uint64',
8497
+ type: 'uint64',
8498
+ indexed: false,
8499
+ },
8500
+ ],
8501
+ name: 'Initialized',
8502
+ },
8503
+ { type: 'error', inputs: [], name: 'InvalidInitialization' },
8504
+ { type: 'error', inputs: [], name: 'NotInitializing' },
8505
+ ];
8506
+ //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
8507
+ // ERC2771Forwarder
8508
+ //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
8509
+ export const erc2771ForwarderAbi = [
8510
+ {
8511
+ type: 'constructor',
8512
+ inputs: [{ name: 'name', internalType: 'string', type: 'string' }],
8513
+ stateMutability: 'nonpayable',
8514
+ },
8515
+ {
8516
+ type: 'function',
8517
+ inputs: [],
8518
+ name: 'eip712Domain',
8519
+ outputs: [
8520
+ { name: 'fields', internalType: 'bytes1', type: 'bytes1' },
8521
+ { name: 'name', internalType: 'string', type: 'string' },
8522
+ { name: 'version', internalType: 'string', type: 'string' },
8523
+ { name: 'chainId', internalType: 'uint256', type: 'uint256' },
8524
+ { name: 'verifyingContract', internalType: 'address', type: 'address' },
8525
+ { name: 'salt', internalType: 'bytes32', type: 'bytes32' },
8526
+ { name: 'extensions', internalType: 'uint256[]', type: 'uint256[]' },
8527
+ ],
8528
+ stateMutability: 'view',
8529
+ },
8530
+ {
8531
+ type: 'function',
8532
+ inputs: [
8533
+ {
8534
+ name: 'request',
8535
+ internalType: 'struct ERC2771Forwarder.ForwardRequestData',
8536
+ type: 'tuple',
8537
+ components: [
8538
+ { name: 'from', internalType: 'address', type: 'address' },
8539
+ { name: 'to', internalType: 'address', type: 'address' },
8540
+ { name: 'value', internalType: 'uint256', type: 'uint256' },
8541
+ { name: 'gas', internalType: 'uint256', type: 'uint256' },
8542
+ { name: 'deadline', internalType: 'uint48', type: 'uint48' },
8543
+ { name: 'data', internalType: 'bytes', type: 'bytes' },
8544
+ { name: 'signature', internalType: 'bytes', type: 'bytes' },
8545
+ ],
8546
+ },
8547
+ ],
8548
+ name: 'execute',
8549
+ outputs: [],
8550
+ stateMutability: 'payable',
8551
+ },
8552
+ {
8553
+ type: 'function',
8554
+ inputs: [
8555
+ {
8556
+ name: 'requests',
8557
+ internalType: 'struct ERC2771Forwarder.ForwardRequestData[]',
8558
+ type: 'tuple[]',
8559
+ components: [
8560
+ { name: 'from', internalType: 'address', type: 'address' },
8561
+ { name: 'to', internalType: 'address', type: 'address' },
8562
+ { name: 'value', internalType: 'uint256', type: 'uint256' },
8563
+ { name: 'gas', internalType: 'uint256', type: 'uint256' },
8564
+ { name: 'deadline', internalType: 'uint48', type: 'uint48' },
8565
+ { name: 'data', internalType: 'bytes', type: 'bytes' },
8566
+ { name: 'signature', internalType: 'bytes', type: 'bytes' },
8567
+ ],
8568
+ },
8569
+ {
8570
+ name: 'refundReceiver',
8571
+ internalType: 'address payable',
8572
+ type: 'address',
8573
+ },
8574
+ ],
8575
+ name: 'executeBatch',
8576
+ outputs: [],
8577
+ stateMutability: 'payable',
8578
+ },
8579
+ {
8580
+ type: 'function',
8581
+ inputs: [{ name: 'owner', internalType: 'address', type: 'address' }],
8582
+ name: 'nonces',
8583
+ outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }],
8584
+ stateMutability: 'view',
8585
+ },
8586
+ {
8587
+ type: 'function',
8588
+ inputs: [
8589
+ {
8590
+ name: 'request',
8591
+ internalType: 'struct ERC2771Forwarder.ForwardRequestData',
8592
+ type: 'tuple',
8593
+ components: [
8594
+ { name: 'from', internalType: 'address', type: 'address' },
8595
+ { name: 'to', internalType: 'address', type: 'address' },
8596
+ { name: 'value', internalType: 'uint256', type: 'uint256' },
8597
+ { name: 'gas', internalType: 'uint256', type: 'uint256' },
8598
+ { name: 'deadline', internalType: 'uint48', type: 'uint48' },
8599
+ { name: 'data', internalType: 'bytes', type: 'bytes' },
8600
+ { name: 'signature', internalType: 'bytes', type: 'bytes' },
8601
+ ],
8602
+ },
8603
+ ],
8604
+ name: 'verify',
8605
+ outputs: [{ name: '', internalType: 'bool', type: 'bool' }],
8606
+ stateMutability: 'view',
8607
+ },
8608
+ { type: 'event', anonymous: false, inputs: [], name: 'EIP712DomainChanged' },
8609
+ {
8610
+ type: 'event',
8611
+ anonymous: false,
8612
+ inputs: [
8613
+ {
8614
+ name: 'signer',
8615
+ internalType: 'address',
8616
+ type: 'address',
8617
+ indexed: true,
8618
+ },
8619
+ {
8620
+ name: 'nonce',
8621
+ internalType: 'uint256',
8622
+ type: 'uint256',
8623
+ indexed: false,
8624
+ },
8625
+ { name: 'success', internalType: 'bool', type: 'bool', indexed: false },
8626
+ ],
8627
+ name: 'ExecutedForwardRequest',
8628
+ },
8629
+ {
8630
+ type: 'error',
8631
+ inputs: [{ name: 'deadline', internalType: 'uint48', type: 'uint48' }],
8632
+ name: 'ERC2771ForwarderExpiredRequest',
8633
+ },
8634
+ {
8635
+ type: 'error',
8636
+ inputs: [
8637
+ { name: 'signer', internalType: 'address', type: 'address' },
8638
+ { name: 'from', internalType: 'address', type: 'address' },
8639
+ ],
8640
+ name: 'ERC2771ForwarderInvalidSigner',
8641
+ },
8642
+ {
8643
+ type: 'error',
8644
+ inputs: [
8645
+ { name: 'requestedValue', internalType: 'uint256', type: 'uint256' },
8646
+ { name: 'msgValue', internalType: 'uint256', type: 'uint256' },
8647
+ ],
8648
+ name: 'ERC2771ForwarderMismatchedValue',
8649
+ },
8650
+ {
8651
+ type: 'error',
8652
+ inputs: [
8653
+ { name: 'target', internalType: 'address', type: 'address' },
8654
+ { name: 'forwarder', internalType: 'address', type: 'address' },
8655
+ ],
8656
+ name: 'ERC2771UntrustfulTarget',
8657
+ },
8658
+ { type: 'error', inputs: [], name: 'FailedCall' },
8659
+ {
8660
+ type: 'error',
8661
+ inputs: [
8662
+ { name: 'balance', internalType: 'uint256', type: 'uint256' },
8663
+ { name: 'needed', internalType: 'uint256', type: 'uint256' },
8664
+ ],
8665
+ name: 'InsufficientBalance',
8666
+ },
8667
+ {
8668
+ type: 'error',
8669
+ inputs: [
8670
+ { name: 'account', internalType: 'address', type: 'address' },
8671
+ { name: 'currentNonce', internalType: 'uint256', type: 'uint256' },
8672
+ ],
8673
+ name: 'InvalidAccountNonce',
8674
+ },
8675
+ { type: 'error', inputs: [], name: 'InvalidShortString' },
8676
+ {
8677
+ type: 'error',
8678
+ inputs: [{ name: 'str', internalType: 'string', type: 'string' }],
8679
+ name: 'StringTooLong',
8680
+ },
8681
+ ];
8682
+ export const erc2771ForwarderAddress = '0xFa2559EAb066ab71715a1bF39A315614F6b39030';
8683
+ export const erc2771ForwarderConfig = {
8684
+ address: erc2771ForwarderAddress,
8685
+ abi: erc2771ForwarderAbi,
8686
+ };
8687
+ //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
8353
8688
  // ERC721URIStorageUpgradeable
8354
8689
  //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
8355
8690
  export const erc721UriStorageUpgradeableAbi = [
@@ -8885,6 +9220,13 @@ export const errorsAbi = [
8885
9220
  // FiatPaymentTemplate
8886
9221
  //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
8887
9222
  export const fiatPaymentTemplateAbi = [
9223
+ {
9224
+ type: 'constructor',
9225
+ inputs: [
9226
+ { name: '_trustedForwarder', internalType: 'address', type: 'address' },
9227
+ ],
9228
+ stateMutability: 'nonpayable',
9229
+ },
8888
9230
  {
8889
9231
  type: 'function',
8890
9232
  inputs: [],
@@ -8951,6 +9293,13 @@ export const fiatPaymentTemplateAbi = [
8951
9293
  outputs: [{ name: '', internalType: 'bytes4', type: 'bytes4' }],
8952
9294
  stateMutability: 'view',
8953
9295
  },
9296
+ {
9297
+ type: 'function',
9298
+ inputs: [{ name: 'forwarder', internalType: 'address', type: 'address' }],
9299
+ name: 'isTrustedForwarder',
9300
+ outputs: [{ name: '', internalType: 'bool', type: 'bool' }],
9301
+ stateMutability: 'view',
9302
+ },
8954
9303
  {
8955
9304
  type: 'function',
8956
9305
  inputs: [
@@ -8980,6 +9329,13 @@ export const fiatPaymentTemplateAbi = [
8980
9329
  outputs: [],
8981
9330
  stateMutability: 'nonpayable',
8982
9331
  },
9332
+ {
9333
+ type: 'function',
9334
+ inputs: [],
9335
+ name: 'trustedForwarder',
9336
+ outputs: [{ name: '', internalType: 'address', type: 'address' }],
9337
+ stateMutability: 'view',
9338
+ },
8983
9339
  {
8984
9340
  type: 'function',
8985
9341
  inputs: [
@@ -9133,7 +9489,7 @@ export const fiatPaymentTemplateAbi = [
9133
9489
  name: 'UUPSUnsupportedProxiableUUID',
9134
9490
  },
9135
9491
  ];
9136
- export const fiatPaymentTemplateAddress = '0xEB29D1AcCe9aDA1fe00d2642184AeB9d0F1226cA';
9492
+ export const fiatPaymentTemplateAddress = '0x10a40ba5f5B9faE1afF11a45b3b410729C36a4F3';
9137
9493
  export const fiatPaymentTemplateConfig = {
9138
9494
  address: fiatPaymentTemplateAddress,
9139
9495
  abi: fiatPaymentTemplateAbi,
@@ -9376,7 +9732,7 @@ export const fiatSettlementConditionAbi = [
9376
9732
  name: 'UUPSUnsupportedProxiableUUID',
9377
9733
  },
9378
9734
  ];
9379
- export const fiatSettlementConditionAddress = '0xEbC1f46d2960991a1ac1123a8D0aAA3C23A5A5C5';
9735
+ export const fiatSettlementConditionAddress = '0x3DA5B6Da6bB792B5ee26837C0286856B16033F09';
9380
9736
  export const fiatSettlementConditionConfig = {
9381
9737
  address: fiatSettlementConditionAddress,
9382
9738
  abi: fiatSettlementConditionAbi,
@@ -9385,6 +9741,13 @@ export const fiatSettlementConditionConfig = {
9385
9741
  // FixedPaymentTemplate
9386
9742
  //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
9387
9743
  export const fixedPaymentTemplateAbi = [
9744
+ {
9745
+ type: 'constructor',
9746
+ inputs: [
9747
+ { name: '_trustedForwarder', internalType: 'address', type: 'address' },
9748
+ ],
9749
+ stateMutability: 'nonpayable',
9750
+ },
9388
9751
  {
9389
9752
  type: 'function',
9390
9753
  inputs: [],
@@ -9456,6 +9819,13 @@ export const fixedPaymentTemplateAbi = [
9456
9819
  outputs: [{ name: '', internalType: 'bytes4', type: 'bytes4' }],
9457
9820
  stateMutability: 'view',
9458
9821
  },
9822
+ {
9823
+ type: 'function',
9824
+ inputs: [{ name: 'forwarder', internalType: 'address', type: 'address' }],
9825
+ name: 'isTrustedForwarder',
9826
+ outputs: [{ name: '', internalType: 'bool', type: 'bool' }],
9827
+ stateMutability: 'view',
9828
+ },
9459
9829
  {
9460
9830
  type: 'function',
9461
9831
  inputs: [
@@ -9485,6 +9855,13 @@ export const fixedPaymentTemplateAbi = [
9485
9855
  outputs: [],
9486
9856
  stateMutability: 'nonpayable',
9487
9857
  },
9858
+ {
9859
+ type: 'function',
9860
+ inputs: [],
9861
+ name: 'trustedForwarder',
9862
+ outputs: [{ name: '', internalType: 'address', type: 'address' }],
9863
+ stateMutability: 'view',
9864
+ },
9488
9865
  {
9489
9866
  type: 'function',
9490
9867
  inputs: [
@@ -9638,7 +10015,7 @@ export const fixedPaymentTemplateAbi = [
9638
10015
  name: 'UUPSUnsupportedProxiableUUID',
9639
10016
  },
9640
10017
  ];
9641
- export const fixedPaymentTemplateAddress = '0x18FbDd2819bde95AdC7865F4D8c21A4C6769D7A5';
10018
+ export const fixedPaymentTemplateAddress = '0xa0A60a8c35D356EC28f0ABeea6DD88fc46244aAB';
9642
10019
  export const fixedPaymentTemplateConfig = {
9643
10020
  address: fixedPaymentTemplateAddress,
9644
10021
  abi: fixedPaymentTemplateAbi,
@@ -13770,7 +14147,7 @@ export const linearPricingAbi = [
13770
14147
  name: 'UnsupportedPlanId',
13771
14148
  },
13772
14149
  ];
13773
- export const linearPricingAddress = '0xc64BCc8C2A18feBD7C5A0c0edC925cdC92C81C03';
14150
+ export const linearPricingAddress = '0x774473Ce7aB785db11dCad1eE571Ea436fdBA699';
13774
14151
  export const linearPricingConfig = {
13775
14152
  address: linearPricingAddress,
13776
14153
  abi: linearPricingAbi,
@@ -14018,7 +14395,7 @@ export const lockPaymentConditionAbi = [
14018
14395
  },
14019
14396
  { type: 'error', inputs: [], name: 'UnsupportedPriceTypeOption' },
14020
14397
  ];
14021
- export const lockPaymentConditionAddress = '0x8fE68580AAE084F51574Ae85405BD6a543B84214';
14398
+ export const lockPaymentConditionAddress = '0x30323e35E9c0658775311B2153590d434B4a2CDD';
14022
14399
  export const lockPaymentConditionConfig = {
14023
14400
  address: lockPaymentConditionAddress,
14024
14401
  abi: lockPaymentConditionAbi,
@@ -15479,7 +15856,7 @@ export const nft1155CreditsAbi = [
15479
15856
  name: 'UUPSUnsupportedProxiableUUID',
15480
15857
  },
15481
15858
  ];
15482
- export const nft1155CreditsAddress = '0xFc00537e32A864ab29eF64adc2c675ba2C86b540';
15859
+ export const nft1155CreditsAddress = '0xDD8487707e7f1F07CcA6eF4a3615f4D548948f24';
15483
15860
  export const nft1155CreditsConfig = {
15484
15861
  address: nft1155CreditsAddress,
15485
15862
  abi: nft1155CreditsAbi,
@@ -16873,7 +17250,7 @@ export const nft1155ExpirableCreditsAbi = [
16873
17250
  name: 'UUPSUnsupportedProxiableUUID',
16874
17251
  },
16875
17252
  ];
16876
- export const nft1155ExpirableCreditsAddress = '0xCc3916c6E788198EcD0d3e9DE530726470D78FFa';
17253
+ export const nft1155ExpirableCreditsAddress = '0x8773BEd8e2c874785cF22374c3469374136d63c5';
16877
17254
  export const nft1155ExpirableCreditsConfig = {
16878
17255
  address: nft1155ExpirableCreditsAddress,
16879
17256
  abi: nft1155ExpirableCreditsAbi,
@@ -18370,7 +18747,7 @@ export const nft1155ExpirableCreditsV2Abi = [
18370
18747
  name: 'UUPSUnsupportedProxiableUUID',
18371
18748
  },
18372
18749
  ];
18373
- export const nft1155ExpirableCreditsV2Address = '0x66a29a87651F29d5CeeDda56f8B57C6b55b5bDA7';
18750
+ export const nft1155ExpirableCreditsV2Address = '0x622B9cA74b9409713e9E46B9818D908660bb6bB5';
18374
18751
  export const nft1155ExpirableCreditsV2Config = {
18375
18752
  address: nft1155ExpirableCreditsV2Address,
18376
18753
  abi: nft1155ExpirableCreditsV2Abi,
@@ -18710,7 +19087,7 @@ export const nvmConfigAbi = [
18710
19087
  name: 'UUPSUnsupportedProxiableUUID',
18711
19088
  },
18712
19089
  ];
18713
- export const nvmConfigAddress = '0x90E2839ACD02E763e90B18313ffa397C424704bb';
19090
+ export const nvmConfigAddress = '0xd34aEA9d4db5d6201BeC13DaC093f9F47fb25ecc';
18714
19091
  export const nvmConfigConfig = {
18715
19092
  address: nvmConfigAddress,
18716
19093
  abi: nvmConfigAbi,
@@ -19065,6 +19442,26 @@ export const nvmConfigV2Abi = [
19065
19442
  },
19066
19443
  ];
19067
19444
  //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
19445
+ // Nonces
19446
+ //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
19447
+ export const noncesAbi = [
19448
+ {
19449
+ type: 'function',
19450
+ inputs: [{ name: 'owner', internalType: 'address', type: 'address' }],
19451
+ name: 'nonces',
19452
+ outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }],
19453
+ stateMutability: 'view',
19454
+ },
19455
+ {
19456
+ type: 'error',
19457
+ inputs: [
19458
+ { name: 'account', internalType: 'address', type: 'address' },
19459
+ { name: 'currentNonce', internalType: 'uint256', type: 'uint256' },
19460
+ ],
19461
+ name: 'InvalidAccountNonce',
19462
+ },
19463
+ ];
19464
+ //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
19068
19465
  // OneTimeCreatorHook
19069
19466
  //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
19070
19467
  export const oneTimeCreatorHookAbi = [
@@ -19303,6 +19700,13 @@ export const oneTimeCreatorHookConfig = {
19303
19700
  // PayAsYouGoTemplate
19304
19701
  //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
19305
19702
  export const payAsYouGoTemplateAbi = [
19703
+ {
19704
+ type: 'constructor',
19705
+ inputs: [
19706
+ { name: '_trustedForwarder', internalType: 'address', type: 'address' },
19707
+ ],
19708
+ stateMutability: 'nonpayable',
19709
+ },
19306
19710
  {
19307
19711
  type: 'function',
19308
19712
  inputs: [],
@@ -19369,6 +19773,13 @@ export const payAsYouGoTemplateAbi = [
19369
19773
  outputs: [{ name: '', internalType: 'bytes4', type: 'bytes4' }],
19370
19774
  stateMutability: 'view',
19371
19775
  },
19776
+ {
19777
+ type: 'function',
19778
+ inputs: [{ name: 'forwarder', internalType: 'address', type: 'address' }],
19779
+ name: 'isTrustedForwarder',
19780
+ outputs: [{ name: '', internalType: 'bool', type: 'bool' }],
19781
+ stateMutability: 'view',
19782
+ },
19372
19783
  {
19373
19784
  type: 'function',
19374
19785
  inputs: [
@@ -19396,6 +19807,13 @@ export const payAsYouGoTemplateAbi = [
19396
19807
  outputs: [],
19397
19808
  stateMutability: 'nonpayable',
19398
19809
  },
19810
+ {
19811
+ type: 'function',
19812
+ inputs: [],
19813
+ name: 'trustedForwarder',
19814
+ outputs: [{ name: '', internalType: 'address', type: 'address' }],
19815
+ stateMutability: 'view',
19816
+ },
19399
19817
  {
19400
19818
  type: 'function',
19401
19819
  inputs: [
@@ -19549,7 +19967,7 @@ export const payAsYouGoTemplateAbi = [
19549
19967
  name: 'UUPSUnsupportedProxiableUUID',
19550
19968
  },
19551
19969
  ];
19552
- export const payAsYouGoTemplateAddress = '0x7c8590d0a2322D581C2a210E9cCf8E283cAfe58f';
19970
+ export const payAsYouGoTemplateAddress = '0xA66785d7e385882c63C01fe5E7BB6E2E5727b722';
19553
19971
  export const payAsYouGoTemplateConfig = {
19554
19972
  address: payAsYouGoTemplateAddress,
19555
19973
  abi: payAsYouGoTemplateAbi,
@@ -19869,7 +20287,7 @@ export const paymentsVaultAbi = [
19869
20287
  name: 'UUPSUnsupportedProxiableUUID',
19870
20288
  },
19871
20289
  ];
19872
- export const paymentsVaultAddress = '0xeCFa16B2c1A7BCeDb062c130e58200fC6432B2c7';
20290
+ export const paymentsVaultAddress = '0x016dF89BCD2c76fBAA536cAd92e34FdaB6E6461B';
19873
20291
  export const paymentsVaultConfig = {
19874
20292
  address: paymentsVaultAddress,
19875
20293
  abi: paymentsVaultAbi,
@@ -20613,6 +21031,17 @@ export const setNetworkFeesAbi = [
20613
21031
  },
20614
21032
  ];
20615
21033
  //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
21034
+ // ShortStrings
21035
+ //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
21036
+ export const shortStringsAbi = [
21037
+ { type: 'error', inputs: [], name: 'InvalidShortString' },
21038
+ {
21039
+ type: 'error',
21040
+ inputs: [{ name: 'str', internalType: 'string', type: 'string' }],
21041
+ name: 'StringTooLong',
21042
+ },
21043
+ ];
21044
+ //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
20616
21045
  // Strings
20617
21046
  //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
20618
21047
  export const stringsAbi = [
@@ -21043,7 +21472,7 @@ export const transferCreditsConditionAbi = [
21043
21472
  name: 'UUPSUnsupportedProxiableUUID',
21044
21473
  },
21045
21474
  ];
21046
- export const transferCreditsConditionAddress = '0x0c6D9979Af05298EC2Dc04B595f32B61b44c9526';
21475
+ export const transferCreditsConditionAddress = '0xDed93ca405828D5fca59fB05DF660dEf85EcEF92';
21047
21476
  export const transferCreditsConditionConfig = {
21048
21477
  address: transferCreditsConditionAddress,
21049
21478
  abi: transferCreditsConditionAbi,