clanker-sdk 4.0.21 → 4.0.22
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/README.md +35 -18
- package/dist/cli/cli.js +190 -92
- package/dist/cli/create-clanker.js +177 -91
- package/dist/index.d.ts +4508 -82
- package/dist/index.js +180 -93
- package/package.json +11 -13
package/dist/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Address, WalletClient, PublicClient,
|
|
1
|
+
import { Address, ContractConstructorArgs, Abi, WalletClient, PublicClient, Account } from 'viem';
|
|
2
2
|
export { PublicClient, WalletClient } from 'viem';
|
|
3
3
|
import * as _openzeppelin_merkle_tree from '@openzeppelin/merkle-tree';
|
|
4
4
|
import { StandardMerkleTree } from '@openzeppelin/merkle-tree';
|
|
@@ -50,16 +50,6 @@ type ValidationResult = {
|
|
|
50
50
|
*/
|
|
51
51
|
declare function validateConfig<T>(config: T): ValidationResult;
|
|
52
52
|
|
|
53
|
-
declare const clankerConfigSchema: z.ZodObject<{
|
|
54
|
-
publicClient: z.ZodOptional<z.ZodAny>;
|
|
55
|
-
wallet: z.ZodOptional<z.ZodAny>;
|
|
56
|
-
}, "strip", z.ZodTypeAny, {
|
|
57
|
-
publicClient?: any;
|
|
58
|
-
wallet?: any;
|
|
59
|
-
}, {
|
|
60
|
-
publicClient?: any;
|
|
61
|
-
wallet?: any;
|
|
62
|
-
}>;
|
|
63
53
|
declare const tokenConfigSchema: z.ZodObject<{
|
|
64
54
|
name: z.ZodString;
|
|
65
55
|
symbol: z.ZodString;
|
|
@@ -704,7 +694,6 @@ declare const deploymentConfigSchema: z.ZodObject<{
|
|
|
704
694
|
ethAmount?: number | undefined;
|
|
705
695
|
} | undefined;
|
|
706
696
|
}>;
|
|
707
|
-
type ZodClankerConfig = z.infer<typeof clankerConfigSchema>;
|
|
708
697
|
type ZodTokenConfig = z.infer<typeof tokenConfigSchema>;
|
|
709
698
|
type ZodVaultConfig = z.infer<typeof vaultConfigSchema>;
|
|
710
699
|
type ZodPoolConfig = z.infer<typeof poolConfigSchema>;
|
|
@@ -776,9 +765,10 @@ interface DynamicFeeConfig {
|
|
|
776
765
|
feeControlNumerator: number;
|
|
777
766
|
decayFilterBps: number;
|
|
778
767
|
}
|
|
779
|
-
type FeeConfig = StaticFeeConfig | DynamicFeeConfig;
|
|
768
|
+
type FeeConfig$1 = StaticFeeConfig | DynamicFeeConfig;
|
|
780
769
|
|
|
781
770
|
interface BuildV4Result {
|
|
771
|
+
type: 'v4';
|
|
782
772
|
transaction: {
|
|
783
773
|
to: Address;
|
|
784
774
|
data: `0x${string}`;
|
|
@@ -823,7 +813,7 @@ interface TokenConfigV4$1 {
|
|
|
823
813
|
poolKey?: DevBuyPoolKeyConfig;
|
|
824
814
|
amountOutMin?: number;
|
|
825
815
|
};
|
|
826
|
-
feeConfig: FeeConfig;
|
|
816
|
+
feeConfig: FeeConfig$1;
|
|
827
817
|
lockerConfig: LockerConfigV4;
|
|
828
818
|
poolConfig: PoolConfigV4$1;
|
|
829
819
|
rewardsConfig: RewardsConfigV4;
|
|
@@ -878,11 +868,8 @@ interface DevBuyExtensionDataV4 {
|
|
|
878
868
|
recipient: Address;
|
|
879
869
|
}
|
|
880
870
|
|
|
881
|
-
interface ClankerConfig {
|
|
882
|
-
wallet?: WalletClient;
|
|
883
|
-
publicClient?: PublicClient;
|
|
884
|
-
}
|
|
885
871
|
interface TokenConfig {
|
|
872
|
+
type: 'v3';
|
|
886
873
|
name: string;
|
|
887
874
|
symbol: string;
|
|
888
875
|
image?: string;
|
|
@@ -897,6 +884,7 @@ interface TokenConfig {
|
|
|
897
884
|
};
|
|
898
885
|
}
|
|
899
886
|
interface TokenConfigV4 {
|
|
887
|
+
type: 'v4';
|
|
900
888
|
tokenAdmin: Address;
|
|
901
889
|
name: string;
|
|
902
890
|
symbol: string;
|
|
@@ -906,7 +894,7 @@ interface TokenConfigV4 {
|
|
|
906
894
|
vault?: VaultConfigV4;
|
|
907
895
|
airdrop?: AirdropConfig;
|
|
908
896
|
devBuy?: DevBuyConfig;
|
|
909
|
-
feeConfig: FeeConfig;
|
|
897
|
+
feeConfig: FeeConfig$1;
|
|
910
898
|
rewardsConfig: RewardsConfigV4;
|
|
911
899
|
poolConfig: PoolConfigV4;
|
|
912
900
|
lockerConfig: LockerConfigV4;
|
|
@@ -981,6 +969,19 @@ interface PoolConfigV4 {
|
|
|
981
969
|
}[];
|
|
982
970
|
}
|
|
983
971
|
|
|
972
|
+
type ClankerErrorType = 'caller' | 'state' | 'unknown';
|
|
973
|
+
type ClankerErrorData = {
|
|
974
|
+
type: ClankerErrorType;
|
|
975
|
+
label: string;
|
|
976
|
+
rawName: string;
|
|
977
|
+
};
|
|
978
|
+
declare class ClankerError extends Error {
|
|
979
|
+
readonly error: Error;
|
|
980
|
+
readonly data: ClankerErrorData;
|
|
981
|
+
static unknown(e: Error, name?: string): ClankerError;
|
|
982
|
+
constructor(error: Error, data: ClankerErrorData);
|
|
983
|
+
}
|
|
984
|
+
|
|
984
985
|
declare const DEFAULT_BASE_RPC = "https://mainnet.base.org";
|
|
985
986
|
declare const CLANKER_FACTORY_V2: `0x${string}`;
|
|
986
987
|
declare const LP_LOCKER_V2: `0x${string}`;
|
|
@@ -1040,17 +1041,16 @@ type PoolPosition = {
|
|
|
1040
1041
|
positionBps: number;
|
|
1041
1042
|
};
|
|
1042
1043
|
declare const POOL_POSITIONS: Record<PoolPositions, PoolPosition[]>;
|
|
1043
|
-
|
|
1044
|
-
|
|
1045
|
-
|
|
1046
|
-
|
|
1047
|
-
|
|
1048
|
-
|
|
1049
|
-
|
|
1050
|
-
|
|
1051
|
-
readonly decayFilterBps: 7500;
|
|
1052
|
-
};
|
|
1044
|
+
type FeeConfig = {
|
|
1045
|
+
baseFee: number;
|
|
1046
|
+
maxLpFee: number;
|
|
1047
|
+
referenceTickFilterPeriod: number;
|
|
1048
|
+
resetPeriod: number;
|
|
1049
|
+
resetTickFilter: number;
|
|
1050
|
+
feeControlNumerator: number;
|
|
1051
|
+
decayFilterBps: number;
|
|
1053
1052
|
};
|
|
1053
|
+
declare const FEE_CONFIGS: Record<FeeConfigs, FeeConfig>;
|
|
1054
1054
|
|
|
1055
1055
|
/**
|
|
1056
1056
|
* Builder class for creating TokenConfigV4 objects
|
|
@@ -3150,50 +3150,4483 @@ declare const findVanityAddressV4: (args: ContractConstructorArgs<typeof Clanker
|
|
|
3150
3150
|
token: `0x${string}`;
|
|
3151
3151
|
}>;
|
|
3152
3152
|
|
|
3153
|
-
|
|
3154
|
-
|
|
3155
|
-
|
|
3156
|
-
|
|
3157
|
-
|
|
3158
|
-
|
|
3159
|
-
|
|
3160
|
-
|
|
3161
|
-
|
|
3162
|
-
|
|
3163
|
-
|
|
3164
|
-
|
|
3165
|
-
|
|
3166
|
-
|
|
3167
|
-
|
|
3168
|
-
|
|
3169
|
-
|
|
3170
|
-
|
|
3171
|
-
|
|
3172
|
-
|
|
3173
|
-
|
|
3174
|
-
|
|
3175
|
-
|
|
3153
|
+
type RelatedV0 = undefined;
|
|
3154
|
+
type RelatedV1 = undefined;
|
|
3155
|
+
type RelatedV2 = {
|
|
3156
|
+
locker: `0x${string}`;
|
|
3157
|
+
};
|
|
3158
|
+
type RelatedV3 = {
|
|
3159
|
+
locker: `0x${string}`;
|
|
3160
|
+
};
|
|
3161
|
+
type RelatedV4 = {
|
|
3162
|
+
locker: `0x${string}`;
|
|
3163
|
+
vault: `0x${string}`;
|
|
3164
|
+
airdrop: `0x${string}`;
|
|
3165
|
+
devbuy: `0x${string}`;
|
|
3166
|
+
mevModule: `0x${string}`;
|
|
3167
|
+
feeLocker: `0x${string}`;
|
|
3168
|
+
feeStaticHook: `0x${string}`;
|
|
3169
|
+
feeDynamicHook: `0x${string}`;
|
|
3170
|
+
};
|
|
3171
|
+
type ClankerDeployment = {
|
|
3172
|
+
abi: Abi;
|
|
3173
|
+
chainId: number;
|
|
3174
|
+
type: string;
|
|
3175
|
+
address: `0x${string}`;
|
|
3176
|
+
related: RelatedV0 | RelatedV1 | RelatedV2 | RelatedV3 | RelatedV4;
|
|
3177
|
+
};
|
|
3178
|
+
declare const CLANKERS: {
|
|
3179
|
+
readonly clanker_v0: {
|
|
3180
|
+
readonly abi: readonly [{
|
|
3181
|
+
readonly inputs: readonly [{
|
|
3182
|
+
readonly internalType: "address";
|
|
3183
|
+
readonly name: "taxCollector_";
|
|
3184
|
+
readonly type: "address";
|
|
3185
|
+
}, {
|
|
3186
|
+
readonly internalType: "address";
|
|
3187
|
+
readonly name: "weth_";
|
|
3188
|
+
readonly type: "address";
|
|
3189
|
+
}, {
|
|
3190
|
+
readonly internalType: "address";
|
|
3191
|
+
readonly name: "locker_";
|
|
3192
|
+
readonly type: "address";
|
|
3193
|
+
}, {
|
|
3194
|
+
readonly internalType: "address";
|
|
3195
|
+
readonly name: "uniswapV3Factory_";
|
|
3196
|
+
readonly type: "address";
|
|
3197
|
+
}, {
|
|
3198
|
+
readonly internalType: "address";
|
|
3199
|
+
readonly name: "positionManager_";
|
|
3200
|
+
readonly type: "address";
|
|
3201
|
+
}, {
|
|
3202
|
+
readonly internalType: "uint64";
|
|
3203
|
+
readonly name: "defaultLockingPeriod_";
|
|
3204
|
+
readonly type: "uint64";
|
|
3205
|
+
}, {
|
|
3206
|
+
readonly internalType: "address";
|
|
3207
|
+
readonly name: "swapRouter_";
|
|
3208
|
+
readonly type: "address";
|
|
3209
|
+
}];
|
|
3210
|
+
readonly stateMutability: "nonpayable";
|
|
3211
|
+
readonly type: "constructor";
|
|
3212
|
+
}, {
|
|
3213
|
+
readonly inputs: readonly [{
|
|
3214
|
+
readonly internalType: "address";
|
|
3215
|
+
readonly name: "owner";
|
|
3216
|
+
readonly type: "address";
|
|
3217
|
+
}];
|
|
3218
|
+
readonly name: "OwnableInvalidOwner";
|
|
3219
|
+
readonly type: "error";
|
|
3220
|
+
}, {
|
|
3221
|
+
readonly inputs: readonly [{
|
|
3222
|
+
readonly internalType: "address";
|
|
3223
|
+
readonly name: "account";
|
|
3224
|
+
readonly type: "address";
|
|
3225
|
+
}];
|
|
3226
|
+
readonly name: "OwnableUnauthorizedAccount";
|
|
3227
|
+
readonly type: "error";
|
|
3228
|
+
}, {
|
|
3229
|
+
readonly anonymous: false;
|
|
3230
|
+
readonly inputs: readonly [{
|
|
3231
|
+
readonly indexed: true;
|
|
3232
|
+
readonly internalType: "address";
|
|
3233
|
+
readonly name: "previousOwner";
|
|
3234
|
+
readonly type: "address";
|
|
3235
|
+
}, {
|
|
3236
|
+
readonly indexed: true;
|
|
3237
|
+
readonly internalType: "address";
|
|
3238
|
+
readonly name: "newOwner";
|
|
3239
|
+
readonly type: "address";
|
|
3240
|
+
}];
|
|
3241
|
+
readonly name: "OwnershipTransferred";
|
|
3242
|
+
readonly type: "event";
|
|
3243
|
+
}, {
|
|
3244
|
+
readonly anonymous: false;
|
|
3245
|
+
readonly inputs: readonly [{
|
|
3246
|
+
readonly indexed: false;
|
|
3247
|
+
readonly internalType: "address";
|
|
3248
|
+
readonly name: "tokenAddress";
|
|
3249
|
+
readonly type: "address";
|
|
3250
|
+
}, {
|
|
3251
|
+
readonly indexed: false;
|
|
3252
|
+
readonly internalType: "uint256";
|
|
3253
|
+
readonly name: "lpNftId";
|
|
3254
|
+
readonly type: "uint256";
|
|
3255
|
+
}, {
|
|
3256
|
+
readonly indexed: false;
|
|
3257
|
+
readonly internalType: "address";
|
|
3258
|
+
readonly name: "deployer";
|
|
3259
|
+
readonly type: "address";
|
|
3260
|
+
}, {
|
|
3261
|
+
readonly indexed: false;
|
|
3262
|
+
readonly internalType: "string";
|
|
3263
|
+
readonly name: "name";
|
|
3264
|
+
readonly type: "string";
|
|
3265
|
+
}, {
|
|
3266
|
+
readonly indexed: false;
|
|
3267
|
+
readonly internalType: "string";
|
|
3268
|
+
readonly name: "symbol";
|
|
3269
|
+
readonly type: "string";
|
|
3270
|
+
}, {
|
|
3271
|
+
readonly indexed: false;
|
|
3272
|
+
readonly internalType: "uint256";
|
|
3273
|
+
readonly name: "supply";
|
|
3274
|
+
readonly type: "uint256";
|
|
3275
|
+
}, {
|
|
3276
|
+
readonly indexed: false;
|
|
3277
|
+
readonly internalType: "uint256";
|
|
3278
|
+
readonly name: "_supply";
|
|
3279
|
+
readonly type: "uint256";
|
|
3280
|
+
}, {
|
|
3281
|
+
readonly indexed: false;
|
|
3282
|
+
readonly internalType: "address";
|
|
3283
|
+
readonly name: "lockerAddress";
|
|
3284
|
+
readonly type: "address";
|
|
3285
|
+
}];
|
|
3286
|
+
readonly name: "TokenCreated";
|
|
3287
|
+
readonly type: "event";
|
|
3288
|
+
}, {
|
|
3289
|
+
readonly inputs: readonly [];
|
|
3290
|
+
readonly name: "defaultLockingPeriod";
|
|
3291
|
+
readonly outputs: readonly [{
|
|
3292
|
+
readonly internalType: "uint64";
|
|
3293
|
+
readonly name: "";
|
|
3294
|
+
readonly type: "uint64";
|
|
3295
|
+
}];
|
|
3296
|
+
readonly stateMutability: "view";
|
|
3297
|
+
readonly type: "function";
|
|
3298
|
+
}, {
|
|
3299
|
+
readonly inputs: readonly [{
|
|
3300
|
+
readonly internalType: "string";
|
|
3301
|
+
readonly name: "_name";
|
|
3302
|
+
readonly type: "string";
|
|
3303
|
+
}, {
|
|
3304
|
+
readonly internalType: "string";
|
|
3305
|
+
readonly name: "_symbol";
|
|
3306
|
+
readonly type: "string";
|
|
3307
|
+
}, {
|
|
3308
|
+
readonly internalType: "uint256";
|
|
3309
|
+
readonly name: "_supply";
|
|
3310
|
+
readonly type: "uint256";
|
|
3311
|
+
}, {
|
|
3312
|
+
readonly internalType: "int24";
|
|
3313
|
+
readonly name: "_initialTick";
|
|
3314
|
+
readonly type: "int24";
|
|
3315
|
+
}, {
|
|
3316
|
+
readonly internalType: "uint24";
|
|
3317
|
+
readonly name: "_fee";
|
|
3318
|
+
readonly type: "uint24";
|
|
3319
|
+
}, {
|
|
3320
|
+
readonly internalType: "bytes32";
|
|
3321
|
+
readonly name: "_salt";
|
|
3322
|
+
readonly type: "bytes32";
|
|
3323
|
+
}, {
|
|
3324
|
+
readonly internalType: "address";
|
|
3325
|
+
readonly name: "_deployer";
|
|
3326
|
+
readonly type: "address";
|
|
3327
|
+
}];
|
|
3328
|
+
readonly name: "deployToken";
|
|
3329
|
+
readonly outputs: readonly [{
|
|
3330
|
+
readonly internalType: "contract Token";
|
|
3331
|
+
readonly name: "token";
|
|
3332
|
+
readonly type: "address";
|
|
3333
|
+
}, {
|
|
3334
|
+
readonly internalType: "uint256";
|
|
3335
|
+
readonly name: "tokenId";
|
|
3336
|
+
readonly type: "uint256";
|
|
3337
|
+
}];
|
|
3338
|
+
readonly stateMutability: "payable";
|
|
3339
|
+
readonly type: "function";
|
|
3340
|
+
}, {
|
|
3341
|
+
readonly inputs: readonly [{
|
|
3342
|
+
readonly internalType: "address";
|
|
3343
|
+
readonly name: "deployer";
|
|
3344
|
+
readonly type: "address";
|
|
3345
|
+
}, {
|
|
3346
|
+
readonly internalType: "string";
|
|
3347
|
+
readonly name: "name";
|
|
3348
|
+
readonly type: "string";
|
|
3349
|
+
}, {
|
|
3350
|
+
readonly internalType: "string";
|
|
3351
|
+
readonly name: "symbol";
|
|
3352
|
+
readonly type: "string";
|
|
3353
|
+
}, {
|
|
3354
|
+
readonly internalType: "uint256";
|
|
3355
|
+
readonly name: "supply";
|
|
3356
|
+
readonly type: "uint256";
|
|
3357
|
+
}];
|
|
3358
|
+
readonly name: "generateSalt";
|
|
3359
|
+
readonly outputs: readonly [{
|
|
3360
|
+
readonly internalType: "bytes32";
|
|
3361
|
+
readonly name: "salt";
|
|
3362
|
+
readonly type: "bytes32";
|
|
3363
|
+
}, {
|
|
3364
|
+
readonly internalType: "address";
|
|
3365
|
+
readonly name: "token";
|
|
3366
|
+
readonly type: "address";
|
|
3367
|
+
}];
|
|
3368
|
+
readonly stateMutability: "view";
|
|
3369
|
+
readonly type: "function";
|
|
3370
|
+
}, {
|
|
3371
|
+
readonly inputs: readonly [{
|
|
3372
|
+
readonly internalType: "address";
|
|
3373
|
+
readonly name: "token";
|
|
3374
|
+
readonly type: "address";
|
|
3375
|
+
}, {
|
|
3376
|
+
readonly internalType: "uint24";
|
|
3377
|
+
readonly name: "_fee";
|
|
3378
|
+
readonly type: "uint24";
|
|
3379
|
+
}];
|
|
3380
|
+
readonly name: "initialSwapTokens";
|
|
3381
|
+
readonly outputs: readonly [];
|
|
3382
|
+
readonly stateMutability: "payable";
|
|
3383
|
+
readonly type: "function";
|
|
3384
|
+
}, {
|
|
3385
|
+
readonly inputs: readonly [];
|
|
3386
|
+
readonly name: "liquidityLocker";
|
|
3387
|
+
readonly outputs: readonly [{
|
|
3388
|
+
readonly internalType: "contract ILockerFactory";
|
|
3389
|
+
readonly name: "";
|
|
3390
|
+
readonly type: "address";
|
|
3391
|
+
}];
|
|
3392
|
+
readonly stateMutability: "view";
|
|
3393
|
+
readonly type: "function";
|
|
3394
|
+
}, {
|
|
3395
|
+
readonly inputs: readonly [];
|
|
3396
|
+
readonly name: "lpFeesCut";
|
|
3397
|
+
readonly outputs: readonly [{
|
|
3398
|
+
readonly internalType: "uint8";
|
|
3399
|
+
readonly name: "";
|
|
3400
|
+
readonly type: "uint8";
|
|
3401
|
+
}];
|
|
3402
|
+
readonly stateMutability: "view";
|
|
3403
|
+
readonly type: "function";
|
|
3404
|
+
}, {
|
|
3405
|
+
readonly inputs: readonly [];
|
|
3406
|
+
readonly name: "owner";
|
|
3407
|
+
readonly outputs: readonly [{
|
|
3408
|
+
readonly internalType: "address";
|
|
3409
|
+
readonly name: "";
|
|
3410
|
+
readonly type: "address";
|
|
3411
|
+
}];
|
|
3412
|
+
readonly stateMutability: "view";
|
|
3413
|
+
readonly type: "function";
|
|
3414
|
+
}, {
|
|
3415
|
+
readonly inputs: readonly [];
|
|
3416
|
+
readonly name: "positionManager";
|
|
3417
|
+
readonly outputs: readonly [{
|
|
3418
|
+
readonly internalType: "contract INonfungiblePositionManager";
|
|
3419
|
+
readonly name: "";
|
|
3420
|
+
readonly type: "address";
|
|
3421
|
+
}];
|
|
3422
|
+
readonly stateMutability: "view";
|
|
3423
|
+
readonly type: "function";
|
|
3424
|
+
}, {
|
|
3425
|
+
readonly inputs: readonly [{
|
|
3426
|
+
readonly internalType: "address";
|
|
3427
|
+
readonly name: "deployer";
|
|
3428
|
+
readonly type: "address";
|
|
3429
|
+
}, {
|
|
3430
|
+
readonly internalType: "string";
|
|
3431
|
+
readonly name: "name";
|
|
3432
|
+
readonly type: "string";
|
|
3433
|
+
}, {
|
|
3434
|
+
readonly internalType: "string";
|
|
3435
|
+
readonly name: "symbol";
|
|
3436
|
+
readonly type: "string";
|
|
3437
|
+
}, {
|
|
3438
|
+
readonly internalType: "uint256";
|
|
3439
|
+
readonly name: "supply";
|
|
3440
|
+
readonly type: "uint256";
|
|
3441
|
+
}, {
|
|
3442
|
+
readonly internalType: "bytes32";
|
|
3443
|
+
readonly name: "salt";
|
|
3444
|
+
readonly type: "bytes32";
|
|
3445
|
+
}];
|
|
3446
|
+
readonly name: "predictToken";
|
|
3447
|
+
readonly outputs: readonly [{
|
|
3448
|
+
readonly internalType: "address";
|
|
3449
|
+
readonly name: "";
|
|
3450
|
+
readonly type: "address";
|
|
3451
|
+
}];
|
|
3452
|
+
readonly stateMutability: "view";
|
|
3453
|
+
readonly type: "function";
|
|
3454
|
+
}, {
|
|
3455
|
+
readonly inputs: readonly [];
|
|
3456
|
+
readonly name: "protocolCut";
|
|
3457
|
+
readonly outputs: readonly [{
|
|
3458
|
+
readonly internalType: "uint8";
|
|
3459
|
+
readonly name: "";
|
|
3460
|
+
readonly type: "uint8";
|
|
3461
|
+
}];
|
|
3462
|
+
readonly stateMutability: "view";
|
|
3463
|
+
readonly type: "function";
|
|
3464
|
+
}, {
|
|
3465
|
+
readonly inputs: readonly [];
|
|
3466
|
+
readonly name: "renounceOwnership";
|
|
3467
|
+
readonly outputs: readonly [];
|
|
3468
|
+
readonly stateMutability: "nonpayable";
|
|
3469
|
+
readonly type: "function";
|
|
3470
|
+
}, {
|
|
3471
|
+
readonly inputs: readonly [];
|
|
3472
|
+
readonly name: "swapRouter";
|
|
3473
|
+
readonly outputs: readonly [{
|
|
3474
|
+
readonly internalType: "address";
|
|
3475
|
+
readonly name: "";
|
|
3476
|
+
readonly type: "address";
|
|
3477
|
+
}];
|
|
3478
|
+
readonly stateMutability: "view";
|
|
3479
|
+
readonly type: "function";
|
|
3480
|
+
}, {
|
|
3481
|
+
readonly inputs: readonly [];
|
|
3482
|
+
readonly name: "taxCollector";
|
|
3483
|
+
readonly outputs: readonly [{
|
|
3484
|
+
readonly internalType: "address";
|
|
3485
|
+
readonly name: "";
|
|
3486
|
+
readonly type: "address";
|
|
3487
|
+
}];
|
|
3488
|
+
readonly stateMutability: "view";
|
|
3489
|
+
readonly type: "function";
|
|
3490
|
+
}, {
|
|
3491
|
+
readonly inputs: readonly [];
|
|
3492
|
+
readonly name: "taxRate";
|
|
3493
|
+
readonly outputs: readonly [{
|
|
3494
|
+
readonly internalType: "uint8";
|
|
3495
|
+
readonly name: "";
|
|
3496
|
+
readonly type: "uint8";
|
|
3497
|
+
}];
|
|
3498
|
+
readonly stateMutability: "view";
|
|
3499
|
+
readonly type: "function";
|
|
3500
|
+
}, {
|
|
3501
|
+
readonly inputs: readonly [{
|
|
3502
|
+
readonly internalType: "address";
|
|
3503
|
+
readonly name: "newOwner";
|
|
3504
|
+
readonly type: "address";
|
|
3505
|
+
}];
|
|
3506
|
+
readonly name: "transferOwnership";
|
|
3507
|
+
readonly outputs: readonly [];
|
|
3508
|
+
readonly stateMutability: "nonpayable";
|
|
3509
|
+
readonly type: "function";
|
|
3510
|
+
}, {
|
|
3511
|
+
readonly inputs: readonly [];
|
|
3512
|
+
readonly name: "uniswapV3Factory";
|
|
3513
|
+
readonly outputs: readonly [{
|
|
3514
|
+
readonly internalType: "contract IUniswapV3Factory";
|
|
3515
|
+
readonly name: "";
|
|
3516
|
+
readonly type: "address";
|
|
3517
|
+
}];
|
|
3518
|
+
readonly stateMutability: "view";
|
|
3519
|
+
readonly type: "function";
|
|
3520
|
+
}, {
|
|
3521
|
+
readonly inputs: readonly [{
|
|
3522
|
+
readonly internalType: "uint64";
|
|
3523
|
+
readonly name: "newPeriod";
|
|
3524
|
+
readonly type: "uint64";
|
|
3525
|
+
}];
|
|
3526
|
+
readonly name: "updateDefaultLockingPeriod";
|
|
3527
|
+
readonly outputs: readonly [];
|
|
3528
|
+
readonly stateMutability: "nonpayable";
|
|
3529
|
+
readonly type: "function";
|
|
3530
|
+
}, {
|
|
3531
|
+
readonly inputs: readonly [{
|
|
3532
|
+
readonly internalType: "address";
|
|
3533
|
+
readonly name: "newLocker";
|
|
3534
|
+
readonly type: "address";
|
|
3535
|
+
}];
|
|
3536
|
+
readonly name: "updateLiquidityLocker";
|
|
3537
|
+
readonly outputs: readonly [];
|
|
3538
|
+
readonly stateMutability: "nonpayable";
|
|
3539
|
+
readonly type: "function";
|
|
3540
|
+
}, {
|
|
3541
|
+
readonly inputs: readonly [{
|
|
3542
|
+
readonly internalType: "uint8";
|
|
3543
|
+
readonly name: "newFee";
|
|
3544
|
+
readonly type: "uint8";
|
|
3545
|
+
}];
|
|
3546
|
+
readonly name: "updateProtocolFees";
|
|
3547
|
+
readonly outputs: readonly [];
|
|
3548
|
+
readonly stateMutability: "nonpayable";
|
|
3549
|
+
readonly type: "function";
|
|
3550
|
+
}, {
|
|
3551
|
+
readonly inputs: readonly [{
|
|
3552
|
+
readonly internalType: "address";
|
|
3553
|
+
readonly name: "newCollector";
|
|
3554
|
+
readonly type: "address";
|
|
3555
|
+
}];
|
|
3556
|
+
readonly name: "updateTaxCollector";
|
|
3557
|
+
readonly outputs: readonly [];
|
|
3558
|
+
readonly stateMutability: "nonpayable";
|
|
3559
|
+
readonly type: "function";
|
|
3560
|
+
}, {
|
|
3561
|
+
readonly inputs: readonly [{
|
|
3562
|
+
readonly internalType: "uint8";
|
|
3563
|
+
readonly name: "newRate";
|
|
3564
|
+
readonly type: "uint8";
|
|
3565
|
+
}];
|
|
3566
|
+
readonly name: "updateTaxRate";
|
|
3567
|
+
readonly outputs: readonly [];
|
|
3568
|
+
readonly stateMutability: "nonpayable";
|
|
3569
|
+
readonly type: "function";
|
|
3570
|
+
}, {
|
|
3571
|
+
readonly inputs: readonly [];
|
|
3572
|
+
readonly name: "weth";
|
|
3573
|
+
readonly outputs: readonly [{
|
|
3574
|
+
readonly internalType: "address";
|
|
3575
|
+
readonly name: "";
|
|
3576
|
+
readonly type: "address";
|
|
3577
|
+
}];
|
|
3578
|
+
readonly stateMutability: "view";
|
|
3579
|
+
readonly type: "function";
|
|
3580
|
+
}];
|
|
3581
|
+
readonly chainId: 8453;
|
|
3582
|
+
readonly type: "proxy";
|
|
3583
|
+
readonly address: "0x250c9FB2b411B48273f69879007803790A6AeA47";
|
|
3584
|
+
readonly related: undefined;
|
|
3585
|
+
};
|
|
3586
|
+
readonly clanker_v1: {
|
|
3587
|
+
readonly abi: readonly [{
|
|
3588
|
+
readonly inputs: readonly [{
|
|
3589
|
+
readonly internalType: "address";
|
|
3590
|
+
readonly name: "taxCollector_";
|
|
3591
|
+
readonly type: "address";
|
|
3592
|
+
}, {
|
|
3593
|
+
readonly internalType: "address";
|
|
3594
|
+
readonly name: "weth_";
|
|
3595
|
+
readonly type: "address";
|
|
3596
|
+
}, {
|
|
3597
|
+
readonly internalType: "address";
|
|
3598
|
+
readonly name: "locker_";
|
|
3599
|
+
readonly type: "address";
|
|
3600
|
+
}, {
|
|
3601
|
+
readonly internalType: "address";
|
|
3602
|
+
readonly name: "uniswapV3Factory_";
|
|
3603
|
+
readonly type: "address";
|
|
3604
|
+
}, {
|
|
3605
|
+
readonly internalType: "address";
|
|
3606
|
+
readonly name: "positionManager_";
|
|
3607
|
+
readonly type: "address";
|
|
3608
|
+
}, {
|
|
3609
|
+
readonly internalType: "uint64";
|
|
3610
|
+
readonly name: "defaultLockingPeriod_";
|
|
3611
|
+
readonly type: "uint64";
|
|
3612
|
+
}, {
|
|
3613
|
+
readonly internalType: "address";
|
|
3614
|
+
readonly name: "swapRouter_";
|
|
3615
|
+
readonly type: "address";
|
|
3616
|
+
}, {
|
|
3617
|
+
readonly internalType: "address";
|
|
3618
|
+
readonly name: "owner_";
|
|
3619
|
+
readonly type: "address";
|
|
3620
|
+
}];
|
|
3621
|
+
readonly stateMutability: "nonpayable";
|
|
3622
|
+
readonly type: "constructor";
|
|
3623
|
+
}, {
|
|
3624
|
+
readonly inputs: readonly [];
|
|
3625
|
+
readonly name: "Deprecated";
|
|
3626
|
+
readonly type: "error";
|
|
3627
|
+
}, {
|
|
3628
|
+
readonly inputs: readonly [{
|
|
3629
|
+
readonly internalType: "address";
|
|
3630
|
+
readonly name: "owner";
|
|
3631
|
+
readonly type: "address";
|
|
3632
|
+
}];
|
|
3633
|
+
readonly name: "OwnableInvalidOwner";
|
|
3634
|
+
readonly type: "error";
|
|
3635
|
+
}, {
|
|
3636
|
+
readonly inputs: readonly [{
|
|
3637
|
+
readonly internalType: "address";
|
|
3638
|
+
readonly name: "account";
|
|
3639
|
+
readonly type: "address";
|
|
3640
|
+
}];
|
|
3641
|
+
readonly name: "OwnableUnauthorizedAccount";
|
|
3642
|
+
readonly type: "error";
|
|
3643
|
+
}, {
|
|
3644
|
+
readonly anonymous: false;
|
|
3645
|
+
readonly inputs: readonly [{
|
|
3646
|
+
readonly indexed: true;
|
|
3647
|
+
readonly internalType: "address";
|
|
3648
|
+
readonly name: "previousOwner";
|
|
3649
|
+
readonly type: "address";
|
|
3650
|
+
}, {
|
|
3651
|
+
readonly indexed: true;
|
|
3652
|
+
readonly internalType: "address";
|
|
3653
|
+
readonly name: "newOwner";
|
|
3654
|
+
readonly type: "address";
|
|
3655
|
+
}];
|
|
3656
|
+
readonly name: "OwnershipTransferred";
|
|
3657
|
+
readonly type: "event";
|
|
3658
|
+
}, {
|
|
3659
|
+
readonly anonymous: false;
|
|
3660
|
+
readonly inputs: readonly [{
|
|
3661
|
+
readonly indexed: false;
|
|
3662
|
+
readonly internalType: "address";
|
|
3663
|
+
readonly name: "tokenAddress";
|
|
3664
|
+
readonly type: "address";
|
|
3665
|
+
}, {
|
|
3666
|
+
readonly indexed: false;
|
|
3667
|
+
readonly internalType: "uint256";
|
|
3668
|
+
readonly name: "lpNftId";
|
|
3669
|
+
readonly type: "uint256";
|
|
3670
|
+
}, {
|
|
3671
|
+
readonly indexed: false;
|
|
3672
|
+
readonly internalType: "address";
|
|
3673
|
+
readonly name: "deployer";
|
|
3674
|
+
readonly type: "address";
|
|
3675
|
+
}, {
|
|
3676
|
+
readonly indexed: false;
|
|
3677
|
+
readonly internalType: "uint256";
|
|
3678
|
+
readonly name: "fid";
|
|
3679
|
+
readonly type: "uint256";
|
|
3680
|
+
}, {
|
|
3681
|
+
readonly indexed: false;
|
|
3682
|
+
readonly internalType: "string";
|
|
3683
|
+
readonly name: "name";
|
|
3684
|
+
readonly type: "string";
|
|
3685
|
+
}, {
|
|
3686
|
+
readonly indexed: false;
|
|
3687
|
+
readonly internalType: "string";
|
|
3688
|
+
readonly name: "symbol";
|
|
3689
|
+
readonly type: "string";
|
|
3690
|
+
}, {
|
|
3691
|
+
readonly indexed: false;
|
|
3692
|
+
readonly internalType: "uint256";
|
|
3693
|
+
readonly name: "supply";
|
|
3694
|
+
readonly type: "uint256";
|
|
3695
|
+
}, {
|
|
3696
|
+
readonly indexed: false;
|
|
3697
|
+
readonly internalType: "address";
|
|
3698
|
+
readonly name: "lockerAddress";
|
|
3699
|
+
readonly type: "address";
|
|
3700
|
+
}, {
|
|
3701
|
+
readonly indexed: false;
|
|
3702
|
+
readonly internalType: "string";
|
|
3703
|
+
readonly name: "castHash";
|
|
3704
|
+
readonly type: "string";
|
|
3705
|
+
}];
|
|
3706
|
+
readonly name: "TokenCreated";
|
|
3707
|
+
readonly type: "event";
|
|
3708
|
+
}, {
|
|
3709
|
+
readonly inputs: readonly [];
|
|
3710
|
+
readonly name: "bundleFeeSwitch";
|
|
3711
|
+
readonly outputs: readonly [{
|
|
3712
|
+
readonly internalType: "bool";
|
|
3713
|
+
readonly name: "";
|
|
3714
|
+
readonly type: "bool";
|
|
3715
|
+
}];
|
|
3716
|
+
readonly stateMutability: "view";
|
|
3717
|
+
readonly type: "function";
|
|
3718
|
+
}, {
|
|
3719
|
+
readonly inputs: readonly [];
|
|
3720
|
+
readonly name: "defaultLockingPeriod";
|
|
3721
|
+
readonly outputs: readonly [{
|
|
3722
|
+
readonly internalType: "uint64";
|
|
3723
|
+
readonly name: "";
|
|
3724
|
+
readonly type: "uint64";
|
|
3725
|
+
}];
|
|
3726
|
+
readonly stateMutability: "view";
|
|
3727
|
+
readonly type: "function";
|
|
3728
|
+
}, {
|
|
3729
|
+
readonly inputs: readonly [{
|
|
3730
|
+
readonly internalType: "string";
|
|
3731
|
+
readonly name: "_name";
|
|
3732
|
+
readonly type: "string";
|
|
3733
|
+
}, {
|
|
3734
|
+
readonly internalType: "string";
|
|
3735
|
+
readonly name: "_symbol";
|
|
3736
|
+
readonly type: "string";
|
|
3737
|
+
}, {
|
|
3738
|
+
readonly internalType: "uint256";
|
|
3739
|
+
readonly name: "_supply";
|
|
3740
|
+
readonly type: "uint256";
|
|
3741
|
+
}, {
|
|
3742
|
+
readonly internalType: "int24";
|
|
3743
|
+
readonly name: "_initialTick";
|
|
3744
|
+
readonly type: "int24";
|
|
3745
|
+
}, {
|
|
3746
|
+
readonly internalType: "uint24";
|
|
3747
|
+
readonly name: "_fee";
|
|
3748
|
+
readonly type: "uint24";
|
|
3749
|
+
}, {
|
|
3750
|
+
readonly internalType: "bytes32";
|
|
3751
|
+
readonly name: "_salt";
|
|
3752
|
+
readonly type: "bytes32";
|
|
3753
|
+
}, {
|
|
3754
|
+
readonly internalType: "address";
|
|
3755
|
+
readonly name: "_deployer";
|
|
3756
|
+
readonly type: "address";
|
|
3757
|
+
}, {
|
|
3758
|
+
readonly internalType: "uint256";
|
|
3759
|
+
readonly name: "_fid";
|
|
3760
|
+
readonly type: "uint256";
|
|
3761
|
+
}, {
|
|
3762
|
+
readonly internalType: "string";
|
|
3763
|
+
readonly name: "_image";
|
|
3764
|
+
readonly type: "string";
|
|
3765
|
+
}, {
|
|
3766
|
+
readonly internalType: "string";
|
|
3767
|
+
readonly name: "_castHash";
|
|
3768
|
+
readonly type: "string";
|
|
3769
|
+
}];
|
|
3770
|
+
readonly name: "deployToken";
|
|
3771
|
+
readonly outputs: readonly [{
|
|
3772
|
+
readonly internalType: "contract Token";
|
|
3773
|
+
readonly name: "token";
|
|
3774
|
+
readonly type: "address";
|
|
3775
|
+
}, {
|
|
3776
|
+
readonly internalType: "uint256";
|
|
3777
|
+
readonly name: "tokenId";
|
|
3778
|
+
readonly type: "uint256";
|
|
3779
|
+
}];
|
|
3780
|
+
readonly stateMutability: "payable";
|
|
3781
|
+
readonly type: "function";
|
|
3782
|
+
}, {
|
|
3783
|
+
readonly inputs: readonly [];
|
|
3784
|
+
readonly name: "deprecated";
|
|
3785
|
+
readonly outputs: readonly [{
|
|
3786
|
+
readonly internalType: "bool";
|
|
3787
|
+
readonly name: "";
|
|
3788
|
+
readonly type: "bool";
|
|
3789
|
+
}];
|
|
3790
|
+
readonly stateMutability: "view";
|
|
3791
|
+
readonly type: "function";
|
|
3792
|
+
}, {
|
|
3793
|
+
readonly inputs: readonly [{
|
|
3794
|
+
readonly internalType: "address";
|
|
3795
|
+
readonly name: "deployer";
|
|
3796
|
+
readonly type: "address";
|
|
3797
|
+
}, {
|
|
3798
|
+
readonly internalType: "uint256";
|
|
3799
|
+
readonly name: "fid";
|
|
3800
|
+
readonly type: "uint256";
|
|
3801
|
+
}, {
|
|
3802
|
+
readonly internalType: "string";
|
|
3803
|
+
readonly name: "name";
|
|
3804
|
+
readonly type: "string";
|
|
3805
|
+
}, {
|
|
3806
|
+
readonly internalType: "string";
|
|
3807
|
+
readonly name: "symbol";
|
|
3808
|
+
readonly type: "string";
|
|
3809
|
+
}, {
|
|
3810
|
+
readonly internalType: "string";
|
|
3811
|
+
readonly name: "image";
|
|
3812
|
+
readonly type: "string";
|
|
3813
|
+
}, {
|
|
3814
|
+
readonly internalType: "string";
|
|
3815
|
+
readonly name: "castHash";
|
|
3816
|
+
readonly type: "string";
|
|
3817
|
+
}, {
|
|
3818
|
+
readonly internalType: "uint256";
|
|
3819
|
+
readonly name: "supply";
|
|
3820
|
+
readonly type: "uint256";
|
|
3821
|
+
}];
|
|
3822
|
+
readonly name: "generateSalt";
|
|
3823
|
+
readonly outputs: readonly [{
|
|
3824
|
+
readonly internalType: "bytes32";
|
|
3825
|
+
readonly name: "salt";
|
|
3826
|
+
readonly type: "bytes32";
|
|
3827
|
+
}, {
|
|
3828
|
+
readonly internalType: "address";
|
|
3829
|
+
readonly name: "token";
|
|
3830
|
+
readonly type: "address";
|
|
3831
|
+
}];
|
|
3832
|
+
readonly stateMutability: "view";
|
|
3833
|
+
readonly type: "function";
|
|
3834
|
+
}, {
|
|
3835
|
+
readonly inputs: readonly [{
|
|
3836
|
+
readonly internalType: "address";
|
|
3837
|
+
readonly name: "token";
|
|
3838
|
+
readonly type: "address";
|
|
3839
|
+
}, {
|
|
3840
|
+
readonly internalType: "uint24";
|
|
3841
|
+
readonly name: "_fee";
|
|
3842
|
+
readonly type: "uint24";
|
|
3843
|
+
}];
|
|
3844
|
+
readonly name: "initialSwapTokens";
|
|
3845
|
+
readonly outputs: readonly [];
|
|
3846
|
+
readonly stateMutability: "payable";
|
|
3847
|
+
readonly type: "function";
|
|
3848
|
+
}, {
|
|
3849
|
+
readonly inputs: readonly [];
|
|
3850
|
+
readonly name: "liquidityLocker";
|
|
3851
|
+
readonly outputs: readonly [{
|
|
3852
|
+
readonly internalType: "contract ILockerFactory";
|
|
3853
|
+
readonly name: "";
|
|
3854
|
+
readonly type: "address";
|
|
3855
|
+
}];
|
|
3856
|
+
readonly stateMutability: "view";
|
|
3857
|
+
readonly type: "function";
|
|
3858
|
+
}, {
|
|
3859
|
+
readonly inputs: readonly [];
|
|
3860
|
+
readonly name: "lpFeesCut";
|
|
3861
|
+
readonly outputs: readonly [{
|
|
3862
|
+
readonly internalType: "uint8";
|
|
3863
|
+
readonly name: "";
|
|
3864
|
+
readonly type: "uint8";
|
|
3865
|
+
}];
|
|
3866
|
+
readonly stateMutability: "view";
|
|
3867
|
+
readonly type: "function";
|
|
3868
|
+
}, {
|
|
3869
|
+
readonly inputs: readonly [];
|
|
3870
|
+
readonly name: "owner";
|
|
3871
|
+
readonly outputs: readonly [{
|
|
3872
|
+
readonly internalType: "address";
|
|
3873
|
+
readonly name: "";
|
|
3874
|
+
readonly type: "address";
|
|
3875
|
+
}];
|
|
3876
|
+
readonly stateMutability: "view";
|
|
3877
|
+
readonly type: "function";
|
|
3878
|
+
}, {
|
|
3879
|
+
readonly inputs: readonly [];
|
|
3880
|
+
readonly name: "positionManager";
|
|
3881
|
+
readonly outputs: readonly [{
|
|
3882
|
+
readonly internalType: "contract INonfungiblePositionManager";
|
|
3883
|
+
readonly name: "";
|
|
3884
|
+
readonly type: "address";
|
|
3885
|
+
}];
|
|
3886
|
+
readonly stateMutability: "view";
|
|
3887
|
+
readonly type: "function";
|
|
3888
|
+
}, {
|
|
3889
|
+
readonly inputs: readonly [{
|
|
3890
|
+
readonly internalType: "address";
|
|
3891
|
+
readonly name: "deployer";
|
|
3892
|
+
readonly type: "address";
|
|
3893
|
+
}, {
|
|
3894
|
+
readonly internalType: "uint256";
|
|
3895
|
+
readonly name: "fid";
|
|
3896
|
+
readonly type: "uint256";
|
|
3897
|
+
}, {
|
|
3898
|
+
readonly internalType: "string";
|
|
3899
|
+
readonly name: "name";
|
|
3900
|
+
readonly type: "string";
|
|
3901
|
+
}, {
|
|
3902
|
+
readonly internalType: "string";
|
|
3903
|
+
readonly name: "symbol";
|
|
3904
|
+
readonly type: "string";
|
|
3905
|
+
}, {
|
|
3906
|
+
readonly internalType: "string";
|
|
3907
|
+
readonly name: "image";
|
|
3908
|
+
readonly type: "string";
|
|
3909
|
+
}, {
|
|
3910
|
+
readonly internalType: "string";
|
|
3911
|
+
readonly name: "castHash";
|
|
3912
|
+
readonly type: "string";
|
|
3913
|
+
}, {
|
|
3914
|
+
readonly internalType: "uint256";
|
|
3915
|
+
readonly name: "supply";
|
|
3916
|
+
readonly type: "uint256";
|
|
3917
|
+
}, {
|
|
3918
|
+
readonly internalType: "bytes32";
|
|
3919
|
+
readonly name: "salt";
|
|
3920
|
+
readonly type: "bytes32";
|
|
3921
|
+
}];
|
|
3922
|
+
readonly name: "predictToken";
|
|
3923
|
+
readonly outputs: readonly [{
|
|
3924
|
+
readonly internalType: "address";
|
|
3925
|
+
readonly name: "";
|
|
3926
|
+
readonly type: "address";
|
|
3927
|
+
}];
|
|
3928
|
+
readonly stateMutability: "view";
|
|
3929
|
+
readonly type: "function";
|
|
3930
|
+
}, {
|
|
3931
|
+
readonly inputs: readonly [];
|
|
3932
|
+
readonly name: "protocolCut";
|
|
3933
|
+
readonly outputs: readonly [{
|
|
3934
|
+
readonly internalType: "uint8";
|
|
3935
|
+
readonly name: "";
|
|
3936
|
+
readonly type: "uint8";
|
|
3937
|
+
}];
|
|
3938
|
+
readonly stateMutability: "view";
|
|
3939
|
+
readonly type: "function";
|
|
3940
|
+
}, {
|
|
3941
|
+
readonly inputs: readonly [];
|
|
3942
|
+
readonly name: "renounceOwnership";
|
|
3943
|
+
readonly outputs: readonly [];
|
|
3944
|
+
readonly stateMutability: "nonpayable";
|
|
3945
|
+
readonly type: "function";
|
|
3946
|
+
}, {
|
|
3947
|
+
readonly inputs: readonly [{
|
|
3948
|
+
readonly internalType: "bool";
|
|
3949
|
+
readonly name: "_deprecated";
|
|
3950
|
+
readonly type: "bool";
|
|
3951
|
+
}];
|
|
3952
|
+
readonly name: "setDeprecated";
|
|
3953
|
+
readonly outputs: readonly [];
|
|
3954
|
+
readonly stateMutability: "nonpayable";
|
|
3955
|
+
readonly type: "function";
|
|
3956
|
+
}, {
|
|
3957
|
+
readonly inputs: readonly [];
|
|
3958
|
+
readonly name: "swapRouter";
|
|
3959
|
+
readonly outputs: readonly [{
|
|
3960
|
+
readonly internalType: "address";
|
|
3961
|
+
readonly name: "";
|
|
3962
|
+
readonly type: "address";
|
|
3963
|
+
}];
|
|
3964
|
+
readonly stateMutability: "view";
|
|
3965
|
+
readonly type: "function";
|
|
3966
|
+
}, {
|
|
3967
|
+
readonly inputs: readonly [];
|
|
3968
|
+
readonly name: "taxCollector";
|
|
3969
|
+
readonly outputs: readonly [{
|
|
3970
|
+
readonly internalType: "address";
|
|
3971
|
+
readonly name: "";
|
|
3972
|
+
readonly type: "address";
|
|
3973
|
+
}];
|
|
3974
|
+
readonly stateMutability: "view";
|
|
3975
|
+
readonly type: "function";
|
|
3976
|
+
}, {
|
|
3977
|
+
readonly inputs: readonly [];
|
|
3978
|
+
readonly name: "taxRate";
|
|
3979
|
+
readonly outputs: readonly [{
|
|
3980
|
+
readonly internalType: "uint8";
|
|
3981
|
+
readonly name: "";
|
|
3982
|
+
readonly type: "uint8";
|
|
3983
|
+
}];
|
|
3984
|
+
readonly stateMutability: "view";
|
|
3985
|
+
readonly type: "function";
|
|
3986
|
+
}, {
|
|
3987
|
+
readonly inputs: readonly [{
|
|
3988
|
+
readonly internalType: "bool";
|
|
3989
|
+
readonly name: "_enabled";
|
|
3990
|
+
readonly type: "bool";
|
|
3991
|
+
}];
|
|
3992
|
+
readonly name: "toggleBundleFeeSwitch";
|
|
3993
|
+
readonly outputs: readonly [];
|
|
3994
|
+
readonly stateMutability: "nonpayable";
|
|
3995
|
+
readonly type: "function";
|
|
3996
|
+
}, {
|
|
3997
|
+
readonly inputs: readonly [{
|
|
3998
|
+
readonly internalType: "address";
|
|
3999
|
+
readonly name: "newOwner";
|
|
4000
|
+
readonly type: "address";
|
|
4001
|
+
}];
|
|
4002
|
+
readonly name: "transferOwnership";
|
|
4003
|
+
readonly outputs: readonly [];
|
|
4004
|
+
readonly stateMutability: "nonpayable";
|
|
4005
|
+
readonly type: "function";
|
|
4006
|
+
}, {
|
|
4007
|
+
readonly inputs: readonly [];
|
|
4008
|
+
readonly name: "uniswapV3Factory";
|
|
4009
|
+
readonly outputs: readonly [{
|
|
4010
|
+
readonly internalType: "contract IUniswapV3Factory";
|
|
4011
|
+
readonly name: "";
|
|
4012
|
+
readonly type: "address";
|
|
4013
|
+
}];
|
|
4014
|
+
readonly stateMutability: "view";
|
|
4015
|
+
readonly type: "function";
|
|
4016
|
+
}, {
|
|
4017
|
+
readonly inputs: readonly [{
|
|
4018
|
+
readonly internalType: "uint64";
|
|
4019
|
+
readonly name: "newPeriod";
|
|
4020
|
+
readonly type: "uint64";
|
|
4021
|
+
}];
|
|
4022
|
+
readonly name: "updateDefaultLockingPeriod";
|
|
4023
|
+
readonly outputs: readonly [];
|
|
4024
|
+
readonly stateMutability: "nonpayable";
|
|
4025
|
+
readonly type: "function";
|
|
4026
|
+
}, {
|
|
4027
|
+
readonly inputs: readonly [{
|
|
4028
|
+
readonly internalType: "address";
|
|
4029
|
+
readonly name: "newLocker";
|
|
4030
|
+
readonly type: "address";
|
|
4031
|
+
}];
|
|
4032
|
+
readonly name: "updateLiquidityLocker";
|
|
4033
|
+
readonly outputs: readonly [];
|
|
4034
|
+
readonly stateMutability: "nonpayable";
|
|
4035
|
+
readonly type: "function";
|
|
4036
|
+
}, {
|
|
4037
|
+
readonly inputs: readonly [{
|
|
4038
|
+
readonly internalType: "uint8";
|
|
4039
|
+
readonly name: "newFee";
|
|
4040
|
+
readonly type: "uint8";
|
|
4041
|
+
}];
|
|
4042
|
+
readonly name: "updateProtocolFees";
|
|
4043
|
+
readonly outputs: readonly [];
|
|
4044
|
+
readonly stateMutability: "nonpayable";
|
|
4045
|
+
readonly type: "function";
|
|
4046
|
+
}, {
|
|
4047
|
+
readonly inputs: readonly [{
|
|
4048
|
+
readonly internalType: "address";
|
|
4049
|
+
readonly name: "newCollector";
|
|
4050
|
+
readonly type: "address";
|
|
4051
|
+
}];
|
|
4052
|
+
readonly name: "updateTaxCollector";
|
|
4053
|
+
readonly outputs: readonly [];
|
|
4054
|
+
readonly stateMutability: "nonpayable";
|
|
4055
|
+
readonly type: "function";
|
|
4056
|
+
}, {
|
|
4057
|
+
readonly inputs: readonly [{
|
|
4058
|
+
readonly internalType: "uint8";
|
|
4059
|
+
readonly name: "newRate";
|
|
4060
|
+
readonly type: "uint8";
|
|
4061
|
+
}];
|
|
4062
|
+
readonly name: "updateTaxRate";
|
|
4063
|
+
readonly outputs: readonly [];
|
|
4064
|
+
readonly stateMutability: "nonpayable";
|
|
4065
|
+
readonly type: "function";
|
|
4066
|
+
}, {
|
|
4067
|
+
readonly inputs: readonly [];
|
|
4068
|
+
readonly name: "weth";
|
|
4069
|
+
readonly outputs: readonly [{
|
|
4070
|
+
readonly internalType: "address";
|
|
4071
|
+
readonly name: "";
|
|
4072
|
+
readonly type: "address";
|
|
4073
|
+
}];
|
|
4074
|
+
readonly stateMutability: "view";
|
|
4075
|
+
readonly type: "function";
|
|
4076
|
+
}];
|
|
4077
|
+
readonly chainId: 8453;
|
|
4078
|
+
readonly type: "clanker";
|
|
4079
|
+
readonly address: "0x9B84fcE5Dcd9a38d2D01d5D72373F6b6b067c3e1";
|
|
4080
|
+
readonly related: undefined;
|
|
4081
|
+
};
|
|
4082
|
+
readonly clanker_v2: {
|
|
4083
|
+
readonly abi: readonly [{
|
|
4084
|
+
readonly inputs: readonly [{
|
|
4085
|
+
readonly internalType: "address";
|
|
4086
|
+
readonly name: "locker_";
|
|
4087
|
+
readonly type: "address";
|
|
4088
|
+
}, {
|
|
4089
|
+
readonly internalType: "address";
|
|
4090
|
+
readonly name: "uniswapV3Factory_";
|
|
4091
|
+
readonly type: "address";
|
|
4092
|
+
}, {
|
|
4093
|
+
readonly internalType: "address";
|
|
4094
|
+
readonly name: "positionManager_";
|
|
4095
|
+
readonly type: "address";
|
|
4096
|
+
}, {
|
|
4097
|
+
readonly internalType: "address";
|
|
4098
|
+
readonly name: "swapRouter_";
|
|
4099
|
+
readonly type: "address";
|
|
4100
|
+
}, {
|
|
4101
|
+
readonly internalType: "address";
|
|
4102
|
+
readonly name: "owner_";
|
|
4103
|
+
readonly type: "address";
|
|
4104
|
+
}];
|
|
4105
|
+
readonly stateMutability: "nonpayable";
|
|
4106
|
+
readonly type: "constructor";
|
|
4107
|
+
}, {
|
|
4108
|
+
readonly inputs: readonly [];
|
|
4109
|
+
readonly name: "Deprecated";
|
|
4110
|
+
readonly type: "error";
|
|
4111
|
+
}, {
|
|
4112
|
+
readonly inputs: readonly [];
|
|
4113
|
+
readonly name: "InvalidConfig";
|
|
4114
|
+
readonly type: "error";
|
|
4115
|
+
}, {
|
|
4116
|
+
readonly inputs: readonly [{
|
|
4117
|
+
readonly internalType: "address";
|
|
4118
|
+
readonly name: "user";
|
|
4119
|
+
readonly type: "address";
|
|
4120
|
+
}];
|
|
4121
|
+
readonly name: "NotAdmin";
|
|
4122
|
+
readonly type: "error";
|
|
4123
|
+
}, {
|
|
4124
|
+
readonly inputs: readonly [{
|
|
4125
|
+
readonly internalType: "address";
|
|
4126
|
+
readonly name: "token";
|
|
4127
|
+
readonly type: "address";
|
|
4128
|
+
}];
|
|
4129
|
+
readonly name: "NotAllowedPairedToken";
|
|
4130
|
+
readonly type: "error";
|
|
4131
|
+
}, {
|
|
4132
|
+
readonly inputs: readonly [{
|
|
4133
|
+
readonly internalType: "address";
|
|
4134
|
+
readonly name: "owner";
|
|
4135
|
+
readonly type: "address";
|
|
4136
|
+
}];
|
|
4137
|
+
readonly name: "OwnableInvalidOwner";
|
|
4138
|
+
readonly type: "error";
|
|
4139
|
+
}, {
|
|
4140
|
+
readonly inputs: readonly [{
|
|
4141
|
+
readonly internalType: "address";
|
|
4142
|
+
readonly name: "account";
|
|
4143
|
+
readonly type: "address";
|
|
4144
|
+
}];
|
|
4145
|
+
readonly name: "OwnableUnauthorizedAccount";
|
|
4146
|
+
readonly type: "error";
|
|
4147
|
+
}, {
|
|
4148
|
+
readonly inputs: readonly [{
|
|
4149
|
+
readonly internalType: "address";
|
|
4150
|
+
readonly name: "token";
|
|
4151
|
+
readonly type: "address";
|
|
4152
|
+
}];
|
|
4153
|
+
readonly name: "TokenNotFound";
|
|
4154
|
+
readonly type: "error";
|
|
4155
|
+
}, {
|
|
4156
|
+
readonly anonymous: false;
|
|
4157
|
+
readonly inputs: readonly [{
|
|
4158
|
+
readonly indexed: true;
|
|
4159
|
+
readonly internalType: "address";
|
|
4160
|
+
readonly name: "previousOwner";
|
|
4161
|
+
readonly type: "address";
|
|
4162
|
+
}, {
|
|
4163
|
+
readonly indexed: true;
|
|
4164
|
+
readonly internalType: "address";
|
|
4165
|
+
readonly name: "newOwner";
|
|
4166
|
+
readonly type: "address";
|
|
4167
|
+
}];
|
|
4168
|
+
readonly name: "OwnershipTransferred";
|
|
4169
|
+
readonly type: "event";
|
|
4170
|
+
}, {
|
|
4171
|
+
readonly anonymous: false;
|
|
4172
|
+
readonly inputs: readonly [{
|
|
4173
|
+
readonly indexed: false;
|
|
4174
|
+
readonly internalType: "address";
|
|
4175
|
+
readonly name: "tokenAddress";
|
|
4176
|
+
readonly type: "address";
|
|
4177
|
+
}, {
|
|
4178
|
+
readonly indexed: false;
|
|
4179
|
+
readonly internalType: "uint256";
|
|
4180
|
+
readonly name: "positionId";
|
|
4181
|
+
readonly type: "uint256";
|
|
4182
|
+
}, {
|
|
4183
|
+
readonly indexed: false;
|
|
4184
|
+
readonly internalType: "address";
|
|
4185
|
+
readonly name: "deployer";
|
|
4186
|
+
readonly type: "address";
|
|
4187
|
+
}, {
|
|
4188
|
+
readonly indexed: false;
|
|
4189
|
+
readonly internalType: "uint256";
|
|
4190
|
+
readonly name: "fid";
|
|
4191
|
+
readonly type: "uint256";
|
|
4192
|
+
}, {
|
|
4193
|
+
readonly indexed: false;
|
|
4194
|
+
readonly internalType: "string";
|
|
4195
|
+
readonly name: "name";
|
|
4196
|
+
readonly type: "string";
|
|
4197
|
+
}, {
|
|
4198
|
+
readonly indexed: false;
|
|
4199
|
+
readonly internalType: "string";
|
|
4200
|
+
readonly name: "symbol";
|
|
4201
|
+
readonly type: "string";
|
|
4202
|
+
}, {
|
|
4203
|
+
readonly indexed: false;
|
|
4204
|
+
readonly internalType: "uint256";
|
|
4205
|
+
readonly name: "supply";
|
|
4206
|
+
readonly type: "uint256";
|
|
4207
|
+
}, {
|
|
4208
|
+
readonly indexed: false;
|
|
4209
|
+
readonly internalType: "address";
|
|
4210
|
+
readonly name: "lockerAddress";
|
|
4211
|
+
readonly type: "address";
|
|
4212
|
+
}, {
|
|
4213
|
+
readonly indexed: false;
|
|
4214
|
+
readonly internalType: "string";
|
|
4215
|
+
readonly name: "castHash";
|
|
4216
|
+
readonly type: "string";
|
|
4217
|
+
}];
|
|
4218
|
+
readonly name: "TokenCreated";
|
|
4219
|
+
readonly type: "event";
|
|
4220
|
+
}, {
|
|
4221
|
+
readonly inputs: readonly [{
|
|
4222
|
+
readonly internalType: "address";
|
|
4223
|
+
readonly name: "";
|
|
4224
|
+
readonly type: "address";
|
|
4225
|
+
}];
|
|
4226
|
+
readonly name: "admins";
|
|
4227
|
+
readonly outputs: readonly [{
|
|
4228
|
+
readonly internalType: "bool";
|
|
4229
|
+
readonly name: "";
|
|
4230
|
+
readonly type: "bool";
|
|
4231
|
+
}];
|
|
4232
|
+
readonly stateMutability: "view";
|
|
4233
|
+
readonly type: "function";
|
|
4234
|
+
}, {
|
|
4235
|
+
readonly inputs: readonly [{
|
|
4236
|
+
readonly internalType: "address";
|
|
4237
|
+
readonly name: "";
|
|
4238
|
+
readonly type: "address";
|
|
4239
|
+
}];
|
|
4240
|
+
readonly name: "allowedPairedTokens";
|
|
4241
|
+
readonly outputs: readonly [{
|
|
4242
|
+
readonly internalType: "bool";
|
|
4243
|
+
readonly name: "";
|
|
4244
|
+
readonly type: "bool";
|
|
4245
|
+
}];
|
|
4246
|
+
readonly stateMutability: "view";
|
|
4247
|
+
readonly type: "function";
|
|
4248
|
+
}, {
|
|
4249
|
+
readonly inputs: readonly [{
|
|
4250
|
+
readonly internalType: "address";
|
|
4251
|
+
readonly name: "token";
|
|
4252
|
+
readonly type: "address";
|
|
4253
|
+
}];
|
|
4254
|
+
readonly name: "claimRewards";
|
|
4255
|
+
readonly outputs: readonly [];
|
|
4256
|
+
readonly stateMutability: "nonpayable";
|
|
4257
|
+
readonly type: "function";
|
|
4258
|
+
}, {
|
|
4259
|
+
readonly inputs: readonly [{
|
|
4260
|
+
readonly internalType: "string";
|
|
4261
|
+
readonly name: "_name";
|
|
4262
|
+
readonly type: "string";
|
|
4263
|
+
}, {
|
|
4264
|
+
readonly internalType: "string";
|
|
4265
|
+
readonly name: "_symbol";
|
|
4266
|
+
readonly type: "string";
|
|
4267
|
+
}, {
|
|
4268
|
+
readonly internalType: "uint256";
|
|
4269
|
+
readonly name: "_supply";
|
|
4270
|
+
readonly type: "uint256";
|
|
4271
|
+
}, {
|
|
4272
|
+
readonly internalType: "uint24";
|
|
4273
|
+
readonly name: "_fee";
|
|
4274
|
+
readonly type: "uint24";
|
|
4275
|
+
}, {
|
|
4276
|
+
readonly internalType: "bytes32";
|
|
4277
|
+
readonly name: "_salt";
|
|
4278
|
+
readonly type: "bytes32";
|
|
4279
|
+
}, {
|
|
4280
|
+
readonly internalType: "address";
|
|
4281
|
+
readonly name: "_deployer";
|
|
4282
|
+
readonly type: "address";
|
|
4283
|
+
}, {
|
|
4284
|
+
readonly internalType: "uint256";
|
|
4285
|
+
readonly name: "_fid";
|
|
4286
|
+
readonly type: "uint256";
|
|
4287
|
+
}, {
|
|
4288
|
+
readonly internalType: "string";
|
|
4289
|
+
readonly name: "_image";
|
|
4290
|
+
readonly type: "string";
|
|
4291
|
+
}, {
|
|
4292
|
+
readonly internalType: "string";
|
|
4293
|
+
readonly name: "_castHash";
|
|
4294
|
+
readonly type: "string";
|
|
4295
|
+
}, {
|
|
4296
|
+
readonly components: readonly [{
|
|
4297
|
+
readonly internalType: "int24";
|
|
4298
|
+
readonly name: "tick";
|
|
4299
|
+
readonly type: "int24";
|
|
4300
|
+
}, {
|
|
4301
|
+
readonly internalType: "address";
|
|
4302
|
+
readonly name: "pairedToken";
|
|
4303
|
+
readonly type: "address";
|
|
4304
|
+
}, {
|
|
4305
|
+
readonly internalType: "uint24";
|
|
4306
|
+
readonly name: "devBuyFee";
|
|
4307
|
+
readonly type: "uint24";
|
|
4308
|
+
}];
|
|
4309
|
+
readonly internalType: "struct Clanker.PoolConfig";
|
|
4310
|
+
readonly name: "_poolConfig";
|
|
4311
|
+
readonly type: "tuple";
|
|
4312
|
+
}];
|
|
4313
|
+
readonly name: "deployToken";
|
|
4314
|
+
readonly outputs: readonly [{
|
|
4315
|
+
readonly internalType: "contract ClankerToken";
|
|
4316
|
+
readonly name: "token";
|
|
4317
|
+
readonly type: "address";
|
|
4318
|
+
}, {
|
|
4319
|
+
readonly internalType: "uint256";
|
|
4320
|
+
readonly name: "positionId";
|
|
4321
|
+
readonly type: "uint256";
|
|
4322
|
+
}];
|
|
4323
|
+
readonly stateMutability: "payable";
|
|
4324
|
+
readonly type: "function";
|
|
4325
|
+
}, {
|
|
4326
|
+
readonly inputs: readonly [{
|
|
4327
|
+
readonly internalType: "address";
|
|
4328
|
+
readonly name: "";
|
|
4329
|
+
readonly type: "address";
|
|
4330
|
+
}];
|
|
4331
|
+
readonly name: "deploymentInfoForToken";
|
|
4332
|
+
readonly outputs: readonly [{
|
|
4333
|
+
readonly internalType: "address";
|
|
4334
|
+
readonly name: "token";
|
|
4335
|
+
readonly type: "address";
|
|
4336
|
+
}, {
|
|
4337
|
+
readonly internalType: "uint256";
|
|
4338
|
+
readonly name: "positionId";
|
|
4339
|
+
readonly type: "uint256";
|
|
4340
|
+
}, {
|
|
4341
|
+
readonly internalType: "address";
|
|
4342
|
+
readonly name: "locker";
|
|
4343
|
+
readonly type: "address";
|
|
4344
|
+
}];
|
|
4345
|
+
readonly stateMutability: "view";
|
|
4346
|
+
readonly type: "function";
|
|
4347
|
+
}, {
|
|
4348
|
+
readonly inputs: readonly [];
|
|
4349
|
+
readonly name: "deprecated";
|
|
4350
|
+
readonly outputs: readonly [{
|
|
4351
|
+
readonly internalType: "bool";
|
|
4352
|
+
readonly name: "";
|
|
4353
|
+
readonly type: "bool";
|
|
4354
|
+
}];
|
|
4355
|
+
readonly stateMutability: "view";
|
|
4356
|
+
readonly type: "function";
|
|
4357
|
+
}, {
|
|
4358
|
+
readonly inputs: readonly [{
|
|
4359
|
+
readonly internalType: "address";
|
|
4360
|
+
readonly name: "user";
|
|
4361
|
+
readonly type: "address";
|
|
4362
|
+
}];
|
|
4363
|
+
readonly name: "getTokensDeployedByUser";
|
|
4364
|
+
readonly outputs: readonly [{
|
|
4365
|
+
readonly components: readonly [{
|
|
4366
|
+
readonly internalType: "address";
|
|
4367
|
+
readonly name: "token";
|
|
4368
|
+
readonly type: "address";
|
|
4369
|
+
}, {
|
|
4370
|
+
readonly internalType: "uint256";
|
|
4371
|
+
readonly name: "positionId";
|
|
4372
|
+
readonly type: "uint256";
|
|
4373
|
+
}, {
|
|
4374
|
+
readonly internalType: "address";
|
|
4375
|
+
readonly name: "locker";
|
|
4376
|
+
readonly type: "address";
|
|
4377
|
+
}];
|
|
4378
|
+
readonly internalType: "struct Clanker.DeploymentInfo[]";
|
|
4379
|
+
readonly name: "";
|
|
4380
|
+
readonly type: "tuple[]";
|
|
4381
|
+
}];
|
|
4382
|
+
readonly stateMutability: "view";
|
|
4383
|
+
readonly type: "function";
|
|
4384
|
+
}, {
|
|
4385
|
+
readonly inputs: readonly [];
|
|
4386
|
+
readonly name: "liquidityLocker";
|
|
4387
|
+
readonly outputs: readonly [{
|
|
4388
|
+
readonly internalType: "contract LpLockerv2";
|
|
4389
|
+
readonly name: "";
|
|
4390
|
+
readonly type: "address";
|
|
4391
|
+
}];
|
|
4392
|
+
readonly stateMutability: "view";
|
|
4393
|
+
readonly type: "function";
|
|
4394
|
+
}, {
|
|
4395
|
+
readonly inputs: readonly [];
|
|
4396
|
+
readonly name: "owner";
|
|
4397
|
+
readonly outputs: readonly [{
|
|
4398
|
+
readonly internalType: "address";
|
|
4399
|
+
readonly name: "";
|
|
4400
|
+
readonly type: "address";
|
|
4401
|
+
}];
|
|
4402
|
+
readonly stateMutability: "view";
|
|
4403
|
+
readonly type: "function";
|
|
4404
|
+
}, {
|
|
4405
|
+
readonly inputs: readonly [];
|
|
4406
|
+
readonly name: "positionManager";
|
|
4407
|
+
readonly outputs: readonly [{
|
|
4408
|
+
readonly internalType: "contract INonfungiblePositionManager";
|
|
4409
|
+
readonly name: "";
|
|
4410
|
+
readonly type: "address";
|
|
4411
|
+
}];
|
|
4412
|
+
readonly stateMutability: "view";
|
|
4413
|
+
readonly type: "function";
|
|
4414
|
+
}, {
|
|
4415
|
+
readonly inputs: readonly [];
|
|
4416
|
+
readonly name: "renounceOwnership";
|
|
4417
|
+
readonly outputs: readonly [];
|
|
4418
|
+
readonly stateMutability: "nonpayable";
|
|
4419
|
+
readonly type: "function";
|
|
4420
|
+
}, {
|
|
4421
|
+
readonly inputs: readonly [{
|
|
4422
|
+
readonly internalType: "address";
|
|
4423
|
+
readonly name: "admin";
|
|
4424
|
+
readonly type: "address";
|
|
4425
|
+
}, {
|
|
4426
|
+
readonly internalType: "bool";
|
|
4427
|
+
readonly name: "isAdmin";
|
|
4428
|
+
readonly type: "bool";
|
|
4429
|
+
}];
|
|
4430
|
+
readonly name: "setAdmin";
|
|
4431
|
+
readonly outputs: readonly [];
|
|
4432
|
+
readonly stateMutability: "nonpayable";
|
|
4433
|
+
readonly type: "function";
|
|
4434
|
+
}, {
|
|
4435
|
+
readonly inputs: readonly [{
|
|
4436
|
+
readonly internalType: "bool";
|
|
4437
|
+
readonly name: "_deprecated";
|
|
4438
|
+
readonly type: "bool";
|
|
4439
|
+
}];
|
|
4440
|
+
readonly name: "setDeprecated";
|
|
4441
|
+
readonly outputs: readonly [];
|
|
4442
|
+
readonly stateMutability: "nonpayable";
|
|
4443
|
+
readonly type: "function";
|
|
4444
|
+
}, {
|
|
4445
|
+
readonly inputs: readonly [];
|
|
4446
|
+
readonly name: "swapRouter";
|
|
4447
|
+
readonly outputs: readonly [{
|
|
4448
|
+
readonly internalType: "address";
|
|
4449
|
+
readonly name: "";
|
|
4450
|
+
readonly type: "address";
|
|
4451
|
+
}];
|
|
4452
|
+
readonly stateMutability: "view";
|
|
4453
|
+
readonly type: "function";
|
|
4454
|
+
}, {
|
|
4455
|
+
readonly inputs: readonly [{
|
|
4456
|
+
readonly internalType: "address";
|
|
4457
|
+
readonly name: "token";
|
|
4458
|
+
readonly type: "address";
|
|
4459
|
+
}, {
|
|
4460
|
+
readonly internalType: "bool";
|
|
4461
|
+
readonly name: "allowed";
|
|
4462
|
+
readonly type: "bool";
|
|
4463
|
+
}];
|
|
4464
|
+
readonly name: "toggleAllowedPairedToken";
|
|
4465
|
+
readonly outputs: readonly [];
|
|
4466
|
+
readonly stateMutability: "nonpayable";
|
|
4467
|
+
readonly type: "function";
|
|
4468
|
+
}, {
|
|
4469
|
+
readonly inputs: readonly [{
|
|
4470
|
+
readonly internalType: "address";
|
|
4471
|
+
readonly name: "";
|
|
4472
|
+
readonly type: "address";
|
|
4473
|
+
}, {
|
|
4474
|
+
readonly internalType: "uint256";
|
|
4475
|
+
readonly name: "";
|
|
4476
|
+
readonly type: "uint256";
|
|
4477
|
+
}];
|
|
4478
|
+
readonly name: "tokensDeployedByUsers";
|
|
4479
|
+
readonly outputs: readonly [{
|
|
4480
|
+
readonly internalType: "address";
|
|
4481
|
+
readonly name: "token";
|
|
4482
|
+
readonly type: "address";
|
|
4483
|
+
}, {
|
|
4484
|
+
readonly internalType: "uint256";
|
|
4485
|
+
readonly name: "positionId";
|
|
4486
|
+
readonly type: "uint256";
|
|
4487
|
+
}, {
|
|
4488
|
+
readonly internalType: "address";
|
|
4489
|
+
readonly name: "locker";
|
|
4490
|
+
readonly type: "address";
|
|
4491
|
+
}];
|
|
4492
|
+
readonly stateMutability: "view";
|
|
4493
|
+
readonly type: "function";
|
|
4494
|
+
}, {
|
|
4495
|
+
readonly inputs: readonly [{
|
|
4496
|
+
readonly internalType: "address";
|
|
4497
|
+
readonly name: "newOwner";
|
|
4498
|
+
readonly type: "address";
|
|
4499
|
+
}];
|
|
4500
|
+
readonly name: "transferOwnership";
|
|
4501
|
+
readonly outputs: readonly [];
|
|
4502
|
+
readonly stateMutability: "nonpayable";
|
|
4503
|
+
readonly type: "function";
|
|
4504
|
+
}, {
|
|
4505
|
+
readonly inputs: readonly [];
|
|
4506
|
+
readonly name: "uniswapV3Factory";
|
|
4507
|
+
readonly outputs: readonly [{
|
|
4508
|
+
readonly internalType: "contract IUniswapV3Factory";
|
|
4509
|
+
readonly name: "";
|
|
4510
|
+
readonly type: "address";
|
|
4511
|
+
}];
|
|
4512
|
+
readonly stateMutability: "view";
|
|
4513
|
+
readonly type: "function";
|
|
4514
|
+
}, {
|
|
4515
|
+
readonly inputs: readonly [{
|
|
4516
|
+
readonly internalType: "address";
|
|
4517
|
+
readonly name: "newLocker";
|
|
4518
|
+
readonly type: "address";
|
|
4519
|
+
}];
|
|
4520
|
+
readonly name: "updateLiquidityLocker";
|
|
4521
|
+
readonly outputs: readonly [];
|
|
4522
|
+
readonly stateMutability: "nonpayable";
|
|
4523
|
+
readonly type: "function";
|
|
4524
|
+
}, {
|
|
4525
|
+
readonly inputs: readonly [];
|
|
4526
|
+
readonly name: "version";
|
|
4527
|
+
readonly outputs: readonly [{
|
|
4528
|
+
readonly internalType: "string";
|
|
4529
|
+
readonly name: "";
|
|
4530
|
+
readonly type: "string";
|
|
4531
|
+
}];
|
|
4532
|
+
readonly stateMutability: "view";
|
|
4533
|
+
readonly type: "function";
|
|
4534
|
+
}, {
|
|
4535
|
+
readonly inputs: readonly [];
|
|
4536
|
+
readonly name: "weth";
|
|
4537
|
+
readonly outputs: readonly [{
|
|
4538
|
+
readonly internalType: "address";
|
|
4539
|
+
readonly name: "";
|
|
4540
|
+
readonly type: "address";
|
|
4541
|
+
}];
|
|
4542
|
+
readonly stateMutability: "view";
|
|
4543
|
+
readonly type: "function";
|
|
4544
|
+
}];
|
|
4545
|
+
readonly chainId: 8453;
|
|
4546
|
+
readonly type: "clanker_v2";
|
|
4547
|
+
readonly address: "0x732560fa1d1A76350b1A500155BA978031B53833";
|
|
4548
|
+
readonly related: {
|
|
4549
|
+
locker: "0x618A9840691334eE8d24445a4AdA4284Bf42417D";
|
|
3176
4550
|
};
|
|
3177
4551
|
};
|
|
3178
|
-
|
|
3179
|
-
|
|
3180
|
-
|
|
3181
|
-
|
|
3182
|
-
|
|
3183
|
-
|
|
3184
|
-
|
|
3185
|
-
|
|
3186
|
-
|
|
3187
|
-
|
|
3188
|
-
|
|
3189
|
-
|
|
3190
|
-
|
|
3191
|
-
|
|
3192
|
-
|
|
3193
|
-
|
|
3194
|
-
|
|
3195
|
-
|
|
3196
|
-
|
|
4552
|
+
readonly clanker_v3: {
|
|
4553
|
+
readonly abi: readonly [{
|
|
4554
|
+
readonly inputs: readonly [{
|
|
4555
|
+
readonly internalType: "address";
|
|
4556
|
+
readonly name: "locker_";
|
|
4557
|
+
readonly type: "address";
|
|
4558
|
+
}, {
|
|
4559
|
+
readonly internalType: "address";
|
|
4560
|
+
readonly name: "uniswapV3Factory_";
|
|
4561
|
+
readonly type: "address";
|
|
4562
|
+
}, {
|
|
4563
|
+
readonly internalType: "address";
|
|
4564
|
+
readonly name: "positionManager_";
|
|
4565
|
+
readonly type: "address";
|
|
4566
|
+
}, {
|
|
4567
|
+
readonly internalType: "address";
|
|
4568
|
+
readonly name: "swapRouter_";
|
|
4569
|
+
readonly type: "address";
|
|
4570
|
+
}, {
|
|
4571
|
+
readonly internalType: "address";
|
|
4572
|
+
readonly name: "owner_";
|
|
4573
|
+
readonly type: "address";
|
|
4574
|
+
}];
|
|
4575
|
+
readonly stateMutability: "nonpayable";
|
|
4576
|
+
readonly type: "constructor";
|
|
4577
|
+
}, {
|
|
4578
|
+
readonly inputs: readonly [];
|
|
4579
|
+
readonly name: "Invalid";
|
|
4580
|
+
readonly type: "error";
|
|
4581
|
+
}, {
|
|
4582
|
+
readonly inputs: readonly [];
|
|
4583
|
+
readonly name: "NotFound";
|
|
4584
|
+
readonly type: "error";
|
|
4585
|
+
}, {
|
|
4586
|
+
readonly inputs: readonly [{
|
|
4587
|
+
readonly internalType: "address";
|
|
4588
|
+
readonly name: "owner";
|
|
4589
|
+
readonly type: "address";
|
|
4590
|
+
}];
|
|
4591
|
+
readonly name: "OwnableInvalidOwner";
|
|
4592
|
+
readonly type: "error";
|
|
4593
|
+
}, {
|
|
4594
|
+
readonly inputs: readonly [{
|
|
4595
|
+
readonly internalType: "address";
|
|
4596
|
+
readonly name: "account";
|
|
4597
|
+
readonly type: "address";
|
|
4598
|
+
}];
|
|
4599
|
+
readonly name: "OwnableUnauthorizedAccount";
|
|
4600
|
+
readonly type: "error";
|
|
4601
|
+
}, {
|
|
4602
|
+
readonly inputs: readonly [];
|
|
4603
|
+
readonly name: "Unauthorized";
|
|
4604
|
+
readonly type: "error";
|
|
4605
|
+
}, {
|
|
4606
|
+
readonly anonymous: false;
|
|
4607
|
+
readonly inputs: readonly [{
|
|
4608
|
+
readonly indexed: true;
|
|
4609
|
+
readonly internalType: "address";
|
|
4610
|
+
readonly name: "previousOwner";
|
|
4611
|
+
readonly type: "address";
|
|
4612
|
+
}, {
|
|
4613
|
+
readonly indexed: true;
|
|
4614
|
+
readonly internalType: "address";
|
|
4615
|
+
readonly name: "newOwner";
|
|
4616
|
+
readonly type: "address";
|
|
4617
|
+
}];
|
|
4618
|
+
readonly name: "OwnershipTransferred";
|
|
4619
|
+
readonly type: "event";
|
|
4620
|
+
}, {
|
|
4621
|
+
readonly anonymous: false;
|
|
4622
|
+
readonly inputs: readonly [{
|
|
4623
|
+
readonly indexed: false;
|
|
4624
|
+
readonly internalType: "address";
|
|
4625
|
+
readonly name: "tokenAddress";
|
|
4626
|
+
readonly type: "address";
|
|
4627
|
+
}, {
|
|
4628
|
+
readonly indexed: false;
|
|
4629
|
+
readonly internalType: "uint256";
|
|
4630
|
+
readonly name: "positionId";
|
|
4631
|
+
readonly type: "uint256";
|
|
4632
|
+
}, {
|
|
4633
|
+
readonly indexed: false;
|
|
4634
|
+
readonly internalType: "address";
|
|
4635
|
+
readonly name: "deployer";
|
|
4636
|
+
readonly type: "address";
|
|
4637
|
+
}, {
|
|
4638
|
+
readonly indexed: false;
|
|
4639
|
+
readonly internalType: "uint256";
|
|
4640
|
+
readonly name: "fid";
|
|
4641
|
+
readonly type: "uint256";
|
|
4642
|
+
}, {
|
|
4643
|
+
readonly indexed: false;
|
|
4644
|
+
readonly internalType: "string";
|
|
4645
|
+
readonly name: "name";
|
|
4646
|
+
readonly type: "string";
|
|
4647
|
+
}, {
|
|
4648
|
+
readonly indexed: false;
|
|
4649
|
+
readonly internalType: "string";
|
|
4650
|
+
readonly name: "symbol";
|
|
4651
|
+
readonly type: "string";
|
|
4652
|
+
}, {
|
|
4653
|
+
readonly indexed: false;
|
|
4654
|
+
readonly internalType: "uint256";
|
|
4655
|
+
readonly name: "supply";
|
|
4656
|
+
readonly type: "uint256";
|
|
4657
|
+
}, {
|
|
4658
|
+
readonly indexed: false;
|
|
4659
|
+
readonly internalType: "string";
|
|
4660
|
+
readonly name: "castHash";
|
|
4661
|
+
readonly type: "string";
|
|
4662
|
+
}];
|
|
4663
|
+
readonly name: "TokenCreated";
|
|
4664
|
+
readonly type: "event";
|
|
4665
|
+
}, {
|
|
4666
|
+
readonly inputs: readonly [{
|
|
4667
|
+
readonly internalType: "address";
|
|
4668
|
+
readonly name: "";
|
|
4669
|
+
readonly type: "address";
|
|
4670
|
+
}];
|
|
4671
|
+
readonly name: "admins";
|
|
4672
|
+
readonly outputs: readonly [{
|
|
4673
|
+
readonly internalType: "bool";
|
|
4674
|
+
readonly name: "";
|
|
4675
|
+
readonly type: "bool";
|
|
4676
|
+
}];
|
|
4677
|
+
readonly stateMutability: "view";
|
|
4678
|
+
readonly type: "function";
|
|
4679
|
+
}, {
|
|
4680
|
+
readonly inputs: readonly [{
|
|
4681
|
+
readonly internalType: "address";
|
|
4682
|
+
readonly name: "token";
|
|
4683
|
+
readonly type: "address";
|
|
4684
|
+
}];
|
|
4685
|
+
readonly name: "claimRewards";
|
|
4686
|
+
readonly outputs: readonly [];
|
|
4687
|
+
readonly stateMutability: "nonpayable";
|
|
4688
|
+
readonly type: "function";
|
|
4689
|
+
}, {
|
|
4690
|
+
readonly inputs: readonly [{
|
|
4691
|
+
readonly components: readonly [{
|
|
4692
|
+
readonly internalType: "string";
|
|
4693
|
+
readonly name: "_name";
|
|
4694
|
+
readonly type: "string";
|
|
4695
|
+
}, {
|
|
4696
|
+
readonly internalType: "string";
|
|
4697
|
+
readonly name: "_symbol";
|
|
4698
|
+
readonly type: "string";
|
|
4699
|
+
}, {
|
|
4700
|
+
readonly internalType: "uint256";
|
|
4701
|
+
readonly name: "_supply";
|
|
4702
|
+
readonly type: "uint256";
|
|
4703
|
+
}, {
|
|
4704
|
+
readonly internalType: "uint24";
|
|
4705
|
+
readonly name: "_fee";
|
|
4706
|
+
readonly type: "uint24";
|
|
4707
|
+
}, {
|
|
4708
|
+
readonly internalType: "bytes32";
|
|
4709
|
+
readonly name: "_salt";
|
|
4710
|
+
readonly type: "bytes32";
|
|
4711
|
+
}, {
|
|
4712
|
+
readonly internalType: "address";
|
|
4713
|
+
readonly name: "_deployer";
|
|
4714
|
+
readonly type: "address";
|
|
4715
|
+
}, {
|
|
4716
|
+
readonly internalType: "uint256";
|
|
4717
|
+
readonly name: "_fid";
|
|
4718
|
+
readonly type: "uint256";
|
|
4719
|
+
}, {
|
|
4720
|
+
readonly internalType: "string";
|
|
4721
|
+
readonly name: "_image";
|
|
4722
|
+
readonly type: "string";
|
|
4723
|
+
}, {
|
|
4724
|
+
readonly internalType: "string";
|
|
4725
|
+
readonly name: "_castHash";
|
|
4726
|
+
readonly type: "string";
|
|
4727
|
+
}, {
|
|
4728
|
+
readonly components: readonly [{
|
|
4729
|
+
readonly internalType: "int24";
|
|
4730
|
+
readonly name: "tick";
|
|
4731
|
+
readonly type: "int24";
|
|
4732
|
+
}, {
|
|
4733
|
+
readonly internalType: "address";
|
|
4734
|
+
readonly name: "pairedToken";
|
|
4735
|
+
readonly type: "address";
|
|
4736
|
+
}, {
|
|
4737
|
+
readonly internalType: "uint24";
|
|
4738
|
+
readonly name: "devBuyFee";
|
|
4739
|
+
readonly type: "uint24";
|
|
4740
|
+
}];
|
|
4741
|
+
readonly internalType: "struct Clanker.PoolConfig";
|
|
4742
|
+
readonly name: "_poolConfig";
|
|
4743
|
+
readonly type: "tuple";
|
|
4744
|
+
}];
|
|
4745
|
+
readonly internalType: "struct Clanker.PreSaleTokenConfig";
|
|
4746
|
+
readonly name: "preSaleTokenConfig";
|
|
4747
|
+
readonly type: "tuple";
|
|
4748
|
+
}];
|
|
4749
|
+
readonly name: "deployToken";
|
|
4750
|
+
readonly outputs: readonly [{
|
|
4751
|
+
readonly internalType: "address";
|
|
4752
|
+
readonly name: "token";
|
|
4753
|
+
readonly type: "address";
|
|
4754
|
+
}, {
|
|
4755
|
+
readonly internalType: "uint256";
|
|
4756
|
+
readonly name: "positionId";
|
|
4757
|
+
readonly type: "uint256";
|
|
4758
|
+
}];
|
|
4759
|
+
readonly stateMutability: "payable";
|
|
4760
|
+
readonly type: "function";
|
|
4761
|
+
}, {
|
|
4762
|
+
readonly inputs: readonly [{
|
|
4763
|
+
readonly components: readonly [{
|
|
4764
|
+
readonly internalType: "string";
|
|
4765
|
+
readonly name: "_name";
|
|
4766
|
+
readonly type: "string";
|
|
4767
|
+
}, {
|
|
4768
|
+
readonly internalType: "string";
|
|
4769
|
+
readonly name: "_symbol";
|
|
4770
|
+
readonly type: "string";
|
|
4771
|
+
}, {
|
|
4772
|
+
readonly internalType: "uint256";
|
|
4773
|
+
readonly name: "_supply";
|
|
4774
|
+
readonly type: "uint256";
|
|
4775
|
+
}, {
|
|
4776
|
+
readonly internalType: "uint24";
|
|
4777
|
+
readonly name: "_fee";
|
|
4778
|
+
readonly type: "uint24";
|
|
4779
|
+
}, {
|
|
4780
|
+
readonly internalType: "bytes32";
|
|
4781
|
+
readonly name: "_salt";
|
|
4782
|
+
readonly type: "bytes32";
|
|
4783
|
+
}, {
|
|
4784
|
+
readonly internalType: "address";
|
|
4785
|
+
readonly name: "_deployer";
|
|
4786
|
+
readonly type: "address";
|
|
4787
|
+
}, {
|
|
4788
|
+
readonly internalType: "uint256";
|
|
4789
|
+
readonly name: "_fid";
|
|
4790
|
+
readonly type: "uint256";
|
|
4791
|
+
}, {
|
|
4792
|
+
readonly internalType: "string";
|
|
4793
|
+
readonly name: "_image";
|
|
4794
|
+
readonly type: "string";
|
|
4795
|
+
}, {
|
|
4796
|
+
readonly internalType: "string";
|
|
4797
|
+
readonly name: "_castHash";
|
|
4798
|
+
readonly type: "string";
|
|
4799
|
+
}, {
|
|
4800
|
+
readonly components: readonly [{
|
|
4801
|
+
readonly internalType: "int24";
|
|
4802
|
+
readonly name: "tick";
|
|
4803
|
+
readonly type: "int24";
|
|
4804
|
+
}, {
|
|
4805
|
+
readonly internalType: "address";
|
|
4806
|
+
readonly name: "pairedToken";
|
|
4807
|
+
readonly type: "address";
|
|
4808
|
+
}, {
|
|
4809
|
+
readonly internalType: "uint24";
|
|
4810
|
+
readonly name: "devBuyFee";
|
|
4811
|
+
readonly type: "uint24";
|
|
4812
|
+
}];
|
|
4813
|
+
readonly internalType: "struct Clanker.PoolConfig";
|
|
4814
|
+
readonly name: "_poolConfig";
|
|
4815
|
+
readonly type: "tuple";
|
|
4816
|
+
}];
|
|
4817
|
+
readonly internalType: "struct Clanker.PreSaleTokenConfig";
|
|
4818
|
+
readonly name: "preSaleTokenConfig";
|
|
4819
|
+
readonly type: "tuple";
|
|
4820
|
+
}, {
|
|
4821
|
+
readonly internalType: "uint256";
|
|
4822
|
+
readonly name: "preSaleId";
|
|
4823
|
+
readonly type: "uint256";
|
|
4824
|
+
}, {
|
|
4825
|
+
readonly components: readonly [{
|
|
4826
|
+
readonly internalType: "uint256";
|
|
4827
|
+
readonly name: "bpsBought";
|
|
4828
|
+
readonly type: "uint256";
|
|
4829
|
+
}, {
|
|
4830
|
+
readonly internalType: "address";
|
|
4831
|
+
readonly name: "user";
|
|
4832
|
+
readonly type: "address";
|
|
4833
|
+
}];
|
|
4834
|
+
readonly internalType: "struct Clanker.PreSalePurchase[]";
|
|
4835
|
+
readonly name: "preSalePurchases";
|
|
4836
|
+
readonly type: "tuple[]";
|
|
4837
|
+
}, {
|
|
4838
|
+
readonly components: readonly [{
|
|
4839
|
+
readonly internalType: "uint256";
|
|
4840
|
+
readonly name: "bpsAvailable";
|
|
4841
|
+
readonly type: "uint256";
|
|
4842
|
+
}, {
|
|
4843
|
+
readonly internalType: "uint256";
|
|
4844
|
+
readonly name: "ethPerBps";
|
|
4845
|
+
readonly type: "uint256";
|
|
4846
|
+
}, {
|
|
4847
|
+
readonly internalType: "uint256";
|
|
4848
|
+
readonly name: "endTime";
|
|
4849
|
+
readonly type: "uint256";
|
|
4850
|
+
}, {
|
|
4851
|
+
readonly internalType: "uint256";
|
|
4852
|
+
readonly name: "bpsSold";
|
|
4853
|
+
readonly type: "uint256";
|
|
4854
|
+
}, {
|
|
4855
|
+
readonly internalType: "address";
|
|
4856
|
+
readonly name: "tokenAddress";
|
|
4857
|
+
readonly type: "address";
|
|
4858
|
+
}];
|
|
4859
|
+
readonly internalType: "struct Clanker.PreSaleConfig";
|
|
4860
|
+
readonly name: "preSaleConfig";
|
|
4861
|
+
readonly type: "tuple";
|
|
4862
|
+
}];
|
|
4863
|
+
readonly name: "deployToken";
|
|
4864
|
+
readonly outputs: readonly [{
|
|
4865
|
+
readonly internalType: "address";
|
|
4866
|
+
readonly name: "token";
|
|
4867
|
+
readonly type: "address";
|
|
4868
|
+
}, {
|
|
4869
|
+
readonly internalType: "uint256";
|
|
4870
|
+
readonly name: "positionId";
|
|
4871
|
+
readonly type: "uint256";
|
|
4872
|
+
}];
|
|
4873
|
+
readonly stateMutability: "payable";
|
|
4874
|
+
readonly type: "function";
|
|
4875
|
+
}, {
|
|
4876
|
+
readonly inputs: readonly [{
|
|
4877
|
+
readonly internalType: "address";
|
|
4878
|
+
readonly name: "";
|
|
4879
|
+
readonly type: "address";
|
|
4880
|
+
}];
|
|
4881
|
+
readonly name: "deploymentInfoForToken";
|
|
4882
|
+
readonly outputs: readonly [{
|
|
4883
|
+
readonly internalType: "address";
|
|
4884
|
+
readonly name: "token";
|
|
4885
|
+
readonly type: "address";
|
|
4886
|
+
}, {
|
|
4887
|
+
readonly internalType: "uint256";
|
|
4888
|
+
readonly name: "positionId";
|
|
4889
|
+
readonly type: "uint256";
|
|
4890
|
+
}, {
|
|
4891
|
+
readonly internalType: "address";
|
|
4892
|
+
readonly name: "locker";
|
|
4893
|
+
readonly type: "address";
|
|
4894
|
+
}];
|
|
4895
|
+
readonly stateMutability: "view";
|
|
4896
|
+
readonly type: "function";
|
|
4897
|
+
}, {
|
|
4898
|
+
readonly inputs: readonly [{
|
|
4899
|
+
readonly internalType: "address";
|
|
4900
|
+
readonly name: "user";
|
|
4901
|
+
readonly type: "address";
|
|
4902
|
+
}];
|
|
4903
|
+
readonly name: "getTokensDeployedByUser";
|
|
4904
|
+
readonly outputs: readonly [{
|
|
4905
|
+
readonly components: readonly [{
|
|
4906
|
+
readonly internalType: "address";
|
|
4907
|
+
readonly name: "token";
|
|
4908
|
+
readonly type: "address";
|
|
4909
|
+
}, {
|
|
4910
|
+
readonly internalType: "uint256";
|
|
4911
|
+
readonly name: "positionId";
|
|
4912
|
+
readonly type: "uint256";
|
|
4913
|
+
}, {
|
|
4914
|
+
readonly internalType: "address";
|
|
4915
|
+
readonly name: "locker";
|
|
4916
|
+
readonly type: "address";
|
|
4917
|
+
}];
|
|
4918
|
+
readonly internalType: "struct Clanker.DeploymentInfo[]";
|
|
4919
|
+
readonly name: "";
|
|
4920
|
+
readonly type: "tuple[]";
|
|
4921
|
+
}];
|
|
4922
|
+
readonly stateMutability: "view";
|
|
4923
|
+
readonly type: "function";
|
|
4924
|
+
}, {
|
|
4925
|
+
readonly inputs: readonly [];
|
|
4926
|
+
readonly name: "liquidityLocker";
|
|
4927
|
+
readonly outputs: readonly [{
|
|
4928
|
+
readonly internalType: "contract ILpLockerv2";
|
|
4929
|
+
readonly name: "";
|
|
4930
|
+
readonly type: "address";
|
|
4931
|
+
}];
|
|
4932
|
+
readonly stateMutability: "view";
|
|
4933
|
+
readonly type: "function";
|
|
4934
|
+
}, {
|
|
4935
|
+
readonly inputs: readonly [];
|
|
4936
|
+
readonly name: "owner";
|
|
4937
|
+
readonly outputs: readonly [{
|
|
4938
|
+
readonly internalType: "address";
|
|
4939
|
+
readonly name: "";
|
|
4940
|
+
readonly type: "address";
|
|
4941
|
+
}];
|
|
4942
|
+
readonly stateMutability: "view";
|
|
4943
|
+
readonly type: "function";
|
|
4944
|
+
}, {
|
|
4945
|
+
readonly inputs: readonly [];
|
|
4946
|
+
readonly name: "positionManager";
|
|
4947
|
+
readonly outputs: readonly [{
|
|
4948
|
+
readonly internalType: "contract INonfungiblePositionManager";
|
|
4949
|
+
readonly name: "";
|
|
4950
|
+
readonly type: "address";
|
|
4951
|
+
}];
|
|
4952
|
+
readonly stateMutability: "view";
|
|
4953
|
+
readonly type: "function";
|
|
4954
|
+
}, {
|
|
4955
|
+
readonly inputs: readonly [];
|
|
4956
|
+
readonly name: "renounceOwnership";
|
|
4957
|
+
readonly outputs: readonly [];
|
|
4958
|
+
readonly stateMutability: "nonpayable";
|
|
4959
|
+
readonly type: "function";
|
|
4960
|
+
}, {
|
|
4961
|
+
readonly inputs: readonly [{
|
|
4962
|
+
readonly internalType: "address";
|
|
4963
|
+
readonly name: "admin";
|
|
4964
|
+
readonly type: "address";
|
|
4965
|
+
}, {
|
|
4966
|
+
readonly internalType: "bool";
|
|
4967
|
+
readonly name: "isAdmin";
|
|
4968
|
+
readonly type: "bool";
|
|
4969
|
+
}];
|
|
4970
|
+
readonly name: "setAdmin";
|
|
4971
|
+
readonly outputs: readonly [];
|
|
4972
|
+
readonly stateMutability: "nonpayable";
|
|
4973
|
+
readonly type: "function";
|
|
4974
|
+
}, {
|
|
4975
|
+
readonly inputs: readonly [];
|
|
4976
|
+
readonly name: "swapRouter";
|
|
4977
|
+
readonly outputs: readonly [{
|
|
4978
|
+
readonly internalType: "address";
|
|
4979
|
+
readonly name: "";
|
|
4980
|
+
readonly type: "address";
|
|
4981
|
+
}];
|
|
4982
|
+
readonly stateMutability: "view";
|
|
4983
|
+
readonly type: "function";
|
|
4984
|
+
}, {
|
|
4985
|
+
readonly inputs: readonly [{
|
|
4986
|
+
readonly internalType: "address";
|
|
4987
|
+
readonly name: "";
|
|
4988
|
+
readonly type: "address";
|
|
4989
|
+
}, {
|
|
4990
|
+
readonly internalType: "uint256";
|
|
4991
|
+
readonly name: "";
|
|
4992
|
+
readonly type: "uint256";
|
|
4993
|
+
}];
|
|
4994
|
+
readonly name: "tokensDeployedByUsers";
|
|
4995
|
+
readonly outputs: readonly [{
|
|
4996
|
+
readonly internalType: "address";
|
|
4997
|
+
readonly name: "token";
|
|
4998
|
+
readonly type: "address";
|
|
4999
|
+
}, {
|
|
5000
|
+
readonly internalType: "uint256";
|
|
5001
|
+
readonly name: "positionId";
|
|
5002
|
+
readonly type: "uint256";
|
|
5003
|
+
}, {
|
|
5004
|
+
readonly internalType: "address";
|
|
5005
|
+
readonly name: "locker";
|
|
5006
|
+
readonly type: "address";
|
|
5007
|
+
}];
|
|
5008
|
+
readonly stateMutability: "view";
|
|
5009
|
+
readonly type: "function";
|
|
5010
|
+
}, {
|
|
5011
|
+
readonly inputs: readonly [{
|
|
5012
|
+
readonly internalType: "address";
|
|
5013
|
+
readonly name: "newOwner";
|
|
5014
|
+
readonly type: "address";
|
|
5015
|
+
}];
|
|
5016
|
+
readonly name: "transferOwnership";
|
|
5017
|
+
readonly outputs: readonly [];
|
|
5018
|
+
readonly stateMutability: "nonpayable";
|
|
5019
|
+
readonly type: "function";
|
|
5020
|
+
}, {
|
|
5021
|
+
readonly inputs: readonly [];
|
|
5022
|
+
readonly name: "uniswapV3Factory";
|
|
5023
|
+
readonly outputs: readonly [{
|
|
5024
|
+
readonly internalType: "contract IUniswapV3Factory";
|
|
5025
|
+
readonly name: "";
|
|
5026
|
+
readonly type: "address";
|
|
5027
|
+
}];
|
|
5028
|
+
readonly stateMutability: "view";
|
|
5029
|
+
readonly type: "function";
|
|
5030
|
+
}, {
|
|
5031
|
+
readonly inputs: readonly [{
|
|
5032
|
+
readonly internalType: "address";
|
|
5033
|
+
readonly name: "newLocker";
|
|
5034
|
+
readonly type: "address";
|
|
5035
|
+
}];
|
|
5036
|
+
readonly name: "updateLiquidityLocker";
|
|
5037
|
+
readonly outputs: readonly [];
|
|
5038
|
+
readonly stateMutability: "nonpayable";
|
|
5039
|
+
readonly type: "function";
|
|
5040
|
+
}, {
|
|
5041
|
+
readonly inputs: readonly [];
|
|
5042
|
+
readonly name: "weth";
|
|
5043
|
+
readonly outputs: readonly [{
|
|
5044
|
+
readonly internalType: "address";
|
|
5045
|
+
readonly name: "";
|
|
5046
|
+
readonly type: "address";
|
|
5047
|
+
}];
|
|
5048
|
+
readonly stateMutability: "view";
|
|
5049
|
+
readonly type: "function";
|
|
5050
|
+
}];
|
|
5051
|
+
readonly chainId: 8453;
|
|
5052
|
+
readonly type: "clanker_v3";
|
|
5053
|
+
readonly address: "0x375C15db32D28cEcdcAB5C03Ab889bf15cbD2c5E";
|
|
5054
|
+
readonly related: {
|
|
5055
|
+
locker: "0x5eC4f99F342038c67a312a166Ff56e6D70383D86";
|
|
5056
|
+
};
|
|
5057
|
+
};
|
|
5058
|
+
readonly clanker_v3_1: {
|
|
5059
|
+
readonly abi: readonly [{
|
|
5060
|
+
readonly inputs: readonly [{
|
|
5061
|
+
readonly internalType: "address";
|
|
5062
|
+
readonly name: "owner_";
|
|
5063
|
+
readonly type: "address";
|
|
5064
|
+
}];
|
|
5065
|
+
readonly stateMutability: "nonpayable";
|
|
5066
|
+
readonly type: "constructor";
|
|
5067
|
+
}, {
|
|
5068
|
+
readonly inputs: readonly [];
|
|
5069
|
+
readonly name: "Deprecated";
|
|
5070
|
+
readonly type: "error";
|
|
5071
|
+
}, {
|
|
5072
|
+
readonly inputs: readonly [];
|
|
5073
|
+
readonly name: "InvalidCreatorInfo";
|
|
5074
|
+
readonly type: "error";
|
|
5075
|
+
}, {
|
|
5076
|
+
readonly inputs: readonly [];
|
|
5077
|
+
readonly name: "InvalidCreatorReward";
|
|
5078
|
+
readonly type: "error";
|
|
5079
|
+
}, {
|
|
5080
|
+
readonly inputs: readonly [];
|
|
5081
|
+
readonly name: "InvalidInterfaceInfo";
|
|
5082
|
+
readonly type: "error";
|
|
5083
|
+
}, {
|
|
5084
|
+
readonly inputs: readonly [];
|
|
5085
|
+
readonly name: "InvalidTick";
|
|
5086
|
+
readonly type: "error";
|
|
5087
|
+
}, {
|
|
5088
|
+
readonly inputs: readonly [];
|
|
5089
|
+
readonly name: "InvalidVaultConfiguration";
|
|
5090
|
+
readonly type: "error";
|
|
5091
|
+
}, {
|
|
5092
|
+
readonly inputs: readonly [];
|
|
5093
|
+
readonly name: "NotFound";
|
|
5094
|
+
readonly type: "error";
|
|
5095
|
+
}, {
|
|
5096
|
+
readonly inputs: readonly [];
|
|
5097
|
+
readonly name: "OnlyNonOriginatingChains";
|
|
5098
|
+
readonly type: "error";
|
|
5099
|
+
}, {
|
|
5100
|
+
readonly inputs: readonly [];
|
|
5101
|
+
readonly name: "OnlyOriginatingChain";
|
|
5102
|
+
readonly type: "error";
|
|
5103
|
+
}, {
|
|
5104
|
+
readonly inputs: readonly [{
|
|
5105
|
+
readonly internalType: "address";
|
|
5106
|
+
readonly name: "owner";
|
|
5107
|
+
readonly type: "address";
|
|
5108
|
+
}];
|
|
5109
|
+
readonly name: "OwnableInvalidOwner";
|
|
5110
|
+
readonly type: "error";
|
|
5111
|
+
}, {
|
|
5112
|
+
readonly inputs: readonly [{
|
|
5113
|
+
readonly internalType: "address";
|
|
5114
|
+
readonly name: "account";
|
|
5115
|
+
readonly type: "address";
|
|
5116
|
+
}];
|
|
5117
|
+
readonly name: "OwnableUnauthorizedAccount";
|
|
5118
|
+
readonly type: "error";
|
|
5119
|
+
}, {
|
|
5120
|
+
readonly inputs: readonly [];
|
|
5121
|
+
readonly name: "ReentrancyGuardReentrantCall";
|
|
5122
|
+
readonly type: "error";
|
|
5123
|
+
}, {
|
|
5124
|
+
readonly inputs: readonly [];
|
|
5125
|
+
readonly name: "Unauthorized";
|
|
5126
|
+
readonly type: "error";
|
|
5127
|
+
}, {
|
|
5128
|
+
readonly inputs: readonly [];
|
|
5129
|
+
readonly name: "ZeroTeamRewardRecipient";
|
|
5130
|
+
readonly type: "error";
|
|
5131
|
+
}, {
|
|
5132
|
+
readonly anonymous: false;
|
|
5133
|
+
readonly inputs: readonly [{
|
|
5134
|
+
readonly indexed: false;
|
|
5135
|
+
readonly internalType: "address";
|
|
5136
|
+
readonly name: "oldClankerDeployer";
|
|
5137
|
+
readonly type: "address";
|
|
5138
|
+
}, {
|
|
5139
|
+
readonly indexed: false;
|
|
5140
|
+
readonly internalType: "address";
|
|
5141
|
+
readonly name: "newClankerDeployer";
|
|
5142
|
+
readonly type: "address";
|
|
5143
|
+
}];
|
|
5144
|
+
readonly name: "ClankerDeployerUpdated";
|
|
5145
|
+
readonly type: "event";
|
|
5146
|
+
}, {
|
|
5147
|
+
readonly anonymous: false;
|
|
5148
|
+
readonly inputs: readonly [{
|
|
5149
|
+
readonly indexed: false;
|
|
5150
|
+
readonly internalType: "address";
|
|
5151
|
+
readonly name: "oldLocker";
|
|
5152
|
+
readonly type: "address";
|
|
5153
|
+
}, {
|
|
5154
|
+
readonly indexed: false;
|
|
5155
|
+
readonly internalType: "address";
|
|
5156
|
+
readonly name: "newLocker";
|
|
5157
|
+
readonly type: "address";
|
|
5158
|
+
}];
|
|
5159
|
+
readonly name: "LiquidityLockerUpdated";
|
|
5160
|
+
readonly type: "event";
|
|
5161
|
+
}, {
|
|
5162
|
+
readonly anonymous: false;
|
|
5163
|
+
readonly inputs: readonly [{
|
|
5164
|
+
readonly indexed: true;
|
|
5165
|
+
readonly internalType: "address";
|
|
5166
|
+
readonly name: "previousOwner";
|
|
5167
|
+
readonly type: "address";
|
|
5168
|
+
}, {
|
|
5169
|
+
readonly indexed: true;
|
|
5170
|
+
readonly internalType: "address";
|
|
5171
|
+
readonly name: "newOwner";
|
|
5172
|
+
readonly type: "address";
|
|
5173
|
+
}];
|
|
5174
|
+
readonly name: "OwnershipTransferred";
|
|
5175
|
+
readonly type: "event";
|
|
5176
|
+
}, {
|
|
5177
|
+
readonly anonymous: false;
|
|
5178
|
+
readonly inputs: readonly [{
|
|
5179
|
+
readonly indexed: false;
|
|
5180
|
+
readonly internalType: "address";
|
|
5181
|
+
readonly name: "admin";
|
|
5182
|
+
readonly type: "address";
|
|
5183
|
+
}, {
|
|
5184
|
+
readonly indexed: false;
|
|
5185
|
+
readonly internalType: "bool";
|
|
5186
|
+
readonly name: "isAdmin";
|
|
5187
|
+
readonly type: "bool";
|
|
5188
|
+
}];
|
|
5189
|
+
readonly name: "SetAdmin";
|
|
5190
|
+
readonly type: "event";
|
|
5191
|
+
}, {
|
|
5192
|
+
readonly anonymous: false;
|
|
5193
|
+
readonly inputs: readonly [{
|
|
5194
|
+
readonly indexed: false;
|
|
5195
|
+
readonly internalType: "bool";
|
|
5196
|
+
readonly name: "deprecated";
|
|
5197
|
+
readonly type: "bool";
|
|
5198
|
+
}];
|
|
5199
|
+
readonly name: "SetDeprecated";
|
|
5200
|
+
readonly type: "event";
|
|
5201
|
+
}, {
|
|
5202
|
+
readonly anonymous: false;
|
|
5203
|
+
readonly inputs: readonly [{
|
|
5204
|
+
readonly indexed: true;
|
|
5205
|
+
readonly internalType: "address";
|
|
5206
|
+
readonly name: "tokenAddress";
|
|
5207
|
+
readonly type: "address";
|
|
5208
|
+
}, {
|
|
5209
|
+
readonly indexed: true;
|
|
5210
|
+
readonly internalType: "address";
|
|
5211
|
+
readonly name: "creatorAdmin";
|
|
5212
|
+
readonly type: "address";
|
|
5213
|
+
}, {
|
|
5214
|
+
readonly indexed: true;
|
|
5215
|
+
readonly internalType: "address";
|
|
5216
|
+
readonly name: "interfaceAdmin";
|
|
5217
|
+
readonly type: "address";
|
|
5218
|
+
}, {
|
|
5219
|
+
readonly indexed: false;
|
|
5220
|
+
readonly internalType: "address";
|
|
5221
|
+
readonly name: "creatorRewardRecipient";
|
|
5222
|
+
readonly type: "address";
|
|
5223
|
+
}, {
|
|
5224
|
+
readonly indexed: false;
|
|
5225
|
+
readonly internalType: "address";
|
|
5226
|
+
readonly name: "interfaceRewardRecipient";
|
|
5227
|
+
readonly type: "address";
|
|
5228
|
+
}, {
|
|
5229
|
+
readonly indexed: false;
|
|
5230
|
+
readonly internalType: "uint256";
|
|
5231
|
+
readonly name: "positionId";
|
|
5232
|
+
readonly type: "uint256";
|
|
5233
|
+
}, {
|
|
5234
|
+
readonly indexed: false;
|
|
5235
|
+
readonly internalType: "string";
|
|
5236
|
+
readonly name: "name";
|
|
5237
|
+
readonly type: "string";
|
|
5238
|
+
}, {
|
|
5239
|
+
readonly indexed: false;
|
|
5240
|
+
readonly internalType: "string";
|
|
5241
|
+
readonly name: "symbol";
|
|
5242
|
+
readonly type: "string";
|
|
5243
|
+
}, {
|
|
5244
|
+
readonly indexed: false;
|
|
5245
|
+
readonly internalType: "int24";
|
|
5246
|
+
readonly name: "startingTickIfToken0IsNewToken";
|
|
5247
|
+
readonly type: "int24";
|
|
5248
|
+
}, {
|
|
5249
|
+
readonly indexed: false;
|
|
5250
|
+
readonly internalType: "string";
|
|
5251
|
+
readonly name: "metadata";
|
|
5252
|
+
readonly type: "string";
|
|
5253
|
+
}, {
|
|
5254
|
+
readonly indexed: false;
|
|
5255
|
+
readonly internalType: "uint256";
|
|
5256
|
+
readonly name: "amountTokensBought";
|
|
5257
|
+
readonly type: "uint256";
|
|
5258
|
+
}, {
|
|
5259
|
+
readonly indexed: false;
|
|
5260
|
+
readonly internalType: "uint256";
|
|
5261
|
+
readonly name: "vaultDuration";
|
|
5262
|
+
readonly type: "uint256";
|
|
5263
|
+
}, {
|
|
5264
|
+
readonly indexed: false;
|
|
5265
|
+
readonly internalType: "uint8";
|
|
5266
|
+
readonly name: "vaultPercentage";
|
|
5267
|
+
readonly type: "uint8";
|
|
5268
|
+
}, {
|
|
5269
|
+
readonly indexed: false;
|
|
5270
|
+
readonly internalType: "address";
|
|
5271
|
+
readonly name: "msgSender";
|
|
5272
|
+
readonly type: "address";
|
|
5273
|
+
}];
|
|
5274
|
+
readonly name: "TokenCreated";
|
|
5275
|
+
readonly type: "event";
|
|
5276
|
+
}, {
|
|
5277
|
+
readonly anonymous: false;
|
|
5278
|
+
readonly inputs: readonly [{
|
|
5279
|
+
readonly indexed: false;
|
|
5280
|
+
readonly internalType: "address";
|
|
5281
|
+
readonly name: "oldVault";
|
|
5282
|
+
readonly type: "address";
|
|
5283
|
+
}, {
|
|
5284
|
+
readonly indexed: false;
|
|
5285
|
+
readonly internalType: "address";
|
|
5286
|
+
readonly name: "newVault";
|
|
5287
|
+
readonly type: "address";
|
|
5288
|
+
}];
|
|
5289
|
+
readonly name: "VaultUpdated";
|
|
5290
|
+
readonly type: "event";
|
|
5291
|
+
}, {
|
|
5292
|
+
readonly inputs: readonly [];
|
|
5293
|
+
readonly name: "MAX_CREATOR_REWARD";
|
|
5294
|
+
readonly outputs: readonly [{
|
|
5295
|
+
readonly internalType: "uint256";
|
|
5296
|
+
readonly name: "";
|
|
5297
|
+
readonly type: "uint256";
|
|
5298
|
+
}];
|
|
5299
|
+
readonly stateMutability: "view";
|
|
5300
|
+
readonly type: "function";
|
|
5301
|
+
}, {
|
|
5302
|
+
readonly inputs: readonly [];
|
|
5303
|
+
readonly name: "MAX_TICK";
|
|
5304
|
+
readonly outputs: readonly [{
|
|
5305
|
+
readonly internalType: "int24";
|
|
5306
|
+
readonly name: "";
|
|
5307
|
+
readonly type: "int24";
|
|
5308
|
+
}];
|
|
5309
|
+
readonly stateMutability: "view";
|
|
5310
|
+
readonly type: "function";
|
|
5311
|
+
}, {
|
|
5312
|
+
readonly inputs: readonly [];
|
|
5313
|
+
readonly name: "MAX_VAULT_PERCENTAGE";
|
|
5314
|
+
readonly outputs: readonly [{
|
|
5315
|
+
readonly internalType: "uint256";
|
|
5316
|
+
readonly name: "";
|
|
5317
|
+
readonly type: "uint256";
|
|
5318
|
+
}];
|
|
5319
|
+
readonly stateMutability: "view";
|
|
5320
|
+
readonly type: "function";
|
|
5321
|
+
}, {
|
|
5322
|
+
readonly inputs: readonly [];
|
|
5323
|
+
readonly name: "POOL_FEE";
|
|
5324
|
+
readonly outputs: readonly [{
|
|
5325
|
+
readonly internalType: "uint24";
|
|
5326
|
+
readonly name: "";
|
|
5327
|
+
readonly type: "uint24";
|
|
5328
|
+
}];
|
|
5329
|
+
readonly stateMutability: "view";
|
|
5330
|
+
readonly type: "function";
|
|
5331
|
+
}, {
|
|
5332
|
+
readonly inputs: readonly [];
|
|
5333
|
+
readonly name: "TICK_SPACING";
|
|
5334
|
+
readonly outputs: readonly [{
|
|
5335
|
+
readonly internalType: "int24";
|
|
5336
|
+
readonly name: "";
|
|
5337
|
+
readonly type: "int24";
|
|
5338
|
+
}];
|
|
5339
|
+
readonly stateMutability: "view";
|
|
5340
|
+
readonly type: "function";
|
|
5341
|
+
}, {
|
|
5342
|
+
readonly inputs: readonly [];
|
|
5343
|
+
readonly name: "TOKEN_SUPPLY";
|
|
5344
|
+
readonly outputs: readonly [{
|
|
5345
|
+
readonly internalType: "uint256";
|
|
5346
|
+
readonly name: "";
|
|
5347
|
+
readonly type: "uint256";
|
|
5348
|
+
}];
|
|
5349
|
+
readonly stateMutability: "view";
|
|
5350
|
+
readonly type: "function";
|
|
5351
|
+
}, {
|
|
5352
|
+
readonly inputs: readonly [{
|
|
5353
|
+
readonly internalType: "address";
|
|
5354
|
+
readonly name: "";
|
|
5355
|
+
readonly type: "address";
|
|
5356
|
+
}];
|
|
5357
|
+
readonly name: "admins";
|
|
5358
|
+
readonly outputs: readonly [{
|
|
5359
|
+
readonly internalType: "bool";
|
|
5360
|
+
readonly name: "";
|
|
5361
|
+
readonly type: "bool";
|
|
5362
|
+
}];
|
|
5363
|
+
readonly stateMutability: "view";
|
|
5364
|
+
readonly type: "function";
|
|
5365
|
+
}, {
|
|
5366
|
+
readonly inputs: readonly [{
|
|
5367
|
+
readonly internalType: "address";
|
|
5368
|
+
readonly name: "token";
|
|
5369
|
+
readonly type: "address";
|
|
5370
|
+
}];
|
|
5371
|
+
readonly name: "claimRewards";
|
|
5372
|
+
readonly outputs: readonly [];
|
|
5373
|
+
readonly stateMutability: "nonpayable";
|
|
5374
|
+
readonly type: "function";
|
|
5375
|
+
}, {
|
|
5376
|
+
readonly inputs: readonly [{
|
|
5377
|
+
readonly components: readonly [{
|
|
5378
|
+
readonly components: readonly [{
|
|
5379
|
+
readonly internalType: "string";
|
|
5380
|
+
readonly name: "name";
|
|
5381
|
+
readonly type: "string";
|
|
5382
|
+
}, {
|
|
5383
|
+
readonly internalType: "string";
|
|
5384
|
+
readonly name: "symbol";
|
|
5385
|
+
readonly type: "string";
|
|
5386
|
+
}, {
|
|
5387
|
+
readonly internalType: "bytes32";
|
|
5388
|
+
readonly name: "salt";
|
|
5389
|
+
readonly type: "bytes32";
|
|
5390
|
+
}, {
|
|
5391
|
+
readonly internalType: "string";
|
|
5392
|
+
readonly name: "image";
|
|
5393
|
+
readonly type: "string";
|
|
5394
|
+
}, {
|
|
5395
|
+
readonly internalType: "string";
|
|
5396
|
+
readonly name: "metadata";
|
|
5397
|
+
readonly type: "string";
|
|
5398
|
+
}, {
|
|
5399
|
+
readonly internalType: "string";
|
|
5400
|
+
readonly name: "context";
|
|
5401
|
+
readonly type: "string";
|
|
5402
|
+
}, {
|
|
5403
|
+
readonly internalType: "uint256";
|
|
5404
|
+
readonly name: "originatingChainId";
|
|
5405
|
+
readonly type: "uint256";
|
|
5406
|
+
}];
|
|
5407
|
+
readonly internalType: "struct IClanker.TokenConfig";
|
|
5408
|
+
readonly name: "tokenConfig";
|
|
5409
|
+
readonly type: "tuple";
|
|
5410
|
+
}, {
|
|
5411
|
+
readonly components: readonly [{
|
|
5412
|
+
readonly internalType: "uint8";
|
|
5413
|
+
readonly name: "vaultPercentage";
|
|
5414
|
+
readonly type: "uint8";
|
|
5415
|
+
}, {
|
|
5416
|
+
readonly internalType: "uint256";
|
|
5417
|
+
readonly name: "vaultDuration";
|
|
5418
|
+
readonly type: "uint256";
|
|
5419
|
+
}];
|
|
5420
|
+
readonly internalType: "struct IClanker.VaultConfig";
|
|
5421
|
+
readonly name: "vaultConfig";
|
|
5422
|
+
readonly type: "tuple";
|
|
5423
|
+
}, {
|
|
5424
|
+
readonly components: readonly [{
|
|
5425
|
+
readonly internalType: "address";
|
|
5426
|
+
readonly name: "pairedToken";
|
|
5427
|
+
readonly type: "address";
|
|
5428
|
+
}, {
|
|
5429
|
+
readonly internalType: "int24";
|
|
5430
|
+
readonly name: "tickIfToken0IsNewToken";
|
|
5431
|
+
readonly type: "int24";
|
|
5432
|
+
}];
|
|
5433
|
+
readonly internalType: "struct IClanker.PoolConfig";
|
|
5434
|
+
readonly name: "poolConfig";
|
|
5435
|
+
readonly type: "tuple";
|
|
5436
|
+
}, {
|
|
5437
|
+
readonly components: readonly [{
|
|
5438
|
+
readonly internalType: "uint24";
|
|
5439
|
+
readonly name: "pairedTokenPoolFee";
|
|
5440
|
+
readonly type: "uint24";
|
|
5441
|
+
}, {
|
|
5442
|
+
readonly internalType: "uint256";
|
|
5443
|
+
readonly name: "pairedTokenSwapAmountOutMinimum";
|
|
5444
|
+
readonly type: "uint256";
|
|
5445
|
+
}];
|
|
5446
|
+
readonly internalType: "struct IClanker.InitialBuyConfig";
|
|
5447
|
+
readonly name: "initialBuyConfig";
|
|
5448
|
+
readonly type: "tuple";
|
|
5449
|
+
}, {
|
|
5450
|
+
readonly components: readonly [{
|
|
5451
|
+
readonly internalType: "uint256";
|
|
5452
|
+
readonly name: "creatorReward";
|
|
5453
|
+
readonly type: "uint256";
|
|
5454
|
+
}, {
|
|
5455
|
+
readonly internalType: "address";
|
|
5456
|
+
readonly name: "creatorAdmin";
|
|
5457
|
+
readonly type: "address";
|
|
5458
|
+
}, {
|
|
5459
|
+
readonly internalType: "address";
|
|
5460
|
+
readonly name: "creatorRewardRecipient";
|
|
5461
|
+
readonly type: "address";
|
|
5462
|
+
}, {
|
|
5463
|
+
readonly internalType: "address";
|
|
5464
|
+
readonly name: "interfaceAdmin";
|
|
5465
|
+
readonly type: "address";
|
|
5466
|
+
}, {
|
|
5467
|
+
readonly internalType: "address";
|
|
5468
|
+
readonly name: "interfaceRewardRecipient";
|
|
5469
|
+
readonly type: "address";
|
|
5470
|
+
}];
|
|
5471
|
+
readonly internalType: "struct IClanker.RewardsConfig";
|
|
5472
|
+
readonly name: "rewardsConfig";
|
|
5473
|
+
readonly type: "tuple";
|
|
5474
|
+
}];
|
|
5475
|
+
readonly internalType: "struct IClanker.DeploymentConfig";
|
|
5476
|
+
readonly name: "deploymentConfig";
|
|
5477
|
+
readonly type: "tuple";
|
|
5478
|
+
}];
|
|
5479
|
+
readonly name: "deployToken";
|
|
5480
|
+
readonly outputs: readonly [{
|
|
5481
|
+
readonly internalType: "address";
|
|
5482
|
+
readonly name: "tokenAddress";
|
|
5483
|
+
readonly type: "address";
|
|
5484
|
+
}, {
|
|
5485
|
+
readonly internalType: "uint256";
|
|
5486
|
+
readonly name: "positionId";
|
|
5487
|
+
readonly type: "uint256";
|
|
5488
|
+
}];
|
|
5489
|
+
readonly stateMutability: "payable";
|
|
5490
|
+
readonly type: "function";
|
|
5491
|
+
}, {
|
|
5492
|
+
readonly inputs: readonly [{
|
|
5493
|
+
readonly components: readonly [{
|
|
5494
|
+
readonly components: readonly [{
|
|
5495
|
+
readonly internalType: "string";
|
|
5496
|
+
readonly name: "name";
|
|
5497
|
+
readonly type: "string";
|
|
5498
|
+
}, {
|
|
5499
|
+
readonly internalType: "string";
|
|
5500
|
+
readonly name: "symbol";
|
|
5501
|
+
readonly type: "string";
|
|
5502
|
+
}, {
|
|
5503
|
+
readonly internalType: "bytes32";
|
|
5504
|
+
readonly name: "salt";
|
|
5505
|
+
readonly type: "bytes32";
|
|
5506
|
+
}, {
|
|
5507
|
+
readonly internalType: "string";
|
|
5508
|
+
readonly name: "image";
|
|
5509
|
+
readonly type: "string";
|
|
5510
|
+
}, {
|
|
5511
|
+
readonly internalType: "string";
|
|
5512
|
+
readonly name: "metadata";
|
|
5513
|
+
readonly type: "string";
|
|
5514
|
+
}, {
|
|
5515
|
+
readonly internalType: "string";
|
|
5516
|
+
readonly name: "context";
|
|
5517
|
+
readonly type: "string";
|
|
5518
|
+
}, {
|
|
5519
|
+
readonly internalType: "uint256";
|
|
5520
|
+
readonly name: "originatingChainId";
|
|
5521
|
+
readonly type: "uint256";
|
|
5522
|
+
}];
|
|
5523
|
+
readonly internalType: "struct IClanker.TokenConfig";
|
|
5524
|
+
readonly name: "tokenConfig";
|
|
5525
|
+
readonly type: "tuple";
|
|
5526
|
+
}, {
|
|
5527
|
+
readonly components: readonly [{
|
|
5528
|
+
readonly internalType: "uint8";
|
|
5529
|
+
readonly name: "vaultPercentage";
|
|
5530
|
+
readonly type: "uint8";
|
|
5531
|
+
}, {
|
|
5532
|
+
readonly internalType: "uint256";
|
|
5533
|
+
readonly name: "vaultDuration";
|
|
5534
|
+
readonly type: "uint256";
|
|
5535
|
+
}];
|
|
5536
|
+
readonly internalType: "struct IClanker.VaultConfig";
|
|
5537
|
+
readonly name: "vaultConfig";
|
|
5538
|
+
readonly type: "tuple";
|
|
5539
|
+
}, {
|
|
5540
|
+
readonly components: readonly [{
|
|
5541
|
+
readonly internalType: "address";
|
|
5542
|
+
readonly name: "pairedToken";
|
|
5543
|
+
readonly type: "address";
|
|
5544
|
+
}, {
|
|
5545
|
+
readonly internalType: "int24";
|
|
5546
|
+
readonly name: "tickIfToken0IsNewToken";
|
|
5547
|
+
readonly type: "int24";
|
|
5548
|
+
}];
|
|
5549
|
+
readonly internalType: "struct IClanker.PoolConfig";
|
|
5550
|
+
readonly name: "poolConfig";
|
|
5551
|
+
readonly type: "tuple";
|
|
5552
|
+
}, {
|
|
5553
|
+
readonly components: readonly [{
|
|
5554
|
+
readonly internalType: "uint24";
|
|
5555
|
+
readonly name: "pairedTokenPoolFee";
|
|
5556
|
+
readonly type: "uint24";
|
|
5557
|
+
}, {
|
|
5558
|
+
readonly internalType: "uint256";
|
|
5559
|
+
readonly name: "pairedTokenSwapAmountOutMinimum";
|
|
5560
|
+
readonly type: "uint256";
|
|
5561
|
+
}];
|
|
5562
|
+
readonly internalType: "struct IClanker.InitialBuyConfig";
|
|
5563
|
+
readonly name: "initialBuyConfig";
|
|
5564
|
+
readonly type: "tuple";
|
|
5565
|
+
}, {
|
|
5566
|
+
readonly components: readonly [{
|
|
5567
|
+
readonly internalType: "uint256";
|
|
5568
|
+
readonly name: "creatorReward";
|
|
5569
|
+
readonly type: "uint256";
|
|
5570
|
+
}, {
|
|
5571
|
+
readonly internalType: "address";
|
|
5572
|
+
readonly name: "creatorAdmin";
|
|
5573
|
+
readonly type: "address";
|
|
5574
|
+
}, {
|
|
5575
|
+
readonly internalType: "address";
|
|
5576
|
+
readonly name: "creatorRewardRecipient";
|
|
5577
|
+
readonly type: "address";
|
|
5578
|
+
}, {
|
|
5579
|
+
readonly internalType: "address";
|
|
5580
|
+
readonly name: "interfaceAdmin";
|
|
5581
|
+
readonly type: "address";
|
|
5582
|
+
}, {
|
|
5583
|
+
readonly internalType: "address";
|
|
5584
|
+
readonly name: "interfaceRewardRecipient";
|
|
5585
|
+
readonly type: "address";
|
|
5586
|
+
}];
|
|
5587
|
+
readonly internalType: "struct IClanker.RewardsConfig";
|
|
5588
|
+
readonly name: "rewardsConfig";
|
|
5589
|
+
readonly type: "tuple";
|
|
5590
|
+
}];
|
|
5591
|
+
readonly internalType: "struct IClanker.DeploymentConfig";
|
|
5592
|
+
readonly name: "deploymentConfig";
|
|
5593
|
+
readonly type: "tuple";
|
|
5594
|
+
}, {
|
|
5595
|
+
readonly internalType: "address";
|
|
5596
|
+
readonly name: "teamRewardRecipient";
|
|
5597
|
+
readonly type: "address";
|
|
5598
|
+
}];
|
|
5599
|
+
readonly name: "deployTokenWithCustomTeamRewardRecipient";
|
|
5600
|
+
readonly outputs: readonly [{
|
|
5601
|
+
readonly internalType: "address";
|
|
5602
|
+
readonly name: "tokenAddress";
|
|
5603
|
+
readonly type: "address";
|
|
5604
|
+
}, {
|
|
5605
|
+
readonly internalType: "uint256";
|
|
5606
|
+
readonly name: "positionId";
|
|
5607
|
+
readonly type: "uint256";
|
|
5608
|
+
}];
|
|
5609
|
+
readonly stateMutability: "payable";
|
|
5610
|
+
readonly type: "function";
|
|
5611
|
+
}, {
|
|
5612
|
+
readonly inputs: readonly [{
|
|
5613
|
+
readonly components: readonly [{
|
|
5614
|
+
readonly internalType: "string";
|
|
5615
|
+
readonly name: "name";
|
|
5616
|
+
readonly type: "string";
|
|
5617
|
+
}, {
|
|
5618
|
+
readonly internalType: "string";
|
|
5619
|
+
readonly name: "symbol";
|
|
5620
|
+
readonly type: "string";
|
|
5621
|
+
}, {
|
|
5622
|
+
readonly internalType: "bytes32";
|
|
5623
|
+
readonly name: "salt";
|
|
5624
|
+
readonly type: "bytes32";
|
|
5625
|
+
}, {
|
|
5626
|
+
readonly internalType: "string";
|
|
5627
|
+
readonly name: "image";
|
|
5628
|
+
readonly type: "string";
|
|
5629
|
+
}, {
|
|
5630
|
+
readonly internalType: "string";
|
|
5631
|
+
readonly name: "metadata";
|
|
5632
|
+
readonly type: "string";
|
|
5633
|
+
}, {
|
|
5634
|
+
readonly internalType: "string";
|
|
5635
|
+
readonly name: "context";
|
|
5636
|
+
readonly type: "string";
|
|
5637
|
+
}, {
|
|
5638
|
+
readonly internalType: "uint256";
|
|
5639
|
+
readonly name: "originatingChainId";
|
|
5640
|
+
readonly type: "uint256";
|
|
5641
|
+
}];
|
|
5642
|
+
readonly internalType: "struct IClanker.TokenConfig";
|
|
5643
|
+
readonly name: "tokenConfig";
|
|
5644
|
+
readonly type: "tuple";
|
|
5645
|
+
}, {
|
|
5646
|
+
readonly internalType: "address";
|
|
5647
|
+
readonly name: "tokenAdmin";
|
|
5648
|
+
readonly type: "address";
|
|
5649
|
+
}];
|
|
5650
|
+
readonly name: "deployTokenZeroSupply";
|
|
5651
|
+
readonly outputs: readonly [{
|
|
5652
|
+
readonly internalType: "address";
|
|
5653
|
+
readonly name: "tokenAddress";
|
|
5654
|
+
readonly type: "address";
|
|
5655
|
+
}];
|
|
5656
|
+
readonly stateMutability: "nonpayable";
|
|
5657
|
+
readonly type: "function";
|
|
5658
|
+
}, {
|
|
5659
|
+
readonly inputs: readonly [{
|
|
5660
|
+
readonly internalType: "address";
|
|
5661
|
+
readonly name: "";
|
|
5662
|
+
readonly type: "address";
|
|
5663
|
+
}];
|
|
5664
|
+
readonly name: "deploymentInfoForToken";
|
|
5665
|
+
readonly outputs: readonly [{
|
|
5666
|
+
readonly internalType: "address";
|
|
5667
|
+
readonly name: "token";
|
|
5668
|
+
readonly type: "address";
|
|
5669
|
+
}, {
|
|
5670
|
+
readonly internalType: "uint256";
|
|
5671
|
+
readonly name: "positionId";
|
|
5672
|
+
readonly type: "uint256";
|
|
5673
|
+
}, {
|
|
5674
|
+
readonly internalType: "address";
|
|
5675
|
+
readonly name: "locker";
|
|
5676
|
+
readonly type: "address";
|
|
5677
|
+
}];
|
|
5678
|
+
readonly stateMutability: "view";
|
|
5679
|
+
readonly type: "function";
|
|
5680
|
+
}, {
|
|
5681
|
+
readonly inputs: readonly [];
|
|
5682
|
+
readonly name: "deprecated";
|
|
5683
|
+
readonly outputs: readonly [{
|
|
5684
|
+
readonly internalType: "bool";
|
|
5685
|
+
readonly name: "";
|
|
5686
|
+
readonly type: "bool";
|
|
5687
|
+
}];
|
|
5688
|
+
readonly stateMutability: "view";
|
|
5689
|
+
readonly type: "function";
|
|
5690
|
+
}, {
|
|
5691
|
+
readonly inputs: readonly [{
|
|
5692
|
+
readonly internalType: "address";
|
|
5693
|
+
readonly name: "user";
|
|
5694
|
+
readonly type: "address";
|
|
5695
|
+
}];
|
|
5696
|
+
readonly name: "getTokensDeployedByUser";
|
|
5697
|
+
readonly outputs: readonly [{
|
|
5698
|
+
readonly components: readonly [{
|
|
5699
|
+
readonly internalType: "address";
|
|
5700
|
+
readonly name: "token";
|
|
5701
|
+
readonly type: "address";
|
|
5702
|
+
}, {
|
|
5703
|
+
readonly internalType: "uint256";
|
|
5704
|
+
readonly name: "positionId";
|
|
5705
|
+
readonly type: "uint256";
|
|
5706
|
+
}, {
|
|
5707
|
+
readonly internalType: "address";
|
|
5708
|
+
readonly name: "locker";
|
|
5709
|
+
readonly type: "address";
|
|
5710
|
+
}];
|
|
5711
|
+
readonly internalType: "struct IClanker.DeploymentInfo[]";
|
|
5712
|
+
readonly name: "";
|
|
5713
|
+
readonly type: "tuple[]";
|
|
5714
|
+
}];
|
|
5715
|
+
readonly stateMutability: "view";
|
|
5716
|
+
readonly type: "function";
|
|
5717
|
+
}, {
|
|
5718
|
+
readonly inputs: readonly [{
|
|
5719
|
+
readonly internalType: "address";
|
|
5720
|
+
readonly name: "uniswapV3Factory_";
|
|
5721
|
+
readonly type: "address";
|
|
5722
|
+
}, {
|
|
5723
|
+
readonly internalType: "address";
|
|
5724
|
+
readonly name: "positionManager_";
|
|
5725
|
+
readonly type: "address";
|
|
5726
|
+
}, {
|
|
5727
|
+
readonly internalType: "address";
|
|
5728
|
+
readonly name: "swapRouter_";
|
|
5729
|
+
readonly type: "address";
|
|
5730
|
+
}, {
|
|
5731
|
+
readonly internalType: "address";
|
|
5732
|
+
readonly name: "weth_";
|
|
5733
|
+
readonly type: "address";
|
|
5734
|
+
}, {
|
|
5735
|
+
readonly internalType: "address";
|
|
5736
|
+
readonly name: "liquidityLocker_";
|
|
5737
|
+
readonly type: "address";
|
|
5738
|
+
}, {
|
|
5739
|
+
readonly internalType: "address";
|
|
5740
|
+
readonly name: "vault_";
|
|
5741
|
+
readonly type: "address";
|
|
5742
|
+
}];
|
|
5743
|
+
readonly name: "initialize";
|
|
5744
|
+
readonly outputs: readonly [];
|
|
5745
|
+
readonly stateMutability: "nonpayable";
|
|
5746
|
+
readonly type: "function";
|
|
5747
|
+
}, {
|
|
5748
|
+
readonly inputs: readonly [];
|
|
5749
|
+
readonly name: "liquidityLocker";
|
|
5750
|
+
readonly outputs: readonly [{
|
|
5751
|
+
readonly internalType: "contract ILpLockerv2";
|
|
5752
|
+
readonly name: "";
|
|
5753
|
+
readonly type: "address";
|
|
5754
|
+
}];
|
|
5755
|
+
readonly stateMutability: "view";
|
|
5756
|
+
readonly type: "function";
|
|
5757
|
+
}, {
|
|
5758
|
+
readonly inputs: readonly [];
|
|
5759
|
+
readonly name: "owner";
|
|
5760
|
+
readonly outputs: readonly [{
|
|
5761
|
+
readonly internalType: "address";
|
|
5762
|
+
readonly name: "";
|
|
5763
|
+
readonly type: "address";
|
|
5764
|
+
}];
|
|
5765
|
+
readonly stateMutability: "view";
|
|
5766
|
+
readonly type: "function";
|
|
5767
|
+
}, {
|
|
5768
|
+
readonly inputs: readonly [];
|
|
5769
|
+
readonly name: "positionManager";
|
|
5770
|
+
readonly outputs: readonly [{
|
|
5771
|
+
readonly internalType: "contract INonfungiblePositionManager";
|
|
5772
|
+
readonly name: "";
|
|
5773
|
+
readonly type: "address";
|
|
5774
|
+
}];
|
|
5775
|
+
readonly stateMutability: "view";
|
|
5776
|
+
readonly type: "function";
|
|
5777
|
+
}, {
|
|
5778
|
+
readonly inputs: readonly [];
|
|
5779
|
+
readonly name: "renounceOwnership";
|
|
5780
|
+
readonly outputs: readonly [];
|
|
5781
|
+
readonly stateMutability: "nonpayable";
|
|
5782
|
+
readonly type: "function";
|
|
5783
|
+
}, {
|
|
5784
|
+
readonly inputs: readonly [{
|
|
5785
|
+
readonly internalType: "address";
|
|
5786
|
+
readonly name: "admin";
|
|
5787
|
+
readonly type: "address";
|
|
5788
|
+
}, {
|
|
5789
|
+
readonly internalType: "bool";
|
|
5790
|
+
readonly name: "isAdmin";
|
|
5791
|
+
readonly type: "bool";
|
|
5792
|
+
}];
|
|
5793
|
+
readonly name: "setAdmin";
|
|
5794
|
+
readonly outputs: readonly [];
|
|
5795
|
+
readonly stateMutability: "nonpayable";
|
|
5796
|
+
readonly type: "function";
|
|
5797
|
+
}, {
|
|
5798
|
+
readonly inputs: readonly [{
|
|
5799
|
+
readonly internalType: "bool";
|
|
5800
|
+
readonly name: "deprecated_";
|
|
5801
|
+
readonly type: "bool";
|
|
5802
|
+
}];
|
|
5803
|
+
readonly name: "setDeprecated";
|
|
5804
|
+
readonly outputs: readonly [];
|
|
5805
|
+
readonly stateMutability: "nonpayable";
|
|
5806
|
+
readonly type: "function";
|
|
5807
|
+
}, {
|
|
5808
|
+
readonly inputs: readonly [];
|
|
5809
|
+
readonly name: "swapRouter";
|
|
5810
|
+
readonly outputs: readonly [{
|
|
5811
|
+
readonly internalType: "contract ISwapRouter";
|
|
5812
|
+
readonly name: "";
|
|
5813
|
+
readonly type: "address";
|
|
5814
|
+
}];
|
|
5815
|
+
readonly stateMutability: "view";
|
|
5816
|
+
readonly type: "function";
|
|
5817
|
+
}, {
|
|
5818
|
+
readonly inputs: readonly [{
|
|
5819
|
+
readonly internalType: "address";
|
|
5820
|
+
readonly name: "";
|
|
5821
|
+
readonly type: "address";
|
|
5822
|
+
}, {
|
|
5823
|
+
readonly internalType: "uint256";
|
|
5824
|
+
readonly name: "";
|
|
5825
|
+
readonly type: "uint256";
|
|
5826
|
+
}];
|
|
5827
|
+
readonly name: "tokensDeployedByUsers";
|
|
5828
|
+
readonly outputs: readonly [{
|
|
5829
|
+
readonly internalType: "address";
|
|
5830
|
+
readonly name: "token";
|
|
5831
|
+
readonly type: "address";
|
|
5832
|
+
}, {
|
|
5833
|
+
readonly internalType: "uint256";
|
|
5834
|
+
readonly name: "positionId";
|
|
5835
|
+
readonly type: "uint256";
|
|
5836
|
+
}, {
|
|
5837
|
+
readonly internalType: "address";
|
|
5838
|
+
readonly name: "locker";
|
|
5839
|
+
readonly type: "address";
|
|
5840
|
+
}];
|
|
5841
|
+
readonly stateMutability: "view";
|
|
5842
|
+
readonly type: "function";
|
|
5843
|
+
}, {
|
|
5844
|
+
readonly inputs: readonly [{
|
|
5845
|
+
readonly internalType: "address";
|
|
5846
|
+
readonly name: "newOwner";
|
|
5847
|
+
readonly type: "address";
|
|
5848
|
+
}];
|
|
5849
|
+
readonly name: "transferOwnership";
|
|
5850
|
+
readonly outputs: readonly [];
|
|
5851
|
+
readonly stateMutability: "nonpayable";
|
|
5852
|
+
readonly type: "function";
|
|
5853
|
+
}, {
|
|
5854
|
+
readonly inputs: readonly [];
|
|
5855
|
+
readonly name: "uniswapV3Factory";
|
|
5856
|
+
readonly outputs: readonly [{
|
|
5857
|
+
readonly internalType: "contract IUniswapV3Factory";
|
|
5858
|
+
readonly name: "";
|
|
5859
|
+
readonly type: "address";
|
|
5860
|
+
}];
|
|
5861
|
+
readonly stateMutability: "view";
|
|
5862
|
+
readonly type: "function";
|
|
5863
|
+
}, {
|
|
5864
|
+
readonly inputs: readonly [{
|
|
5865
|
+
readonly internalType: "address";
|
|
5866
|
+
readonly name: "newLocker";
|
|
5867
|
+
readonly type: "address";
|
|
5868
|
+
}];
|
|
5869
|
+
readonly name: "updateLiquidityLocker";
|
|
5870
|
+
readonly outputs: readonly [];
|
|
5871
|
+
readonly stateMutability: "nonpayable";
|
|
5872
|
+
readonly type: "function";
|
|
5873
|
+
}, {
|
|
5874
|
+
readonly inputs: readonly [{
|
|
5875
|
+
readonly internalType: "address";
|
|
5876
|
+
readonly name: "newVault";
|
|
5877
|
+
readonly type: "address";
|
|
5878
|
+
}];
|
|
5879
|
+
readonly name: "updateVault";
|
|
5880
|
+
readonly outputs: readonly [];
|
|
5881
|
+
readonly stateMutability: "nonpayable";
|
|
5882
|
+
readonly type: "function";
|
|
5883
|
+
}, {
|
|
5884
|
+
readonly inputs: readonly [];
|
|
5885
|
+
readonly name: "vault";
|
|
5886
|
+
readonly outputs: readonly [{
|
|
5887
|
+
readonly internalType: "contract IClankerVault";
|
|
5888
|
+
readonly name: "";
|
|
5889
|
+
readonly type: "address";
|
|
5890
|
+
}];
|
|
5891
|
+
readonly stateMutability: "view";
|
|
5892
|
+
readonly type: "function";
|
|
5893
|
+
}, {
|
|
5894
|
+
readonly inputs: readonly [];
|
|
5895
|
+
readonly name: "weth";
|
|
5896
|
+
readonly outputs: readonly [{
|
|
5897
|
+
readonly internalType: "address";
|
|
5898
|
+
readonly name: "";
|
|
5899
|
+
readonly type: "address";
|
|
5900
|
+
}];
|
|
5901
|
+
readonly stateMutability: "view";
|
|
5902
|
+
readonly type: "function";
|
|
5903
|
+
}];
|
|
5904
|
+
readonly chainId: 8453;
|
|
5905
|
+
readonly type: "clanker_v3_1";
|
|
5906
|
+
readonly address: "0x2A787b2362021cC3eEa3C24C4748a6cD5B687382";
|
|
5907
|
+
readonly related: {
|
|
5908
|
+
locker: "0x33e2Eda238edcF470309b8c6D228986A1204c8f9";
|
|
5909
|
+
vault: "0x42A95190B4088C88Dd904d930c79deC1158bF09D";
|
|
5910
|
+
};
|
|
5911
|
+
};
|
|
5912
|
+
readonly clanker_v4: {
|
|
5913
|
+
readonly abi: readonly [{
|
|
5914
|
+
readonly inputs: readonly [{
|
|
5915
|
+
readonly internalType: "address";
|
|
5916
|
+
readonly name: "owner_";
|
|
5917
|
+
readonly type: "address";
|
|
5918
|
+
}];
|
|
5919
|
+
readonly stateMutability: "nonpayable";
|
|
5920
|
+
readonly type: "constructor";
|
|
5921
|
+
}, {
|
|
5922
|
+
readonly inputs: readonly [];
|
|
5923
|
+
readonly name: "Deprecated";
|
|
5924
|
+
readonly type: "error";
|
|
5925
|
+
}, {
|
|
5926
|
+
readonly inputs: readonly [];
|
|
5927
|
+
readonly name: "ExtensionMsgValueMismatch";
|
|
5928
|
+
readonly type: "error";
|
|
5929
|
+
}, {
|
|
5930
|
+
readonly inputs: readonly [];
|
|
5931
|
+
readonly name: "ExtensionNotEnabled";
|
|
5932
|
+
readonly type: "error";
|
|
5933
|
+
}, {
|
|
5934
|
+
readonly inputs: readonly [];
|
|
5935
|
+
readonly name: "HookNotEnabled";
|
|
5936
|
+
readonly type: "error";
|
|
5937
|
+
}, {
|
|
5938
|
+
readonly inputs: readonly [];
|
|
5939
|
+
readonly name: "InvalidExtension";
|
|
5940
|
+
readonly type: "error";
|
|
5941
|
+
}, {
|
|
5942
|
+
readonly inputs: readonly [];
|
|
5943
|
+
readonly name: "InvalidHook";
|
|
5944
|
+
readonly type: "error";
|
|
5945
|
+
}, {
|
|
5946
|
+
readonly inputs: readonly [];
|
|
5947
|
+
readonly name: "InvalidLocker";
|
|
5948
|
+
readonly type: "error";
|
|
5949
|
+
}, {
|
|
5950
|
+
readonly inputs: readonly [];
|
|
5951
|
+
readonly name: "InvalidMevModule";
|
|
5952
|
+
readonly type: "error";
|
|
5953
|
+
}, {
|
|
5954
|
+
readonly inputs: readonly [];
|
|
5955
|
+
readonly name: "LockerNotEnabled";
|
|
5956
|
+
readonly type: "error";
|
|
5957
|
+
}, {
|
|
5958
|
+
readonly inputs: readonly [];
|
|
5959
|
+
readonly name: "MaxExtensionBpsExceeded";
|
|
5960
|
+
readonly type: "error";
|
|
5961
|
+
}, {
|
|
5962
|
+
readonly inputs: readonly [];
|
|
5963
|
+
readonly name: "MaxExtensionsExceeded";
|
|
5964
|
+
readonly type: "error";
|
|
5965
|
+
}, {
|
|
5966
|
+
readonly inputs: readonly [];
|
|
5967
|
+
readonly name: "MevModuleNotEnabled";
|
|
5968
|
+
readonly type: "error";
|
|
5969
|
+
}, {
|
|
5970
|
+
readonly inputs: readonly [];
|
|
5971
|
+
readonly name: "NotFound";
|
|
5972
|
+
readonly type: "error";
|
|
5973
|
+
}, {
|
|
5974
|
+
readonly inputs: readonly [];
|
|
5975
|
+
readonly name: "OnlyNonOriginatingChains";
|
|
5976
|
+
readonly type: "error";
|
|
5977
|
+
}, {
|
|
5978
|
+
readonly inputs: readonly [];
|
|
5979
|
+
readonly name: "OnlyOriginatingChain";
|
|
5980
|
+
readonly type: "error";
|
|
5981
|
+
}, {
|
|
5982
|
+
readonly inputs: readonly [{
|
|
5983
|
+
readonly internalType: "address";
|
|
5984
|
+
readonly name: "owner";
|
|
5985
|
+
readonly type: "address";
|
|
5986
|
+
}];
|
|
5987
|
+
readonly name: "OwnableInvalidOwner";
|
|
5988
|
+
readonly type: "error";
|
|
5989
|
+
}, {
|
|
5990
|
+
readonly inputs: readonly [{
|
|
5991
|
+
readonly internalType: "address";
|
|
5992
|
+
readonly name: "account";
|
|
5993
|
+
readonly type: "address";
|
|
5994
|
+
}];
|
|
5995
|
+
readonly name: "OwnableUnauthorizedAccount";
|
|
5996
|
+
readonly type: "error";
|
|
5997
|
+
}, {
|
|
5998
|
+
readonly inputs: readonly [];
|
|
5999
|
+
readonly name: "ReentrancyGuardReentrantCall";
|
|
6000
|
+
readonly type: "error";
|
|
6001
|
+
}, {
|
|
6002
|
+
readonly inputs: readonly [];
|
|
6003
|
+
readonly name: "Unauthorized";
|
|
6004
|
+
readonly type: "error";
|
|
6005
|
+
}, {
|
|
6006
|
+
readonly anonymous: false;
|
|
6007
|
+
readonly inputs: readonly [{
|
|
6008
|
+
readonly indexed: true;
|
|
6009
|
+
readonly internalType: "address";
|
|
6010
|
+
readonly name: "token";
|
|
6011
|
+
readonly type: "address";
|
|
6012
|
+
}, {
|
|
6013
|
+
readonly indexed: true;
|
|
6014
|
+
readonly internalType: "address";
|
|
6015
|
+
readonly name: "recipient";
|
|
6016
|
+
readonly type: "address";
|
|
6017
|
+
}, {
|
|
6018
|
+
readonly indexed: false;
|
|
6019
|
+
readonly internalType: "uint256";
|
|
6020
|
+
readonly name: "amount";
|
|
6021
|
+
readonly type: "uint256";
|
|
6022
|
+
}];
|
|
6023
|
+
readonly name: "ClaimTeamFees";
|
|
6024
|
+
readonly type: "event";
|
|
6025
|
+
}, {
|
|
6026
|
+
readonly anonymous: false;
|
|
6027
|
+
readonly inputs: readonly [{
|
|
6028
|
+
readonly indexed: false;
|
|
6029
|
+
readonly internalType: "address";
|
|
6030
|
+
readonly name: "extension";
|
|
6031
|
+
readonly type: "address";
|
|
6032
|
+
}, {
|
|
6033
|
+
readonly indexed: false;
|
|
6034
|
+
readonly internalType: "uint256";
|
|
6035
|
+
readonly name: "extensionSupply";
|
|
6036
|
+
readonly type: "uint256";
|
|
6037
|
+
}, {
|
|
6038
|
+
readonly indexed: false;
|
|
6039
|
+
readonly internalType: "uint256";
|
|
6040
|
+
readonly name: "msgValue";
|
|
6041
|
+
readonly type: "uint256";
|
|
6042
|
+
}];
|
|
6043
|
+
readonly name: "ExtensionTriggered";
|
|
6044
|
+
readonly type: "event";
|
|
6045
|
+
}, {
|
|
6046
|
+
readonly anonymous: false;
|
|
6047
|
+
readonly inputs: readonly [{
|
|
6048
|
+
readonly indexed: true;
|
|
6049
|
+
readonly internalType: "address";
|
|
6050
|
+
readonly name: "previousOwner";
|
|
6051
|
+
readonly type: "address";
|
|
6052
|
+
}, {
|
|
6053
|
+
readonly indexed: true;
|
|
6054
|
+
readonly internalType: "address";
|
|
6055
|
+
readonly name: "newOwner";
|
|
6056
|
+
readonly type: "address";
|
|
6057
|
+
}];
|
|
6058
|
+
readonly name: "OwnershipTransferred";
|
|
6059
|
+
readonly type: "event";
|
|
6060
|
+
}, {
|
|
6061
|
+
readonly anonymous: false;
|
|
6062
|
+
readonly inputs: readonly [{
|
|
6063
|
+
readonly indexed: true;
|
|
6064
|
+
readonly internalType: "address";
|
|
6065
|
+
readonly name: "admin";
|
|
6066
|
+
readonly type: "address";
|
|
6067
|
+
}, {
|
|
6068
|
+
readonly indexed: false;
|
|
6069
|
+
readonly internalType: "bool";
|
|
6070
|
+
readonly name: "enabled";
|
|
6071
|
+
readonly type: "bool";
|
|
6072
|
+
}];
|
|
6073
|
+
readonly name: "SetAdmin";
|
|
6074
|
+
readonly type: "event";
|
|
6075
|
+
}, {
|
|
6076
|
+
readonly anonymous: false;
|
|
6077
|
+
readonly inputs: readonly [{
|
|
6078
|
+
readonly indexed: false;
|
|
6079
|
+
readonly internalType: "bool";
|
|
6080
|
+
readonly name: "deprecated";
|
|
6081
|
+
readonly type: "bool";
|
|
6082
|
+
}];
|
|
6083
|
+
readonly name: "SetDeprecated";
|
|
6084
|
+
readonly type: "event";
|
|
6085
|
+
}, {
|
|
6086
|
+
readonly anonymous: false;
|
|
6087
|
+
readonly inputs: readonly [{
|
|
6088
|
+
readonly indexed: false;
|
|
6089
|
+
readonly internalType: "address";
|
|
6090
|
+
readonly name: "extension";
|
|
6091
|
+
readonly type: "address";
|
|
6092
|
+
}, {
|
|
6093
|
+
readonly indexed: false;
|
|
6094
|
+
readonly internalType: "bool";
|
|
6095
|
+
readonly name: "enabled";
|
|
6096
|
+
readonly type: "bool";
|
|
6097
|
+
}];
|
|
6098
|
+
readonly name: "SetExtension";
|
|
6099
|
+
readonly type: "event";
|
|
6100
|
+
}, {
|
|
6101
|
+
readonly anonymous: false;
|
|
6102
|
+
readonly inputs: readonly [{
|
|
6103
|
+
readonly indexed: false;
|
|
6104
|
+
readonly internalType: "address";
|
|
6105
|
+
readonly name: "hook";
|
|
6106
|
+
readonly type: "address";
|
|
6107
|
+
}, {
|
|
6108
|
+
readonly indexed: false;
|
|
6109
|
+
readonly internalType: "bool";
|
|
6110
|
+
readonly name: "enabled";
|
|
6111
|
+
readonly type: "bool";
|
|
6112
|
+
}];
|
|
6113
|
+
readonly name: "SetHook";
|
|
6114
|
+
readonly type: "event";
|
|
6115
|
+
}, {
|
|
6116
|
+
readonly anonymous: false;
|
|
6117
|
+
readonly inputs: readonly [{
|
|
6118
|
+
readonly indexed: false;
|
|
6119
|
+
readonly internalType: "address";
|
|
6120
|
+
readonly name: "locker";
|
|
6121
|
+
readonly type: "address";
|
|
6122
|
+
}, {
|
|
6123
|
+
readonly indexed: false;
|
|
6124
|
+
readonly internalType: "address";
|
|
6125
|
+
readonly name: "pool";
|
|
6126
|
+
readonly type: "address";
|
|
6127
|
+
}, {
|
|
6128
|
+
readonly indexed: false;
|
|
6129
|
+
readonly internalType: "bool";
|
|
6130
|
+
readonly name: "enabled";
|
|
6131
|
+
readonly type: "bool";
|
|
6132
|
+
}];
|
|
6133
|
+
readonly name: "SetLocker";
|
|
6134
|
+
readonly type: "event";
|
|
6135
|
+
}, {
|
|
6136
|
+
readonly anonymous: false;
|
|
6137
|
+
readonly inputs: readonly [{
|
|
6138
|
+
readonly indexed: false;
|
|
6139
|
+
readonly internalType: "address";
|
|
6140
|
+
readonly name: "mevModule";
|
|
6141
|
+
readonly type: "address";
|
|
6142
|
+
}, {
|
|
6143
|
+
readonly indexed: false;
|
|
6144
|
+
readonly internalType: "bool";
|
|
6145
|
+
readonly name: "enabled";
|
|
6146
|
+
readonly type: "bool";
|
|
6147
|
+
}];
|
|
6148
|
+
readonly name: "SetMevModule";
|
|
6149
|
+
readonly type: "event";
|
|
6150
|
+
}, {
|
|
6151
|
+
readonly anonymous: false;
|
|
6152
|
+
readonly inputs: readonly [{
|
|
6153
|
+
readonly indexed: false;
|
|
6154
|
+
readonly internalType: "address";
|
|
6155
|
+
readonly name: "oldTeamFeeRecipient";
|
|
6156
|
+
readonly type: "address";
|
|
6157
|
+
}, {
|
|
6158
|
+
readonly indexed: false;
|
|
6159
|
+
readonly internalType: "address";
|
|
6160
|
+
readonly name: "newTeamFeeRecipient";
|
|
6161
|
+
readonly type: "address";
|
|
6162
|
+
}];
|
|
6163
|
+
readonly name: "SetTeamFeeRecipient";
|
|
6164
|
+
readonly type: "event";
|
|
6165
|
+
}, {
|
|
6166
|
+
readonly anonymous: false;
|
|
6167
|
+
readonly inputs: readonly [{
|
|
6168
|
+
readonly indexed: false;
|
|
6169
|
+
readonly internalType: "address";
|
|
6170
|
+
readonly name: "msgSender";
|
|
6171
|
+
readonly type: "address";
|
|
6172
|
+
}, {
|
|
6173
|
+
readonly indexed: true;
|
|
6174
|
+
readonly internalType: "address";
|
|
6175
|
+
readonly name: "tokenAddress";
|
|
6176
|
+
readonly type: "address";
|
|
6177
|
+
}, {
|
|
6178
|
+
readonly indexed: true;
|
|
6179
|
+
readonly internalType: "address";
|
|
6180
|
+
readonly name: "tokenAdmin";
|
|
6181
|
+
readonly type: "address";
|
|
6182
|
+
}, {
|
|
6183
|
+
readonly indexed: false;
|
|
6184
|
+
readonly internalType: "string";
|
|
6185
|
+
readonly name: "tokenImage";
|
|
6186
|
+
readonly type: "string";
|
|
6187
|
+
}, {
|
|
6188
|
+
readonly indexed: false;
|
|
6189
|
+
readonly internalType: "string";
|
|
6190
|
+
readonly name: "tokenName";
|
|
6191
|
+
readonly type: "string";
|
|
6192
|
+
}, {
|
|
6193
|
+
readonly indexed: false;
|
|
6194
|
+
readonly internalType: "string";
|
|
6195
|
+
readonly name: "tokenSymbol";
|
|
6196
|
+
readonly type: "string";
|
|
6197
|
+
}, {
|
|
6198
|
+
readonly indexed: false;
|
|
6199
|
+
readonly internalType: "string";
|
|
6200
|
+
readonly name: "tokenMetadata";
|
|
6201
|
+
readonly type: "string";
|
|
6202
|
+
}, {
|
|
6203
|
+
readonly indexed: false;
|
|
6204
|
+
readonly internalType: "string";
|
|
6205
|
+
readonly name: "tokenContext";
|
|
6206
|
+
readonly type: "string";
|
|
6207
|
+
}, {
|
|
6208
|
+
readonly indexed: false;
|
|
6209
|
+
readonly internalType: "int24";
|
|
6210
|
+
readonly name: "startingTick";
|
|
6211
|
+
readonly type: "int24";
|
|
6212
|
+
}, {
|
|
6213
|
+
readonly indexed: false;
|
|
6214
|
+
readonly internalType: "address";
|
|
6215
|
+
readonly name: "poolHook";
|
|
6216
|
+
readonly type: "address";
|
|
6217
|
+
}, {
|
|
6218
|
+
readonly indexed: false;
|
|
6219
|
+
readonly internalType: "PoolId";
|
|
6220
|
+
readonly name: "poolId";
|
|
6221
|
+
readonly type: "bytes32";
|
|
6222
|
+
}, {
|
|
6223
|
+
readonly indexed: false;
|
|
6224
|
+
readonly internalType: "address";
|
|
6225
|
+
readonly name: "pairedToken";
|
|
6226
|
+
readonly type: "address";
|
|
6227
|
+
}, {
|
|
6228
|
+
readonly indexed: false;
|
|
6229
|
+
readonly internalType: "address";
|
|
6230
|
+
readonly name: "locker";
|
|
6231
|
+
readonly type: "address";
|
|
6232
|
+
}, {
|
|
6233
|
+
readonly indexed: false;
|
|
6234
|
+
readonly internalType: "address";
|
|
6235
|
+
readonly name: "mevModule";
|
|
6236
|
+
readonly type: "address";
|
|
6237
|
+
}, {
|
|
6238
|
+
readonly indexed: false;
|
|
6239
|
+
readonly internalType: "uint256";
|
|
6240
|
+
readonly name: "extensionsSupply";
|
|
6241
|
+
readonly type: "uint256";
|
|
6242
|
+
}, {
|
|
6243
|
+
readonly indexed: false;
|
|
6244
|
+
readonly internalType: "address[]";
|
|
6245
|
+
readonly name: "extensions";
|
|
6246
|
+
readonly type: "address[]";
|
|
6247
|
+
}];
|
|
6248
|
+
readonly name: "TokenCreated";
|
|
6249
|
+
readonly type: "event";
|
|
6250
|
+
}, {
|
|
6251
|
+
readonly inputs: readonly [];
|
|
6252
|
+
readonly name: "BPS";
|
|
6253
|
+
readonly outputs: readonly [{
|
|
6254
|
+
readonly internalType: "uint256";
|
|
6255
|
+
readonly name: "";
|
|
6256
|
+
readonly type: "uint256";
|
|
6257
|
+
}];
|
|
6258
|
+
readonly stateMutability: "view";
|
|
6259
|
+
readonly type: "function";
|
|
6260
|
+
}, {
|
|
6261
|
+
readonly inputs: readonly [];
|
|
6262
|
+
readonly name: "MAX_EXTENSIONS";
|
|
6263
|
+
readonly outputs: readonly [{
|
|
6264
|
+
readonly internalType: "uint256";
|
|
6265
|
+
readonly name: "";
|
|
6266
|
+
readonly type: "uint256";
|
|
6267
|
+
}];
|
|
6268
|
+
readonly stateMutability: "view";
|
|
6269
|
+
readonly type: "function";
|
|
6270
|
+
}, {
|
|
6271
|
+
readonly inputs: readonly [];
|
|
6272
|
+
readonly name: "MAX_EXTENSION_BPS";
|
|
6273
|
+
readonly outputs: readonly [{
|
|
6274
|
+
readonly internalType: "uint16";
|
|
6275
|
+
readonly name: "";
|
|
6276
|
+
readonly type: "uint16";
|
|
6277
|
+
}];
|
|
6278
|
+
readonly stateMutability: "view";
|
|
6279
|
+
readonly type: "function";
|
|
6280
|
+
}, {
|
|
6281
|
+
readonly inputs: readonly [];
|
|
6282
|
+
readonly name: "TOKEN_SUPPLY";
|
|
6283
|
+
readonly outputs: readonly [{
|
|
6284
|
+
readonly internalType: "uint256";
|
|
6285
|
+
readonly name: "";
|
|
6286
|
+
readonly type: "uint256";
|
|
6287
|
+
}];
|
|
6288
|
+
readonly stateMutability: "view";
|
|
6289
|
+
readonly type: "function";
|
|
6290
|
+
}, {
|
|
6291
|
+
readonly inputs: readonly [{
|
|
6292
|
+
readonly internalType: "address";
|
|
6293
|
+
readonly name: "";
|
|
6294
|
+
readonly type: "address";
|
|
6295
|
+
}];
|
|
6296
|
+
readonly name: "admins";
|
|
6297
|
+
readonly outputs: readonly [{
|
|
6298
|
+
readonly internalType: "bool";
|
|
6299
|
+
readonly name: "";
|
|
6300
|
+
readonly type: "bool";
|
|
6301
|
+
}];
|
|
6302
|
+
readonly stateMutability: "view";
|
|
6303
|
+
readonly type: "function";
|
|
6304
|
+
}, {
|
|
6305
|
+
readonly inputs: readonly [{
|
|
6306
|
+
readonly internalType: "address";
|
|
6307
|
+
readonly name: "token";
|
|
6308
|
+
readonly type: "address";
|
|
6309
|
+
}];
|
|
6310
|
+
readonly name: "claimTeamFees";
|
|
6311
|
+
readonly outputs: readonly [];
|
|
6312
|
+
readonly stateMutability: "nonpayable";
|
|
6313
|
+
readonly type: "function";
|
|
6314
|
+
}, {
|
|
6315
|
+
readonly inputs: readonly [{
|
|
6316
|
+
readonly components: readonly [{
|
|
6317
|
+
readonly components: readonly [{
|
|
6318
|
+
readonly internalType: "address";
|
|
6319
|
+
readonly name: "tokenAdmin";
|
|
6320
|
+
readonly type: "address";
|
|
6321
|
+
}, {
|
|
6322
|
+
readonly internalType: "string";
|
|
6323
|
+
readonly name: "name";
|
|
6324
|
+
readonly type: "string";
|
|
6325
|
+
}, {
|
|
6326
|
+
readonly internalType: "string";
|
|
6327
|
+
readonly name: "symbol";
|
|
6328
|
+
readonly type: "string";
|
|
6329
|
+
}, {
|
|
6330
|
+
readonly internalType: "bytes32";
|
|
6331
|
+
readonly name: "salt";
|
|
6332
|
+
readonly type: "bytes32";
|
|
6333
|
+
}, {
|
|
6334
|
+
readonly internalType: "string";
|
|
6335
|
+
readonly name: "image";
|
|
6336
|
+
readonly type: "string";
|
|
6337
|
+
}, {
|
|
6338
|
+
readonly internalType: "string";
|
|
6339
|
+
readonly name: "metadata";
|
|
6340
|
+
readonly type: "string";
|
|
6341
|
+
}, {
|
|
6342
|
+
readonly internalType: "string";
|
|
6343
|
+
readonly name: "context";
|
|
6344
|
+
readonly type: "string";
|
|
6345
|
+
}, {
|
|
6346
|
+
readonly internalType: "uint256";
|
|
6347
|
+
readonly name: "originatingChainId";
|
|
6348
|
+
readonly type: "uint256";
|
|
6349
|
+
}];
|
|
6350
|
+
readonly internalType: "struct IClanker.TokenConfig";
|
|
6351
|
+
readonly name: "tokenConfig";
|
|
6352
|
+
readonly type: "tuple";
|
|
6353
|
+
}, {
|
|
6354
|
+
readonly components: readonly [{
|
|
6355
|
+
readonly internalType: "address";
|
|
6356
|
+
readonly name: "hook";
|
|
6357
|
+
readonly type: "address";
|
|
6358
|
+
}, {
|
|
6359
|
+
readonly internalType: "address";
|
|
6360
|
+
readonly name: "pairedToken";
|
|
6361
|
+
readonly type: "address";
|
|
6362
|
+
}, {
|
|
6363
|
+
readonly internalType: "int24";
|
|
6364
|
+
readonly name: "tickIfToken0IsClanker";
|
|
6365
|
+
readonly type: "int24";
|
|
6366
|
+
}, {
|
|
6367
|
+
readonly internalType: "int24";
|
|
6368
|
+
readonly name: "tickSpacing";
|
|
6369
|
+
readonly type: "int24";
|
|
6370
|
+
}, {
|
|
6371
|
+
readonly internalType: "bytes";
|
|
6372
|
+
readonly name: "poolData";
|
|
6373
|
+
readonly type: "bytes";
|
|
6374
|
+
}];
|
|
6375
|
+
readonly internalType: "struct IClanker.PoolConfig";
|
|
6376
|
+
readonly name: "poolConfig";
|
|
6377
|
+
readonly type: "tuple";
|
|
6378
|
+
}, {
|
|
6379
|
+
readonly components: readonly [{
|
|
6380
|
+
readonly internalType: "address";
|
|
6381
|
+
readonly name: "locker";
|
|
6382
|
+
readonly type: "address";
|
|
6383
|
+
}, {
|
|
6384
|
+
readonly internalType: "address[]";
|
|
6385
|
+
readonly name: "rewardAdmins";
|
|
6386
|
+
readonly type: "address[]";
|
|
6387
|
+
}, {
|
|
6388
|
+
readonly internalType: "address[]";
|
|
6389
|
+
readonly name: "rewardRecipients";
|
|
6390
|
+
readonly type: "address[]";
|
|
6391
|
+
}, {
|
|
6392
|
+
readonly internalType: "uint16[]";
|
|
6393
|
+
readonly name: "rewardBps";
|
|
6394
|
+
readonly type: "uint16[]";
|
|
6395
|
+
}, {
|
|
6396
|
+
readonly internalType: "int24[]";
|
|
6397
|
+
readonly name: "tickLower";
|
|
6398
|
+
readonly type: "int24[]";
|
|
6399
|
+
}, {
|
|
6400
|
+
readonly internalType: "int24[]";
|
|
6401
|
+
readonly name: "tickUpper";
|
|
6402
|
+
readonly type: "int24[]";
|
|
6403
|
+
}, {
|
|
6404
|
+
readonly internalType: "uint16[]";
|
|
6405
|
+
readonly name: "positionBps";
|
|
6406
|
+
readonly type: "uint16[]";
|
|
6407
|
+
}, {
|
|
6408
|
+
readonly internalType: "bytes";
|
|
6409
|
+
readonly name: "lockerData";
|
|
6410
|
+
readonly type: "bytes";
|
|
6411
|
+
}];
|
|
6412
|
+
readonly internalType: "struct IClanker.LockerConfig";
|
|
6413
|
+
readonly name: "lockerConfig";
|
|
6414
|
+
readonly type: "tuple";
|
|
6415
|
+
}, {
|
|
6416
|
+
readonly components: readonly [{
|
|
6417
|
+
readonly internalType: "address";
|
|
6418
|
+
readonly name: "mevModule";
|
|
6419
|
+
readonly type: "address";
|
|
6420
|
+
}, {
|
|
6421
|
+
readonly internalType: "bytes";
|
|
6422
|
+
readonly name: "mevModuleData";
|
|
6423
|
+
readonly type: "bytes";
|
|
6424
|
+
}];
|
|
6425
|
+
readonly internalType: "struct IClanker.MevModuleConfig";
|
|
6426
|
+
readonly name: "mevModuleConfig";
|
|
6427
|
+
readonly type: "tuple";
|
|
6428
|
+
}, {
|
|
6429
|
+
readonly components: readonly [{
|
|
6430
|
+
readonly internalType: "address";
|
|
6431
|
+
readonly name: "extension";
|
|
6432
|
+
readonly type: "address";
|
|
6433
|
+
}, {
|
|
6434
|
+
readonly internalType: "uint256";
|
|
6435
|
+
readonly name: "msgValue";
|
|
6436
|
+
readonly type: "uint256";
|
|
6437
|
+
}, {
|
|
6438
|
+
readonly internalType: "uint16";
|
|
6439
|
+
readonly name: "extensionBps";
|
|
6440
|
+
readonly type: "uint16";
|
|
6441
|
+
}, {
|
|
6442
|
+
readonly internalType: "bytes";
|
|
6443
|
+
readonly name: "extensionData";
|
|
6444
|
+
readonly type: "bytes";
|
|
6445
|
+
}];
|
|
6446
|
+
readonly internalType: "struct IClanker.ExtensionConfig[]";
|
|
6447
|
+
readonly name: "extensionConfigs";
|
|
6448
|
+
readonly type: "tuple[]";
|
|
6449
|
+
}];
|
|
6450
|
+
readonly internalType: "struct IClanker.DeploymentConfig";
|
|
6451
|
+
readonly name: "deploymentConfig";
|
|
6452
|
+
readonly type: "tuple";
|
|
6453
|
+
}];
|
|
6454
|
+
readonly name: "deployToken";
|
|
6455
|
+
readonly outputs: readonly [{
|
|
6456
|
+
readonly internalType: "address";
|
|
6457
|
+
readonly name: "tokenAddress";
|
|
6458
|
+
readonly type: "address";
|
|
6459
|
+
}];
|
|
6460
|
+
readonly stateMutability: "payable";
|
|
6461
|
+
readonly type: "function";
|
|
6462
|
+
}, {
|
|
6463
|
+
readonly inputs: readonly [{
|
|
6464
|
+
readonly components: readonly [{
|
|
6465
|
+
readonly internalType: "address";
|
|
6466
|
+
readonly name: "tokenAdmin";
|
|
6467
|
+
readonly type: "address";
|
|
6468
|
+
}, {
|
|
6469
|
+
readonly internalType: "string";
|
|
6470
|
+
readonly name: "name";
|
|
6471
|
+
readonly type: "string";
|
|
6472
|
+
}, {
|
|
6473
|
+
readonly internalType: "string";
|
|
6474
|
+
readonly name: "symbol";
|
|
6475
|
+
readonly type: "string";
|
|
6476
|
+
}, {
|
|
6477
|
+
readonly internalType: "bytes32";
|
|
6478
|
+
readonly name: "salt";
|
|
6479
|
+
readonly type: "bytes32";
|
|
6480
|
+
}, {
|
|
6481
|
+
readonly internalType: "string";
|
|
6482
|
+
readonly name: "image";
|
|
6483
|
+
readonly type: "string";
|
|
6484
|
+
}, {
|
|
6485
|
+
readonly internalType: "string";
|
|
6486
|
+
readonly name: "metadata";
|
|
6487
|
+
readonly type: "string";
|
|
6488
|
+
}, {
|
|
6489
|
+
readonly internalType: "string";
|
|
6490
|
+
readonly name: "context";
|
|
6491
|
+
readonly type: "string";
|
|
6492
|
+
}, {
|
|
6493
|
+
readonly internalType: "uint256";
|
|
6494
|
+
readonly name: "originatingChainId";
|
|
6495
|
+
readonly type: "uint256";
|
|
6496
|
+
}];
|
|
6497
|
+
readonly internalType: "struct IClanker.TokenConfig";
|
|
6498
|
+
readonly name: "tokenConfig";
|
|
6499
|
+
readonly type: "tuple";
|
|
6500
|
+
}];
|
|
6501
|
+
readonly name: "deployTokenZeroSupply";
|
|
6502
|
+
readonly outputs: readonly [{
|
|
6503
|
+
readonly internalType: "address";
|
|
6504
|
+
readonly name: "tokenAddress";
|
|
6505
|
+
readonly type: "address";
|
|
6506
|
+
}];
|
|
6507
|
+
readonly stateMutability: "nonpayable";
|
|
6508
|
+
readonly type: "function";
|
|
6509
|
+
}, {
|
|
6510
|
+
readonly inputs: readonly [{
|
|
6511
|
+
readonly internalType: "address";
|
|
6512
|
+
readonly name: "token";
|
|
6513
|
+
readonly type: "address";
|
|
6514
|
+
}];
|
|
6515
|
+
readonly name: "deploymentInfoForToken";
|
|
6516
|
+
readonly outputs: readonly [{
|
|
6517
|
+
readonly internalType: "address";
|
|
6518
|
+
readonly name: "token";
|
|
6519
|
+
readonly type: "address";
|
|
6520
|
+
}, {
|
|
6521
|
+
readonly internalType: "address";
|
|
6522
|
+
readonly name: "hook";
|
|
6523
|
+
readonly type: "address";
|
|
6524
|
+
}, {
|
|
6525
|
+
readonly internalType: "address";
|
|
6526
|
+
readonly name: "locker";
|
|
6527
|
+
readonly type: "address";
|
|
6528
|
+
}];
|
|
6529
|
+
readonly stateMutability: "view";
|
|
6530
|
+
readonly type: "function";
|
|
6531
|
+
}, {
|
|
6532
|
+
readonly inputs: readonly [];
|
|
6533
|
+
readonly name: "deprecated";
|
|
6534
|
+
readonly outputs: readonly [{
|
|
6535
|
+
readonly internalType: "bool";
|
|
6536
|
+
readonly name: "";
|
|
6537
|
+
readonly type: "bool";
|
|
6538
|
+
}];
|
|
6539
|
+
readonly stateMutability: "view";
|
|
6540
|
+
readonly type: "function";
|
|
6541
|
+
}, {
|
|
6542
|
+
readonly inputs: readonly [{
|
|
6543
|
+
readonly internalType: "address";
|
|
6544
|
+
readonly name: "locker";
|
|
6545
|
+
readonly type: "address";
|
|
6546
|
+
}, {
|
|
6547
|
+
readonly internalType: "address";
|
|
6548
|
+
readonly name: "pool";
|
|
6549
|
+
readonly type: "address";
|
|
6550
|
+
}];
|
|
6551
|
+
readonly name: "enabledLockers";
|
|
6552
|
+
readonly outputs: readonly [{
|
|
6553
|
+
readonly internalType: "bool";
|
|
6554
|
+
readonly name: "enabled";
|
|
6555
|
+
readonly type: "bool";
|
|
6556
|
+
}];
|
|
6557
|
+
readonly stateMutability: "view";
|
|
6558
|
+
readonly type: "function";
|
|
6559
|
+
}, {
|
|
6560
|
+
readonly inputs: readonly [{
|
|
6561
|
+
readonly internalType: "address";
|
|
6562
|
+
readonly name: "teamFeeRecipient_";
|
|
6563
|
+
readonly type: "address";
|
|
6564
|
+
}];
|
|
6565
|
+
readonly name: "initialize";
|
|
6566
|
+
readonly outputs: readonly [];
|
|
6567
|
+
readonly stateMutability: "nonpayable";
|
|
6568
|
+
readonly type: "function";
|
|
6569
|
+
}, {
|
|
6570
|
+
readonly inputs: readonly [];
|
|
6571
|
+
readonly name: "owner";
|
|
6572
|
+
readonly outputs: readonly [{
|
|
6573
|
+
readonly internalType: "address";
|
|
6574
|
+
readonly name: "";
|
|
6575
|
+
readonly type: "address";
|
|
6576
|
+
}];
|
|
6577
|
+
readonly stateMutability: "view";
|
|
6578
|
+
readonly type: "function";
|
|
6579
|
+
}, {
|
|
6580
|
+
readonly inputs: readonly [];
|
|
6581
|
+
readonly name: "renounceOwnership";
|
|
6582
|
+
readonly outputs: readonly [];
|
|
6583
|
+
readonly stateMutability: "nonpayable";
|
|
6584
|
+
readonly type: "function";
|
|
6585
|
+
}, {
|
|
6586
|
+
readonly inputs: readonly [{
|
|
6587
|
+
readonly internalType: "address";
|
|
6588
|
+
readonly name: "admin";
|
|
6589
|
+
readonly type: "address";
|
|
6590
|
+
}, {
|
|
6591
|
+
readonly internalType: "bool";
|
|
6592
|
+
readonly name: "enabled";
|
|
6593
|
+
readonly type: "bool";
|
|
6594
|
+
}];
|
|
6595
|
+
readonly name: "setAdmin";
|
|
6596
|
+
readonly outputs: readonly [];
|
|
6597
|
+
readonly stateMutability: "nonpayable";
|
|
6598
|
+
readonly type: "function";
|
|
6599
|
+
}, {
|
|
6600
|
+
readonly inputs: readonly [{
|
|
6601
|
+
readonly internalType: "bool";
|
|
6602
|
+
readonly name: "deprecated_";
|
|
6603
|
+
readonly type: "bool";
|
|
6604
|
+
}];
|
|
6605
|
+
readonly name: "setDeprecated";
|
|
6606
|
+
readonly outputs: readonly [];
|
|
6607
|
+
readonly stateMutability: "nonpayable";
|
|
6608
|
+
readonly type: "function";
|
|
6609
|
+
}, {
|
|
6610
|
+
readonly inputs: readonly [{
|
|
6611
|
+
readonly internalType: "address";
|
|
6612
|
+
readonly name: "extension";
|
|
6613
|
+
readonly type: "address";
|
|
6614
|
+
}, {
|
|
6615
|
+
readonly internalType: "bool";
|
|
6616
|
+
readonly name: "enabled";
|
|
6617
|
+
readonly type: "bool";
|
|
6618
|
+
}];
|
|
6619
|
+
readonly name: "setExtension";
|
|
6620
|
+
readonly outputs: readonly [];
|
|
6621
|
+
readonly stateMutability: "nonpayable";
|
|
6622
|
+
readonly type: "function";
|
|
6623
|
+
}, {
|
|
6624
|
+
readonly inputs: readonly [{
|
|
6625
|
+
readonly internalType: "address";
|
|
6626
|
+
readonly name: "hook";
|
|
6627
|
+
readonly type: "address";
|
|
6628
|
+
}, {
|
|
6629
|
+
readonly internalType: "bool";
|
|
6630
|
+
readonly name: "enabled";
|
|
6631
|
+
readonly type: "bool";
|
|
6632
|
+
}];
|
|
6633
|
+
readonly name: "setHook";
|
|
6634
|
+
readonly outputs: readonly [];
|
|
6635
|
+
readonly stateMutability: "nonpayable";
|
|
6636
|
+
readonly type: "function";
|
|
6637
|
+
}, {
|
|
6638
|
+
readonly inputs: readonly [{
|
|
6639
|
+
readonly internalType: "address";
|
|
6640
|
+
readonly name: "locker";
|
|
6641
|
+
readonly type: "address";
|
|
6642
|
+
}, {
|
|
6643
|
+
readonly internalType: "address";
|
|
6644
|
+
readonly name: "pool";
|
|
6645
|
+
readonly type: "address";
|
|
6646
|
+
}, {
|
|
6647
|
+
readonly internalType: "bool";
|
|
6648
|
+
readonly name: "enabled";
|
|
6649
|
+
readonly type: "bool";
|
|
6650
|
+
}];
|
|
6651
|
+
readonly name: "setLocker";
|
|
6652
|
+
readonly outputs: readonly [];
|
|
6653
|
+
readonly stateMutability: "nonpayable";
|
|
6654
|
+
readonly type: "function";
|
|
6655
|
+
}, {
|
|
6656
|
+
readonly inputs: readonly [{
|
|
6657
|
+
readonly internalType: "address";
|
|
6658
|
+
readonly name: "mevModule";
|
|
6659
|
+
readonly type: "address";
|
|
6660
|
+
}, {
|
|
6661
|
+
readonly internalType: "bool";
|
|
6662
|
+
readonly name: "enabled";
|
|
6663
|
+
readonly type: "bool";
|
|
6664
|
+
}];
|
|
6665
|
+
readonly name: "setMevModule";
|
|
6666
|
+
readonly outputs: readonly [];
|
|
6667
|
+
readonly stateMutability: "nonpayable";
|
|
6668
|
+
readonly type: "function";
|
|
6669
|
+
}, {
|
|
6670
|
+
readonly inputs: readonly [{
|
|
6671
|
+
readonly internalType: "address";
|
|
6672
|
+
readonly name: "teamFeeRecipient_";
|
|
6673
|
+
readonly type: "address";
|
|
6674
|
+
}];
|
|
6675
|
+
readonly name: "setTeamFeeRecipient";
|
|
6676
|
+
readonly outputs: readonly [];
|
|
6677
|
+
readonly stateMutability: "nonpayable";
|
|
6678
|
+
readonly type: "function";
|
|
6679
|
+
}, {
|
|
6680
|
+
readonly inputs: readonly [];
|
|
6681
|
+
readonly name: "teamFeeRecipient";
|
|
6682
|
+
readonly outputs: readonly [{
|
|
6683
|
+
readonly internalType: "address";
|
|
6684
|
+
readonly name: "";
|
|
6685
|
+
readonly type: "address";
|
|
6686
|
+
}];
|
|
6687
|
+
readonly stateMutability: "view";
|
|
6688
|
+
readonly type: "function";
|
|
6689
|
+
}, {
|
|
6690
|
+
readonly inputs: readonly [{
|
|
6691
|
+
readonly internalType: "address";
|
|
6692
|
+
readonly name: "token";
|
|
6693
|
+
readonly type: "address";
|
|
6694
|
+
}];
|
|
6695
|
+
readonly name: "tokenDeploymentInfo";
|
|
6696
|
+
readonly outputs: readonly [{
|
|
6697
|
+
readonly components: readonly [{
|
|
6698
|
+
readonly internalType: "address";
|
|
6699
|
+
readonly name: "token";
|
|
6700
|
+
readonly type: "address";
|
|
6701
|
+
}, {
|
|
6702
|
+
readonly internalType: "address";
|
|
6703
|
+
readonly name: "hook";
|
|
6704
|
+
readonly type: "address";
|
|
6705
|
+
}, {
|
|
6706
|
+
readonly internalType: "address";
|
|
6707
|
+
readonly name: "locker";
|
|
6708
|
+
readonly type: "address";
|
|
6709
|
+
}, {
|
|
6710
|
+
readonly internalType: "address[]";
|
|
6711
|
+
readonly name: "extensions";
|
|
6712
|
+
readonly type: "address[]";
|
|
6713
|
+
}];
|
|
6714
|
+
readonly internalType: "struct IClanker.DeploymentInfo";
|
|
6715
|
+
readonly name: "";
|
|
6716
|
+
readonly type: "tuple";
|
|
6717
|
+
}];
|
|
6718
|
+
readonly stateMutability: "view";
|
|
6719
|
+
readonly type: "function";
|
|
6720
|
+
}, {
|
|
6721
|
+
readonly inputs: readonly [{
|
|
6722
|
+
readonly internalType: "address";
|
|
6723
|
+
readonly name: "newOwner";
|
|
6724
|
+
readonly type: "address";
|
|
6725
|
+
}];
|
|
6726
|
+
readonly name: "transferOwnership";
|
|
6727
|
+
readonly outputs: readonly [];
|
|
6728
|
+
readonly stateMutability: "nonpayable";
|
|
6729
|
+
readonly type: "function";
|
|
6730
|
+
}];
|
|
6731
|
+
readonly chainId: 8453;
|
|
6732
|
+
readonly type: "clanker_v4";
|
|
6733
|
+
readonly address: "0xE85A59c628F7d27878ACeB4bf3b35733630083a9";
|
|
6734
|
+
readonly related: {
|
|
6735
|
+
locker: "0x29d17C1A8D851d7d4cA97FAe97AcAdb398D9cCE0";
|
|
6736
|
+
vault: "0x8E845EAd15737bF71904A30BdDD3aEE76d6ADF6C";
|
|
6737
|
+
airdrop: "0x56Fa0Da89eD94822e46734e736d34Cab72dF344F";
|
|
6738
|
+
devbuy: "0x1331f0788F9c08C8F38D52c7a1152250A9dE00be";
|
|
6739
|
+
mevModule: "0xE143f9872A33c955F23cF442BB4B1EFB3A7402A2";
|
|
6740
|
+
feeLocker: "0xF3622742b1E446D92e45E22923Ef11C2fcD55D68";
|
|
6741
|
+
feeStaticHook: "0xDd5EeaFf7BD481AD55Db083062b13a3cdf0A68CC";
|
|
6742
|
+
feeDynamicHook: "0x34a45c6B61876d739400Bd71228CbcbD4F53E8cC";
|
|
6743
|
+
};
|
|
6744
|
+
};
|
|
6745
|
+
readonly clanker_v4_sepolia: {
|
|
6746
|
+
readonly abi: readonly [{
|
|
6747
|
+
readonly inputs: readonly [{
|
|
6748
|
+
readonly internalType: "address";
|
|
6749
|
+
readonly name: "owner_";
|
|
6750
|
+
readonly type: "address";
|
|
6751
|
+
}];
|
|
6752
|
+
readonly stateMutability: "nonpayable";
|
|
6753
|
+
readonly type: "constructor";
|
|
6754
|
+
}, {
|
|
6755
|
+
readonly inputs: readonly [];
|
|
6756
|
+
readonly name: "Deprecated";
|
|
6757
|
+
readonly type: "error";
|
|
6758
|
+
}, {
|
|
6759
|
+
readonly inputs: readonly [];
|
|
6760
|
+
readonly name: "ExtensionMsgValueMismatch";
|
|
6761
|
+
readonly type: "error";
|
|
6762
|
+
}, {
|
|
6763
|
+
readonly inputs: readonly [];
|
|
6764
|
+
readonly name: "ExtensionNotEnabled";
|
|
6765
|
+
readonly type: "error";
|
|
6766
|
+
}, {
|
|
6767
|
+
readonly inputs: readonly [];
|
|
6768
|
+
readonly name: "HookNotEnabled";
|
|
6769
|
+
readonly type: "error";
|
|
6770
|
+
}, {
|
|
6771
|
+
readonly inputs: readonly [];
|
|
6772
|
+
readonly name: "InvalidExtension";
|
|
6773
|
+
readonly type: "error";
|
|
6774
|
+
}, {
|
|
6775
|
+
readonly inputs: readonly [];
|
|
6776
|
+
readonly name: "InvalidHook";
|
|
6777
|
+
readonly type: "error";
|
|
6778
|
+
}, {
|
|
6779
|
+
readonly inputs: readonly [];
|
|
6780
|
+
readonly name: "InvalidLocker";
|
|
6781
|
+
readonly type: "error";
|
|
6782
|
+
}, {
|
|
6783
|
+
readonly inputs: readonly [];
|
|
6784
|
+
readonly name: "InvalidMevModule";
|
|
6785
|
+
readonly type: "error";
|
|
6786
|
+
}, {
|
|
6787
|
+
readonly inputs: readonly [];
|
|
6788
|
+
readonly name: "LockerNotEnabled";
|
|
6789
|
+
readonly type: "error";
|
|
6790
|
+
}, {
|
|
6791
|
+
readonly inputs: readonly [];
|
|
6792
|
+
readonly name: "MaxExtensionBpsExceeded";
|
|
6793
|
+
readonly type: "error";
|
|
6794
|
+
}, {
|
|
6795
|
+
readonly inputs: readonly [];
|
|
6796
|
+
readonly name: "MaxExtensionsExceeded";
|
|
6797
|
+
readonly type: "error";
|
|
6798
|
+
}, {
|
|
6799
|
+
readonly inputs: readonly [];
|
|
6800
|
+
readonly name: "MevModuleNotEnabled";
|
|
6801
|
+
readonly type: "error";
|
|
6802
|
+
}, {
|
|
6803
|
+
readonly inputs: readonly [];
|
|
6804
|
+
readonly name: "NotFound";
|
|
6805
|
+
readonly type: "error";
|
|
6806
|
+
}, {
|
|
6807
|
+
readonly inputs: readonly [];
|
|
6808
|
+
readonly name: "OnlyNonOriginatingChains";
|
|
6809
|
+
readonly type: "error";
|
|
6810
|
+
}, {
|
|
6811
|
+
readonly inputs: readonly [];
|
|
6812
|
+
readonly name: "OnlyOriginatingChain";
|
|
6813
|
+
readonly type: "error";
|
|
6814
|
+
}, {
|
|
6815
|
+
readonly inputs: readonly [{
|
|
6816
|
+
readonly internalType: "address";
|
|
6817
|
+
readonly name: "owner";
|
|
6818
|
+
readonly type: "address";
|
|
6819
|
+
}];
|
|
6820
|
+
readonly name: "OwnableInvalidOwner";
|
|
6821
|
+
readonly type: "error";
|
|
6822
|
+
}, {
|
|
6823
|
+
readonly inputs: readonly [{
|
|
6824
|
+
readonly internalType: "address";
|
|
6825
|
+
readonly name: "account";
|
|
6826
|
+
readonly type: "address";
|
|
6827
|
+
}];
|
|
6828
|
+
readonly name: "OwnableUnauthorizedAccount";
|
|
6829
|
+
readonly type: "error";
|
|
6830
|
+
}, {
|
|
6831
|
+
readonly inputs: readonly [];
|
|
6832
|
+
readonly name: "ReentrancyGuardReentrantCall";
|
|
6833
|
+
readonly type: "error";
|
|
6834
|
+
}, {
|
|
6835
|
+
readonly inputs: readonly [];
|
|
6836
|
+
readonly name: "Unauthorized";
|
|
6837
|
+
readonly type: "error";
|
|
6838
|
+
}, {
|
|
6839
|
+
readonly anonymous: false;
|
|
6840
|
+
readonly inputs: readonly [{
|
|
6841
|
+
readonly indexed: true;
|
|
6842
|
+
readonly internalType: "address";
|
|
6843
|
+
readonly name: "token";
|
|
6844
|
+
readonly type: "address";
|
|
6845
|
+
}, {
|
|
6846
|
+
readonly indexed: true;
|
|
6847
|
+
readonly internalType: "address";
|
|
6848
|
+
readonly name: "recipient";
|
|
6849
|
+
readonly type: "address";
|
|
6850
|
+
}, {
|
|
6851
|
+
readonly indexed: false;
|
|
6852
|
+
readonly internalType: "uint256";
|
|
6853
|
+
readonly name: "amount";
|
|
6854
|
+
readonly type: "uint256";
|
|
6855
|
+
}];
|
|
6856
|
+
readonly name: "ClaimTeamFees";
|
|
6857
|
+
readonly type: "event";
|
|
6858
|
+
}, {
|
|
6859
|
+
readonly anonymous: false;
|
|
6860
|
+
readonly inputs: readonly [{
|
|
6861
|
+
readonly indexed: false;
|
|
6862
|
+
readonly internalType: "address";
|
|
6863
|
+
readonly name: "extension";
|
|
6864
|
+
readonly type: "address";
|
|
6865
|
+
}, {
|
|
6866
|
+
readonly indexed: false;
|
|
6867
|
+
readonly internalType: "uint256";
|
|
6868
|
+
readonly name: "extensionSupply";
|
|
6869
|
+
readonly type: "uint256";
|
|
6870
|
+
}, {
|
|
6871
|
+
readonly indexed: false;
|
|
6872
|
+
readonly internalType: "uint256";
|
|
6873
|
+
readonly name: "msgValue";
|
|
6874
|
+
readonly type: "uint256";
|
|
6875
|
+
}];
|
|
6876
|
+
readonly name: "ExtensionTriggered";
|
|
6877
|
+
readonly type: "event";
|
|
6878
|
+
}, {
|
|
6879
|
+
readonly anonymous: false;
|
|
6880
|
+
readonly inputs: readonly [{
|
|
6881
|
+
readonly indexed: true;
|
|
6882
|
+
readonly internalType: "address";
|
|
6883
|
+
readonly name: "previousOwner";
|
|
6884
|
+
readonly type: "address";
|
|
6885
|
+
}, {
|
|
6886
|
+
readonly indexed: true;
|
|
6887
|
+
readonly internalType: "address";
|
|
6888
|
+
readonly name: "newOwner";
|
|
6889
|
+
readonly type: "address";
|
|
6890
|
+
}];
|
|
6891
|
+
readonly name: "OwnershipTransferred";
|
|
6892
|
+
readonly type: "event";
|
|
6893
|
+
}, {
|
|
6894
|
+
readonly anonymous: false;
|
|
6895
|
+
readonly inputs: readonly [{
|
|
6896
|
+
readonly indexed: true;
|
|
6897
|
+
readonly internalType: "address";
|
|
6898
|
+
readonly name: "admin";
|
|
6899
|
+
readonly type: "address";
|
|
6900
|
+
}, {
|
|
6901
|
+
readonly indexed: false;
|
|
6902
|
+
readonly internalType: "bool";
|
|
6903
|
+
readonly name: "enabled";
|
|
6904
|
+
readonly type: "bool";
|
|
6905
|
+
}];
|
|
6906
|
+
readonly name: "SetAdmin";
|
|
6907
|
+
readonly type: "event";
|
|
6908
|
+
}, {
|
|
6909
|
+
readonly anonymous: false;
|
|
6910
|
+
readonly inputs: readonly [{
|
|
6911
|
+
readonly indexed: false;
|
|
6912
|
+
readonly internalType: "bool";
|
|
6913
|
+
readonly name: "deprecated";
|
|
6914
|
+
readonly type: "bool";
|
|
6915
|
+
}];
|
|
6916
|
+
readonly name: "SetDeprecated";
|
|
6917
|
+
readonly type: "event";
|
|
6918
|
+
}, {
|
|
6919
|
+
readonly anonymous: false;
|
|
6920
|
+
readonly inputs: readonly [{
|
|
6921
|
+
readonly indexed: false;
|
|
6922
|
+
readonly internalType: "address";
|
|
6923
|
+
readonly name: "extension";
|
|
6924
|
+
readonly type: "address";
|
|
6925
|
+
}, {
|
|
6926
|
+
readonly indexed: false;
|
|
6927
|
+
readonly internalType: "bool";
|
|
6928
|
+
readonly name: "enabled";
|
|
6929
|
+
readonly type: "bool";
|
|
6930
|
+
}];
|
|
6931
|
+
readonly name: "SetExtension";
|
|
6932
|
+
readonly type: "event";
|
|
6933
|
+
}, {
|
|
6934
|
+
readonly anonymous: false;
|
|
6935
|
+
readonly inputs: readonly [{
|
|
6936
|
+
readonly indexed: false;
|
|
6937
|
+
readonly internalType: "address";
|
|
6938
|
+
readonly name: "hook";
|
|
6939
|
+
readonly type: "address";
|
|
6940
|
+
}, {
|
|
6941
|
+
readonly indexed: false;
|
|
6942
|
+
readonly internalType: "bool";
|
|
6943
|
+
readonly name: "enabled";
|
|
6944
|
+
readonly type: "bool";
|
|
6945
|
+
}];
|
|
6946
|
+
readonly name: "SetHook";
|
|
6947
|
+
readonly type: "event";
|
|
6948
|
+
}, {
|
|
6949
|
+
readonly anonymous: false;
|
|
6950
|
+
readonly inputs: readonly [{
|
|
6951
|
+
readonly indexed: false;
|
|
6952
|
+
readonly internalType: "address";
|
|
6953
|
+
readonly name: "locker";
|
|
6954
|
+
readonly type: "address";
|
|
6955
|
+
}, {
|
|
6956
|
+
readonly indexed: false;
|
|
6957
|
+
readonly internalType: "address";
|
|
6958
|
+
readonly name: "pool";
|
|
6959
|
+
readonly type: "address";
|
|
6960
|
+
}, {
|
|
6961
|
+
readonly indexed: false;
|
|
6962
|
+
readonly internalType: "bool";
|
|
6963
|
+
readonly name: "enabled";
|
|
6964
|
+
readonly type: "bool";
|
|
6965
|
+
}];
|
|
6966
|
+
readonly name: "SetLocker";
|
|
6967
|
+
readonly type: "event";
|
|
6968
|
+
}, {
|
|
6969
|
+
readonly anonymous: false;
|
|
6970
|
+
readonly inputs: readonly [{
|
|
6971
|
+
readonly indexed: false;
|
|
6972
|
+
readonly internalType: "address";
|
|
6973
|
+
readonly name: "mevModule";
|
|
6974
|
+
readonly type: "address";
|
|
6975
|
+
}, {
|
|
6976
|
+
readonly indexed: false;
|
|
6977
|
+
readonly internalType: "bool";
|
|
6978
|
+
readonly name: "enabled";
|
|
6979
|
+
readonly type: "bool";
|
|
6980
|
+
}];
|
|
6981
|
+
readonly name: "SetMevModule";
|
|
6982
|
+
readonly type: "event";
|
|
6983
|
+
}, {
|
|
6984
|
+
readonly anonymous: false;
|
|
6985
|
+
readonly inputs: readonly [{
|
|
6986
|
+
readonly indexed: false;
|
|
6987
|
+
readonly internalType: "address";
|
|
6988
|
+
readonly name: "oldTeamFeeRecipient";
|
|
6989
|
+
readonly type: "address";
|
|
6990
|
+
}, {
|
|
6991
|
+
readonly indexed: false;
|
|
6992
|
+
readonly internalType: "address";
|
|
6993
|
+
readonly name: "newTeamFeeRecipient";
|
|
6994
|
+
readonly type: "address";
|
|
6995
|
+
}];
|
|
6996
|
+
readonly name: "SetTeamFeeRecipient";
|
|
6997
|
+
readonly type: "event";
|
|
6998
|
+
}, {
|
|
6999
|
+
readonly anonymous: false;
|
|
7000
|
+
readonly inputs: readonly [{
|
|
7001
|
+
readonly indexed: false;
|
|
7002
|
+
readonly internalType: "address";
|
|
7003
|
+
readonly name: "msgSender";
|
|
7004
|
+
readonly type: "address";
|
|
7005
|
+
}, {
|
|
7006
|
+
readonly indexed: true;
|
|
7007
|
+
readonly internalType: "address";
|
|
7008
|
+
readonly name: "tokenAddress";
|
|
7009
|
+
readonly type: "address";
|
|
7010
|
+
}, {
|
|
7011
|
+
readonly indexed: true;
|
|
7012
|
+
readonly internalType: "address";
|
|
7013
|
+
readonly name: "tokenAdmin";
|
|
7014
|
+
readonly type: "address";
|
|
7015
|
+
}, {
|
|
7016
|
+
readonly indexed: false;
|
|
7017
|
+
readonly internalType: "string";
|
|
7018
|
+
readonly name: "tokenImage";
|
|
7019
|
+
readonly type: "string";
|
|
7020
|
+
}, {
|
|
7021
|
+
readonly indexed: false;
|
|
7022
|
+
readonly internalType: "string";
|
|
7023
|
+
readonly name: "tokenName";
|
|
7024
|
+
readonly type: "string";
|
|
7025
|
+
}, {
|
|
7026
|
+
readonly indexed: false;
|
|
7027
|
+
readonly internalType: "string";
|
|
7028
|
+
readonly name: "tokenSymbol";
|
|
7029
|
+
readonly type: "string";
|
|
7030
|
+
}, {
|
|
7031
|
+
readonly indexed: false;
|
|
7032
|
+
readonly internalType: "string";
|
|
7033
|
+
readonly name: "tokenMetadata";
|
|
7034
|
+
readonly type: "string";
|
|
7035
|
+
}, {
|
|
7036
|
+
readonly indexed: false;
|
|
7037
|
+
readonly internalType: "string";
|
|
7038
|
+
readonly name: "tokenContext";
|
|
7039
|
+
readonly type: "string";
|
|
7040
|
+
}, {
|
|
7041
|
+
readonly indexed: false;
|
|
7042
|
+
readonly internalType: "int24";
|
|
7043
|
+
readonly name: "startingTick";
|
|
7044
|
+
readonly type: "int24";
|
|
7045
|
+
}, {
|
|
7046
|
+
readonly indexed: false;
|
|
7047
|
+
readonly internalType: "address";
|
|
7048
|
+
readonly name: "poolHook";
|
|
7049
|
+
readonly type: "address";
|
|
7050
|
+
}, {
|
|
7051
|
+
readonly indexed: false;
|
|
7052
|
+
readonly internalType: "PoolId";
|
|
7053
|
+
readonly name: "poolId";
|
|
7054
|
+
readonly type: "bytes32";
|
|
7055
|
+
}, {
|
|
7056
|
+
readonly indexed: false;
|
|
7057
|
+
readonly internalType: "address";
|
|
7058
|
+
readonly name: "pairedToken";
|
|
7059
|
+
readonly type: "address";
|
|
7060
|
+
}, {
|
|
7061
|
+
readonly indexed: false;
|
|
7062
|
+
readonly internalType: "address";
|
|
7063
|
+
readonly name: "locker";
|
|
7064
|
+
readonly type: "address";
|
|
7065
|
+
}, {
|
|
7066
|
+
readonly indexed: false;
|
|
7067
|
+
readonly internalType: "address";
|
|
7068
|
+
readonly name: "mevModule";
|
|
7069
|
+
readonly type: "address";
|
|
7070
|
+
}, {
|
|
7071
|
+
readonly indexed: false;
|
|
7072
|
+
readonly internalType: "uint256";
|
|
7073
|
+
readonly name: "extensionsSupply";
|
|
7074
|
+
readonly type: "uint256";
|
|
7075
|
+
}, {
|
|
7076
|
+
readonly indexed: false;
|
|
7077
|
+
readonly internalType: "address[]";
|
|
7078
|
+
readonly name: "extensions";
|
|
7079
|
+
readonly type: "address[]";
|
|
7080
|
+
}];
|
|
7081
|
+
readonly name: "TokenCreated";
|
|
7082
|
+
readonly type: "event";
|
|
7083
|
+
}, {
|
|
7084
|
+
readonly inputs: readonly [];
|
|
7085
|
+
readonly name: "BPS";
|
|
7086
|
+
readonly outputs: readonly [{
|
|
7087
|
+
readonly internalType: "uint256";
|
|
7088
|
+
readonly name: "";
|
|
7089
|
+
readonly type: "uint256";
|
|
7090
|
+
}];
|
|
7091
|
+
readonly stateMutability: "view";
|
|
7092
|
+
readonly type: "function";
|
|
7093
|
+
}, {
|
|
7094
|
+
readonly inputs: readonly [];
|
|
7095
|
+
readonly name: "MAX_EXTENSIONS";
|
|
7096
|
+
readonly outputs: readonly [{
|
|
7097
|
+
readonly internalType: "uint256";
|
|
7098
|
+
readonly name: "";
|
|
7099
|
+
readonly type: "uint256";
|
|
7100
|
+
}];
|
|
7101
|
+
readonly stateMutability: "view";
|
|
7102
|
+
readonly type: "function";
|
|
7103
|
+
}, {
|
|
7104
|
+
readonly inputs: readonly [];
|
|
7105
|
+
readonly name: "MAX_EXTENSION_BPS";
|
|
7106
|
+
readonly outputs: readonly [{
|
|
7107
|
+
readonly internalType: "uint16";
|
|
7108
|
+
readonly name: "";
|
|
7109
|
+
readonly type: "uint16";
|
|
7110
|
+
}];
|
|
7111
|
+
readonly stateMutability: "view";
|
|
7112
|
+
readonly type: "function";
|
|
7113
|
+
}, {
|
|
7114
|
+
readonly inputs: readonly [];
|
|
7115
|
+
readonly name: "TOKEN_SUPPLY";
|
|
7116
|
+
readonly outputs: readonly [{
|
|
7117
|
+
readonly internalType: "uint256";
|
|
7118
|
+
readonly name: "";
|
|
7119
|
+
readonly type: "uint256";
|
|
7120
|
+
}];
|
|
7121
|
+
readonly stateMutability: "view";
|
|
7122
|
+
readonly type: "function";
|
|
7123
|
+
}, {
|
|
7124
|
+
readonly inputs: readonly [{
|
|
7125
|
+
readonly internalType: "address";
|
|
7126
|
+
readonly name: "";
|
|
7127
|
+
readonly type: "address";
|
|
7128
|
+
}];
|
|
7129
|
+
readonly name: "admins";
|
|
7130
|
+
readonly outputs: readonly [{
|
|
7131
|
+
readonly internalType: "bool";
|
|
7132
|
+
readonly name: "";
|
|
7133
|
+
readonly type: "bool";
|
|
7134
|
+
}];
|
|
7135
|
+
readonly stateMutability: "view";
|
|
7136
|
+
readonly type: "function";
|
|
7137
|
+
}, {
|
|
7138
|
+
readonly inputs: readonly [{
|
|
7139
|
+
readonly internalType: "address";
|
|
7140
|
+
readonly name: "token";
|
|
7141
|
+
readonly type: "address";
|
|
7142
|
+
}];
|
|
7143
|
+
readonly name: "claimTeamFees";
|
|
7144
|
+
readonly outputs: readonly [];
|
|
7145
|
+
readonly stateMutability: "nonpayable";
|
|
7146
|
+
readonly type: "function";
|
|
7147
|
+
}, {
|
|
7148
|
+
readonly inputs: readonly [{
|
|
7149
|
+
readonly components: readonly [{
|
|
7150
|
+
readonly components: readonly [{
|
|
7151
|
+
readonly internalType: "address";
|
|
7152
|
+
readonly name: "tokenAdmin";
|
|
7153
|
+
readonly type: "address";
|
|
7154
|
+
}, {
|
|
7155
|
+
readonly internalType: "string";
|
|
7156
|
+
readonly name: "name";
|
|
7157
|
+
readonly type: "string";
|
|
7158
|
+
}, {
|
|
7159
|
+
readonly internalType: "string";
|
|
7160
|
+
readonly name: "symbol";
|
|
7161
|
+
readonly type: "string";
|
|
7162
|
+
}, {
|
|
7163
|
+
readonly internalType: "bytes32";
|
|
7164
|
+
readonly name: "salt";
|
|
7165
|
+
readonly type: "bytes32";
|
|
7166
|
+
}, {
|
|
7167
|
+
readonly internalType: "string";
|
|
7168
|
+
readonly name: "image";
|
|
7169
|
+
readonly type: "string";
|
|
7170
|
+
}, {
|
|
7171
|
+
readonly internalType: "string";
|
|
7172
|
+
readonly name: "metadata";
|
|
7173
|
+
readonly type: "string";
|
|
7174
|
+
}, {
|
|
7175
|
+
readonly internalType: "string";
|
|
7176
|
+
readonly name: "context";
|
|
7177
|
+
readonly type: "string";
|
|
7178
|
+
}, {
|
|
7179
|
+
readonly internalType: "uint256";
|
|
7180
|
+
readonly name: "originatingChainId";
|
|
7181
|
+
readonly type: "uint256";
|
|
7182
|
+
}];
|
|
7183
|
+
readonly internalType: "struct IClanker.TokenConfig";
|
|
7184
|
+
readonly name: "tokenConfig";
|
|
7185
|
+
readonly type: "tuple";
|
|
7186
|
+
}, {
|
|
7187
|
+
readonly components: readonly [{
|
|
7188
|
+
readonly internalType: "address";
|
|
7189
|
+
readonly name: "hook";
|
|
7190
|
+
readonly type: "address";
|
|
7191
|
+
}, {
|
|
7192
|
+
readonly internalType: "address";
|
|
7193
|
+
readonly name: "pairedToken";
|
|
7194
|
+
readonly type: "address";
|
|
7195
|
+
}, {
|
|
7196
|
+
readonly internalType: "int24";
|
|
7197
|
+
readonly name: "tickIfToken0IsClanker";
|
|
7198
|
+
readonly type: "int24";
|
|
7199
|
+
}, {
|
|
7200
|
+
readonly internalType: "int24";
|
|
7201
|
+
readonly name: "tickSpacing";
|
|
7202
|
+
readonly type: "int24";
|
|
7203
|
+
}, {
|
|
7204
|
+
readonly internalType: "bytes";
|
|
7205
|
+
readonly name: "poolData";
|
|
7206
|
+
readonly type: "bytes";
|
|
7207
|
+
}];
|
|
7208
|
+
readonly internalType: "struct IClanker.PoolConfig";
|
|
7209
|
+
readonly name: "poolConfig";
|
|
7210
|
+
readonly type: "tuple";
|
|
7211
|
+
}, {
|
|
7212
|
+
readonly components: readonly [{
|
|
7213
|
+
readonly internalType: "address";
|
|
7214
|
+
readonly name: "locker";
|
|
7215
|
+
readonly type: "address";
|
|
7216
|
+
}, {
|
|
7217
|
+
readonly internalType: "address[]";
|
|
7218
|
+
readonly name: "rewardAdmins";
|
|
7219
|
+
readonly type: "address[]";
|
|
7220
|
+
}, {
|
|
7221
|
+
readonly internalType: "address[]";
|
|
7222
|
+
readonly name: "rewardRecipients";
|
|
7223
|
+
readonly type: "address[]";
|
|
7224
|
+
}, {
|
|
7225
|
+
readonly internalType: "uint16[]";
|
|
7226
|
+
readonly name: "rewardBps";
|
|
7227
|
+
readonly type: "uint16[]";
|
|
7228
|
+
}, {
|
|
7229
|
+
readonly internalType: "int24[]";
|
|
7230
|
+
readonly name: "tickLower";
|
|
7231
|
+
readonly type: "int24[]";
|
|
7232
|
+
}, {
|
|
7233
|
+
readonly internalType: "int24[]";
|
|
7234
|
+
readonly name: "tickUpper";
|
|
7235
|
+
readonly type: "int24[]";
|
|
7236
|
+
}, {
|
|
7237
|
+
readonly internalType: "uint16[]";
|
|
7238
|
+
readonly name: "positionBps";
|
|
7239
|
+
readonly type: "uint16[]";
|
|
7240
|
+
}, {
|
|
7241
|
+
readonly internalType: "bytes";
|
|
7242
|
+
readonly name: "lockerData";
|
|
7243
|
+
readonly type: "bytes";
|
|
7244
|
+
}];
|
|
7245
|
+
readonly internalType: "struct IClanker.LockerConfig";
|
|
7246
|
+
readonly name: "lockerConfig";
|
|
7247
|
+
readonly type: "tuple";
|
|
7248
|
+
}, {
|
|
7249
|
+
readonly components: readonly [{
|
|
7250
|
+
readonly internalType: "address";
|
|
7251
|
+
readonly name: "mevModule";
|
|
7252
|
+
readonly type: "address";
|
|
7253
|
+
}, {
|
|
7254
|
+
readonly internalType: "bytes";
|
|
7255
|
+
readonly name: "mevModuleData";
|
|
7256
|
+
readonly type: "bytes";
|
|
7257
|
+
}];
|
|
7258
|
+
readonly internalType: "struct IClanker.MevModuleConfig";
|
|
7259
|
+
readonly name: "mevModuleConfig";
|
|
7260
|
+
readonly type: "tuple";
|
|
7261
|
+
}, {
|
|
7262
|
+
readonly components: readonly [{
|
|
7263
|
+
readonly internalType: "address";
|
|
7264
|
+
readonly name: "extension";
|
|
7265
|
+
readonly type: "address";
|
|
7266
|
+
}, {
|
|
7267
|
+
readonly internalType: "uint256";
|
|
7268
|
+
readonly name: "msgValue";
|
|
7269
|
+
readonly type: "uint256";
|
|
7270
|
+
}, {
|
|
7271
|
+
readonly internalType: "uint16";
|
|
7272
|
+
readonly name: "extensionBps";
|
|
7273
|
+
readonly type: "uint16";
|
|
7274
|
+
}, {
|
|
7275
|
+
readonly internalType: "bytes";
|
|
7276
|
+
readonly name: "extensionData";
|
|
7277
|
+
readonly type: "bytes";
|
|
7278
|
+
}];
|
|
7279
|
+
readonly internalType: "struct IClanker.ExtensionConfig[]";
|
|
7280
|
+
readonly name: "extensionConfigs";
|
|
7281
|
+
readonly type: "tuple[]";
|
|
7282
|
+
}];
|
|
7283
|
+
readonly internalType: "struct IClanker.DeploymentConfig";
|
|
7284
|
+
readonly name: "deploymentConfig";
|
|
7285
|
+
readonly type: "tuple";
|
|
7286
|
+
}];
|
|
7287
|
+
readonly name: "deployToken";
|
|
7288
|
+
readonly outputs: readonly [{
|
|
7289
|
+
readonly internalType: "address";
|
|
7290
|
+
readonly name: "tokenAddress";
|
|
7291
|
+
readonly type: "address";
|
|
7292
|
+
}];
|
|
7293
|
+
readonly stateMutability: "payable";
|
|
7294
|
+
readonly type: "function";
|
|
7295
|
+
}, {
|
|
7296
|
+
readonly inputs: readonly [{
|
|
7297
|
+
readonly components: readonly [{
|
|
7298
|
+
readonly internalType: "address";
|
|
7299
|
+
readonly name: "tokenAdmin";
|
|
7300
|
+
readonly type: "address";
|
|
7301
|
+
}, {
|
|
7302
|
+
readonly internalType: "string";
|
|
7303
|
+
readonly name: "name";
|
|
7304
|
+
readonly type: "string";
|
|
7305
|
+
}, {
|
|
7306
|
+
readonly internalType: "string";
|
|
7307
|
+
readonly name: "symbol";
|
|
7308
|
+
readonly type: "string";
|
|
7309
|
+
}, {
|
|
7310
|
+
readonly internalType: "bytes32";
|
|
7311
|
+
readonly name: "salt";
|
|
7312
|
+
readonly type: "bytes32";
|
|
7313
|
+
}, {
|
|
7314
|
+
readonly internalType: "string";
|
|
7315
|
+
readonly name: "image";
|
|
7316
|
+
readonly type: "string";
|
|
7317
|
+
}, {
|
|
7318
|
+
readonly internalType: "string";
|
|
7319
|
+
readonly name: "metadata";
|
|
7320
|
+
readonly type: "string";
|
|
7321
|
+
}, {
|
|
7322
|
+
readonly internalType: "string";
|
|
7323
|
+
readonly name: "context";
|
|
7324
|
+
readonly type: "string";
|
|
7325
|
+
}, {
|
|
7326
|
+
readonly internalType: "uint256";
|
|
7327
|
+
readonly name: "originatingChainId";
|
|
7328
|
+
readonly type: "uint256";
|
|
7329
|
+
}];
|
|
7330
|
+
readonly internalType: "struct IClanker.TokenConfig";
|
|
7331
|
+
readonly name: "tokenConfig";
|
|
7332
|
+
readonly type: "tuple";
|
|
7333
|
+
}];
|
|
7334
|
+
readonly name: "deployTokenZeroSupply";
|
|
7335
|
+
readonly outputs: readonly [{
|
|
7336
|
+
readonly internalType: "address";
|
|
7337
|
+
readonly name: "tokenAddress";
|
|
7338
|
+
readonly type: "address";
|
|
7339
|
+
}];
|
|
7340
|
+
readonly stateMutability: "nonpayable";
|
|
7341
|
+
readonly type: "function";
|
|
7342
|
+
}, {
|
|
7343
|
+
readonly inputs: readonly [{
|
|
7344
|
+
readonly internalType: "address";
|
|
7345
|
+
readonly name: "token";
|
|
7346
|
+
readonly type: "address";
|
|
7347
|
+
}];
|
|
7348
|
+
readonly name: "deploymentInfoForToken";
|
|
7349
|
+
readonly outputs: readonly [{
|
|
7350
|
+
readonly internalType: "address";
|
|
7351
|
+
readonly name: "token";
|
|
7352
|
+
readonly type: "address";
|
|
7353
|
+
}, {
|
|
7354
|
+
readonly internalType: "address";
|
|
7355
|
+
readonly name: "hook";
|
|
7356
|
+
readonly type: "address";
|
|
7357
|
+
}, {
|
|
7358
|
+
readonly internalType: "address";
|
|
7359
|
+
readonly name: "locker";
|
|
7360
|
+
readonly type: "address";
|
|
7361
|
+
}];
|
|
7362
|
+
readonly stateMutability: "view";
|
|
7363
|
+
readonly type: "function";
|
|
7364
|
+
}, {
|
|
7365
|
+
readonly inputs: readonly [];
|
|
7366
|
+
readonly name: "deprecated";
|
|
7367
|
+
readonly outputs: readonly [{
|
|
7368
|
+
readonly internalType: "bool";
|
|
7369
|
+
readonly name: "";
|
|
7370
|
+
readonly type: "bool";
|
|
7371
|
+
}];
|
|
7372
|
+
readonly stateMutability: "view";
|
|
7373
|
+
readonly type: "function";
|
|
7374
|
+
}, {
|
|
7375
|
+
readonly inputs: readonly [{
|
|
7376
|
+
readonly internalType: "address";
|
|
7377
|
+
readonly name: "locker";
|
|
7378
|
+
readonly type: "address";
|
|
7379
|
+
}, {
|
|
7380
|
+
readonly internalType: "address";
|
|
7381
|
+
readonly name: "pool";
|
|
7382
|
+
readonly type: "address";
|
|
7383
|
+
}];
|
|
7384
|
+
readonly name: "enabledLockers";
|
|
7385
|
+
readonly outputs: readonly [{
|
|
7386
|
+
readonly internalType: "bool";
|
|
7387
|
+
readonly name: "enabled";
|
|
7388
|
+
readonly type: "bool";
|
|
7389
|
+
}];
|
|
7390
|
+
readonly stateMutability: "view";
|
|
7391
|
+
readonly type: "function";
|
|
7392
|
+
}, {
|
|
7393
|
+
readonly inputs: readonly [{
|
|
7394
|
+
readonly internalType: "address";
|
|
7395
|
+
readonly name: "teamFeeRecipient_";
|
|
7396
|
+
readonly type: "address";
|
|
7397
|
+
}];
|
|
7398
|
+
readonly name: "initialize";
|
|
7399
|
+
readonly outputs: readonly [];
|
|
7400
|
+
readonly stateMutability: "nonpayable";
|
|
7401
|
+
readonly type: "function";
|
|
7402
|
+
}, {
|
|
7403
|
+
readonly inputs: readonly [];
|
|
7404
|
+
readonly name: "owner";
|
|
7405
|
+
readonly outputs: readonly [{
|
|
7406
|
+
readonly internalType: "address";
|
|
7407
|
+
readonly name: "";
|
|
7408
|
+
readonly type: "address";
|
|
7409
|
+
}];
|
|
7410
|
+
readonly stateMutability: "view";
|
|
7411
|
+
readonly type: "function";
|
|
7412
|
+
}, {
|
|
7413
|
+
readonly inputs: readonly [];
|
|
7414
|
+
readonly name: "renounceOwnership";
|
|
7415
|
+
readonly outputs: readonly [];
|
|
7416
|
+
readonly stateMutability: "nonpayable";
|
|
7417
|
+
readonly type: "function";
|
|
7418
|
+
}, {
|
|
7419
|
+
readonly inputs: readonly [{
|
|
7420
|
+
readonly internalType: "address";
|
|
7421
|
+
readonly name: "admin";
|
|
7422
|
+
readonly type: "address";
|
|
7423
|
+
}, {
|
|
7424
|
+
readonly internalType: "bool";
|
|
7425
|
+
readonly name: "enabled";
|
|
7426
|
+
readonly type: "bool";
|
|
7427
|
+
}];
|
|
7428
|
+
readonly name: "setAdmin";
|
|
7429
|
+
readonly outputs: readonly [];
|
|
7430
|
+
readonly stateMutability: "nonpayable";
|
|
7431
|
+
readonly type: "function";
|
|
7432
|
+
}, {
|
|
7433
|
+
readonly inputs: readonly [{
|
|
7434
|
+
readonly internalType: "bool";
|
|
7435
|
+
readonly name: "deprecated_";
|
|
7436
|
+
readonly type: "bool";
|
|
7437
|
+
}];
|
|
7438
|
+
readonly name: "setDeprecated";
|
|
7439
|
+
readonly outputs: readonly [];
|
|
7440
|
+
readonly stateMutability: "nonpayable";
|
|
7441
|
+
readonly type: "function";
|
|
7442
|
+
}, {
|
|
7443
|
+
readonly inputs: readonly [{
|
|
7444
|
+
readonly internalType: "address";
|
|
7445
|
+
readonly name: "extension";
|
|
7446
|
+
readonly type: "address";
|
|
7447
|
+
}, {
|
|
7448
|
+
readonly internalType: "bool";
|
|
7449
|
+
readonly name: "enabled";
|
|
7450
|
+
readonly type: "bool";
|
|
7451
|
+
}];
|
|
7452
|
+
readonly name: "setExtension";
|
|
7453
|
+
readonly outputs: readonly [];
|
|
7454
|
+
readonly stateMutability: "nonpayable";
|
|
7455
|
+
readonly type: "function";
|
|
7456
|
+
}, {
|
|
7457
|
+
readonly inputs: readonly [{
|
|
7458
|
+
readonly internalType: "address";
|
|
7459
|
+
readonly name: "hook";
|
|
7460
|
+
readonly type: "address";
|
|
7461
|
+
}, {
|
|
7462
|
+
readonly internalType: "bool";
|
|
7463
|
+
readonly name: "enabled";
|
|
7464
|
+
readonly type: "bool";
|
|
7465
|
+
}];
|
|
7466
|
+
readonly name: "setHook";
|
|
7467
|
+
readonly outputs: readonly [];
|
|
7468
|
+
readonly stateMutability: "nonpayable";
|
|
7469
|
+
readonly type: "function";
|
|
7470
|
+
}, {
|
|
7471
|
+
readonly inputs: readonly [{
|
|
7472
|
+
readonly internalType: "address";
|
|
7473
|
+
readonly name: "locker";
|
|
7474
|
+
readonly type: "address";
|
|
7475
|
+
}, {
|
|
7476
|
+
readonly internalType: "address";
|
|
7477
|
+
readonly name: "pool";
|
|
7478
|
+
readonly type: "address";
|
|
7479
|
+
}, {
|
|
7480
|
+
readonly internalType: "bool";
|
|
7481
|
+
readonly name: "enabled";
|
|
7482
|
+
readonly type: "bool";
|
|
7483
|
+
}];
|
|
7484
|
+
readonly name: "setLocker";
|
|
7485
|
+
readonly outputs: readonly [];
|
|
7486
|
+
readonly stateMutability: "nonpayable";
|
|
7487
|
+
readonly type: "function";
|
|
7488
|
+
}, {
|
|
7489
|
+
readonly inputs: readonly [{
|
|
7490
|
+
readonly internalType: "address";
|
|
7491
|
+
readonly name: "mevModule";
|
|
7492
|
+
readonly type: "address";
|
|
7493
|
+
}, {
|
|
7494
|
+
readonly internalType: "bool";
|
|
7495
|
+
readonly name: "enabled";
|
|
7496
|
+
readonly type: "bool";
|
|
7497
|
+
}];
|
|
7498
|
+
readonly name: "setMevModule";
|
|
7499
|
+
readonly outputs: readonly [];
|
|
7500
|
+
readonly stateMutability: "nonpayable";
|
|
7501
|
+
readonly type: "function";
|
|
7502
|
+
}, {
|
|
7503
|
+
readonly inputs: readonly [{
|
|
7504
|
+
readonly internalType: "address";
|
|
7505
|
+
readonly name: "teamFeeRecipient_";
|
|
7506
|
+
readonly type: "address";
|
|
7507
|
+
}];
|
|
7508
|
+
readonly name: "setTeamFeeRecipient";
|
|
7509
|
+
readonly outputs: readonly [];
|
|
7510
|
+
readonly stateMutability: "nonpayable";
|
|
7511
|
+
readonly type: "function";
|
|
7512
|
+
}, {
|
|
7513
|
+
readonly inputs: readonly [];
|
|
7514
|
+
readonly name: "teamFeeRecipient";
|
|
7515
|
+
readonly outputs: readonly [{
|
|
7516
|
+
readonly internalType: "address";
|
|
7517
|
+
readonly name: "";
|
|
7518
|
+
readonly type: "address";
|
|
7519
|
+
}];
|
|
7520
|
+
readonly stateMutability: "view";
|
|
7521
|
+
readonly type: "function";
|
|
7522
|
+
}, {
|
|
7523
|
+
readonly inputs: readonly [{
|
|
7524
|
+
readonly internalType: "address";
|
|
7525
|
+
readonly name: "token";
|
|
7526
|
+
readonly type: "address";
|
|
7527
|
+
}];
|
|
7528
|
+
readonly name: "tokenDeploymentInfo";
|
|
7529
|
+
readonly outputs: readonly [{
|
|
7530
|
+
readonly components: readonly [{
|
|
7531
|
+
readonly internalType: "address";
|
|
7532
|
+
readonly name: "token";
|
|
7533
|
+
readonly type: "address";
|
|
7534
|
+
}, {
|
|
7535
|
+
readonly internalType: "address";
|
|
7536
|
+
readonly name: "hook";
|
|
7537
|
+
readonly type: "address";
|
|
7538
|
+
}, {
|
|
7539
|
+
readonly internalType: "address";
|
|
7540
|
+
readonly name: "locker";
|
|
7541
|
+
readonly type: "address";
|
|
7542
|
+
}, {
|
|
7543
|
+
readonly internalType: "address[]";
|
|
7544
|
+
readonly name: "extensions";
|
|
7545
|
+
readonly type: "address[]";
|
|
7546
|
+
}];
|
|
7547
|
+
readonly internalType: "struct IClanker.DeploymentInfo";
|
|
7548
|
+
readonly name: "";
|
|
7549
|
+
readonly type: "tuple";
|
|
7550
|
+
}];
|
|
7551
|
+
readonly stateMutability: "view";
|
|
7552
|
+
readonly type: "function";
|
|
7553
|
+
}, {
|
|
7554
|
+
readonly inputs: readonly [{
|
|
7555
|
+
readonly internalType: "address";
|
|
7556
|
+
readonly name: "newOwner";
|
|
7557
|
+
readonly type: "address";
|
|
7558
|
+
}];
|
|
7559
|
+
readonly name: "transferOwnership";
|
|
7560
|
+
readonly outputs: readonly [];
|
|
7561
|
+
readonly stateMutability: "nonpayable";
|
|
7562
|
+
readonly type: "function";
|
|
7563
|
+
}];
|
|
7564
|
+
readonly chainId: 84532;
|
|
7565
|
+
readonly type: "clanker_v4";
|
|
7566
|
+
readonly address: "0xE85A59c628F7d27878ACeB4bf3b35733630083a9";
|
|
7567
|
+
readonly related: {
|
|
7568
|
+
locker: "0x33e2Eda238edcF470309b8c6D228986A1204c8f9";
|
|
7569
|
+
vault: "0xcC80d1226F899a78fC2E459a1500A13C373CE0A5";
|
|
7570
|
+
airdrop: "0x29d17C1A8D851d7d4cA97FAe97AcAdb398D9cCE0";
|
|
7571
|
+
devbuy: "0x691f97752E91feAcD7933F32a1FEdCeDae7bB59c";
|
|
7572
|
+
mevModule: "0x71DB365E93e170ba3B053339A917c11024e7a9d4";
|
|
7573
|
+
feeLocker: "0x42A95190B4088C88Dd904d930c79deC1158bF09D";
|
|
7574
|
+
feeStaticHook: "0x3eC2a26b6eF16c288561692AE8D9681fa773A8cc";
|
|
7575
|
+
feeDynamicHook: "0xE63b0A59100698f379F9B577441A561bAF9828cc";
|
|
7576
|
+
};
|
|
7577
|
+
};
|
|
7578
|
+
};
|
|
7579
|
+
type Clankers = typeof CLANKERS;
|
|
7580
|
+
type Type = Clankers[keyof Clankers]['type'];
|
|
7581
|
+
type Chain = Clankers[keyof Clankers]['chainId'];
|
|
7582
|
+
declare const Chains: (8453 | 84532)[];
|
|
7583
|
+
declare const ClankerDeployments: Record<8453 | 84532, Partial<Record<"proxy" | "clanker" | "clanker_v2" | "clanker_v3" | "clanker_v3_1" | "clanker_v4", ClankerDeployment>>>;
|
|
7584
|
+
|
|
7585
|
+
type ClankerConfig = {
|
|
7586
|
+
wallet?: WalletClient;
|
|
7587
|
+
publicClient?: PublicClient;
|
|
7588
|
+
simulateBeforeWrite?: boolean;
|
|
7589
|
+
};
|
|
7590
|
+
/**
|
|
7591
|
+
* Main class for interacting with the Clanker SDK
|
|
7592
|
+
* Provides methods for deploying and building tokens using V3 and V4 protocols
|
|
7593
|
+
*/
|
|
7594
|
+
declare class Clanker {
|
|
7595
|
+
private readonly wallet?;
|
|
7596
|
+
private readonly publicClient?;
|
|
7597
|
+
private readonly simulate;
|
|
7598
|
+
/**
|
|
7599
|
+
* Creates a new instance of the Clanker SDK
|
|
7600
|
+
* @param config - Optional configuration object containing wallet and public client
|
|
7601
|
+
* @throws {Error} If the provided configuration is invalid
|
|
7602
|
+
*/
|
|
7603
|
+
constructor(config?: ClankerConfig);
|
|
7604
|
+
/**
|
|
7605
|
+
* Collects rewards from a token
|
|
7606
|
+
* @param tokenAddress - The address of the token to collect rewards from
|
|
7607
|
+
* @returns Promise resolving to the transaction hash
|
|
7608
|
+
* @throws {Error} If wallet client or public client is not configured
|
|
7609
|
+
*/
|
|
7610
|
+
claimRewards(feeOwnerAddress: `0x${string}`, tokenAddress: `0x${string}`): Promise<{
|
|
7611
|
+
txHash: `0x${string}`;
|
|
7612
|
+
error: undefined;
|
|
7613
|
+
} | {
|
|
7614
|
+
txHash: undefined;
|
|
7615
|
+
error: ClankerError;
|
|
7616
|
+
}>;
|
|
7617
|
+
/**
|
|
7618
|
+
* Checks the available fees for a token
|
|
7619
|
+
* @param feeOwnerAddress - The address of the fee owner
|
|
7620
|
+
* @param tokenAddress - The address of the token to check fees for
|
|
7621
|
+
* @returns Promise resolving to the transaction hash
|
|
7622
|
+
* @throws {Error} If wallet client or public client is not configured
|
|
7623
|
+
*/
|
|
7624
|
+
availableRewards(feeOwnerAddress: `0x${string}`, tokenAddress: `0x${string}`): Promise<bigint>;
|
|
7625
|
+
/**
|
|
7626
|
+
* Generates a vanity address for a V4 token deployment
|
|
7627
|
+
* @param cfg - Token configuration for V4 deployment
|
|
7628
|
+
* @returns Promise resolving to an object containing transaction data, target address, and network info with vanity address
|
|
7629
|
+
*/
|
|
3197
7630
|
withVanityAddress(cfg: TokenConfigV4): Promise<BuildV4Result>;
|
|
3198
7631
|
/**
|
|
3199
7632
|
* Simulates a token deploy using the V4 protocol
|
|
@@ -3202,7 +7635,7 @@ declare class Clanker {
|
|
|
3202
7635
|
* @returns Promise resolving to the address of the deployed token
|
|
3203
7636
|
* @throws {Error} If wallet client or public client is not configured
|
|
3204
7637
|
*/
|
|
3205
|
-
|
|
7638
|
+
simulateDeployToken(cfg: TokenConfigV4 | BuildV4Result, account?: Account): Promise<{
|
|
3206
7639
|
transaction: {
|
|
3207
7640
|
to: `0x${string}`;
|
|
3208
7641
|
data: `0x${string}`;
|
|
@@ -3213,19 +7646,12 @@ declare class Clanker {
|
|
|
3213
7646
|
error: unknown;
|
|
3214
7647
|
}>;
|
|
3215
7648
|
/**
|
|
3216
|
-
* Deploys a token
|
|
3217
|
-
* @param cfg - Token configuration for V4 deployment or pre-built deployment data
|
|
3218
|
-
* @returns Promise resolving to the address of the deployed token
|
|
3219
|
-
* @throws {Error} If wallet client or public client is not configured
|
|
3220
|
-
*/
|
|
3221
|
-
deployTokenV4(cfg: TokenConfigV4 | BuildV4Result): Promise<`0x${string}`>;
|
|
3222
|
-
/**
|
|
3223
|
-
* Deploys a token using the V3 protocol
|
|
7649
|
+
* Deploys a token
|
|
3224
7650
|
* @param cfg - Token configuration for V3 deployment
|
|
3225
7651
|
* @returns Promise resolving to the address of the deployed token
|
|
3226
7652
|
* @throws {Error} If wallet client or public client is not configured
|
|
3227
7653
|
*/
|
|
3228
|
-
deployToken(cfg: TokenConfig): Promise<`0x${string}`>;
|
|
7654
|
+
deployToken(cfg: TokenConfig | TokenConfigV4 | BuildV4Result): Promise<`0x${string}`>;
|
|
3229
7655
|
}
|
|
3230
7656
|
|
|
3231
|
-
export { A0X_ADDRESS, ANON_ADDRESS, type AirdropConfig, type AirdropEntry, AirdropExtension, type BuildV4Result, CB_BTC_ADDRESS, CLANKER_ADDRESS, CLANKER_AIRDROP_ADDRESS_SEPOLIA, CLANKER_AIRDROP_V4, CLANKER_DEVBUY_ADDRESS_SEPOLIA, CLANKER_DEVBUY_V4, CLANKER_FACTORY_V2, CLANKER_FACTORY_V3, CLANKER_FACTORY_V3_1, CLANKER_FACTORY_V4, CLANKER_FACTORY_V4_SEPOLIA, CLANKER_FEE_LOCKER_V4, CLANKER_HOOK_DYNAMIC_FEE_ADDRESS_SEPOLIA, CLANKER_HOOK_DYNAMIC_FEE_V4, CLANKER_HOOK_STATIC_FEE_ADDRESS_SEPOLIA, CLANKER_HOOK_STATIC_FEE_V4, CLANKER_LOCKER_V4, CLANKER_LOCKER_V4_SEPOLIA, CLANKER_MEV_MODULE_ADDRESS_SEPOLIA, CLANKER_MEV_MODULE_V4, CLANKER_VAULT_ADDRESS_SEPOLIA, CLANKER_VAULT_V3_1, CLANKER_VAULT_V4,
|
|
7657
|
+
export { A0X_ADDRESS, ANON_ADDRESS, type AirdropConfig, type AirdropEntry, AirdropExtension, type BuildV4Result, CB_BTC_ADDRESS, CLANKERS, CLANKER_ADDRESS, CLANKER_AIRDROP_ADDRESS_SEPOLIA, CLANKER_AIRDROP_V4, CLANKER_DEVBUY_ADDRESS_SEPOLIA, CLANKER_DEVBUY_V4, CLANKER_FACTORY_V2, CLANKER_FACTORY_V3, CLANKER_FACTORY_V3_1, CLANKER_FACTORY_V4, CLANKER_FACTORY_V4_SEPOLIA, CLANKER_FEE_LOCKER_V4, CLANKER_HOOK_DYNAMIC_FEE_ADDRESS_SEPOLIA, CLANKER_HOOK_DYNAMIC_FEE_V4, CLANKER_HOOK_STATIC_FEE_ADDRESS_SEPOLIA, CLANKER_HOOK_STATIC_FEE_V4, CLANKER_LOCKER_V4, CLANKER_LOCKER_V4_SEPOLIA, CLANKER_MEV_MODULE_ADDRESS_SEPOLIA, CLANKER_MEV_MODULE_V4, CLANKER_VAULT_ADDRESS_SEPOLIA, CLANKER_VAULT_V3_1, CLANKER_VAULT_V4, type Chain, Chains, Clanker, ClankerDeployments, type ClankerMetadata, type ClankerSocialContext, type Clankers, DEFAULT_BASE_RPC, DEFAULT_SUPPLY, DEGEN_ADDRESS, type DeployFormData, type DeploymentConfigV4, type DevBuyConfig, type DevBuyExtensionDataV4, type DevBuyPoolKeyConfig, type ExtensionConfigV4, FEE_CONFIGS, type FeeConfig, FeeConfigs, HIGHER_ADDRESS, type IClankerDeployConfig, INTERFACE_ADMIN_ADDRESS, INTERFACE_REWARD_RECIPIENT_ADDRESS, type IPoolConfig, type ITokenData, LP_LOCKER_V2, LP_LOCKER_V3, LP_LOCKER_V3_1, type LockerConfigV4, type MevModuleConfigV4, NATIVE_ADDRESS, POOL_POSITIONS, type PoolConfig, type PoolConfigV4, type PoolPosition, PoolPositions, type RewardRecipient, type RewardsConfig, type RewardsConfigV4, SUPPORTED_CHAINS, type TokenConfig, type TokenConfigV4, TokenConfigV4Builder, type TokenPair, type Type, VALID_TOKEN_PAIRS, VALID_TOKEN_PAIR_ADDRESS, VALID_TOKEN_PAIR_ADDRESSES, type VaultConfig, type VaultConfigV4, WETH_ADDRESS, type ZodDeploymentConfig, type ZodInitialBuyConfig, type ZodPoolConfig, type ZodRewardsConfig, type ZodTokenConfig, type ZodVaultConfig, bpsToPercentage, createMerkleTree, deploymentConfigSchema, encodeAirdropData, findVanityAddress, findVanityAddressV4, getMerkleProof, initialBuyConfigSchema, isInRange, isValidBps, percentageToBps, poolConfigSchema, rewardsConfigSchema, tokenConfigSchema, validateBpsSum, validateConfig, vaultConfigSchema };
|