@nevermined-io/core-kit 0.0.59 → 0.1.1

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.
@@ -809,7 +809,7 @@ export const accessManagerAbi = [
809
809
  name: 'SafeCastOverflowedUintDowncast',
810
810
  },
811
811
  ];
812
- export const accessManagerAddress = '0x3CE7B8671A5C84ab5494a6bEC912b529aCd138Ec';
812
+ export const accessManagerAddress = '0x3116A0aB34c8E829066d4D9Cd1e2534Ff14d5268';
813
813
  export const accessManagerConfig = {
814
814
  address: accessManagerAddress,
815
815
  abi: accessManagerAbi,
@@ -1202,7 +1202,7 @@ export const agreementsStoreAbi = [
1202
1202
  name: 'UUPSUnsupportedProxiableUUID',
1203
1203
  },
1204
1204
  ];
1205
- export const agreementsStoreAddress = '0xe5Ab60F233B930BA9c78f95Ed058Bd477AC34996';
1205
+ export const agreementsStoreAddress = '0x1B8B04BbF240bfB15f12368352a1397E3882660C';
1206
1206
  export const agreementsStoreConfig = {
1207
1207
  address: agreementsStoreAddress,
1208
1208
  abi: agreementsStoreAbi,
@@ -3087,7 +3087,7 @@ export const assetsRegistryAbi = [
3087
3087
  name: 'UUPSUnsupportedProxiableUUID',
3088
3088
  },
3089
3089
  ];
3090
- export const assetsRegistryAddress = '0xfB5bB51bedB31253c9F834db1F68ac8Cb4F4ffD7';
3090
+ export const assetsRegistryAddress = '0x1B093EE52104e407dfC80A28B07e62834AAB4Ae4';
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: [
@@ -5172,60 +5186,6 @@ export const baseTestAbi = [
5172
5186
  },
5173
5187
  ];
5174
5188
  //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
5175
- // ConfigureAll
5176
- //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
5177
- export const configureAllAbi = [
5178
- {
5179
- type: 'function',
5180
- inputs: [],
5181
- name: 'IS_SCRIPT',
5182
- outputs: [{ name: '', internalType: 'bool', type: 'bool' }],
5183
- stateMutability: 'view',
5184
- },
5185
- {
5186
- type: 'function',
5187
- inputs: [],
5188
- name: 'debug',
5189
- outputs: [{ name: '', internalType: 'bool', type: 'bool' }],
5190
- stateMutability: 'view',
5191
- },
5192
- {
5193
- type: 'function',
5194
- inputs: [],
5195
- name: 'feeReceiver',
5196
- outputs: [{ name: '', internalType: 'address', type: 'address' }],
5197
- stateMutability: 'view',
5198
- },
5199
- {
5200
- type: 'function',
5201
- inputs: [],
5202
- name: 'governor',
5203
- outputs: [{ name: '', internalType: 'address', type: 'address' }],
5204
- stateMutability: 'view',
5205
- },
5206
- {
5207
- type: 'function',
5208
- inputs: [],
5209
- name: 'networkFee',
5210
- outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }],
5211
- stateMutability: 'view',
5212
- },
5213
- {
5214
- type: 'function',
5215
- inputs: [],
5216
- name: 'owner',
5217
- outputs: [{ name: '', internalType: 'address', type: 'address' }],
5218
- stateMutability: 'view',
5219
- },
5220
- {
5221
- type: 'function',
5222
- inputs: [],
5223
- name: 'run',
5224
- outputs: [],
5225
- stateMutability: 'nonpayable',
5226
- },
5227
- ];
5228
- //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
5229
5189
  // ContextUpgradeable
5230
5190
  //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
5231
5191
  export const contextUpgradeableAbi = [
@@ -5432,6 +5392,13 @@ export const deployAllAbi = [
5432
5392
  outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }],
5433
5393
  stateMutability: 'view',
5434
5394
  },
5395
+ {
5396
+ type: 'function',
5397
+ inputs: [{ name: 'contractName', internalType: 'string', type: 'string' }],
5398
+ name: 'nonUpgradableDeploymentSalt',
5399
+ outputs: [{ name: 'salt', internalType: 'bytes32', type: 'bytes32' }],
5400
+ stateMutability: 'view',
5401
+ },
5435
5402
  {
5436
5403
  type: 'function',
5437
5404
  inputs: [],
@@ -5540,11 +5507,44 @@ export const deployAllAbi = [
5540
5507
  internalType: 'contract LinearPricing',
5541
5508
  type: 'address',
5542
5509
  },
5510
+ {
5511
+ name: 'trustedForwarder',
5512
+ internalType: 'contract ERC2771Forwarder',
5513
+ type: 'address',
5514
+ },
5543
5515
  ],
5544
5516
  },
5545
5517
  ],
5546
5518
  stateMutability: 'nonpayable',
5547
5519
  },
