@zoralabs/protocol-deployments 0.7.0 → 0.7.5
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/.turbo/turbo-build$colon$js.log +26 -26
- package/CHANGELOG.md +56 -4
- package/dist/{_esm-AN6HMJZC.js → _esm-7WTTA2BK.js} +53 -53
- package/dist/{_esm-AN6HMJZC.js.map → _esm-7WTTA2BK.js.map} +1 -1
- package/dist/{ccip-3JNBGYOD.js → ccip-Y2GC34UW.js} +2 -2
- package/dist/{chunk-4DQDZNUA.js → chunk-TP53IMLY.js} +87 -87
- package/dist/chunk-TP53IMLY.js.map +1 -0
- package/dist/generated/sparks.d.ts +3 -0
- package/dist/generated/sparks.d.ts.map +1 -1
- package/dist/generated/wagmi.d.ts +4080 -376
- package/dist/generated/wagmi.d.ts.map +1 -1
- package/dist/index.cjs +1431 -266
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +1347 -188
- package/dist/index.js.map +1 -1
- package/dist/{secp256k1-QZA5SALG.js → secp256k1-VMQNAPXV.js} +2 -12
- package/package.json +2 -2
- package/src/generated/sparks.ts +3 -0
- package/src/generated/wagmi.ts +1379 -191
- package/dist/chunk-4DQDZNUA.js.map +0 -1
- /package/dist/{ccip-3JNBGYOD.js.map → ccip-Y2GC34UW.js.map} +0 -0
- /package/dist/{secp256k1-QZA5SALG.js.map → secp256k1-VMQNAPXV.js.map} +0 -0
package/src/generated/wagmi.ts
CHANGED
|
@@ -2442,6 +2442,7 @@ export const coinABI = [
|
|
|
2442
2442
|
],
|
|
2443
2443
|
name: 'InvalidAccountNonce',
|
|
2444
2444
|
},
|
|
2445
|
+
{ type: 'error', inputs: [], name: 'InvalidCurrency' },
|
|
2445
2446
|
{ type: 'error', inputs: [], name: 'InvalidCurrencyLowerTick' },
|
|
2446
2447
|
{ type: 'error', inputs: [], name: 'InvalidInitialization' },
|
|
2447
2448
|
{ type: 'error', inputs: [], name: 'InvalidMarketType' },
|
|
@@ -2500,6 +2501,7 @@ export const coinFactoryABI = [
|
|
|
2500
2501
|
inputs: [
|
|
2501
2502
|
{ name: 'coinV4Impl_', internalType: 'address', type: 'address' },
|
|
2502
2503
|
{ name: 'creatorCoinImpl_', internalType: 'address', type: 'address' },
|
|
2504
|
+
{ name: 'trendCoinImpl_', internalType: 'address', type: 'address' },
|
|
2503
2505
|
{ name: 'hook_', internalType: 'address', type: 'address' },
|
|
2504
2506
|
{ name: 'zoraHookRegistry_', internalType: 'address', type: 'address' },
|
|
2505
2507
|
],
|
|
@@ -2672,6 +2674,20 @@ export const coinFactoryABI = [
|
|
|
2672
2674
|
],
|
|
2673
2675
|
stateMutability: 'payable',
|
|
2674
2676
|
},
|
|
2677
|
+
{
|
|
2678
|
+
type: 'function',
|
|
2679
|
+
inputs: [
|
|
2680
|
+
{ name: 'symbol', internalType: 'string', type: 'string' },
|
|
2681
|
+
{ name: 'postDeployHook', internalType: 'address', type: 'address' },
|
|
2682
|
+
{ name: 'postDeployHookData', internalType: 'bytes', type: 'bytes' },
|
|
2683
|
+
],
|
|
2684
|
+
name: 'deployTrendCoin',
|
|
2685
|
+
outputs: [
|
|
2686
|
+
{ name: 'coin', internalType: 'address', type: 'address' },
|
|
2687
|
+
{ name: 'postDeployHookDataOut', internalType: 'bytes', type: 'bytes' },
|
|
2688
|
+
],
|
|
2689
|
+
stateMutability: 'payable',
|
|
2690
|
+
},
|
|
2675
2691
|
{
|
|
2676
2692
|
type: 'function',
|
|
2677
2693
|
inputs: [
|
|
@@ -2750,6 +2766,27 @@ export const coinFactoryABI = [
|
|
|
2750
2766
|
outputs: [],
|
|
2751
2767
|
stateMutability: 'nonpayable',
|
|
2752
2768
|
},
|
|
2769
|
+
{
|
|
2770
|
+
type: 'function',
|
|
2771
|
+
inputs: [
|
|
2772
|
+
{ name: 'currency', internalType: 'address', type: 'address' },
|
|
2773
|
+
{ name: 'tickLower', internalType: 'int24[]', type: 'int24[]' },
|
|
2774
|
+
{ name: 'tickUpper', internalType: 'int24[]', type: 'int24[]' },
|
|
2775
|
+
{
|
|
2776
|
+
name: 'numDiscoveryPositions',
|
|
2777
|
+
internalType: 'uint16[]',
|
|
2778
|
+
type: 'uint16[]',
|
|
2779
|
+
},
|
|
2780
|
+
{
|
|
2781
|
+
name: 'maxDiscoverySupplyShare',
|
|
2782
|
+
internalType: 'uint256[]',
|
|
2783
|
+
type: 'uint256[]',
|
|
2784
|
+
},
|
|
2785
|
+
],
|
|
2786
|
+
name: 'setTrendCoinPoolConfig',
|
|
2787
|
+
outputs: [],
|
|
2788
|
+
stateMutability: 'nonpayable',
|
|
2789
|
+
},
|
|
2753
2790
|
{
|
|
2754
2791
|
type: 'function',
|
|
2755
2792
|
inputs: [{ name: 'newOwner', internalType: 'address', type: 'address' }],
|
|
@@ -2757,6 +2794,27 @@ export const coinFactoryABI = [
|
|
|
2757
2794
|
outputs: [],
|
|
2758
2795
|
stateMutability: 'nonpayable',
|
|
2759
2796
|
},
|
|
2797
|
+
{
|
|
2798
|
+
type: 'function',
|
|
2799
|
+
inputs: [{ name: 'symbol', internalType: 'string', type: 'string' }],
|
|
2800
|
+
name: 'trendCoinAddress',
|
|
2801
|
+
outputs: [{ name: '', internalType: 'address', type: 'address' }],
|
|
2802
|
+
stateMutability: 'view',
|
|
2803
|
+
},
|
|
2804
|
+
{
|
|
2805
|
+
type: 'function',
|
|
2806
|
+
inputs: [],
|
|
2807
|
+
name: 'trendCoinImpl',
|
|
2808
|
+
outputs: [{ name: '', internalType: 'address', type: 'address' }],
|
|
2809
|
+
stateMutability: 'view',
|
|
2810
|
+
},
|
|
2811
|
+
{
|
|
2812
|
+
type: 'function',
|
|
2813
|
+
inputs: [],
|
|
2814
|
+
name: 'trendCoinPoolConfig',
|
|
2815
|
+
outputs: [{ name: '', internalType: 'bytes', type: 'bytes' }],
|
|
2816
|
+
stateMutability: 'view',
|
|
2817
|
+
},
|
|
2760
2818
|
{
|
|
2761
2819
|
type: 'function',
|
|
2762
2820
|
inputs: [
|
|
@@ -3022,6 +3080,75 @@ export const coinFactoryABI = [
|
|
|
3022
3080
|
],
|
|
3023
3081
|
name: 'OwnershipTransferred',
|
|
3024
3082
|
},
|
|
3083
|
+
{
|
|
3084
|
+
type: 'event',
|
|
3085
|
+
anonymous: false,
|
|
3086
|
+
inputs: [
|
|
3087
|
+
{
|
|
3088
|
+
name: 'caller',
|
|
3089
|
+
internalType: 'address',
|
|
3090
|
+
type: 'address',
|
|
3091
|
+
indexed: true,
|
|
3092
|
+
},
|
|
3093
|
+
{
|
|
3094
|
+
name: 'symbol',
|
|
3095
|
+
internalType: 'string',
|
|
3096
|
+
type: 'string',
|
|
3097
|
+
indexed: false,
|
|
3098
|
+
},
|
|
3099
|
+
{
|
|
3100
|
+
name: 'coin',
|
|
3101
|
+
internalType: 'address',
|
|
3102
|
+
type: 'address',
|
|
3103
|
+
indexed: false,
|
|
3104
|
+
},
|
|
3105
|
+
{
|
|
3106
|
+
name: 'poolKey',
|
|
3107
|
+
internalType: 'struct PoolKey',
|
|
3108
|
+
type: 'tuple',
|
|
3109
|
+
components: [
|
|
3110
|
+
{ name: 'currency0', internalType: 'Currency', type: 'address' },
|
|
3111
|
+
{ name: 'currency1', internalType: 'Currency', type: 'address' },
|
|
3112
|
+
{ name: 'fee', internalType: 'uint24', type: 'uint24' },
|
|
3113
|
+
{ name: 'tickSpacing', internalType: 'int24', type: 'int24' },
|
|
3114
|
+
{ name: 'hooks', internalType: 'contract IHooks', type: 'address' },
|
|
3115
|
+
],
|
|
3116
|
+
indexed: false,
|
|
3117
|
+
},
|
|
3118
|
+
{
|
|
3119
|
+
name: 'poolKeyHash',
|
|
3120
|
+
internalType: 'bytes32',
|
|
3121
|
+
type: 'bytes32',
|
|
3122
|
+
indexed: false,
|
|
3123
|
+
},
|
|
3124
|
+
{
|
|
3125
|
+
name: 'poolConfig',
|
|
3126
|
+
internalType: 'bytes',
|
|
3127
|
+
type: 'bytes',
|
|
3128
|
+
indexed: false,
|
|
3129
|
+
},
|
|
3130
|
+
{
|
|
3131
|
+
name: 'version',
|
|
3132
|
+
internalType: 'string',
|
|
3133
|
+
type: 'string',
|
|
3134
|
+
indexed: false,
|
|
3135
|
+
},
|
|
3136
|
+
],
|
|
3137
|
+
name: 'TrendCoinCreated',
|
|
3138
|
+
},
|
|
3139
|
+
{
|
|
3140
|
+
type: 'event',
|
|
3141
|
+
anonymous: false,
|
|
3142
|
+
inputs: [
|
|
3143
|
+
{
|
|
3144
|
+
name: 'poolConfig',
|
|
3145
|
+
internalType: 'bytes',
|
|
3146
|
+
type: 'bytes',
|
|
3147
|
+
indexed: false,
|
|
3148
|
+
},
|
|
3149
|
+
],
|
|
3150
|
+
name: 'TrendCoinPoolConfigUpdated',
|
|
3151
|
+
},
|
|
3025
3152
|
{
|
|
3026
3153
|
type: 'event',
|
|
3027
3154
|
anonymous: false,
|
|
@@ -3074,6 +3201,7 @@ export const coinFactoryABI = [
|
|
|
3074
3201
|
],
|
|
3075
3202
|
name: 'InvalidTickRangeMisordered',
|
|
3076
3203
|
},
|
|
3204
|
+
{ type: 'error', inputs: [], name: 'InvalidTickerCharacters' },
|
|
3077
3205
|
{
|
|
3078
3206
|
type: 'error',
|
|
3079
3207
|
inputs: [
|
|
@@ -3095,6 +3223,12 @@ export const coinFactoryABI = [
|
|
|
3095
3223
|
name: 'OwnableUnauthorizedAccount',
|
|
3096
3224
|
},
|
|
3097
3225
|
{ type: 'error', inputs: [], name: 'ReentrancyGuardReentrantCall' },
|
|
3226
|
+
{
|
|
3227
|
+
type: 'error',
|
|
3228
|
+
inputs: [{ name: 'symbol', internalType: 'string', type: 'string' }],
|
|
3229
|
+
name: 'TickerAlreadyUsed',
|
|
3230
|
+
},
|
|
3231
|
+
{ type: 'error', inputs: [], name: 'TrendCoinPoolConfigNotSet' },
|
|
3098
3232
|
{ type: 'error', inputs: [], name: 'UUPSUnauthorizedCallContext' },
|
|
3099
3233
|
{
|
|
3100
3234
|
type: 'error',
|
|
@@ -3109,6 +3243,7 @@ export const coinFactoryABI = [
|
|
|
3109
3243
|
],
|
|
3110
3244
|
name: 'UpgradeToMismatchedContractName',
|
|
3111
3245
|
},
|
|
3246
|
+
{ type: 'error', inputs: [], name: 'UseSpecificTrendCoinInitialize' },
|
|
3112
3247
|
{ type: 'error', inputs: [], name: 'ZeroDiscoveryPositions' },
|
|
3113
3248
|
{ type: 'error', inputs: [], name: 'ZeroDiscoverySupplyShare' },
|
|
3114
3249
|
{ type: 'error', inputs: [], name: 'AddressZero' },
|
|
@@ -3216,6 +3351,7 @@ export const coinFactoryABI = [
|
|
|
3216
3351
|
],
|
|
3217
3352
|
name: 'InvalidAccountNonce',
|
|
3218
3353
|
},
|
|
3354
|
+
{ type: 'error', inputs: [], name: 'InvalidCurrency' },
|
|
3219
3355
|
{ type: 'error', inputs: [], name: 'InvalidCurrencyLowerTick' },
|
|
3220
3356
|
{ type: 'error', inputs: [], name: 'InvalidInitialization' },
|
|
3221
3357
|
{ type: 'error', inputs: [], name: 'InvalidMarketType' },
|
|
@@ -6665,6 +6801,7 @@ export const devCoinFactoryABI = [
|
|
|
6665
6801
|
inputs: [
|
|
6666
6802
|
{ name: 'coinV4Impl_', internalType: 'address', type: 'address' },
|
|
6667
6803
|
{ name: 'creatorCoinImpl_', internalType: 'address', type: 'address' },
|
|
6804
|
+
{ name: 'trendCoinImpl_', internalType: 'address', type: 'address' },
|
|
6668
6805
|
{ name: 'hook_', internalType: 'address', type: 'address' },
|
|
6669
6806
|
{ name: 'zoraHookRegistry_', internalType: 'address', type: 'address' },
|
|
6670
6807
|
],
|
|
@@ -6837,6 +6974,20 @@ export const devCoinFactoryABI = [
|
|
|
6837
6974
|
],
|
|
6838
6975
|
stateMutability: 'payable',
|
|
6839
6976
|
},
|
|
6977
|
+
{
|
|
6978
|
+
type: 'function',
|
|
6979
|
+
inputs: [
|
|
6980
|
+
{ name: 'symbol', internalType: 'string', type: 'string' },
|
|
6981
|
+
{ name: 'postDeployHook', internalType: 'address', type: 'address' },
|
|
6982
|
+
{ name: 'postDeployHookData', internalType: 'bytes', type: 'bytes' },
|
|
6983
|
+
],
|
|
6984
|
+
name: 'deployTrendCoin',
|
|
6985
|
+
outputs: [
|
|
6986
|
+
{ name: 'coin', internalType: 'address', type: 'address' },
|
|
6987
|
+
{ name: 'postDeployHookDataOut', internalType: 'bytes', type: 'bytes' },
|
|
6988
|
+
],
|
|
6989
|
+
stateMutability: 'payable',
|
|
6990
|
+
},
|
|
6840
6991
|
{
|
|
6841
6992
|
type: 'function',
|
|
6842
6993
|
inputs: [
|
|
@@ -6915,6 +7066,27 @@ export const devCoinFactoryABI = [
|
|
|
6915
7066
|
outputs: [],
|
|
6916
7067
|
stateMutability: 'nonpayable',
|
|
6917
7068
|
},
|
|
7069
|
+
{
|
|
7070
|
+
type: 'function',
|
|
7071
|
+
inputs: [
|
|
7072
|
+
{ name: 'currency', internalType: 'address', type: 'address' },
|
|
7073
|
+
{ name: 'tickLower', internalType: 'int24[]', type: 'int24[]' },
|
|
7074
|
+
{ name: 'tickUpper', internalType: 'int24[]', type: 'int24[]' },
|
|
7075
|
+
{
|
|
7076
|
+
name: 'numDiscoveryPositions',
|
|
7077
|
+
internalType: 'uint16[]',
|
|
7078
|
+
type: 'uint16[]',
|
|
7079
|
+
},
|
|
7080
|
+
{
|
|
7081
|
+
name: 'maxDiscoverySupplyShare',
|
|
7082
|
+
internalType: 'uint256[]',
|
|
7083
|
+
type: 'uint256[]',
|
|
7084
|
+
},
|
|
7085
|
+
],
|
|
7086
|
+
name: 'setTrendCoinPoolConfig',
|
|
7087
|
+
outputs: [],
|
|
7088
|
+
stateMutability: 'nonpayable',
|
|
7089
|
+
},
|
|
6918
7090
|
{
|
|
6919
7091
|
type: 'function',
|
|
6920
7092
|
inputs: [{ name: 'newOwner', internalType: 'address', type: 'address' }],
|
|
@@ -6922,6 +7094,27 @@ export const devCoinFactoryABI = [
|
|
|
6922
7094
|
outputs: [],
|
|
6923
7095
|
stateMutability: 'nonpayable',
|
|
6924
7096
|
},
|
|
7097
|
+
{
|
|
7098
|
+
type: 'function',
|
|
7099
|
+
inputs: [{ name: 'symbol', internalType: 'string', type: 'string' }],
|
|
7100
|
+
name: 'trendCoinAddress',
|
|
7101
|
+
outputs: [{ name: '', internalType: 'address', type: 'address' }],
|
|
7102
|
+
stateMutability: 'view',
|
|
7103
|
+
},
|
|
7104
|
+
{
|
|
7105
|
+
type: 'function',
|
|
7106
|
+
inputs: [],
|
|
7107
|
+
name: 'trendCoinImpl',
|
|
7108
|
+
outputs: [{ name: '', internalType: 'address', type: 'address' }],
|
|
7109
|
+
stateMutability: 'view',
|
|
7110
|
+
},
|
|
7111
|
+
{
|
|
7112
|
+
type: 'function',
|
|
7113
|
+
inputs: [],
|
|
7114
|
+
name: 'trendCoinPoolConfig',
|
|
7115
|
+
outputs: [{ name: '', internalType: 'bytes', type: 'bytes' }],
|
|
7116
|
+
stateMutability: 'view',
|
|
7117
|
+
},
|
|
6925
7118
|
{
|
|
6926
7119
|
type: 'function',
|
|
6927
7120
|
inputs: [
|
|
@@ -7187,6 +7380,75 @@ export const devCoinFactoryABI = [
|
|
|
7187
7380
|
],
|
|
7188
7381
|
name: 'OwnershipTransferred',
|
|
7189
7382
|
},
|
|
7383
|
+
{
|
|
7384
|
+
type: 'event',
|
|
7385
|
+
anonymous: false,
|
|
7386
|
+
inputs: [
|
|
7387
|
+
{
|
|
7388
|
+
name: 'caller',
|
|
7389
|
+
internalType: 'address',
|
|
7390
|
+
type: 'address',
|
|
7391
|
+
indexed: true,
|
|
7392
|
+
},
|
|
7393
|
+
{
|
|
7394
|
+
name: 'symbol',
|
|
7395
|
+
internalType: 'string',
|
|
7396
|
+
type: 'string',
|
|
7397
|
+
indexed: false,
|
|
7398
|
+
},
|
|
7399
|
+
{
|
|
7400
|
+
name: 'coin',
|
|
7401
|
+
internalType: 'address',
|
|
7402
|
+
type: 'address',
|
|
7403
|
+
indexed: false,
|
|
7404
|
+
},
|
|
7405
|
+
{
|
|
7406
|
+
name: 'poolKey',
|
|
7407
|
+
internalType: 'struct PoolKey',
|
|
7408
|
+
type: 'tuple',
|
|
7409
|
+
components: [
|
|
7410
|
+
{ name: 'currency0', internalType: 'Currency', type: 'address' },
|
|
7411
|
+
{ name: 'currency1', internalType: 'Currency', type: 'address' },
|
|
7412
|
+
{ name: 'fee', internalType: 'uint24', type: 'uint24' },
|
|
7413
|
+
{ name: 'tickSpacing', internalType: 'int24', type: 'int24' },
|
|
7414
|
+
{ name: 'hooks', internalType: 'contract IHooks', type: 'address' },
|
|
7415
|
+
],
|
|
7416
|
+
indexed: false,
|
|
7417
|
+
},
|
|
7418
|
+
{
|
|
7419
|
+
name: 'poolKeyHash',
|
|
7420
|
+
internalType: 'bytes32',
|
|
7421
|
+
type: 'bytes32',
|
|
7422
|
+
indexed: false,
|
|
7423
|
+
},
|
|
7424
|
+
{
|
|
7425
|
+
name: 'poolConfig',
|
|
7426
|
+
internalType: 'bytes',
|
|
7427
|
+
type: 'bytes',
|
|
7428
|
+
indexed: false,
|
|
7429
|
+
},
|
|
7430
|
+
{
|
|
7431
|
+
name: 'version',
|
|
7432
|
+
internalType: 'string',
|
|
7433
|
+
type: 'string',
|
|
7434
|
+
indexed: false,
|
|
7435
|
+
},
|
|
7436
|
+
],
|
|
7437
|
+
name: 'TrendCoinCreated',
|
|
7438
|
+
},
|
|
7439
|
+
{
|
|
7440
|
+
type: 'event',
|
|
7441
|
+
anonymous: false,
|
|
7442
|
+
inputs: [
|
|
7443
|
+
{
|
|
7444
|
+
name: 'poolConfig',
|
|
7445
|
+
internalType: 'bytes',
|
|
7446
|
+
type: 'bytes',
|
|
7447
|
+
indexed: false,
|
|
7448
|
+
},
|
|
7449
|
+
],
|
|
7450
|
+
name: 'TrendCoinPoolConfigUpdated',
|
|
7451
|
+
},
|
|
7190
7452
|
{
|
|
7191
7453
|
type: 'event',
|
|
7192
7454
|
anonymous: false,
|
|
@@ -7239,6 +7501,7 @@ export const devCoinFactoryABI = [
|
|
|
7239
7501
|
],
|
|
7240
7502
|
name: 'InvalidTickRangeMisordered',
|
|
7241
7503
|
},
|
|
7504
|
+
{ type: 'error', inputs: [], name: 'InvalidTickerCharacters' },
|
|
7242
7505
|
{
|
|
7243
7506
|
type: 'error',
|
|
7244
7507
|
inputs: [
|
|
@@ -7260,6 +7523,12 @@ export const devCoinFactoryABI = [
|
|
|
7260
7523
|
name: 'OwnableUnauthorizedAccount',
|
|
7261
7524
|
},
|
|
7262
7525
|
{ type: 'error', inputs: [], name: 'ReentrancyGuardReentrantCall' },
|
|
7526
|
+
{
|
|
7527
|
+
type: 'error',
|
|
7528
|
+
inputs: [{ name: 'symbol', internalType: 'string', type: 'string' }],
|
|
7529
|
+
name: 'TickerAlreadyUsed',
|
|
7530
|
+
},
|
|
7531
|
+
{ type: 'error', inputs: [], name: 'TrendCoinPoolConfigNotSet' },
|
|
7263
7532
|
{ type: 'error', inputs: [], name: 'UUPSUnauthorizedCallContext' },
|
|
7264
7533
|
{
|
|
7265
7534
|
type: 'error',
|
|
@@ -7274,6 +7543,7 @@ export const devCoinFactoryABI = [
|
|
|
7274
7543
|
],
|
|
7275
7544
|
name: 'UpgradeToMismatchedContractName',
|
|
7276
7545
|
},
|
|
7546
|
+
{ type: 'error', inputs: [], name: 'UseSpecificTrendCoinInitialize' },
|
|
7277
7547
|
{ type: 'error', inputs: [], name: 'ZeroDiscoveryPositions' },
|
|
7278
7548
|
{ type: 'error', inputs: [], name: 'ZeroDiscoverySupplyShare' },
|
|
7279
7549
|
{ type: 'error', inputs: [], name: 'AddressZero' },
|
|
@@ -7381,6 +7651,7 @@ export const devCoinFactoryABI = [
|
|
|
7381
7651
|
],
|
|
7382
7652
|
name: 'InvalidAccountNonce',
|
|
7383
7653
|
},
|
|
7654
|
+
{ type: 'error', inputs: [], name: 'InvalidCurrency' },
|
|
7384
7655
|
{ type: 'error', inputs: [], name: 'InvalidCurrencyLowerTick' },
|
|
7385
7656
|
{ type: 'error', inputs: [], name: 'InvalidInitialization' },
|
|
7386
7657
|
{ type: 'error', inputs: [], name: 'InvalidMarketType' },
|
|
@@ -7572,7 +7843,7 @@ export const devCoinFactoryConfig = {
|
|
|
7572
7843
|
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
|
7573
7844
|
|
|
7574
7845
|
/**
|
|
7575
|
-
* [__View Contract on Base Basescan__](https://basescan.org/address/
|
|
7846
|
+
* [__View Contract on Base Basescan__](https://basescan.org/address/0xCe2C8032F85aB6a7148138F8a1235d2b17D53Dc5)
|
|
7576
7847
|
*/
|
|
7577
7848
|
export const devZoraLimitOrderBookABI = [
|
|
7578
7849
|
{
|
|
@@ -7608,6 +7879,13 @@ export const devZoraLimitOrderBookABI = [
|
|
|
7608
7879
|
outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }],
|
|
7609
7880
|
stateMutability: 'view',
|
|
7610
7881
|
},
|
|
7882
|
+
{
|
|
7883
|
+
type: 'function',
|
|
7884
|
+
inputs: [],
|
|
7885
|
+
name: 'contractVersion',
|
|
7886
|
+
outputs: [{ name: '', internalType: 'string', type: 'string' }],
|
|
7887
|
+
stateMutability: 'pure',
|
|
7888
|
+
},
|
|
7611
7889
|
{
|
|
7612
7890
|
type: 'function',
|
|
7613
7891
|
inputs: [
|
|
@@ -8183,6 +8461,7 @@ export const devZoraLimitOrderBookABI = [
|
|
|
8183
8461
|
],
|
|
8184
8462
|
name: 'InvalidAccountNonce',
|
|
8185
8463
|
},
|
|
8464
|
+
{ type: 'error', inputs: [], name: 'InvalidCurrency' },
|
|
8186
8465
|
{ type: 'error', inputs: [], name: 'InvalidCurrencyLowerTick' },
|
|
8187
8466
|
{ type: 'error', inputs: [], name: 'InvalidInitialization' },
|
|
8188
8467
|
{ type: 'error', inputs: [], name: 'InvalidMarketType' },
|
|
@@ -8293,18 +8572,51 @@ export const devZoraLimitOrderBookABI = [
|
|
|
8293
8572
|
},
|
|
8294
8573
|
{ type: 'error', inputs: [], name: 'ZoraHookRegistryCannotBeZeroAddress' },
|
|
8295
8574
|
{ type: 'error', inputs: [], name: 'ZoraLimitOrderBookCannotBeZeroAddress' },
|
|
8296
|
-
]
|
|
8297
|
-
|
|
8298
|
-
|
|
8299
|
-
|
|
8300
|
-
|
|
8301
|
-
|
|
8302
|
-
|
|
8303
|
-
|
|
8304
|
-
|
|
8305
|
-
|
|
8306
|
-
|
|
8307
|
-
|
|
8575
|
+
{ type: 'error', inputs: [], name: 'AlreadyUnlocked' },
|
|
8576
|
+
{
|
|
8577
|
+
type: 'error',
|
|
8578
|
+
inputs: [
|
|
8579
|
+
{ name: 'currency0', internalType: 'address', type: 'address' },
|
|
8580
|
+
{ name: 'currency1', internalType: 'address', type: 'address' },
|
|
8581
|
+
],
|
|
8582
|
+
name: 'CurrenciesOutOfOrderOrEqual',
|
|
8583
|
+
},
|
|
8584
|
+
{ type: 'error', inputs: [], name: 'CurrencyNotSettled' },
|
|
8585
|
+
{ type: 'error', inputs: [], name: 'InvalidCaller' },
|
|
8586
|
+
{ type: 'error', inputs: [], name: 'ManagerLocked' },
|
|
8587
|
+
{ type: 'error', inputs: [], name: 'MustClearExactPositiveDelta' },
|
|
8588
|
+
{ type: 'error', inputs: [], name: 'NonzeroNativeValue' },
|
|
8589
|
+
{ type: 'error', inputs: [], name: 'PoolNotInitialized' },
|
|
8590
|
+
{ type: 'error', inputs: [], name: 'ProtocolFeeCurrencySynced' },
|
|
8591
|
+
{
|
|
8592
|
+
type: 'error',
|
|
8593
|
+
inputs: [{ name: 'fee', internalType: 'uint24', type: 'uint24' }],
|
|
8594
|
+
name: 'ProtocolFeeTooLarge',
|
|
8595
|
+
},
|
|
8596
|
+
{ type: 'error', inputs: [], name: 'SwapAmountCannotBeZero' },
|
|
8597
|
+
{
|
|
8598
|
+
type: 'error',
|
|
8599
|
+
inputs: [{ name: 'tickSpacing', internalType: 'int24', type: 'int24' }],
|
|
8600
|
+
name: 'TickSpacingTooLarge',
|
|
8601
|
+
},
|
|
8602
|
+
{
|
|
8603
|
+
type: 'error',
|
|
8604
|
+
inputs: [{ name: 'tickSpacing', internalType: 'int24', type: 'int24' }],
|
|
8605
|
+
name: 'TickSpacingTooSmall',
|
|
8606
|
+
},
|
|
8607
|
+
{ type: 'error', inputs: [], name: 'UnauthorizedDynamicLPFeeUpdate' },
|
|
8608
|
+
] as const
|
|
8609
|
+
|
|
8610
|
+
/**
|
|
8611
|
+
* [__View Contract on Base Basescan__](https://basescan.org/address/0xCe2C8032F85aB6a7148138F8a1235d2b17D53Dc5)
|
|
8612
|
+
*/
|
|
8613
|
+
export const devZoraLimitOrderBookAddress = {
|
|
8614
|
+
8453: '0xCe2C8032F85aB6a7148138F8a1235d2b17D53Dc5',
|
|
8615
|
+
} as const
|
|
8616
|
+
|
|
8617
|
+
/**
|
|
8618
|
+
* [__View Contract on Base Basescan__](https://basescan.org/address/0xCe2C8032F85aB6a7148138F8a1235d2b17D53Dc5)
|
|
8619
|
+
*/
|
|
8308
8620
|
export const devZoraLimitOrderBookConfig = {
|
|
8309
8621
|
address: devZoraLimitOrderBookAddress,
|
|
8310
8622
|
abi: devZoraLimitOrderBookABI,
|
|
@@ -8315,7 +8627,7 @@ export const devZoraLimitOrderBookConfig = {
|
|
|
8315
8627
|
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
|
8316
8628
|
|
|
8317
8629
|
/**
|
|
8318
|
-
* [__View Contract on Base Basescan__](https://basescan.org/address/
|
|
8630
|
+
* [__View Contract on Base Basescan__](https://basescan.org/address/0x1F35FB3E07e68bC1Bf020c2d59cBF91Ccf5736b8)
|
|
8319
8631
|
*/
|
|
8320
8632
|
export const devZoraRouterABI = [
|
|
8321
8633
|
{
|
|
@@ -8349,6 +8661,13 @@ export const devZoraRouterABI = [
|
|
|
8349
8661
|
outputs: [],
|
|
8350
8662
|
stateMutability: 'nonpayable',
|
|
8351
8663
|
},
|
|
8664
|
+
{
|
|
8665
|
+
type: 'function',
|
|
8666
|
+
inputs: [],
|
|
8667
|
+
name: 'contractVersion',
|
|
8668
|
+
outputs: [{ name: '', internalType: 'string', type: 'string' }],
|
|
8669
|
+
stateMutability: 'pure',
|
|
8670
|
+
},
|
|
8352
8671
|
{
|
|
8353
8672
|
type: 'function',
|
|
8354
8673
|
inputs: [],
|
|
@@ -8675,6 +8994,65 @@ export const devZoraRouterABI = [
|
|
|
8675
8994
|
{ type: 'error', inputs: [], name: 'V3RouteDoesNotConnectToV4RouteStart' },
|
|
8676
8995
|
{ type: 'error', inputs: [], name: 'ZeroSwapDelta' },
|
|
8677
8996
|
{ type: 'error', inputs: [], name: 'AddressZero' },
|
|
8997
|
+
{ type: 'error', inputs: [], name: 'ArrayLengthMismatch' },
|
|
8998
|
+
{ type: 'error', inputs: [], name: 'CallerNotPermitted' },
|
|
8999
|
+
{
|
|
9000
|
+
type: 'error',
|
|
9001
|
+
inputs: [
|
|
9002
|
+
{ name: 'orderId', internalType: 'bytes32', type: 'bytes32' },
|
|
9003
|
+
{ name: 'expectedCoin', internalType: 'address', type: 'address' },
|
|
9004
|
+
{ name: 'actualCoin', internalType: 'address', type: 'address' },
|
|
9005
|
+
],
|
|
9006
|
+
name: 'CoinMismatch',
|
|
9007
|
+
},
|
|
9008
|
+
{ type: 'error', inputs: [], name: 'InsufficientForwardedFunds' },
|
|
9009
|
+
{ type: 'error', inputs: [], name: 'InsufficientTransferFunds' },
|
|
9010
|
+
{
|
|
9011
|
+
type: 'error',
|
|
9012
|
+
inputs: [
|
|
9013
|
+
{ name: 'startTick', internalType: 'int24', type: 'int24' },
|
|
9014
|
+
{ name: 'endTick', internalType: 'int24', type: 'int24' },
|
|
9015
|
+
{ name: 'isCurrency0', internalType: 'bool', type: 'bool' },
|
|
9016
|
+
],
|
|
9017
|
+
name: 'InvalidFillWindow',
|
|
9018
|
+
},
|
|
9019
|
+
{ type: 'error', inputs: [], name: 'InvalidOrder' },
|
|
9020
|
+
{ type: 'error', inputs: [], name: 'InvalidPoolKey' },
|
|
9021
|
+
{ type: 'error', inputs: [], name: 'MaxFillCountCannotBeZero' },
|
|
9022
|
+
{
|
|
9023
|
+
type: 'error',
|
|
9024
|
+
inputs: [
|
|
9025
|
+
{ name: 'withdrawn', internalType: 'uint256', type: 'uint256' },
|
|
9026
|
+
{ name: 'minAmountOut', internalType: 'uint256', type: 'uint256' },
|
|
9027
|
+
],
|
|
9028
|
+
name: 'MinAmountNotReached',
|
|
9029
|
+
},
|
|
9030
|
+
{ type: 'error', inputs: [], name: 'NativeValueMismatch' },
|
|
9031
|
+
{ type: 'error', inputs: [], name: 'NotPoolManager' },
|
|
9032
|
+
{ type: 'error', inputs: [], name: 'OnlyZoraHook' },
|
|
9033
|
+
{ type: 'error', inputs: [], name: 'OrderClosed' },
|
|
9034
|
+
{ type: 'error', inputs: [], name: 'OrderFillable' },
|
|
9035
|
+
{ type: 'error', inputs: [], name: 'OrderNotMaker' },
|
|
9036
|
+
{
|
|
9037
|
+
type: 'error',
|
|
9038
|
+
inputs: [{ name: 'owner', internalType: 'address', type: 'address' }],
|
|
9039
|
+
name: 'OwnableInvalidOwner',
|
|
9040
|
+
},
|
|
9041
|
+
{
|
|
9042
|
+
type: 'error',
|
|
9043
|
+
inputs: [{ name: 'account', internalType: 'address', type: 'address' }],
|
|
9044
|
+
name: 'OwnableUnauthorizedAccount',
|
|
9045
|
+
},
|
|
9046
|
+
{ type: 'error', inputs: [], name: 'PathMustHaveAtLeastOneStep' },
|
|
9047
|
+
{ type: 'error', inputs: [], name: 'PermittedCallersLengthMismatch' },
|
|
9048
|
+
{ type: 'error', inputs: [], name: 'RouterMsgSenderInvalid' },
|
|
9049
|
+
{ type: 'error', inputs: [], name: 'UnknownCallback' },
|
|
9050
|
+
{ type: 'error', inputs: [], name: 'UnlockedFillNotAllowed' },
|
|
9051
|
+
{ type: 'error', inputs: [], name: 'WethTransferFailed' },
|
|
9052
|
+
{ type: 'error', inputs: [], name: 'ZeroMaker' },
|
|
9053
|
+
{ type: 'error', inputs: [], name: 'ZeroOrderSize' },
|
|
9054
|
+
{ type: 'error', inputs: [], name: 'ZeroRealizedOrder' },
|
|
9055
|
+
{ type: 'error', inputs: [], name: 'AddressZero' },
|
|
8678
9056
|
{ type: 'error', inputs: [], name: 'AlreadyOwner' },
|
|
8679
9057
|
{ type: 'error', inputs: [], name: 'CannotMintZeroLiquidity' },
|
|
8680
9058
|
{
|
|
@@ -8760,6 +9138,7 @@ export const devZoraRouterABI = [
|
|
|
8760
9138
|
],
|
|
8761
9139
|
name: 'InvalidAccountNonce',
|
|
8762
9140
|
},
|
|
9141
|
+
{ type: 'error', inputs: [], name: 'InvalidCurrency' },
|
|
8763
9142
|
{ type: 'error', inputs: [], name: 'InvalidCurrencyLowerTick' },
|
|
8764
9143
|
{ type: 'error', inputs: [], name: 'InvalidInitialization' },
|
|
8765
9144
|
{ type: 'error', inputs: [], name: 'InvalidMarketType' },
|
|
@@ -8870,76 +9249,62 @@ export const devZoraRouterABI = [
|
|
|
8870
9249
|
},
|
|
8871
9250
|
{ type: 'error', inputs: [], name: 'ZoraHookRegistryCannotBeZeroAddress' },
|
|
8872
9251
|
{ type: 'error', inputs: [], name: 'ZoraLimitOrderBookCannotBeZeroAddress' },
|
|
8873
|
-
{ type: 'error', inputs: [], name: '
|
|
8874
|
-
{ type: 'error', inputs: [], name: 'ArrayLengthMismatch' },
|
|
8875
|
-
{ type: 'error', inputs: [], name: 'CallerNotPermitted' },
|
|
9252
|
+
{ type: 'error', inputs: [], name: 'AlreadyUnlocked' },
|
|
8876
9253
|
{
|
|
8877
9254
|
type: 'error',
|
|
8878
9255
|
inputs: [
|
|
8879
|
-
{ name: '
|
|
8880
|
-
{ name: '
|
|
8881
|
-
{ name: 'actualCoin', internalType: 'address', type: 'address' },
|
|
9256
|
+
{ name: 'currency0', internalType: 'address', type: 'address' },
|
|
9257
|
+
{ name: 'currency1', internalType: 'address', type: 'address' },
|
|
8882
9258
|
],
|
|
8883
|
-
name: '
|
|
9259
|
+
name: 'CurrenciesOutOfOrderOrEqual',
|
|
8884
9260
|
},
|
|
8885
|
-
{ type: 'error', inputs: [], name: '
|
|
8886
|
-
{ type: 'error', inputs: [], name: '
|
|
9261
|
+
{ type: 'error', inputs: [], name: 'CurrencyNotSettled' },
|
|
9262
|
+
{ type: 'error', inputs: [], name: 'InvalidCaller' },
|
|
9263
|
+
{ type: 'error', inputs: [], name: 'ManagerLocked' },
|
|
9264
|
+
{ type: 'error', inputs: [], name: 'MustClearExactPositiveDelta' },
|
|
9265
|
+
{ type: 'error', inputs: [], name: 'NonzeroNativeValue' },
|
|
9266
|
+
{ type: 'error', inputs: [], name: 'PoolNotInitialized' },
|
|
9267
|
+
{ type: 'error', inputs: [], name: 'ProtocolFeeCurrencySynced' },
|
|
8887
9268
|
{
|
|
8888
9269
|
type: 'error',
|
|
8889
|
-
inputs: [
|
|
8890
|
-
|
|
8891
|
-
{ name: 'endTick', internalType: 'int24', type: 'int24' },
|
|
8892
|
-
{ name: 'isCurrency0', internalType: 'bool', type: 'bool' },
|
|
8893
|
-
],
|
|
8894
|
-
name: 'InvalidFillWindow',
|
|
9270
|
+
inputs: [{ name: 'fee', internalType: 'uint24', type: 'uint24' }],
|
|
9271
|
+
name: 'ProtocolFeeTooLarge',
|
|
8895
9272
|
},
|
|
8896
|
-
{ type: 'error', inputs: [], name: '
|
|
8897
|
-
{ type: 'error', inputs: [], name: 'InvalidPoolKey' },
|
|
8898
|
-
{ type: 'error', inputs: [], name: 'MaxFillCountCannotBeZero' },
|
|
9273
|
+
{ type: 'error', inputs: [], name: 'SwapAmountCannotBeZero' },
|
|
8899
9274
|
{
|
|
8900
9275
|
type: 'error',
|
|
8901
|
-
inputs: [
|
|
8902
|
-
|
|
8903
|
-
{ name: 'minAmountOut', internalType: 'uint256', type: 'uint256' },
|
|
8904
|
-
],
|
|
8905
|
-
name: 'MinAmountNotReached',
|
|
9276
|
+
inputs: [{ name: 'tickSpacing', internalType: 'int24', type: 'int24' }],
|
|
9277
|
+
name: 'TickSpacingTooLarge',
|
|
8906
9278
|
},
|
|
8907
|
-
{ type: 'error', inputs: [], name: 'NativeValueMismatch' },
|
|
8908
|
-
{ type: 'error', inputs: [], name: 'NotPoolManager' },
|
|
8909
|
-
{ type: 'error', inputs: [], name: 'OnlyZoraHook' },
|
|
8910
|
-
{ type: 'error', inputs: [], name: 'OrderClosed' },
|
|
8911
|
-
{ type: 'error', inputs: [], name: 'OrderFillable' },
|
|
8912
|
-
{ type: 'error', inputs: [], name: 'OrderNotMaker' },
|
|
8913
9279
|
{
|
|
8914
9280
|
type: 'error',
|
|
8915
|
-
inputs: [{ name: '
|
|
8916
|
-
name: '
|
|
9281
|
+
inputs: [{ name: 'tickSpacing', internalType: 'int24', type: 'int24' }],
|
|
9282
|
+
name: 'TickSpacingTooSmall',
|
|
8917
9283
|
},
|
|
9284
|
+
{ type: 'error', inputs: [], name: 'UnauthorizedDynamicLPFeeUpdate' },
|
|
9285
|
+
{ type: 'error', inputs: [], name: 'ETHNotAccepted' },
|
|
8918
9286
|
{
|
|
8919
9287
|
type: 'error',
|
|
8920
|
-
inputs: [
|
|
8921
|
-
|
|
9288
|
+
inputs: [
|
|
9289
|
+
{ name: 'commandIndex', internalType: 'uint256', type: 'uint256' },
|
|
9290
|
+
{ name: 'message', internalType: 'bytes', type: 'bytes' },
|
|
9291
|
+
],
|
|
9292
|
+
name: 'ExecutionFailed',
|
|
8922
9293
|
},
|
|
8923
|
-
{ type: 'error', inputs: [], name: '
|
|
8924
|
-
{ type: 'error', inputs: [], name: '
|
|
8925
|
-
{ type: 'error', inputs: [], name: '
|
|
8926
|
-
{ type: 'error', inputs: [], name: 'UnknownCallback' },
|
|
8927
|
-
{ type: 'error', inputs: [], name: 'UnlockedFillNotAllowed' },
|
|
8928
|
-
{ type: 'error', inputs: [], name: 'WethTransferFailed' },
|
|
8929
|
-
{ type: 'error', inputs: [], name: 'ZeroMaker' },
|
|
8930
|
-
{ type: 'error', inputs: [], name: 'ZeroOrderSize' },
|
|
8931
|
-
{ type: 'error', inputs: [], name: 'ZeroRealizedOrder' },
|
|
9294
|
+
{ type: 'error', inputs: [], name: 'InvalidEthSender' },
|
|
9295
|
+
{ type: 'error', inputs: [], name: 'LengthMismatch' },
|
|
9296
|
+
{ type: 'error', inputs: [], name: 'TransactionDeadlinePassed' },
|
|
8932
9297
|
] as const
|
|
8933
9298
|
|
|
8934
9299
|
/**
|
|
8935
|
-
* [__View Contract on Base Basescan__](https://basescan.org/address/
|
|
9300
|
+
* [__View Contract on Base Basescan__](https://basescan.org/address/0x1F35FB3E07e68bC1Bf020c2d59cBF91Ccf5736b8)
|
|
8936
9301
|
*/
|
|
8937
9302
|
export const devZoraRouterAddress = {
|
|
8938
|
-
8453: '
|
|
9303
|
+
8453: '0x1F35FB3E07e68bC1Bf020c2d59cBF91Ccf5736b8',
|
|
8939
9304
|
} as const
|
|
8940
9305
|
|
|
8941
9306
|
/**
|
|
8942
|
-
* [__View Contract on Base Basescan__](https://basescan.org/address/
|
|
9307
|
+
* [__View Contract on Base Basescan__](https://basescan.org/address/0x1F35FB3E07e68bC1Bf020c2d59cBF91Ccf5736b8)
|
|
8943
9308
|
*/
|
|
8944
9309
|
export const devZoraRouterConfig = {
|
|
8945
9310
|
address: devZoraRouterAddress,
|
|
@@ -12862,111 +13227,840 @@ export const uniswapV3SwapRouterABI = [
|
|
|
12862
13227
|
],
|
|
12863
13228
|
},
|
|
12864
13229
|
],
|
|
12865
|
-
name: 'exactInputSingle',
|
|
12866
|
-
outputs: [{ name: 'amountOut', internalType: 'uint256', type: 'uint256' }],
|
|
12867
|
-
stateMutability: 'payable',
|
|
13230
|
+
name: 'exactInputSingle',
|
|
13231
|
+
outputs: [{ name: 'amountOut', internalType: 'uint256', type: 'uint256' }],
|
|
13232
|
+
stateMutability: 'payable',
|
|
13233
|
+
},
|
|
13234
|
+
{
|
|
13235
|
+
type: 'function',
|
|
13236
|
+
inputs: [
|
|
13237
|
+
{
|
|
13238
|
+
name: 'params',
|
|
13239
|
+
internalType: 'struct ISwapRouter.ExactOutputParams',
|
|
13240
|
+
type: 'tuple',
|
|
13241
|
+
components: [
|
|
13242
|
+
{ name: 'path', internalType: 'bytes', type: 'bytes' },
|
|
13243
|
+
{ name: 'recipient', internalType: 'address', type: 'address' },
|
|
13244
|
+
{ name: 'amountOut', internalType: 'uint256', type: 'uint256' },
|
|
13245
|
+
{ name: 'amountInMaximum', internalType: 'uint256', type: 'uint256' },
|
|
13246
|
+
],
|
|
13247
|
+
},
|
|
13248
|
+
],
|
|
13249
|
+
name: 'exactOutput',
|
|
13250
|
+
outputs: [{ name: 'amountIn', internalType: 'uint256', type: 'uint256' }],
|
|
13251
|
+
stateMutability: 'payable',
|
|
13252
|
+
},
|
|
13253
|
+
{
|
|
13254
|
+
type: 'function',
|
|
13255
|
+
inputs: [
|
|
13256
|
+
{
|
|
13257
|
+
name: 'params',
|
|
13258
|
+
internalType: 'struct ISwapRouter.ExactOutputSingleParams',
|
|
13259
|
+
type: 'tuple',
|
|
13260
|
+
components: [
|
|
13261
|
+
{ name: 'tokenIn', internalType: 'address', type: 'address' },
|
|
13262
|
+
{ name: 'tokenOut', internalType: 'address', type: 'address' },
|
|
13263
|
+
{ name: 'fee', internalType: 'uint24', type: 'uint24' },
|
|
13264
|
+
{ name: 'recipient', internalType: 'address', type: 'address' },
|
|
13265
|
+
{ name: 'amountOut', internalType: 'uint256', type: 'uint256' },
|
|
13266
|
+
{ name: 'amountInMaximum', internalType: 'uint256', type: 'uint256' },
|
|
13267
|
+
{
|
|
13268
|
+
name: 'sqrtPriceLimitX96',
|
|
13269
|
+
internalType: 'uint160',
|
|
13270
|
+
type: 'uint160',
|
|
13271
|
+
},
|
|
13272
|
+
],
|
|
13273
|
+
},
|
|
13274
|
+
],
|
|
13275
|
+
name: 'exactOutputSingle',
|
|
13276
|
+
outputs: [{ name: 'amountIn', internalType: 'uint256', type: 'uint256' }],
|
|
13277
|
+
stateMutability: 'payable',
|
|
13278
|
+
},
|
|
13279
|
+
{
|
|
13280
|
+
type: 'function',
|
|
13281
|
+
inputs: [
|
|
13282
|
+
{ name: 'amount0Delta', internalType: 'int256', type: 'int256' },
|
|
13283
|
+
{ name: 'amount1Delta', internalType: 'int256', type: 'int256' },
|
|
13284
|
+
{ name: 'data', internalType: 'bytes', type: 'bytes' },
|
|
13285
|
+
],
|
|
13286
|
+
name: 'uniswapV3SwapCallback',
|
|
13287
|
+
outputs: [],
|
|
13288
|
+
stateMutability: 'nonpayable',
|
|
13289
|
+
},
|
|
13290
|
+
] as const
|
|
13291
|
+
|
|
13292
|
+
/**
|
|
13293
|
+
* - [__View Contract on Ethereum Etherscan__](https://etherscan.io/address/0x68b3465833fb72A70ecDF485E0e4C7bD8665Fc45)
|
|
13294
|
+
* - [__View Contract on Op Mainnet Optimism Explorer__](https://optimistic.etherscan.io/address/0x68b3465833fb72A70ecDF485E0e4C7bD8665Fc45)
|
|
13295
|
+
* - [__View Contract on Base Basescan__](https://basescan.org/address/0x2626664c2603336E57B271c5C0b26F421741e481)
|
|
13296
|
+
* - [__View Contract on Arbitrum One Arbiscan__](https://arbiscan.io/address/0x68b3465833fb72A70ecDF485E0e4C7bD8665Fc45)
|
|
13297
|
+
* - [__View Contract on Blast Blastscan__](https://blastscan.io/address/0x549FEB8c9bd4c12Ad2AB27022dA12492aC452B66)
|
|
13298
|
+
* - [__View Contract on Base Sepolia Basescan__](https://sepolia.basescan.org/address/0x94cC0AaC535CCDB3C01d6787D6413C739ae12bc4)
|
|
13299
|
+
* - [__View Contract on Arbitrum Sepolia Arbiscan__](https://sepolia.arbiscan.io/address/0x101F443B4d1b059569D643917553c771E1b9663E)
|
|
13300
|
+
* - [__View Contract on Zora Explorer__](https://explorer.zora.energy/address/0x7De04c96BE5159c3b5CeffC82aa176dc81281557)
|
|
13301
|
+
* - [__View Contract on Sepolia Etherscan__](https://sepolia.etherscan.io/address/0x3bFA4769FB09eefC5a80d6E87c3B9C650f7Ae48E)
|
|
13302
|
+
* - [__View Contract on Op Sepolia Blockscout__](https://optimism-sepolia.blockscout.com/address/0x94cC0AaC535CCDB3C01d6787D6413C739ae12bc4)
|
|
13303
|
+
* - [__View Contract on Zora Sepolia Zora Sepolia Explorer__](https://sepolia.explorer.zora.energy//address/0x6B36d761981d82B1e07cF3c4daF4cB4615c4850a)
|
|
13304
|
+
*/
|
|
13305
|
+
export const uniswapV3SwapRouterAddress = {
|
|
13306
|
+
1: '0x68b3465833fb72A70ecDF485E0e4C7bD8665Fc45',
|
|
13307
|
+
10: '0x68b3465833fb72A70ecDF485E0e4C7bD8665Fc45',
|
|
13308
|
+
8453: '0x2626664c2603336E57B271c5C0b26F421741e481',
|
|
13309
|
+
42161: '0x68b3465833fb72A70ecDF485E0e4C7bD8665Fc45',
|
|
13310
|
+
81457: '0x549FEB8c9bd4c12Ad2AB27022dA12492aC452B66',
|
|
13311
|
+
84532: '0x94cC0AaC535CCDB3C01d6787D6413C739ae12bc4',
|
|
13312
|
+
421614: '0x101F443B4d1b059569D643917553c771E1b9663E',
|
|
13313
|
+
7777777: '0x7De04c96BE5159c3b5CeffC82aa176dc81281557',
|
|
13314
|
+
11155111: '0x3bFA4769FB09eefC5a80d6E87c3B9C650f7Ae48E',
|
|
13315
|
+
11155420: '0x94cC0AaC535CCDB3C01d6787D6413C739ae12bc4',
|
|
13316
|
+
999999999: '0x6B36d761981d82B1e07cF3c4daF4cB4615c4850a',
|
|
13317
|
+
} as const
|
|
13318
|
+
|
|
13319
|
+
/**
|
|
13320
|
+
* - [__View Contract on Ethereum Etherscan__](https://etherscan.io/address/0x68b3465833fb72A70ecDF485E0e4C7bD8665Fc45)
|
|
13321
|
+
* - [__View Contract on Op Mainnet Optimism Explorer__](https://optimistic.etherscan.io/address/0x68b3465833fb72A70ecDF485E0e4C7bD8665Fc45)
|
|
13322
|
+
* - [__View Contract on Base Basescan__](https://basescan.org/address/0x2626664c2603336E57B271c5C0b26F421741e481)
|
|
13323
|
+
* - [__View Contract on Arbitrum One Arbiscan__](https://arbiscan.io/address/0x68b3465833fb72A70ecDF485E0e4C7bD8665Fc45)
|
|
13324
|
+
* - [__View Contract on Blast Blastscan__](https://blastscan.io/address/0x549FEB8c9bd4c12Ad2AB27022dA12492aC452B66)
|
|
13325
|
+
* - [__View Contract on Base Sepolia Basescan__](https://sepolia.basescan.org/address/0x94cC0AaC535CCDB3C01d6787D6413C739ae12bc4)
|
|
13326
|
+
* - [__View Contract on Arbitrum Sepolia Arbiscan__](https://sepolia.arbiscan.io/address/0x101F443B4d1b059569D643917553c771E1b9663E)
|
|
13327
|
+
* - [__View Contract on Zora Explorer__](https://explorer.zora.energy/address/0x7De04c96BE5159c3b5CeffC82aa176dc81281557)
|
|
13328
|
+
* - [__View Contract on Sepolia Etherscan__](https://sepolia.etherscan.io/address/0x3bFA4769FB09eefC5a80d6E87c3B9C650f7Ae48E)
|
|
13329
|
+
* - [__View Contract on Op Sepolia Blockscout__](https://optimism-sepolia.blockscout.com/address/0x94cC0AaC535CCDB3C01d6787D6413C739ae12bc4)
|
|
13330
|
+
* - [__View Contract on Zora Sepolia Zora Sepolia Explorer__](https://sepolia.explorer.zora.energy//address/0x6B36d761981d82B1e07cF3c4daF4cB4615c4850a)
|
|
13331
|
+
*/
|
|
13332
|
+
export const uniswapV3SwapRouterConfig = {
|
|
13333
|
+
address: uniswapV3SwapRouterAddress,
|
|
13334
|
+
abi: uniswapV3SwapRouterABI,
|
|
13335
|
+
} as const
|
|
13336
|
+
|
|
13337
|
+
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
|
13338
|
+
// UniswapV4PoolManager
|
|
13339
|
+
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
|
13340
|
+
|
|
13341
|
+
/**
|
|
13342
|
+
* - [__View Contract on Base Basescan__](https://basescan.org/address/0x498581ff718922c3f8e6a244956af099b2652b2b)
|
|
13343
|
+
* - [__View Contract on Base Sepolia Basescan__](https://sepolia.basescan.org/address/0x05E73354cFDd6745C338b50BcFDfA3Aa6fA03408)
|
|
13344
|
+
*/
|
|
13345
|
+
export const uniswapV4PoolManagerABI = [
|
|
13346
|
+
{
|
|
13347
|
+
type: 'function',
|
|
13348
|
+
inputs: [
|
|
13349
|
+
{ name: 'owner', internalType: 'address', type: 'address' },
|
|
13350
|
+
{ name: 'spender', internalType: 'address', type: 'address' },
|
|
13351
|
+
{ name: 'id', internalType: 'uint256', type: 'uint256' },
|
|
13352
|
+
],
|
|
13353
|
+
name: 'allowance',
|
|
13354
|
+
outputs: [{ name: 'amount', internalType: 'uint256', type: 'uint256' }],
|
|
13355
|
+
stateMutability: 'view',
|
|
13356
|
+
},
|
|
13357
|
+
{
|
|
13358
|
+
type: 'function',
|
|
13359
|
+
inputs: [
|
|
13360
|
+
{ name: 'spender', internalType: 'address', type: 'address' },
|
|
13361
|
+
{ name: 'id', internalType: 'uint256', type: 'uint256' },
|
|
13362
|
+
{ name: 'amount', internalType: 'uint256', type: 'uint256' },
|
|
13363
|
+
],
|
|
13364
|
+
name: 'approve',
|
|
13365
|
+
outputs: [{ name: '', internalType: 'bool', type: 'bool' }],
|
|
13366
|
+
stateMutability: 'nonpayable',
|
|
13367
|
+
},
|
|
13368
|
+
{
|
|
13369
|
+
type: 'function',
|
|
13370
|
+
inputs: [
|
|
13371
|
+
{ name: 'owner', internalType: 'address', type: 'address' },
|
|
13372
|
+
{ name: 'id', internalType: 'uint256', type: 'uint256' },
|
|
13373
|
+
],
|
|
13374
|
+
name: 'balanceOf',
|
|
13375
|
+
outputs: [{ name: 'amount', internalType: 'uint256', type: 'uint256' }],
|
|
13376
|
+
stateMutability: 'view',
|
|
13377
|
+
},
|
|
13378
|
+
{
|
|
13379
|
+
type: 'function',
|
|
13380
|
+
inputs: [
|
|
13381
|
+
{ name: 'from', internalType: 'address', type: 'address' },
|
|
13382
|
+
{ name: 'id', internalType: 'uint256', type: 'uint256' },
|
|
13383
|
+
{ name: 'amount', internalType: 'uint256', type: 'uint256' },
|
|
13384
|
+
],
|
|
13385
|
+
name: 'burn',
|
|
13386
|
+
outputs: [],
|
|
13387
|
+
stateMutability: 'nonpayable',
|
|
13388
|
+
},
|
|
13389
|
+
{
|
|
13390
|
+
type: 'function',
|
|
13391
|
+
inputs: [
|
|
13392
|
+
{ name: 'currency', internalType: 'Currency', type: 'address' },
|
|
13393
|
+
{ name: 'amount', internalType: 'uint256', type: 'uint256' },
|
|
13394
|
+
],
|
|
13395
|
+
name: 'clear',
|
|
13396
|
+
outputs: [],
|
|
13397
|
+
stateMutability: 'nonpayable',
|
|
13398
|
+
},
|
|
13399
|
+
{
|
|
13400
|
+
type: 'function',
|
|
13401
|
+
inputs: [
|
|
13402
|
+
{ name: 'recipient', internalType: 'address', type: 'address' },
|
|
13403
|
+
{ name: 'currency', internalType: 'Currency', type: 'address' },
|
|
13404
|
+
{ name: 'amount', internalType: 'uint256', type: 'uint256' },
|
|
13405
|
+
],
|
|
13406
|
+
name: 'collectProtocolFees',
|
|
13407
|
+
outputs: [
|
|
13408
|
+
{ name: 'amountCollected', internalType: 'uint256', type: 'uint256' },
|
|
13409
|
+
],
|
|
13410
|
+
stateMutability: 'nonpayable',
|
|
13411
|
+
},
|
|
13412
|
+
{
|
|
13413
|
+
type: 'function',
|
|
13414
|
+
inputs: [
|
|
13415
|
+
{
|
|
13416
|
+
name: 'key',
|
|
13417
|
+
internalType: 'struct PoolKey',
|
|
13418
|
+
type: 'tuple',
|
|
13419
|
+
components: [
|
|
13420
|
+
{ name: 'currency0', internalType: 'Currency', type: 'address' },
|
|
13421
|
+
{ name: 'currency1', internalType: 'Currency', type: 'address' },
|
|
13422
|
+
{ name: 'fee', internalType: 'uint24', type: 'uint24' },
|
|
13423
|
+
{ name: 'tickSpacing', internalType: 'int24', type: 'int24' },
|
|
13424
|
+
{ name: 'hooks', internalType: 'contract IHooks', type: 'address' },
|
|
13425
|
+
],
|
|
13426
|
+
},
|
|
13427
|
+
{ name: 'amount0', internalType: 'uint256', type: 'uint256' },
|
|
13428
|
+
{ name: 'amount1', internalType: 'uint256', type: 'uint256' },
|
|
13429
|
+
{ name: 'hookData', internalType: 'bytes', type: 'bytes' },
|
|
13430
|
+
],
|
|
13431
|
+
name: 'donate',
|
|
13432
|
+
outputs: [{ name: '', internalType: 'BalanceDelta', type: 'int256' }],
|
|
13433
|
+
stateMutability: 'nonpayable',
|
|
13434
|
+
},
|
|
13435
|
+
{
|
|
13436
|
+
type: 'function',
|
|
13437
|
+
inputs: [{ name: 'slot', internalType: 'bytes32', type: 'bytes32' }],
|
|
13438
|
+
name: 'extsload',
|
|
13439
|
+
outputs: [{ name: 'value', internalType: 'bytes32', type: 'bytes32' }],
|
|
13440
|
+
stateMutability: 'view',
|
|
13441
|
+
},
|
|
13442
|
+
{
|
|
13443
|
+
type: 'function',
|
|
13444
|
+
inputs: [
|
|
13445
|
+
{ name: 'startSlot', internalType: 'bytes32', type: 'bytes32' },
|
|
13446
|
+
{ name: 'nSlots', internalType: 'uint256', type: 'uint256' },
|
|
13447
|
+
],
|
|
13448
|
+
name: 'extsload',
|
|
13449
|
+
outputs: [{ name: 'values', internalType: 'bytes32[]', type: 'bytes32[]' }],
|
|
13450
|
+
stateMutability: 'view',
|
|
13451
|
+
},
|
|
13452
|
+
{
|
|
13453
|
+
type: 'function',
|
|
13454
|
+
inputs: [{ name: 'slots', internalType: 'bytes32[]', type: 'bytes32[]' }],
|
|
13455
|
+
name: 'extsload',
|
|
13456
|
+
outputs: [{ name: 'values', internalType: 'bytes32[]', type: 'bytes32[]' }],
|
|
13457
|
+
stateMutability: 'view',
|
|
13458
|
+
},
|
|
13459
|
+
{
|
|
13460
|
+
type: 'function',
|
|
13461
|
+
inputs: [{ name: 'slots', internalType: 'bytes32[]', type: 'bytes32[]' }],
|
|
13462
|
+
name: 'exttload',
|
|
13463
|
+
outputs: [{ name: 'values', internalType: 'bytes32[]', type: 'bytes32[]' }],
|
|
13464
|
+
stateMutability: 'view',
|
|
13465
|
+
},
|
|
13466
|
+
{
|
|
13467
|
+
type: 'function',
|
|
13468
|
+
inputs: [{ name: 'slot', internalType: 'bytes32', type: 'bytes32' }],
|
|
13469
|
+
name: 'exttload',
|
|
13470
|
+
outputs: [{ name: 'value', internalType: 'bytes32', type: 'bytes32' }],
|
|
13471
|
+
stateMutability: 'view',
|
|
13472
|
+
},
|
|
13473
|
+
{
|
|
13474
|
+
type: 'function',
|
|
13475
|
+
inputs: [
|
|
13476
|
+
{
|
|
13477
|
+
name: 'key',
|
|
13478
|
+
internalType: 'struct PoolKey',
|
|
13479
|
+
type: 'tuple',
|
|
13480
|
+
components: [
|
|
13481
|
+
{ name: 'currency0', internalType: 'Currency', type: 'address' },
|
|
13482
|
+
{ name: 'currency1', internalType: 'Currency', type: 'address' },
|
|
13483
|
+
{ name: 'fee', internalType: 'uint24', type: 'uint24' },
|
|
13484
|
+
{ name: 'tickSpacing', internalType: 'int24', type: 'int24' },
|
|
13485
|
+
{ name: 'hooks', internalType: 'contract IHooks', type: 'address' },
|
|
13486
|
+
],
|
|
13487
|
+
},
|
|
13488
|
+
{ name: 'sqrtPriceX96', internalType: 'uint160', type: 'uint160' },
|
|
13489
|
+
],
|
|
13490
|
+
name: 'initialize',
|
|
13491
|
+
outputs: [{ name: 'tick', internalType: 'int24', type: 'int24' }],
|
|
13492
|
+
stateMutability: 'nonpayable',
|
|
13493
|
+
},
|
|
13494
|
+
{
|
|
13495
|
+
type: 'function',
|
|
13496
|
+
inputs: [
|
|
13497
|
+
{ name: 'owner', internalType: 'address', type: 'address' },
|
|
13498
|
+
{ name: 'spender', internalType: 'address', type: 'address' },
|
|
13499
|
+
],
|
|
13500
|
+
name: 'isOperator',
|
|
13501
|
+
outputs: [{ name: 'approved', internalType: 'bool', type: 'bool' }],
|
|
13502
|
+
stateMutability: 'view',
|
|
13503
|
+
},
|
|
13504
|
+
{
|
|
13505
|
+
type: 'function',
|
|
13506
|
+
inputs: [
|
|
13507
|
+
{ name: 'to', internalType: 'address', type: 'address' },
|
|
13508
|
+
{ name: 'id', internalType: 'uint256', type: 'uint256' },
|
|
13509
|
+
{ name: 'amount', internalType: 'uint256', type: 'uint256' },
|
|
13510
|
+
],
|
|
13511
|
+
name: 'mint',
|
|
13512
|
+
outputs: [],
|
|
13513
|
+
stateMutability: 'nonpayable',
|
|
13514
|
+
},
|
|
13515
|
+
{
|
|
13516
|
+
type: 'function',
|
|
13517
|
+
inputs: [
|
|
13518
|
+
{
|
|
13519
|
+
name: 'key',
|
|
13520
|
+
internalType: 'struct PoolKey',
|
|
13521
|
+
type: 'tuple',
|
|
13522
|
+
components: [
|
|
13523
|
+
{ name: 'currency0', internalType: 'Currency', type: 'address' },
|
|
13524
|
+
{ name: 'currency1', internalType: 'Currency', type: 'address' },
|
|
13525
|
+
{ name: 'fee', internalType: 'uint24', type: 'uint24' },
|
|
13526
|
+
{ name: 'tickSpacing', internalType: 'int24', type: 'int24' },
|
|
13527
|
+
{ name: 'hooks', internalType: 'contract IHooks', type: 'address' },
|
|
13528
|
+
],
|
|
13529
|
+
},
|
|
13530
|
+
{
|
|
13531
|
+
name: 'params',
|
|
13532
|
+
internalType: 'struct ModifyLiquidityParams',
|
|
13533
|
+
type: 'tuple',
|
|
13534
|
+
components: [
|
|
13535
|
+
{ name: 'tickLower', internalType: 'int24', type: 'int24' },
|
|
13536
|
+
{ name: 'tickUpper', internalType: 'int24', type: 'int24' },
|
|
13537
|
+
{ name: 'liquidityDelta', internalType: 'int256', type: 'int256' },
|
|
13538
|
+
{ name: 'salt', internalType: 'bytes32', type: 'bytes32' },
|
|
13539
|
+
],
|
|
13540
|
+
},
|
|
13541
|
+
{ name: 'hookData', internalType: 'bytes', type: 'bytes' },
|
|
13542
|
+
],
|
|
13543
|
+
name: 'modifyLiquidity',
|
|
13544
|
+
outputs: [
|
|
13545
|
+
{ name: 'callerDelta', internalType: 'BalanceDelta', type: 'int256' },
|
|
13546
|
+
{ name: 'feesAccrued', internalType: 'BalanceDelta', type: 'int256' },
|
|
13547
|
+
],
|
|
13548
|
+
stateMutability: 'nonpayable',
|
|
13549
|
+
},
|
|
13550
|
+
{
|
|
13551
|
+
type: 'function',
|
|
13552
|
+
inputs: [],
|
|
13553
|
+
name: 'protocolFeeController',
|
|
13554
|
+
outputs: [{ name: '', internalType: 'address', type: 'address' }],
|
|
13555
|
+
stateMutability: 'view',
|
|
13556
|
+
},
|
|
13557
|
+
{
|
|
13558
|
+
type: 'function',
|
|
13559
|
+
inputs: [{ name: 'currency', internalType: 'Currency', type: 'address' }],
|
|
13560
|
+
name: 'protocolFeesAccrued',
|
|
13561
|
+
outputs: [{ name: 'amount', internalType: 'uint256', type: 'uint256' }],
|
|
13562
|
+
stateMutability: 'view',
|
|
13563
|
+
},
|
|
13564
|
+
{
|
|
13565
|
+
type: 'function',
|
|
13566
|
+
inputs: [
|
|
13567
|
+
{ name: 'operator', internalType: 'address', type: 'address' },
|
|
13568
|
+
{ name: 'approved', internalType: 'bool', type: 'bool' },
|
|
13569
|
+
],
|
|
13570
|
+
name: 'setOperator',
|
|
13571
|
+
outputs: [{ name: '', internalType: 'bool', type: 'bool' }],
|
|
13572
|
+
stateMutability: 'nonpayable',
|
|
13573
|
+
},
|
|
13574
|
+
{
|
|
13575
|
+
type: 'function',
|
|
13576
|
+
inputs: [
|
|
13577
|
+
{
|
|
13578
|
+
name: 'key',
|
|
13579
|
+
internalType: 'struct PoolKey',
|
|
13580
|
+
type: 'tuple',
|
|
13581
|
+
components: [
|
|
13582
|
+
{ name: 'currency0', internalType: 'Currency', type: 'address' },
|
|
13583
|
+
{ name: 'currency1', internalType: 'Currency', type: 'address' },
|
|
13584
|
+
{ name: 'fee', internalType: 'uint24', type: 'uint24' },
|
|
13585
|
+
{ name: 'tickSpacing', internalType: 'int24', type: 'int24' },
|
|
13586
|
+
{ name: 'hooks', internalType: 'contract IHooks', type: 'address' },
|
|
13587
|
+
],
|
|
13588
|
+
},
|
|
13589
|
+
{ name: 'newProtocolFee', internalType: 'uint24', type: 'uint24' },
|
|
13590
|
+
],
|
|
13591
|
+
name: 'setProtocolFee',
|
|
13592
|
+
outputs: [],
|
|
13593
|
+
stateMutability: 'nonpayable',
|
|
13594
|
+
},
|
|
13595
|
+
{
|
|
13596
|
+
type: 'function',
|
|
13597
|
+
inputs: [{ name: 'controller', internalType: 'address', type: 'address' }],
|
|
13598
|
+
name: 'setProtocolFeeController',
|
|
13599
|
+
outputs: [],
|
|
13600
|
+
stateMutability: 'nonpayable',
|
|
13601
|
+
},
|
|
13602
|
+
{
|
|
13603
|
+
type: 'function',
|
|
13604
|
+
inputs: [],
|
|
13605
|
+
name: 'settle',
|
|
13606
|
+
outputs: [{ name: 'paid', internalType: 'uint256', type: 'uint256' }],
|
|
13607
|
+
stateMutability: 'payable',
|
|
13608
|
+
},
|
|
13609
|
+
{
|
|
13610
|
+
type: 'function',
|
|
13611
|
+
inputs: [{ name: 'recipient', internalType: 'address', type: 'address' }],
|
|
13612
|
+
name: 'settleFor',
|
|
13613
|
+
outputs: [{ name: 'paid', internalType: 'uint256', type: 'uint256' }],
|
|
13614
|
+
stateMutability: 'payable',
|
|
13615
|
+
},
|
|
13616
|
+
{
|
|
13617
|
+
type: 'function',
|
|
13618
|
+
inputs: [
|
|
13619
|
+
{
|
|
13620
|
+
name: 'key',
|
|
13621
|
+
internalType: 'struct PoolKey',
|
|
13622
|
+
type: 'tuple',
|
|
13623
|
+
components: [
|
|
13624
|
+
{ name: 'currency0', internalType: 'Currency', type: 'address' },
|
|
13625
|
+
{ name: 'currency1', internalType: 'Currency', type: 'address' },
|
|
13626
|
+
{ name: 'fee', internalType: 'uint24', type: 'uint24' },
|
|
13627
|
+
{ name: 'tickSpacing', internalType: 'int24', type: 'int24' },
|
|
13628
|
+
{ name: 'hooks', internalType: 'contract IHooks', type: 'address' },
|
|
13629
|
+
],
|
|
13630
|
+
},
|
|
13631
|
+
{
|
|
13632
|
+
name: 'params',
|
|
13633
|
+
internalType: 'struct SwapParams',
|
|
13634
|
+
type: 'tuple',
|
|
13635
|
+
components: [
|
|
13636
|
+
{ name: 'zeroForOne', internalType: 'bool', type: 'bool' },
|
|
13637
|
+
{ name: 'amountSpecified', internalType: 'int256', type: 'int256' },
|
|
13638
|
+
{
|
|
13639
|
+
name: 'sqrtPriceLimitX96',
|
|
13640
|
+
internalType: 'uint160',
|
|
13641
|
+
type: 'uint160',
|
|
13642
|
+
},
|
|
13643
|
+
],
|
|
13644
|
+
},
|
|
13645
|
+
{ name: 'hookData', internalType: 'bytes', type: 'bytes' },
|
|
13646
|
+
],
|
|
13647
|
+
name: 'swap',
|
|
13648
|
+
outputs: [
|
|
13649
|
+
{ name: 'swapDelta', internalType: 'BalanceDelta', type: 'int256' },
|
|
13650
|
+
],
|
|
13651
|
+
stateMutability: 'nonpayable',
|
|
13652
|
+
},
|
|
13653
|
+
{
|
|
13654
|
+
type: 'function',
|
|
13655
|
+
inputs: [{ name: 'currency', internalType: 'Currency', type: 'address' }],
|
|
13656
|
+
name: 'sync',
|
|
13657
|
+
outputs: [],
|
|
13658
|
+
stateMutability: 'nonpayable',
|
|
13659
|
+
},
|
|
13660
|
+
{
|
|
13661
|
+
type: 'function',
|
|
13662
|
+
inputs: [
|
|
13663
|
+
{ name: 'currency', internalType: 'Currency', type: 'address' },
|
|
13664
|
+
{ name: 'to', internalType: 'address', type: 'address' },
|
|
13665
|
+
{ name: 'amount', internalType: 'uint256', type: 'uint256' },
|
|
13666
|
+
],
|
|
13667
|
+
name: 'take',
|
|
13668
|
+
outputs: [],
|
|
13669
|
+
stateMutability: 'nonpayable',
|
|
13670
|
+
},
|
|
13671
|
+
{
|
|
13672
|
+
type: 'function',
|
|
13673
|
+
inputs: [
|
|
13674
|
+
{ name: 'receiver', internalType: 'address', type: 'address' },
|
|
13675
|
+
{ name: 'id', internalType: 'uint256', type: 'uint256' },
|
|
13676
|
+
{ name: 'amount', internalType: 'uint256', type: 'uint256' },
|
|
13677
|
+
],
|
|
13678
|
+
name: 'transfer',
|
|
13679
|
+
outputs: [{ name: '', internalType: 'bool', type: 'bool' }],
|
|
13680
|
+
stateMutability: 'nonpayable',
|
|
13681
|
+
},
|
|
13682
|
+
{
|
|
13683
|
+
type: 'function',
|
|
13684
|
+
inputs: [
|
|
13685
|
+
{ name: 'sender', internalType: 'address', type: 'address' },
|
|
13686
|
+
{ name: 'receiver', internalType: 'address', type: 'address' },
|
|
13687
|
+
{ name: 'id', internalType: 'uint256', type: 'uint256' },
|
|
13688
|
+
{ name: 'amount', internalType: 'uint256', type: 'uint256' },
|
|
13689
|
+
],
|
|
13690
|
+
name: 'transferFrom',
|
|
13691
|
+
outputs: [{ name: '', internalType: 'bool', type: 'bool' }],
|
|
13692
|
+
stateMutability: 'nonpayable',
|
|
13693
|
+
},
|
|
13694
|
+
{
|
|
13695
|
+
type: 'function',
|
|
13696
|
+
inputs: [{ name: 'data', internalType: 'bytes', type: 'bytes' }],
|
|
13697
|
+
name: 'unlock',
|
|
13698
|
+
outputs: [{ name: '', internalType: 'bytes', type: 'bytes' }],
|
|
13699
|
+
stateMutability: 'nonpayable',
|
|
13700
|
+
},
|
|
13701
|
+
{
|
|
13702
|
+
type: 'function',
|
|
13703
|
+
inputs: [
|
|
13704
|
+
{
|
|
13705
|
+
name: 'key',
|
|
13706
|
+
internalType: 'struct PoolKey',
|
|
13707
|
+
type: 'tuple',
|
|
13708
|
+
components: [
|
|
13709
|
+
{ name: 'currency0', internalType: 'Currency', type: 'address' },
|
|
13710
|
+
{ name: 'currency1', internalType: 'Currency', type: 'address' },
|
|
13711
|
+
{ name: 'fee', internalType: 'uint24', type: 'uint24' },
|
|
13712
|
+
{ name: 'tickSpacing', internalType: 'int24', type: 'int24' },
|
|
13713
|
+
{ name: 'hooks', internalType: 'contract IHooks', type: 'address' },
|
|
13714
|
+
],
|
|
13715
|
+
},
|
|
13716
|
+
{ name: 'newDynamicLPFee', internalType: 'uint24', type: 'uint24' },
|
|
13717
|
+
],
|
|
13718
|
+
name: 'updateDynamicLPFee',
|
|
13719
|
+
outputs: [],
|
|
13720
|
+
stateMutability: 'nonpayable',
|
|
13721
|
+
},
|
|
13722
|
+
{
|
|
13723
|
+
type: 'event',
|
|
13724
|
+
anonymous: false,
|
|
13725
|
+
inputs: [
|
|
13726
|
+
{
|
|
13727
|
+
name: 'owner',
|
|
13728
|
+
internalType: 'address',
|
|
13729
|
+
type: 'address',
|
|
13730
|
+
indexed: true,
|
|
13731
|
+
},
|
|
13732
|
+
{
|
|
13733
|
+
name: 'spender',
|
|
13734
|
+
internalType: 'address',
|
|
13735
|
+
type: 'address',
|
|
13736
|
+
indexed: true,
|
|
13737
|
+
},
|
|
13738
|
+
{ name: 'id', internalType: 'uint256', type: 'uint256', indexed: true },
|
|
13739
|
+
{
|
|
13740
|
+
name: 'amount',
|
|
13741
|
+
internalType: 'uint256',
|
|
13742
|
+
type: 'uint256',
|
|
13743
|
+
indexed: false,
|
|
13744
|
+
},
|
|
13745
|
+
],
|
|
13746
|
+
name: 'Approval',
|
|
13747
|
+
},
|
|
13748
|
+
{
|
|
13749
|
+
type: 'event',
|
|
13750
|
+
anonymous: false,
|
|
13751
|
+
inputs: [
|
|
13752
|
+
{ name: 'id', internalType: 'PoolId', type: 'bytes32', indexed: true },
|
|
13753
|
+
{
|
|
13754
|
+
name: 'sender',
|
|
13755
|
+
internalType: 'address',
|
|
13756
|
+
type: 'address',
|
|
13757
|
+
indexed: true,
|
|
13758
|
+
},
|
|
13759
|
+
{
|
|
13760
|
+
name: 'amount0',
|
|
13761
|
+
internalType: 'uint256',
|
|
13762
|
+
type: 'uint256',
|
|
13763
|
+
indexed: false,
|
|
13764
|
+
},
|
|
13765
|
+
{
|
|
13766
|
+
name: 'amount1',
|
|
13767
|
+
internalType: 'uint256',
|
|
13768
|
+
type: 'uint256',
|
|
13769
|
+
indexed: false,
|
|
13770
|
+
},
|
|
13771
|
+
],
|
|
13772
|
+
name: 'Donate',
|
|
13773
|
+
},
|
|
13774
|
+
{
|
|
13775
|
+
type: 'event',
|
|
13776
|
+
anonymous: false,
|
|
13777
|
+
inputs: [
|
|
13778
|
+
{ name: 'id', internalType: 'PoolId', type: 'bytes32', indexed: true },
|
|
13779
|
+
{
|
|
13780
|
+
name: 'currency0',
|
|
13781
|
+
internalType: 'Currency',
|
|
13782
|
+
type: 'address',
|
|
13783
|
+
indexed: true,
|
|
13784
|
+
},
|
|
13785
|
+
{
|
|
13786
|
+
name: 'currency1',
|
|
13787
|
+
internalType: 'Currency',
|
|
13788
|
+
type: 'address',
|
|
13789
|
+
indexed: true,
|
|
13790
|
+
},
|
|
13791
|
+
{ name: 'fee', internalType: 'uint24', type: 'uint24', indexed: false },
|
|
13792
|
+
{
|
|
13793
|
+
name: 'tickSpacing',
|
|
13794
|
+
internalType: 'int24',
|
|
13795
|
+
type: 'int24',
|
|
13796
|
+
indexed: false,
|
|
13797
|
+
},
|
|
13798
|
+
{
|
|
13799
|
+
name: 'hooks',
|
|
13800
|
+
internalType: 'contract IHooks',
|
|
13801
|
+
type: 'address',
|
|
13802
|
+
indexed: false,
|
|
13803
|
+
},
|
|
13804
|
+
{
|
|
13805
|
+
name: 'sqrtPriceX96',
|
|
13806
|
+
internalType: 'uint160',
|
|
13807
|
+
type: 'uint160',
|
|
13808
|
+
indexed: false,
|
|
13809
|
+
},
|
|
13810
|
+
{ name: 'tick', internalType: 'int24', type: 'int24', indexed: false },
|
|
13811
|
+
],
|
|
13812
|
+
name: 'Initialize',
|
|
13813
|
+
},
|
|
13814
|
+
{
|
|
13815
|
+
type: 'event',
|
|
13816
|
+
anonymous: false,
|
|
13817
|
+
inputs: [
|
|
13818
|
+
{ name: 'id', internalType: 'PoolId', type: 'bytes32', indexed: true },
|
|
13819
|
+
{
|
|
13820
|
+
name: 'sender',
|
|
13821
|
+
internalType: 'address',
|
|
13822
|
+
type: 'address',
|
|
13823
|
+
indexed: true,
|
|
13824
|
+
},
|
|
13825
|
+
{
|
|
13826
|
+
name: 'tickLower',
|
|
13827
|
+
internalType: 'int24',
|
|
13828
|
+
type: 'int24',
|
|
13829
|
+
indexed: false,
|
|
13830
|
+
},
|
|
13831
|
+
{
|
|
13832
|
+
name: 'tickUpper',
|
|
13833
|
+
internalType: 'int24',
|
|
13834
|
+
type: 'int24',
|
|
13835
|
+
indexed: false,
|
|
13836
|
+
},
|
|
13837
|
+
{
|
|
13838
|
+
name: 'liquidityDelta',
|
|
13839
|
+
internalType: 'int256',
|
|
13840
|
+
type: 'int256',
|
|
13841
|
+
indexed: false,
|
|
13842
|
+
},
|
|
13843
|
+
{
|
|
13844
|
+
name: 'salt',
|
|
13845
|
+
internalType: 'bytes32',
|
|
13846
|
+
type: 'bytes32',
|
|
13847
|
+
indexed: false,
|
|
13848
|
+
},
|
|
13849
|
+
],
|
|
13850
|
+
name: 'ModifyLiquidity',
|
|
13851
|
+
},
|
|
13852
|
+
{
|
|
13853
|
+
type: 'event',
|
|
13854
|
+
anonymous: false,
|
|
13855
|
+
inputs: [
|
|
13856
|
+
{
|
|
13857
|
+
name: 'owner',
|
|
13858
|
+
internalType: 'address',
|
|
13859
|
+
type: 'address',
|
|
13860
|
+
indexed: true,
|
|
13861
|
+
},
|
|
13862
|
+
{
|
|
13863
|
+
name: 'operator',
|
|
13864
|
+
internalType: 'address',
|
|
13865
|
+
type: 'address',
|
|
13866
|
+
indexed: true,
|
|
13867
|
+
},
|
|
13868
|
+
{ name: 'approved', internalType: 'bool', type: 'bool', indexed: false },
|
|
13869
|
+
],
|
|
13870
|
+
name: 'OperatorSet',
|
|
13871
|
+
},
|
|
13872
|
+
{
|
|
13873
|
+
type: 'event',
|
|
13874
|
+
anonymous: false,
|
|
13875
|
+
inputs: [
|
|
13876
|
+
{
|
|
13877
|
+
name: 'protocolFeeController',
|
|
13878
|
+
internalType: 'address',
|
|
13879
|
+
type: 'address',
|
|
13880
|
+
indexed: true,
|
|
13881
|
+
},
|
|
13882
|
+
],
|
|
13883
|
+
name: 'ProtocolFeeControllerUpdated',
|
|
13884
|
+
},
|
|
13885
|
+
{
|
|
13886
|
+
type: 'event',
|
|
13887
|
+
anonymous: false,
|
|
13888
|
+
inputs: [
|
|
13889
|
+
{ name: 'id', internalType: 'PoolId', type: 'bytes32', indexed: true },
|
|
13890
|
+
{
|
|
13891
|
+
name: 'protocolFee',
|
|
13892
|
+
internalType: 'uint24',
|
|
13893
|
+
type: 'uint24',
|
|
13894
|
+
indexed: false,
|
|
13895
|
+
},
|
|
13896
|
+
],
|
|
13897
|
+
name: 'ProtocolFeeUpdated',
|
|
13898
|
+
},
|
|
13899
|
+
{
|
|
13900
|
+
type: 'event',
|
|
13901
|
+
anonymous: false,
|
|
13902
|
+
inputs: [
|
|
13903
|
+
{ name: 'id', internalType: 'PoolId', type: 'bytes32', indexed: true },
|
|
13904
|
+
{
|
|
13905
|
+
name: 'sender',
|
|
13906
|
+
internalType: 'address',
|
|
13907
|
+
type: 'address',
|
|
13908
|
+
indexed: true,
|
|
13909
|
+
},
|
|
13910
|
+
{
|
|
13911
|
+
name: 'amount0',
|
|
13912
|
+
internalType: 'int128',
|
|
13913
|
+
type: 'int128',
|
|
13914
|
+
indexed: false,
|
|
13915
|
+
},
|
|
13916
|
+
{
|
|
13917
|
+
name: 'amount1',
|
|
13918
|
+
internalType: 'int128',
|
|
13919
|
+
type: 'int128',
|
|
13920
|
+
indexed: false,
|
|
13921
|
+
},
|
|
13922
|
+
{
|
|
13923
|
+
name: 'sqrtPriceX96',
|
|
13924
|
+
internalType: 'uint160',
|
|
13925
|
+
type: 'uint160',
|
|
13926
|
+
indexed: false,
|
|
13927
|
+
},
|
|
13928
|
+
{
|
|
13929
|
+
name: 'liquidity',
|
|
13930
|
+
internalType: 'uint128',
|
|
13931
|
+
type: 'uint128',
|
|
13932
|
+
indexed: false,
|
|
13933
|
+
},
|
|
13934
|
+
{ name: 'tick', internalType: 'int24', type: 'int24', indexed: false },
|
|
13935
|
+
{ name: 'fee', internalType: 'uint24', type: 'uint24', indexed: false },
|
|
13936
|
+
],
|
|
13937
|
+
name: 'Swap',
|
|
13938
|
+
},
|
|
13939
|
+
{
|
|
13940
|
+
type: 'event',
|
|
13941
|
+
anonymous: false,
|
|
13942
|
+
inputs: [
|
|
13943
|
+
{
|
|
13944
|
+
name: 'caller',
|
|
13945
|
+
internalType: 'address',
|
|
13946
|
+
type: 'address',
|
|
13947
|
+
indexed: false,
|
|
13948
|
+
},
|
|
13949
|
+
{ name: 'from', internalType: 'address', type: 'address', indexed: true },
|
|
13950
|
+
{ name: 'to', internalType: 'address', type: 'address', indexed: true },
|
|
13951
|
+
{ name: 'id', internalType: 'uint256', type: 'uint256', indexed: true },
|
|
13952
|
+
{
|
|
13953
|
+
name: 'amount',
|
|
13954
|
+
internalType: 'uint256',
|
|
13955
|
+
type: 'uint256',
|
|
13956
|
+
indexed: false,
|
|
13957
|
+
},
|
|
13958
|
+
],
|
|
13959
|
+
name: 'Transfer',
|
|
12868
13960
|
},
|
|
13961
|
+
{ type: 'error', inputs: [], name: 'AlreadyUnlocked' },
|
|
12869
13962
|
{
|
|
12870
|
-
type: '
|
|
13963
|
+
type: 'error',
|
|
12871
13964
|
inputs: [
|
|
12872
|
-
{
|
|
12873
|
-
|
|
12874
|
-
internalType: 'struct ISwapRouter.ExactOutputParams',
|
|
12875
|
-
type: 'tuple',
|
|
12876
|
-
components: [
|
|
12877
|
-
{ name: 'path', internalType: 'bytes', type: 'bytes' },
|
|
12878
|
-
{ name: 'recipient', internalType: 'address', type: 'address' },
|
|
12879
|
-
{ name: 'amountOut', internalType: 'uint256', type: 'uint256' },
|
|
12880
|
-
{ name: 'amountInMaximum', internalType: 'uint256', type: 'uint256' },
|
|
12881
|
-
],
|
|
12882
|
-
},
|
|
13965
|
+
{ name: 'currency0', internalType: 'address', type: 'address' },
|
|
13966
|
+
{ name: 'currency1', internalType: 'address', type: 'address' },
|
|
12883
13967
|
],
|
|
12884
|
-
name: '
|
|
12885
|
-
|
|
12886
|
-
|
|
13968
|
+
name: 'CurrenciesOutOfOrderOrEqual',
|
|
13969
|
+
},
|
|
13970
|
+
{ type: 'error', inputs: [], name: 'CurrencyNotSettled' },
|
|
13971
|
+
{ type: 'error', inputs: [], name: 'InvalidCaller' },
|
|
13972
|
+
{ type: 'error', inputs: [], name: 'ManagerLocked' },
|
|
13973
|
+
{ type: 'error', inputs: [], name: 'MustClearExactPositiveDelta' },
|
|
13974
|
+
{ type: 'error', inputs: [], name: 'NonzeroNativeValue' },
|
|
13975
|
+
{ type: 'error', inputs: [], name: 'PoolNotInitialized' },
|
|
13976
|
+
{ type: 'error', inputs: [], name: 'ProtocolFeeCurrencySynced' },
|
|
13977
|
+
{
|
|
13978
|
+
type: 'error',
|
|
13979
|
+
inputs: [{ name: 'fee', internalType: 'uint24', type: 'uint24' }],
|
|
13980
|
+
name: 'ProtocolFeeTooLarge',
|
|
13981
|
+
},
|
|
13982
|
+
{ type: 'error', inputs: [], name: 'SwapAmountCannotBeZero' },
|
|
13983
|
+
{
|
|
13984
|
+
type: 'error',
|
|
13985
|
+
inputs: [{ name: 'tickSpacing', internalType: 'int24', type: 'int24' }],
|
|
13986
|
+
name: 'TickSpacingTooLarge',
|
|
12887
13987
|
},
|
|
13988
|
+
{
|
|
13989
|
+
type: 'error',
|
|
13990
|
+
inputs: [{ name: 'tickSpacing', internalType: 'int24', type: 'int24' }],
|
|
13991
|
+
name: 'TickSpacingTooSmall',
|
|
13992
|
+
},
|
|
13993
|
+
{ type: 'error', inputs: [], name: 'UnauthorizedDynamicLPFeeUpdate' },
|
|
13994
|
+
] as const
|
|
13995
|
+
|
|
13996
|
+
/**
|
|
13997
|
+
* - [__View Contract on Base Basescan__](https://basescan.org/address/0x498581ff718922c3f8e6a244956af099b2652b2b)
|
|
13998
|
+
* - [__View Contract on Base Sepolia Basescan__](https://sepolia.basescan.org/address/0x05E73354cFDd6745C338b50BcFDfA3Aa6fA03408)
|
|
13999
|
+
*/
|
|
14000
|
+
export const uniswapV4PoolManagerAddress = {
|
|
14001
|
+
8453: '0x498581fF718922c3f8e6A244956aF099B2652b2b',
|
|
14002
|
+
84532: '0x05E73354cFDd6745C338b50BcFDfA3Aa6fA03408',
|
|
14003
|
+
} as const
|
|
14004
|
+
|
|
14005
|
+
/**
|
|
14006
|
+
* - [__View Contract on Base Basescan__](https://basescan.org/address/0x498581ff718922c3f8e6a244956af099b2652b2b)
|
|
14007
|
+
* - [__View Contract on Base Sepolia Basescan__](https://sepolia.basescan.org/address/0x05E73354cFDd6745C338b50BcFDfA3Aa6fA03408)
|
|
14008
|
+
*/
|
|
14009
|
+
export const uniswapV4PoolManagerConfig = {
|
|
14010
|
+
address: uniswapV4PoolManagerAddress,
|
|
14011
|
+
abi: uniswapV4PoolManagerABI,
|
|
14012
|
+
} as const
|
|
14013
|
+
|
|
14014
|
+
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
|
14015
|
+
// UniversalRouter
|
|
14016
|
+
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
|
14017
|
+
|
|
14018
|
+
/**
|
|
14019
|
+
* - [__View Contract on Base Basescan__](https://basescan.org/address/0x6ff5693b99212da76ad316178a184ab56d299b43)
|
|
14020
|
+
* - [__View Contract on Base Sepolia Basescan__](https://sepolia.basescan.org/address/0x492E6456D9528771018DeB9E87ef7750EF184104)
|
|
14021
|
+
*/
|
|
14022
|
+
export const universalRouterABI = [
|
|
12888
14023
|
{
|
|
12889
14024
|
type: 'function',
|
|
12890
14025
|
inputs: [
|
|
12891
|
-
{
|
|
12892
|
-
|
|
12893
|
-
|
|
12894
|
-
type: 'tuple',
|
|
12895
|
-
components: [
|
|
12896
|
-
{ name: 'tokenIn', internalType: 'address', type: 'address' },
|
|
12897
|
-
{ name: 'tokenOut', internalType: 'address', type: 'address' },
|
|
12898
|
-
{ name: 'fee', internalType: 'uint24', type: 'uint24' },
|
|
12899
|
-
{ name: 'recipient', internalType: 'address', type: 'address' },
|
|
12900
|
-
{ name: 'amountOut', internalType: 'uint256', type: 'uint256' },
|
|
12901
|
-
{ name: 'amountInMaximum', internalType: 'uint256', type: 'uint256' },
|
|
12902
|
-
{
|
|
12903
|
-
name: 'sqrtPriceLimitX96',
|
|
12904
|
-
internalType: 'uint160',
|
|
12905
|
-
type: 'uint160',
|
|
12906
|
-
},
|
|
12907
|
-
],
|
|
12908
|
-
},
|
|
14026
|
+
{ name: 'commands', internalType: 'bytes', type: 'bytes' },
|
|
14027
|
+
{ name: 'inputs', internalType: 'bytes[]', type: 'bytes[]' },
|
|
14028
|
+
{ name: 'deadline', internalType: 'uint256', type: 'uint256' },
|
|
12909
14029
|
],
|
|
12910
|
-
name: '
|
|
12911
|
-
outputs: [
|
|
14030
|
+
name: 'execute',
|
|
14031
|
+
outputs: [],
|
|
12912
14032
|
stateMutability: 'payable',
|
|
12913
14033
|
},
|
|
14034
|
+
{ type: 'error', inputs: [], name: 'ETHNotAccepted' },
|
|
12914
14035
|
{
|
|
12915
|
-
type: '
|
|
14036
|
+
type: 'error',
|
|
12916
14037
|
inputs: [
|
|
12917
|
-
{ name: '
|
|
12918
|
-
{ name: '
|
|
12919
|
-
{ name: 'data', internalType: 'bytes', type: 'bytes' },
|
|
14038
|
+
{ name: 'commandIndex', internalType: 'uint256', type: 'uint256' },
|
|
14039
|
+
{ name: 'message', internalType: 'bytes', type: 'bytes' },
|
|
12920
14040
|
],
|
|
12921
|
-
name: '
|
|
12922
|
-
outputs: [],
|
|
12923
|
-
stateMutability: 'nonpayable',
|
|
14041
|
+
name: 'ExecutionFailed',
|
|
12924
14042
|
},
|
|
14043
|
+
{ type: 'error', inputs: [], name: 'InvalidEthSender' },
|
|
14044
|
+
{ type: 'error', inputs: [], name: 'LengthMismatch' },
|
|
14045
|
+
{ type: 'error', inputs: [], name: 'TransactionDeadlinePassed' },
|
|
12925
14046
|
] as const
|
|
12926
14047
|
|
|
12927
14048
|
/**
|
|
12928
|
-
* - [__View Contract on
|
|
12929
|
-
* - [__View Contract on
|
|
12930
|
-
* - [__View Contract on Base Basescan__](https://basescan.org/address/0x2626664c2603336E57B271c5C0b26F421741e481)
|
|
12931
|
-
* - [__View Contract on Arbitrum One Arbiscan__](https://arbiscan.io/address/0x68b3465833fb72A70ecDF485E0e4C7bD8665Fc45)
|
|
12932
|
-
* - [__View Contract on Blast Blastscan__](https://blastscan.io/address/0x549FEB8c9bd4c12Ad2AB27022dA12492aC452B66)
|
|
12933
|
-
* - [__View Contract on Base Sepolia Basescan__](https://sepolia.basescan.org/address/0x94cC0AaC535CCDB3C01d6787D6413C739ae12bc4)
|
|
12934
|
-
* - [__View Contract on Arbitrum Sepolia Arbiscan__](https://sepolia.arbiscan.io/address/0x101F443B4d1b059569D643917553c771E1b9663E)
|
|
12935
|
-
* - [__View Contract on Zora Explorer__](https://explorer.zora.energy/address/0x7De04c96BE5159c3b5CeffC82aa176dc81281557)
|
|
12936
|
-
* - [__View Contract on Sepolia Etherscan__](https://sepolia.etherscan.io/address/0x3bFA4769FB09eefC5a80d6E87c3B9C650f7Ae48E)
|
|
12937
|
-
* - [__View Contract on Op Sepolia Blockscout__](https://optimism-sepolia.blockscout.com/address/0x94cC0AaC535CCDB3C01d6787D6413C739ae12bc4)
|
|
12938
|
-
* - [__View Contract on Zora Sepolia Zora Sepolia Explorer__](https://sepolia.explorer.zora.energy//address/0x6B36d761981d82B1e07cF3c4daF4cB4615c4850a)
|
|
14049
|
+
* - [__View Contract on Base Basescan__](https://basescan.org/address/0x6ff5693b99212da76ad316178a184ab56d299b43)
|
|
14050
|
+
* - [__View Contract on Base Sepolia Basescan__](https://sepolia.basescan.org/address/0x492E6456D9528771018DeB9E87ef7750EF184104)
|
|
12939
14051
|
*/
|
|
12940
|
-
export const
|
|
12941
|
-
|
|
12942
|
-
|
|
12943
|
-
8453: '0x2626664c2603336E57B271c5C0b26F421741e481',
|
|
12944
|
-
42161: '0x68b3465833fb72A70ecDF485E0e4C7bD8665Fc45',
|
|
12945
|
-
81457: '0x549FEB8c9bd4c12Ad2AB27022dA12492aC452B66',
|
|
12946
|
-
84532: '0x94cC0AaC535CCDB3C01d6787D6413C739ae12bc4',
|
|
12947
|
-
421614: '0x101F443B4d1b059569D643917553c771E1b9663E',
|
|
12948
|
-
7777777: '0x7De04c96BE5159c3b5CeffC82aa176dc81281557',
|
|
12949
|
-
11155111: '0x3bFA4769FB09eefC5a80d6E87c3B9C650f7Ae48E',
|
|
12950
|
-
11155420: '0x94cC0AaC535CCDB3C01d6787D6413C739ae12bc4',
|
|
12951
|
-
999999999: '0x6B36d761981d82B1e07cF3c4daF4cB4615c4850a',
|
|
14052
|
+
export const universalRouterAddress = {
|
|
14053
|
+
8453: '0x6fF5693b99212Da76ad316178A184AB56D299b43',
|
|
14054
|
+
84532: '0x492E6456D9528771018DeB9E87ef7750EF184104',
|
|
12952
14055
|
} as const
|
|
12953
14056
|
|
|
12954
14057
|
/**
|
|
12955
|
-
* - [__View Contract on
|
|
12956
|
-
* - [__View Contract on
|
|
12957
|
-
* - [__View Contract on Base Basescan__](https://basescan.org/address/0x2626664c2603336E57B271c5C0b26F421741e481)
|
|
12958
|
-
* - [__View Contract on Arbitrum One Arbiscan__](https://arbiscan.io/address/0x68b3465833fb72A70ecDF485E0e4C7bD8665Fc45)
|
|
12959
|
-
* - [__View Contract on Blast Blastscan__](https://blastscan.io/address/0x549FEB8c9bd4c12Ad2AB27022dA12492aC452B66)
|
|
12960
|
-
* - [__View Contract on Base Sepolia Basescan__](https://sepolia.basescan.org/address/0x94cC0AaC535CCDB3C01d6787D6413C739ae12bc4)
|
|
12961
|
-
* - [__View Contract on Arbitrum Sepolia Arbiscan__](https://sepolia.arbiscan.io/address/0x101F443B4d1b059569D643917553c771E1b9663E)
|
|
12962
|
-
* - [__View Contract on Zora Explorer__](https://explorer.zora.energy/address/0x7De04c96BE5159c3b5CeffC82aa176dc81281557)
|
|
12963
|
-
* - [__View Contract on Sepolia Etherscan__](https://sepolia.etherscan.io/address/0x3bFA4769FB09eefC5a80d6E87c3B9C650f7Ae48E)
|
|
12964
|
-
* - [__View Contract on Op Sepolia Blockscout__](https://optimism-sepolia.blockscout.com/address/0x94cC0AaC535CCDB3C01d6787D6413C739ae12bc4)
|
|
12965
|
-
* - [__View Contract on Zora Sepolia Zora Sepolia Explorer__](https://sepolia.explorer.zora.energy//address/0x6B36d761981d82B1e07cF3c4daF4cB4615c4850a)
|
|
14058
|
+
* - [__View Contract on Base Basescan__](https://basescan.org/address/0x6ff5693b99212da76ad316178a184ab56d299b43)
|
|
14059
|
+
* - [__View Contract on Base Sepolia Basescan__](https://sepolia.basescan.org/address/0x492E6456D9528771018DeB9E87ef7750EF184104)
|
|
12966
14060
|
*/
|
|
12967
|
-
export const
|
|
12968
|
-
address:
|
|
12969
|
-
abi:
|
|
14061
|
+
export const universalRouterConfig = {
|
|
14062
|
+
address: universalRouterAddress,
|
|
14063
|
+
abi: universalRouterABI,
|
|
12970
14064
|
} as const
|
|
12971
14065
|
|
|
12972
14066
|
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
|
@@ -17777,7 +18871,7 @@ export const zoraCreatorRedeemMinterFactoryConfig = {
|
|
|
17777
18871
|
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
|
17778
18872
|
|
|
17779
18873
|
/**
|
|
17780
|
-
* [__View Contract on Base Basescan__](https://basescan.org/address/
|
|
18874
|
+
* [__View Contract on Base Basescan__](https://basescan.org/address/0x7777777C783bAD88daCaf9A19E04238341E4497B)
|
|
17781
18875
|
*/
|
|
17782
18876
|
export const zoraLimitOrderBookABI = [
|
|
17783
18877
|
{
|
|
@@ -17813,6 +18907,13 @@ export const zoraLimitOrderBookABI = [
|
|
|
17813
18907
|
outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }],
|
|
17814
18908
|
stateMutability: 'view',
|
|
17815
18909
|
},
|
|
18910
|
+
{
|
|
18911
|
+
type: 'function',
|
|
18912
|
+
inputs: [],
|
|
18913
|
+
name: 'contractVersion',
|
|
18914
|
+
outputs: [{ name: '', internalType: 'string', type: 'string' }],
|
|
18915
|
+
stateMutability: 'pure',
|
|
18916
|
+
},
|
|
17816
18917
|
{
|
|
17817
18918
|
type: 'function',
|
|
17818
18919
|
inputs: [
|
|
@@ -18388,6 +19489,7 @@ export const zoraLimitOrderBookABI = [
|
|
|
18388
19489
|
],
|
|
18389
19490
|
name: 'InvalidAccountNonce',
|
|
18390
19491
|
},
|
|
19492
|
+
{ type: 'error', inputs: [], name: 'InvalidCurrency' },
|
|
18391
19493
|
{ type: 'error', inputs: [], name: 'InvalidCurrencyLowerTick' },
|
|
18392
19494
|
{ type: 'error', inputs: [], name: 'InvalidInitialization' },
|
|
18393
19495
|
{ type: 'error', inputs: [], name: 'InvalidMarketType' },
|
|
@@ -18498,17 +19600,50 @@ export const zoraLimitOrderBookABI = [
|
|
|
18498
19600
|
},
|
|
18499
19601
|
{ type: 'error', inputs: [], name: 'ZoraHookRegistryCannotBeZeroAddress' },
|
|
18500
19602
|
{ type: 'error', inputs: [], name: 'ZoraLimitOrderBookCannotBeZeroAddress' },
|
|
19603
|
+
{ type: 'error', inputs: [], name: 'AlreadyUnlocked' },
|
|
19604
|
+
{
|
|
19605
|
+
type: 'error',
|
|
19606
|
+
inputs: [
|
|
19607
|
+
{ name: 'currency0', internalType: 'address', type: 'address' },
|
|
19608
|
+
{ name: 'currency1', internalType: 'address', type: 'address' },
|
|
19609
|
+
],
|
|
19610
|
+
name: 'CurrenciesOutOfOrderOrEqual',
|
|
19611
|
+
},
|
|
19612
|
+
{ type: 'error', inputs: [], name: 'CurrencyNotSettled' },
|
|
19613
|
+
{ type: 'error', inputs: [], name: 'InvalidCaller' },
|
|
19614
|
+
{ type: 'error', inputs: [], name: 'ManagerLocked' },
|
|
19615
|
+
{ type: 'error', inputs: [], name: 'MustClearExactPositiveDelta' },
|
|
19616
|
+
{ type: 'error', inputs: [], name: 'NonzeroNativeValue' },
|
|
19617
|
+
{ type: 'error', inputs: [], name: 'PoolNotInitialized' },
|
|
19618
|
+
{ type: 'error', inputs: [], name: 'ProtocolFeeCurrencySynced' },
|
|
19619
|
+
{
|
|
19620
|
+
type: 'error',
|
|
19621
|
+
inputs: [{ name: 'fee', internalType: 'uint24', type: 'uint24' }],
|
|
19622
|
+
name: 'ProtocolFeeTooLarge',
|
|
19623
|
+
},
|
|
19624
|
+
{ type: 'error', inputs: [], name: 'SwapAmountCannotBeZero' },
|
|
19625
|
+
{
|
|
19626
|
+
type: 'error',
|
|
19627
|
+
inputs: [{ name: 'tickSpacing', internalType: 'int24', type: 'int24' }],
|
|
19628
|
+
name: 'TickSpacingTooLarge',
|
|
19629
|
+
},
|
|
19630
|
+
{
|
|
19631
|
+
type: 'error',
|
|
19632
|
+
inputs: [{ name: 'tickSpacing', internalType: 'int24', type: 'int24' }],
|
|
19633
|
+
name: 'TickSpacingTooSmall',
|
|
19634
|
+
},
|
|
19635
|
+
{ type: 'error', inputs: [], name: 'UnauthorizedDynamicLPFeeUpdate' },
|
|
18501
19636
|
] as const
|
|
18502
19637
|
|
|
18503
19638
|
/**
|
|
18504
|
-
* [__View Contract on Base Basescan__](https://basescan.org/address/
|
|
19639
|
+
* [__View Contract on Base Basescan__](https://basescan.org/address/0x7777777C783bAD88daCaf9A19E04238341E4497B)
|
|
18505
19640
|
*/
|
|
18506
19641
|
export const zoraLimitOrderBookAddress = {
|
|
18507
|
-
8453: '
|
|
19642
|
+
8453: '0x7777777C783bAD88daCaf9A19E04238341E4497B',
|
|
18508
19643
|
} as const
|
|
18509
19644
|
|
|
18510
19645
|
/**
|
|
18511
|
-
* [__View Contract on Base Basescan__](https://basescan.org/address/
|
|
19646
|
+
* [__View Contract on Base Basescan__](https://basescan.org/address/0x7777777C783bAD88daCaf9A19E04238341E4497B)
|
|
18512
19647
|
*/
|
|
18513
19648
|
export const zoraLimitOrderBookConfig = {
|
|
18514
19649
|
address: zoraLimitOrderBookAddress,
|
|
@@ -20223,7 +21358,7 @@ export const zoraMintsManagerImplConfig = {
|
|
|
20223
21358
|
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
|
20224
21359
|
|
|
20225
21360
|
/**
|
|
20226
|
-
* [__View Contract on Base Basescan__](https://basescan.org/address/
|
|
21361
|
+
* [__View Contract on Base Basescan__](https://basescan.org/address/0x77777777Eb762Cf86F634763e79d17dE44330887)
|
|
20227
21362
|
*/
|
|
20228
21363
|
export const zoraRouterABI = [
|
|
20229
21364
|
{
|
|
@@ -20257,6 +21392,13 @@ export const zoraRouterABI = [
|
|
|
20257
21392
|
outputs: [],
|
|
20258
21393
|
stateMutability: 'nonpayable',
|
|
20259
21394
|
},
|
|
21395
|
+
{
|
|
21396
|
+
type: 'function',
|
|
21397
|
+
inputs: [],
|
|
21398
|
+
name: 'contractVersion',
|
|
21399
|
+
outputs: [{ name: '', internalType: 'string', type: 'string' }],
|
|
21400
|
+
stateMutability: 'pure',
|
|
21401
|
+
},
|
|
20260
21402
|
{
|
|
20261
21403
|
type: 'function',
|
|
20262
21404
|
inputs: [],
|
|
@@ -20583,6 +21725,65 @@ export const zoraRouterABI = [
|
|
|
20583
21725
|
{ type: 'error', inputs: [], name: 'V3RouteDoesNotConnectToV4RouteStart' },
|
|
20584
21726
|
{ type: 'error', inputs: [], name: 'ZeroSwapDelta' },
|
|
20585
21727
|
{ type: 'error', inputs: [], name: 'AddressZero' },
|
|
21728
|
+
{ type: 'error', inputs: [], name: 'ArrayLengthMismatch' },
|
|
21729
|
+
{ type: 'error', inputs: [], name: 'CallerNotPermitted' },
|
|
21730
|
+
{
|
|
21731
|
+
type: 'error',
|
|
21732
|
+
inputs: [
|
|
21733
|
+
{ name: 'orderId', internalType: 'bytes32', type: 'bytes32' },
|
|
21734
|
+
{ name: 'expectedCoin', internalType: 'address', type: 'address' },
|
|
21735
|
+
{ name: 'actualCoin', internalType: 'address', type: 'address' },
|
|
21736
|
+
],
|
|
21737
|
+
name: 'CoinMismatch',
|
|
21738
|
+
},
|
|
21739
|
+
{ type: 'error', inputs: [], name: 'InsufficientForwardedFunds' },
|
|
21740
|
+
{ type: 'error', inputs: [], name: 'InsufficientTransferFunds' },
|
|
21741
|
+
{
|
|
21742
|
+
type: 'error',
|
|
21743
|
+
inputs: [
|
|
21744
|
+
{ name: 'startTick', internalType: 'int24', type: 'int24' },
|
|
21745
|
+
{ name: 'endTick', internalType: 'int24', type: 'int24' },
|
|
21746
|
+
{ name: 'isCurrency0', internalType: 'bool', type: 'bool' },
|
|
21747
|
+
],
|
|
21748
|
+
name: 'InvalidFillWindow',
|
|
21749
|
+
},
|
|
21750
|
+
{ type: 'error', inputs: [], name: 'InvalidOrder' },
|
|
21751
|
+
{ type: 'error', inputs: [], name: 'InvalidPoolKey' },
|
|
21752
|
+
{ type: 'error', inputs: [], name: 'MaxFillCountCannotBeZero' },
|
|
21753
|
+
{
|
|
21754
|
+
type: 'error',
|
|
21755
|
+
inputs: [
|
|
21756
|
+
{ name: 'withdrawn', internalType: 'uint256', type: 'uint256' },
|
|
21757
|
+
{ name: 'minAmountOut', internalType: 'uint256', type: 'uint256' },
|
|
21758
|
+
],
|
|
21759
|
+
name: 'MinAmountNotReached',
|
|
21760
|
+
},
|
|
21761
|
+
{ type: 'error', inputs: [], name: 'NativeValueMismatch' },
|
|
21762
|
+
{ type: 'error', inputs: [], name: 'NotPoolManager' },
|
|
21763
|
+
{ type: 'error', inputs: [], name: 'OnlyZoraHook' },
|
|
21764
|
+
{ type: 'error', inputs: [], name: 'OrderClosed' },
|
|
21765
|
+
{ type: 'error', inputs: [], name: 'OrderFillable' },
|
|
21766
|
+
{ type: 'error', inputs: [], name: 'OrderNotMaker' },
|
|
21767
|
+
{
|
|
21768
|
+
type: 'error',
|
|
21769
|
+
inputs: [{ name: 'owner', internalType: 'address', type: 'address' }],
|
|
21770
|
+
name: 'OwnableInvalidOwner',
|
|
21771
|
+
},
|
|
21772
|
+
{
|
|
21773
|
+
type: 'error',
|
|
21774
|
+
inputs: [{ name: 'account', internalType: 'address', type: 'address' }],
|
|
21775
|
+
name: 'OwnableUnauthorizedAccount',
|
|
21776
|
+
},
|
|
21777
|
+
{ type: 'error', inputs: [], name: 'PathMustHaveAtLeastOneStep' },
|
|
21778
|
+
{ type: 'error', inputs: [], name: 'PermittedCallersLengthMismatch' },
|
|
21779
|
+
{ type: 'error', inputs: [], name: 'RouterMsgSenderInvalid' },
|
|
21780
|
+
{ type: 'error', inputs: [], name: 'UnknownCallback' },
|
|
21781
|
+
{ type: 'error', inputs: [], name: 'UnlockedFillNotAllowed' },
|
|
21782
|
+
{ type: 'error', inputs: [], name: 'WethTransferFailed' },
|
|
21783
|
+
{ type: 'error', inputs: [], name: 'ZeroMaker' },
|
|
21784
|
+
{ type: 'error', inputs: [], name: 'ZeroOrderSize' },
|
|
21785
|
+
{ type: 'error', inputs: [], name: 'ZeroRealizedOrder' },
|
|
21786
|
+
{ type: 'error', inputs: [], name: 'AddressZero' },
|
|
20586
21787
|
{ type: 'error', inputs: [], name: 'AlreadyOwner' },
|
|
20587
21788
|
{ type: 'error', inputs: [], name: 'CannotMintZeroLiquidity' },
|
|
20588
21789
|
{
|
|
@@ -20668,6 +21869,7 @@ export const zoraRouterABI = [
|
|
|
20668
21869
|
],
|
|
20669
21870
|
name: 'InvalidAccountNonce',
|
|
20670
21871
|
},
|
|
21872
|
+
{ type: 'error', inputs: [], name: 'InvalidCurrency' },
|
|
20671
21873
|
{ type: 'error', inputs: [], name: 'InvalidCurrencyLowerTick' },
|
|
20672
21874
|
{ type: 'error', inputs: [], name: 'InvalidInitialization' },
|
|
20673
21875
|
{ type: 'error', inputs: [], name: 'InvalidMarketType' },
|
|
@@ -20778,76 +21980,62 @@ export const zoraRouterABI = [
|
|
|
20778
21980
|
},
|
|
20779
21981
|
{ type: 'error', inputs: [], name: 'ZoraHookRegistryCannotBeZeroAddress' },
|
|
20780
21982
|
{ type: 'error', inputs: [], name: 'ZoraLimitOrderBookCannotBeZeroAddress' },
|
|
20781
|
-
{ type: 'error', inputs: [], name: '
|
|
20782
|
-
{ type: 'error', inputs: [], name: 'ArrayLengthMismatch' },
|
|
20783
|
-
{ type: 'error', inputs: [], name: 'CallerNotPermitted' },
|
|
21983
|
+
{ type: 'error', inputs: [], name: 'AlreadyUnlocked' },
|
|
20784
21984
|
{
|
|
20785
21985
|
type: 'error',
|
|
20786
21986
|
inputs: [
|
|
20787
|
-
{ name: '
|
|
20788
|
-
{ name: '
|
|
20789
|
-
{ name: 'actualCoin', internalType: 'address', type: 'address' },
|
|
21987
|
+
{ name: 'currency0', internalType: 'address', type: 'address' },
|
|
21988
|
+
{ name: 'currency1', internalType: 'address', type: 'address' },
|
|
20790
21989
|
],
|
|
20791
|
-
name: '
|
|
21990
|
+
name: 'CurrenciesOutOfOrderOrEqual',
|
|
20792
21991
|
},
|
|
20793
|
-
{ type: 'error', inputs: [], name: '
|
|
20794
|
-
{ type: 'error', inputs: [], name: '
|
|
21992
|
+
{ type: 'error', inputs: [], name: 'CurrencyNotSettled' },
|
|
21993
|
+
{ type: 'error', inputs: [], name: 'InvalidCaller' },
|
|
21994
|
+
{ type: 'error', inputs: [], name: 'ManagerLocked' },
|
|
21995
|
+
{ type: 'error', inputs: [], name: 'MustClearExactPositiveDelta' },
|
|
21996
|
+
{ type: 'error', inputs: [], name: 'NonzeroNativeValue' },
|
|
21997
|
+
{ type: 'error', inputs: [], name: 'PoolNotInitialized' },
|
|
21998
|
+
{ type: 'error', inputs: [], name: 'ProtocolFeeCurrencySynced' },
|
|
20795
21999
|
{
|
|
20796
22000
|
type: 'error',
|
|
20797
|
-
inputs: [
|
|
20798
|
-
|
|
20799
|
-
{ name: 'endTick', internalType: 'int24', type: 'int24' },
|
|
20800
|
-
{ name: 'isCurrency0', internalType: 'bool', type: 'bool' },
|
|
20801
|
-
],
|
|
20802
|
-
name: 'InvalidFillWindow',
|
|
22001
|
+
inputs: [{ name: 'fee', internalType: 'uint24', type: 'uint24' }],
|
|
22002
|
+
name: 'ProtocolFeeTooLarge',
|
|
20803
22003
|
},
|
|
20804
|
-
{ type: 'error', inputs: [], name: '
|
|
20805
|
-
{ type: 'error', inputs: [], name: 'InvalidPoolKey' },
|
|
20806
|
-
{ type: 'error', inputs: [], name: 'MaxFillCountCannotBeZero' },
|
|
22004
|
+
{ type: 'error', inputs: [], name: 'SwapAmountCannotBeZero' },
|
|
20807
22005
|
{
|
|
20808
22006
|
type: 'error',
|
|
20809
|
-
inputs: [
|
|
20810
|
-
|
|
20811
|
-
{ name: 'minAmountOut', internalType: 'uint256', type: 'uint256' },
|
|
20812
|
-
],
|
|
20813
|
-
name: 'MinAmountNotReached',
|
|
22007
|
+
inputs: [{ name: 'tickSpacing', internalType: 'int24', type: 'int24' }],
|
|
22008
|
+
name: 'TickSpacingTooLarge',
|
|
20814
22009
|
},
|
|
20815
|
-
{ type: 'error', inputs: [], name: 'NativeValueMismatch' },
|
|
20816
|
-
{ type: 'error', inputs: [], name: 'NotPoolManager' },
|
|
20817
|
-
{ type: 'error', inputs: [], name: 'OnlyZoraHook' },
|
|
20818
|
-
{ type: 'error', inputs: [], name: 'OrderClosed' },
|
|
20819
|
-
{ type: 'error', inputs: [], name: 'OrderFillable' },
|
|
20820
|
-
{ type: 'error', inputs: [], name: 'OrderNotMaker' },
|
|
20821
22010
|
{
|
|
20822
22011
|
type: 'error',
|
|
20823
|
-
inputs: [{ name: '
|
|
20824
|
-
name: '
|
|
22012
|
+
inputs: [{ name: 'tickSpacing', internalType: 'int24', type: 'int24' }],
|
|
22013
|
+
name: 'TickSpacingTooSmall',
|
|
20825
22014
|
},
|
|
22015
|
+
{ type: 'error', inputs: [], name: 'UnauthorizedDynamicLPFeeUpdate' },
|
|
22016
|
+
{ type: 'error', inputs: [], name: 'ETHNotAccepted' },
|
|
20826
22017
|
{
|
|
20827
22018
|
type: 'error',
|
|
20828
|
-
inputs: [
|
|
20829
|
-
|
|
22019
|
+
inputs: [
|
|
22020
|
+
{ name: 'commandIndex', internalType: 'uint256', type: 'uint256' },
|
|
22021
|
+
{ name: 'message', internalType: 'bytes', type: 'bytes' },
|
|
22022
|
+
],
|
|
22023
|
+
name: 'ExecutionFailed',
|
|
20830
22024
|
},
|
|
20831
|
-
{ type: 'error', inputs: [], name: '
|
|
20832
|
-
{ type: 'error', inputs: [], name: '
|
|
20833
|
-
{ type: 'error', inputs: [], name: '
|
|
20834
|
-
{ type: 'error', inputs: [], name: 'UnknownCallback' },
|
|
20835
|
-
{ type: 'error', inputs: [], name: 'UnlockedFillNotAllowed' },
|
|
20836
|
-
{ type: 'error', inputs: [], name: 'WethTransferFailed' },
|
|
20837
|
-
{ type: 'error', inputs: [], name: 'ZeroMaker' },
|
|
20838
|
-
{ type: 'error', inputs: [], name: 'ZeroOrderSize' },
|
|
20839
|
-
{ type: 'error', inputs: [], name: 'ZeroRealizedOrder' },
|
|
22025
|
+
{ type: 'error', inputs: [], name: 'InvalidEthSender' },
|
|
22026
|
+
{ type: 'error', inputs: [], name: 'LengthMismatch' },
|
|
22027
|
+
{ type: 'error', inputs: [], name: 'TransactionDeadlinePassed' },
|
|
20840
22028
|
] as const
|
|
20841
22029
|
|
|
20842
22030
|
/**
|
|
20843
|
-
* [__View Contract on Base Basescan__](https://basescan.org/address/
|
|
22031
|
+
* [__View Contract on Base Basescan__](https://basescan.org/address/0x77777777Eb762Cf86F634763e79d17dE44330887)
|
|
20844
22032
|
*/
|
|
20845
22033
|
export const zoraRouterAddress = {
|
|
20846
|
-
8453: '
|
|
22034
|
+
8453: '0x77777777Eb762Cf86F634763e79d17dE44330887',
|
|
20847
22035
|
} as const
|
|
20848
22036
|
|
|
20849
22037
|
/**
|
|
20850
|
-
* [__View Contract on Base Basescan__](https://basescan.org/address/
|
|
22038
|
+
* [__View Contract on Base Basescan__](https://basescan.org/address/0x77777777Eb762Cf86F634763e79d17dE44330887)
|
|
20851
22039
|
*/
|
|
20852
22040
|
export const zoraRouterConfig = {
|
|
20853
22041
|
address: zoraRouterAddress,
|