viem 2.56.8 → 2.56.9

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 (117) hide show
  1. package/CHANGELOG.md +38 -0
  2. package/README.md +0 -1
  3. package/_cjs/actions/index.js +5 -3
  4. package/_cjs/actions/index.js.map +1 -1
  5. package/_cjs/actions/public/getStorageValues.js +17 -0
  6. package/_cjs/actions/public/getStorageValues.js.map +1 -0
  7. package/_cjs/actions/public/simulateBlocks.js +2 -0
  8. package/_cjs/actions/public/simulateBlocks.js.map +1 -1
  9. package/_cjs/chains/definitions/rabbitChainTestnet.js +24 -0
  10. package/_cjs/chains/definitions/rabbitChainTestnet.js.map +1 -0
  11. package/_cjs/chains/index.js +7 -5
  12. package/_cjs/chains/index.js.map +1 -1
  13. package/_cjs/clients/decorators/public.js +2 -0
  14. package/_cjs/clients/decorators/public.js.map +1 -1
  15. package/_cjs/errors/version.js +1 -1
  16. package/_cjs/index.js.map +1 -1
  17. package/_cjs/tempo/Abis.js +1211 -32
  18. package/_cjs/tempo/Abis.js.map +1 -1
  19. package/_cjs/tempo/Addresses.js +2 -1
  20. package/_cjs/tempo/Addresses.js.map +1 -1
  21. package/_cjs/tempo/Decorator.js +12 -0
  22. package/_cjs/tempo/Decorator.js.map +1 -1
  23. package/_cjs/tempo/Selectors.js +7 -4
  24. package/_cjs/tempo/Selectors.js.map +1 -1
  25. package/_cjs/tempo/actions/index.js +2 -1
  26. package/_cjs/tempo/actions/index.js.map +1 -1
  27. package/_cjs/tempo/actions/propAmm.js +349 -0
  28. package/_cjs/tempo/actions/propAmm.js.map +1 -0
  29. package/_cjs/tokens/definitions/eurc.js +1 -0
  30. package/_cjs/tokens/definitions/eurc.js.map +1 -1
  31. package/_cjs/tokens/definitions/usdc.js +1 -0
  32. package/_cjs/tokens/definitions/usdc.js.map +1 -1
  33. package/_esm/actions/index.js +1 -0
  34. package/_esm/actions/index.js.map +1 -1
  35. package/_esm/actions/public/getStorageValues.js +39 -0
  36. package/_esm/actions/public/getStorageValues.js.map +1 -0
  37. package/_esm/actions/public/simulateBlocks.js +4 -0
  38. package/_esm/actions/public/simulateBlocks.js.map +1 -1
  39. package/_esm/chains/definitions/rabbitChainTestnet.js +21 -0
  40. package/_esm/chains/definitions/rabbitChainTestnet.js.map +1 -0
  41. package/_esm/chains/index.js +1 -0
  42. package/_esm/chains/index.js.map +1 -1
  43. package/_esm/clients/decorators/public.js +2 -0
  44. package/_esm/clients/decorators/public.js.map +1 -1
  45. package/_esm/errors/version.js +1 -1
  46. package/_esm/index.js.map +1 -1
  47. package/_esm/tempo/Abis.js +1214 -34
  48. package/_esm/tempo/Abis.js.map +1 -1
  49. package/_esm/tempo/Addresses.js +2 -0
  50. package/_esm/tempo/Addresses.js.map +1 -1
  51. package/_esm/tempo/Decorator.js +12 -0
  52. package/_esm/tempo/Decorator.js.map +1 -1
  53. package/_esm/tempo/Selectors.js +6 -3
  54. package/_esm/tempo/Selectors.js.map +1 -1
  55. package/_esm/tempo/actions/index.js +1 -0
  56. package/_esm/tempo/actions/index.js.map +1 -1
  57. package/_esm/tempo/actions/propAmm.js +539 -0
  58. package/_esm/tempo/actions/propAmm.js.map +1 -0
  59. package/_esm/tokens/definitions/eurc.js +1 -0
  60. package/_esm/tokens/definitions/eurc.js.map +1 -1
  61. package/_esm/tokens/definitions/usdc.js +1 -0
  62. package/_esm/tokens/definitions/usdc.js.map +1 -1
  63. package/_types/actions/index.d.ts +1 -0
  64. package/_types/actions/index.d.ts.map +1 -1
  65. package/_types/actions/public/getStorageValues.d.ts +59 -0
  66. package/_types/actions/public/getStorageValues.d.ts.map +1 -0
  67. package/_types/actions/public/simulateBlocks.d.ts +8 -0
  68. package/_types/actions/public/simulateBlocks.d.ts.map +1 -1
  69. package/_types/chains/definitions/rabbitChainTestnet.d.ts +51 -0
  70. package/_types/chains/definitions/rabbitChainTestnet.d.ts.map +1 -0
  71. package/_types/chains/index.d.ts +1 -0
  72. package/_types/chains/index.d.ts.map +1 -1
  73. package/_types/clients/decorators/public.d.ts +11 -0
  74. package/_types/clients/decorators/public.d.ts.map +1 -1
  75. package/_types/errors/version.d.ts +1 -1
  76. package/_types/index.d.ts +1 -0
  77. package/_types/index.d.ts.map +1 -1
  78. package/_types/tempo/Abis.d.ts +14686 -9568
  79. package/_types/tempo/Abis.d.ts.map +1 -1
  80. package/_types/tempo/Addresses.d.ts +2 -0
  81. package/_types/tempo/Addresses.d.ts.map +1 -1
  82. package/_types/tempo/Decorator.d.ts +205 -1
  83. package/_types/tempo/Decorator.d.ts.map +1 -1
  84. package/_types/tempo/Selectors.d.ts +6 -3
  85. package/_types/tempo/Selectors.d.ts.map +1 -1
  86. package/_types/tempo/actions/earn.d.ts +621 -1
  87. package/_types/tempo/actions/earn.d.ts.map +1 -1
  88. package/_types/tempo/actions/index.d.ts +1 -0
  89. package/_types/tempo/actions/index.d.ts.map +1 -1
  90. package/_types/tempo/actions/propAmm.d.ts +2228 -0
  91. package/_types/tempo/actions/propAmm.d.ts.map +1 -0
  92. package/_types/tokens/definitions/eurc.d.ts +1 -0
  93. package/_types/tokens/definitions/eurc.d.ts.map +1 -1
  94. package/_types/tokens/definitions/usdc.d.ts +1 -0
  95. package/_types/tokens/definitions/usdc.d.ts.map +1 -1
  96. package/_types/tokens/sets.d.ts +3 -0
  97. package/_types/tokens/sets.d.ts.map +1 -1
  98. package/_types/types/eip1193.d.ts +20 -0
  99. package/_types/types/eip1193.d.ts.map +1 -1
  100. package/actions/index.ts +6 -0
  101. package/actions/public/getStorageValues.ts +93 -0
  102. package/actions/public/simulateBlocks.ts +13 -0
  103. package/chains/definitions/rabbitChainTestnet.ts +21 -0
  104. package/chains/index.ts +1 -0
  105. package/clients/decorators/public.ts +18 -0
  106. package/errors/version.ts +1 -1
  107. package/index.ts +5 -0
  108. package/package.json +1 -1
  109. package/tempo/Abis.ts +1218 -34
  110. package/tempo/Addresses.ts +2 -0
  111. package/tempo/Decorator.ts +239 -3
  112. package/tempo/Selectors.ts +10 -4
  113. package/tempo/actions/index.ts +1 -0
  114. package/tempo/actions/propAmm.ts +998 -0
  115. package/tokens/definitions/eurc.ts +1 -0
  116. package/tokens/definitions/usdc.ts +1 -0
  117. package/types/eip1193.ts +20 -0
package/tempo/Abis.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  // Generated with `pnpm gen:tempo-abis`. Do not modify manually.
2
- // Source: tempoxyz/tempo@d656ef5581505b59f1611b358e611f5a602d399e
2
+ // Source: tempoxyz/tempo@a2624758a6709731d98b9bd6fc8e5afca398fea9
3
3
 