5520
+ {
5521
+ type: 'error',
5522
+ inputs: [
5523
+ { name: 'deployedAddress', internalType: 'address', type: 'address' },
5524
+ ],
5525
+ name: 'AddressDoesNotContainBytecode',
5526
+ },
5527
+ {
5528
+ type: 'error',
5529
+ inputs: [
5530
+ { name: 'deployedAddress', internalType: 'address', type: 'address' },
5531
+ ],
5532
+ name: 'AlreadyDeployed',
5533
+ },
5534
+ { type: 'error', inputs: [], name: 'Create2DeployerNotDeployed' },
5535
+ {
5536
+ type: 'error',
5537
+ inputs: [{ name: 'data', internalType: 'bytes', type: 'bytes' }],
5538
+ name: 'DeploymentFailed',
5539
+ },
5540
+ {
5541
+ type: 'error',
5542
+ inputs: [
5543
+ { name: 'expectedAddress', internalType: 'address', type: 'address' },
5544
+ { name: 'deployedAddress', internalType: 'address', type: 'address' },
5545
+ ],
5546
+ name: 'NotDeployedToExpectedAddress',
5547
+ },
5548
5548
  ];
5549
5549
  //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
5550
5550
  // DeployConditions
@@ -7199,6 +7199,11 @@ export const deployTemplatesAbi = [
7199
7199
  internalType: 'contract TransferCreditsCondition',
7200
7200
  type: 'address',
7201
7201
  },
