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.
- package/CHANGELOG.md +38 -0
- package/README.md +0 -1
- package/_cjs/actions/index.js +5 -3
- package/_cjs/actions/index.js.map +1 -1
- package/_cjs/actions/public/getStorageValues.js +17 -0
- package/_cjs/actions/public/getStorageValues.js.map +1 -0
- package/_cjs/actions/public/simulateBlocks.js +2 -0
- package/_cjs/actions/public/simulateBlocks.js.map +1 -1
- package/_cjs/chains/definitions/rabbitChainTestnet.js +24 -0
- package/_cjs/chains/definitions/rabbitChainTestnet.js.map +1 -0
- package/_cjs/chains/index.js +7 -5
- package/_cjs/chains/index.js.map +1 -1
- package/_cjs/clients/decorators/public.js +2 -0
- package/_cjs/clients/decorators/public.js.map +1 -1
- package/_cjs/errors/version.js +1 -1
- package/_cjs/index.js.map +1 -1
- package/_cjs/tempo/Abis.js +1211 -32
- package/_cjs/tempo/Abis.js.map +1 -1
- package/_cjs/tempo/Addresses.js +2 -1
- package/_cjs/tempo/Addresses.js.map +1 -1
- package/_cjs/tempo/Decorator.js +12 -0
- package/_cjs/tempo/Decorator.js.map +1 -1
- package/_cjs/tempo/Selectors.js +7 -4
- package/_cjs/tempo/Selectors.js.map +1 -1
- package/_cjs/tempo/actions/index.js +2 -1
- package/_cjs/tempo/actions/index.js.map +1 -1
- package/_cjs/tempo/actions/propAmm.js +349 -0
- package/_cjs/tempo/actions/propAmm.js.map +1 -0
- package/_cjs/tokens/definitions/eurc.js +1 -0
- package/_cjs/tokens/definitions/eurc.js.map +1 -1
- package/_cjs/tokens/definitions/usdc.js +1 -0
- package/_cjs/tokens/definitions/usdc.js.map +1 -1
- package/_esm/actions/index.js +1 -0
- package/_esm/actions/index.js.map +1 -1
- package/_esm/actions/public/getStorageValues.js +39 -0
- package/_esm/actions/public/getStorageValues.js.map +1 -0
- package/_esm/actions/public/simulateBlocks.js +4 -0
- package/_esm/actions/public/simulateBlocks.js.map +1 -1
- package/_esm/chains/definitions/rabbitChainTestnet.js +21 -0
- package/_esm/chains/definitions/rabbitChainTestnet.js.map +1 -0
- package/_esm/chains/index.js +1 -0
- package/_esm/chains/index.js.map +1 -1
- package/_esm/clients/decorators/public.js +2 -0
- package/_esm/clients/decorators/public.js.map +1 -1
- package/_esm/errors/version.js +1 -1
- package/_esm/index.js.map +1 -1
- package/_esm/tempo/Abis.js +1214 -34
- package/_esm/tempo/Abis.js.map +1 -1
- package/_esm/tempo/Addresses.js +2 -0
- package/_esm/tempo/Addresses.js.map +1 -1
- package/_esm/tempo/Decorator.js +12 -0
- package/_esm/tempo/Decorator.js.map +1 -1
- package/_esm/tempo/Selectors.js +6 -3
- package/_esm/tempo/Selectors.js.map +1 -1
- package/_esm/tempo/actions/index.js +1 -0
- package/_esm/tempo/actions/index.js.map +1 -1
- package/_esm/tempo/actions/propAmm.js +539 -0
- package/_esm/tempo/actions/propAmm.js.map +1 -0
- package/_esm/tokens/definitions/eurc.js +1 -0
- package/_esm/tokens/definitions/eurc.js.map +1 -1
- package/_esm/tokens/definitions/usdc.js +1 -0
- package/_esm/tokens/definitions/usdc.js.map +1 -1
- package/_types/actions/index.d.ts +1 -0
- package/_types/actions/index.d.ts.map +1 -1
- package/_types/actions/public/getStorageValues.d.ts +59 -0
- package/_types/actions/public/getStorageValues.d.ts.map +1 -0
- package/_types/actions/public/simulateBlocks.d.ts +8 -0
- package/_types/actions/public/simulateBlocks.d.ts.map +1 -1
- package/_types/chains/definitions/rabbitChainTestnet.d.ts +51 -0
- package/_types/chains/definitions/rabbitChainTestnet.d.ts.map +1 -0
- package/_types/chains/index.d.ts +1 -0
- package/_types/chains/index.d.ts.map +1 -1
- package/_types/clients/decorators/public.d.ts +11 -0
- package/_types/clients/decorators/public.d.ts.map +1 -1
- package/_types/errors/version.d.ts +1 -1
- package/_types/index.d.ts +1 -0
- package/_types/index.d.ts.map +1 -1
- package/_types/tempo/Abis.d.ts +14686 -9568
- package/_types/tempo/Abis.d.ts.map +1 -1
- package/_types/tempo/Addresses.d.ts +2 -0
- package/_types/tempo/Addresses.d.ts.map +1 -1
- package/_types/tempo/Decorator.d.ts +205 -1
- package/_types/tempo/Decorator.d.ts.map +1 -1
- package/_types/tempo/Selectors.d.ts +6 -3
- package/_types/tempo/Selectors.d.ts.map +1 -1
- package/_types/tempo/actions/earn.d.ts +621 -1
- package/_types/tempo/actions/earn.d.ts.map +1 -1
- package/_types/tempo/actions/index.d.ts +1 -0
- package/_types/tempo/actions/index.d.ts.map +1 -1
- package/_types/tempo/actions/propAmm.d.ts +2228 -0
- package/_types/tempo/actions/propAmm.d.ts.map +1 -0
- package/_types/tokens/definitions/eurc.d.ts +1 -0
- package/_types/tokens/definitions/eurc.d.ts.map +1 -1
- package/_types/tokens/definitions/usdc.d.ts +1 -0
- package/_types/tokens/definitions/usdc.d.ts.map +1 -1
- package/_types/tokens/sets.d.ts +3 -0
- package/_types/tokens/sets.d.ts.map +1 -1
- package/_types/types/eip1193.d.ts +20 -0
- package/_types/types/eip1193.d.ts.map +1 -1
- package/actions/index.ts +6 -0
- package/actions/public/getStorageValues.ts +93 -0
- package/actions/public/simulateBlocks.ts +13 -0
- package/chains/definitions/rabbitChainTestnet.ts +21 -0
- package/chains/index.ts +1 -0
- package/clients/decorators/public.ts +18 -0
- package/errors/version.ts +1 -1
- package/index.ts +5 -0
- package/package.json +1 -1
- package/tempo/Abis.ts +1218 -34
- package/tempo/Addresses.ts +2 -0
- package/tempo/Decorator.ts +239 -3
- package/tempo/Selectors.ts +10 -4
- package/tempo/actions/index.ts +1 -0
- package/tempo/actions/propAmm.ts +998 -0
- package/tokens/definitions/eurc.ts +1 -0
- package/tokens/definitions/usdc.ts +1 -0
- package/types/eip1193.ts +20 -0
package/_esm/tempo/Abis.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// Generated with `pnpm gen:tempo-abis`. Do not modify manually.
|
|
2
|
-
// Source: tempoxyz/tempo@
|
|
2
|
+
// Source: tempoxyz/tempo@a2624758a6709731d98b9bd6fc8e5afca398fea9
|
|
3
3
|
export const accountKeychain = [
|
|
4
4
|
{
|
|
5
5
|
name: 'authorizeKey',
|
|
@@ -4305,7 +4305,86 @@ export const zonePortal = [
|
|
|
4305
4305
|
outputs: [{ type: 'bytes32' }],
|
|
4306
4306
|
},
|
|
4307
4307
|
];
|
|
4308
|
-
|
|
4308
|
+
export const zoneVerifier = [
|
|
4309
|
+
{
|
|
4310
|
+
name: 'verify',
|
|
4311
|
+
type: 'function',
|
|
4312
|
+
stateMutability: 'view',
|
|
4313
|
+
inputs: [
|
|
4314
|
+
{ type: 'uint32', name: 'zoneId' },
|
|
4315
|
+
{ type: 'uint64', name: 'tempoBlockNumber' },
|
|
4316
|
+
{ type: 'uint64', name: 'anchorBlockNumber' },
|
|
4317
|
+
{ type: 'bytes32', name: 'anchorBlockHash' },
|
|
4318
|
+
{ type: 'uint64', name: 'expectedWithdrawalBatchIndex' },
|
|
4319
|
+
{ type: 'uint256', name: 'nextZoneHeight' },
|
|
4320
|
+
{
|
|
4321
|
+
type: 'tuple',
|
|
4322
|
+
name: 'blockTransition',
|
|
4323
|
+
components: [
|
|
4324
|
+
{ type: 'bytes32', name: 'prevBlockHash' },
|
|
4325
|
+
{ type: 'bytes32', name: 'nextBlockHash' },
|
|
4326
|
+
],
|
|
4327
|
+
},
|
|
4328
|
+
{
|
|
4329
|
+
type: 'tuple',
|
|
4330
|
+
name: 'depositQueueTransition',
|
|
4331
|
+
components: [
|
|
4332
|
+
{ type: 'bytes32', name: 'prevProcessedHash' },
|
|
4333
|
+
{ type: 'bytes32', name: 'nextProcessedHash' },
|
|
4334
|
+
{ type: 'uint64', name: 'prevDepositNumber' },
|
|
4335
|
+
{ type: 'uint64', name: 'nextDepositNumber' },
|
|
4336
|
+
],
|
|
4337
|
+
},
|
|
4338
|
+
{
|
|
4339
|
+
type: 'tuple',
|
|
4340
|
+
name: 'tokenEnablementTransition',
|
|
4341
|
+
components: [
|
|
4342
|
+
{ type: 'uint64', name: 'prevProcessedTokenCount' },
|
|
4343
|
+
{ type: 'uint64', name: 'nextProcessedTokenCount' },
|
|
4344
|
+
],
|
|
4345
|
+
},
|
|
4346
|
+
{ type: 'bytes32', name: 'withdrawalQueueHash' },
|
|
4347
|
+
{ type: 'bytes', name: 'verifierConfig' },
|
|
4348
|
+
{ type: 'bytes', name: 'proof' },
|
|
4349
|
+
],
|
|
4350
|
+
outputs: [{ type: 'bool' }],
|
|
4351
|
+
},
|
|
4352
|
+
{
|
|
4353
|
+
name: 'verify',
|
|
4354
|
+
type: 'function',
|
|
4355
|
+
stateMutability: 'view',
|
|
4356
|
+
inputs: [
|
|
4357
|
+
{ type: 'uint32', name: 'zoneId' },
|
|
4358
|
+
{ type: 'uint64', name: 'tempoBlockNumber' },
|
|
4359
|
+
{ type: 'uint64', name: 'anchorBlockNumber' },
|
|
4360
|
+
{ type: 'bytes32', name: 'anchorBlockHash' },
|
|
4361
|
+
{ type: 'uint64', name: 'expectedWithdrawalBatchIndex' },
|
|
4362
|
+
{
|
|
4363
|
+
type: 'tuple',
|
|
4364
|
+
name: 'blockTransition',
|
|
4365
|
+
components: [
|
|
4366
|
+
{ type: 'bytes32', name: 'prevBlockHash' },
|
|
4367
|
+
{ type: 'bytes32', name: 'nextBlockHash' },
|
|
4368
|
+
],
|
|
4369
|
+
},
|
|
4370
|
+
{
|
|
4371
|
+
type: 'tuple',
|
|
4372
|
+
name: 'depositQueueTransition',
|
|
4373
|
+
components: [
|
|
4374
|
+
{ type: 'bytes32', name: 'prevProcessedHash' },
|
|
4375
|
+
{ type: 'bytes32', name: 'nextProcessedHash' },
|
|
4376
|
+
{ type: 'uint64', name: 'prevDepositNumber' },
|
|
4377
|
+
{ type: 'uint64', name: 'nextDepositNumber' },
|
|
4378
|
+
],
|
|
4379
|
+
},
|
|
4380
|
+
{ type: 'bytes32', name: 'withdrawalQueueHash' },
|
|
4381
|
+
{ type: 'bytes', name: 'verifierConfig' },
|
|
4382
|
+
{ type: 'bytes', name: 'proof' },
|
|
4383
|
+
],
|
|
4384
|
+
outputs: [{ type: 'bool' }],
|
|
4385
|
+
},
|
|
4386
|
+
];
|
|
4387
|
+
// Source: tempoxyz/earn@d6373e4939ec2bbf5dcccffd5f2519ff4a62d6b1
|
|
4309
4388
|
export const earnContributionController = [
|
|
4310
4389
|
{
|
|
4311
4390
|
type: 'constructor',
|
|
@@ -4365,6 +4444,17 @@ export const earnContributionController = [
|
|
|
4365
4444
|
outputs: [{ name: 'fundedAssets', type: 'uint256' }],
|
|
4366
4445
|
stateMutability: 'nonpayable',
|
|
4367
4446
|
},
|
|
4447
|
+
{
|
|
4448
|
+
type: 'function',
|
|
4449
|
+
name: 'fundBatchExact',
|
|
4450
|
+
inputs: [
|
|
4451
|
+
{ name: 'funders', type: 'address[]' },
|
|
4452
|
+
{ name: 'requestedAssets', type: 'uint256[]' },
|
|
4453
|
+
{ name: 'maxEarnShareSupply', type: 'uint256' },
|
|
4454
|
+
],
|
|
4455
|
+
outputs: [{ name: 'totalFundedAssets', type: 'uint256' }],
|
|
4456
|
+
stateMutability: 'nonpayable',
|
|
4457
|
+
},
|
|
4368
4458
|
{
|
|
4369
4459
|
type: 'function',
|
|
4370
4460
|
name: 'owner',
|
|
@@ -4443,6 +4533,7 @@ export const earnContributionController = [
|
|
|
4443
4533
|
],
|
|
4444
4534
|
},
|
|
4445
4535
|
{ type: 'error', name: 'Inactive', inputs: [] },
|
|
4536
|
+
{ type: 'error', name: 'InvalidArrayLengths', inputs: [] },
|
|
4446
4537
|
{ type: 'error', name: 'NotSelf', inputs: [] },
|
|
4447
4538
|
{
|
|
4448
4539
|
type: 'error',
|
|
@@ -4458,6 +4549,7 @@ export const earnContributionController = [
|
|
|
4458
4549
|
{ type: 'error', name: 'TokenCallFailed', inputs: [] },
|
|
4459
4550
|
{ type: 'error', name: 'TokenCallFalse', inputs: [] },
|
|
4460
4551
|
{ type: 'error', name: 'ZeroAddress', inputs: [] },
|
|
4552
|
+
{ type: 'error', name: 'ZeroAmount', inputs: [] },
|
|
4461
4553
|
];
|
|
4462
4554
|
export const earnEngine = [
|
|
4463
4555
|
{
|
|
@@ -5489,6 +5581,13 @@ export const earnMerkleRewardDistributor = [
|
|
|
5489
5581
|
outputs: [{ name: '', type: 'uint40' }],
|
|
5490
5582
|
stateMutability: 'view',
|
|
5491
5583
|
},
|
|
5584
|
+
{
|
|
5585
|
+
type: 'function',
|
|
5586
|
+
name: 'consumedSettlements',
|
|
5587
|
+
inputs: [{ name: 'settlementId', type: 'bytes32' }],
|
|
5588
|
+
outputs: [{ name: 'consumed', type: 'bool' }],
|
|
5589
|
+
stateMutability: 'view',
|
|
5590
|
+
},
|
|
5492
5591
|
{
|
|
5493
5592
|
type: 'function',
|
|
5494
5593
|
name: 'cumulativePaid',
|
|
@@ -5512,13 +5611,21 @@ export const earnMerkleRewardDistributor = [
|
|
|
5512
5611
|
},
|
|
5513
5612
|
{
|
|
5514
5613
|
type: 'function',
|
|
5515
|
-
name: '
|
|
5614
|
+
name: 'fundAndPublishRoot',
|
|
5516
5615
|
inputs: [
|
|
5616
|
+
{ name: 'settlementId', type: 'bytes32' },
|
|
5617
|
+
{ name: 'expectedRootVersion', type: 'uint64' },
|
|
5517
5618
|
{ name: 'funder', type: 'address' },
|
|
5518
5619
|
{ name: 'assets', type: 'uint256' },
|
|
5519
5620
|
{ name: 'minEarnShares', type: 'uint256' },
|
|
5621
|
+
{ name: 'root', type: 'bytes32' },
|
|
5622
|
+
{ name: 'totalEntitlement', type: 'uint256' },
|
|
5623
|
+
{ name: 'statementHash_', type: 'bytes32' },
|
|
5624
|
+
],
|
|
5625
|
+
outputs: [
|
|
5626
|
+
{ name: 'earnShares', type: 'uint256' },
|
|
5627
|
+
{ name: 'version', type: 'uint64' },
|
|
5520
5628
|
],
|
|
5521
|
-
outputs: [{ name: 'earnShares', type: 'uint256' }],
|
|
5522
5629
|
stateMutability: 'nonpayable',
|
|
5523
5630
|
},
|
|
5524
5631
|
{
|
|
@@ -5563,6 +5670,7 @@ export const earnMerkleRewardDistributor = [
|
|
|
5563
5670
|
type: 'function',
|
|
5564
5671
|
name: 'publishRoot',
|
|
5565
5672
|
inputs: [
|
|
5673
|
+
{ name: 'expectedRootVersion', type: 'uint64' },
|
|
5566
5674
|
{ name: 'root', type: 'bytes32' },
|
|
5567
5675
|
{ name: 'totalEntitlement', type: 'uint256' },
|
|
5568
5676
|
{ name: 'statementHash_', type: 'bytes32' },
|
|
@@ -5783,6 +5891,11 @@ export const earnMerkleRewardDistributor = [
|
|
|
5783
5891
|
{ name: 'remainingEntitlement', type: 'uint256' },
|
|
5784
5892
|
],
|
|
5785
5893
|
},
|
|
5894
|
+
{
|
|
5895
|
+
type: 'error',
|
|
5896
|
+
name: 'SettlementAlreadyConsumed',
|
|
5897
|
+
inputs: [{ name: 'settlementId', type: 'bytes32' }],
|
|
5898
|
+
},
|
|
5786
5899
|
{
|
|
5787
5900
|
type: 'error',
|
|
5788
5901
|
name: 'StaleRootVersion',
|
|
@@ -5815,8 +5928,94 @@ export const earnMerkleRewardDistributor = [
|
|
|
5815
5928
|
{ type: 'error', name: 'ZeroDeadline', inputs: [] },
|
|
5816
5929
|
{ type: 'error', name: 'ZeroMinimumEarnShares', inputs: [] },
|
|
5817
5930
|
{ type: 'error', name: 'ZeroRoot', inputs: [] },
|
|
5931
|
+
{ type: 'error', name: 'ZeroSettlementId', inputs: [] },
|
|
5818
5932
|
{ type: 'error', name: 'ZeroStatementHash', inputs: [] },
|
|
5819
5933
|
];
|
|
5934
|
+
export const earnRewardsFactory = [
|
|
5935
|
+
{
|
|
5936
|
+
type: 'function',
|
|
5937
|
+
name: 'campaignId',
|
|
5938
|
+
inputs: [{ name: 'earnVault', type: 'address' }],
|
|
5939
|
+
outputs: [{ name: '', type: 'bytes32' }],
|
|
5940
|
+
stateMutability: 'pure',
|
|
5941
|
+
},
|
|
5942
|
+
{
|
|
5943
|
+
type: 'function',
|
|
5944
|
+
name: 'install',
|
|
5945
|
+
inputs: [
|
|
5946
|
+
{ name: 'earnVault', type: 'address' },
|
|
5947
|
+
{ name: 'owner', type: 'address' },
|
|
5948
|
+
{ name: 'treasury', type: 'address' },
|
|
5949
|
+
{ name: 'claimDeadline', type: 'uint40' },
|
|
5950
|
+
{ name: 'targetYield', type: 'bool' },
|
|
5951
|
+
{ name: 'boostRewards', type: 'bool' },
|
|
5952
|
+
],
|
|
5953
|
+
outputs: [
|
|
5954
|
+
{
|
|
5955
|
+
name: 'result',
|
|
5956
|
+
type: 'tuple',
|
|
5957
|
+
components: [
|
|
5958
|
+
{ name: 'contributionController', type: 'address' },
|
|
5959
|
+
{ name: 'merkleDistributor', type: 'address' },
|
|
5960
|
+
],
|
|
5961
|
+
},
|
|
5962
|
+
],
|
|
5963
|
+
stateMutability: 'nonpayable',
|
|
5964
|
+
},
|
|
5965
|
+
{
|
|
5966
|
+
type: 'function',
|
|
5967
|
+
name: 'predictContributionController',
|
|
5968
|
+
inputs: [
|
|
5969
|
+
{ name: 'earnVault', type: 'address' },
|
|
5970
|
+
{ name: 'owner', type: 'address' },
|
|
5971
|
+
],
|
|
5972
|
+
outputs: [{ name: '', type: 'address' }],
|
|
5973
|
+
stateMutability: 'view',
|
|
5974
|
+
},
|
|
5975
|
+
{
|
|
5976
|
+
type: 'function',
|
|
5977
|
+
name: 'predictMerkleDistributor',
|
|
5978
|
+
inputs: [
|
|
5979
|
+
{ name: 'earnVault', type: 'address' },
|
|
5980
|
+
{ name: 'owner', type: 'address' },
|
|
5981
|
+
{ name: 'treasury', type: 'address' },
|
|
5982
|
+
{ name: 'claimDeadline', type: 'uint40' },
|
|
5983
|
+
],
|
|
5984
|
+
outputs: [{ name: '', type: 'address' }],
|
|
5985
|
+
stateMutability: 'view',
|
|
5986
|
+
},
|
|
5987
|
+
{
|
|
5988
|
+
type: 'event',
|
|
5989
|
+
name: 'ContributionControllerInstalled',
|
|
5990
|
+
inputs: [
|
|
5991
|
+
{ name: 'earnVault', type: 'address', indexed: true },
|
|
5992
|
+
{ name: 'owner', type: 'address', indexed: true },
|
|
5993
|
+
{ name: 'contributionController', type: 'address', indexed: false },
|
|
5994
|
+
],
|
|
5995
|
+
anonymous: false,
|
|
5996
|
+
},
|
|
5997
|
+
{
|
|
5998
|
+
type: 'event',
|
|
5999
|
+
name: 'MerkleDistributorInstalled',
|
|
6000
|
+
inputs: [
|
|
6001
|
+
{ name: 'earnVault', type: 'address', indexed: true },
|
|
6002
|
+
{ name: 'owner', type: 'address', indexed: true },
|
|
6003
|
+
{ name: 'treasury', type: 'address', indexed: true },
|
|
6004
|
+
{ name: 'merkleDistributor', type: 'address', indexed: false },
|
|
6005
|
+
{ name: 'campaignId', type: 'bytes32', indexed: false },
|
|
6006
|
+
{ name: 'claimDeadline', type: 'uint40', indexed: false },
|
|
6007
|
+
],
|
|
6008
|
+
anonymous: false,
|
|
6009
|
+
},
|
|
6010
|
+
{ type: 'error', name: 'EmptyInstallation', inputs: [] },
|
|
6011
|
+
{
|
|
6012
|
+
type: 'error',
|
|
6013
|
+
name: 'InvalidExistingDeployment',
|
|
6014
|
+
inputs: [{ name: 'component', type: 'address' }],
|
|
6015
|
+
},
|
|
6016
|
+
{ type: 'error', name: 'InvalidRewardConfiguration', inputs: [] },
|
|
6017
|
+
{ type: 'error', name: 'ZeroAddress', inputs: [] },
|
|
6018
|
+
];
|
|
5820
6019
|
export const earnRouter = [
|
|
5821
6020
|
{
|
|
5822
6021
|
type: 'constructor',
|
|
@@ -5977,6 +6176,13 @@ export const earnVault = [
|
|
|
5977
6176
|
outputs: [],
|
|
5978
6177
|
stateMutability: 'nonpayable',
|
|
5979
6178
|
},
|
|
6179
|
+
{
|
|
6180
|
+
type: 'function',
|
|
6181
|
+
name: 'acceptOperator',
|
|
6182
|
+
inputs: [],
|
|
6183
|
+
outputs: [],
|
|
6184
|
+
stateMutability: 'nonpayable',
|
|
6185
|
+
},
|
|
5980
6186
|
{
|
|
5981
6187
|
type: 'function',
|
|
5982
6188
|
name: 'accrueFees',
|
|
@@ -6029,6 +6235,13 @@ export const earnVault = [
|
|
|
6029
6235
|
outputs: [],
|
|
6030
6236
|
stateMutability: 'nonpayable',
|
|
6031
6237
|
},
|
|
6238
|
+
{
|
|
6239
|
+
type: 'function',
|
|
6240
|
+
name: 'cancelOperatorTransfer',
|
|
6241
|
+
inputs: [],
|
|
6242
|
+
outputs: [],
|
|
6243
|
+
stateMutability: 'nonpayable',
|
|
6244
|
+
},
|
|
6032
6245
|
{
|
|
6033
6246
|
type: 'function',
|
|
6034
6247
|
name: 'cancelRedeem',
|
|
@@ -6288,6 +6501,13 @@ export const earnVault = [
|
|
|
6288
6501
|
],
|
|
6289
6502
|
stateMutability: 'view',
|
|
6290
6503
|
},
|
|
6504
|
+
{
|
|
6505
|
+
type: 'function',
|
|
6506
|
+
name: 'pendingOperator',
|
|
6507
|
+
inputs: [],
|
|
6508
|
+
outputs: [{ name: '', type: 'address' }],
|
|
6509
|
+
stateMutability: 'view',
|
|
6510
|
+
},
|
|
6291
6511
|
{
|
|
6292
6512
|
type: 'function',
|
|
6293
6513
|
name: 'pendingRedeem',
|
|
@@ -6459,6 +6679,13 @@ export const earnVault = [
|
|
|
6459
6679
|
outputs: [],
|
|
6460
6680
|
stateMutability: 'nonpayable',
|
|
6461
6681
|
},
|
|
6682
|
+
{
|
|
6683
|
+
type: 'function',
|
|
6684
|
+
name: 'transferOperator',
|
|
6685
|
+
inputs: [{ name: 'newOperator', type: 'address' }],
|
|
6686
|
+
outputs: [],
|
|
6687
|
+
stateMutability: 'nonpayable',
|
|
6688
|
+
},
|
|
6462
6689
|
{
|
|
6463
6690
|
type: 'function',
|
|
6464
6691
|
name: 'withdrawExact',
|
|
@@ -6556,6 +6783,25 @@ export const earnVault = [
|
|
|
6556
6783
|
],
|
|
6557
6784
|
anonymous: false,
|
|
6558
6785
|
},
|
|
6786
|
+
{
|
|
6787
|
+
type: 'event',
|
|
6788
|
+
name: 'EarnVaultInitialized',
|
|
6789
|
+
inputs: [
|
|
6790
|
+
{ name: 'engine', type: 'address', indexed: true },
|
|
6791
|
+
{ name: 'earnShare', type: 'address', indexed: true },
|
|
6792
|
+
{ name: 'earnFees', type: 'address', indexed: true },
|
|
6793
|
+
{ name: 'operator', type: 'address', indexed: false },
|
|
6794
|
+
{ name: 'emergencyGuardian', type: 'address', indexed: false },
|
|
6795
|
+
{ name: 'asyncJanitor', type: 'address', indexed: false },
|
|
6796
|
+
{ name: 'maxManagedAssets', type: 'uint256', indexed: false },
|
|
6797
|
+
{ name: 'migrationMode', type: 'uint8', indexed: false },
|
|
6798
|
+
{ name: 'distributor', type: 'address', indexed: false },
|
|
6799
|
+
{ name: 'distributorUpdateDelay', type: 'uint40', indexed: false },
|
|
6800
|
+
{ name: 'distributorFeeRecipient', type: 'address', indexed: false },
|
|
6801
|
+
{ name: 'distributorFeeRateBps', type: 'uint16', indexed: false },
|
|
6802
|
+
],
|
|
6803
|
+
anonymous: false,
|
|
6804
|
+
},
|
|
6559
6805
|
{
|
|
6560
6806
|
type: 'event',
|
|
6561
6807
|
name: 'EmergencyRolesChanged',
|
|
@@ -6580,6 +6826,18 @@ export const earnVault = [
|
|
|
6580
6826
|
],
|
|
6581
6827
|
anonymous: false,
|
|
6582
6828
|
},
|
|
6829
|
+
{
|
|
6830
|
+
type: 'event',
|
|
6831
|
+
name: 'EngineShareShortfallReconciled',
|
|
6832
|
+
inputs: [
|
|
6833
|
+
{ name: 'engine', type: 'address', indexed: true },
|
|
6834
|
+
{ name: 'previousManagedEngineShares', type: 'uint256', indexed: false },
|
|
6835
|
+
{ name: 'observedRawEngineShares', type: 'uint256', indexed: false },
|
|
6836
|
+
{ name: 'shortfallEngineShares', type: 'uint256', indexed: false },
|
|
6837
|
+
{ name: 'totalEarnShares', type: 'uint256', indexed: false },
|
|
6838
|
+
],
|
|
6839
|
+
anonymous: false,
|
|
6840
|
+
},
|
|
6583
6841
|
{
|
|
6584
6842
|
type: 'event',
|
|
6585
6843
|
name: 'EngineShareSurplusAbsorbed',
|
|
@@ -6600,6 +6858,33 @@ export const earnVault = [
|
|
|
6600
6858
|
],
|
|
6601
6859
|
anonymous: false,
|
|
6602
6860
|
},
|
|
6861
|
+
{
|
|
6862
|
+
type: 'event',
|
|
6863
|
+
name: 'OperatorTransferCancelled',
|
|
6864
|
+
inputs: [
|
|
6865
|
+
{ name: 'operator', type: 'address', indexed: true },
|
|
6866
|
+
{ name: 'pendingOperator', type: 'address', indexed: true },
|
|
6867
|
+
],
|
|
6868
|
+
anonymous: false,
|
|
6869
|
+
},
|
|
6870
|
+
{
|
|
6871
|
+
type: 'event',
|
|
6872
|
+
name: 'OperatorTransferStarted',
|
|
6873
|
+
inputs: [
|
|
6874
|
+
{ name: 'operator', type: 'address', indexed: true },
|
|
6875
|
+
{ name: 'pendingOperator', type: 'address', indexed: true },
|
|
6876
|
+
],
|
|
6877
|
+
anonymous: false,
|
|
6878
|
+
},
|
|
6879
|
+
{
|
|
6880
|
+
type: 'event',
|
|
6881
|
+
name: 'OperatorTransferred',
|
|
6882
|
+
inputs: [
|
|
6883
|
+
{ name: 'previousOperator', type: 'address', indexed: true },
|
|
6884
|
+
{ name: 'newOperator', type: 'address', indexed: true },
|
|
6885
|
+
],
|
|
6886
|
+
anonymous: false,
|
|
6887
|
+
},
|
|
6603
6888
|
{
|
|
6604
6889
|
type: 'event',
|
|
6605
6890
|
name: 'RedeemCancelled',
|
|
@@ -6766,8 +7051,10 @@ export const earnVault = [
|
|
|
6766
7051
|
{ type: 'error', name: 'NotEngine', inputs: [] },
|
|
6767
7052
|
{ type: 'error', name: 'NotOperator', inputs: [] },
|
|
6768
7053
|
{ type: 'error', name: 'NotPendingDistributor', inputs: [] },
|
|
7054
|
+
{ type: 'error', name: 'NotPendingOperator', inputs: [] },
|
|
6769
7055
|
{ type: 'error', name: 'NotRequesterOrJanitor', inputs: [] },
|
|
6770
7056
|
{ type: 'error', name: 'OperatorMigrationDisabled', inputs: [] },
|
|
7057
|
+
{ type: 'error', name: 'OperatorTransferNotPending', inputs: [] },
|
|
6771
7058
|
{ type: 'error', name: 'PendingRedeemsOpen', inputs: [] },
|
|
6772
7059
|
{ type: 'error', name: 'ReentrantCall', inputs: [] },
|
|
6773
7060
|
{
|
|
@@ -7707,6 +7994,18 @@ export const vedaEngine = [
|
|
|
7707
7994
|
],
|
|
7708
7995
|
anonymous: false,
|
|
7709
7996
|
},
|
|
7997
|
+
{
|
|
7998
|
+
type: 'event',
|
|
7999
|
+
name: 'VedaEngineInitialized',
|
|
8000
|
+
inputs: [
|
|
8001
|
+
{ name: 'teller', type: 'address', indexed: true },
|
|
8002
|
+
{ name: 'queue', type: 'address', indexed: true },
|
|
8003
|
+
{ name: 'accountant', type: 'address', indexed: true },
|
|
8004
|
+
{ name: 'peripheryVersion', type: 'uint64', indexed: false },
|
|
8005
|
+
{ name: 'maxRateAge', type: 'uint64', indexed: false },
|
|
8006
|
+
],
|
|
8007
|
+
anonymous: false,
|
|
8008
|
+
},
|
|
7710
8009
|
{
|
|
7711
8010
|
type: 'event',
|
|
7712
8011
|
name: 'VedaPeripheryUpdated',
|
|
@@ -7859,6 +8158,14 @@ export const vedaEngine = [
|
|
|
7859
8158
|
inputs: [{ name: 'queue', type: 'address' }],
|
|
7860
8159
|
},
|
|
7861
8160
|
{ type: 'error', name: 'QueueUnavailable', inputs: [] },
|
|
8161
|
+
{
|
|
8162
|
+
type: 'error',
|
|
8163
|
+
name: 'QueuedAssetsBelowMinimum',
|
|
8164
|
+
inputs: [
|
|
8165
|
+
{ name: 'minimumAssets', type: 'uint256' },
|
|
8166
|
+
{ name: 'actualAssets', type: 'uint256' },
|
|
8167
|
+
],
|
|
8168
|
+
},
|
|
7862
8169
|
{
|
|
7863
8170
|
type: 'error',
|
|
7864
8171
|
name: 'RateChangedWithinTransaction',
|
|
@@ -7943,6 +8250,7 @@ export const vedaEngine = [
|
|
|
7943
8250
|
],
|
|
7944
8251
|
},
|
|
7945
8252
|
{ type: 'error', name: 'ZeroAddress', inputs: [] },
|
|
8253
|
+
{ type: 'error', name: 'ZeroMinimumQueuedAssets', inputs: [] },
|
|
7946
8254
|
];
|
|
7947
8255
|
// `SingleZoneEarnRouter.CallbackData` parameter for `encodeAbiParameters`.
|
|
7948
8256
|
export const earnRouterCallbackData = [
|
|
@@ -7977,7 +8285,7 @@ export const earnRouterCallbackData = [
|
|
|
7977
8285
|
type: 'tuple',
|
|
7978
8286
|
},
|
|
7979
8287
|
];
|
|
7980
|
-
// Source: tempoxyz/zones@
|
|
8288
|
+
// Source: tempoxyz/zones@421d77a9e5a12cd3fbb2ed10da1010f31b75f012
|
|
7981
8289
|
export const zoneOutbox = [
|
|
7982
8290
|
{
|
|
7983
8291
|
name: 'tempoGasRate',
|
|
@@ -8250,40 +8558,909 @@ export const zoneMessenger = [
|
|
|
8250
8558
|
outputs: [],
|
|
8251
8559
|
},
|
|
8252
8560
|
];
|
|
8253
|
-
|
|
8561
|
+
// Source: tempoxyz/propAMM@bff7c1fa50cf72e2896a078abae4e164c36caa93
|
|
8562
|
+
export const directPropAmm = [
|
|
8254
8563
|
{
|
|
8255
|
-
|
|
8256
|
-
type: 'function',
|
|
8257
|
-
stateMutability: 'view',
|
|
8564
|
+
type: 'constructor',
|
|
8258
8565
|
inputs: [
|
|
8259
|
-
{ type: '
|
|
8260
|
-
{ type: '
|
|
8261
|
-
{ type: 'uint64', name: 'anchorBlockNumber' },
|
|
8262
|
-
{ type: 'bytes32', name: 'anchorBlockHash' },
|
|
8263
|
-
{ type: 'uint64', name: 'expectedWithdrawalBatchIndex' },
|
|
8566
|
+
{ name: 'baseToken_', type: 'address', internalType: 'contract ITIP20' },
|
|
8567
|
+
{ name: 'quoteToken_', type: 'address', internalType: 'contract ITIP20' },
|
|
8264
8568
|
{
|
|
8265
|
-
|
|
8266
|
-
|
|
8267
|
-
|
|
8268
|
-
{ type: 'bytes32', name: 'prevBlockHash' },
|
|
8269
|
-
{ type: 'bytes32', name: 'nextBlockHash' },
|
|
8270
|
-
],
|
|
8569
|
+
name: 'oracle_',
|
|
8570
|
+
type: 'address',
|
|
8571
|
+
internalType: 'contract IPriceOracle',
|
|
8271
8572
|
},
|
|
8272
8573
|
{
|
|
8273
|
-
|
|
8274
|
-
|
|
8275
|
-
|
|
8276
|
-
|
|
8277
|
-
|
|
8278
|
-
|
|
8279
|
-
|
|
8280
|
-
|
|
8574
|
+
name: 'addressRegistry_',
|
|
8575
|
+
type: 'address',
|
|
8576
|
+
internalType: 'contract IAddressRegistry',
|
|
8577
|
+
},
|
|
8578
|
+
{ name: 'owner_', type: 'address', internalType: 'address' },
|
|
8579
|
+
{ name: 'guardian_', type: 'address', internalType: 'address' },
|
|
8580
|
+
{ name: 'maxOracleAge_', type: 'uint256', internalType: 'uint256' },
|
|
8581
|
+
{
|
|
8582
|
+
name: 'maxPriceDeviationBps_',
|
|
8583
|
+
type: 'uint256',
|
|
8584
|
+
internalType: 'uint256',
|
|
8585
|
+
},
|
|
8586
|
+
],
|
|
8587
|
+
stateMutability: 'nonpayable',
|
|
8588
|
+
},
|
|
8589
|
+
{
|
|
8590
|
+
type: 'function',
|
|
8591
|
+
name: 'BPS',
|
|
8592
|
+
inputs: [],
|
|
8593
|
+
outputs: [{ name: '', type: 'uint256', internalType: 'uint256' }],
|
|
8594
|
+
stateMutability: 'view',
|
|
8595
|
+
},
|
|
8596
|
+
{
|
|
8597
|
+
type: 'function',
|
|
8598
|
+
name: 'acceptOwnership',
|
|
8599
|
+
inputs: [],
|
|
8600
|
+
outputs: [],
|
|
8601
|
+
stateMutability: 'nonpayable',
|
|
8602
|
+
},
|
|
8603
|
+
{
|
|
8604
|
+
type: 'function',
|
|
8605
|
+
name: 'addressRegistry',
|
|
8606
|
+
inputs: [],
|
|
8607
|
+
outputs: [
|
|
8608
|
+
{ name: '', type: 'address', internalType: 'contract IAddressRegistry' },
|
|
8609
|
+
],
|
|
8610
|
+
stateMutability: 'view',
|
|
8611
|
+
},
|
|
8612
|
+
{
|
|
8613
|
+
type: 'function',
|
|
8614
|
+
name: 'baseDecimals',
|
|
8615
|
+
inputs: [],
|
|
8616
|
+
outputs: [{ name: '', type: 'uint8', internalType: 'uint8' }],
|
|
8617
|
+
stateMutability: 'view',
|
|
8618
|
+
},
|
|
8619
|
+
{
|
|
8620
|
+
type: 'function',
|
|
8621
|
+
name: 'baseToQuotePriceAnchor',
|
|
8622
|
+
inputs: [],
|
|
8623
|
+
outputs: [{ name: '', type: 'uint256', internalType: 'uint256' }],
|
|
8624
|
+
stateMutability: 'view',
|
|
8625
|
+
},
|
|
8626
|
+
{
|
|
8627
|
+
type: 'function',
|
|
8628
|
+
name: 'baseToken',
|
|
8629
|
+
inputs: [],
|
|
8630
|
+
outputs: [{ name: '', type: 'address', internalType: 'contract ITIP20' }],
|
|
8631
|
+
stateMutability: 'view',
|
|
8632
|
+
},
|
|
8633
|
+
{
|
|
8634
|
+
type: 'function',
|
|
8635
|
+
name: 'fund',
|
|
8636
|
+
inputs: [
|
|
8637
|
+
{ name: 'token', type: 'address', internalType: 'address' },
|
|
8638
|
+
{ name: 'amount', type: 'uint256', internalType: 'uint256' },
|
|
8639
|
+
{ name: 'memo', type: 'bytes32', internalType: 'bytes32' },
|
|
8640
|
+
],
|
|
8641
|
+
outputs: [],
|
|
8642
|
+
stateMutability: 'nonpayable',
|
|
8643
|
+
},
|
|
8644
|
+
{
|
|
8645
|
+
type: 'function',
|
|
8646
|
+
name: 'guardian',
|
|
8647
|
+
inputs: [],
|
|
8648
|
+
outputs: [{ name: '', type: 'address', internalType: 'address' }],
|
|
8649
|
+
stateMutability: 'view',
|
|
8650
|
+
},
|
|
8651
|
+
{
|
|
8652
|
+
type: 'function',
|
|
8653
|
+
name: 'maxOracleAge',
|
|
8654
|
+
inputs: [],
|
|
8655
|
+
outputs: [{ name: '', type: 'uint80', internalType: 'uint80' }],
|
|
8656
|
+
stateMutability: 'view',
|
|
8657
|
+
},
|
|
8658
|
+
{
|
|
8659
|
+
type: 'function',
|
|
8660
|
+
name: 'maxPriceDeviationBps',
|
|
8661
|
+
inputs: [],
|
|
8662
|
+
outputs: [{ name: '', type: 'uint16', internalType: 'uint16' }],
|
|
8663
|
+
stateMutability: 'view',
|
|
8664
|
+
},
|
|
8665
|
+
{
|
|
8666
|
+
type: 'function',
|
|
8667
|
+
name: 'oracle',
|
|
8668
|
+
inputs: [],
|
|
8669
|
+
outputs: [
|
|
8670
|
+
{ name: '', type: 'address', internalType: 'contract IPriceOracle' },
|
|
8671
|
+
],
|
|
8672
|
+
stateMutability: 'view',
|
|
8673
|
+
},
|
|
8674
|
+
{
|
|
8675
|
+
type: 'function',
|
|
8676
|
+
name: 'oracleDecimals',
|
|
8677
|
+
inputs: [],
|
|
8678
|
+
outputs: [{ name: '', type: 'uint8', internalType: 'uint8' }],
|
|
8679
|
+
stateMutability: 'view',
|
|
8680
|
+
},
|
|
8681
|
+
{
|
|
8682
|
+
type: 'function',
|
|
8683
|
+
name: 'owner',
|
|
8684
|
+
inputs: [],
|
|
8685
|
+
outputs: [{ name: '', type: 'address', internalType: 'address' }],
|
|
8686
|
+
stateMutability: 'view',
|
|
8687
|
+
},
|
|
8688
|
+
{
|
|
8689
|
+
type: 'function',
|
|
8690
|
+
name: 'pause',
|
|
8691
|
+
inputs: [],
|
|
8692
|
+
outputs: [],
|
|
8693
|
+
stateMutability: 'nonpayable',
|
|
8694
|
+
},
|
|
8695
|
+
{
|
|
8696
|
+
type: 'function',
|
|
8697
|
+
name: 'paused',
|
|
8698
|
+
inputs: [],
|
|
8699
|
+
outputs: [{ name: '', type: 'bool', internalType: 'bool' }],
|
|
8700
|
+
stateMutability: 'view',
|
|
8701
|
+
},
|
|
8702
|
+
{
|
|
8703
|
+
type: 'function',
|
|
8704
|
+
name: 'pendingOwner',
|
|
8705
|
+
inputs: [],
|
|
8706
|
+
outputs: [{ name: '', type: 'address', internalType: 'address' }],
|
|
8707
|
+
stateMutability: 'view',
|
|
8708
|
+
},
|
|
8709
|
+
{
|
|
8710
|
+
type: 'function',
|
|
8711
|
+
name: 'priceAnchor',
|
|
8712
|
+
inputs: [{ name: 'baseToQuote', type: 'bool', internalType: 'bool' }],
|
|
8713
|
+
outputs: [{ name: '', type: 'uint256', internalType: 'uint256' }],
|
|
8714
|
+
stateMutability: 'view',
|
|
8715
|
+
},
|
|
8716
|
+
{
|
|
8717
|
+
type: 'function',
|
|
8718
|
+
name: 'priceScale',
|
|
8719
|
+
inputs: [],
|
|
8720
|
+
outputs: [{ name: '', type: 'uint256', internalType: 'uint256' }],
|
|
8721
|
+
stateMutability: 'view',
|
|
8722
|
+
},
|
|
8723
|
+
{
|
|
8724
|
+
type: 'function',
|
|
8725
|
+
name: 'quoteDecimals',
|
|
8726
|
+
inputs: [],
|
|
8727
|
+
outputs: [{ name: '', type: 'uint8', internalType: 'uint8' }],
|
|
8728
|
+
stateMutability: 'view',
|
|
8729
|
+
},
|
|
8730
|
+
{
|
|
8731
|
+
type: 'function',
|
|
8732
|
+
name: 'quoteExactInput',
|
|
8733
|
+
inputs: [
|
|
8734
|
+
{ name: 'baseToQuote', type: 'bool', internalType: 'bool' },
|
|
8735
|
+
{ name: 'amountIn', type: 'uint256', internalType: 'uint256' },
|
|
8736
|
+
],
|
|
8737
|
+
outputs: [
|
|
8738
|
+
{ name: 'amountOut', type: 'uint256', internalType: 'uint256' },
|
|
8739
|
+
{ name: 'price', type: 'uint256', internalType: 'uint256' },
|
|
8740
|
+
{ name: 'updatedAt', type: 'uint256', internalType: 'uint256' },
|
|
8741
|
+
],
|
|
8742
|
+
stateMutability: 'view',
|
|
8743
|
+
},
|
|
8744
|
+
{
|
|
8745
|
+
type: 'function',
|
|
8746
|
+
name: 'quoteExactInputFor',
|
|
8747
|
+
inputs: [
|
|
8748
|
+
{ name: 'taker', type: 'address', internalType: 'address' },
|
|
8749
|
+
{ name: 'recipient', type: 'address', internalType: 'address' },
|
|
8750
|
+
{ name: 'customerId', type: 'bytes32', internalType: 'bytes32' },
|
|
8751
|
+
{ name: 'baseToQuote', type: 'bool', internalType: 'bool' },
|
|
8752
|
+
{ name: 'amountIn', type: 'uint256', internalType: 'uint256' },
|
|
8753
|
+
],
|
|
8754
|
+
outputs: [
|
|
8755
|
+
{ name: 'amountOut', type: 'uint256', internalType: 'uint256' },
|
|
8756
|
+
{ name: 'price', type: 'uint256', internalType: 'uint256' },
|
|
8757
|
+
{ name: 'updatedAt', type: 'uint256', internalType: 'uint256' },
|
|
8758
|
+
{ name: 'creditAfter', type: 'uint256', internalType: 'uint256' },
|
|
8759
|
+
],
|
|
8760
|
+
stateMutability: 'view',
|
|
8761
|
+
},
|
|
8762
|
+
{
|
|
8763
|
+
type: 'function',
|
|
8764
|
+
name: 'quoteExactOutput',
|
|
8765
|
+
inputs: [
|
|
8766
|
+
{ name: 'baseToQuote', type: 'bool', internalType: 'bool' },
|
|
8767
|
+
{ name: 'amountOut', type: 'uint256', internalType: 'uint256' },
|
|
8768
|
+
],
|
|
8769
|
+
outputs: [
|
|
8770
|
+
{ name: 'amountIn', type: 'uint256', internalType: 'uint256' },
|
|
8771
|
+
{ name: 'price', type: 'uint256', internalType: 'uint256' },
|
|
8772
|
+
{ name: 'updatedAt', type: 'uint256', internalType: 'uint256' },
|
|
8773
|
+
],
|
|
8774
|
+
stateMutability: 'view',
|
|
8775
|
+
},
|
|
8776
|
+
{
|
|
8777
|
+
type: 'function',
|
|
8778
|
+
name: 'quoteExactOutputFor',
|
|
8779
|
+
inputs: [
|
|
8780
|
+
{ name: 'taker', type: 'address', internalType: 'address' },
|
|
8781
|
+
{ name: 'recipient', type: 'address', internalType: 'address' },
|
|
8782
|
+
{ name: 'customerId', type: 'bytes32', internalType: 'bytes32' },
|
|
8783
|
+
{ name: 'baseToQuote', type: 'bool', internalType: 'bool' },
|
|
8784
|
+
{ name: 'amountOut', type: 'uint256', internalType: 'uint256' },
|
|
8785
|
+
],
|
|
8786
|
+
outputs: [
|
|
8787
|
+
{ name: 'amountIn', type: 'uint256', internalType: 'uint256' },
|
|
8788
|
+
{ name: 'price', type: 'uint256', internalType: 'uint256' },
|
|
8789
|
+
{ name: 'updatedAt', type: 'uint256', internalType: 'uint256' },
|
|
8790
|
+
{ name: 'creditAfter', type: 'uint256', internalType: 'uint256' },
|
|
8791
|
+
],
|
|
8792
|
+
stateMutability: 'view',
|
|
8793
|
+
},
|
|
8794
|
+
{
|
|
8795
|
+
type: 'function',
|
|
8796
|
+
name: 'quoteToBasePriceAnchor',
|
|
8797
|
+
inputs: [],
|
|
8798
|
+
outputs: [{ name: '', type: 'uint256', internalType: 'uint256' }],
|
|
8799
|
+
stateMutability: 'view',
|
|
8800
|
+
},
|
|
8801
|
+
{
|
|
8802
|
+
type: 'function',
|
|
8803
|
+
name: 'quoteToken',
|
|
8804
|
+
inputs: [],
|
|
8805
|
+
outputs: [{ name: '', type: 'address', internalType: 'contract ITIP20' }],
|
|
8806
|
+
stateMutability: 'view',
|
|
8807
|
+
},
|
|
8808
|
+
{
|
|
8809
|
+
type: 'function',
|
|
8810
|
+
name: 'recipientAllowed',
|
|
8811
|
+
inputs: [{ name: 'recipient', type: 'address', internalType: 'address' }],
|
|
8812
|
+
outputs: [{ name: 'allowed', type: 'bool', internalType: 'bool' }],
|
|
8813
|
+
stateMutability: 'view',
|
|
8814
|
+
},
|
|
8815
|
+
{
|
|
8816
|
+
type: 'function',
|
|
8817
|
+
name: 'resetPriceAnchor',
|
|
8818
|
+
inputs: [{ name: 'baseToQuote', type: 'bool', internalType: 'bool' }],
|
|
8819
|
+
outputs: [],
|
|
8820
|
+
stateMutability: 'nonpayable',
|
|
8821
|
+
},
|
|
8822
|
+
{
|
|
8823
|
+
type: 'function',
|
|
8824
|
+
name: 'resolveRecipient',
|
|
8825
|
+
inputs: [{ name: 'recipient', type: 'address', internalType: 'address' }],
|
|
8826
|
+
outputs: [{ name: 'resolved', type: 'address', internalType: 'address' }],
|
|
8827
|
+
stateMutability: 'view',
|
|
8828
|
+
},
|
|
8829
|
+
{
|
|
8830
|
+
type: 'function',
|
|
8831
|
+
name: 'roundingCredit',
|
|
8832
|
+
inputs: [{ name: 'routeKey', type: 'bytes32', internalType: 'bytes32' }],
|
|
8833
|
+
outputs: [{ name: 'credit', type: 'uint256', internalType: 'uint256' }],
|
|
8834
|
+
stateMutability: 'view',
|
|
8835
|
+
},
|
|
8836
|
+
{
|
|
8837
|
+
type: 'function',
|
|
8838
|
+
name: 'roundingRouteKey',
|
|
8839
|
+
inputs: [
|
|
8840
|
+
{ name: 'taker', type: 'address', internalType: 'address' },
|
|
8841
|
+
{ name: 'recipient', type: 'address', internalType: 'address' },
|
|
8842
|
+
{ name: 'customerId', type: 'bytes32', internalType: 'bytes32' },
|
|
8843
|
+
],
|
|
8844
|
+
outputs: [{ name: '', type: 'bytes32', internalType: 'bytes32' }],
|
|
8845
|
+
stateMutability: 'view',
|
|
8846
|
+
},
|
|
8847
|
+
{
|
|
8848
|
+
type: 'function',
|
|
8849
|
+
name: 'setGuardian',
|
|
8850
|
+
inputs: [{ name: 'newGuardian', type: 'address', internalType: 'address' }],
|
|
8851
|
+
outputs: [],
|
|
8852
|
+
stateMutability: 'nonpayable',
|
|
8853
|
+
},
|
|
8854
|
+
{
|
|
8855
|
+
type: 'function',
|
|
8856
|
+
name: 'setMaxOracleAge',
|
|
8857
|
+
inputs: [
|
|
8858
|
+
{ name: 'newMaxOracleAge', type: 'uint256', internalType: 'uint256' },
|
|
8859
|
+
],
|
|
8860
|
+
outputs: [],
|
|
8861
|
+
stateMutability: 'nonpayable',
|
|
8862
|
+
},
|
|
8863
|
+
{
|
|
8864
|
+
type: 'function',
|
|
8865
|
+
name: 'setMaxPriceDeviationBps',
|
|
8866
|
+
inputs: [
|
|
8867
|
+
{
|
|
8868
|
+
name: 'newMaxPriceDeviationBps',
|
|
8869
|
+
type: 'uint256',
|
|
8870
|
+
internalType: 'uint256',
|
|
8871
|
+
},
|
|
8872
|
+
],
|
|
8873
|
+
outputs: [],
|
|
8874
|
+
stateMutability: 'nonpayable',
|
|
8875
|
+
},
|
|
8876
|
+
{
|
|
8877
|
+
type: 'function',
|
|
8878
|
+
name: 'setOracle',
|
|
8879
|
+
inputs: [
|
|
8880
|
+
{
|
|
8881
|
+
name: 'newOracle',
|
|
8882
|
+
type: 'address',
|
|
8883
|
+
internalType: 'contract IPriceOracle',
|
|
8884
|
+
},
|
|
8885
|
+
],
|
|
8886
|
+
outputs: [],
|
|
8887
|
+
stateMutability: 'nonpayable',
|
|
8888
|
+
},
|
|
8889
|
+
{
|
|
8890
|
+
type: 'function',
|
|
8891
|
+
name: 'setRecipientAllowed',
|
|
8892
|
+
inputs: [
|
|
8893
|
+
{ name: 'recipient', type: 'address', internalType: 'address' },
|
|
8894
|
+
{ name: 'allowed', type: 'bool', internalType: 'bool' },
|
|
8895
|
+
],
|
|
8896
|
+
outputs: [],
|
|
8897
|
+
stateMutability: 'nonpayable',
|
|
8898
|
+
},
|
|
8899
|
+
{
|
|
8900
|
+
type: 'function',
|
|
8901
|
+
name: 'setTakerAllowed',
|
|
8902
|
+
inputs: [
|
|
8903
|
+
{ name: 'taker', type: 'address', internalType: 'address' },
|
|
8904
|
+
{ name: 'allowed', type: 'bool', internalType: 'bool' },
|
|
8905
|
+
],
|
|
8906
|
+
outputs: [],
|
|
8907
|
+
stateMutability: 'nonpayable',
|
|
8908
|
+
},
|
|
8909
|
+
{
|
|
8910
|
+
type: 'function',
|
|
8911
|
+
name: 'swapExactInput',
|
|
8912
|
+
inputs: [
|
|
8913
|
+
{ name: 'baseToQuote', type: 'bool', internalType: 'bool' },
|
|
8914
|
+
{ name: 'amountIn', type: 'uint256', internalType: 'uint256' },
|
|
8915
|
+
{ name: 'minAmountOut', type: 'uint256', internalType: 'uint256' },
|
|
8916
|
+
{ name: 'recipient', type: 'address', internalType: 'address' },
|
|
8917
|
+
{ name: 'customerId', type: 'bytes32', internalType: 'bytes32' },
|
|
8918
|
+
{ name: 'tradeId', type: 'bytes32', internalType: 'bytes32' },
|
|
8919
|
+
{ name: 'deadline', type: 'uint256', internalType: 'uint256' },
|
|
8920
|
+
{ name: 'expectedOraclePrice', type: 'uint256', internalType: 'uint256' },
|
|
8921
|
+
{
|
|
8922
|
+
name: 'oraclePriceToleranceBps',
|
|
8923
|
+
type: 'uint256',
|
|
8924
|
+
internalType: 'uint256',
|
|
8925
|
+
},
|
|
8926
|
+
{
|
|
8927
|
+
name: 'minimumOracleUpdatedAt',
|
|
8928
|
+
type: 'uint256',
|
|
8929
|
+
internalType: 'uint256',
|
|
8930
|
+
},
|
|
8931
|
+
],
|
|
8932
|
+
outputs: [{ name: 'amountOut', type: 'uint256', internalType: 'uint256' }],
|
|
8933
|
+
stateMutability: 'nonpayable',
|
|
8934
|
+
},
|
|
8935
|
+
{
|
|
8936
|
+
type: 'function',
|
|
8937
|
+
name: 'swapExactOutput',
|
|
8938
|
+
inputs: [
|
|
8939
|
+
{ name: 'baseToQuote', type: 'bool', internalType: 'bool' },
|
|
8940
|
+
{ name: 'amountOut', type: 'uint256', internalType: 'uint256' },
|
|
8941
|
+
{ name: 'maxAmountIn', type: 'uint256', internalType: 'uint256' },
|
|
8942
|
+
{ name: 'recipient', type: 'address', internalType: 'address' },
|
|
8943
|
+
{ name: 'customerId', type: 'bytes32', internalType: 'bytes32' },
|
|
8944
|
+
{ name: 'tradeId', type: 'bytes32', internalType: 'bytes32' },
|
|
8945
|
+
{ name: 'deadline', type: 'uint256', internalType: 'uint256' },
|
|
8946
|
+
{ name: 'expectedOraclePrice', type: 'uint256', internalType: 'uint256' },
|
|
8947
|
+
{
|
|
8948
|
+
name: 'oraclePriceToleranceBps',
|
|
8949
|
+
type: 'uint256',
|
|
8950
|
+
internalType: 'uint256',
|
|
8951
|
+
},
|
|
8952
|
+
{
|
|
8953
|
+
name: 'minimumOracleUpdatedAt',
|
|
8954
|
+
type: 'uint256',
|
|
8955
|
+
internalType: 'uint256',
|
|
8956
|
+
},
|
|
8957
|
+
],
|
|
8958
|
+
outputs: [{ name: 'amountIn', type: 'uint256', internalType: 'uint256' }],
|
|
8959
|
+
stateMutability: 'nonpayable',
|
|
8960
|
+
},
|
|
8961
|
+
{
|
|
8962
|
+
type: 'function',
|
|
8963
|
+
name: 'takerAllowed',
|
|
8964
|
+
inputs: [{ name: 'taker', type: 'address', internalType: 'address' }],
|
|
8965
|
+
outputs: [{ name: 'allowed', type: 'bool', internalType: 'bool' }],
|
|
8966
|
+
stateMutability: 'view',
|
|
8967
|
+
},
|
|
8968
|
+
{
|
|
8969
|
+
type: 'function',
|
|
8970
|
+
name: 'transferOwnership',
|
|
8971
|
+
inputs: [{ name: 'newOwner', type: 'address', internalType: 'address' }],
|
|
8972
|
+
outputs: [],
|
|
8973
|
+
stateMutability: 'nonpayable',
|
|
8974
|
+
},
|
|
8975
|
+
{
|
|
8976
|
+
type: 'function',
|
|
8977
|
+
name: 'unpause',
|
|
8978
|
+
inputs: [],
|
|
8979
|
+
outputs: [],
|
|
8980
|
+
stateMutability: 'nonpayable',
|
|
8981
|
+
},
|
|
8982
|
+
{
|
|
8983
|
+
type: 'function',
|
|
8984
|
+
name: 'withdraw',
|
|
8985
|
+
inputs: [
|
|
8986
|
+
{ name: 'token', type: 'address', internalType: 'address' },
|
|
8987
|
+
{ name: 'recipient', type: 'address', internalType: 'address' },
|
|
8988
|
+
{ name: 'amount', type: 'uint256', internalType: 'uint256' },
|
|
8989
|
+
{ name: 'memo', type: 'bytes32', internalType: 'bytes32' },
|
|
8990
|
+
],
|
|
8991
|
+
outputs: [],
|
|
8992
|
+
stateMutability: 'nonpayable',
|
|
8993
|
+
},
|
|
8994
|
+
{
|
|
8995
|
+
type: 'event',
|
|
8996
|
+
name: 'Funded',
|
|
8997
|
+
inputs: [
|
|
8998
|
+
{
|
|
8999
|
+
name: 'token',
|
|
9000
|
+
type: 'address',
|
|
9001
|
+
indexed: true,
|
|
9002
|
+
internalType: 'address',
|
|
8281
9003
|
},
|
|
8282
|
-
{
|
|
8283
|
-
|
|
8284
|
-
|
|
9004
|
+
{
|
|
9005
|
+
name: 'amount',
|
|
9006
|
+
type: 'uint256',
|
|
9007
|
+
indexed: false,
|
|
9008
|
+
internalType: 'uint256',
|
|
9009
|
+
},
|
|
9010
|
+
{ name: 'memo', type: 'bytes32', indexed: true, internalType: 'bytes32' },
|
|
8285
9011
|
],
|
|
8286
|
-
|
|
9012
|
+
anonymous: false,
|
|
9013
|
+
},
|
|
9014
|
+
{
|
|
9015
|
+
type: 'event',
|
|
9016
|
+
name: 'GuardianUpdated',
|
|
9017
|
+
inputs: [
|
|
9018
|
+
{
|
|
9019
|
+
name: 'oldGuardian',
|
|
9020
|
+
type: 'address',
|
|
9021
|
+
indexed: true,
|
|
9022
|
+
internalType: 'address',
|
|
9023
|
+
},
|
|
9024
|
+
{
|
|
9025
|
+
name: 'newGuardian',
|
|
9026
|
+
type: 'address',
|
|
9027
|
+
indexed: true,
|
|
9028
|
+
internalType: 'address',
|
|
9029
|
+
},
|
|
9030
|
+
],
|
|
9031
|
+
anonymous: false,
|
|
9032
|
+
},
|
|
9033
|
+
{
|
|
9034
|
+
type: 'event',
|
|
9035
|
+
name: 'MaxOracleAgeUpdated',
|
|
9036
|
+
inputs: [
|
|
9037
|
+
{
|
|
9038
|
+
name: 'oldMaxAge',
|
|
9039
|
+
type: 'uint256',
|
|
9040
|
+
indexed: false,
|
|
9041
|
+
internalType: 'uint256',
|
|
9042
|
+
},
|
|
9043
|
+
{
|
|
9044
|
+
name: 'newMaxAge',
|
|
9045
|
+
type: 'uint256',
|
|
9046
|
+
indexed: false,
|
|
9047
|
+
internalType: 'uint256',
|
|
9048
|
+
},
|
|
9049
|
+
],
|
|
9050
|
+
anonymous: false,
|
|
9051
|
+
},
|
|
9052
|
+
{
|
|
9053
|
+
type: 'event',
|
|
9054
|
+
name: 'MaxPriceDeviationBpsUpdated',
|
|
9055
|
+
inputs: [
|
|
9056
|
+
{
|
|
9057
|
+
name: 'oldMaxPriceDeviationBps',
|
|
9058
|
+
type: 'uint256',
|
|
9059
|
+
indexed: false,
|
|
9060
|
+
internalType: 'uint256',
|
|
9061
|
+
},
|
|
9062
|
+
{
|
|
9063
|
+
name: 'newMaxPriceDeviationBps',
|
|
9064
|
+
type: 'uint256',
|
|
9065
|
+
indexed: false,
|
|
9066
|
+
internalType: 'uint256',
|
|
9067
|
+
},
|
|
9068
|
+
],
|
|
9069
|
+
anonymous: false,
|
|
9070
|
+
},
|
|
9071
|
+
{
|
|
9072
|
+
type: 'event',
|
|
9073
|
+
name: 'OracleUpdated',
|
|
9074
|
+
inputs: [
|
|
9075
|
+
{
|
|
9076
|
+
name: 'oldOracle',
|
|
9077
|
+
type: 'address',
|
|
9078
|
+
indexed: true,
|
|
9079
|
+
internalType: 'address',
|
|
9080
|
+
},
|
|
9081
|
+
{
|
|
9082
|
+
name: 'newOracle',
|
|
9083
|
+
type: 'address',
|
|
9084
|
+
indexed: true,
|
|
9085
|
+
internalType: 'address',
|
|
9086
|
+
},
|
|
9087
|
+
{
|
|
9088
|
+
name: 'decimals',
|
|
9089
|
+
type: 'uint8',
|
|
9090
|
+
indexed: false,
|
|
9091
|
+
internalType: 'uint8',
|
|
9092
|
+
},
|
|
9093
|
+
],
|
|
9094
|
+
anonymous: false,
|
|
9095
|
+
},
|
|
9096
|
+
{
|
|
9097
|
+
type: 'event',
|
|
9098
|
+
name: 'OwnershipTransferStarted',
|
|
9099
|
+
inputs: [
|
|
9100
|
+
{
|
|
9101
|
+
name: 'oldOwner',
|
|
9102
|
+
type: 'address',
|
|
9103
|
+
indexed: true,
|
|
9104
|
+
internalType: 'address',
|
|
9105
|
+
},
|
|
9106
|
+
{
|
|
9107
|
+
name: 'pendingOwner',
|
|
9108
|
+
type: 'address',
|
|
9109
|
+
indexed: true,
|
|
9110
|
+
internalType: 'address',
|
|
9111
|
+
},
|
|
9112
|
+
],
|
|
9113
|
+
anonymous: false,
|
|
9114
|
+
},
|
|
9115
|
+
{
|
|
9116
|
+
type: 'event',
|
|
9117
|
+
name: 'OwnershipTransferred',
|
|
9118
|
+
inputs: [
|
|
9119
|
+
{
|
|
9120
|
+
name: 'oldOwner',
|
|
9121
|
+
type: 'address',
|
|
9122
|
+
indexed: true,
|
|
9123
|
+
internalType: 'address',
|
|
9124
|
+
},
|
|
9125
|
+
{
|
|
9126
|
+
name: 'newOwner',
|
|
9127
|
+
type: 'address',
|
|
9128
|
+
indexed: true,
|
|
9129
|
+
internalType: 'address',
|
|
9130
|
+
},
|
|
9131
|
+
],
|
|
9132
|
+
anonymous: false,
|
|
9133
|
+
},
|
|
9134
|
+
{
|
|
9135
|
+
type: 'event',
|
|
9136
|
+
name: 'PausedStateChanged',
|
|
9137
|
+
inputs: [
|
|
9138
|
+
{ name: 'paused', type: 'bool', indexed: false, internalType: 'bool' },
|
|
9139
|
+
],
|
|
9140
|
+
anonymous: false,
|
|
9141
|
+
},
|
|
9142
|
+
{
|
|
9143
|
+
type: 'event',
|
|
9144
|
+
name: 'PriceAnchorUpdated',
|
|
9145
|
+
inputs: [
|
|
9146
|
+
{
|
|
9147
|
+
name: 'baseToQuote',
|
|
9148
|
+
type: 'bool',
|
|
9149
|
+
indexed: true,
|
|
9150
|
+
internalType: 'bool',
|
|
9151
|
+
},
|
|
9152
|
+
{
|
|
9153
|
+
name: 'oldAnchor',
|
|
9154
|
+
type: 'uint256',
|
|
9155
|
+
indexed: false,
|
|
9156
|
+
internalType: 'uint256',
|
|
9157
|
+
},
|
|
9158
|
+
{
|
|
9159
|
+
name: 'newAnchor',
|
|
9160
|
+
type: 'uint256',
|
|
9161
|
+
indexed: false,
|
|
9162
|
+
internalType: 'uint256',
|
|
9163
|
+
},
|
|
9164
|
+
],
|
|
9165
|
+
anonymous: false,
|
|
9166
|
+
},
|
|
9167
|
+
{
|
|
9168
|
+
type: 'event',
|
|
9169
|
+
name: 'RecipientPermissionUpdated',
|
|
9170
|
+
inputs: [
|
|
9171
|
+
{
|
|
9172
|
+
name: 'recipient',
|
|
9173
|
+
type: 'address',
|
|
9174
|
+
indexed: true,
|
|
9175
|
+
internalType: 'address',
|
|
9176
|
+
},
|
|
9177
|
+
{ name: 'allowed', type: 'bool', indexed: false, internalType: 'bool' },
|
|
9178
|
+
],
|
|
9179
|
+
anonymous: false,
|
|
9180
|
+
},
|
|
9181
|
+
{
|
|
9182
|
+
type: 'event',
|
|
9183
|
+
name: 'RoundingCreditUpdated',
|
|
9184
|
+
inputs: [
|
|
9185
|
+
{
|
|
9186
|
+
name: 'routeKey',
|
|
9187
|
+
type: 'bytes32',
|
|
9188
|
+
indexed: true,
|
|
9189
|
+
internalType: 'bytes32',
|
|
9190
|
+
},
|
|
9191
|
+
{
|
|
9192
|
+
name: 'previousCredit',
|
|
9193
|
+
type: 'uint256',
|
|
9194
|
+
indexed: false,
|
|
9195
|
+
internalType: 'uint256',
|
|
9196
|
+
},
|
|
9197
|
+
{
|
|
9198
|
+
name: 'newCredit',
|
|
9199
|
+
type: 'uint256',
|
|
9200
|
+
indexed: false,
|
|
9201
|
+
internalType: 'uint256',
|
|
9202
|
+
},
|
|
9203
|
+
],
|
|
9204
|
+
anonymous: false,
|
|
9205
|
+
},
|
|
9206
|
+
{
|
|
9207
|
+
type: 'event',
|
|
9208
|
+
name: 'TakerPermissionUpdated',
|
|
9209
|
+
inputs: [
|
|
9210
|
+
{
|
|
9211
|
+
name: 'taker',
|
|
9212
|
+
type: 'address',
|
|
9213
|
+
indexed: true,
|
|
9214
|
+
internalType: 'address',
|
|
9215
|
+
},
|
|
9216
|
+
{ name: 'allowed', type: 'bool', indexed: false, internalType: 'bool' },
|
|
9217
|
+
],
|
|
9218
|
+
anonymous: false,
|
|
9219
|
+
},
|
|
9220
|
+
{
|
|
9221
|
+
type: 'event',
|
|
9222
|
+
name: 'TradeExecuted',
|
|
9223
|
+
inputs: [
|
|
9224
|
+
{
|
|
9225
|
+
name: 'taker',
|
|
9226
|
+
type: 'address',
|
|
9227
|
+
indexed: true,
|
|
9228
|
+
internalType: 'address',
|
|
9229
|
+
},
|
|
9230
|
+
{
|
|
9231
|
+
name: 'recipient',
|
|
9232
|
+
type: 'address',
|
|
9233
|
+
indexed: true,
|
|
9234
|
+
internalType: 'address',
|
|
9235
|
+
},
|
|
9236
|
+
{
|
|
9237
|
+
name: 'customerId',
|
|
9238
|
+
type: 'bytes32',
|
|
9239
|
+
indexed: true,
|
|
9240
|
+
internalType: 'bytes32',
|
|
9241
|
+
},
|
|
9242
|
+
{
|
|
9243
|
+
name: 'tradeId',
|
|
9244
|
+
type: 'bytes32',
|
|
9245
|
+
indexed: false,
|
|
9246
|
+
internalType: 'bytes32',
|
|
9247
|
+
},
|
|
9248
|
+
{
|
|
9249
|
+
name: 'tokenIn',
|
|
9250
|
+
type: 'address',
|
|
9251
|
+
indexed: false,
|
|
9252
|
+
internalType: 'address',
|
|
9253
|
+
},
|
|
9254
|
+
{
|
|
9255
|
+
name: 'tokenOut',
|
|
9256
|
+
type: 'address',
|
|
9257
|
+
indexed: false,
|
|
9258
|
+
internalType: 'address',
|
|
9259
|
+
},
|
|
9260
|
+
{
|
|
9261
|
+
name: 'amountIn',
|
|
9262
|
+
type: 'uint256',
|
|
9263
|
+
indexed: false,
|
|
9264
|
+
internalType: 'uint256',
|
|
9265
|
+
},
|
|
9266
|
+
{
|
|
9267
|
+
name: 'amountOut',
|
|
9268
|
+
type: 'uint256',
|
|
9269
|
+
indexed: false,
|
|
9270
|
+
internalType: 'uint256',
|
|
9271
|
+
},
|
|
9272
|
+
{
|
|
9273
|
+
name: 'oraclePrice',
|
|
9274
|
+
type: 'uint256',
|
|
9275
|
+
indexed: false,
|
|
9276
|
+
internalType: 'uint256',
|
|
9277
|
+
},
|
|
9278
|
+
{
|
|
9279
|
+
name: 'oracleUpdatedAt',
|
|
9280
|
+
type: 'uint256',
|
|
9281
|
+
indexed: false,
|
|
9282
|
+
internalType: 'uint256',
|
|
9283
|
+
},
|
|
9284
|
+
],
|
|
9285
|
+
anonymous: false,
|
|
9286
|
+
},
|
|
9287
|
+
{
|
|
9288
|
+
type: 'event',
|
|
9289
|
+
name: 'Withdrawn',
|
|
9290
|
+
inputs: [
|
|
9291
|
+
{
|
|
9292
|
+
name: 'token',
|
|
9293
|
+
type: 'address',
|
|
9294
|
+
indexed: true,
|
|
9295
|
+
internalType: 'address',
|
|
9296
|
+
},
|
|
9297
|
+
{
|
|
9298
|
+
name: 'recipient',
|
|
9299
|
+
type: 'address',
|
|
9300
|
+
indexed: true,
|
|
9301
|
+
internalType: 'address',
|
|
9302
|
+
},
|
|
9303
|
+
{
|
|
9304
|
+
name: 'amount',
|
|
9305
|
+
type: 'uint256',
|
|
9306
|
+
indexed: false,
|
|
9307
|
+
internalType: 'uint256',
|
|
9308
|
+
},
|
|
9309
|
+
{
|
|
9310
|
+
name: 'memo',
|
|
9311
|
+
type: 'bytes32',
|
|
9312
|
+
indexed: false,
|
|
9313
|
+
internalType: 'bytes32',
|
|
9314
|
+
},
|
|
9315
|
+
],
|
|
9316
|
+
anonymous: false,
|
|
9317
|
+
},
|
|
9318
|
+
{ type: 'error', name: 'AmountIsZero', inputs: [] },
|
|
9319
|
+
{ type: 'error', name: 'CustomerIdIsZero', inputs: [] },
|
|
9320
|
+
{
|
|
9321
|
+
type: 'error',
|
|
9322
|
+
name: 'DeadlineExpired',
|
|
9323
|
+
inputs: [
|
|
9324
|
+
{ name: 'deadline', type: 'uint256', internalType: 'uint256' },
|
|
9325
|
+
{ name: 'currentTimestamp', type: 'uint256', internalType: 'uint256' },
|
|
9326
|
+
],
|
|
9327
|
+
},
|
|
9328
|
+
{
|
|
9329
|
+
type: 'error',
|
|
9330
|
+
name: 'ExactBalanceDeltaFailed',
|
|
9331
|
+
inputs: [
|
|
9332
|
+
{ name: 'token', type: 'address', internalType: 'address' },
|
|
9333
|
+
{ name: 'expected', type: 'uint256', internalType: 'uint256' },
|
|
9334
|
+
{ name: 'actual', type: 'uint256', internalType: 'uint256' },
|
|
9335
|
+
],
|
|
9336
|
+
},
|
|
9337
|
+
{
|
|
9338
|
+
type: 'error',
|
|
9339
|
+
name: 'FutureOracleTimestamp',
|
|
9340
|
+
inputs: [
|
|
9341
|
+
{ name: 'updatedAt', type: 'uint256', internalType: 'uint256' },
|
|
9342
|
+
{ name: 'currentTime', type: 'uint256', internalType: 'uint256' },
|
|
9343
|
+
],
|
|
9344
|
+
},
|
|
9345
|
+
{
|
|
9346
|
+
type: 'error',
|
|
9347
|
+
name: 'InsufficientInventory',
|
|
9348
|
+
inputs: [
|
|
9349
|
+
{ name: 'token', type: 'address', internalType: 'address' },
|
|
9350
|
+
{ name: 'available', type: 'uint256', internalType: 'uint256' },
|
|
9351
|
+
{ name: 'required', type: 'uint256', internalType: 'uint256' },
|
|
9352
|
+
],
|
|
9353
|
+
},
|
|
9354
|
+
{ type: 'error', name: 'InvalidAddress', inputs: [] },
|
|
9355
|
+
{ type: 'error', name: 'InvalidMaxOracleAge', inputs: [] },
|
|
9356
|
+
{
|
|
9357
|
+
type: 'error',
|
|
9358
|
+
name: 'InvalidMaxPriceDeviationBps',
|
|
9359
|
+
inputs: [
|
|
9360
|
+
{ name: 'supplied', type: 'uint256', internalType: 'uint256' },
|
|
9361
|
+
{ name: 'maximum', type: 'uint256', internalType: 'uint256' },
|
|
9362
|
+
],
|
|
9363
|
+
},
|
|
9364
|
+
{
|
|
9365
|
+
type: 'error',
|
|
9366
|
+
name: 'InvalidOraclePriceToleranceBps',
|
|
9367
|
+
inputs: [
|
|
9368
|
+
{ name: 'supplied', type: 'uint256', internalType: 'uint256' },
|
|
9369
|
+
{ name: 'maximum', type: 'uint256', internalType: 'uint256' },
|
|
9370
|
+
],
|
|
9371
|
+
},
|
|
9372
|
+
{ type: 'error', name: 'InvalidPrice', inputs: [] },
|
|
9373
|
+
{ type: 'error', name: 'NotGuardianOrOwner', inputs: [] },
|
|
9374
|
+
{ type: 'error', name: 'NotOwner', inputs: [] },
|
|
9375
|
+
{ type: 'error', name: 'NotPaused', inputs: [] },
|
|
9376
|
+
{ type: 'error', name: 'NotPendingOwner', inputs: [] },
|
|
9377
|
+
{
|
|
9378
|
+
type: 'error',
|
|
9379
|
+
name: 'OracleDecimalsChanged',
|
|
9380
|
+
inputs: [
|
|
9381
|
+
{ name: 'currentDecimals', type: 'uint8', internalType: 'uint8' },
|
|
9382
|
+
{ name: 'proposedDecimals', type: 'uint8', internalType: 'uint8' },
|
|
9383
|
+
],
|
|
9384
|
+
},
|
|
9385
|
+
{
|
|
9386
|
+
type: 'error',
|
|
9387
|
+
name: 'OraclePriceToleranceExceeded',
|
|
9388
|
+
inputs: [
|
|
9389
|
+
{ name: 'expectedPrice', type: 'uint256', internalType: 'uint256' },
|
|
9390
|
+
{ name: 'actualPrice', type: 'uint256', internalType: 'uint256' },
|
|
9391
|
+
{ name: 'toleranceBps', type: 'uint256', internalType: 'uint256' },
|
|
9392
|
+
],
|
|
9393
|
+
},
|
|
9394
|
+
{
|
|
9395
|
+
type: 'error',
|
|
9396
|
+
name: 'OracleTimestampTooOld',
|
|
9397
|
+
inputs: [
|
|
9398
|
+
{ name: 'minimumUpdatedAt', type: 'uint256', internalType: 'uint256' },
|
|
9399
|
+
{ name: 'actualUpdatedAt', type: 'uint256', internalType: 'uint256' },
|
|
9400
|
+
],
|
|
9401
|
+
},
|
|
9402
|
+
{ type: 'error', name: 'Paused', inputs: [] },
|
|
9403
|
+
{
|
|
9404
|
+
type: 'error',
|
|
9405
|
+
name: 'PriceAnchorNotInitialized',
|
|
9406
|
+
inputs: [{ name: 'baseToQuote', type: 'bool', internalType: 'bool' }],
|
|
9407
|
+
},
|
|
9408
|
+
{
|
|
9409
|
+
type: 'error',
|
|
9410
|
+
name: 'PriceDeviationExceeded',
|
|
9411
|
+
inputs: [
|
|
9412
|
+
{ name: 'baseToQuote', type: 'bool', internalType: 'bool' },
|
|
9413
|
+
{ name: 'price', type: 'uint256', internalType: 'uint256' },
|
|
9414
|
+
{ name: 'anchor', type: 'uint256', internalType: 'uint256' },
|
|
9415
|
+
{ name: 'maxDeviationBps', type: 'uint256', internalType: 'uint256' },
|
|
9416
|
+
],
|
|
9417
|
+
},
|
|
9418
|
+
{
|
|
9419
|
+
type: 'error',
|
|
9420
|
+
name: 'RecipientNotAllowed',
|
|
9421
|
+
inputs: [{ name: 'recipient', type: 'address', internalType: 'address' }],
|
|
9422
|
+
},
|
|
9423
|
+
{ type: 'error', name: 'ReentrancyGuardReentrantCall', inputs: [] },
|
|
9424
|
+
{ type: 'error', name: 'SameToken', inputs: [] },
|
|
9425
|
+
{
|
|
9426
|
+
type: 'error',
|
|
9427
|
+
name: 'SlippageExceeded',
|
|
9428
|
+
inputs: [
|
|
9429
|
+
{ name: 'limit', type: 'uint256', internalType: 'uint256' },
|
|
9430
|
+
{ name: 'actual', type: 'uint256', internalType: 'uint256' },
|
|
9431
|
+
],
|
|
9432
|
+
},
|
|
9433
|
+
{
|
|
9434
|
+
type: 'error',
|
|
9435
|
+
name: 'StaleOraclePrice',
|
|
9436
|
+
inputs: [
|
|
9437
|
+
{ name: 'updatedAt', type: 'uint256', internalType: 'uint256' },
|
|
9438
|
+
{ name: 'maxAge', type: 'uint256', internalType: 'uint256' },
|
|
9439
|
+
],
|
|
9440
|
+
},
|
|
9441
|
+
{
|
|
9442
|
+
type: 'error',
|
|
9443
|
+
name: 'TakerNotAllowed',
|
|
9444
|
+
inputs: [{ name: 'taker', type: 'address', internalType: 'address' }],
|
|
9445
|
+
},
|
|
9446
|
+
{
|
|
9447
|
+
type: 'error',
|
|
9448
|
+
name: 'TokenTransferFailed',
|
|
9449
|
+
inputs: [{ name: 'token', type: 'address', internalType: 'address' }],
|
|
9450
|
+
},
|
|
9451
|
+
{
|
|
9452
|
+
type: 'error',
|
|
9453
|
+
name: 'UnsupportedDecimals',
|
|
9454
|
+
inputs: [
|
|
9455
|
+
{ name: 'baseDecimals', type: 'uint8', internalType: 'uint8' },
|
|
9456
|
+
{ name: 'quoteDecimals', type: 'uint8', internalType: 'uint8' },
|
|
9457
|
+
{ name: 'oracleDecimals', type: 'uint8', internalType: 'uint8' },
|
|
9458
|
+
],
|
|
9459
|
+
},
|
|
9460
|
+
{
|
|
9461
|
+
type: 'error',
|
|
9462
|
+
name: 'UnsupportedToken',
|
|
9463
|
+
inputs: [{ name: 'token', type: 'address', internalType: 'address' }],
|
|
8287
9464
|
},
|
|
8288
9465
|
];
|
|
8289
9466
|
export const core = [
|
|
@@ -8306,6 +9483,7 @@ export const core = [
|
|
|
8306
9483
|
...validatorConfigV2,
|
|
8307
9484
|
...zoneFactory,
|
|
8308
9485
|
...zonePortal,
|
|
9486
|
+
...zoneVerifier,
|
|
8309
9487
|
];
|
|
8310
9488
|
export const earn = [
|
|
8311
9489
|
...earnContributionController,
|
|
@@ -8315,12 +9493,14 @@ export const earn = [
|
|
|
8315
9493
|
...earnFactory,
|
|
8316
9494
|
...earnFees,
|
|
8317
9495
|
...earnMerkleRewardDistributor,
|
|
9496
|
+
...earnRewardsFactory,
|
|
8318
9497
|
...earnRouter,
|
|
8319
9498
|
...earnVault,
|
|
8320
9499
|
...erc4626Engine,
|
|
8321
9500
|
...erc4626EngineFactory,
|
|
8322
9501
|
...vedaEngine,
|
|
8323
9502
|
];
|
|
8324
|
-
export const zone = [...zoneMessenger, ...zoneOutbox
|
|
8325
|
-
export const
|
|
9503
|
+
export const zone = [...zoneMessenger, ...zoneOutbox];
|
|
9504
|
+
export const propAmm = [...directPropAmm];
|
|
9505
|
+
export const all = [...core, ...earn, ...zone, ...propAmm];
|
|
8326
9506
|
//# sourceMappingURL=Abis.js.map
|