4
4
  export const accountKeychain = [
5
5
  {
@@ -4325,7 +4325,87 @@ export const zonePortal = [
4325
4325
  },
4326
4326
  ] as const
4327
4327
 
4328
- // Source: tempoxyz/earn@e8c4c47216b61e727524e5283daf2c7b76f516f7
4328
+ export const zoneVerifier = [
4329
+ {
4330
+ name: 'verify',
4331
+ type: 'function',
4332
+ stateMutability: 'view',
4333
+ inputs: [
4334
+ { type: 'uint32', name: 'zoneId' },
4335
+ { type: 'uint64', name: 'tempoBlockNumber' },
4336
+ { type: 'uint64', name: 'anchorBlockNumber' },
4337
+ { type: 'bytes32', name: 'anchorBlockHash' },
4338
+ { type: 'uint64', name: 'expectedWithdrawalBatchIndex' },
4339
+ { type: 'uint256', name: 'nextZoneHeight' },
4340
+ {
4341
+ type: 'tuple',
4342
+ name: 'blockTransition',
4343
+ components: [
4344
+ { type: 'bytes32', name: 'prevBlockHash' },
4345
+ { type: 'bytes32', name: 'nextBlockHash' },
4346
+ ],
4347
+ },
4348
+ {
4349
+ type: 'tuple',
4350
+ name: 'depositQueueTransition',
4351
+ components: [
4352
+ { type: 'bytes32', name: 'prevProcessedHash' },
4353
+ { type: 'bytes32', name: 'nextProcessedHash' },
4354
+ { type: 'uint64', name: 'prevDepositNumber' },
4355
+ { type: 'uint64', name: 'nextDepositNumber' },
4356
+ ],
4357
+ },
4358
+ {
4359
+ type: 'tuple',
4360
+ name: 'tokenEnablementTransition',
4361
+ components: [
4362
+ { type: 'uint64', name: 'prevProcessedTokenCount' },
4363
+ { type: 'uint64', name: 'nextProcessedTokenCount' },
4364
+ ],
4365
+ },
4366
+ { type: 'bytes32', name: 'withdrawalQueueHash' },
4367
+ { type: 'bytes', name: 'verifierConfig' },
4368
+ { type: 'bytes', name: 'proof' },
4369
+ ],
4370
+ outputs: [{ type: 'bool' }],
4371
+ },
4372
+ {
4373
+ name: 'verify',
4374
+ type: 'function',
4375
+ stateMutability: 'view',
4376
+ inputs: [
4377
+ { type: 'uint32', name: 'zoneId' },
4378
+ { type: 'uint64', name: 'tempoBlockNumber' },
4379
+ { type: 'uint64', name: 'anchorBlockNumber' },
4380
+ { type: 'bytes32', name: 'anchorBlockHash' },
4381
+ { type: 'uint64', name: 'expectedWithdrawalBatchIndex' },
4382
+ {
4383
+ type: 'tuple',
4384
+ name: 'blockTransition',
4385
+ components: [
4386
+ { type: 'bytes32', name: 'prevBlockHash' },
4387
+ { type: 'bytes32', name: 'nextBlockHash' },
4388
+ ],
4389
+ },
4390
+ {
4391
+ type: 'tuple',
4392
+ name: 'depositQueueTransition',
4393
+ components: [
4394
+ { type: 'bytes32', name: 'prevProcessedHash' },
4395
+ { type: 'bytes32', name: 'nextProcessedHash' },
4396
+ { type: 'uint64', name: 'prevDepositNumber' },
4397
+ { type: 'uint64', name: 'nextDepositNumber' },
4398
+ ],
4399
+ },
4400
+ { type: 'bytes32', name: 'withdrawalQueueHash' },
4401
+ { type: 'bytes', name: 'verifierConfig' },
4402
+ { type: 'bytes', name: 'proof' },
4403
+ ],
4404
+ outputs: [{ type: 'bool' }],
4405
+ },
4406
+ ] as const
4407
+
4408
+ // Source: tempoxyz/earn@d6373e4939ec2bbf5dcccffd5f2519ff4a62d6b1
4329
4409
 
4330
4410
  export const earnContributionController = [
4331
4411
  {
@@ -4386,6 +4466,17 @@ export const earnContributionController = [
4386
4466
  outputs: [{ name: 'fundedAssets', type: 'uint256' }],
4387
4467
  stateMutability: 'nonpayable',
4388
4468
  },
4469
+ {
4470
+ type: 'function',
4471
+ name: 'fundBatchExact',
4472
+ inputs: [
4473
+ { name: 'funders', type: 'address[]' },
4474
+ { name: 'requestedAssets', type: 'uint256[]' },
4475
+ { name: 'maxEarnShareSupply', type: 'uint256' },
4476
+ ],
4477
+ outputs: [{ name: 'totalFundedAssets', type: 'uint256' }],
4478
+ stateMutability: 'nonpayable',
4479
+ },
4389
4480
  {
4390
4481
  type: 'function',
4391
4482
  name: 'owner',
@@ -4464,6 +4555,7 @@ export const earnContributionController = [
4464
4555
  ],
4465
4556
  },
4466
4557
  { type: 'error', name: 'Inactive', inputs: [] },
4558
+ { type: 'error', name: 'InvalidArrayLengths', inputs: [] },
4467
4559
  { type: 'error', name: 'NotSelf', inputs: [] },
4468
4560
  {
4469
4561
  type: 'error',
@@ -4479,6 +4571,7 @@ export const earnContributionController = [
4479
4571
  { type: 'error', name: 'TokenCallFailed', inputs: [] },
4480
4572
  { type: 'error', name: 'TokenCallFalse', inputs: [] },
4481
4573
  { type: 'error', name: 'ZeroAddress', inputs: [] },
4574
+ { type: 'error', name: 'ZeroAmount', inputs: [] },
4482
4575
  ] as const
4483
4576
 
4484
4577
  export const earnEngine = [
@@ -5516,6 +5609,13 @@ export const earnMerkleRewardDistributor = [
5516
5609
  outputs: [{ name: '', type: 'uint40' }],
5517
5610
  stateMutability: 'view',
5518
5611
  },
5612
+ {
5613
+ type: 'function',
5614
+ name: 'consumedSettlements',
5615
+ inputs: [{ name: 'settlementId', type: 'bytes32' }],
5616
+ outputs: [{ name: 'consumed', type: 'bool' }],
5617
+ stateMutability: 'view',
5618
+ },
5519
5619
  {
5520
5620
  type: 'function',
5521
5621
  name: 'cumulativePaid',
@@ -5539,13 +5639,21 @@ export const earnMerkleRewardDistributor = [
5539
5639
  },
5540
5640
  {
5541
5641
  type: 'function',
5542
- name: 'fundWithAssets',
5642
+ name: 'fundAndPublishRoot',
5543
5643
  inputs: [
5644
+ { name: 'settlementId', type: 'bytes32' },
5645
+ { name: 'expectedRootVersion', type: 'uint64' },
5544
5646
  { name: 'funder', type: 'address' },
5545
5647
  { name: 'assets', type: 'uint256' },
5546
5648
  { name: 'minEarnShares', type: 'uint256' },
5649
+ { name: 'root', type: 'bytes32' },
5650
+ { name: 'totalEntitlement', type: 'uint256' },
5651
+ { name: 'statementHash_', type: 'bytes32' },
5652
+ ],
5653
+ outputs: [
5654
+ { name: 'earnShares', type: 'uint256' },
5655
+ { name: 'version', type: 'uint64' },
5547
5656
  ],
5548
- outputs: [{ name: 'earnShares', type: 'uint256' }],
5549
5657
  stateMutability: 'nonpayable',
5550
5658
  },
5551
5659
  {
@@ -5590,6 +5698,7 @@ export const earnMerkleRewardDistributor = [
5590
5698
  type: 'function',
5591
5699
  name: 'publishRoot',
5592
5700
  inputs: [
5701
+ { name: 'expectedRootVersion', type: 'uint64' },
5593
5702
  { name: 'root', type: 'bytes32' },
5594
5703
  { name: 'totalEntitlement', type: 'uint256' },
5595
5704
  { name: 'statementHash_', type: 'bytes32' },
@@ -5810,6 +5919,11 @@ export const earnMerkleRewardDistributor = [
5810
5919
  { name: 'remainingEntitlement', type: 'uint256' },
5811
5920
  ],
5812
5921
  },
5922
+ {
5923
+ type: 'error',
5924
+ name: 'SettlementAlreadyConsumed',
5925
+ inputs: [{ name: 'settlementId', type: 'bytes32' }],
5926
+ },
5813
5927
  {
5814
5928
  type: 'error',
5815
5929
  name: 'StaleRootVersion',
@@ -5842,9 +5956,96 @@ export const earnMerkleRewardDistributor = [
5842
5956
  { type: 'error', name: 'ZeroDeadline', inputs: [] },
5843
5957
  { type: 'error', name: 'ZeroMinimumEarnShares', inputs: [] },
5844
5958
  { type: 'error', name: 'ZeroRoot', inputs: [] },
5959
+ { type: 'error', name: 'ZeroSettlementId', inputs: [] },
5845
5960
  { type: 'error', name: 'ZeroStatementHash', inputs: [] },
5846
5961
  ] as const
5847
5962
 
5963
+ export const earnRewardsFactory = [
5964
+ {
5965
+ type: 'function',
5966
+ name: 'campaignId',
5967
+ inputs: [{ name: 'earnVault', type: 'address' }],
5968
+ outputs: [{ name: '', type: 'bytes32' }],
5969
+ stateMutability: 'pure',
5970
+ },
5971
+ {
5972
+ type: 'function',
5973
+ name: 'install',
5974
+ inputs: [
5975
+ { name: 'earnVault', type: 'address' },
5976
+ { name: 'owner', type: 'address' },
5977
+ { name: 'treasury', type: 'address' },
5978
+ { name: 'claimDeadline', type: 'uint40' },
5979
+ { name: 'targetYield', type: 'bool' },
5980
+ { name: 'boostRewards', type: 'bool' },
5981
+ ],
5982
+ outputs: [
5983
+ {
5984
+ name: 'result',
5985
+ type: 'tuple',
5986
+ components: [
5987
+ { name: 'contributionController', type: 'address' },
5988
+ { name: 'merkleDistributor', type: 'address' },
5989
+ ],
5990
+ },
5991
+ ],
5992
+ stateMutability: 'nonpayable',
5993
+ },
5994
+ {
5995
+ type: 'function',
5996
+ name: 'predictContributionController',
5997
+ inputs: [
5998
+ { name: 'earnVault', type: 'address' },
5999
+ { name: 'owner', type: 'address' },
6000
+ ],
6001
+ outputs: [{ name: '', type: 'address' }],
6002
+ stateMutability: 'view',
6003
+ },
6004
+ {
6005
+ type: 'function',
6006
+ name: 'predictMerkleDistributor',
6007
+ inputs: [
6008
+ { name: 'earnVault', type: 'address' },
6009
+ { name: 'owner', type: 'address' },
6010
+ { name: 'treasury', type: 'address' },
6011
+ { name: 'claimDeadline', type: 'uint40' },
6012
+ ],
6013
+ outputs: [{ name: '', type: 'address' }],
6014
+ stateMutability: 'view',
6015
+ },
6016
+ {
6017
+ type: 'event',
6018
+ name: 'ContributionControllerInstalled',
6019
+ inputs: [
6020
+ { name: 'earnVault', type: 'address', indexed: true },
6021
+ { name: 'owner', type: 'address', indexed: true },
6022
+ { name: 'contributionController', type: 'address', indexed: false },
6023
+ ],
6024
+ anonymous: false,
6025
+ },
6026
+ {
6027
+ type: 'event',
6028
+ name: 'MerkleDistributorInstalled',
6029
+ inputs: [
6030
+ { name: 'earnVault', type: 'address', indexed: true },
6031
+ { name: 'owner', type: 'address', indexed: true },
6032
+ { name: 'treasury', type: 'address', indexed: true },
6033
+ { name: 'merkleDistributor', type: 'address', indexed: false },
6034
+ { name: 'campaignId', type: 'bytes32', indexed: false },
6035
+ { name: 'claimDeadline', type: 'uint40', indexed: false },
6036
+ ],
6037
+ anonymous: false,
6038
+ },
6039
+ { type: 'error', name: 'EmptyInstallation', inputs: [] },
6040
+ {
6041
+ type: 'error',
6042
+ name: 'InvalidExistingDeployment',
6043
+ inputs: [{ name: 'component', type: 'address' }],
6044
+ },
6045
+ { type: 'error', name: 'InvalidRewardConfiguration', inputs: [] },
6046
+ { type: 'error', name: 'ZeroAddress', inputs: [] },
6047
+ ] as const
6048
+
5848
6049
  export const earnRouter = [
5849
6050
  {
5850
6051
  type: 'constructor',
@@ -6006,6 +6207,13 @@ export const earnVault = [
6006
6207
  outputs: [],
6007
6208
  stateMutability: 'nonpayable',
6008
6209
  },
6210
+ {
6211
+ type: 'function',
6212
+ name: 'acceptOperator',
6213
+ inputs: [],
6214
+ outputs: [],
6215
+ stateMutability: 'nonpayable',
6216
+ },
6009
6217
  {
6010
6218
  type: 'function',
6011
6219
  name: 'accrueFees',
@@ -6058,6 +6266,13 @@ export const earnVault = [
6058
6266
  outputs: [],
6059
6267
  stateMutability: 'nonpayable',
6060
6268
  },
6269
+ {
6270
+ type: 'function',
6271
+ name: 'cancelOperatorTransfer',
6272
+ inputs: [],
6273
+ outputs: [],
6274
+ stateMutability: 'nonpayable',
6275
+ },
6061
6276
  {
6062
6277
  type: 'function',
6063
6278
  name: 'cancelRedeem',
@@ -6317,6 +6532,13 @@ export const earnVault = [
6317
6532
  ],
6318
6533
  stateMutability: 'view',
6319
6534
  },
6535
+ {
6536
+ type: 'function',
6537
+ name: 'pendingOperator',
6538
+ inputs: [],
6539
+ outputs: [{ name: '', type: 'address' }],
6540
+ stateMutability: 'view',
6541
+ },
6320
6542
  {
6321
6543
  type: 'function',
6322
6544
  name: 'pendingRedeem',
@@ -6488,6 +6710,13 @@ export const earnVault = [
6488
6710
  outputs: [],
6489
6711
  stateMutability: 'nonpayable',
6490
6712
  },
6713
+ {
6714
+ type: 'function',
6715
+ name: 'transferOperator',
6716
+ inputs: [{ name: 'newOperator', type: 'address' }],
6717
+ outputs: [],
6718
+ stateMutability: 'nonpayable',
6719
+ },
6491
6720
  {
6492
6721
  type: 'function',
6493
6722
  name: 'withdrawExact',
@@ -6585,6 +6814,25 @@ export const earnVault = [
6585
6814
  ],
6586
6815
  anonymous: false,
6587
6816
  },
6817
+ {
6818
+ type: 'event',
6819
+ name: 'EarnVaultInitialized',
6820
+ inputs: [
6821
+ { name: 'engine', type: 'address', indexed: true },
6822
+ { name: 'earnShare', type: 'address', indexed: true },
6823
+ { name: 'earnFees', type: 'address', indexed: true },
6824
+ { name: 'operator', type: 'address', indexed: false },
6825
+ { name: 'emergencyGuardian', type: 'address', indexed: false },
6826
+ { name: 'asyncJanitor', type: 'address', indexed: false },
6827
+ { name: 'maxManagedAssets', type: 'uint256', indexed: false },
6828
+ { name: 'migrationMode', type: 'uint8', indexed: false },
6829
+ { name: 'distributor', type: 'address', indexed: false },
6830
+ { name: 'distributorUpdateDelay', type: 'uint40', indexed: false },
6831
+ { name: 'distributorFeeRecipient', type: 'address', indexed: false },
6832
+ { name: 'distributorFeeRateBps', type: 'uint16', indexed: false },
6833
+ ],
6834
+ anonymous: false,
6835
+ },
6588
6836
  {
6589
6837
  type: 'event',
6590
6838
  name: 'EmergencyRolesChanged',
@@ -6609,6 +6857,18 @@ export const earnVault = [
6609
6857
  ],
6610
6858
  anonymous: false,
6611
6859
  },
6860
+ {
6861
+ type: 'event',
6862
+ name: 'EngineShareShortfallReconciled',
6863
+ inputs: [
6864
+ { name: 'engine', type: 'address', indexed: true },
6865
+ { name: 'previousManagedEngineShares', type: 'uint256', indexed: false },
6866
+ { name: 'observedRawEngineShares', type: 'uint256', indexed: false },
6867
+ { name: 'shortfallEngineShares', type: 'uint256', indexed: false },
6868
+ { name: 'totalEarnShares', type: 'uint256', indexed: false },
6869
+ ],
6870
+ anonymous: false,
6871
+ },
6612
6872
  {
6613
6873
  type: 'event',
6614
6874
  name: 'EngineShareSurplusAbsorbed',
@@ -6629,6 +6889,33 @@ export const earnVault = [
6629
6889
  ],
6630
6890
  anonymous: false,
6631
6891
  },
6892
+ {
6893
+ type: 'event',
6894
+ name: 'OperatorTransferCancelled',
6895
+ inputs: [
6896
+ { name: 'operator', type: 'address', indexed: true },
6897
+ { name: 'pendingOperator', type: 'address', indexed: true },
6898
+ ],
6899
+ anonymous: false,
6900
+ },
6901
+ {
6902
+ type: 'event',
6903
+ name: 'OperatorTransferStarted',
6904
+ inputs: [
6905
+ { name: 'operator', type: 'address', indexed: true },
6906
+ { name: 'pendingOperator', type: 'address', indexed: true },
6907
+ ],
6908
+ anonymous: false,
6909
+ },
6910
+ {
6911
+ type: 'event',
6912
+ name: 'OperatorTransferred',
6913
+ inputs: [
6914
+ { name: 'previousOperator', type: 'address', indexed: true },
6915
+ { name: 'newOperator', type: 'address', indexed: true },
6916
+ ],
6917
+ anonymous: false,
6918
+ },
6632
6919
  {
6633
6920
  type: 'event',
6634
6921
  name: 'RedeemCancelled',
@@ -6795,8 +7082,10 @@ export const earnVault = [
6795
7082
  { type: 'error', name: 'NotEngine', inputs: [] },
6796
7083
  { type: 'error', name: 'NotOperator', inputs: [] },
6797
7084
  { type: 'error', name: 'NotPendingDistributor', inputs: [] },
7085
+ { type: 'error', name: 'NotPendingOperator', inputs: [] },
6798
7086
  { type: 'error', name: 'NotRequesterOrJanitor', inputs: [] },
6799
7087
  { type: 'error', name: 'OperatorMigrationDisabled', inputs: [] },
7088
+ { type: 'error', name: 'OperatorTransferNotPending', inputs: [] },
6800
7089
  { type: 'error', name: 'PendingRedeemsOpen', inputs: [] },
6801
7090
  { type: 'error', name: 'ReentrantCall', inputs: [] },
6802
7091
  {
@@ -7739,6 +8028,18 @@ export const vedaEngine = [
7739
8028
  ],
7740
8029
  anonymous: false,
7741
8030
  },
8031
+ {
8032
+ type: 'event',
8033
+ name: 'VedaEngineInitialized',
8034
+ inputs: [
8035
+ { name: 'teller', type: 'address', indexed: true },
8036
+ { name: 'queue', type: 'address', indexed: true },
8037
+ { name: 'accountant', type: 'address', indexed: true },
8038
+ { name: 'peripheryVersion', type: 'uint64', indexed: false },
8039
+ { name: 'maxRateAge', type: 'uint64', indexed: false },
8040
+ ],
8041
+ anonymous: false,
8042
+ },
7742
8043
  {
7743
8044
  type: 'event',
7744
8045
  name: 'VedaPeripheryUpdated',
@@ -7891,6 +8192,14 @@ export const vedaEngine = [
7891
8192
  inputs: [{ name: 'queue', type: 'address' }],
7892
8193
  },
7893
8194
  { type: 'error', name: 'QueueUnavailable', inputs: [] },
8195
+ {
8196
+ type: 'error',
8197
+ name: 'QueuedAssetsBelowMinimum',
8198
+ inputs: [
8199
+ { name: 'minimumAssets', type: 'uint256' },
8200
+ { name: 'actualAssets', type: 'uint256' },
8201
+ ],
8202
+ },
7894
8203
  {
7895
8204
  type: 'error',
7896
8205
  name: 'RateChangedWithinTransaction',
@@ -7975,6 +8284,7 @@ export const vedaEngine = [
7975
8284
  ],
7976
8285
  },
7977
8286
  { type: 'error', name: 'ZeroAddress', inputs: [] },
8287
+ { type: 'error', name: 'ZeroMinimumQueuedAssets', inputs: [] },
7978
8288
  ] as const
7979
8289
 
7980
8290
  // `SingleZoneEarnRouter.CallbackData` parameter for `encodeAbiParameters`.
@@ -8011,7 +8321,7 @@ export const earnRouterCallbackData = [
8011
8321
  },
8012
8322
  ] as const
8013
8323
 
8014
- // Source: tempoxyz/zones@7e38642cdd5a1500784fd15cf30eda5366f3350a
8324
+ // Source: tempoxyz/zones@421d77a9e5a12cd3fbb2ed10da1010f31b75f012
8015
8325
 
8016
8326
  export const zoneOutbox = [
8017
8327
  {
@@ -8287,40 +8597,910 @@ export const zoneMessenger = [
8287
8597
  },
8288
8598
  ] as const
8289
8599
 
8290
- export const zoneVerifier = [
8600
+ // Source: tempoxyz/propAMM@bff7c1fa50cf72e2896a078abae4e164c36caa93
8601
+
8602
+ export const directPropAmm = [
8291
8603
  {
8292
- name: 'verify',
8293
- type: 'function',
8294
- stateMutability: 'view',
8604
+ type: 'constructor',
8295
8605
  inputs: [
8296
- { type: 'uint32', name: 'zoneId' },
8297
- { type: 'uint64', name: 'tempoBlockNumber' },
8298
- { type: 'uint64', name: 'anchorBlockNumber' },
8299
- { type: 'bytes32', name: 'anchorBlockHash' },
8300
- { type: 'uint64', name: 'expectedWithdrawalBatchIndex' },
8606
+ { name: 'baseToken_', type: 'address', internalType: 'contract ITIP20' },
8607
+ { name: 'quoteToken_', type: 'address', internalType: 'contract ITIP20' },
8301
8608
  {
8302
- type: 'tuple',
8303
- name: 'blockTransition',
8304
- components: [
8305
- { type: 'bytes32', name: 'prevBlockHash' },
8306
- { type: 'bytes32', name: 'nextBlockHash' },
8307
- ],
8609
+ name: 'oracle_',
8610
+ type: 'address',
8611
+ internalType: 'contract IPriceOracle',
8612
+ },
8613
+ {
8614
+ name: 'addressRegistry_',
8615
+ type: 'address',
8616
+ internalType: 'contract IAddressRegistry',
8617
+ },
8618
+ { name: 'owner_', type: 'address', internalType: 'address' },
8619
+ { name: 'guardian_', type: 'address', internalType: 'address' },
8620
+ { name: 'maxOracleAge_', type: 'uint256', internalType: 'uint256' },
8621
+ {
8622
+ name: 'maxPriceDeviationBps_',
8623
+ type: 'uint256',
8624
+ internalType: 'uint256',
8625
+ },
8626
+ ],
8627
+ stateMutability: 'nonpayable',
8628
+ },
8629
+ {
8630
+ type: 'function',
8631
+ name: 'BPS',
8632
+ inputs: [],
8633
+ outputs: [{ name: '', type: 'uint256', internalType: 'uint256' }],
8634
+ stateMutability: 'view',
8635
+ },
8636
+ {
8637
+ type: 'function',
8638
+ name: 'acceptOwnership',
8639
+ inputs: [],
8640
+ outputs: [],
8641
+ stateMutability: 'nonpayable',
8642
+ },
8643
+ {
8644
+ type: 'function',
8645
+ name: 'addressRegistry',
8646
+ inputs: [],
8647
+ outputs: [
8648
+ { name: '', type: 'address', internalType: 'contract IAddressRegistry' },
8649
+ ],
8650
+ stateMutability: 'view',
8651
+ },
8652
+ {
8653
+ type: 'function',
8654
+ name: 'baseDecimals',
8655
+ inputs: [],
8656
+ outputs: [{ name: '', type: 'uint8', internalType: 'uint8' }],
8657
+ stateMutability: 'view',
8658
+ },
8659
+ {
8660
+ type: 'function',
8661
+ name: 'baseToQuotePriceAnchor',
8662
+ inputs: [],
8663
+ outputs: [{ name: '', type: 'uint256', internalType: 'uint256' }],
8664
+ stateMutability: 'view',
8665
+ },
8666
+ {
8667
+ type: 'function',
8668
+ name: 'baseToken',
8669
+ inputs: [],
8670
+ outputs: [{ name: '', type: 'address', internalType: 'contract ITIP20' }],
8671
+ stateMutability: 'view',
8672
+ },
8673
+ {
8674
+ type: 'function',
8675
+ name: 'fund',
8676
+ inputs: [
8677
+ { name: 'token', type: 'address', internalType: 'address' },
8678
+ { name: 'amount', type: 'uint256', internalType: 'uint256' },
8679
+ { name: 'memo', type: 'bytes32', internalType: 'bytes32' },
8680
+ ],
8681
+ outputs: [],
8682
+ stateMutability: 'nonpayable',
8683
+ },
8684
+ {
8685
+ type: 'function',
8686
+ name: 'guardian',
8687
+ inputs: [],
8688
+ outputs: [{ name: '', type: 'address', internalType: 'address' }],
8689
+ stateMutability: 'view',
8690
+ },
8691
+ {
8692
+ type: 'function',
8693
+ name: 'maxOracleAge',
8694
+ inputs: [],
8695
+ outputs: [{ name: '', type: 'uint80', internalType: 'uint80' }],
8696
+ stateMutability: 'view',
8697
+ },
8698
+ {
8699
+ type: 'function',
8700
+ name: 'maxPriceDeviationBps',
8701
+ inputs: [],
8702
+ outputs: [{ name: '', type: 'uint16', internalType: 'uint16' }],
8703
+ stateMutability: 'view',
8704
+ },
8705
+ {
8706
+ type: 'function',
8707
+ name: 'oracle',
8708
+ inputs: [],
8709
+ outputs: [
8710
+ { name: '', type: 'address', internalType: 'contract IPriceOracle' },
8711
+ ],
8712
+ stateMutability: 'view',
8713
+ },
8714
+ {
8715
+ type: 'function',
8716
+ name: 'oracleDecimals',
8717
+ inputs: [],
8718
+ outputs: [{ name: '', type: 'uint8', internalType: 'uint8' }],
8719
+ stateMutability: 'view',
8720
+ },
8721
+ {
8722
+ type: 'function',
8723
+ name: 'owner',
8724
+ inputs: [],
8725
+ outputs: [{ name: '', type: 'address', internalType: 'address' }],
8726
+ stateMutability: 'view',
8727
+ },
8728
+ {
8729
+ type: 'function',
8730
+ name: 'pause',
8731
+ inputs: [],
8732
+ outputs: [],
8733
+ stateMutability: 'nonpayable',
8734
+ },
8735
+ {
8736
+ type: 'function',
8737
+ name: 'paused',
8738
+ inputs: [],
8739
+ outputs: [{ name: '', type: 'bool', internalType: 'bool' }],
8740
+ stateMutability: 'view',
8741
+ },
8742
+ {
8743
+ type: 'function',
8744
+ name: 'pendingOwner',
8745
+ inputs: [],
8746
+ outputs: [{ name: '', type: 'address', internalType: 'address' }],
8747
+ stateMutability: 'view',
8748
+ },
8749
+ {
8750
+ type: 'function',
8751
+ name: 'priceAnchor',
8752
+ inputs: [{ name: 'baseToQuote', type: 'bool', internalType: 'bool' }],
8753
+ outputs: [{ name: '', type: 'uint256', internalType: 'uint256' }],
8754
+ stateMutability: 'view',
8755
+ },
8756
+ {
8757
+ type: 'function',
8758
+ name: 'priceScale',
8759
+ inputs: [],
8760
+ outputs: [{ name: '', type: 'uint256', internalType: 'uint256' }],
8761
+ stateMutability: 'view',
8762
+ },
8763
+ {
8764
+ type: 'function',
8765
+ name: 'quoteDecimals',
8766
+ inputs: [],
8767
+ outputs: [{ name: '', type: 'uint8', internalType: 'uint8' }],
8768
+ stateMutability: 'view',
8769
+ },
8770
+ {
8771
+ type: 'function',
8772
+ name: 'quoteExactInput',
8773
+ inputs: [
8774
+ { name: 'baseToQuote', type: 'bool', internalType: 'bool' },
8775
+ { name: 'amountIn', type: 'uint256', internalType: 'uint256' },
8776
+ ],
8777
+ outputs: [
8778
+ { name: 'amountOut', type: 'uint256', internalType: 'uint256' },
8779
+ { name: 'price', type: 'uint256', internalType: 'uint256' },
8780
+ { name: 'updatedAt', type: 'uint256', internalType: 'uint256' },
8781
+ ],
8782
+ stateMutability: 'view',
8783
+ },
8784
+ {
8785
+ type: 'function',
8786
+ name: 'quoteExactInputFor',
8787
+ inputs: [
8788
+ { name: 'taker', type: 'address', internalType: 'address' },
8789
+ { name: 'recipient', type: 'address', internalType: 'address' },
8790
+ { name: 'customerId', type: 'bytes32', internalType: 'bytes32' },
8791
+ { name: 'baseToQuote', type: 'bool', internalType: 'bool' },
8792
+ { name: 'amountIn', type: 'uint256', internalType: 'uint256' },
8793
+ ],
8794
+ outputs: [
8795
+ { name: 'amountOut', type: 'uint256', internalType: 'uint256' },
8796
+ { name: 'price', type: 'uint256', internalType: 'uint256' },
8797
+ { name: 'updatedAt', type: 'uint256', internalType: 'uint256' },
8798
+ { name: 'creditAfter', type: 'uint256', internalType: 'uint256' },
8799
+ ],
8800
+ stateMutability: 'view',
8801
+ },
8802
+ {
8803
+ type: 'function',
8804
+ name: 'quoteExactOutput',
8805
+ inputs: [
8806
+ { name: 'baseToQuote', type: 'bool', internalType: 'bool' },
8807
+ { name: 'amountOut', type: 'uint256', internalType: 'uint256' },
8808
+ ],
8809
+ outputs: [
8810
+ { name: 'amountIn', type: 'uint256', internalType: 'uint256' },
8811
+ { name: 'price', type: 'uint256', internalType: 'uint256' },
8812
+ { name: 'updatedAt', type: 'uint256', internalType: 'uint256' },
8813
+ ],
8814
+ stateMutability: 'view',
8815
+ },
8816
+ {
8817
+ type: 'function',
8818
+ name: 'quoteExactOutputFor',
8819
+ inputs: [
8820
+ { name: 'taker', type: 'address', internalType: 'address' },
8821
+ { name: 'recipient', type: 'address', internalType: 'address' },
8822
+ { name: 'customerId', type: 'bytes32', internalType: 'bytes32' },
8823
+ { name: 'baseToQuote', type: 'bool', internalType: 'bool' },
8824
+ { name: 'amountOut', type: 'uint256', internalType: 'uint256' },
8825
+ ],
8826
+ outputs: [
8827
+ { name: 'amountIn', type: 'uint256', internalType: 'uint256' },
8828
+ { name: 'price', type: 'uint256', internalType: 'uint256' },
8829
+ { name: 'updatedAt', type: 'uint256', internalType: 'uint256' },
8830
+ { name: 'creditAfter', type: 'uint256', internalType: 'uint256' },
8831
+ ],
8832
+ stateMutability: 'view',
8833
+ },
8834
+ {
8835
+ type: 'function',
8836
+ name: 'quoteToBasePriceAnchor',
8837
+ inputs: [],
8838
+ outputs: [{ name: '', type: 'uint256', internalType: 'uint256' }],
8839
+ stateMutability: 'view',
8840
+ },
8841
+ {
8842
+ type: 'function',
8843
+ name: 'quoteToken',
8844
+ inputs: [],
8845
+ outputs: [{ name: '', type: 'address', internalType: 'contract ITIP20' }],
8846
+ stateMutability: 'view',
8847
+ },
8848
+ {
8849
+ type: 'function',
8850
+ name: 'recipientAllowed',
8851
+ inputs: [{ name: 'recipient', type: 'address', internalType: 'address' }],
8852
+ outputs: [{ name: 'allowed', type: 'bool', internalType: 'bool' }],
8853
+ stateMutability: 'view',
8854
+ },
8855
+ {
8856
+ type: 'function',
8857
+ name: 'resetPriceAnchor',
8858
+ inputs: [{ name: 'baseToQuote', type: 'bool', internalType: 'bool' }],
8859
+ outputs: [],
8860
+ stateMutability: 'nonpayable',
8861
+ },
8862
+ {
8863
+ type: 'function',
8864
+ name: 'resolveRecipient',
8865
+ inputs: [{ name: 'recipient', type: 'address', internalType: 'address' }],
8866
+ outputs: [{ name: 'resolved', type: 'address', internalType: 'address' }],
8867
+ stateMutability: 'view',
8868
+ },
8869
+ {
8870
+ type: 'function',
8871
+ name: 'roundingCredit',
8872
+ inputs: [{ name: 'routeKey', type: 'bytes32', internalType: 'bytes32' }],
8873
+ outputs: [{ name: 'credit', type: 'uint256', internalType: 'uint256' }],
8874
+ stateMutability: 'view',
8875
+ },
8876
+ {
8877
+ type: 'function',
8878
+ name: 'roundingRouteKey',
8879
+ inputs: [
8880
+ { name: 'taker', type: 'address', internalType: 'address' },
8881
+ { name: 'recipient', type: 'address', internalType: 'address' },
8882
+ { name: 'customerId', type: 'bytes32', internalType: 'bytes32' },
8883
+ ],
8884
+ outputs: [{ name: '', type: 'bytes32', internalType: 'bytes32' }],
8885
+ stateMutability: 'view',
8886
+ },
8887
+ {
8888
+ type: 'function',
8889
+ name: 'setGuardian',
8890
+ inputs: [{ name: 'newGuardian', type: 'address', internalType: 'address' }],
8891
+ outputs: [],
8892
+ stateMutability: 'nonpayable',
8893
+ },
8894
+ {
8895
+ type: 'function',
8896
+ name: 'setMaxOracleAge',
8897
+ inputs: [
8898
+ { name: 'newMaxOracleAge', type: 'uint256', internalType: 'uint256' },
8899
+ ],
8900
+ outputs: [],
8901
+ stateMutability: 'nonpayable',
8902
+ },
8903
+ {
8904
+ type: 'function',
8905
+ name: 'setMaxPriceDeviationBps',
8906
+ inputs: [
8907
+ {
8908
+ name: 'newMaxPriceDeviationBps',
8909
+ type: 'uint256',
8910
+ internalType: 'uint256',
8911
+ },
8912
+ ],
8913
+ outputs: [],
8914
+ stateMutability: 'nonpayable',
8915
+ },
8916
+ {
8917
+ type: 'function',
8918
+ name: 'setOracle',
8919
+ inputs: [
8920
+ {
8921
+ name: 'newOracle',
8922
+ type: 'address',
8923
+ internalType: 'contract IPriceOracle',
8924
+ },
8925
+ ],
8926
+ outputs: [],
8927
+ stateMutability: 'nonpayable',
8928
+ },
8929
+ {
8930
+ type: 'function',
8931
+ name: 'setRecipientAllowed',
8932
+ inputs: [
8933
+ { name: 'recipient', type: 'address', internalType: 'address' },
8934
+ { name: 'allowed', type: 'bool', internalType: 'bool' },
8935
+ ],
8936
+ outputs: [],
8937
+ stateMutability: 'nonpayable',
8938
+ },
8939
+ {
8940
+ type: 'function',
8941
+ name: 'setTakerAllowed',
8942
+ inputs: [
8943
+ { name: 'taker', type: 'address', internalType: 'address' },
8944
+ { name: 'allowed', type: 'bool', internalType: 'bool' },
8945
+ ],
8946
+ outputs: [],
8947
+ stateMutability: 'nonpayable',
8948
+ },
8949
+ {
8950
+ type: 'function',
8951
+ name: 'swapExactInput',
8952
+ inputs: [
8953
+ { name: 'baseToQuote', type: 'bool', internalType: 'bool' },
8954
+ { name: 'amountIn', type: 'uint256', internalType: 'uint256' },
8955
+ { name: 'minAmountOut', type: 'uint256', internalType: 'uint256' },
8956
+ { name: 'recipient', type: 'address', internalType: 'address' },
8957
+ { name: 'customerId', type: 'bytes32', internalType: 'bytes32' },
8958
+ { name: 'tradeId', type: 'bytes32', internalType: 'bytes32' },
8959
+ { name: 'deadline', type: 'uint256', internalType: 'uint256' },
8960
+ { name: 'expectedOraclePrice', type: 'uint256', internalType: 'uint256' },
8961
+ {
8962
+ name: 'oraclePriceToleranceBps',
8963
+ type: 'uint256',
8964
+ internalType: 'uint256',
8965
+ },
8966
+ {
8967
+ name: 'minimumOracleUpdatedAt',
8968
+ type: 'uint256',
8969
+ internalType: 'uint256',
8970
+ },
8971
+ ],
8972
+ outputs: [{ name: 'amountOut', type: 'uint256', internalType: 'uint256' }],
8973
+ stateMutability: 'nonpayable',
8974
+ },
8975
+ {
8976
+ type: 'function',
8977
+ name: 'swapExactOutput',
8978
+ inputs: [
8979
+ { name: 'baseToQuote', type: 'bool', internalType: 'bool' },
8980
+ { name: 'amountOut', type: 'uint256', internalType: 'uint256' },
8981
+ { name: 'maxAmountIn', type: 'uint256', internalType: 'uint256' },
8982
+ { name: 'recipient', type: 'address', internalType: 'address' },
8983
+ { name: 'customerId', type: 'bytes32', internalType: 'bytes32' },
8984
+ { name: 'tradeId', type: 'bytes32', internalType: 'bytes32' },
8985
+ { name: 'deadline', type: 'uint256', internalType: 'uint256' },
8986
+ { name: 'expectedOraclePrice', type: 'uint256', internalType: 'uint256' },
8987
+ {
8988
+ name: 'oraclePriceToleranceBps',
8989
+ type: 'uint256',
8990
+ internalType: 'uint256',
8991
+ },
8992
+ {
8993
+ name: 'minimumOracleUpdatedAt',
8994
+ type: 'uint256',
8995
+ internalType: 'uint256',
8996
+ },
8997
+ ],
8998
+ outputs: [{ name: 'amountIn', type: 'uint256', internalType: 'uint256' }],
8999
+ stateMutability: 'nonpayable',
9000
+ },
9001
+ {
9002
+ type: 'function',
9003
+ name: 'takerAllowed',
9004
+ inputs: [{ name: 'taker', type: 'address', internalType: 'address' }],
9005
+ outputs: [{ name: 'allowed', type: 'bool', internalType: 'bool' }],
9006
+ stateMutability: 'view',
9007
+ },
9008
+ {
9009
+ type: 'function',
9010
+ name: 'transferOwnership',
9011
+ inputs: [{ name: 'newOwner', type: 'address', internalType: 'address' }],
9012
+ outputs: [],
9013
+ stateMutability: 'nonpayable',
9014
+ },
9015
+ {
9016
+ type: 'function',
9017
+ name: 'unpause',
9018
+ inputs: [],
9019
+ outputs: [],
9020
+ stateMutability: 'nonpayable',
9021
+ },
9022
+ {
9023
+ type: 'function',
9024
+ name: 'withdraw',
9025
+ inputs: [
9026
+ { name: 'token', type: 'address', internalType: 'address' },
9027
+ { name: 'recipient', type: 'address', internalType: 'address' },
9028
+ { name: 'amount', type: 'uint256', internalType: 'uint256' },
9029
+ { name: 'memo', type: 'bytes32', internalType: 'bytes32' },
9030
+ ],
9031
+ outputs: [],
9032
+ stateMutability: 'nonpayable',
9033
+ },
9034
+ {
9035
+ type: 'event',
9036
+ name: 'Funded',
9037
+ inputs: [
9038
+ {
9039
+ name: 'token',
9040
+ type: 'address',
9041
+ indexed: true,
9042
+ internalType: 'address',
8308
9043
  },
8309
9044
  {
8310
- type: 'tuple',
8311
- name: 'depositQueueTransition',
8312
- components: [
8313
- { type: 'bytes32', name: 'prevProcessedHash' },
8314
- { type: 'bytes32', name: 'nextProcessedHash' },
8315
- { type: 'uint64', name: 'prevDepositNumber' },
8316
- { type: 'uint64', name: 'nextDepositNumber' },
8317
- ],
9045
+ name: 'amount',
9046
+ type: 'uint256',
9047
+ indexed: false,
9048
+ internalType: 'uint256',
8318
9049
  },
8319
- { type: 'bytes32', name: 'withdrawalQueueHash' },
8320
- { type: 'bytes', name: 'verifierConfig' },
8321
- { type: 'bytes', name: 'proof' },
9050
+ { name: 'memo', type: 'bytes32', indexed: true, internalType: 'bytes32' },
9051
+ ],
9052
+ anonymous: false,
9053
+ },
9054
+ {
9055
+ type: 'event',
9056
+ name: 'GuardianUpdated',
9057
+ inputs: [
9058
+ {
9059
+ name: 'oldGuardian',
9060
+ type: 'address',
9061
+ indexed: true,
9062
+ internalType: 'address',
9063
+ },
9064
+ {
9065
+ name: 'newGuardian',
9066
+ type: 'address',
9067
+ indexed: true,
9068
+ internalType: 'address',
9069
+ },
9070
+ ],
9071
+ anonymous: false,
9072
+ },
9073
+ {
9074
+ type: 'event',
9075
+ name: 'MaxOracleAgeUpdated',
9076
+ inputs: [
9077
+ {
9078
+ name: 'oldMaxAge',
9079
+ type: 'uint256',
9080
+ indexed: false,
9081
+ internalType: 'uint256',
9082
+ },
9083
+ {
9084
+ name: 'newMaxAge',
9085
+ type: 'uint256',
9086
+ indexed: false,
9087
+ internalType: 'uint256',
9088
+ },
9089
+ ],
9090
+ anonymous: false,
9091
+ },
9092
+ {
9093
+ type: 'event',
9094
+ name: 'MaxPriceDeviationBpsUpdated',
9095
+ inputs: [
9096
+ {
9097
+ name: 'oldMaxPriceDeviationBps',
9098
+ type: 'uint256',
9099
+ indexed: false,
9100
+ internalType: 'uint256',
9101
+ },
9102
+ {
9103
+ name: 'newMaxPriceDeviationBps',
9104
+ type: 'uint256',
9105
+ indexed: false,
9106
+ internalType: 'uint256',
9107
+ },
9108
+ ],
9109
+ anonymous: false,
9110
+ },
9111
+ {
9112
+ type: 'event',
9113
+ name: 'OracleUpdated',
9114
+ inputs: [
9115
+ {
9116
+ name: 'oldOracle',
9117
+ type: 'address',
9118
+ indexed: true,
9119
+ internalType: 'address',
9120
+ },
9121
+ {
9122
+ name: 'newOracle',
9123
+ type: 'address',
9124
+ indexed: true,
9125
+ internalType: 'address',
9126
+ },
9127
+ {
9128
+ name: 'decimals',
9129
+ type: 'uint8',
9130
+ indexed: false,
9131
+ internalType: 'uint8',
9132
+ },
9133
+ ],
9134
+ anonymous: false,
9135
+ },
9136
+ {
9137
+ type: 'event',
9138
+ name: 'OwnershipTransferStarted',
9139
+ inputs: [
9140
+ {
9141
+ name: 'oldOwner',
9142
+ type: 'address',
9143
+ indexed: true,
9144
+ internalType: 'address',
9145
+ },
9146
+ {
9147
+ name: 'pendingOwner',
9148
+ type: 'address',
9149
+ indexed: true,
9150
+ internalType: 'address',
9151
+ },
9152
+ ],
9153
+ anonymous: false,
9154
+ },
9155
+ {
9156
+ type: 'event',
9157
+ name: 'OwnershipTransferred',
9158
+ inputs: [
9159
+ {
9160
+ name: 'oldOwner',
9161
+ type: 'address',
9162
+ indexed: true,
9163
+ internalType: 'address',
9164
+ },
9165
+ {
9166
+ name: 'newOwner',
9167
+ type: 'address',
9168
+ indexed: true,
9169
+ internalType: 'address',
9170
+ },
9171
+ ],
9172
+ anonymous: false,
9173
+ },
9174
+ {
9175
+ type: 'event',
9176
+ name: 'PausedStateChanged',
9177
+ inputs: [
9178
+ { name: 'paused', type: 'bool', indexed: false, internalType: 'bool' },
9179
+ ],
9180
+ anonymous: false,
9181
+ },
9182
+ {
9183
+ type: 'event',
9184
+ name: 'PriceAnchorUpdated',
9185
+ inputs: [
9186
+ {
9187
+ name: 'baseToQuote',
9188
+ type: 'bool',
9189
+ indexed: true,
9190
+ internalType: 'bool',
9191
+ },
9192
+ {
9193
+ name: 'oldAnchor',
9194
+ type: 'uint256',
9195
+ indexed: false,
9196
+ internalType: 'uint256',
9197
+ },
9198
+ {
9199
+ name: 'newAnchor',
9200
+ type: 'uint256',
9201
+ indexed: false,
9202
+ internalType: 'uint256',
9203
+ },
9204
+ ],
9205
+ anonymous: false,
9206
+ },
9207
+ {
9208
+ type: 'event',
9209
+ name: 'RecipientPermissionUpdated',
9210
+ inputs: [
9211
+ {
9212
+ name: 'recipient',
9213
+ type: 'address',
9214
+ indexed: true,
9215
+ internalType: 'address',
9216
+ },
9217
+ { name: 'allowed', type: 'bool', indexed: false, internalType: 'bool' },
9218
+ ],
9219
+ anonymous: false,
9220
+ },
9221
+ {
9222
+ type: 'event',
9223
+ name: 'RoundingCreditUpdated',
9224
+ inputs: [
9225
+ {
9226
+ name: 'routeKey',
9227
+ type: 'bytes32',
9228
+ indexed: true,
9229
+ internalType: 'bytes32',
9230
+ },
9231
+ {
9232
+ name: 'previousCredit',
9233
+ type: 'uint256',
9234
+ indexed: false,
9235
+ internalType: 'uint256',
9236
+ },
9237
+ {
9238
+ name: 'newCredit',
9239
+ type: 'uint256',
9240
+ indexed: false,
9241
+ internalType: 'uint256',
9242
+ },
9243
+ ],
9244
+ anonymous: false,
9245
+ },
9246
+ {
9247
+ type: 'event',
9248
+ name: 'TakerPermissionUpdated',
9249
+ inputs: [
9250
+ {
9251
+ name: 'taker',
9252
+ type: 'address',
9253
+ indexed: true,
9254
+ internalType: 'address',
9255
+ },
9256
+ { name: 'allowed', type: 'bool', indexed: false, internalType: 'bool' },
9257
+ ],
9258
+ anonymous: false,
9259
+ },
9260
+ {
9261
+ type: 'event',
9262
+ name: 'TradeExecuted',
9263
+ inputs: [
9264
+ {
9265
+ name: 'taker',
9266
+ type: 'address',
9267
+ indexed: true,
9268
+ internalType: 'address',
9269
+ },
9270
+ {
9271
+ name: 'recipient',
9272
+ type: 'address',
9273
+ indexed: true,
9274
+ internalType: 'address',
9275
+ },
9276
+ {
9277
+ name: 'customerId',
9278
+ type: 'bytes32',
9279
+ indexed: true,
9280
+ internalType: 'bytes32',
9281
+ },
9282
+ {
9283
+ name: 'tradeId',
9284
+ type: 'bytes32',
9285
+ indexed: false,
9286
+ internalType: 'bytes32',
9287
+ },
9288
+ {
9289
+ name: 'tokenIn',
9290
+ type: 'address',
9291
+ indexed: false,
9292
+ internalType: 'address',
9293
+ },
9294
+ {
9295
+ name: 'tokenOut',
9296
+ type: 'address',
9297
+ indexed: false,
9298
+ internalType: 'address',
9299
+ },
9300
+ {
9301
+ name: 'amountIn',
9302
+ type: 'uint256',
9303
+ indexed: false,
9304
+ internalType: 'uint256',
9305
+ },
9306
+ {
9307
+ name: 'amountOut',
9308
+ type: 'uint256',
9309
+ indexed: false,
9310
+ internalType: 'uint256',
9311
+ },
9312
+ {
9313
+ name: 'oraclePrice',
9314
+ type: 'uint256',
9315
+ indexed: false,
9316
+ internalType: 'uint256',
9317
+ },
9318
+ {
9319
+ name: 'oracleUpdatedAt',
9320
+ type: 'uint256',
9321
+ indexed: false,
9322
+ internalType: 'uint256',
9323
+ },
9324
+ ],
9325
+ anonymous: false,
9326
+ },
9327
+ {
9328
+ type: 'event',
9329
+ name: 'Withdrawn',
9330
+ inputs: [
9331
+ {
9332
+ name: 'token',
9333
+ type: 'address',
9334
+ indexed: true,
9335
+ internalType: 'address',
9336
+ },
9337
+ {
9338
+ name: 'recipient',
9339
+ type: 'address',
9340
+ indexed: true,
9341
+ internalType: 'address',
9342
+ },
9343
+ {
9344
+ name: 'amount',
9345
+ type: 'uint256',
9346
+ indexed: false,
9347
+ internalType: 'uint256',
9348
+ },
9349
+ {
9350
+ name: 'memo',
9351
+ type: 'bytes32',
9352
+ indexed: false,
9353
+ internalType: 'bytes32',
9354
+ },
9355
+ ],
9356
+ anonymous: false,
9357
+ },
9358
+ { type: 'error', name: 'AmountIsZero', inputs: [] },
9359
+ { type: 'error', name: 'CustomerIdIsZero', inputs: [] },
9360
+ {
9361
+ type: 'error',
9362
+ name: 'DeadlineExpired',
9363
+ inputs: [
9364
+ { name: 'deadline', type: 'uint256', internalType: 'uint256' },
9365
+ { name: 'currentTimestamp', type: 'uint256', internalType: 'uint256' },
9366
+ ],
9367
+ },
9368
+ {
9369
+ type: 'error',
9370
+ name: 'ExactBalanceDeltaFailed',
9371
+ inputs: [
9372
+ { name: 'token', type: 'address', internalType: 'address' },
9373
+ { name: 'expected', type: 'uint256', internalType: 'uint256' },
9374
+ { name: 'actual', type: 'uint256', internalType: 'uint256' },
9375
+ ],
9376
+ },
9377
+ {
9378
+ type: 'error',
9379
+ name: 'FutureOracleTimestamp',
9380
+ inputs: [
9381
+ { name: 'updatedAt', type: 'uint256', internalType: 'uint256' },
9382
+ { name: 'currentTime', type: 'uint256', internalType: 'uint256' },
9383
+ ],
9384
+ },
9385
+ {
9386
+ type: 'error',
9387
+ name: 'InsufficientInventory',
9388
+ inputs: [
9389
+ { name: 'token', type: 'address', internalType: 'address' },
9390
+ { name: 'available', type: 'uint256', internalType: 'uint256' },
9391
+ { name: 'required', type: 'uint256', internalType: 'uint256' },
9392
+ ],
9393
+ },
9394
+ { type: 'error', name: 'InvalidAddress', inputs: [] },
9395
+ { type: 'error', name: 'InvalidMaxOracleAge', inputs: [] },
9396
+ {
9397
+ type: 'error',
9398
+ name: 'InvalidMaxPriceDeviationBps',
9399
+ inputs: [
9400
+ { name: 'supplied', type: 'uint256', internalType: 'uint256' },
9401
+ { name: 'maximum', type: 'uint256', internalType: 'uint256' },
9402
+ ],
9403
+ },
9404
+ {
9405
+ type: 'error',
9406
+ name: 'InvalidOraclePriceToleranceBps',
9407
+ inputs: [
9408
+ { name: 'supplied', type: 'uint256', internalType: 'uint256' },
9409
+ { name: 'maximum', type: 'uint256', internalType: 'uint256' },
9410
+ ],
9411
+ },
9412
+ { type: 'error', name: 'InvalidPrice', inputs: [] },
9413
+ { type: 'error', name: 'NotGuardianOrOwner', inputs: [] },
9414
+ { type: 'error', name: 'NotOwner', inputs: [] },
9415
+ { type: 'error', name: 'NotPaused', inputs: [] },
9416
+ { type: 'error', name: 'NotPendingOwner', inputs: [] },
9417
+ {
9418
+ type: 'error',
9419
+ name: 'OracleDecimalsChanged',
9420
+ inputs: [
9421
+ { name: 'currentDecimals', type: 'uint8', internalType: 'uint8' },
9422
+ { name: 'proposedDecimals', type: 'uint8', internalType: 'uint8' },
9423
+ ],
9424
+ },
9425
+ {
9426
+ type: 'error',
9427
+ name: 'OraclePriceToleranceExceeded',
9428
+ inputs: [
9429
+ { name: 'expectedPrice', type: 'uint256', internalType: 'uint256' },
9430
+ { name: 'actualPrice', type: 'uint256', internalType: 'uint256' },
9431
+ { name: 'toleranceBps', type: 'uint256', internalType: 'uint256' },
9432
+ ],
9433
+ },
9434
+ {
9435
+ type: 'error',
9436
+ name: 'OracleTimestampTooOld',
9437
+ inputs: [
9438
+ { name: 'minimumUpdatedAt', type: 'uint256', internalType: 'uint256' },
9439
+ { name: 'actualUpdatedAt', type: 'uint256', internalType: 'uint256' },
9440
+ ],
9441
+ },
9442
+ { type: 'error', name: 'Paused', inputs: [] },
9443
+ {
9444
+ type: 'error',
9445
+ name: 'PriceAnchorNotInitialized',
9446
+ inputs: [{ name: 'baseToQuote', type: 'bool', internalType: 'bool' }],
9447
+ },
9448
+ {
9449
+ type: 'error',
9450
+ name: 'PriceDeviationExceeded',
9451
+ inputs: [
9452
+ { name: 'baseToQuote', type: 'bool', internalType: 'bool' },
9453
+ { name: 'price', type: 'uint256', internalType: 'uint256' },
9454
+ { name: 'anchor', type: 'uint256', internalType: 'uint256' },
9455
+ { name: 'maxDeviationBps', type: 'uint256', internalType: 'uint256' },
9456
+ ],
9457
+ },
9458
+ {
9459
+ type: 'error',
9460
+ name: 'RecipientNotAllowed',
9461
+ inputs: [{ name: 'recipient', type: 'address', internalType: 'address' }],
9462
+ },
9463
+ { type: 'error', name: 'ReentrancyGuardReentrantCall', inputs: [] },
9464
+ { type: 'error', name: 'SameToken', inputs: [] },
9465
+ {
9466
+ type: 'error',
9467
+ name: 'SlippageExceeded',
9468
+ inputs: [
9469
+ { name: 'limit', type: 'uint256', internalType: 'uint256' },
9470
+ { name: 'actual', type: 'uint256', internalType: 'uint256' },
9471
+ ],
9472
+ },
9473
+ {
9474
+ type: 'error',
9475
+ name: 'StaleOraclePrice',
9476
+ inputs: [
9477
+ { name: 'updatedAt', type: 'uint256', internalType: 'uint256' },
9478
+ { name: 'maxAge', type: 'uint256', internalType: 'uint256' },
9479
+ ],
9480
+ },
9481
+ {
9482
+ type: 'error',
9483
+ name: 'TakerNotAllowed',
9484
+ inputs: [{ name: 'taker', type: 'address', internalType: 'address' }],
9485
+ },
9486
+ {
9487
+ type: 'error',
9488
+ name: 'TokenTransferFailed',
9489
+ inputs: [{ name: 'token', type: 'address', internalType: 'address' }],
9490
+ },
9491
+ {
9492
+ type: 'error',
9493
+ name: 'UnsupportedDecimals',
9494
+ inputs: [
9495
+ { name: 'baseDecimals', type: 'uint8', internalType: 'uint8' },
9496
+ { name: 'quoteDecimals', type: 'uint8', internalType: 'uint8' },
9497
+ { name: 'oracleDecimals', type: 'uint8', internalType: 'uint8' },
8322
9498
  ],
8323
- outputs: [{ type: 'bool' }],
9499
+ },
9500
+ {
9501
+ type: 'error',
9502
+ name: 'UnsupportedToken',
9503
+ inputs: [{ name: 'token', type: 'address', internalType: 'address' }],
8324
9504
  },
8325
9505
  ] as const
8326
9506
 
@@ -8344,6 +9524,7 @@ export const core = [
8344
9524
  ...validatorConfigV2,
8345
9525
  ...zoneFactory,
8346
9526
  ...zonePortal,
9527
+ ...zoneVerifier,
8347
9528
  ] as const
8348
9529
 
8349
9530
  export const earn = [
@@ -8354,6 +9535,7 @@ export const earn = [
8354
9535
  ...earnFactory,
8355
9536
  ...earnFees,
8356
9537
  ...earnMerkleRewardDistributor,
9538
+ ...earnRewardsFactory,
8357
9539
  ...earnRouter,
8358
9540
  ...earnVault,
8359
9541
  ...erc4626Engine,
@@ -8361,6 +9543,8 @@ export const earn = [
8361
9543
  ...vedaEngine,
8362
9544
  ] as const
8363
9545
 
8364
- export const zone = [...zoneMessenger, ...zoneOutbox, ...zoneVerifier] as const
9546
+ export const zone = [...zoneMessenger, ...zoneOutbox] as const
9547
+
9548
+ export const propAmm = [...directPropAmm] as const
8365
9549
 
8366
- export const all = [...core, ...earn, ...zone] as const
9550
+ export const all = [...core, ...earn, ...zone, ...propAmm] as const