7202
+ {
7203
+ name: 'trustedForwarderAddress',
7204
+ internalType: 'contract ERC2771Forwarder',
7205
+ type: 'address',
7206
+ },
7202
7207
  {
7203
7208
  name: 'fiatPaymentTemplateSalt',
7204
7209
  internalType: 'struct UpgradeableContractDeploySalt',
@@ -7262,6 +7267,11 @@ export const deployTemplatesAbi = [
7262
7267
  internalType: 'contract DistributePaymentsCondition',
7263
7268
  type: 'address',
7264
7269
  },
7270
+ {
7271
+ name: 'trustedForwarderAddress',
7272
+ internalType: 'contract ERC2771Forwarder',
7273
+ type: 'address',
7274
+ },
7265
7275
  {
7266
7276
  name: 'fixedPaymentTemplateSalt',
7267
7277
  internalType: 'struct UpgradeableContractDeploySalt',
@@ -7320,6 +7330,11 @@ export const deployTemplatesAbi = [
7320
7330
  internalType: 'contract DistributePaymentsCondition',
7321
7331
  type: 'address',
7322
7332
  },
7333
+ {
7334
+ name: 'trustedForwarderAddress',
7335
+ internalType: 'contract ERC2771Forwarder',
7336
+ type: 'address',
7337
+ },
7323
7338
  {
7324
7339
  name: 'payAsYouGoTemplateSalt',
7325
7340
  internalType: 'struct UpgradeableContractDeploySalt',
@@ -7422,6 +7437,11 @@ export const deployTemplatesAbi = [
7422
7437
  internalType: 'contract IAccessManager',
7423
7438
  type: 'address',
7424
7439
  },
7440
+ {
7441
+ name: 'trustedForwarderAddress',
7442
+ internalType: 'contract ERC2771Forwarder',
7443
+ type: 'address',
7444
+ },
7425
7445
  {
7426
7446
  name: 'fixedPaymentTemplateSalt',
7427
7447
  internalType: 'struct UpgradeableContractDeploySalt',
@@ -7768,7 +7788,7 @@ export const distributePaymentsConditionAbi = [
7768
7788
  name: 'UUPSUnsupportedProxiableUUID',
7769
7789
  },
7770
7790
  ];
7771
- export const distributePaymentsConditionAddress = '0xeb25CB2C6671f0d096785e34eA17A8565AE30eA8';
7791
+ export const distributePaymentsConditionAddress = '0x44D2b43d6dD10506BBBf09c5f6D5A3513e66c028';
7772
7792
  export const distributePaymentsConditionConfig = {
7773
7793
  address: distributePaymentsConditionAddress,
7774
7794
  abi: distributePaymentsConditionAbi,
@@ -7790,6 +7810,33 @@ export const ecdsaAbi = [
7790
7810
  },
7791
7811
  ];
7792
7812
  //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
7813
+ // EIP712
7814
+ //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
7815
+ export const eip712Abi = [
7816
+ {
7817
+ type: 'function',
7818
+ inputs: [],
7819
+ name: 'eip712Domain',
7820
+ outputs: [
7821
+ { name: 'fields', internalType: 'bytes1', type: 'bytes1' },
7822
+ { name: 'name', internalType: 'string', type: 'string' },
7823
+ { name: 'version', internalType: 'string', type: 'string' },
7824
+ { name: 'chainId', internalType: 'uint256', type: 'uint256' },
7825
+ { name: 'verifyingContract', internalType: 'address', type: 'address' },
7826
+ { name: 'salt', internalType: 'bytes32', type: 'bytes32' },
7827
+ { name: 'extensions', internalType: 'uint256[]', type: 'uint256[]' },
7828
+ ],
7829
+ stateMutability: 'view',
7830
+ },
7831
+ { type: 'event', anonymous: false, inputs: [], name: 'EIP712DomainChanged' },
7832
+ { type: 'error', inputs: [], name: 'InvalidShortString' },
7833
+ {
7834
+ type: 'error',
7835
+ inputs: [{ name: 'str', internalType: 'string', type: 'string' }],
7836
+ name: 'StringTooLong',
7837
+ },
7838
+ ];
7839
+ //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
7793
7840
  // EIP712Upgradeable
7794
7841
  //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
7795
7842
  export const eip712UpgradeableAbi = [
@@ -8350,6 +8397,240 @@ export const erc20Abi = [
8350
8397
  },
8351
8398
  ];
8352
8399
  //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
8400
+ // ERC2771Context
8401
+ //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
8402
+ export const erc2771ContextAbi = [
8403
+ {
8404
+ type: 'function',
8405
+ inputs: [{ name: 'forwarder', internalType: 'address', type: 'address' }],
8406
+ name: 'isTrustedForwarder',
8407
+ outputs: [{ name: '', internalType: 'bool', type: 'bool' }],
8408
+ stateMutability: 'view',
8409
+ },
8410
+ {
8411
+ type: 'function',
8412
+ inputs: [],
8413
+ name: 'trustedForwarder',
8414
+ outputs: [{ name: '', internalType: 'address', type: 'address' }],
8415
+ stateMutability: 'view',
8416
+ },
8417
+ ];
8418
+ //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
8419
+ // ERC2771ContextUpgradeable
8420
+ //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
8421
+ export const erc2771ContextUpgradeableAbi = [
8422
+ {
8423
+ type: 'function',
8424
+ inputs: [{ name: 'forwarder', internalType: 'address', type: 'address' }],
8425
+ name: 'isTrustedForwarder',
8426
+ outputs: [{ name: '', internalType: 'bool', type: 'bool' }],
8427
+ stateMutability: 'view',
8428
+ },
8429
+ {
8430
+ type: 'function',
8431
+ inputs: [],
8432
+ name: 'trustedForwarder',
8433
+ outputs: [{ name: '', internalType: 'address', type: 'address' }],
8434
+ stateMutability: 'view',
8435
+ },
8436
+ {
8437
+ type: 'event',
8438
+ anonymous: false,
8439
+ inputs: [
8440
+ {
8441
+ name: 'version',
8442
+ internalType: 'uint64',
8443
+ type: 'uint64',
8444
+ indexed: false,
8445
+ },
8446
+ ],
8447
+ name: 'Initialized',
8448
+ },
8449
+ { type: 'error', inputs: [], name: 'InvalidInitialization' },
8450
+ { type: 'error', inputs: [], name: 'NotInitializing' },
8451
+ ];
8452
+ //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
8453
+ // ERC2771Forwarder
8454
+ //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
8455
+ export const erc2771ForwarderAbi = [
8456
+ {
8457
+ type: 'constructor',
8458
+ inputs: [{ name: 'name', internalType: 'string', type: 'string' }],
8459
+ stateMutability: 'nonpayable',
8460
+ },
8461
+ {
8462
+ type: 'function',
8463
+ inputs: [],
8464
+ name: 'eip712Domain',
8465
+ outputs: [
8466
+ { name: 'fields', internalType: 'bytes1', type: 'bytes1' },
8467
+ { name: 'name', internalType: 'string', type: 'string' },
8468
+ { name: 'version', internalType: 'string', type: 'string' },
8469
+ { name: 'chainId', internalType: 'uint256', type: 'uint256' },
8470
+ { name: 'verifyingContract', internalType: 'address', type: 'address' },
8471
+ { name: 'salt', internalType: 'bytes32', type: 'bytes32' },
8472
+ { name: 'extensions', internalType: 'uint256[]', type: 'uint256[]' },
8473
+ ],
8474
+ stateMutability: 'view',
8475
+ },
8476
+ {
8477
+ type: 'function',
8478
+ inputs: [
8479
+ {
8480
+ name: 'request',
8481
+ internalType: 'struct ERC2771Forwarder.ForwardRequestData',
8482
+ type: 'tuple',
8483
+ components: [
8484
+ { name: 'from', internalType: 'address', type: 'address' },
8485
+ { name: 'to', internalType: 'address', type: 'address' },
8486
+ { name: 'value', internalType: 'uint256', type: 'uint256' },
8487
+ { name: 'gas', internalType: 'uint256', type: 'uint256' },
8488
+ { name: 'deadline', internalType: 'uint48', type: 'uint48' },
8489
+ { name: 'data', internalType: 'bytes', type: 'bytes' },
8490
+ { name: 'signature', internalType: 'bytes', type: 'bytes' },
8491
+ ],
8492
+ },
8493
+ ],
8494
+ name: 'execute',
8495
+ outputs: [],
8496
+ stateMutability: 'payable',
8497
+ },
8498
+ {
8499
+ type: 'function',
8500
+ inputs: [
8501
+ {
8502
+ name: 'requests',
8503
+ internalType: 'struct ERC2771Forwarder.ForwardRequestData[]',
8504
+ type: 'tuple[]',
8505
+ components: [
8506
+ { name: 'from', internalType: 'address', type: 'address' },
8507
+ { name: 'to', internalType: 'address', type: 'address' },
8508
+ { name: 'value', internalType: 'uint256', type: 'uint256' },
8509
+ { name: 'gas', internalType: 'uint256', type: 'uint256' },
8510
+ { name: 'deadline', internalType: 'uint48', type: 'uint48' },
8511
+ { name: 'data', internalType: 'bytes', type: 'bytes' },
8512
+ { name: 'signature', internalType: 'bytes', type: 'bytes' },
8513
+ ],
8514
+ },
8515
+ {
8516
+ name: 'refundReceiver',
8517
+ internalType: 'address payable',
8518
+ type: 'address',
8519
+ },
8520
+ ],
8521
+ name: 'executeBatch',
8522
+ outputs: [],
8523
+ stateMutability: 'payable',
8524
+ },
8525
+ {
8526
+ type: 'function',
8527
+ inputs: [{ name: 'owner', internalType: 'address', type: 'address' }],
8528
+ name: 'nonces',
8529
+ outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }],
8530
+ stateMutability: 'view',
8531
+ },
8532
+ {
8533
+ type: 'function',
8534
+ inputs: [
8535
+ {
8536
+ name: 'request',
8537
+ internalType: 'struct ERC2771Forwarder.ForwardRequestData',
8538
+ type: 'tuple',
8539
+ components: [
8540
+ { name: 'from', internalType: 'address', type: 'address' },
8541
+ { name: 'to', internalType: 'address', type: 'address' },
8542
+ { name: 'value', internalType: 'uint256', type: 'uint256' },
8543
+ { name: 'gas', internalType: 'uint256', type: 'uint256' },
8544
+ { name: 'deadline', internalType: 'uint48', type: 'uint48' },
8545
+ { name: 'data', internalType: 'bytes', type: 'bytes' },
8546
+ { name: 'signature', internalType: 'bytes', type: 'bytes' },
8547
+ ],
8548
+ },
8549
+ ],
8550
+ name: 'verify',
8551
+ outputs: [{ name: '', internalType: 'bool', type: 'bool' }],
8552
+ stateMutability: 'view',
8553
+ },
8554
+ { type: 'event', anonymous: false, inputs: [], name: 'EIP712DomainChanged' },
8555
+ {
8556
+ type: 'event',
8557
+ anonymous: false,
8558
+ inputs: [
8559
+ {
8560
+ name: 'signer',
8561
+ internalType: 'address',
8562
+ type: 'address',
8563
+ indexed: true,
8564
+ },
8565
+ {
8566
+ name: 'nonce',
8567
+ internalType: 'uint256',
8568
+ type: 'uint256',
8569
+ indexed: false,
8570
+ },
8571
+ { name: 'success', internalType: 'bool', type: 'bool', indexed: false },
8572
+ ],
8573
+ name: 'ExecutedForwardRequest',
8574
+ },
8575
+ {
8576
+ type: 'error',
8577
+ inputs: [{ name: 'deadline', internalType: 'uint48', type: 'uint48' }],
8578
+ name: 'ERC2771ForwarderExpiredRequest',
8579
+ },
8580
+ {
8581
+ type: 'error',
8582
+ inputs: [
8583
+ { name: 'signer', internalType: 'address', type: 'address' },
8584
+ { name: 'from', internalType: 'address', type: 'address' },
8585
+ ],
8586
+ name: 'ERC2771ForwarderInvalidSigner',
8587
+ },
8588
+ {
8589
+ type: 'error',
8590
+ inputs: [
8591
+ { name: 'requestedValue', internalType: 'uint256', type: 'uint256' },
8592
+ { name: 'msgValue', internalType: 'uint256', type: 'uint256' },
8593
+ ],
8594
+ name: 'ERC2771ForwarderMismatchedValue',
8595
+ },
8596
+ {
8597
+ type: 'error',
8598
+ inputs: [
8599
+ { name: 'target', internalType: 'address', type: 'address' },
8600
+ { name: 'forwarder', internalType: 'address', type: 'address' },
8601
+ ],
8602
+ name: 'ERC2771UntrustfulTarget',
8603
+ },
8604
+ { type: 'error', inputs: [], name: 'FailedCall' },
8605
+ {
8606
+ type: 'error',
8607
+ inputs: [
8608
+ { name: 'balance', internalType: 'uint256', type: 'uint256' },
8609
+ { name: 'needed', internalType: 'uint256', type: 'uint256' },
8610
+ ],
8611
+ name: 'InsufficientBalance',
8612
+ },
8613
+ {
8614
+ type: 'error',
8615
+ inputs: [
8616
+ { name: 'account', internalType: 'address', type: 'address' },
8617
+ { name: 'currentNonce', internalType: 'uint256', type: 'uint256' },
8618
+ ],
8619
+ name: 'InvalidAccountNonce',
8620
+ },
8621
+ { type: 'error', inputs: [], name: 'InvalidShortString' },
8622
+ {
8623
+ type: 'error',
8624
+ inputs: [{ name: 'str', internalType: 'string', type: 'string' }],
8625
+ name: 'StringTooLong',
8626
+ },
8627
+ ];
8628
+ export const erc2771ForwarderAddress = '0xF2c77aD0a66392538A2Dc32a1A9846b9C3249b69';
8629
+ export const erc2771ForwarderConfig = {
8630
+ address: erc2771ForwarderAddress,
8631
+ abi: erc2771ForwarderAbi,
8632
+ };
8633
+ //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
8353
8634
  // ERC721URIStorageUpgradeable
8354
8635
  //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
8355
8636
  export const erc721UriStorageUpgradeableAbi = [
@@ -8885,6 +9166,13 @@ export const errorsAbi = [
8885
9166
  // FiatPaymentTemplate
8886
9167
  //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
8887
9168
  export const fiatPaymentTemplateAbi = [
9169
+ {
9170
+ type: 'constructor',
9171
+ inputs: [
9172
+ { name: '_trustedForwarder', internalType: 'address', type: 'address' },
9173
+ ],
9174
+ stateMutability: 'nonpayable',
9175
+ },
8888
9176
  {
8889
9177
  type: 'function',
8890
9178
  inputs: [],
@@ -8951,6 +9239,13 @@ export const fiatPaymentTemplateAbi = [
8951
9239
  outputs: [{ name: '', internalType: 'bytes4', type: 'bytes4' }],
8952
9240
  stateMutability: 'view',
8953
9241
  },
9242
+ {
9243
+ type: 'function',
9244
+ inputs: [{ name: 'forwarder', internalType: 'address', type: 'address' }],
9245
+ name: 'isTrustedForwarder',
9246
+ outputs: [{ name: '', internalType: 'bool', type: 'bool' }],
9247
+ stateMutability: 'view',
9248
+ },
8954
9249
  {
8955
9250
  type: 'function',
8956
9251
  inputs: [
@@ -8980,6 +9275,13 @@ export const fiatPaymentTemplateAbi = [
8980
9275
  outputs: [],
8981
9276
  stateMutability: 'nonpayable',
8982
9277
  },
9278
+ {
9279
+ type: 'function',
9280
+ inputs: [],
9281
+ name: 'trustedForwarder',
9282
+ outputs: [{ name: '', internalType: 'address', type: 'address' }],
9283
+ stateMutability: 'view',
9284
+ },
8983
9285
  {
8984
9286
  type: 'function',
8985
9287
  inputs: [
@@ -9133,7 +9435,7 @@ export const fiatPaymentTemplateAbi = [
9133
9435
  name: 'UUPSUnsupportedProxiableUUID',
9134
9436
  },
9135
9437
  ];
9136
- export const fiatPaymentTemplateAddress = '0xEB29D1AcCe9aDA1fe00d2642184AeB9d0F1226cA';
9438
+ export const fiatPaymentTemplateAddress = '0x386eF80de6Afe51838672Ec6c08081C3f6A2C2d8';
9137
9439
  export const fiatPaymentTemplateConfig = {
9138
9440
  address: fiatPaymentTemplateAddress,
9139
9441
  abi: fiatPaymentTemplateAbi,
@@ -9376,7 +9678,7 @@ export const fiatSettlementConditionAbi = [
9376
9678
  name: 'UUPSUnsupportedProxiableUUID',
9377
9679
  },
9378
9680
  ];
9379
- export const fiatSettlementConditionAddress = '0xEbC1f46d2960991a1ac1123a8D0aAA3C23A5A5C5';
9681
+ export const fiatSettlementConditionAddress = '0x62d127c557ba53fa824249492d84eBD8E10EAb76';
9380
9682
  export const fiatSettlementConditionConfig = {
9381
9683
  address: fiatSettlementConditionAddress,
9382
9684
  abi: fiatSettlementConditionAbi,
@@ -9385,6 +9687,13 @@ export const fiatSettlementConditionConfig = {
9385
9687
  // FixedPaymentTemplate
9386
9688
  //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
9387
9689
  export const fixedPaymentTemplateAbi = [
9690
+ {
9691
+ type: 'constructor',
9692
+ inputs: [
9693
+ { name: '_trustedForwarder', internalType: 'address', type: 'address' },
9694
+ ],
9695
+ stateMutability: 'nonpayable',
9696
+ },
9388
9697
  {
9389
9698
  type: 'function',
9390
9699
  inputs: [],
@@ -9456,6 +9765,13 @@ export const fixedPaymentTemplateAbi = [
9456
9765
  outputs: [{ name: '', internalType: 'bytes4', type: 'bytes4' }],
9457
9766
  stateMutability: 'view',
9458
9767
  },
9768
+ {
9769
+ type: 'function',
9770
+ inputs: [{ name: 'forwarder', internalType: 'address', type: 'address' }],
9771
+ name: 'isTrustedForwarder',
9772
+ outputs: [{ name: '', internalType: 'bool', type: 'bool' }],
9773
+ stateMutability: 'view',
9774
+ },
9459
9775
  {
9460
9776
  type: 'function',
9461
9777
  inputs: [
@@ -9485,6 +9801,13 @@ export const fixedPaymentTemplateAbi = [
9485
9801
  outputs: [],
9486
9802
  stateMutability: 'nonpayable',
9487
9803
  },
9804
+ {
9805
+ type: 'function',
9806
+ inputs: [],
9807
+ name: 'trustedForwarder',
9808
+ outputs: [{ name: '', internalType: 'address', type: 'address' }],
9809
+ stateMutability: 'view',
9810
+ },
9488
9811
  {
9489
9812
  type: 'function',
9490
9813
  inputs: [
@@ -9638,7 +9961,7 @@ export const fixedPaymentTemplateAbi = [
9638
9961
  name: 'UUPSUnsupportedProxiableUUID',
9639
9962
  },
9640
9963
  ];
9641
- export const fixedPaymentTemplateAddress = '0x18FbDd2819bde95AdC7865F4D8c21A4C6769D7A5';
9964
+ export const fixedPaymentTemplateAddress = '0x32037D176558Eb02f6980eFA14bde14B0C61d059';
9642
9965
  export const fixedPaymentTemplateConfig = {
9643
9966
  address: fixedPaymentTemplateAddress,
9644
9967
  abi: fixedPaymentTemplateAbi,
@@ -13770,7 +14093,7 @@ export const linearPricingAbi = [
13770
14093
  name: 'UnsupportedPlanId',
13771
14094
  },
13772
14095
  ];
13773
- export const linearPricingAddress = '0xc64BCc8C2A18feBD7C5A0c0edC925cdC92C81C03';
14096
+ export const linearPricingAddress = '0x774473Ce7aB785db11dCad1eE571Ea436fdBA699';
13774
14097
  export const linearPricingConfig = {
13775
14098
  address: linearPricingAddress,
13776
14099
  abi: linearPricingAbi,
@@ -14018,7 +14341,7 @@ export const lockPaymentConditionAbi = [
14018
14341
  },
14019
14342
  { type: 'error', inputs: [], name: 'UnsupportedPriceTypeOption' },
14020
14343
  ];
14021
- export const lockPaymentConditionAddress = '0x8fE68580AAE084F51574Ae85405BD6a543B84214';
14344
+ export const lockPaymentConditionAddress = '0x104ae701C9B3e8EA54145dE54D0ca7DDb2DE4DF5';
14022
14345
  export const lockPaymentConditionConfig = {
14023
14346
  address: lockPaymentConditionAddress,
14024
14347
  abi: lockPaymentConditionAbi,
@@ -15479,7 +15802,7 @@ export const nft1155CreditsAbi = [
15479
15802
  name: 'UUPSUnsupportedProxiableUUID',
15480
15803
  },
15481
15804
  ];
15482
- export const nft1155CreditsAddress = '0xFc00537e32A864ab29eF64adc2c675ba2C86b540';
15805
+ export const nft1155CreditsAddress = '0xb2F9bB43F768E0D4ADCa49CE708acbE577bC2d64';
15483
15806
  export const nft1155CreditsConfig = {
15484
15807
  address: nft1155CreditsAddress,
15485
15808
  abi: nft1155CreditsAbi,
@@ -16873,7 +17196,7 @@ export const nft1155ExpirableCreditsAbi = [
16873
17196
  name: 'UUPSUnsupportedProxiableUUID',
16874
17197
  },
16875
17198
  ];
16876
- export const nft1155ExpirableCreditsAddress = '0xCc3916c6E788198EcD0d3e9DE530726470D78FFa';
17199
+ export const nft1155ExpirableCreditsAddress = '0x6de675a697f9131D061F265fAf88E26158f4FfA2';
16877
17200
  export const nft1155ExpirableCreditsConfig = {
16878
17201
  address: nft1155ExpirableCreditsAddress,
16879
17202
  abi: nft1155ExpirableCreditsAbi,
@@ -18370,7 +18693,7 @@ export const nft1155ExpirableCreditsV2Abi = [
18370
18693
  name: 'UUPSUnsupportedProxiableUUID',
18371
18694
  },
18372
18695
  ];
18373
- export const nft1155ExpirableCreditsV2Address = '0x66a29a87651F29d5CeeDda56f8B57C6b55b5bDA7';
18696
+ export const nft1155ExpirableCreditsV2Address = '0xF7Fe16718a779010E48859fb1c7Eae9fd540872F';
18374
18697
  export const nft1155ExpirableCreditsV2Config = {
18375
18698
  address: nft1155ExpirableCreditsV2Address,
18376
18699
  abi: nft1155ExpirableCreditsV2Abi,
@@ -18710,7 +19033,7 @@ export const nvmConfigAbi = [
18710
19033
  name: 'UUPSUnsupportedProxiableUUID',
18711
19034
  },
18712
19035
  ];
18713
- export const nvmConfigAddress = '0x90E2839ACD02E763e90B18313ffa397C424704bb';
19036
+ export const nvmConfigAddress = '0x88F1a9b3767f008821CbC4e4e30d77528473E7f3';
18714
19037
  export const nvmConfigConfig = {
18715
19038
  address: nvmConfigAddress,
18716
19039
  abi: nvmConfigAbi,
@@ -19065,6 +19388,26 @@ export const nvmConfigV2Abi = [
19065
19388
  },
19066
19389
  ];
19067
19390
  //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
19391
+ // Nonces
19392
+ //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
19393
+ export const noncesAbi = [
19394
+ {
19395
+ type: 'function',
19396
+ inputs: [{ name: 'owner', internalType: 'address', type: 'address' }],
19397
+ name: 'nonces',
19398
+ outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }],
19399
+ stateMutability: 'view',
19400
+ },
19401
+ {
19402
+ type: 'error',
19403
+ inputs: [
19404
+ { name: 'account', internalType: 'address', type: 'address' },
19405
+ { name: 'currentNonce', internalType: 'uint256', type: 'uint256' },
19406
+ ],
19407
+ name: 'InvalidAccountNonce',
19408
+ },
19409
+ ];
19410
+ //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
19068
19411
  // OneTimeCreatorHook
19069
19412
  //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
19070
19413
  export const oneTimeCreatorHookAbi = [
@@ -19294,7 +19637,7 @@ export const oneTimeCreatorHookAbi = [
19294
19637
  name: 'UUPSUnsupportedProxiableUUID',
19295
19638
  },
19296
19639
  ];
19297
- export const oneTimeCreatorHookAddress = '0x8ECB2948b85b11479D662Ca83b24B9AFdb4C5fc7';
19640
+ export const oneTimeCreatorHookAddress = '0x878B8500467d2fb8da7D322EDbA4f03A5821Aef9';
19298
19641
  export const oneTimeCreatorHookConfig = {
19299
19642
  address: oneTimeCreatorHookAddress,
19300
19643
  abi: oneTimeCreatorHookAbi,
@@ -19303,6 +19646,13 @@ export const oneTimeCreatorHookConfig = {
19303
19646
  // PayAsYouGoTemplate
19304
19647
  //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
19305
19648
  export const payAsYouGoTemplateAbi = [
19649
+ {
19650
+ type: 'constructor',
19651
+ inputs: [
19652
+ { name: '_trustedForwarder', internalType: 'address', type: 'address' },
19653
+ ],
19654
+ stateMutability: 'nonpayable',
19655
+ },
19306
19656
  {
19307
19657
  type: 'function',
19308
19658
  inputs: [],
@@ -19369,6 +19719,13 @@ export const payAsYouGoTemplateAbi = [
19369
19719
  outputs: [{ name: '', internalType: 'bytes4', type: 'bytes4' }],
19370
19720
  stateMutability: 'view',
19371
19721
  },
19722
+ {
19723
+ type: 'function',
19724
+ inputs: [{ name: 'forwarder', internalType: 'address', type: 'address' }],
19725
+ name: 'isTrustedForwarder',
19726
+ outputs: [{ name: '', internalType: 'bool', type: 'bool' }],
19727
+ stateMutability: 'view',
19728
+ },
19372
19729
  {
19373
19730
  type: 'function',
19374
19731
  inputs: [
@@ -19396,6 +19753,13 @@ export const payAsYouGoTemplateAbi = [
19396
19753
  outputs: [],
19397
19754
  stateMutability: 'nonpayable',
19398
19755
  },
19756
+ {
19757
+ type: 'function',
19758
+ inputs: [],
19759
+ name: 'trustedForwarder',
19760
+ outputs: [{ name: '', internalType: 'address', type: 'address' }],
19761
+ stateMutability: 'view',
19762
+ },
19399
19763
  {
19400
19764
  type: 'function',
19401
19765
  inputs: [
@@ -19549,7 +19913,7 @@ export const payAsYouGoTemplateAbi = [
19549
19913
  name: 'UUPSUnsupportedProxiableUUID',
19550
19914
  },
19551
19915
  ];
19552
- export const payAsYouGoTemplateAddress = '0x7c8590d0a2322D581C2a210E9cCf8E283cAfe58f';
19916
+ export const payAsYouGoTemplateAddress = '0x5e852077b30099106Aa65B4d329FFF9b5C9a8e7C';
19553
19917
  export const payAsYouGoTemplateConfig = {
19554
19918
  address: payAsYouGoTemplateAddress,
19555
19919
  abi: payAsYouGoTemplateAbi,
@@ -19869,7 +20233,7 @@ export const paymentsVaultAbi = [
19869
20233
  name: 'UUPSUnsupportedProxiableUUID',
19870
20234
  },
19871
20235
  ];
19872
- export const paymentsVaultAddress = '0xeCFa16B2c1A7BCeDb062c130e58200fC6432B2c7';
20236
+ export const paymentsVaultAddress = '0x47A72d7094c4c5B0566E159579DBD79220A0EA24';
19873
20237
  export const paymentsVaultConfig = {
19874
20238
  address: paymentsVaultAddress,
19875
20239
  abi: paymentsVaultAbi,
@@ -20466,7 +20830,7 @@ export const protocolStandardFeesAbi = [
20466
20830
  name: 'UUPSUnsupportedProxiableUUID',
20467
20831
  },
20468
20832
  ];
20469
- export const protocolStandardFeesAddress = '0xB6b9e6B12CB93dE96b1Ac94564175B329fC3797f';
20833
+ export const protocolStandardFeesAddress = '0x18Daa0e4D63b1b20D428354bAffEd593d776FF7A';
20470
20834
  export const protocolStandardFeesConfig = {
20471
20835
  address: protocolStandardFeesAddress,
20472
20836
  abi: protocolStandardFeesAbi,
@@ -20559,57 +20923,14 @@ export const safeErc20Abi = [
20559
20923
  },
20560
20924
  ];
20561
20925
  //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
20562
- // SetNetworkFees
20926
+ // ShortStrings
20563
20927
  //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
20564
- export const setNetworkFeesAbi = [
20565
- {
20566
- type: 'function',
20567
- inputs: [],
20568
- name: 'IS_SCRIPT',
20569
- outputs: [{ name: '', internalType: 'bool', type: 'bool' }],
20570
- stateMutability: 'view',
20571
- },
20572
- {
20573
- type: 'function',
20574
- inputs: [],
20575
- name: 'debug',
20576
- outputs: [{ name: '', internalType: 'bool', type: 'bool' }],
20577
- stateMutability: 'view',
20578
- },
20579
- {
20580
- type: 'function',
20581
- inputs: [],
20582
- name: 'feeReceiver',
20583
- outputs: [{ name: '', internalType: 'address', type: 'address' }],
20584
- stateMutability: 'view',
20585
- },
20586
- {
20587
- type: 'function',
20588
- inputs: [],
20589
- name: 'governor',
20590
- outputs: [{ name: '', internalType: 'address', type: 'address' }],
20591
- stateMutability: 'view',
20592
- },
20593
- {
20594
- type: 'function',
20595
- inputs: [],
20596
- name: 'networkFee',
20597
- outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }],
20598
- stateMutability: 'view',
20599
- },
20928
+ export const shortStringsAbi = [
20929
+ { type: 'error', inputs: [], name: 'InvalidShortString' },
20600
20930
  {
20601
- type: 'function',
20602
- inputs: [],
20603
- name: 'owner',
20604
- outputs: [{ name: '', internalType: 'address', type: 'address' }],
20605
- stateMutability: 'view',
20606
- },
20607
- {
20608
- type: 'function',
20609
- inputs: [],
20610
- name: 'run',
20611
- outputs: [],
20612
- stateMutability: 'nonpayable',
20931
+ type: 'error',
20932
+ inputs: [{ name: 'str', internalType: 'string', type: 'string' }],
20933
+ name: 'StringTooLong',
20613
20934
  },
20614
20935
  ];
20615
20936
  //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
@@ -20811,7 +21132,7 @@ export const tokenUtilsAbi = [
20811
21132
  name: 'InvalidTransactionAmount',
20812
21133
  },
20813
21134
  ];
20814
- export const tokenUtilsAddress = '0x61Ec9f62eeC5318ACAb7bA94C37D6d2ceBb52b80';
21135
+ export const tokenUtilsAddress = '0x766fcde79BB22166d59FDb12b9a05C97bf5BF4b2';
20815
21136
  export const tokenUtilsConfig = {
20816
21137
  address: tokenUtilsAddress,
20817
21138
  abi: tokenUtilsAbi,
@@ -21043,7 +21364,7 @@ export const transferCreditsConditionAbi = [
21043
21364
  name: 'UUPSUnsupportedProxiableUUID',
21044
21365
  },
21045
21366
  ];
21046
- export const transferCreditsConditionAddress = '0x0c6D9979Af05298EC2Dc04B595f32B61b44c9526';
21367
+ export const transferCreditsConditionAddress = '0x17B147345E6113572ca344003bFcA5303F7c75a6';
21047
21368
  export const transferCreditsConditionConfig = {
21048
21369
  address: transferCreditsConditionAddress,
21049
21370
  abi: transferCreditsConditionAbi,