levr-sdk 0.4.0 → 0.5.0-alpha.2
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/dist/esm/packages/clanker-sdk/src/abi/uniswap/UniswapV3Factory.js +136 -0
- package/dist/esm/packages/clanker-sdk/src/abi/uniswap/UniswapV3Factory.js.map +1 -0
- package/dist/esm/packages/clanker-sdk/src/abi/uniswap/UniswapV3NonfungiblePositionManager.js +603 -0
- package/dist/esm/packages/clanker-sdk/src/abi/uniswap/UniswapV3NonfungiblePositionManager.js.map +1 -0
- package/dist/esm/packages/clanker-sdk/src/abi/v0/Clanker.js +312 -0
- package/dist/esm/packages/clanker-sdk/src/abi/v0/Clanker.js.map +1 -0
- package/dist/esm/packages/clanker-sdk/src/abi/v1/Clanker.js +323 -0
- package/dist/esm/packages/clanker-sdk/src/abi/v1/Clanker.js.map +1 -0
- package/dist/esm/packages/clanker-sdk/src/abi/v2/Clanker.js +315 -0
- package/dist/esm/packages/clanker-sdk/src/abi/v2/Clanker.js.map +1 -0
- package/dist/esm/packages/clanker-sdk/src/abi/v2/LpLockerv2.js +321 -0
- package/dist/esm/packages/clanker-sdk/src/abi/v2/LpLockerv2.js.map +1 -0
- package/dist/esm/packages/clanker-sdk/src/abi/v3/Clanker.js +323 -0
- package/dist/esm/packages/clanker-sdk/src/abi/v3/Clanker.js.map +1 -0
- package/dist/esm/packages/clanker-sdk/src/abi/v3/ClankerToken.js +548 -0
- package/dist/esm/packages/clanker-sdk/src/abi/v3/ClankerToken.js.map +1 -0
- package/dist/esm/packages/clanker-sdk/src/abi/v3.1/Clanker.js +689 -0
- package/dist/esm/packages/clanker-sdk/src/abi/v3.1/Clanker.js.map +1 -0
- package/dist/esm/packages/clanker-sdk/src/abi/v3.1/ClankerToken.js +1794 -0
- package/dist/esm/packages/clanker-sdk/src/abi/v3.1/ClankerToken.js.map +1 -0
- package/dist/esm/packages/clanker-sdk/src/abi/v3.1/ClankerVault.js +234 -0
- package/dist/esm/packages/clanker-sdk/src/abi/v3.1/ClankerVault.js.map +1 -0
- package/dist/esm/packages/clanker-sdk/src/abi/v3.1/LpLockerv2.js +571 -0
- package/dist/esm/packages/clanker-sdk/src/abi/v3.1/LpLockerv2.js.map +1 -0
- package/dist/esm/packages/clanker-sdk/src/abi/v4/Clanker.js +437 -0
- package/dist/esm/packages/clanker-sdk/src/abi/v4/Clanker.js.map +1 -0
- package/dist/esm/packages/clanker-sdk/src/abi/v4/ClankerAirdrop.js +198 -0
- package/dist/esm/packages/clanker-sdk/src/abi/v4/ClankerAirdrop.js.map +1 -0
- package/dist/esm/packages/clanker-sdk/src/abi/v4/ClankerAirdropV2.js +290 -0
- package/dist/esm/packages/clanker-sdk/src/abi/v4/ClankerAirdropV2.js.map +1 -0
- package/dist/esm/packages/clanker-sdk/src/abi/v4/ClankerFeeLocker.js +160 -0
- package/dist/esm/packages/clanker-sdk/src/abi/v4/ClankerFeeLocker.js.map +1 -0
- package/dist/esm/packages/clanker-sdk/src/abi/v4/ClankerHook.js +1476 -0
- package/dist/esm/packages/clanker-sdk/src/abi/v4/ClankerHook.js.map +1 -0
- package/dist/esm/packages/clanker-sdk/src/abi/v4/ClankerHookDynamicFee.js +758 -0
- package/dist/esm/packages/clanker-sdk/src/abi/v4/ClankerHookDynamicFee.js.map +1 -0
- package/dist/esm/packages/clanker-sdk/src/abi/v4/ClankerHookStaticFee.js +636 -0
- package/dist/esm/packages/clanker-sdk/src/abi/v4/ClankerHookStaticFee.js.map +1 -0
- package/dist/esm/packages/clanker-sdk/src/abi/v4/ClankerLocker.js +459 -0
- package/dist/esm/packages/clanker-sdk/src/abi/v4/ClankerLocker.js.map +1 -0
- package/dist/esm/packages/clanker-sdk/src/abi/v4/ClankerMevBlockDelay.js +84 -0
- package/dist/esm/packages/clanker-sdk/src/abi/v4/ClankerMevBlockDelay.js.map +1 -0
- package/dist/esm/packages/clanker-sdk/src/abi/v4/ClankerSniperAuction.js +342 -0
- package/dist/esm/packages/clanker-sdk/src/abi/v4/ClankerSniperAuction.js.map +1 -0
- package/dist/esm/packages/clanker-sdk/src/abi/v4/ClankerSniperUtil.js +80 -0
- package/dist/esm/packages/clanker-sdk/src/abi/v4/ClankerSniperUtil.js.map +1 -0
- package/dist/esm/packages/clanker-sdk/src/abi/v4/ClankerToken.js +554 -0
- package/dist/esm/packages/clanker-sdk/src/abi/v4/ClankerToken.js.map +1 -0
- package/dist/esm/packages/clanker-sdk/src/abi/v4/ClankerUniV4EthDevBuy.js +170 -0
- package/dist/esm/packages/clanker-sdk/src/abi/v4/ClankerUniV4EthDevBuy.js.map +1 -0
- package/dist/esm/packages/clanker-sdk/src/abi/v4/ClankerUniv3EthDevBuy.js +172 -0
- package/dist/esm/packages/clanker-sdk/src/abi/v4/ClankerUniv3EthDevBuy.js.map +1 -0
- package/dist/esm/packages/clanker-sdk/src/abi/v4/ClankerVault.js +221 -0
- package/dist/esm/packages/clanker-sdk/src/abi/v4/ClankerVault.js.map +1 -0
- package/dist/esm/packages/clanker-sdk/src/abi/v4.1/ClankerHookDynamicFee.js +829 -0
- package/dist/esm/packages/clanker-sdk/src/abi/v4.1/ClankerHookDynamicFee.js.map +1 -0
- package/dist/esm/packages/clanker-sdk/src/abi/v4.1/ClankerHookStaticFee.js +717 -0
- package/dist/esm/packages/clanker-sdk/src/abi/v4.1/ClankerHookStaticFee.js.map +1 -0
- package/dist/esm/packages/clanker-sdk/src/abi/v4.1/ClankerMevSniperAuction.js +415 -0
- package/dist/esm/packages/clanker-sdk/src/abi/v4.1/ClankerMevSniperAuction.js.map +1 -0
- package/dist/esm/packages/clanker-sdk/src/abi/v4.1/ClankerPool.js +11 -0
- package/dist/esm/packages/clanker-sdk/src/abi/v4.1/ClankerPool.js.map +1 -0
- package/dist/esm/packages/clanker-sdk/src/config/clankerTokenV3.js +272 -0
- package/dist/esm/packages/clanker-sdk/src/config/clankerTokenV3.js.map +1 -0
- package/dist/esm/packages/clanker-sdk/src/config/clankerTokenV4.js +508 -0
- package/dist/esm/packages/clanker-sdk/src/config/clankerTokenV4.js.map +1 -0
- package/dist/esm/packages/clanker-sdk/src/config/clankerTokens.js +2 -0
- package/dist/esm/packages/clanker-sdk/src/config/clankerTokens.js.map +1 -0
- package/dist/esm/packages/clanker-sdk/src/constants.js +95 -0
- package/dist/esm/packages/clanker-sdk/src/constants.js.map +1 -0
- package/dist/esm/packages/clanker-sdk/src/deployment/deploy.js +53 -0
- package/dist/esm/packages/clanker-sdk/src/deployment/deploy.js.map +1 -0
- package/dist/esm/packages/clanker-sdk/src/extensions/DevBuyExtension.js +89 -0
- package/dist/esm/packages/clanker-sdk/src/extensions/DevBuyExtension.js.map +1 -0
- package/dist/esm/packages/clanker-sdk/src/extensions/IClankerExtension.js +2 -0
- package/dist/esm/packages/clanker-sdk/src/extensions/IClankerExtension.js.map +1 -0
- package/dist/esm/packages/clanker-sdk/src/extensions/VaultExtension.js +26 -0
- package/dist/esm/packages/clanker-sdk/src/extensions/VaultExtension.js.map +1 -0
- package/dist/esm/packages/clanker-sdk/src/extensions/index.js +4 -0
- package/dist/esm/packages/clanker-sdk/src/extensions/index.js.map +1 -0
- package/dist/esm/packages/clanker-sdk/src/index.js +6 -0
- package/dist/esm/packages/clanker-sdk/src/index.js.map +1 -0
- package/dist/esm/packages/clanker-sdk/src/services/vanityAddress.js +40 -0
- package/dist/esm/packages/clanker-sdk/src/services/vanityAddress.js.map +1 -0
- package/dist/esm/packages/clanker-sdk/src/utils/clanker-contracts.js +2 -0
- package/dist/esm/packages/clanker-sdk/src/utils/clanker-contracts.js.map +1 -0
- package/dist/esm/packages/clanker-sdk/src/utils/clankers.js +212 -0
- package/dist/esm/packages/clanker-sdk/src/utils/clankers.js.map +1 -0
- package/dist/esm/packages/clanker-sdk/src/utils/errors.js +80 -0
- package/dist/esm/packages/clanker-sdk/src/utils/errors.js.map +1 -0
- package/dist/esm/packages/clanker-sdk/src/utils/market-cap.js +19 -0
- package/dist/esm/packages/clanker-sdk/src/utils/market-cap.js.map +1 -0
- package/dist/esm/packages/clanker-sdk/src/utils/merkleTree.js +37 -0
- package/dist/esm/packages/clanker-sdk/src/utils/merkleTree.js.map +1 -0
- package/dist/esm/packages/clanker-sdk/src/utils/meta.js +9 -0
- package/dist/esm/packages/clanker-sdk/src/utils/meta.js.map +1 -0
- package/dist/esm/packages/clanker-sdk/src/utils/write-clanker-contracts.js +70 -0
- package/dist/esm/packages/clanker-sdk/src/utils/write-clanker-contracts.js.map +1 -0
- package/dist/esm/packages/clanker-sdk/src/utils/zod-onchain.js +39 -0
- package/dist/esm/packages/clanker-sdk/src/utils/zod-onchain.js.map +1 -0
- package/dist/esm/packages/clanker-sdk/src/v3/index.js +151 -0
- package/dist/esm/packages/clanker-sdk/src/v3/index.js.map +1 -0
- package/dist/esm/packages/clanker-sdk/src/v4/extensions/airdrop.js +144 -0
- package/dist/esm/packages/clanker-sdk/src/v4/extensions/airdrop.js.map +1 -0
- package/dist/esm/packages/clanker-sdk/src/v4/extensions/index.js +2 -0
- package/dist/esm/packages/clanker-sdk/src/v4/extensions/index.js.map +1 -0
- package/dist/esm/packages/clanker-sdk/src/v4/index.js +383 -0
- package/dist/esm/packages/clanker-sdk/src/v4/index.js.map +1 -0
- package/dist/esm/{abis → src/abis}/ClankerAirdropV2.js +1 -0
- package/dist/esm/src/abis/ClankerAirdropV2.js.map +1 -0
- package/dist/esm/{abis → src/abis}/ClankerVault.js +1 -0
- package/dist/esm/src/abis/ClankerVault.js.map +1 -0
- package/dist/esm/{abis → src/abis}/IClankerAirdrop.js +1 -0
- package/dist/esm/src/abis/IClankerAirdrop.js.map +1 -0
- package/dist/esm/{abis → src/abis}/IClankerFeeLocker.js +1 -0
- package/dist/esm/src/abis/IClankerFeeLocker.js.map +1 -0
- package/dist/esm/{abis → src/abis}/IClankerHookDynamicFee.js +1 -0
- package/dist/esm/src/abis/IClankerHookDynamicFee.js.map +1 -0
- package/dist/esm/{abis → src/abis}/IClankerHookStaticFee.js +1 -0
- package/dist/esm/src/abis/IClankerHookStaticFee.js.map +1 -0
- package/dist/esm/{abis → src/abis}/IClankerLPLocker.js +1 -0
- package/dist/esm/src/abis/IClankerLPLocker.js.map +1 -0
- package/dist/esm/{abis → src/abis}/IClankerLpLockerFeeConversion.js +1 -0
- package/dist/esm/src/abis/IClankerLpLockerFeeConversion.js.map +1 -0
- package/dist/esm/{abis → src/abis}/IClankerLpLockerMultiple.js +1 -0
- package/dist/esm/src/abis/IClankerLpLockerMultiple.js.map +1 -0
- package/dist/esm/{abis → src/abis}/IClankerToken.js +1 -0
- package/dist/esm/src/abis/IClankerToken.js.map +1 -0
- package/dist/esm/{abis → src/abis}/LevrDeployer_v1.js +1 -0
- package/dist/esm/src/abis/LevrDeployer_v1.js.map +1 -0
- package/dist/esm/{abis → src/abis}/LevrFactory_v1.js +1 -0
- package/dist/esm/src/abis/LevrFactory_v1.js.map +1 -0
- package/dist/esm/{abis → src/abis}/LevrFeeSplitterFactory_v1.js +1 -0
- package/dist/esm/src/abis/LevrFeeSplitterFactory_v1.js.map +1 -0
- package/dist/esm/{abis → src/abis}/LevrFeeSplitter_v1.js +1 -0
- package/dist/esm/src/abis/LevrFeeSplitter_v1.js.map +1 -0
- package/dist/esm/{abis → src/abis}/LevrForwarder_v1.js +1 -0
- package/dist/esm/src/abis/LevrForwarder_v1.js.map +1 -0
- package/dist/esm/{abis → src/abis}/LevrGovernor_v1.js +1 -0
- package/dist/esm/src/abis/LevrGovernor_v1.js.map +1 -0
- package/dist/esm/{abis → src/abis}/LevrStakedToken_v1.js +1 -0
- package/dist/esm/src/abis/LevrStakedToken_v1.js.map +1 -0
- package/dist/esm/{abis → src/abis}/LevrStaking_v1.js +1 -0
- package/dist/esm/src/abis/LevrStaking_v1.js.map +1 -0
- package/dist/esm/{abis → src/abis}/LevrTreasury_v1.js +1 -0
- package/dist/esm/src/abis/LevrTreasury_v1.js.map +1 -0
- package/dist/esm/{abis → src/abis}/Permit2.js +1 -0
- package/dist/esm/src/abis/Permit2.js.map +1 -0
- package/dist/esm/{abis → src/abis}/StateView.js +1 -0
- package/dist/esm/src/abis/StateView.js.map +1 -0
- package/dist/esm/src/abis/V3Pool.js +36 -0
- package/dist/esm/src/abis/V3Pool.js.map +1 -0
- package/dist/esm/{abis → src/abis}/V3QuoterV2.js +1 -0
- package/dist/esm/src/abis/V3QuoterV2.js.map +1 -0
- package/dist/esm/{abis → src/abis}/V4Quoter.js +1 -0
- package/dist/esm/src/abis/V4Quoter.js.map +1 -0
- package/dist/esm/{abis → src/abis}/WETH9.js +1 -0
- package/dist/esm/src/abis/WETH9.js.map +1 -0
- package/dist/esm/{abis → src/abis}/index.js +3 -1
- package/dist/esm/src/abis/index.js.map +1 -0
- package/dist/esm/src/airdrop.js.map +1 -0
- package/dist/esm/{balance.js → src/balance.js} +3 -3
- package/dist/esm/src/balance.js.map +1 -0
- package/dist/esm/{build-calldatas-v4.js → src/build-calldatas-v4.js} +2 -9
- package/dist/esm/src/build-calldatas-v4.js.map +1 -0
- package/dist/esm/{build-clanker-v4.js → src/build-clanker-v4.js} +113 -10
- package/dist/esm/src/build-clanker-v4.js.map +1 -0
- package/dist/esm/{client → src/client}/hook/index.js +6 -5
- package/dist/esm/src/client/hook/index.js.map +1 -0
- package/dist/esm/src/client/hook/use-airdrop.js.map +1 -0
- package/dist/esm/{client → src/client}/hook/use-clanker.js +1 -1
- package/dist/esm/src/client/hook/use-clanker.js.map +1 -0
- package/dist/esm/src/client/hook/use-configure-splits.js.map +1 -0
- package/dist/esm/src/client/hook/use-deploy.js.map +1 -0
- package/dist/esm/{client → src/client}/hook/use-factory.js +5 -11
- package/dist/esm/src/client/hook/use-factory.js.map +1 -0
- package/dist/esm/src/client/hook/use-fee-receivers.js.map +1 -0
- package/dist/esm/src/client/hook/use-governance.js.map +1 -0
- package/dist/esm/src/client/hook/use-metrics.js +63 -0
- package/dist/esm/src/client/hook/use-metrics.js.map +1 -0
- package/dist/esm/src/client/hook/use-prepare.js.map +1 -0
- package/dist/esm/src/client/hook/use-project.js +133 -0
- package/dist/esm/src/client/hook/use-project.js.map +1 -0
- package/dist/esm/{client → src/client}/hook/use-proposal.js +6 -5
- package/dist/esm/src/client/hook/use-proposal.js.map +1 -0
- package/dist/esm/src/client/hook/use-register.js.map +1 -0
- package/dist/esm/{client → src/client}/hook/use-stake.js +4 -10
- package/dist/esm/src/client/hook/use-stake.js.map +1 -0
- package/dist/esm/src/client/hook/use-subscription.js +98 -0
- package/dist/esm/src/client/hook/use-subscription.js.map +1 -0
- package/dist/esm/{client → src/client}/hook/use-swap.js +5 -4
- package/dist/esm/src/client/hook/use-swap.js.map +1 -0
- package/dist/esm/src/client/hook/use-user.js.map +1 -0
- package/dist/esm/src/client/hook/use-vault.js.map +1 -0
- package/dist/esm/src/client/index.js.map +1 -0
- package/dist/esm/{client → src/client}/levr-provider.js +4 -24
- package/dist/esm/src/client/levr-provider.js.map +1 -0
- package/dist/esm/{client → src/client}/query-keys.js +15 -5
- package/dist/esm/src/client/query-keys.js.map +1 -0
- package/dist/esm/src/constants/chain.js +248 -0
- package/dist/esm/src/constants/chain.js.map +1 -0
- package/dist/esm/{constants → src/constants}/clanker.js +15 -10
- package/dist/esm/src/constants/clanker.js.map +1 -0
- package/dist/esm/src/constants/config.js.map +1 -0
- package/dist/esm/src/constants/index.js +24 -0
- package/dist/esm/src/constants/index.js.map +1 -0
- package/dist/esm/{constants → src/constants}/levr.js +8 -1
- package/dist/esm/src/constants/levr.js.map +1 -0
- package/dist/esm/{constants → src/constants}/uniswap.js +38 -1
- package/dist/esm/src/constants/uniswap.js.map +1 -0
- package/dist/esm/src/deploy-v4.js.map +1 -0
- package/dist/esm/src/factory.js +40 -0
- package/dist/esm/src/factory.js.map +1 -0
- package/dist/esm/{fee-receivers.js → src/fee-receivers.js} +5 -5
- package/dist/esm/src/fee-receivers.js.map +1 -0
- package/dist/esm/src/fee-splitter.js.map +1 -0
- package/dist/esm/src/governance.js.map +1 -0
- package/dist/esm/src/graphql/client.js +62 -0
- package/dist/esm/src/graphql/client.js.map +1 -0
- package/dist/esm/src/graphql/constants.js +2 -0
- package/dist/esm/src/graphql/constants.js.map +1 -0
- package/dist/esm/src/graphql/fields/factory.js +24 -0
- package/dist/esm/src/graphql/fields/factory.js.map +1 -0
- package/dist/esm/src/graphql/fields/index.js +5 -0
- package/dist/esm/src/graphql/fields/index.js.map +1 -0
- package/dist/esm/src/graphql/fields/metrics.js +28 -0
- package/dist/esm/src/graphql/fields/metrics.js.map +1 -0
- package/dist/esm/src/graphql/fields/project.js +108 -0
- package/dist/esm/src/graphql/fields/project.js.map +1 -0
- package/dist/esm/src/graphql/fields/proposal.js +97 -0
- package/dist/esm/src/graphql/fields/proposal.js.map +1 -0
- package/dist/esm/src/graphql/gen/index.js +25 -0
- package/dist/esm/src/graphql/gen/index.js.map +1 -0
- package/dist/esm/src/graphql/gen/runtime/batcher.js +207 -0
- package/dist/esm/src/graphql/gen/runtime/batcher.js.map +1 -0
- package/dist/esm/src/graphql/gen/runtime/createClient.js +25 -0
- package/dist/esm/src/graphql/gen/runtime/createClient.js.map +1 -0
- package/dist/esm/src/graphql/gen/runtime/error.js +18 -0
- package/dist/esm/src/graphql/gen/runtime/error.js.map +1 -0
- package/dist/esm/src/graphql/gen/runtime/fetcher.js +68 -0
- package/dist/esm/src/graphql/gen/runtime/fetcher.js.map +1 -0
- package/dist/esm/src/graphql/gen/runtime/generateGraphqlOperation.js +126 -0
- package/dist/esm/src/graphql/gen/runtime/generateGraphqlOperation.js.map +1 -0
- package/dist/esm/src/graphql/gen/runtime/index.js +10 -0
- package/dist/esm/src/graphql/gen/runtime/index.js.map +1 -0
- package/dist/esm/src/graphql/gen/runtime/linkTypeMap.js +92 -0
- package/dist/esm/src/graphql/gen/runtime/linkTypeMap.js.map +1 -0
- package/dist/esm/src/graphql/gen/runtime/typeSelection.js +4 -0
- package/dist/esm/src/graphql/gen/runtime/typeSelection.js.map +1 -0
- package/dist/esm/src/graphql/gen/runtime/types.js +3 -0
- package/dist/esm/src/graphql/gen/runtime/types.js.map +1 -0
- package/dist/esm/src/graphql/gen/schema.js +527 -0
- package/dist/esm/src/graphql/gen/schema.js.map +1 -0
- package/dist/esm/src/graphql/gen/types.js +4298 -0
- package/dist/esm/src/graphql/gen/types.js.map +1 -0
- package/dist/esm/src/graphql/index.js +18 -0
- package/dist/esm/src/graphql/index.js.map +1 -0
- package/dist/esm/src/graphql/subscription-manager.js +101 -0
- package/dist/esm/src/graphql/subscription-manager.js.map +1 -0
- package/dist/esm/{index.js → src/index.js} +0 -1
- package/dist/esm/src/index.js.map +1 -0
- package/dist/esm/src/ipfs-merkle-tree.js.map +1 -0
- package/dist/esm/src/pool-key.js.map +1 -0
- package/dist/esm/{project.js → src/project.js} +303 -336
- package/dist/esm/src/project.js.map +1 -0
- package/dist/esm/src/proposal.js +181 -0
- package/dist/esm/src/proposal.js.map +1 -0
- package/dist/esm/src/quote/index.js.map +1 -0
- package/dist/esm/src/quote/v3.js.map +1 -0
- package/dist/esm/src/quote/v4.js.map +1 -0
- package/dist/esm/src/schema/base.schema.js.map +1 -0
- package/dist/esm/{schema → src/schema}/clanker.schema.js +26 -2
- package/dist/esm/src/schema/clanker.schema.js.map +1 -0
- package/dist/esm/src/schema/index.js.map +1 -0
- package/dist/esm/{schema → src/schema}/levr.schema.js +16 -2
- package/dist/esm/src/schema/levr.schema.js.map +1 -0
- package/dist/esm/{stake.js → src/stake.js} +19 -21
- package/dist/esm/src/stake.js.map +1 -0
- package/dist/esm/{swap-v4.js → src/swap-v4.js} +2 -13
- package/dist/esm/src/swap-v4.js.map +1 -0
- package/dist/esm/{types.js.map → src/types.js.map} +1 -1
- package/dist/esm/src/usd-price.js +274 -0
- package/dist/esm/src/usd-price.js.map +1 -0
- package/dist/esm/{user.js → src/user.js} +26 -21
- package/dist/esm/src/user.js.map +1 -0
- package/dist/esm/{util.js → src/util.js} +43 -25
- package/dist/esm/src/util.js.map +1 -0
- package/dist/esm/src/vault.js.map +1 -0
- package/dist/types/packages/clanker-sdk/src/abi/uniswap/UniswapV3Factory.d.ts +185 -0
- package/dist/types/packages/clanker-sdk/src/abi/uniswap/UniswapV3Factory.d.ts.map +1 -0
- package/dist/types/packages/clanker-sdk/src/abi/uniswap/UniswapV3NonfungiblePositionManager.d.ts +949 -0
- package/dist/types/packages/clanker-sdk/src/abi/uniswap/UniswapV3NonfungiblePositionManager.d.ts.map +1 -0
- package/dist/types/packages/clanker-sdk/src/abi/v0/Clanker.d.ts +402 -0
- package/dist/types/packages/clanker-sdk/src/abi/v0/Clanker.d.ts.map +1 -0
- package/dist/types/packages/clanker-sdk/src/abi/v1/Clanker.d.ts +491 -0
- package/dist/types/packages/clanker-sdk/src/abi/v1/Clanker.d.ts.map +1 -0
- package/dist/types/packages/clanker-sdk/src/abi/v2/Clanker.d.ts +463 -0
- package/dist/types/packages/clanker-sdk/src/abi/v2/Clanker.d.ts.map +1 -0
- package/dist/types/packages/clanker-sdk/src/abi/v2/LpLockerv2.d.ts +428 -0
- package/dist/types/packages/clanker-sdk/src/abi/v2/LpLockerv2.d.ts.map +1 -0
- package/dist/types/packages/clanker-sdk/src/abi/v3/Clanker.d.ts +499 -0
- package/dist/types/packages/clanker-sdk/src/abi/v3/Clanker.d.ts.map +1 -0
- package/dist/types/packages/clanker-sdk/src/abi/v3/ClankerToken.d.ts +846 -0
- package/dist/types/packages/clanker-sdk/src/abi/v3/ClankerToken.d.ts.map +1 -0
- package/dist/types/packages/clanker-sdk/src/abi/v3.1/Clanker.d.ts +846 -0
- package/dist/types/packages/clanker-sdk/src/abi/v3.1/Clanker.d.ts.map +1 -0
- package/dist/types/packages/clanker-sdk/src/abi/v3.1/ClankerToken.d.ts +2654 -0
- package/dist/types/packages/clanker-sdk/src/abi/v3.1/ClankerToken.d.ts.map +1 -0
- package/dist/types/packages/clanker-sdk/src/abi/v3.1/ClankerVault.d.ts +289 -0
- package/dist/types/packages/clanker-sdk/src/abi/v3.1/ClankerVault.d.ts.map +1 -0
- package/dist/types/packages/clanker-sdk/src/abi/v3.1/LpLockerv2.d.ts +670 -0
- package/dist/types/packages/clanker-sdk/src/abi/v3.1/LpLockerv2.d.ts.map +1 -0
- package/dist/types/packages/clanker-sdk/src/abi/v4/Clanker.d.ts +819 -0
- package/dist/types/packages/clanker-sdk/src/abi/v4/Clanker.d.ts.map +1 -0
- package/dist/types/packages/clanker-sdk/src/abi/v4/ClankerAirdrop.d.ts +413 -0
- package/dist/types/packages/clanker-sdk/src/abi/v4/ClankerAirdrop.d.ts.map +1 -0
- package/dist/types/packages/clanker-sdk/src/abi/v4/ClankerAirdropV2.d.ts +573 -0
- package/dist/types/packages/clanker-sdk/src/abi/v4/ClankerAirdropV2.d.ts.map +1 -0
- package/dist/types/packages/clanker-sdk/src/abi/v4/ClankerFeeLocker.d.ts +290 -0
- package/dist/types/packages/clanker-sdk/src/abi/v4/ClankerFeeLocker.d.ts.map +1 -0
- package/dist/types/packages/clanker-sdk/src/abi/v4/ClankerHook.d.ts +1143 -0
- package/dist/types/packages/clanker-sdk/src/abi/v4/ClankerHook.d.ts.map +1 -0
- package/dist/types/packages/clanker-sdk/src/abi/v4/ClankerHookDynamicFee.d.ts +1430 -0
- package/dist/types/packages/clanker-sdk/src/abi/v4/ClankerHookDynamicFee.d.ts.map +1 -0
- package/dist/types/packages/clanker-sdk/src/abi/v4/ClankerHookStaticFee.d.ts +1219 -0
- package/dist/types/packages/clanker-sdk/src/abi/v4/ClankerHookStaticFee.d.ts.map +1 -0
- package/dist/types/packages/clanker-sdk/src/abi/v4/ClankerLocker.d.ts +845 -0
- package/dist/types/packages/clanker-sdk/src/abi/v4/ClankerLocker.d.ts.map +1 -0
- package/dist/types/packages/clanker-sdk/src/abi/v4/ClankerMevBlockDelay.d.ts +151 -0
- package/dist/types/packages/clanker-sdk/src/abi/v4/ClankerMevBlockDelay.d.ts.map +1 -0
- package/dist/types/packages/clanker-sdk/src/abi/v4/ClankerSniperAuction.d.ts +572 -0
- package/dist/types/packages/clanker-sdk/src/abi/v4/ClankerSniperAuction.d.ts.map +1 -0
- package/dist/types/packages/clanker-sdk/src/abi/v4/ClankerSniperUtil.d.ts +167 -0
- package/dist/types/packages/clanker-sdk/src/abi/v4/ClankerSniperUtil.d.ts.map +1 -0
- package/dist/types/packages/clanker-sdk/src/abi/v4/ClankerToken.d.ts +981 -0
- package/dist/types/packages/clanker-sdk/src/abi/v4/ClankerToken.d.ts.map +1 -0
- package/dist/types/packages/clanker-sdk/src/abi/v4/ClankerUniV4EthDevBuy.d.ts +325 -0
- package/dist/types/packages/clanker-sdk/src/abi/v4/ClankerUniV4EthDevBuy.d.ts.map +1 -0
- package/dist/types/packages/clanker-sdk/src/abi/v4/ClankerUniv3EthDevBuy.d.ts +326 -0
- package/dist/types/packages/clanker-sdk/src/abi/v4/ClankerUniv3EthDevBuy.d.ts.map +1 -0
- package/dist/types/packages/clanker-sdk/src/abi/v4/ClankerVault.d.ts +414 -0
- package/dist/types/packages/clanker-sdk/src/abi/v4/ClankerVault.d.ts.map +1 -0
- package/dist/types/packages/clanker-sdk/src/abi/v4.1/ClankerHookDynamicFee.d.ts +92 -0
- package/dist/types/packages/clanker-sdk/src/abi/v4.1/ClankerHookDynamicFee.d.ts.map +1 -0
- package/dist/types/packages/clanker-sdk/src/abi/v4.1/ClankerHookStaticFee.d.ts +88 -0
- package/dist/types/packages/clanker-sdk/src/abi/v4.1/ClankerHookStaticFee.d.ts.map +1 -0
- package/dist/types/packages/clanker-sdk/src/abi/v4.1/ClankerMevSniperAuction.d.ts +69 -0
- package/dist/types/packages/clanker-sdk/src/abi/v4.1/ClankerMevSniperAuction.d.ts.map +1 -0
- package/dist/types/packages/clanker-sdk/src/abi/v4.1/ClankerPool.d.ts +9 -0
- package/dist/types/packages/clanker-sdk/src/abi/v4.1/ClankerPool.d.ts.map +1 -0
- package/dist/types/packages/clanker-sdk/src/config/clankerTokenV3.d.ts +64 -0
- package/dist/types/packages/clanker-sdk/src/config/clankerTokenV3.d.ts.map +1 -0
- package/dist/types/packages/clanker-sdk/src/config/clankerTokenV4.d.ts +136 -0
- package/dist/types/packages/clanker-sdk/src/config/clankerTokenV4.d.ts.map +1 -0
- package/dist/types/packages/clanker-sdk/src/config/clankerTokens.d.ts +12 -0
- package/dist/types/packages/clanker-sdk/src/config/clankerTokens.d.ts.map +1 -0
- package/dist/types/packages/clanker-sdk/src/constants.d.ts +29 -0
- package/dist/types/packages/clanker-sdk/src/constants.d.ts.map +1 -0
- package/dist/types/packages/clanker-sdk/src/deployment/deploy.d.ts +21 -0
- package/dist/types/packages/clanker-sdk/src/deployment/deploy.d.ts.map +1 -0
- package/dist/types/packages/clanker-sdk/src/extensions/DevBuyExtension.d.ts +52 -0
- package/dist/types/packages/clanker-sdk/src/extensions/DevBuyExtension.d.ts.map +1 -0
- package/dist/types/packages/clanker-sdk/src/extensions/IClankerExtension.d.ts +36 -0
- package/dist/types/packages/clanker-sdk/src/extensions/IClankerExtension.d.ts.map +1 -0
- package/dist/types/packages/clanker-sdk/src/extensions/VaultExtension.d.ts +17 -0
- package/dist/types/packages/clanker-sdk/src/extensions/VaultExtension.d.ts.map +1 -0
- package/dist/types/packages/clanker-sdk/src/extensions/index.d.ts +4 -0
- package/dist/types/packages/clanker-sdk/src/extensions/index.d.ts.map +1 -0
- package/dist/types/packages/clanker-sdk/src/index.d.ts +8 -0
- package/dist/types/packages/clanker-sdk/src/index.d.ts.map +1 -0
- package/dist/types/packages/clanker-sdk/src/services/vanityAddress.d.ts +15 -0
- package/dist/types/packages/clanker-sdk/src/services/vanityAddress.d.ts.map +1 -0
- package/dist/types/packages/clanker-sdk/src/utils/clanker-contracts.d.ts +16 -0
- package/dist/types/packages/clanker-sdk/src/utils/clanker-contracts.d.ts.map +1 -0
- package/dist/types/packages/clanker-sdk/src/utils/clankers.d.ts +9506 -0
- package/dist/types/packages/clanker-sdk/src/utils/clankers.d.ts.map +1 -0
- package/dist/types/packages/clanker-sdk/src/utils/errors.d.ts +16 -0
- package/dist/types/packages/clanker-sdk/src/utils/errors.d.ts.map +1 -0
- package/dist/types/packages/clanker-sdk/src/utils/market-cap.d.ts +12 -0
- package/dist/types/packages/clanker-sdk/src/utils/market-cap.d.ts.map +1 -0
- package/dist/types/packages/clanker-sdk/src/utils/merkleTree.d.ts +19 -0
- package/dist/types/packages/clanker-sdk/src/utils/merkleTree.d.ts.map +1 -0
- package/dist/types/packages/clanker-sdk/src/utils/meta.d.ts +7 -0
- package/dist/types/packages/clanker-sdk/src/utils/meta.d.ts.map +1 -0
- package/dist/types/packages/clanker-sdk/src/utils/write-clanker-contracts.d.ts +57 -0
- package/dist/types/packages/clanker-sdk/src/utils/write-clanker-contracts.d.ts.map +1 -0
- package/dist/types/packages/clanker-sdk/src/utils/zod-onchain.d.ts +29 -0
- package/dist/types/packages/clanker-sdk/src/utils/zod-onchain.d.ts.map +1 -0
- package/dist/types/packages/clanker-sdk/src/v3/index.d.ts +3167 -0
- package/dist/types/packages/clanker-sdk/src/v3/index.d.ts.map +1 -0
- package/dist/types/packages/clanker-sdk/src/v4/extensions/airdrop.d.ts +108 -0
- package/dist/types/packages/clanker-sdk/src/v4/extensions/airdrop.d.ts.map +1 -0
- package/dist/types/packages/clanker-sdk/src/v4/extensions/index.d.ts +2 -0
- package/dist/types/packages/clanker-sdk/src/v4/extensions/index.d.ts.map +1 -0
- package/dist/types/packages/clanker-sdk/src/v4/index.d.ts +3781 -0
- package/dist/types/packages/clanker-sdk/src/v4/index.d.ts.map +1 -0
- package/dist/types/{abis → src/abis}/ClankerAirdropV2.d.ts +1 -0
- package/dist/types/src/abis/ClankerAirdropV2.d.ts.map +1 -0
- package/dist/types/{abis → src/abis}/ClankerVault.d.ts +1 -0
- package/dist/types/src/abis/ClankerVault.d.ts.map +1 -0
- package/dist/types/{abis → src/abis}/IClankerAirdrop.d.ts +1 -0
- package/dist/types/src/abis/IClankerAirdrop.d.ts.map +1 -0
- package/dist/types/{abis → src/abis}/IClankerFeeLocker.d.ts +1 -0
- package/dist/types/src/abis/IClankerFeeLocker.d.ts.map +1 -0
- package/dist/types/{abis → src/abis}/IClankerHookDynamicFee.d.ts +1 -0
- package/dist/types/src/abis/IClankerHookDynamicFee.d.ts.map +1 -0
- package/dist/types/{abis → src/abis}/IClankerHookStaticFee.d.ts +1 -0
- package/dist/types/src/abis/IClankerHookStaticFee.d.ts.map +1 -0
- package/dist/types/{abis → src/abis}/IClankerLPLocker.d.ts +1 -0
- package/dist/types/src/abis/IClankerLPLocker.d.ts.map +1 -0
- package/dist/types/{abis → src/abis}/IClankerLpLockerFeeConversion.d.ts +1 -0
- package/dist/types/src/abis/IClankerLpLockerFeeConversion.d.ts.map +1 -0
- package/dist/types/{abis → src/abis}/IClankerLpLockerMultiple.d.ts +1 -0
- package/dist/types/src/abis/IClankerLpLockerMultiple.d.ts.map +1 -0
- package/dist/types/{abis → src/abis}/IClankerToken.d.ts +1 -0
- package/dist/types/src/abis/IClankerToken.d.ts.map +1 -0
- package/dist/types/{abis → src/abis}/LevrDeployer_v1.d.ts +1 -0
- package/dist/types/src/abis/LevrDeployer_v1.d.ts.map +1 -0
- package/dist/types/{abis → src/abis}/LevrFactory_v1.d.ts +1 -0
- package/dist/types/src/abis/LevrFactory_v1.d.ts.map +1 -0
- package/dist/types/{abis → src/abis}/LevrFeeSplitterFactory_v1.d.ts +1 -0
- package/dist/types/src/abis/LevrFeeSplitterFactory_v1.d.ts.map +1 -0
- package/dist/types/{abis → src/abis}/LevrFeeSplitter_v1.d.ts +1 -0
- package/dist/types/src/abis/LevrFeeSplitter_v1.d.ts.map +1 -0
- package/dist/types/{abis → src/abis}/LevrForwarder_v1.d.ts +1 -0
- package/dist/types/src/abis/LevrForwarder_v1.d.ts.map +1 -0
- package/dist/types/{abis → src/abis}/LevrGovernor_v1.d.ts +1 -0
- package/dist/types/src/abis/LevrGovernor_v1.d.ts.map +1 -0
- package/dist/types/{abis → src/abis}/LevrStakedToken_v1.d.ts +1 -0
- package/dist/types/src/abis/LevrStakedToken_v1.d.ts.map +1 -0
- package/dist/types/{abis → src/abis}/LevrStaking_v1.d.ts +1 -0
- package/dist/types/src/abis/LevrStaking_v1.d.ts.map +1 -0
- package/dist/types/{abis → src/abis}/LevrTreasury_v1.d.ts +1 -0
- package/dist/types/src/abis/LevrTreasury_v1.d.ts.map +1 -0
- package/dist/types/{abis → src/abis}/Permit2.d.ts +1 -0
- package/dist/types/src/abis/Permit2.d.ts.map +1 -0
- package/dist/types/{abis → src/abis}/StateView.d.ts +1 -0
- package/dist/types/src/abis/StateView.d.ts.map +1 -0
- package/dist/types/src/abis/V3Pool.d.ts +50 -0
- package/dist/types/src/abis/V3Pool.d.ts.map +1 -0
- package/dist/types/{abis → src/abis}/V3QuoterV2.d.ts +1 -0
- package/dist/types/src/abis/V3QuoterV2.d.ts.map +1 -0
- package/dist/types/{abis → src/abis}/V4Quoter.d.ts +1 -0
- package/dist/types/src/abis/V4Quoter.d.ts.map +1 -0
- package/dist/types/{abis → src/abis}/WETH9.d.ts +1 -0
- package/dist/types/src/abis/WETH9.d.ts.map +1 -0
- package/dist/types/{abis → src/abis}/index.d.ts +3 -1
- package/dist/types/src/abis/index.d.ts.map +1 -0
- package/dist/types/src/airdrop.d.ts.map +1 -0
- package/dist/types/src/balance.d.ts.map +1 -0
- package/dist/types/{build-calldatas-v4.d.ts → src/build-calldatas-v4.d.ts} +0 -1
- package/dist/types/src/build-calldatas-v4.d.ts.map +1 -0
- package/dist/types/src/build-clanker-v4.d.ts.map +1 -0
- package/dist/types/{client → src/client}/hook/index.d.ts +6 -5
- package/dist/types/src/client/hook/index.d.ts.map +1 -0
- package/dist/types/src/client/hook/use-airdrop.d.ts.map +1 -0
- package/dist/types/src/client/hook/use-clanker.d.ts.map +1 -0
- package/dist/types/src/client/hook/use-configure-splits.d.ts.map +1 -0
- package/dist/types/{client → src/client}/hook/use-deploy.d.ts +2 -1
- package/dist/types/src/client/hook/use-deploy.d.ts.map +1 -0
- package/dist/types/{client → src/client}/hook/use-factory.d.ts +2 -2
- package/dist/types/src/client/hook/use-factory.d.ts.map +1 -0
- package/dist/types/src/client/hook/use-fee-receivers.d.ts.map +1 -0
- package/dist/types/src/client/hook/use-governance.d.ts.map +1 -0
- package/dist/types/src/client/hook/use-metrics.d.ts +16 -0
- package/dist/types/src/client/hook/use-metrics.d.ts.map +1 -0
- package/dist/types/src/client/hook/use-prepare.d.ts.map +1 -0
- package/dist/types/{client → src/client}/hook/use-project.d.ts +22 -6
- package/dist/types/src/client/hook/use-project.d.ts.map +1 -0
- package/dist/types/{client → src/client}/hook/use-proposal.d.ts +2 -2
- package/dist/types/src/client/hook/use-proposal.d.ts.map +1 -0
- package/dist/types/src/client/hook/use-register.d.ts.map +1 -0
- package/dist/types/src/client/hook/use-stake.d.ts.map +1 -0
- package/dist/types/src/client/hook/use-subscription.d.ts +33 -0
- package/dist/types/src/client/hook/use-subscription.d.ts.map +1 -0
- package/dist/types/src/client/hook/use-swap.d.ts.map +1 -0
- package/dist/types/src/client/hook/use-user.d.ts.map +1 -0
- package/dist/types/src/client/hook/use-vault.d.ts.map +1 -0
- package/dist/types/src/client/index.d.ts.map +1 -0
- package/dist/types/{client → src/client}/levr-provider.d.ts +1 -15
- package/dist/types/src/client/levr-provider.d.ts.map +1 -0
- package/dist/types/{client → src/client}/query-keys.d.ts +8 -5
- package/dist/types/src/client/query-keys.d.ts.map +1 -0
- package/dist/types/src/constants/chain.d.ts +117 -0
- package/dist/types/src/constants/chain.d.ts.map +1 -0
- package/dist/types/{constants → src/constants}/clanker.d.ts +1 -1
- package/dist/types/src/constants/clanker.d.ts.map +1 -0
- package/dist/types/src/constants/config.d.ts.map +1 -0
- package/dist/types/{constants → src/constants}/index.d.ts +1 -17
- package/dist/types/src/constants/index.d.ts.map +1 -0
- package/dist/types/{constants → src/constants}/levr.d.ts +5 -0
- package/dist/types/src/constants/levr.d.ts.map +1 -0
- package/dist/types/{constants → src/constants}/uniswap.d.ts +13 -0
- package/dist/types/src/constants/uniswap.d.ts.map +1 -0
- package/dist/types/src/deploy-v4.d.ts.map +1 -0
- package/dist/types/src/factory.d.ts +21 -0
- package/dist/types/src/factory.d.ts.map +1 -0
- package/dist/types/{fee-receivers.d.ts → src/fee-receivers.d.ts} +3 -3
- package/dist/types/src/fee-receivers.d.ts.map +1 -0
- package/dist/types/src/fee-splitter.d.ts.map +1 -0
- package/dist/types/src/governance.d.ts.map +1 -0
- package/dist/types/src/graphql/client.d.ts +12 -0
- package/dist/types/src/graphql/client.d.ts.map +1 -0
- package/dist/types/src/graphql/constants.d.ts +2 -0
- package/dist/types/src/graphql/constants.d.ts.map +1 -0
- package/dist/types/src/graphql/fields/factory.d.ts +22 -0
- package/dist/types/src/graphql/fields/factory.d.ts.map +1 -0
- package/dist/types/src/graphql/fields/index.d.ts +5 -0
- package/dist/types/src/graphql/fields/index.d.ts.map +1 -0
- package/dist/types/src/graphql/fields/metrics.d.ts +36 -0
- package/dist/types/src/graphql/fields/metrics.d.ts.map +1 -0
- package/dist/types/src/graphql/fields/project.d.ts +249 -0
- package/dist/types/src/graphql/fields/project.d.ts.map +1 -0
- package/dist/types/src/graphql/fields/proposal.d.ts +195 -0
- package/dist/types/src/graphql/fields/proposal.d.ts.map +1 -0
- package/dist/types/src/graphql/gen/index.d.ts +23 -0
- package/dist/types/src/graphql/gen/index.d.ts.map +1 -0
- package/dist/types/src/graphql/gen/runtime/batcher.d.ts +106 -0
- package/dist/types/src/graphql/gen/runtime/batcher.d.ts.map +1 -0
- package/dist/types/src/graphql/gen/runtime/createClient.d.ts +18 -0
- package/dist/types/src/graphql/gen/runtime/createClient.d.ts.map +1 -0
- package/dist/types/src/graphql/gen/runtime/error.d.ts +19 -0
- package/dist/types/src/graphql/gen/runtime/error.d.ts.map +1 -0
- package/dist/types/src/graphql/gen/runtime/fetcher.d.ts +11 -0
- package/dist/types/src/graphql/gen/runtime/fetcher.d.ts.map +1 -0
- package/dist/types/src/graphql/gen/runtime/generateGraphqlOperation.d.ts +31 -0
- package/dist/types/src/graphql/gen/runtime/generateGraphqlOperation.d.ts.map +1 -0
- package/dist/types/src/graphql/gen/runtime/index.d.ts +12 -0
- package/dist/types/src/graphql/gen/runtime/index.d.ts.map +1 -0
- package/dist/types/src/graphql/gen/runtime/linkTypeMap.d.ts +10 -0
- package/dist/types/src/graphql/gen/runtime/linkTypeMap.d.ts.map +1 -0
- package/dist/types/src/graphql/gen/runtime/typeSelection.d.ts +29 -0
- package/dist/types/src/graphql/gen/runtime/typeSelection.d.ts.map +1 -0
- package/dist/types/src/graphql/gen/runtime/types.d.ts +53 -0
- package/dist/types/src/graphql/gen/runtime/types.d.ts.map +1 -0
- package/dist/types/src/graphql/gen/schema.d.ts +6056 -0
- package/dist/types/src/graphql/gen/schema.d.ts.map +1 -0
- package/dist/types/src/graphql/gen/types.d.ts +3867 -0
- package/dist/types/src/graphql/gen/types.d.ts.map +1 -0
- package/dist/types/src/graphql/index.d.ts +19 -0
- package/dist/types/src/graphql/index.d.ts.map +1 -0
- package/dist/types/src/graphql/subscription-manager.d.ts +64 -0
- package/dist/types/src/graphql/subscription-manager.d.ts.map +1 -0
- package/dist/types/{index.d.ts → src/index.d.ts} +0 -1
- package/dist/types/src/index.d.ts.map +1 -0
- package/dist/types/src/ipfs-merkle-tree.d.ts.map +1 -0
- package/dist/types/src/pool-key.d.ts.map +1 -0
- package/dist/types/{project.d.ts → src/project.d.ts} +26 -18
- package/dist/types/src/project.d.ts.map +1 -0
- package/dist/types/src/proposal.d.ts +34 -0
- package/dist/types/src/proposal.d.ts.map +1 -0
- package/dist/types/src/quote/index.d.ts.map +1 -0
- package/dist/types/src/quote/v3.d.ts.map +1 -0
- package/dist/types/src/quote/v4.d.ts.map +1 -0
- package/dist/types/src/schema/base.schema.d.ts.map +1 -0
- package/dist/types/{schema → src/schema}/clanker.schema.d.ts +16 -4
- package/dist/types/src/schema/clanker.schema.d.ts.map +1 -0
- package/dist/types/src/schema/index.d.ts.map +1 -0
- package/dist/types/{schema → src/schema}/levr.schema.d.ts +2 -1
- package/dist/types/src/schema/levr.schema.d.ts.map +1 -0
- package/dist/types/{stake.d.ts → src/stake.d.ts} +8 -1
- package/dist/types/src/stake.d.ts.map +1 -0
- package/dist/types/src/swap-v4.d.ts.map +1 -0
- package/dist/types/{types.d.ts → src/types.d.ts} +1 -1
- package/dist/types/src/types.d.ts.map +1 -0
- package/dist/types/src/usd-price.d.ts +189 -0
- package/dist/types/src/usd-price.d.ts.map +1 -0
- package/dist/types/{user.d.ts → src/user.d.ts} +5 -5
- package/dist/types/src/user.d.ts.map +1 -0
- package/dist/types/{util.d.ts → src/util.d.ts} +7 -0
- package/dist/types/src/util.d.ts.map +1 -0
- package/dist/types/src/vault.d.ts.map +1 -0
- package/package.json +16 -4
- package/dist/esm/airdrop.js.map +0 -1
- package/dist/esm/balance.js.map +0 -1
- package/dist/esm/build-calldatas-v4.js.map +0 -1
- package/dist/esm/build-clanker-v4.js.map +0 -1
- package/dist/esm/client/hook/index.js.map +0 -1
- package/dist/esm/client/hook/use-airdrop.js.map +0 -1
- package/dist/esm/client/hook/use-clanker.js.map +0 -1
- package/dist/esm/client/hook/use-configure-splits.js.map +0 -1
- package/dist/esm/client/hook/use-deploy.js.map +0 -1
- package/dist/esm/client/hook/use-factory.js.map +0 -1
- package/dist/esm/client/hook/use-fee-receivers.js.map +0 -1
- package/dist/esm/client/hook/use-governance.js.map +0 -1
- package/dist/esm/client/hook/use-pool.js +0 -26
- package/dist/esm/client/hook/use-pool.js.map +0 -1
- package/dist/esm/client/hook/use-prepare.js.map +0 -1
- package/dist/esm/client/hook/use-project.js +0 -72
- package/dist/esm/client/hook/use-project.js.map +0 -1
- package/dist/esm/client/hook/use-proposal.js.map +0 -1
- package/dist/esm/client/hook/use-register.js.map +0 -1
- package/dist/esm/client/hook/use-stake.js.map +0 -1
- package/dist/esm/client/hook/use-swap.js.map +0 -1
- package/dist/esm/client/hook/use-user.js.map +0 -1
- package/dist/esm/client/hook/use-vault.js.map +0 -1
- package/dist/esm/client/index.js.map +0 -1
- package/dist/esm/client/levr-provider.js.map +0 -1
- package/dist/esm/client/query-keys.js.map +0 -1
- package/dist/esm/constants/clanker.js.map +0 -1
- package/dist/esm/constants/config.js.map +0 -1
- package/dist/esm/constants/index.js +0 -52
- package/dist/esm/constants/index.js.map +0 -1
- package/dist/esm/constants/levr.js.map +0 -1
- package/dist/esm/constants/uniswap.js.map +0 -1
- package/dist/esm/deploy-v4.js.map +0 -1
- package/dist/esm/factory.js +0 -171
- package/dist/esm/factory.js.map +0 -1
- package/dist/esm/fee-receivers.js.map +0 -1
- package/dist/esm/fee-splitter.js.map +0 -1
- package/dist/esm/governance.js.map +0 -1
- package/dist/esm/index.js.map +0 -1
- package/dist/esm/ipfs-merkle-tree.js.map +0 -1
- package/dist/esm/pool-key.js.map +0 -1
- package/dist/esm/pool.js +0 -70
- package/dist/esm/pool.js.map +0 -1
- package/dist/esm/project.js.map +0 -1
- package/dist/esm/proposal.js +0 -157
- package/dist/esm/proposal.js.map +0 -1
- package/dist/esm/quote/index.js.map +0 -1
- package/dist/esm/quote/v3.js.map +0 -1
- package/dist/esm/quote/v4.js.map +0 -1
- package/dist/esm/schema/base.schema.js.map +0 -1
- package/dist/esm/schema/clanker.schema.js.map +0 -1
- package/dist/esm/schema/index.js.map +0 -1
- package/dist/esm/schema/levr.schema.js.map +0 -1
- package/dist/esm/stake.js.map +0 -1
- package/dist/esm/swap-v4.js.map +0 -1
- package/dist/esm/usd-price.js +0 -166
- package/dist/esm/usd-price.js.map +0 -1
- package/dist/esm/user.js.map +0 -1
- package/dist/esm/util.js.map +0 -1
- package/dist/esm/vault.js.map +0 -1
- package/dist/types/airdrop.d.ts.map +0 -1
- package/dist/types/balance.d.ts.map +0 -1
- package/dist/types/build-calldatas-v4.d.ts.map +0 -1
- package/dist/types/build-clanker-v4.d.ts.map +0 -1
- package/dist/types/client/hook/index.d.ts.map +0 -1
- package/dist/types/client/hook/use-airdrop.d.ts.map +0 -1
- package/dist/types/client/hook/use-clanker.d.ts.map +0 -1
- package/dist/types/client/hook/use-configure-splits.d.ts.map +0 -1
- package/dist/types/client/hook/use-deploy.d.ts.map +0 -1
- package/dist/types/client/hook/use-factory.d.ts.map +0 -1
- package/dist/types/client/hook/use-fee-receivers.d.ts.map +0 -1
- package/dist/types/client/hook/use-governance.d.ts.map +0 -1
- package/dist/types/client/hook/use-pool.d.ts +0 -12
- package/dist/types/client/hook/use-pool.d.ts.map +0 -1
- package/dist/types/client/hook/use-prepare.d.ts.map +0 -1
- package/dist/types/client/hook/use-project.d.ts.map +0 -1
- package/dist/types/client/hook/use-proposal.d.ts.map +0 -1
- package/dist/types/client/hook/use-register.d.ts.map +0 -1
- package/dist/types/client/hook/use-stake.d.ts.map +0 -1
- package/dist/types/client/hook/use-swap.d.ts.map +0 -1
- package/dist/types/client/hook/use-user.d.ts.map +0 -1
- package/dist/types/client/hook/use-vault.d.ts.map +0 -1
- package/dist/types/client/index.d.ts.map +0 -1
- package/dist/types/client/levr-provider.d.ts.map +0 -1
- package/dist/types/client/query-keys.d.ts.map +0 -1
- package/dist/types/constants/clanker.d.ts.map +0 -1
- package/dist/types/constants/config.d.ts.map +0 -1
- package/dist/types/constants/index.d.ts.map +0 -1
- package/dist/types/constants/levr.d.ts.map +0 -1
- package/dist/types/constants/uniswap.d.ts.map +0 -1
- package/dist/types/deploy-v4.d.ts.map +0 -1
- package/dist/types/factory.d.ts +0 -38
- package/dist/types/factory.d.ts.map +0 -1
- package/dist/types/fee-receivers.d.ts.map +0 -1
- package/dist/types/fee-splitter.d.ts.map +0 -1
- package/dist/types/governance.d.ts.map +0 -1
- package/dist/types/index.d.ts.map +0 -1
- package/dist/types/ipfs-merkle-tree.d.ts.map +0 -1
- package/dist/types/pool-key.d.ts.map +0 -1
- package/dist/types/pool.d.ts +0 -590
- package/dist/types/pool.d.ts.map +0 -1
- package/dist/types/project.d.ts.map +0 -1
- package/dist/types/proposal.d.ts +0 -1493
- package/dist/types/proposal.d.ts.map +0 -1
- package/dist/types/quote/index.d.ts.map +0 -1
- package/dist/types/quote/v3.d.ts.map +0 -1
- package/dist/types/quote/v4.d.ts.map +0 -1
- package/dist/types/schema/base.schema.d.ts.map +0 -1
- package/dist/types/schema/clanker.schema.d.ts.map +0 -1
- package/dist/types/schema/index.d.ts.map +0 -1
- package/dist/types/schema/levr.schema.d.ts.map +0 -1
- package/dist/types/stake.d.ts.map +0 -1
- package/dist/types/swap-v4.d.ts.map +0 -1
- package/dist/types/types.d.ts.map +0 -1
- package/dist/types/usd-price.d.ts +0 -146
- package/dist/types/usd-price.d.ts.map +0 -1
- package/dist/types/user.d.ts.map +0 -1
- package/dist/types/util.d.ts.map +0 -1
- package/dist/types/vault.d.ts.map +0 -1
- /package/dist/esm/{airdrop.js → src/airdrop.js} +0 -0
- /package/dist/esm/{client → src/client}/hook/use-airdrop.js +0 -0
- /package/dist/esm/{client → src/client}/hook/use-configure-splits.js +0 -0
- /package/dist/esm/{client → src/client}/hook/use-deploy.js +0 -0
- /package/dist/esm/{client → src/client}/hook/use-fee-receivers.js +0 -0
- /package/dist/esm/{client → src/client}/hook/use-governance.js +0 -0
- /package/dist/esm/{client → src/client}/hook/use-prepare.js +0 -0
- /package/dist/esm/{client → src/client}/hook/use-register.js +0 -0
- /package/dist/esm/{client → src/client}/hook/use-user.js +0 -0
- /package/dist/esm/{client → src/client}/hook/use-vault.js +0 -0
- /package/dist/esm/{client → src/client}/index.js +0 -0
- /package/dist/esm/{constants → src/constants}/config.js +0 -0
- /package/dist/esm/{deploy-v4.js → src/deploy-v4.js} +0 -0
- /package/dist/esm/{fee-splitter.js → src/fee-splitter.js} +0 -0
- /package/dist/esm/{governance.js → src/governance.js} +0 -0
- /package/dist/esm/{ipfs-merkle-tree.js → src/ipfs-merkle-tree.js} +0 -0
- /package/dist/esm/{pool-key.js → src/pool-key.js} +0 -0
- /package/dist/esm/{quote → src/quote}/index.js +0 -0
- /package/dist/esm/{quote → src/quote}/v3.js +0 -0
- /package/dist/esm/{quote → src/quote}/v4.js +0 -0
- /package/dist/esm/{schema → src/schema}/base.schema.js +0 -0
- /package/dist/esm/{schema → src/schema}/index.js +0 -0
- /package/dist/esm/{types.js → src/types.js} +0 -0
- /package/dist/esm/{vault.js → src/vault.js} +0 -0
- /package/dist/types/{airdrop.d.ts → src/airdrop.d.ts} +0 -0
- /package/dist/types/{balance.d.ts → src/balance.d.ts} +0 -0
- /package/dist/types/{build-clanker-v4.d.ts → src/build-clanker-v4.d.ts} +0 -0
- /package/dist/types/{client → src/client}/hook/use-airdrop.d.ts +0 -0
- /package/dist/types/{client → src/client}/hook/use-clanker.d.ts +0 -0
- /package/dist/types/{client → src/client}/hook/use-configure-splits.d.ts +0 -0
- /package/dist/types/{client → src/client}/hook/use-fee-receivers.d.ts +0 -0
- /package/dist/types/{client → src/client}/hook/use-governance.d.ts +0 -0
- /package/dist/types/{client → src/client}/hook/use-prepare.d.ts +0 -0
- /package/dist/types/{client → src/client}/hook/use-register.d.ts +0 -0
- /package/dist/types/{client → src/client}/hook/use-stake.d.ts +0 -0
- /package/dist/types/{client → src/client}/hook/use-swap.d.ts +0 -0
- /package/dist/types/{client → src/client}/hook/use-user.d.ts +0 -0
- /package/dist/types/{client → src/client}/hook/use-vault.d.ts +0 -0
- /package/dist/types/{client → src/client}/index.d.ts +0 -0
- /package/dist/types/{constants → src/constants}/config.d.ts +0 -0
- /package/dist/types/{deploy-v4.d.ts → src/deploy-v4.d.ts} +0 -0
- /package/dist/types/{fee-splitter.d.ts → src/fee-splitter.d.ts} +0 -0
- /package/dist/types/{governance.d.ts → src/governance.d.ts} +0 -0
- /package/dist/types/{ipfs-merkle-tree.d.ts → src/ipfs-merkle-tree.d.ts} +0 -0
- /package/dist/types/{pool-key.d.ts → src/pool-key.d.ts} +0 -0
- /package/dist/types/{quote → src/quote}/index.d.ts +0 -0
- /package/dist/types/{quote → src/quote}/v3.d.ts +0 -0
- /package/dist/types/{quote → src/quote}/v4.d.ts +0 -0
- /package/dist/types/{schema → src/schema}/base.schema.d.ts +0 -0
- /package/dist/types/{schema → src/schema}/index.d.ts +0 -0
- /package/dist/types/{swap-v4.d.ts → src/swap-v4.d.ts} +0 -0
- /package/dist/types/{vault.d.ts → src/vault.d.ts} +0 -0
|
@@ -0,0 +1,3781 @@
|
|
|
1
|
+
import type { Account, Chain, PublicClient, Transport, WalletClient } from 'viem';
|
|
2
|
+
import { ClankerFeeLocker_abi } from '../abi/v4/ClankerFeeLocker';
|
|
3
|
+
import { ClankerLocker_v4_abi } from '../abi/v4/ClankerLocker';
|
|
4
|
+
import { type ClankerTokenV4 } from '../config/clankerTokenV4';
|
|
5
|
+
import type { ClankerError } from '../utils/errors';
|
|
6
|
+
import { type ClankerTransactionConfig } from '../utils/write-clanker-contracts';
|
|
7
|
+
type ClankerConfig = {
|
|
8
|
+
wallet?: WalletClient<Transport, Chain, Account>;
|
|
9
|
+
publicClient?: PublicClient;
|
|
10
|
+
};
|
|
11
|
+
/**
|
|
12
|
+
* Clanker v4
|
|
13
|
+
*/
|
|
14
|
+
export declare class Clanker {
|
|
15
|
+
readonly wallet?: WalletClient<Transport, Chain, Account>;
|
|
16
|
+
readonly publicClient?: PublicClient;
|
|
17
|
+
constructor(config?: ClankerConfig);
|
|
18
|
+
/**
|
|
19
|
+
* Get an abi-typed transaction for claiming rewards on a token.
|
|
20
|
+
*
|
|
21
|
+
* @param token The token to claim for
|
|
22
|
+
* @param rewardRecipient The recipient to claim for
|
|
23
|
+
* @returns Abi transaction
|
|
24
|
+
*/
|
|
25
|
+
getClaimRewardsTransaction({ token, rewardRecipient }: {
|
|
26
|
+
token: `0x${string}`;
|
|
27
|
+
rewardRecipient: `0x${string}`;
|
|
28
|
+
}, options?: {
|
|
29
|
+
chain?: Chain;
|
|
30
|
+
}): Promise<ClankerTransactionConfig<typeof ClankerFeeLocker_abi>>;
|
|
31
|
+
/**
|
|
32
|
+
* Simulate claiming rewards. Will use the wallet account on the Clanker class or
|
|
33
|
+
* the passed-in account.
|
|
34
|
+
*
|
|
35
|
+
* @param token The token to simulate reward claiming for
|
|
36
|
+
* @param rewardRecipient The recipient to claim for
|
|
37
|
+
* @param account Optional account to simulate calling claiming for
|
|
38
|
+
* @returns The simulated output
|
|
39
|
+
*/
|
|
40
|
+
claimRewardsSimulate({ token, rewardRecipient }: {
|
|
41
|
+
token: `0x${string}`;
|
|
42
|
+
rewardRecipient: `0x${string}`;
|
|
43
|
+
}, account?: Account): Promise<(import("viem").SimulateContractReturnType<readonly [{
|
|
44
|
+
readonly inputs: readonly [{
|
|
45
|
+
readonly internalType: "address";
|
|
46
|
+
readonly name: "owner_";
|
|
47
|
+
readonly type: "address";
|
|
48
|
+
}];
|
|
49
|
+
readonly stateMutability: "nonpayable";
|
|
50
|
+
readonly type: "constructor";
|
|
51
|
+
}, {
|
|
52
|
+
readonly inputs: readonly [];
|
|
53
|
+
readonly name: "ClaimAmountTooHigh";
|
|
54
|
+
readonly type: "error";
|
|
55
|
+
}, {
|
|
56
|
+
readonly inputs: readonly [];
|
|
57
|
+
readonly name: "InvalidRecipient";
|
|
58
|
+
readonly type: "error";
|
|
59
|
+
}, {
|
|
60
|
+
readonly inputs: readonly [];
|
|
61
|
+
readonly name: "NoFeesToClaim";
|
|
62
|
+
readonly type: "error";
|
|
63
|
+
}, {
|
|
64
|
+
readonly inputs: readonly [{
|
|
65
|
+
readonly internalType: "address";
|
|
66
|
+
readonly name: "owner";
|
|
67
|
+
readonly type: "address";
|
|
68
|
+
}];
|
|
69
|
+
readonly name: "OwnableInvalidOwner";
|
|
70
|
+
readonly type: "error";
|
|
71
|
+
}, {
|
|
72
|
+
readonly inputs: readonly [{
|
|
73
|
+
readonly internalType: "address";
|
|
74
|
+
readonly name: "account";
|
|
75
|
+
readonly type: "address";
|
|
76
|
+
}];
|
|
77
|
+
readonly name: "OwnableUnauthorizedAccount";
|
|
78
|
+
readonly type: "error";
|
|
79
|
+
}, {
|
|
80
|
+
readonly inputs: readonly [];
|
|
81
|
+
readonly name: "ReentrancyGuardReentrantCall";
|
|
82
|
+
readonly type: "error";
|
|
83
|
+
}, {
|
|
84
|
+
readonly inputs: readonly [{
|
|
85
|
+
readonly internalType: "address";
|
|
86
|
+
readonly name: "token";
|
|
87
|
+
readonly type: "address";
|
|
88
|
+
}];
|
|
89
|
+
readonly name: "SafeERC20FailedOperation";
|
|
90
|
+
readonly type: "error";
|
|
91
|
+
}, {
|
|
92
|
+
readonly inputs: readonly [];
|
|
93
|
+
readonly name: "TransferFailed";
|
|
94
|
+
readonly type: "error";
|
|
95
|
+
}, {
|
|
96
|
+
readonly inputs: readonly [];
|
|
97
|
+
readonly name: "Unauthorized";
|
|
98
|
+
readonly type: "error";
|
|
99
|
+
}, {
|
|
100
|
+
readonly anonymous: false;
|
|
101
|
+
readonly inputs: readonly [{
|
|
102
|
+
readonly indexed: true;
|
|
103
|
+
readonly internalType: "address";
|
|
104
|
+
readonly name: "depositor";
|
|
105
|
+
readonly type: "address";
|
|
106
|
+
}];
|
|
107
|
+
readonly name: "AddDepositor";
|
|
108
|
+
readonly type: "event";
|
|
109
|
+
}, {
|
|
110
|
+
readonly anonymous: false;
|
|
111
|
+
readonly inputs: readonly [{
|
|
112
|
+
readonly indexed: true;
|
|
113
|
+
readonly internalType: "address";
|
|
114
|
+
readonly name: "feeOwner";
|
|
115
|
+
readonly type: "address";
|
|
116
|
+
}, {
|
|
117
|
+
readonly indexed: true;
|
|
118
|
+
readonly internalType: "address";
|
|
119
|
+
readonly name: "token";
|
|
120
|
+
readonly type: "address";
|
|
121
|
+
}, {
|
|
122
|
+
readonly indexed: false;
|
|
123
|
+
readonly internalType: "uint256";
|
|
124
|
+
readonly name: "amountClaimed";
|
|
125
|
+
readonly type: "uint256";
|
|
126
|
+
}];
|
|
127
|
+
readonly name: "ClaimTokens";
|
|
128
|
+
readonly type: "event";
|
|
129
|
+
}, {
|
|
130
|
+
readonly anonymous: false;
|
|
131
|
+
readonly inputs: readonly [{
|
|
132
|
+
readonly indexed: true;
|
|
133
|
+
readonly internalType: "address";
|
|
134
|
+
readonly name: "feeOwner";
|
|
135
|
+
readonly type: "address";
|
|
136
|
+
}, {
|
|
137
|
+
readonly indexed: true;
|
|
138
|
+
readonly internalType: "address";
|
|
139
|
+
readonly name: "token";
|
|
140
|
+
readonly type: "address";
|
|
141
|
+
}, {
|
|
142
|
+
readonly indexed: false;
|
|
143
|
+
readonly internalType: "address";
|
|
144
|
+
readonly name: "recipient";
|
|
145
|
+
readonly type: "address";
|
|
146
|
+
}, {
|
|
147
|
+
readonly indexed: false;
|
|
148
|
+
readonly internalType: "uint256";
|
|
149
|
+
readonly name: "amountClaimed";
|
|
150
|
+
readonly type: "uint256";
|
|
151
|
+
}];
|
|
152
|
+
readonly name: "ClaimTokensPermissioned";
|
|
153
|
+
readonly type: "event";
|
|
154
|
+
}, {
|
|
155
|
+
readonly anonymous: false;
|
|
156
|
+
readonly inputs: readonly [{
|
|
157
|
+
readonly indexed: true;
|
|
158
|
+
readonly internalType: "address";
|
|
159
|
+
readonly name: "previousOwner";
|
|
160
|
+
readonly type: "address";
|
|
161
|
+
}, {
|
|
162
|
+
readonly indexed: true;
|
|
163
|
+
readonly internalType: "address";
|
|
164
|
+
readonly name: "newOwner";
|
|
165
|
+
readonly type: "address";
|
|
166
|
+
}];
|
|
167
|
+
readonly name: "OwnershipTransferred";
|
|
168
|
+
readonly type: "event";
|
|
169
|
+
}, {
|
|
170
|
+
readonly anonymous: false;
|
|
171
|
+
readonly inputs: readonly [{
|
|
172
|
+
readonly indexed: true;
|
|
173
|
+
readonly internalType: "address";
|
|
174
|
+
readonly name: "sender";
|
|
175
|
+
readonly type: "address";
|
|
176
|
+
}, {
|
|
177
|
+
readonly indexed: true;
|
|
178
|
+
readonly internalType: "address";
|
|
179
|
+
readonly name: "feeOwner";
|
|
180
|
+
readonly type: "address";
|
|
181
|
+
}, {
|
|
182
|
+
readonly indexed: true;
|
|
183
|
+
readonly internalType: "address";
|
|
184
|
+
readonly name: "token";
|
|
185
|
+
readonly type: "address";
|
|
186
|
+
}, {
|
|
187
|
+
readonly indexed: false;
|
|
188
|
+
readonly internalType: "uint256";
|
|
189
|
+
readonly name: "balance";
|
|
190
|
+
readonly type: "uint256";
|
|
191
|
+
}, {
|
|
192
|
+
readonly indexed: false;
|
|
193
|
+
readonly internalType: "uint256";
|
|
194
|
+
readonly name: "amount";
|
|
195
|
+
readonly type: "uint256";
|
|
196
|
+
}];
|
|
197
|
+
readonly name: "StoreTokens";
|
|
198
|
+
readonly type: "event";
|
|
199
|
+
}, {
|
|
200
|
+
readonly inputs: readonly [{
|
|
201
|
+
readonly internalType: "address";
|
|
202
|
+
readonly name: "depositor";
|
|
203
|
+
readonly type: "address";
|
|
204
|
+
}];
|
|
205
|
+
readonly name: "addDepositor";
|
|
206
|
+
readonly outputs: readonly [];
|
|
207
|
+
readonly stateMutability: "nonpayable";
|
|
208
|
+
readonly type: "function";
|
|
209
|
+
}, {
|
|
210
|
+
readonly inputs: readonly [{
|
|
211
|
+
readonly internalType: "address";
|
|
212
|
+
readonly name: "depositor";
|
|
213
|
+
readonly type: "address";
|
|
214
|
+
}];
|
|
215
|
+
readonly name: "allowedDepositors";
|
|
216
|
+
readonly outputs: readonly [{
|
|
217
|
+
readonly internalType: "bool";
|
|
218
|
+
readonly name: "isAllowed";
|
|
219
|
+
readonly type: "bool";
|
|
220
|
+
}];
|
|
221
|
+
readonly stateMutability: "view";
|
|
222
|
+
readonly type: "function";
|
|
223
|
+
}, {
|
|
224
|
+
readonly inputs: readonly [{
|
|
225
|
+
readonly internalType: "address";
|
|
226
|
+
readonly name: "feeOwner";
|
|
227
|
+
readonly type: "address";
|
|
228
|
+
}, {
|
|
229
|
+
readonly internalType: "address";
|
|
230
|
+
readonly name: "token";
|
|
231
|
+
readonly type: "address";
|
|
232
|
+
}];
|
|
233
|
+
readonly name: "availableFees";
|
|
234
|
+
readonly outputs: readonly [{
|
|
235
|
+
readonly internalType: "uint256";
|
|
236
|
+
readonly name: "";
|
|
237
|
+
readonly type: "uint256";
|
|
238
|
+
}];
|
|
239
|
+
readonly stateMutability: "view";
|
|
240
|
+
readonly type: "function";
|
|
241
|
+
}, {
|
|
242
|
+
readonly inputs: readonly [{
|
|
243
|
+
readonly internalType: "address";
|
|
244
|
+
readonly name: "feeOwner";
|
|
245
|
+
readonly type: "address";
|
|
246
|
+
}, {
|
|
247
|
+
readonly internalType: "address";
|
|
248
|
+
readonly name: "token";
|
|
249
|
+
readonly type: "address";
|
|
250
|
+
}];
|
|
251
|
+
readonly name: "claim";
|
|
252
|
+
readonly outputs: readonly [];
|
|
253
|
+
readonly stateMutability: "nonpayable";
|
|
254
|
+
readonly type: "function";
|
|
255
|
+
}, {
|
|
256
|
+
readonly inputs: readonly [{
|
|
257
|
+
readonly internalType: "address";
|
|
258
|
+
readonly name: "feeOwner";
|
|
259
|
+
readonly type: "address";
|
|
260
|
+
}, {
|
|
261
|
+
readonly internalType: "address";
|
|
262
|
+
readonly name: "token";
|
|
263
|
+
readonly type: "address";
|
|
264
|
+
}];
|
|
265
|
+
readonly name: "feesToClaim";
|
|
266
|
+
readonly outputs: readonly [{
|
|
267
|
+
readonly internalType: "uint256";
|
|
268
|
+
readonly name: "balance";
|
|
269
|
+
readonly type: "uint256";
|
|
270
|
+
}];
|
|
271
|
+
readonly stateMutability: "view";
|
|
272
|
+
readonly type: "function";
|
|
273
|
+
}, {
|
|
274
|
+
readonly inputs: readonly [];
|
|
275
|
+
readonly name: "owner";
|
|
276
|
+
readonly outputs: readonly [{
|
|
277
|
+
readonly internalType: "address";
|
|
278
|
+
readonly name: "";
|
|
279
|
+
readonly type: "address";
|
|
280
|
+
}];
|
|
281
|
+
readonly stateMutability: "view";
|
|
282
|
+
readonly type: "function";
|
|
283
|
+
}, {
|
|
284
|
+
readonly inputs: readonly [];
|
|
285
|
+
readonly name: "renounceOwnership";
|
|
286
|
+
readonly outputs: readonly [];
|
|
287
|
+
readonly stateMutability: "nonpayable";
|
|
288
|
+
readonly type: "function";
|
|
289
|
+
}, {
|
|
290
|
+
readonly inputs: readonly [{
|
|
291
|
+
readonly internalType: "address";
|
|
292
|
+
readonly name: "feeOwner";
|
|
293
|
+
readonly type: "address";
|
|
294
|
+
}, {
|
|
295
|
+
readonly internalType: "address";
|
|
296
|
+
readonly name: "token";
|
|
297
|
+
readonly type: "address";
|
|
298
|
+
}, {
|
|
299
|
+
readonly internalType: "uint256";
|
|
300
|
+
readonly name: "amount";
|
|
301
|
+
readonly type: "uint256";
|
|
302
|
+
}];
|
|
303
|
+
readonly name: "storeFees";
|
|
304
|
+
readonly outputs: readonly [];
|
|
305
|
+
readonly stateMutability: "nonpayable";
|
|
306
|
+
readonly type: "function";
|
|
307
|
+
}, {
|
|
308
|
+
readonly inputs: readonly [{
|
|
309
|
+
readonly internalType: "bytes4";
|
|
310
|
+
readonly name: "interfaceId";
|
|
311
|
+
readonly type: "bytes4";
|
|
312
|
+
}];
|
|
313
|
+
readonly name: "supportsInterface";
|
|
314
|
+
readonly outputs: readonly [{
|
|
315
|
+
readonly internalType: "bool";
|
|
316
|
+
readonly name: "";
|
|
317
|
+
readonly type: "bool";
|
|
318
|
+
}];
|
|
319
|
+
readonly stateMutability: "pure";
|
|
320
|
+
readonly type: "function";
|
|
321
|
+
}, {
|
|
322
|
+
readonly inputs: readonly [{
|
|
323
|
+
readonly internalType: "address";
|
|
324
|
+
readonly name: "newOwner";
|
|
325
|
+
readonly type: "address";
|
|
326
|
+
}];
|
|
327
|
+
readonly name: "transferOwnership";
|
|
328
|
+
readonly outputs: readonly [];
|
|
329
|
+
readonly stateMutability: "nonpayable";
|
|
330
|
+
readonly type: "function";
|
|
331
|
+
}], "claim" | "renounceOwnership" | "transferOwnership" | "addDepositor" | "storeFees"> & {
|
|
332
|
+
error?: undefined;
|
|
333
|
+
}) | ({
|
|
334
|
+
result?: undefined;
|
|
335
|
+
request?: undefined;
|
|
336
|
+
} & {
|
|
337
|
+
error: ClankerError;
|
|
338
|
+
})>;
|
|
339
|
+
/**
|
|
340
|
+
* Claim rewards for a clanker token.
|
|
341
|
+
*
|
|
342
|
+
* @param token Token to claim rewards for
|
|
343
|
+
* @param rewardRecipient The recipient to claim for
|
|
344
|
+
* @returns Transaction hash of the claim or error
|
|
345
|
+
*/
|
|
346
|
+
claimRewards({ token, rewardRecipient, }: {
|
|
347
|
+
token: `0x${string}`;
|
|
348
|
+
rewardRecipient: `0x${string}`;
|
|
349
|
+
}): Promise<{
|
|
350
|
+
txHash: `0x${string}`;
|
|
351
|
+
error: undefined;
|
|
352
|
+
} | {
|
|
353
|
+
txHash: undefined;
|
|
354
|
+
error: ClankerError;
|
|
355
|
+
}>;
|
|
356
|
+
/**
|
|
357
|
+
* Get an abi-typed transaction for checking rewards on a token.
|
|
358
|
+
*
|
|
359
|
+
* @param token Token to check rewards for
|
|
360
|
+
* @param rewardRecipient The recipient to check rewards for
|
|
361
|
+
* @returns Abi transaction
|
|
362
|
+
*/
|
|
363
|
+
getAvailableRewardsTransaction({ token, rewardRecipient }: {
|
|
364
|
+
token: `0x${string}`;
|
|
365
|
+
rewardRecipient: `0x${string}`;
|
|
366
|
+
}, options?: {
|
|
367
|
+
chain?: Chain;
|
|
368
|
+
}): Promise<{
|
|
369
|
+
readonly address: `0x${string}`;
|
|
370
|
+
readonly abi: readonly [{
|
|
371
|
+
readonly inputs: readonly [{
|
|
372
|
+
readonly internalType: "address";
|
|
373
|
+
readonly name: "owner_";
|
|
374
|
+
readonly type: "address";
|
|
375
|
+
}];
|
|
376
|
+
readonly stateMutability: "nonpayable";
|
|
377
|
+
readonly type: "constructor";
|
|
378
|
+
}, {
|
|
379
|
+
readonly inputs: readonly [];
|
|
380
|
+
readonly name: "ClaimAmountTooHigh";
|
|
381
|
+
readonly type: "error";
|
|
382
|
+
}, {
|
|
383
|
+
readonly inputs: readonly [];
|
|
384
|
+
readonly name: "InvalidRecipient";
|
|
385
|
+
readonly type: "error";
|
|
386
|
+
}, {
|
|
387
|
+
readonly inputs: readonly [];
|
|
388
|
+
readonly name: "NoFeesToClaim";
|
|
389
|
+
readonly type: "error";
|
|
390
|
+
}, {
|
|
391
|
+
readonly inputs: readonly [{
|
|
392
|
+
readonly internalType: "address";
|
|
393
|
+
readonly name: "owner";
|
|
394
|
+
readonly type: "address";
|
|
395
|
+
}];
|
|
396
|
+
readonly name: "OwnableInvalidOwner";
|
|
397
|
+
readonly type: "error";
|
|
398
|
+
}, {
|
|
399
|
+
readonly inputs: readonly [{
|
|
400
|
+
readonly internalType: "address";
|
|
401
|
+
readonly name: "account";
|
|
402
|
+
readonly type: "address";
|
|
403
|
+
}];
|
|
404
|
+
readonly name: "OwnableUnauthorizedAccount";
|
|
405
|
+
readonly type: "error";
|
|
406
|
+
}, {
|
|
407
|
+
readonly inputs: readonly [];
|
|
408
|
+
readonly name: "ReentrancyGuardReentrantCall";
|
|
409
|
+
readonly type: "error";
|
|
410
|
+
}, {
|
|
411
|
+
readonly inputs: readonly [{
|
|
412
|
+
readonly internalType: "address";
|
|
413
|
+
readonly name: "token";
|
|
414
|
+
readonly type: "address";
|
|
415
|
+
}];
|
|
416
|
+
readonly name: "SafeERC20FailedOperation";
|
|
417
|
+
readonly type: "error";
|
|
418
|
+
}, {
|
|
419
|
+
readonly inputs: readonly [];
|
|
420
|
+
readonly name: "TransferFailed";
|
|
421
|
+
readonly type: "error";
|
|
422
|
+
}, {
|
|
423
|
+
readonly inputs: readonly [];
|
|
424
|
+
readonly name: "Unauthorized";
|
|
425
|
+
readonly type: "error";
|
|
426
|
+
}, {
|
|
427
|
+
readonly anonymous: false;
|
|
428
|
+
readonly inputs: readonly [{
|
|
429
|
+
readonly indexed: true;
|
|
430
|
+
readonly internalType: "address";
|
|
431
|
+
readonly name: "depositor";
|
|
432
|
+
readonly type: "address";
|
|
433
|
+
}];
|
|
434
|
+
readonly name: "AddDepositor";
|
|
435
|
+
readonly type: "event";
|
|
436
|
+
}, {
|
|
437
|
+
readonly anonymous: false;
|
|
438
|
+
readonly inputs: readonly [{
|
|
439
|
+
readonly indexed: true;
|
|
440
|
+
readonly internalType: "address";
|
|
441
|
+
readonly name: "feeOwner";
|
|
442
|
+
readonly type: "address";
|
|
443
|
+
}, {
|
|
444
|
+
readonly indexed: true;
|
|
445
|
+
readonly internalType: "address";
|
|
446
|
+
readonly name: "token";
|
|
447
|
+
readonly type: "address";
|
|
448
|
+
}, {
|
|
449
|
+
readonly indexed: false;
|
|
450
|
+
readonly internalType: "uint256";
|
|
451
|
+
readonly name: "amountClaimed";
|
|
452
|
+
readonly type: "uint256";
|
|
453
|
+
}];
|
|
454
|
+
readonly name: "ClaimTokens";
|
|
455
|
+
readonly type: "event";
|
|
456
|
+
}, {
|
|
457
|
+
readonly anonymous: false;
|
|
458
|
+
readonly inputs: readonly [{
|
|
459
|
+
readonly indexed: true;
|
|
460
|
+
readonly internalType: "address";
|
|
461
|
+
readonly name: "feeOwner";
|
|
462
|
+
readonly type: "address";
|
|
463
|
+
}, {
|
|
464
|
+
readonly indexed: true;
|
|
465
|
+
readonly internalType: "address";
|
|
466
|
+
readonly name: "token";
|
|
467
|
+
readonly type: "address";
|
|
468
|
+
}, {
|
|
469
|
+
readonly indexed: false;
|
|
470
|
+
readonly internalType: "address";
|
|
471
|
+
readonly name: "recipient";
|
|
472
|
+
readonly type: "address";
|
|
473
|
+
}, {
|
|
474
|
+
readonly indexed: false;
|
|
475
|
+
readonly internalType: "uint256";
|
|
476
|
+
readonly name: "amountClaimed";
|
|
477
|
+
readonly type: "uint256";
|
|
478
|
+
}];
|
|
479
|
+
readonly name: "ClaimTokensPermissioned";
|
|
480
|
+
readonly type: "event";
|
|
481
|
+
}, {
|
|
482
|
+
readonly anonymous: false;
|
|
483
|
+
readonly inputs: readonly [{
|
|
484
|
+
readonly indexed: true;
|
|
485
|
+
readonly internalType: "address";
|
|
486
|
+
readonly name: "previousOwner";
|
|
487
|
+
readonly type: "address";
|
|
488
|
+
}, {
|
|
489
|
+
readonly indexed: true;
|
|
490
|
+
readonly internalType: "address";
|
|
491
|
+
readonly name: "newOwner";
|
|
492
|
+
readonly type: "address";
|
|
493
|
+
}];
|
|
494
|
+
readonly name: "OwnershipTransferred";
|
|
495
|
+
readonly type: "event";
|
|
496
|
+
}, {
|
|
497
|
+
readonly anonymous: false;
|
|
498
|
+
readonly inputs: readonly [{
|
|
499
|
+
readonly indexed: true;
|
|
500
|
+
readonly internalType: "address";
|
|
501
|
+
readonly name: "sender";
|
|
502
|
+
readonly type: "address";
|
|
503
|
+
}, {
|
|
504
|
+
readonly indexed: true;
|
|
505
|
+
readonly internalType: "address";
|
|
506
|
+
readonly name: "feeOwner";
|
|
507
|
+
readonly type: "address";
|
|
508
|
+
}, {
|
|
509
|
+
readonly indexed: true;
|
|
510
|
+
readonly internalType: "address";
|
|
511
|
+
readonly name: "token";
|
|
512
|
+
readonly type: "address";
|
|
513
|
+
}, {
|
|
514
|
+
readonly indexed: false;
|
|
515
|
+
readonly internalType: "uint256";
|
|
516
|
+
readonly name: "balance";
|
|
517
|
+
readonly type: "uint256";
|
|
518
|
+
}, {
|
|
519
|
+
readonly indexed: false;
|
|
520
|
+
readonly internalType: "uint256";
|
|
521
|
+
readonly name: "amount";
|
|
522
|
+
readonly type: "uint256";
|
|
523
|
+
}];
|
|
524
|
+
readonly name: "StoreTokens";
|
|
525
|
+
readonly type: "event";
|
|
526
|
+
}, {
|
|
527
|
+
readonly inputs: readonly [{
|
|
528
|
+
readonly internalType: "address";
|
|
529
|
+
readonly name: "depositor";
|
|
530
|
+
readonly type: "address";
|
|
531
|
+
}];
|
|
532
|
+
readonly name: "addDepositor";
|
|
533
|
+
readonly outputs: readonly [];
|
|
534
|
+
readonly stateMutability: "nonpayable";
|
|
535
|
+
readonly type: "function";
|
|
536
|
+
}, {
|
|
537
|
+
readonly inputs: readonly [{
|
|
538
|
+
readonly internalType: "address";
|
|
539
|
+
readonly name: "depositor";
|
|
540
|
+
readonly type: "address";
|
|
541
|
+
}];
|
|
542
|
+
readonly name: "allowedDepositors";
|
|
543
|
+
readonly outputs: readonly [{
|
|
544
|
+
readonly internalType: "bool";
|
|
545
|
+
readonly name: "isAllowed";
|
|
546
|
+
readonly type: "bool";
|
|
547
|
+
}];
|
|
548
|
+
readonly stateMutability: "view";
|
|
549
|
+
readonly type: "function";
|
|
550
|
+
}, {
|
|
551
|
+
readonly inputs: readonly [{
|
|
552
|
+
readonly internalType: "address";
|
|
553
|
+
readonly name: "feeOwner";
|
|
554
|
+
readonly type: "address";
|
|
555
|
+
}, {
|
|
556
|
+
readonly internalType: "address";
|
|
557
|
+
readonly name: "token";
|
|
558
|
+
readonly type: "address";
|
|
559
|
+
}];
|
|
560
|
+
readonly name: "availableFees";
|
|
561
|
+
readonly outputs: readonly [{
|
|
562
|
+
readonly internalType: "uint256";
|
|
563
|
+
readonly name: "";
|
|
564
|
+
readonly type: "uint256";
|
|
565
|
+
}];
|
|
566
|
+
readonly stateMutability: "view";
|
|
567
|
+
readonly type: "function";
|
|
568
|
+
}, {
|
|
569
|
+
readonly inputs: readonly [{
|
|
570
|
+
readonly internalType: "address";
|
|
571
|
+
readonly name: "feeOwner";
|
|
572
|
+
readonly type: "address";
|
|
573
|
+
}, {
|
|
574
|
+
readonly internalType: "address";
|
|
575
|
+
readonly name: "token";
|
|
576
|
+
readonly type: "address";
|
|
577
|
+
}];
|
|
578
|
+
readonly name: "claim";
|
|
579
|
+
readonly outputs: readonly [];
|
|
580
|
+
readonly stateMutability: "nonpayable";
|
|
581
|
+
readonly type: "function";
|
|
582
|
+
}, {
|
|
583
|
+
readonly inputs: readonly [{
|
|
584
|
+
readonly internalType: "address";
|
|
585
|
+
readonly name: "feeOwner";
|
|
586
|
+
readonly type: "address";
|
|
587
|
+
}, {
|
|
588
|
+
readonly internalType: "address";
|
|
589
|
+
readonly name: "token";
|
|
590
|
+
readonly type: "address";
|
|
591
|
+
}];
|
|
592
|
+
readonly name: "feesToClaim";
|
|
593
|
+
readonly outputs: readonly [{
|
|
594
|
+
readonly internalType: "uint256";
|
|
595
|
+
readonly name: "balance";
|
|
596
|
+
readonly type: "uint256";
|
|
597
|
+
}];
|
|
598
|
+
readonly stateMutability: "view";
|
|
599
|
+
readonly type: "function";
|
|
600
|
+
}, {
|
|
601
|
+
readonly inputs: readonly [];
|
|
602
|
+
readonly name: "owner";
|
|
603
|
+
readonly outputs: readonly [{
|
|
604
|
+
readonly internalType: "address";
|
|
605
|
+
readonly name: "";
|
|
606
|
+
readonly type: "address";
|
|
607
|
+
}];
|
|
608
|
+
readonly stateMutability: "view";
|
|
609
|
+
readonly type: "function";
|
|
610
|
+
}, {
|
|
611
|
+
readonly inputs: readonly [];
|
|
612
|
+
readonly name: "renounceOwnership";
|
|
613
|
+
readonly outputs: readonly [];
|
|
614
|
+
readonly stateMutability: "nonpayable";
|
|
615
|
+
readonly type: "function";
|
|
616
|
+
}, {
|
|
617
|
+
readonly inputs: readonly [{
|
|
618
|
+
readonly internalType: "address";
|
|
619
|
+
readonly name: "feeOwner";
|
|
620
|
+
readonly type: "address";
|
|
621
|
+
}, {
|
|
622
|
+
readonly internalType: "address";
|
|
623
|
+
readonly name: "token";
|
|
624
|
+
readonly type: "address";
|
|
625
|
+
}, {
|
|
626
|
+
readonly internalType: "uint256";
|
|
627
|
+
readonly name: "amount";
|
|
628
|
+
readonly type: "uint256";
|
|
629
|
+
}];
|
|
630
|
+
readonly name: "storeFees";
|
|
631
|
+
readonly outputs: readonly [];
|
|
632
|
+
readonly stateMutability: "nonpayable";
|
|
633
|
+
readonly type: "function";
|
|
634
|
+
}, {
|
|
635
|
+
readonly inputs: readonly [{
|
|
636
|
+
readonly internalType: "bytes4";
|
|
637
|
+
readonly name: "interfaceId";
|
|
638
|
+
readonly type: "bytes4";
|
|
639
|
+
}];
|
|
640
|
+
readonly name: "supportsInterface";
|
|
641
|
+
readonly outputs: readonly [{
|
|
642
|
+
readonly internalType: "bool";
|
|
643
|
+
readonly name: "";
|
|
644
|
+
readonly type: "bool";
|
|
645
|
+
}];
|
|
646
|
+
readonly stateMutability: "pure";
|
|
647
|
+
readonly type: "function";
|
|
648
|
+
}, {
|
|
649
|
+
readonly inputs: readonly [{
|
|
650
|
+
readonly internalType: "address";
|
|
651
|
+
readonly name: "newOwner";
|
|
652
|
+
readonly type: "address";
|
|
653
|
+
}];
|
|
654
|
+
readonly name: "transferOwnership";
|
|
655
|
+
readonly outputs: readonly [];
|
|
656
|
+
readonly stateMutability: "nonpayable";
|
|
657
|
+
readonly type: "function";
|
|
658
|
+
}];
|
|
659
|
+
readonly functionName: "availableFees";
|
|
660
|
+
readonly args: readonly [`0x${string}`, `0x${string}`];
|
|
661
|
+
}>;
|
|
662
|
+
/**
|
|
663
|
+
* Check available rewards for a token and recipient.
|
|
664
|
+
*
|
|
665
|
+
* @param token Token to check rewards for
|
|
666
|
+
* @param rewardRecipient The recipient to check rewards for
|
|
667
|
+
* @returns Amount of rewards for the `token` and `rewardRecipient`
|
|
668
|
+
*/
|
|
669
|
+
availableRewards({ token, rewardRecipient }: {
|
|
670
|
+
token: `0x${string}`;
|
|
671
|
+
rewardRecipient: `0x${string}`;
|
|
672
|
+
}): Promise<bigint>;
|
|
673
|
+
/**
|
|
674
|
+
* Get an abi-typed transaction for deploying a clanker.
|
|
675
|
+
*
|
|
676
|
+
* @param token The token to deploy
|
|
677
|
+
* @returns Abi transaction
|
|
678
|
+
*/
|
|
679
|
+
getDeployTransaction(token: ClankerTokenV4): Promise<ClankerTransactionConfig<readonly [{
|
|
680
|
+
readonly inputs: readonly [{
|
|
681
|
+
readonly internalType: "address";
|
|
682
|
+
readonly name: "owner_";
|
|
683
|
+
readonly type: "address";
|
|
684
|
+
}];
|
|
685
|
+
readonly stateMutability: "nonpayable";
|
|
686
|
+
readonly type: "constructor";
|
|
687
|
+
}, {
|
|
688
|
+
readonly inputs: readonly [];
|
|
689
|
+
readonly name: "Deprecated";
|
|
690
|
+
readonly type: "error";
|
|
691
|
+
}, {
|
|
692
|
+
readonly inputs: readonly [];
|
|
693
|
+
readonly name: "ExtensionMsgValueMismatch";
|
|
694
|
+
readonly type: "error";
|
|
695
|
+
}, {
|
|
696
|
+
readonly inputs: readonly [];
|
|
697
|
+
readonly name: "ExtensionNotEnabled";
|
|
698
|
+
readonly type: "error";
|
|
699
|
+
}, {
|
|
700
|
+
readonly inputs: readonly [];
|
|
701
|
+
readonly name: "HookNotEnabled";
|
|
702
|
+
readonly type: "error";
|
|
703
|
+
}, {
|
|
704
|
+
readonly inputs: readonly [];
|
|
705
|
+
readonly name: "InvalidExtension";
|
|
706
|
+
readonly type: "error";
|
|
707
|
+
}, {
|
|
708
|
+
readonly inputs: readonly [];
|
|
709
|
+
readonly name: "InvalidHook";
|
|
710
|
+
readonly type: "error";
|
|
711
|
+
}, {
|
|
712
|
+
readonly inputs: readonly [];
|
|
713
|
+
readonly name: "InvalidLocker";
|
|
714
|
+
readonly type: "error";
|
|
715
|
+
}, {
|
|
716
|
+
readonly inputs: readonly [];
|
|
717
|
+
readonly name: "InvalidMevModule";
|
|
718
|
+
readonly type: "error";
|
|
719
|
+
}, {
|
|
720
|
+
readonly inputs: readonly [];
|
|
721
|
+
readonly name: "LockerNotEnabled";
|
|
722
|
+
readonly type: "error";
|
|
723
|
+
}, {
|
|
724
|
+
readonly inputs: readonly [];
|
|
725
|
+
readonly name: "MaxExtensionBpsExceeded";
|
|
726
|
+
readonly type: "error";
|
|
727
|
+
}, {
|
|
728
|
+
readonly inputs: readonly [];
|
|
729
|
+
readonly name: "MaxExtensionsExceeded";
|
|
730
|
+
readonly type: "error";
|
|
731
|
+
}, {
|
|
732
|
+
readonly inputs: readonly [];
|
|
733
|
+
readonly name: "MevModuleNotEnabled";
|
|
734
|
+
readonly type: "error";
|
|
735
|
+
}, {
|
|
736
|
+
readonly inputs: readonly [];
|
|
737
|
+
readonly name: "NotFound";
|
|
738
|
+
readonly type: "error";
|
|
739
|
+
}, {
|
|
740
|
+
readonly inputs: readonly [];
|
|
741
|
+
readonly name: "OnlyNonOriginatingChains";
|
|
742
|
+
readonly type: "error";
|
|
743
|
+
}, {
|
|
744
|
+
readonly inputs: readonly [];
|
|
745
|
+
readonly name: "OnlyOriginatingChain";
|
|
746
|
+
readonly type: "error";
|
|
747
|
+
}, {
|
|
748
|
+
readonly inputs: readonly [{
|
|
749
|
+
readonly internalType: "address";
|
|
750
|
+
readonly name: "owner";
|
|
751
|
+
readonly type: "address";
|
|
752
|
+
}];
|
|
753
|
+
readonly name: "OwnableInvalidOwner";
|
|
754
|
+
readonly type: "error";
|
|
755
|
+
}, {
|
|
756
|
+
readonly inputs: readonly [{
|
|
757
|
+
readonly internalType: "address";
|
|
758
|
+
readonly name: "account";
|
|
759
|
+
readonly type: "address";
|
|
760
|
+
}];
|
|
761
|
+
readonly name: "OwnableUnauthorizedAccount";
|
|
762
|
+
readonly type: "error";
|
|
763
|
+
}, {
|
|
764
|
+
readonly inputs: readonly [];
|
|
765
|
+
readonly name: "ReentrancyGuardReentrantCall";
|
|
766
|
+
readonly type: "error";
|
|
767
|
+
}, {
|
|
768
|
+
readonly inputs: readonly [];
|
|
769
|
+
readonly name: "Unauthorized";
|
|
770
|
+
readonly type: "error";
|
|
771
|
+
}, {
|
|
772
|
+
readonly anonymous: false;
|
|
773
|
+
readonly inputs: readonly [{
|
|
774
|
+
readonly indexed: true;
|
|
775
|
+
readonly internalType: "address";
|
|
776
|
+
readonly name: "token";
|
|
777
|
+
readonly type: "address";
|
|
778
|
+
}, {
|
|
779
|
+
readonly indexed: true;
|
|
780
|
+
readonly internalType: "address";
|
|
781
|
+
readonly name: "recipient";
|
|
782
|
+
readonly type: "address";
|
|
783
|
+
}, {
|
|
784
|
+
readonly indexed: false;
|
|
785
|
+
readonly internalType: "uint256";
|
|
786
|
+
readonly name: "amount";
|
|
787
|
+
readonly type: "uint256";
|
|
788
|
+
}];
|
|
789
|
+
readonly name: "ClaimTeamFees";
|
|
790
|
+
readonly type: "event";
|
|
791
|
+
}, {
|
|
792
|
+
readonly anonymous: false;
|
|
793
|
+
readonly inputs: readonly [{
|
|
794
|
+
readonly indexed: false;
|
|
795
|
+
readonly internalType: "address";
|
|
796
|
+
readonly name: "extension";
|
|
797
|
+
readonly type: "address";
|
|
798
|
+
}, {
|
|
799
|
+
readonly indexed: false;
|
|
800
|
+
readonly internalType: "uint256";
|
|
801
|
+
readonly name: "extensionSupply";
|
|
802
|
+
readonly type: "uint256";
|
|
803
|
+
}, {
|
|
804
|
+
readonly indexed: false;
|
|
805
|
+
readonly internalType: "uint256";
|
|
806
|
+
readonly name: "msgValue";
|
|
807
|
+
readonly type: "uint256";
|
|
808
|
+
}];
|
|
809
|
+
readonly name: "ExtensionTriggered";
|
|
810
|
+
readonly type: "event";
|
|
811
|
+
}, {
|
|
812
|
+
readonly anonymous: false;
|
|
813
|
+
readonly inputs: readonly [{
|
|
814
|
+
readonly indexed: true;
|
|
815
|
+
readonly internalType: "address";
|
|
816
|
+
readonly name: "previousOwner";
|
|
817
|
+
readonly type: "address";
|
|
818
|
+
}, {
|
|
819
|
+
readonly indexed: true;
|
|
820
|
+
readonly internalType: "address";
|
|
821
|
+
readonly name: "newOwner";
|
|
822
|
+
readonly type: "address";
|
|
823
|
+
}];
|
|
824
|
+
readonly name: "OwnershipTransferred";
|
|
825
|
+
readonly type: "event";
|
|
826
|
+
}, {
|
|
827
|
+
readonly anonymous: false;
|
|
828
|
+
readonly inputs: readonly [{
|
|
829
|
+
readonly indexed: true;
|
|
830
|
+
readonly internalType: "address";
|
|
831
|
+
readonly name: "admin";
|
|
832
|
+
readonly type: "address";
|
|
833
|
+
}, {
|
|
834
|
+
readonly indexed: false;
|
|
835
|
+
readonly internalType: "bool";
|
|
836
|
+
readonly name: "enabled";
|
|
837
|
+
readonly type: "bool";
|
|
838
|
+
}];
|
|
839
|
+
readonly name: "SetAdmin";
|
|
840
|
+
readonly type: "event";
|
|
841
|
+
}, {
|
|
842
|
+
readonly anonymous: false;
|
|
843
|
+
readonly inputs: readonly [{
|
|
844
|
+
readonly indexed: false;
|
|
845
|
+
readonly internalType: "bool";
|
|
846
|
+
readonly name: "deprecated";
|
|
847
|
+
readonly type: "bool";
|
|
848
|
+
}];
|
|
849
|
+
readonly name: "SetDeprecated";
|
|
850
|
+
readonly type: "event";
|
|
851
|
+
}, {
|
|
852
|
+
readonly anonymous: false;
|
|
853
|
+
readonly inputs: readonly [{
|
|
854
|
+
readonly indexed: false;
|
|
855
|
+
readonly internalType: "address";
|
|
856
|
+
readonly name: "extension";
|
|
857
|
+
readonly type: "address";
|
|
858
|
+
}, {
|
|
859
|
+
readonly indexed: false;
|
|
860
|
+
readonly internalType: "bool";
|
|
861
|
+
readonly name: "enabled";
|
|
862
|
+
readonly type: "bool";
|
|
863
|
+
}];
|
|
864
|
+
readonly name: "SetExtension";
|
|
865
|
+
readonly type: "event";
|
|
866
|
+
}, {
|
|
867
|
+
readonly anonymous: false;
|
|
868
|
+
readonly inputs: readonly [{
|
|
869
|
+
readonly indexed: false;
|
|
870
|
+
readonly internalType: "address";
|
|
871
|
+
readonly name: "hook";
|
|
872
|
+
readonly type: "address";
|
|
873
|
+
}, {
|
|
874
|
+
readonly indexed: false;
|
|
875
|
+
readonly internalType: "bool";
|
|
876
|
+
readonly name: "enabled";
|
|
877
|
+
readonly type: "bool";
|
|
878
|
+
}];
|
|
879
|
+
readonly name: "SetHook";
|
|
880
|
+
readonly type: "event";
|
|
881
|
+
}, {
|
|
882
|
+
readonly anonymous: false;
|
|
883
|
+
readonly inputs: readonly [{
|
|
884
|
+
readonly indexed: false;
|
|
885
|
+
readonly internalType: "address";
|
|
886
|
+
readonly name: "locker";
|
|
887
|
+
readonly type: "address";
|
|
888
|
+
}, {
|
|
889
|
+
readonly indexed: false;
|
|
890
|
+
readonly internalType: "address";
|
|
891
|
+
readonly name: "pool";
|
|
892
|
+
readonly type: "address";
|
|
893
|
+
}, {
|
|
894
|
+
readonly indexed: false;
|
|
895
|
+
readonly internalType: "bool";
|
|
896
|
+
readonly name: "enabled";
|
|
897
|
+
readonly type: "bool";
|
|
898
|
+
}];
|
|
899
|
+
readonly name: "SetLocker";
|
|
900
|
+
readonly type: "event";
|
|
901
|
+
}, {
|
|
902
|
+
readonly anonymous: false;
|
|
903
|
+
readonly inputs: readonly [{
|
|
904
|
+
readonly indexed: false;
|
|
905
|
+
readonly internalType: "address";
|
|
906
|
+
readonly name: "mevModule";
|
|
907
|
+
readonly type: "address";
|
|
908
|
+
}, {
|
|
909
|
+
readonly indexed: false;
|
|
910
|
+
readonly internalType: "bool";
|
|
911
|
+
readonly name: "enabled";
|
|
912
|
+
readonly type: "bool";
|
|
913
|
+
}];
|
|
914
|
+
readonly name: "SetMevModule";
|
|
915
|
+
readonly type: "event";
|
|
916
|
+
}, {
|
|
917
|
+
readonly anonymous: false;
|
|
918
|
+
readonly inputs: readonly [{
|
|
919
|
+
readonly indexed: false;
|
|
920
|
+
readonly internalType: "address";
|
|
921
|
+
readonly name: "oldTeamFeeRecipient";
|
|
922
|
+
readonly type: "address";
|
|
923
|
+
}, {
|
|
924
|
+
readonly indexed: false;
|
|
925
|
+
readonly internalType: "address";
|
|
926
|
+
readonly name: "newTeamFeeRecipient";
|
|
927
|
+
readonly type: "address";
|
|
928
|
+
}];
|
|
929
|
+
readonly name: "SetTeamFeeRecipient";
|
|
930
|
+
readonly type: "event";
|
|
931
|
+
}, {
|
|
932
|
+
readonly anonymous: false;
|
|
933
|
+
readonly inputs: readonly [{
|
|
934
|
+
readonly indexed: false;
|
|
935
|
+
readonly internalType: "address";
|
|
936
|
+
readonly name: "msgSender";
|
|
937
|
+
readonly type: "address";
|
|
938
|
+
}, {
|
|
939
|
+
readonly indexed: true;
|
|
940
|
+
readonly internalType: "address";
|
|
941
|
+
readonly name: "tokenAddress";
|
|
942
|
+
readonly type: "address";
|
|
943
|
+
}, {
|
|
944
|
+
readonly indexed: true;
|
|
945
|
+
readonly internalType: "address";
|
|
946
|
+
readonly name: "tokenAdmin";
|
|
947
|
+
readonly type: "address";
|
|
948
|
+
}, {
|
|
949
|
+
readonly indexed: false;
|
|
950
|
+
readonly internalType: "string";
|
|
951
|
+
readonly name: "tokenImage";
|
|
952
|
+
readonly type: "string";
|
|
953
|
+
}, {
|
|
954
|
+
readonly indexed: false;
|
|
955
|
+
readonly internalType: "string";
|
|
956
|
+
readonly name: "tokenName";
|
|
957
|
+
readonly type: "string";
|
|
958
|
+
}, {
|
|
959
|
+
readonly indexed: false;
|
|
960
|
+
readonly internalType: "string";
|
|
961
|
+
readonly name: "tokenSymbol";
|
|
962
|
+
readonly type: "string";
|
|
963
|
+
}, {
|
|
964
|
+
readonly indexed: false;
|
|
965
|
+
readonly internalType: "string";
|
|
966
|
+
readonly name: "tokenMetadata";
|
|
967
|
+
readonly type: "string";
|
|
968
|
+
}, {
|
|
969
|
+
readonly indexed: false;
|
|
970
|
+
readonly internalType: "string";
|
|
971
|
+
readonly name: "tokenContext";
|
|
972
|
+
readonly type: "string";
|
|
973
|
+
}, {
|
|
974
|
+
readonly indexed: false;
|
|
975
|
+
readonly internalType: "int24";
|
|
976
|
+
readonly name: "startingTick";
|
|
977
|
+
readonly type: "int24";
|
|
978
|
+
}, {
|
|
979
|
+
readonly indexed: false;
|
|
980
|
+
readonly internalType: "address";
|
|
981
|
+
readonly name: "poolHook";
|
|
982
|
+
readonly type: "address";
|
|
983
|
+
}, {
|
|
984
|
+
readonly indexed: false;
|
|
985
|
+
readonly internalType: "PoolId";
|
|
986
|
+
readonly name: "poolId";
|
|
987
|
+
readonly type: "bytes32";
|
|
988
|
+
}, {
|
|
989
|
+
readonly indexed: false;
|
|
990
|
+
readonly internalType: "address";
|
|
991
|
+
readonly name: "pairedToken";
|
|
992
|
+
readonly type: "address";
|
|
993
|
+
}, {
|
|
994
|
+
readonly indexed: false;
|
|
995
|
+
readonly internalType: "address";
|
|
996
|
+
readonly name: "locker";
|
|
997
|
+
readonly type: "address";
|
|
998
|
+
}, {
|
|
999
|
+
readonly indexed: false;
|
|
1000
|
+
readonly internalType: "address";
|
|
1001
|
+
readonly name: "mevModule";
|
|
1002
|
+
readonly type: "address";
|
|
1003
|
+
}, {
|
|
1004
|
+
readonly indexed: false;
|
|
1005
|
+
readonly internalType: "uint256";
|
|
1006
|
+
readonly name: "extensionsSupply";
|
|
1007
|
+
readonly type: "uint256";
|
|
1008
|
+
}, {
|
|
1009
|
+
readonly indexed: false;
|
|
1010
|
+
readonly internalType: "address[]";
|
|
1011
|
+
readonly name: "extensions";
|
|
1012
|
+
readonly type: "address[]";
|
|
1013
|
+
}];
|
|
1014
|
+
readonly name: "TokenCreated";
|
|
1015
|
+
readonly type: "event";
|
|
1016
|
+
}, {
|
|
1017
|
+
readonly inputs: readonly [];
|
|
1018
|
+
readonly name: "BPS";
|
|
1019
|
+
readonly outputs: readonly [{
|
|
1020
|
+
readonly internalType: "uint256";
|
|
1021
|
+
readonly name: "";
|
|
1022
|
+
readonly type: "uint256";
|
|
1023
|
+
}];
|
|
1024
|
+
readonly stateMutability: "view";
|
|
1025
|
+
readonly type: "function";
|
|
1026
|
+
}, {
|
|
1027
|
+
readonly inputs: readonly [];
|
|
1028
|
+
readonly name: "MAX_EXTENSIONS";
|
|
1029
|
+
readonly outputs: readonly [{
|
|
1030
|
+
readonly internalType: "uint256";
|
|
1031
|
+
readonly name: "";
|
|
1032
|
+
readonly type: "uint256";
|
|
1033
|
+
}];
|
|
1034
|
+
readonly stateMutability: "view";
|
|
1035
|
+
readonly type: "function";
|
|
1036
|
+
}, {
|
|
1037
|
+
readonly inputs: readonly [];
|
|
1038
|
+
readonly name: "MAX_EXTENSION_BPS";
|
|
1039
|
+
readonly outputs: readonly [{
|
|
1040
|
+
readonly internalType: "uint16";
|
|
1041
|
+
readonly name: "";
|
|
1042
|
+
readonly type: "uint16";
|
|
1043
|
+
}];
|
|
1044
|
+
readonly stateMutability: "view";
|
|
1045
|
+
readonly type: "function";
|
|
1046
|
+
}, {
|
|
1047
|
+
readonly inputs: readonly [];
|
|
1048
|
+
readonly name: "TOKEN_SUPPLY";
|
|
1049
|
+
readonly outputs: readonly [{
|
|
1050
|
+
readonly internalType: "uint256";
|
|
1051
|
+
readonly name: "";
|
|
1052
|
+
readonly type: "uint256";
|
|
1053
|
+
}];
|
|
1054
|
+
readonly stateMutability: "view";
|
|
1055
|
+
readonly type: "function";
|
|
1056
|
+
}, {
|
|
1057
|
+
readonly inputs: readonly [{
|
|
1058
|
+
readonly internalType: "address";
|
|
1059
|
+
readonly name: "";
|
|
1060
|
+
readonly type: "address";
|
|
1061
|
+
}];
|
|
1062
|
+
readonly name: "admins";
|
|
1063
|
+
readonly outputs: readonly [{
|
|
1064
|
+
readonly internalType: "bool";
|
|
1065
|
+
readonly name: "";
|
|
1066
|
+
readonly type: "bool";
|
|
1067
|
+
}];
|
|
1068
|
+
readonly stateMutability: "view";
|
|
1069
|
+
readonly type: "function";
|
|
1070
|
+
}, {
|
|
1071
|
+
readonly inputs: readonly [{
|
|
1072
|
+
readonly internalType: "address";
|
|
1073
|
+
readonly name: "token";
|
|
1074
|
+
readonly type: "address";
|
|
1075
|
+
}];
|
|
1076
|
+
readonly name: "claimTeamFees";
|
|
1077
|
+
readonly outputs: readonly [];
|
|
1078
|
+
readonly stateMutability: "nonpayable";
|
|
1079
|
+
readonly type: "function";
|
|
1080
|
+
}, {
|
|
1081
|
+
readonly inputs: readonly [{
|
|
1082
|
+
readonly components: readonly [{
|
|
1083
|
+
readonly components: readonly [{
|
|
1084
|
+
readonly internalType: "address";
|
|
1085
|
+
readonly name: "tokenAdmin";
|
|
1086
|
+
readonly type: "address";
|
|
1087
|
+
}, {
|
|
1088
|
+
readonly internalType: "string";
|
|
1089
|
+
readonly name: "name";
|
|
1090
|
+
readonly type: "string";
|
|
1091
|
+
}, {
|
|
1092
|
+
readonly internalType: "string";
|
|
1093
|
+
readonly name: "symbol";
|
|
1094
|
+
readonly type: "string";
|
|
1095
|
+
}, {
|
|
1096
|
+
readonly internalType: "bytes32";
|
|
1097
|
+
readonly name: "salt";
|
|
1098
|
+
readonly type: "bytes32";
|
|
1099
|
+
}, {
|
|
1100
|
+
readonly internalType: "string";
|
|
1101
|
+
readonly name: "image";
|
|
1102
|
+
readonly type: "string";
|
|
1103
|
+
}, {
|
|
1104
|
+
readonly internalType: "string";
|
|
1105
|
+
readonly name: "metadata";
|
|
1106
|
+
readonly type: "string";
|
|
1107
|
+
}, {
|
|
1108
|
+
readonly internalType: "string";
|
|
1109
|
+
readonly name: "context";
|
|
1110
|
+
readonly type: "string";
|
|
1111
|
+
}, {
|
|
1112
|
+
readonly internalType: "uint256";
|
|
1113
|
+
readonly name: "originatingChainId";
|
|
1114
|
+
readonly type: "uint256";
|
|
1115
|
+
}];
|
|
1116
|
+
readonly internalType: "struct IClanker.TokenConfig";
|
|
1117
|
+
readonly name: "tokenConfig";
|
|
1118
|
+
readonly type: "tuple";
|
|
1119
|
+
}, {
|
|
1120
|
+
readonly components: readonly [{
|
|
1121
|
+
readonly internalType: "address";
|
|
1122
|
+
readonly name: "hook";
|
|
1123
|
+
readonly type: "address";
|
|
1124
|
+
}, {
|
|
1125
|
+
readonly internalType: "address";
|
|
1126
|
+
readonly name: "pairedToken";
|
|
1127
|
+
readonly type: "address";
|
|
1128
|
+
}, {
|
|
1129
|
+
readonly internalType: "int24";
|
|
1130
|
+
readonly name: "tickIfToken0IsClanker";
|
|
1131
|
+
readonly type: "int24";
|
|
1132
|
+
}, {
|
|
1133
|
+
readonly internalType: "int24";
|
|
1134
|
+
readonly name: "tickSpacing";
|
|
1135
|
+
readonly type: "int24";
|
|
1136
|
+
}, {
|
|
1137
|
+
readonly internalType: "bytes";
|
|
1138
|
+
readonly name: "poolData";
|
|
1139
|
+
readonly type: "bytes";
|
|
1140
|
+
}];
|
|
1141
|
+
readonly internalType: "struct IClanker.PoolConfig";
|
|
1142
|
+
readonly name: "poolConfig";
|
|
1143
|
+
readonly type: "tuple";
|
|
1144
|
+
}, {
|
|
1145
|
+
readonly components: readonly [{
|
|
1146
|
+
readonly internalType: "address";
|
|
1147
|
+
readonly name: "locker";
|
|
1148
|
+
readonly type: "address";
|
|
1149
|
+
}, {
|
|
1150
|
+
readonly internalType: "address[]";
|
|
1151
|
+
readonly name: "rewardAdmins";
|
|
1152
|
+
readonly type: "address[]";
|
|
1153
|
+
}, {
|
|
1154
|
+
readonly internalType: "address[]";
|
|
1155
|
+
readonly name: "rewardRecipients";
|
|
1156
|
+
readonly type: "address[]";
|
|
1157
|
+
}, {
|
|
1158
|
+
readonly internalType: "uint16[]";
|
|
1159
|
+
readonly name: "rewardBps";
|
|
1160
|
+
readonly type: "uint16[]";
|
|
1161
|
+
}, {
|
|
1162
|
+
readonly internalType: "int24[]";
|
|
1163
|
+
readonly name: "tickLower";
|
|
1164
|
+
readonly type: "int24[]";
|
|
1165
|
+
}, {
|
|
1166
|
+
readonly internalType: "int24[]";
|
|
1167
|
+
readonly name: "tickUpper";
|
|
1168
|
+
readonly type: "int24[]";
|
|
1169
|
+
}, {
|
|
1170
|
+
readonly internalType: "uint16[]";
|
|
1171
|
+
readonly name: "positionBps";
|
|
1172
|
+
readonly type: "uint16[]";
|
|
1173
|
+
}, {
|
|
1174
|
+
readonly internalType: "bytes";
|
|
1175
|
+
readonly name: "lockerData";
|
|
1176
|
+
readonly type: "bytes";
|
|
1177
|
+
}];
|
|
1178
|
+
readonly internalType: "struct IClanker.LockerConfig";
|
|
1179
|
+
readonly name: "lockerConfig";
|
|
1180
|
+
readonly type: "tuple";
|
|
1181
|
+
}, {
|
|
1182
|
+
readonly components: readonly [{
|
|
1183
|
+
readonly internalType: "address";
|
|
1184
|
+
readonly name: "mevModule";
|
|
1185
|
+
readonly type: "address";
|
|
1186
|
+
}, {
|
|
1187
|
+
readonly internalType: "bytes";
|
|
1188
|
+
readonly name: "mevModuleData";
|
|
1189
|
+
readonly type: "bytes";
|
|
1190
|
+
}];
|
|
1191
|
+
readonly internalType: "struct IClanker.MevModuleConfig";
|
|
1192
|
+
readonly name: "mevModuleConfig";
|
|
1193
|
+
readonly type: "tuple";
|
|
1194
|
+
}, {
|
|
1195
|
+
readonly components: readonly [{
|
|
1196
|
+
readonly internalType: "address";
|
|
1197
|
+
readonly name: "extension";
|
|
1198
|
+
readonly type: "address";
|
|
1199
|
+
}, {
|
|
1200
|
+
readonly internalType: "uint256";
|
|
1201
|
+
readonly name: "msgValue";
|
|
1202
|
+
readonly type: "uint256";
|
|
1203
|
+
}, {
|
|
1204
|
+
readonly internalType: "uint16";
|
|
1205
|
+
readonly name: "extensionBps";
|
|
1206
|
+
readonly type: "uint16";
|
|
1207
|
+
}, {
|
|
1208
|
+
readonly internalType: "bytes";
|
|
1209
|
+
readonly name: "extensionData";
|
|
1210
|
+
readonly type: "bytes";
|
|
1211
|
+
}];
|
|
1212
|
+
readonly internalType: "struct IClanker.ExtensionConfig[]";
|
|
1213
|
+
readonly name: "extensionConfigs";
|
|
1214
|
+
readonly type: "tuple[]";
|
|
1215
|
+
}];
|
|
1216
|
+
readonly internalType: "struct IClanker.DeploymentConfig";
|
|
1217
|
+
readonly name: "deploymentConfig";
|
|
1218
|
+
readonly type: "tuple";
|
|
1219
|
+
}];
|
|
1220
|
+
readonly name: "deployToken";
|
|
1221
|
+
readonly outputs: readonly [{
|
|
1222
|
+
readonly internalType: "address";
|
|
1223
|
+
readonly name: "tokenAddress";
|
|
1224
|
+
readonly type: "address";
|
|
1225
|
+
}];
|
|
1226
|
+
readonly stateMutability: "payable";
|
|
1227
|
+
readonly type: "function";
|
|
1228
|
+
}, {
|
|
1229
|
+
readonly inputs: readonly [{
|
|
1230
|
+
readonly components: readonly [{
|
|
1231
|
+
readonly internalType: "address";
|
|
1232
|
+
readonly name: "tokenAdmin";
|
|
1233
|
+
readonly type: "address";
|
|
1234
|
+
}, {
|
|
1235
|
+
readonly internalType: "string";
|
|
1236
|
+
readonly name: "name";
|
|
1237
|
+
readonly type: "string";
|
|
1238
|
+
}, {
|
|
1239
|
+
readonly internalType: "string";
|
|
1240
|
+
readonly name: "symbol";
|
|
1241
|
+
readonly type: "string";
|
|
1242
|
+
}, {
|
|
1243
|
+
readonly internalType: "bytes32";
|
|
1244
|
+
readonly name: "salt";
|
|
1245
|
+
readonly type: "bytes32";
|
|
1246
|
+
}, {
|
|
1247
|
+
readonly internalType: "string";
|
|
1248
|
+
readonly name: "image";
|
|
1249
|
+
readonly type: "string";
|
|
1250
|
+
}, {
|
|
1251
|
+
readonly internalType: "string";
|
|
1252
|
+
readonly name: "metadata";
|
|
1253
|
+
readonly type: "string";
|
|
1254
|
+
}, {
|
|
1255
|
+
readonly internalType: "string";
|
|
1256
|
+
readonly name: "context";
|
|
1257
|
+
readonly type: "string";
|
|
1258
|
+
}, {
|
|
1259
|
+
readonly internalType: "uint256";
|
|
1260
|
+
readonly name: "originatingChainId";
|
|
1261
|
+
readonly type: "uint256";
|
|
1262
|
+
}];
|
|
1263
|
+
readonly internalType: "struct IClanker.TokenConfig";
|
|
1264
|
+
readonly name: "tokenConfig";
|
|
1265
|
+
readonly type: "tuple";
|
|
1266
|
+
}];
|
|
1267
|
+
readonly name: "deployTokenZeroSupply";
|
|
1268
|
+
readonly outputs: readonly [{
|
|
1269
|
+
readonly internalType: "address";
|
|
1270
|
+
readonly name: "tokenAddress";
|
|
1271
|
+
readonly type: "address";
|
|
1272
|
+
}];
|
|
1273
|
+
readonly stateMutability: "nonpayable";
|
|
1274
|
+
readonly type: "function";
|
|
1275
|
+
}, {
|
|
1276
|
+
readonly inputs: readonly [{
|
|
1277
|
+
readonly internalType: "address";
|
|
1278
|
+
readonly name: "token";
|
|
1279
|
+
readonly type: "address";
|
|
1280
|
+
}];
|
|
1281
|
+
readonly name: "deploymentInfoForToken";
|
|
1282
|
+
readonly outputs: readonly [{
|
|
1283
|
+
readonly internalType: "address";
|
|
1284
|
+
readonly name: "token";
|
|
1285
|
+
readonly type: "address";
|
|
1286
|
+
}, {
|
|
1287
|
+
readonly internalType: "address";
|
|
1288
|
+
readonly name: "hook";
|
|
1289
|
+
readonly type: "address";
|
|
1290
|
+
}, {
|
|
1291
|
+
readonly internalType: "address";
|
|
1292
|
+
readonly name: "locker";
|
|
1293
|
+
readonly type: "address";
|
|
1294
|
+
}];
|
|
1295
|
+
readonly stateMutability: "view";
|
|
1296
|
+
readonly type: "function";
|
|
1297
|
+
}, {
|
|
1298
|
+
readonly inputs: readonly [];
|
|
1299
|
+
readonly name: "deprecated";
|
|
1300
|
+
readonly outputs: readonly [{
|
|
1301
|
+
readonly internalType: "bool";
|
|
1302
|
+
readonly name: "";
|
|
1303
|
+
readonly type: "bool";
|
|
1304
|
+
}];
|
|
1305
|
+
readonly stateMutability: "view";
|
|
1306
|
+
readonly type: "function";
|
|
1307
|
+
}, {
|
|
1308
|
+
readonly inputs: readonly [{
|
|
1309
|
+
readonly internalType: "address";
|
|
1310
|
+
readonly name: "locker";
|
|
1311
|
+
readonly type: "address";
|
|
1312
|
+
}, {
|
|
1313
|
+
readonly internalType: "address";
|
|
1314
|
+
readonly name: "pool";
|
|
1315
|
+
readonly type: "address";
|
|
1316
|
+
}];
|
|
1317
|
+
readonly name: "enabledLockers";
|
|
1318
|
+
readonly outputs: readonly [{
|
|
1319
|
+
readonly internalType: "bool";
|
|
1320
|
+
readonly name: "enabled";
|
|
1321
|
+
readonly type: "bool";
|
|
1322
|
+
}];
|
|
1323
|
+
readonly stateMutability: "view";
|
|
1324
|
+
readonly type: "function";
|
|
1325
|
+
}, {
|
|
1326
|
+
readonly inputs: readonly [{
|
|
1327
|
+
readonly internalType: "address";
|
|
1328
|
+
readonly name: "teamFeeRecipient_";
|
|
1329
|
+
readonly type: "address";
|
|
1330
|
+
}];
|
|
1331
|
+
readonly name: "initialize";
|
|
1332
|
+
readonly outputs: readonly [];
|
|
1333
|
+
readonly stateMutability: "nonpayable";
|
|
1334
|
+
readonly type: "function";
|
|
1335
|
+
}, {
|
|
1336
|
+
readonly inputs: readonly [];
|
|
1337
|
+
readonly name: "owner";
|
|
1338
|
+
readonly outputs: readonly [{
|
|
1339
|
+
readonly internalType: "address";
|
|
1340
|
+
readonly name: "";
|
|
1341
|
+
readonly type: "address";
|
|
1342
|
+
}];
|
|
1343
|
+
readonly stateMutability: "view";
|
|
1344
|
+
readonly type: "function";
|
|
1345
|
+
}, {
|
|
1346
|
+
readonly inputs: readonly [];
|
|
1347
|
+
readonly name: "renounceOwnership";
|
|
1348
|
+
readonly outputs: readonly [];
|
|
1349
|
+
readonly stateMutability: "nonpayable";
|
|
1350
|
+
readonly type: "function";
|
|
1351
|
+
}, {
|
|
1352
|
+
readonly inputs: readonly [{
|
|
1353
|
+
readonly internalType: "address";
|
|
1354
|
+
readonly name: "admin";
|
|
1355
|
+
readonly type: "address";
|
|
1356
|
+
}, {
|
|
1357
|
+
readonly internalType: "bool";
|
|
1358
|
+
readonly name: "enabled";
|
|
1359
|
+
readonly type: "bool";
|
|
1360
|
+
}];
|
|
1361
|
+
readonly name: "setAdmin";
|
|
1362
|
+
readonly outputs: readonly [];
|
|
1363
|
+
readonly stateMutability: "nonpayable";
|
|
1364
|
+
readonly type: "function";
|
|
1365
|
+
}, {
|
|
1366
|
+
readonly inputs: readonly [{
|
|
1367
|
+
readonly internalType: "bool";
|
|
1368
|
+
readonly name: "deprecated_";
|
|
1369
|
+
readonly type: "bool";
|
|
1370
|
+
}];
|
|
1371
|
+
readonly name: "setDeprecated";
|
|
1372
|
+
readonly outputs: readonly [];
|
|
1373
|
+
readonly stateMutability: "nonpayable";
|
|
1374
|
+
readonly type: "function";
|
|
1375
|
+
}, {
|
|
1376
|
+
readonly inputs: readonly [{
|
|
1377
|
+
readonly internalType: "address";
|
|
1378
|
+
readonly name: "extension";
|
|
1379
|
+
readonly type: "address";
|
|
1380
|
+
}, {
|
|
1381
|
+
readonly internalType: "bool";
|
|
1382
|
+
readonly name: "enabled";
|
|
1383
|
+
readonly type: "bool";
|
|
1384
|
+
}];
|
|
1385
|
+
readonly name: "setExtension";
|
|
1386
|
+
readonly outputs: readonly [];
|
|
1387
|
+
readonly stateMutability: "nonpayable";
|
|
1388
|
+
readonly type: "function";
|
|
1389
|
+
}, {
|
|
1390
|
+
readonly inputs: readonly [{
|
|
1391
|
+
readonly internalType: "address";
|
|
1392
|
+
readonly name: "hook";
|
|
1393
|
+
readonly type: "address";
|
|
1394
|
+
}, {
|
|
1395
|
+
readonly internalType: "bool";
|
|
1396
|
+
readonly name: "enabled";
|
|
1397
|
+
readonly type: "bool";
|
|
1398
|
+
}];
|
|
1399
|
+
readonly name: "setHook";
|
|
1400
|
+
readonly outputs: readonly [];
|
|
1401
|
+
readonly stateMutability: "nonpayable";
|
|
1402
|
+
readonly type: "function";
|
|
1403
|
+
}, {
|
|
1404
|
+
readonly inputs: readonly [{
|
|
1405
|
+
readonly internalType: "address";
|
|
1406
|
+
readonly name: "locker";
|
|
1407
|
+
readonly type: "address";
|
|
1408
|
+
}, {
|
|
1409
|
+
readonly internalType: "address";
|
|
1410
|
+
readonly name: "pool";
|
|
1411
|
+
readonly type: "address";
|
|
1412
|
+
}, {
|
|
1413
|
+
readonly internalType: "bool";
|
|
1414
|
+
readonly name: "enabled";
|
|
1415
|
+
readonly type: "bool";
|
|
1416
|
+
}];
|
|
1417
|
+
readonly name: "setLocker";
|
|
1418
|
+
readonly outputs: readonly [];
|
|
1419
|
+
readonly stateMutability: "nonpayable";
|
|
1420
|
+
readonly type: "function";
|
|
1421
|
+
}, {
|
|
1422
|
+
readonly inputs: readonly [{
|
|
1423
|
+
readonly internalType: "address";
|
|
1424
|
+
readonly name: "mevModule";
|
|
1425
|
+
readonly type: "address";
|
|
1426
|
+
}, {
|
|
1427
|
+
readonly internalType: "bool";
|
|
1428
|
+
readonly name: "enabled";
|
|
1429
|
+
readonly type: "bool";
|
|
1430
|
+
}];
|
|
1431
|
+
readonly name: "setMevModule";
|
|
1432
|
+
readonly outputs: readonly [];
|
|
1433
|
+
readonly stateMutability: "nonpayable";
|
|
1434
|
+
readonly type: "function";
|
|
1435
|
+
}, {
|
|
1436
|
+
readonly inputs: readonly [{
|
|
1437
|
+
readonly internalType: "address";
|
|
1438
|
+
readonly name: "teamFeeRecipient_";
|
|
1439
|
+
readonly type: "address";
|
|
1440
|
+
}];
|
|
1441
|
+
readonly name: "setTeamFeeRecipient";
|
|
1442
|
+
readonly outputs: readonly [];
|
|
1443
|
+
readonly stateMutability: "nonpayable";
|
|
1444
|
+
readonly type: "function";
|
|
1445
|
+
}, {
|
|
1446
|
+
readonly inputs: readonly [];
|
|
1447
|
+
readonly name: "teamFeeRecipient";
|
|
1448
|
+
readonly outputs: readonly [{
|
|
1449
|
+
readonly internalType: "address";
|
|
1450
|
+
readonly name: "";
|
|
1451
|
+
readonly type: "address";
|
|
1452
|
+
}];
|
|
1453
|
+
readonly stateMutability: "view";
|
|
1454
|
+
readonly type: "function";
|
|
1455
|
+
}, {
|
|
1456
|
+
readonly inputs: readonly [{
|
|
1457
|
+
readonly internalType: "address";
|
|
1458
|
+
readonly name: "token";
|
|
1459
|
+
readonly type: "address";
|
|
1460
|
+
}];
|
|
1461
|
+
readonly name: "tokenDeploymentInfo";
|
|
1462
|
+
readonly outputs: readonly [{
|
|
1463
|
+
readonly components: readonly [{
|
|
1464
|
+
readonly internalType: "address";
|
|
1465
|
+
readonly name: "token";
|
|
1466
|
+
readonly type: "address";
|
|
1467
|
+
}, {
|
|
1468
|
+
readonly internalType: "address";
|
|
1469
|
+
readonly name: "hook";
|
|
1470
|
+
readonly type: "address";
|
|
1471
|
+
}, {
|
|
1472
|
+
readonly internalType: "address";
|
|
1473
|
+
readonly name: "locker";
|
|
1474
|
+
readonly type: "address";
|
|
1475
|
+
}, {
|
|
1476
|
+
readonly internalType: "address[]";
|
|
1477
|
+
readonly name: "extensions";
|
|
1478
|
+
readonly type: "address[]";
|
|
1479
|
+
}];
|
|
1480
|
+
readonly internalType: "struct IClanker.DeploymentInfo";
|
|
1481
|
+
readonly name: "";
|
|
1482
|
+
readonly type: "tuple";
|
|
1483
|
+
}];
|
|
1484
|
+
readonly stateMutability: "view";
|
|
1485
|
+
readonly type: "function";
|
|
1486
|
+
}, {
|
|
1487
|
+
readonly inputs: readonly [{
|
|
1488
|
+
readonly internalType: "address";
|
|
1489
|
+
readonly name: "newOwner";
|
|
1490
|
+
readonly type: "address";
|
|
1491
|
+
}];
|
|
1492
|
+
readonly name: "transferOwnership";
|
|
1493
|
+
readonly outputs: readonly [];
|
|
1494
|
+
readonly stateMutability: "nonpayable";
|
|
1495
|
+
readonly type: "function";
|
|
1496
|
+
}], "deployToken"> & {
|
|
1497
|
+
expectedAddress?: `0x${string}`;
|
|
1498
|
+
}>;
|
|
1499
|
+
/**
|
|
1500
|
+
* Simulate a token deployment
|
|
1501
|
+
*
|
|
1502
|
+
* @param token The token to deploy
|
|
1503
|
+
* @param account Optional account for the deployer
|
|
1504
|
+
* @returns Abi transaction
|
|
1505
|
+
*/
|
|
1506
|
+
deploySimulate(token: ClankerTokenV4, account?: Account): Promise<(import("viem").SimulateContractReturnType<import("../utils/clanker-contracts").ClankerFactory, "claimRewards" | "deployToken" | "deployTokenWithCustomTeamRewardRecipient" | "deployTokenZeroSupply" | "initialize" | "renounceOwnership" | "setAdmin" | "setDeprecated" | "transferOwnership" | "updateLiquidityLocker" | "updateVault" | "claimTeamFees" | "setExtension" | "setHook" | "setLocker" | "setMevModule" | "setTeamFeeRecipient"> & {
|
|
1507
|
+
error?: undefined;
|
|
1508
|
+
}) | ({
|
|
1509
|
+
result?: undefined;
|
|
1510
|
+
request?: undefined;
|
|
1511
|
+
} & {
|
|
1512
|
+
error: ClankerError;
|
|
1513
|
+
})>;
|
|
1514
|
+
/**
|
|
1515
|
+
* Deploy a token
|
|
1516
|
+
*
|
|
1517
|
+
* @param token The token to deploy
|
|
1518
|
+
* @returns Transaction hash and awaitable function for full deployment
|
|
1519
|
+
*/
|
|
1520
|
+
deploy(token: ClankerTokenV4): Promise<({
|
|
1521
|
+
txHash: `0x${string}`;
|
|
1522
|
+
waitForTransaction: () => import("../utils/write-clanker-contracts").ClankerResult<{
|
|
1523
|
+
address: `0x${string}`;
|
|
1524
|
+
}>;
|
|
1525
|
+
} & {
|
|
1526
|
+
error?: undefined;
|
|
1527
|
+
}) | ({
|
|
1528
|
+
txHash?: undefined;
|
|
1529
|
+
waitForTransaction?: undefined;
|
|
1530
|
+
} & {
|
|
1531
|
+
error: ClankerError;
|
|
1532
|
+
})>;
|
|
1533
|
+
/**
|
|
1534
|
+
* Get an abi-typed transaction for updating the reward recipient.
|
|
1535
|
+
*
|
|
1536
|
+
* @param token The token to update the reward recipient for
|
|
1537
|
+
* @param rewardIndex The index of the reward to update
|
|
1538
|
+
* @param newRecipient The new recipient address
|
|
1539
|
+
* @param options Optional chain configuration
|
|
1540
|
+
* @returns Abi transaction
|
|
1541
|
+
*/
|
|
1542
|
+
getUpdateRewardRecipientTransaction({ token, rewardIndex, newRecipient, }: {
|
|
1543
|
+
token: `0x${string}`;
|
|
1544
|
+
rewardIndex: bigint;
|
|
1545
|
+
newRecipient: `0x${string}`;
|
|
1546
|
+
}, options?: {
|
|
1547
|
+
chain?: Chain;
|
|
1548
|
+
}): Promise<ClankerTransactionConfig<typeof ClankerLocker_v4_abi>>;
|
|
1549
|
+
/**
|
|
1550
|
+
* Get an abi-typed transaction for updating the reward admin.
|
|
1551
|
+
*
|
|
1552
|
+
* @param token The token to update the reward admin for
|
|
1553
|
+
* @param rewardIndex The index of the reward to update
|
|
1554
|
+
* @param newAdmin The new admin address
|
|
1555
|
+
* @param options Optional chain configuration
|
|
1556
|
+
* @returns Abi transaction
|
|
1557
|
+
*/
|
|
1558
|
+
getUpdateRewardAdminTransaction({ token, rewardIndex, newAdmin, }: {
|
|
1559
|
+
token: `0x${string}`;
|
|
1560
|
+
rewardIndex: bigint;
|
|
1561
|
+
newAdmin: `0x${string}`;
|
|
1562
|
+
}, options?: {
|
|
1563
|
+
chain?: Chain;
|
|
1564
|
+
}): Promise<ClankerTransactionConfig<typeof ClankerLocker_v4_abi>>;
|
|
1565
|
+
/**
|
|
1566
|
+
* Simulate updating the reward recipient. Will use the wallet account on the Clanker class or
|
|
1567
|
+
* the passed-in account.
|
|
1568
|
+
*
|
|
1569
|
+
* @param token The token to update the reward recipient for
|
|
1570
|
+
* @param rewardIndex The index of the reward to update
|
|
1571
|
+
* @param newRecipient The new recipient address
|
|
1572
|
+
* @param account Optional account to simulate calling for
|
|
1573
|
+
* @returns The simulated output
|
|
1574
|
+
*/
|
|
1575
|
+
updateRewardRecipientSimulate({ token, rewardIndex, newRecipient, }: {
|
|
1576
|
+
token: `0x${string}`;
|
|
1577
|
+
rewardIndex: bigint;
|
|
1578
|
+
newRecipient: `0x${string}`;
|
|
1579
|
+
}, account?: Account): Promise<(import("viem").SimulateContractReturnType<readonly [{
|
|
1580
|
+
readonly type: "constructor";
|
|
1581
|
+
readonly inputs: readonly [{
|
|
1582
|
+
readonly name: "owner_";
|
|
1583
|
+
readonly type: "address";
|
|
1584
|
+
readonly internalType: "address";
|
|
1585
|
+
}, {
|
|
1586
|
+
readonly name: "factory_";
|
|
1587
|
+
readonly type: "address";
|
|
1588
|
+
readonly internalType: "address";
|
|
1589
|
+
}, {
|
|
1590
|
+
readonly name: "feeLocker_";
|
|
1591
|
+
readonly type: "address";
|
|
1592
|
+
readonly internalType: "address";
|
|
1593
|
+
}, {
|
|
1594
|
+
readonly name: "positionManager_";
|
|
1595
|
+
readonly type: "address";
|
|
1596
|
+
readonly internalType: "address";
|
|
1597
|
+
}, {
|
|
1598
|
+
readonly name: "permit2_";
|
|
1599
|
+
readonly type: "address";
|
|
1600
|
+
readonly internalType: "address";
|
|
1601
|
+
}, {
|
|
1602
|
+
readonly name: "universalRouter_";
|
|
1603
|
+
readonly type: "address";
|
|
1604
|
+
readonly internalType: "address";
|
|
1605
|
+
}, {
|
|
1606
|
+
readonly name: "poolManager_";
|
|
1607
|
+
readonly type: "address";
|
|
1608
|
+
readonly internalType: "address";
|
|
1609
|
+
}];
|
|
1610
|
+
readonly stateMutability: "nonpayable";
|
|
1611
|
+
}, {
|
|
1612
|
+
readonly type: "function";
|
|
1613
|
+
readonly name: "BASIS_POINTS";
|
|
1614
|
+
readonly inputs: readonly [];
|
|
1615
|
+
readonly outputs: readonly [{
|
|
1616
|
+
readonly name: "";
|
|
1617
|
+
readonly type: "uint256";
|
|
1618
|
+
readonly internalType: "uint256";
|
|
1619
|
+
}];
|
|
1620
|
+
readonly stateMutability: "view";
|
|
1621
|
+
}, {
|
|
1622
|
+
readonly type: "function";
|
|
1623
|
+
readonly name: "MAX_LP_POSITIONS";
|
|
1624
|
+
readonly inputs: readonly [];
|
|
1625
|
+
readonly outputs: readonly [{
|
|
1626
|
+
readonly name: "";
|
|
1627
|
+
readonly type: "uint256";
|
|
1628
|
+
readonly internalType: "uint256";
|
|
1629
|
+
}];
|
|
1630
|
+
readonly stateMutability: "view";
|
|
1631
|
+
}, {
|
|
1632
|
+
readonly type: "function";
|
|
1633
|
+
readonly name: "MAX_REWARD_PARTICIPANTS";
|
|
1634
|
+
readonly inputs: readonly [];
|
|
1635
|
+
readonly outputs: readonly [{
|
|
1636
|
+
readonly name: "";
|
|
1637
|
+
readonly type: "uint256";
|
|
1638
|
+
readonly internalType: "uint256";
|
|
1639
|
+
}];
|
|
1640
|
+
readonly stateMutability: "view";
|
|
1641
|
+
}, {
|
|
1642
|
+
readonly type: "function";
|
|
1643
|
+
readonly name: "collectRewards";
|
|
1644
|
+
readonly inputs: readonly [{
|
|
1645
|
+
readonly name: "token";
|
|
1646
|
+
readonly type: "address";
|
|
1647
|
+
readonly internalType: "address";
|
|
1648
|
+
}];
|
|
1649
|
+
readonly outputs: readonly [];
|
|
1650
|
+
readonly stateMutability: "nonpayable";
|
|
1651
|
+
}, {
|
|
1652
|
+
readonly type: "function";
|
|
1653
|
+
readonly name: "collectRewardsWithoutUnlock";
|
|
1654
|
+
readonly inputs: readonly [{
|
|
1655
|
+
readonly name: "token";
|
|
1656
|
+
readonly type: "address";
|
|
1657
|
+
readonly internalType: "address";
|
|
1658
|
+
}];
|
|
1659
|
+
readonly outputs: readonly [];
|
|
1660
|
+
readonly stateMutability: "nonpayable";
|
|
1661
|
+
}, {
|
|
1662
|
+
readonly type: "function";
|
|
1663
|
+
readonly name: "factory";
|
|
1664
|
+
readonly inputs: readonly [];
|
|
1665
|
+
readonly outputs: readonly [{
|
|
1666
|
+
readonly name: "";
|
|
1667
|
+
readonly type: "address";
|
|
1668
|
+
readonly internalType: "address";
|
|
1669
|
+
}];
|
|
1670
|
+
readonly stateMutability: "view";
|
|
1671
|
+
}, {
|
|
1672
|
+
readonly type: "function";
|
|
1673
|
+
readonly name: "feeLocker";
|
|
1674
|
+
readonly inputs: readonly [];
|
|
1675
|
+
readonly outputs: readonly [{
|
|
1676
|
+
readonly name: "";
|
|
1677
|
+
readonly type: "address";
|
|
1678
|
+
readonly internalType: "contract IClankerFeeLocker";
|
|
1679
|
+
}];
|
|
1680
|
+
readonly stateMutability: "view";
|
|
1681
|
+
}, {
|
|
1682
|
+
readonly type: "function";
|
|
1683
|
+
readonly name: "feePreferences";
|
|
1684
|
+
readonly inputs: readonly [{
|
|
1685
|
+
readonly name: "token";
|
|
1686
|
+
readonly type: "address";
|
|
1687
|
+
readonly internalType: "address";
|
|
1688
|
+
}, {
|
|
1689
|
+
readonly name: "";
|
|
1690
|
+
readonly type: "uint256";
|
|
1691
|
+
readonly internalType: "uint256";
|
|
1692
|
+
}];
|
|
1693
|
+
readonly outputs: readonly [{
|
|
1694
|
+
readonly name: "feePreference";
|
|
1695
|
+
readonly type: "uint8";
|
|
1696
|
+
readonly internalType: "enum IClankerLpLockerFeeConversion.FeeIn";
|
|
1697
|
+
}];
|
|
1698
|
+
readonly stateMutability: "view";
|
|
1699
|
+
}, {
|
|
1700
|
+
readonly type: "function";
|
|
1701
|
+
readonly name: "onERC721Received";
|
|
1702
|
+
readonly inputs: readonly [{
|
|
1703
|
+
readonly name: "";
|
|
1704
|
+
readonly type: "address";
|
|
1705
|
+
readonly internalType: "address";
|
|
1706
|
+
}, {
|
|
1707
|
+
readonly name: "from";
|
|
1708
|
+
readonly type: "address";
|
|
1709
|
+
readonly internalType: "address";
|
|
1710
|
+
}, {
|
|
1711
|
+
readonly name: "id";
|
|
1712
|
+
readonly type: "uint256";
|
|
1713
|
+
readonly internalType: "uint256";
|
|
1714
|
+
}, {
|
|
1715
|
+
readonly name: "";
|
|
1716
|
+
readonly type: "bytes";
|
|
1717
|
+
readonly internalType: "bytes";
|
|
1718
|
+
}];
|
|
1719
|
+
readonly outputs: readonly [{
|
|
1720
|
+
readonly name: "";
|
|
1721
|
+
readonly type: "bytes4";
|
|
1722
|
+
readonly internalType: "bytes4";
|
|
1723
|
+
}];
|
|
1724
|
+
readonly stateMutability: "nonpayable";
|
|
1725
|
+
}, {
|
|
1726
|
+
readonly type: "function";
|
|
1727
|
+
readonly name: "owner";
|
|
1728
|
+
readonly inputs: readonly [];
|
|
1729
|
+
readonly outputs: readonly [{
|
|
1730
|
+
readonly name: "";
|
|
1731
|
+
readonly type: "address";
|
|
1732
|
+
readonly internalType: "address";
|
|
1733
|
+
}];
|
|
1734
|
+
readonly stateMutability: "view";
|
|
1735
|
+
}, {
|
|
1736
|
+
readonly type: "function";
|
|
1737
|
+
readonly name: "permit2";
|
|
1738
|
+
readonly inputs: readonly [];
|
|
1739
|
+
readonly outputs: readonly [{
|
|
1740
|
+
readonly name: "";
|
|
1741
|
+
readonly type: "address";
|
|
1742
|
+
readonly internalType: "contract IPermit2";
|
|
1743
|
+
}];
|
|
1744
|
+
readonly stateMutability: "view";
|
|
1745
|
+
}, {
|
|
1746
|
+
readonly type: "function";
|
|
1747
|
+
readonly name: "placeLiquidity";
|
|
1748
|
+
readonly inputs: readonly [{
|
|
1749
|
+
readonly name: "lockerConfig";
|
|
1750
|
+
readonly type: "tuple";
|
|
1751
|
+
readonly internalType: "struct IClanker.LockerConfig";
|
|
1752
|
+
readonly components: readonly [{
|
|
1753
|
+
readonly name: "locker";
|
|
1754
|
+
readonly type: "address";
|
|
1755
|
+
readonly internalType: "address";
|
|
1756
|
+
}, {
|
|
1757
|
+
readonly name: "rewardAdmins";
|
|
1758
|
+
readonly type: "address[]";
|
|
1759
|
+
readonly internalType: "address[]";
|
|
1760
|
+
}, {
|
|
1761
|
+
readonly name: "rewardRecipients";
|
|
1762
|
+
readonly type: "address[]";
|
|
1763
|
+
readonly internalType: "address[]";
|
|
1764
|
+
}, {
|
|
1765
|
+
readonly name: "rewardBps";
|
|
1766
|
+
readonly type: "uint16[]";
|
|
1767
|
+
readonly internalType: "uint16[]";
|
|
1768
|
+
}, {
|
|
1769
|
+
readonly name: "tickLower";
|
|
1770
|
+
readonly type: "int24[]";
|
|
1771
|
+
readonly internalType: "int24[]";
|
|
1772
|
+
}, {
|
|
1773
|
+
readonly name: "tickUpper";
|
|
1774
|
+
readonly type: "int24[]";
|
|
1775
|
+
readonly internalType: "int24[]";
|
|
1776
|
+
}, {
|
|
1777
|
+
readonly name: "positionBps";
|
|
1778
|
+
readonly type: "uint16[]";
|
|
1779
|
+
readonly internalType: "uint16[]";
|
|
1780
|
+
}, {
|
|
1781
|
+
readonly name: "lockerData";
|
|
1782
|
+
readonly type: "bytes";
|
|
1783
|
+
readonly internalType: "bytes";
|
|
1784
|
+
}];
|
|
1785
|
+
}, {
|
|
1786
|
+
readonly name: "poolConfig";
|
|
1787
|
+
readonly type: "tuple";
|
|
1788
|
+
readonly internalType: "struct IClanker.PoolConfig";
|
|
1789
|
+
readonly components: readonly [{
|
|
1790
|
+
readonly name: "hook";
|
|
1791
|
+
readonly type: "address";
|
|
1792
|
+
readonly internalType: "address";
|
|
1793
|
+
}, {
|
|
1794
|
+
readonly name: "pairedToken";
|
|
1795
|
+
readonly type: "address";
|
|
1796
|
+
readonly internalType: "address";
|
|
1797
|
+
}, {
|
|
1798
|
+
readonly name: "tickIfToken0IsClanker";
|
|
1799
|
+
readonly type: "int24";
|
|
1800
|
+
readonly internalType: "int24";
|
|
1801
|
+
}, {
|
|
1802
|
+
readonly name: "tickSpacing";
|
|
1803
|
+
readonly type: "int24";
|
|
1804
|
+
readonly internalType: "int24";
|
|
1805
|
+
}, {
|
|
1806
|
+
readonly name: "poolData";
|
|
1807
|
+
readonly type: "bytes";
|
|
1808
|
+
readonly internalType: "bytes";
|
|
1809
|
+
}];
|
|
1810
|
+
}, {
|
|
1811
|
+
readonly name: "poolKey";
|
|
1812
|
+
readonly type: "tuple";
|
|
1813
|
+
readonly internalType: "struct PoolKey";
|
|
1814
|
+
readonly components: readonly [{
|
|
1815
|
+
readonly name: "currency0";
|
|
1816
|
+
readonly type: "address";
|
|
1817
|
+
readonly internalType: "Currency";
|
|
1818
|
+
}, {
|
|
1819
|
+
readonly name: "currency1";
|
|
1820
|
+
readonly type: "address";
|
|
1821
|
+
readonly internalType: "Currency";
|
|
1822
|
+
}, {
|
|
1823
|
+
readonly name: "fee";
|
|
1824
|
+
readonly type: "uint24";
|
|
1825
|
+
readonly internalType: "uint24";
|
|
1826
|
+
}, {
|
|
1827
|
+
readonly name: "tickSpacing";
|
|
1828
|
+
readonly type: "int24";
|
|
1829
|
+
readonly internalType: "int24";
|
|
1830
|
+
}, {
|
|
1831
|
+
readonly name: "hooks";
|
|
1832
|
+
readonly type: "address";
|
|
1833
|
+
readonly internalType: "contract IHooks";
|
|
1834
|
+
}];
|
|
1835
|
+
}, {
|
|
1836
|
+
readonly name: "poolSupply";
|
|
1837
|
+
readonly type: "uint256";
|
|
1838
|
+
readonly internalType: "uint256";
|
|
1839
|
+
}, {
|
|
1840
|
+
readonly name: "token";
|
|
1841
|
+
readonly type: "address";
|
|
1842
|
+
readonly internalType: "address";
|
|
1843
|
+
}];
|
|
1844
|
+
readonly outputs: readonly [{
|
|
1845
|
+
readonly name: "positionId";
|
|
1846
|
+
readonly type: "uint256";
|
|
1847
|
+
readonly internalType: "uint256";
|
|
1848
|
+
}];
|
|
1849
|
+
readonly stateMutability: "nonpayable";
|
|
1850
|
+
}, {
|
|
1851
|
+
readonly type: "function";
|
|
1852
|
+
readonly name: "poolManager";
|
|
1853
|
+
readonly inputs: readonly [];
|
|
1854
|
+
readonly outputs: readonly [{
|
|
1855
|
+
readonly name: "";
|
|
1856
|
+
readonly type: "address";
|
|
1857
|
+
readonly internalType: "contract IPoolManager";
|
|
1858
|
+
}];
|
|
1859
|
+
readonly stateMutability: "view";
|
|
1860
|
+
}, {
|
|
1861
|
+
readonly type: "function";
|
|
1862
|
+
readonly name: "positionManager";
|
|
1863
|
+
readonly inputs: readonly [];
|
|
1864
|
+
readonly outputs: readonly [{
|
|
1865
|
+
readonly name: "";
|
|
1866
|
+
readonly type: "address";
|
|
1867
|
+
readonly internalType: "contract IPositionManager";
|
|
1868
|
+
}];
|
|
1869
|
+
readonly stateMutability: "view";
|
|
1870
|
+
}, {
|
|
1871
|
+
readonly type: "function";
|
|
1872
|
+
readonly name: "renounceOwnership";
|
|
1873
|
+
readonly inputs: readonly [];
|
|
1874
|
+
readonly outputs: readonly [];
|
|
1875
|
+
readonly stateMutability: "nonpayable";
|
|
1876
|
+
}, {
|
|
1877
|
+
readonly type: "function";
|
|
1878
|
+
readonly name: "supportsInterface";
|
|
1879
|
+
readonly inputs: readonly [{
|
|
1880
|
+
readonly name: "interfaceId";
|
|
1881
|
+
readonly type: "bytes4";
|
|
1882
|
+
readonly internalType: "bytes4";
|
|
1883
|
+
}];
|
|
1884
|
+
readonly outputs: readonly [{
|
|
1885
|
+
readonly name: "";
|
|
1886
|
+
readonly type: "bool";
|
|
1887
|
+
readonly internalType: "bool";
|
|
1888
|
+
}];
|
|
1889
|
+
readonly stateMutability: "pure";
|
|
1890
|
+
}, {
|
|
1891
|
+
readonly type: "function";
|
|
1892
|
+
readonly name: "tokenRewards";
|
|
1893
|
+
readonly inputs: readonly [{
|
|
1894
|
+
readonly name: "token";
|
|
1895
|
+
readonly type: "address";
|
|
1896
|
+
readonly internalType: "address";
|
|
1897
|
+
}];
|
|
1898
|
+
readonly outputs: readonly [{
|
|
1899
|
+
readonly name: "";
|
|
1900
|
+
readonly type: "tuple";
|
|
1901
|
+
readonly internalType: "struct IClankerLpLocker.TokenRewardInfo";
|
|
1902
|
+
readonly components: readonly [{
|
|
1903
|
+
readonly name: "token";
|
|
1904
|
+
readonly type: "address";
|
|
1905
|
+
readonly internalType: "address";
|
|
1906
|
+
}, {
|
|
1907
|
+
readonly name: "poolKey";
|
|
1908
|
+
readonly type: "tuple";
|
|
1909
|
+
readonly internalType: "struct PoolKey";
|
|
1910
|
+
readonly components: readonly [{
|
|
1911
|
+
readonly name: "currency0";
|
|
1912
|
+
readonly type: "address";
|
|
1913
|
+
readonly internalType: "Currency";
|
|
1914
|
+
}, {
|
|
1915
|
+
readonly name: "currency1";
|
|
1916
|
+
readonly type: "address";
|
|
1917
|
+
readonly internalType: "Currency";
|
|
1918
|
+
}, {
|
|
1919
|
+
readonly name: "fee";
|
|
1920
|
+
readonly type: "uint24";
|
|
1921
|
+
readonly internalType: "uint24";
|
|
1922
|
+
}, {
|
|
1923
|
+
readonly name: "tickSpacing";
|
|
1924
|
+
readonly type: "int24";
|
|
1925
|
+
readonly internalType: "int24";
|
|
1926
|
+
}, {
|
|
1927
|
+
readonly name: "hooks";
|
|
1928
|
+
readonly type: "address";
|
|
1929
|
+
readonly internalType: "contract IHooks";
|
|
1930
|
+
}];
|
|
1931
|
+
}, {
|
|
1932
|
+
readonly name: "positionId";
|
|
1933
|
+
readonly type: "uint256";
|
|
1934
|
+
readonly internalType: "uint256";
|
|
1935
|
+
}, {
|
|
1936
|
+
readonly name: "numPositions";
|
|
1937
|
+
readonly type: "uint256";
|
|
1938
|
+
readonly internalType: "uint256";
|
|
1939
|
+
}, {
|
|
1940
|
+
readonly name: "rewardBps";
|
|
1941
|
+
readonly type: "uint16[]";
|
|
1942
|
+
readonly internalType: "uint16[]";
|
|
1943
|
+
}, {
|
|
1944
|
+
readonly name: "rewardAdmins";
|
|
1945
|
+
readonly type: "address[]";
|
|
1946
|
+
readonly internalType: "address[]";
|
|
1947
|
+
}, {
|
|
1948
|
+
readonly name: "rewardRecipients";
|
|
1949
|
+
readonly type: "address[]";
|
|
1950
|
+
readonly internalType: "address[]";
|
|
1951
|
+
}];
|
|
1952
|
+
}];
|
|
1953
|
+
readonly stateMutability: "view";
|
|
1954
|
+
}, {
|
|
1955
|
+
readonly type: "function";
|
|
1956
|
+
readonly name: "transferOwnership";
|
|
1957
|
+
readonly inputs: readonly [{
|
|
1958
|
+
readonly name: "newOwner";
|
|
1959
|
+
readonly type: "address";
|
|
1960
|
+
readonly internalType: "address";
|
|
1961
|
+
}];
|
|
1962
|
+
readonly outputs: readonly [];
|
|
1963
|
+
readonly stateMutability: "nonpayable";
|
|
1964
|
+
}, {
|
|
1965
|
+
readonly type: "function";
|
|
1966
|
+
readonly name: "universalRouter";
|
|
1967
|
+
readonly inputs: readonly [];
|
|
1968
|
+
readonly outputs: readonly [{
|
|
1969
|
+
readonly name: "";
|
|
1970
|
+
readonly type: "address";
|
|
1971
|
+
readonly internalType: "contract IUniversalRouter";
|
|
1972
|
+
}];
|
|
1973
|
+
readonly stateMutability: "view";
|
|
1974
|
+
}, {
|
|
1975
|
+
readonly type: "function";
|
|
1976
|
+
readonly name: "updateFeePreference";
|
|
1977
|
+
readonly inputs: readonly [{
|
|
1978
|
+
readonly name: "token";
|
|
1979
|
+
readonly type: "address";
|
|
1980
|
+
readonly internalType: "address";
|
|
1981
|
+
}, {
|
|
1982
|
+
readonly name: "rewardIndex";
|
|
1983
|
+
readonly type: "uint256";
|
|
1984
|
+
readonly internalType: "uint256";
|
|
1985
|
+
}, {
|
|
1986
|
+
readonly name: "newFeePreference";
|
|
1987
|
+
readonly type: "uint8";
|
|
1988
|
+
readonly internalType: "enum IClankerLpLockerFeeConversion.FeeIn";
|
|
1989
|
+
}];
|
|
1990
|
+
readonly outputs: readonly [];
|
|
1991
|
+
readonly stateMutability: "nonpayable";
|
|
1992
|
+
}, {
|
|
1993
|
+
readonly type: "function";
|
|
1994
|
+
readonly name: "updateRewardAdmin";
|
|
1995
|
+
readonly inputs: readonly [{
|
|
1996
|
+
readonly name: "token";
|
|
1997
|
+
readonly type: "address";
|
|
1998
|
+
readonly internalType: "address";
|
|
1999
|
+
}, {
|
|
2000
|
+
readonly name: "rewardIndex";
|
|
2001
|
+
readonly type: "uint256";
|
|
2002
|
+
readonly internalType: "uint256";
|
|
2003
|
+
}, {
|
|
2004
|
+
readonly name: "newAdmin";
|
|
2005
|
+
readonly type: "address";
|
|
2006
|
+
readonly internalType: "address";
|
|
2007
|
+
}];
|
|
2008
|
+
readonly outputs: readonly [];
|
|
2009
|
+
readonly stateMutability: "nonpayable";
|
|
2010
|
+
}, {
|
|
2011
|
+
readonly type: "function";
|
|
2012
|
+
readonly name: "updateRewardRecipient";
|
|
2013
|
+
readonly inputs: readonly [{
|
|
2014
|
+
readonly name: "token";
|
|
2015
|
+
readonly type: "address";
|
|
2016
|
+
readonly internalType: "address";
|
|
2017
|
+
}, {
|
|
2018
|
+
readonly name: "rewardIndex";
|
|
2019
|
+
readonly type: "uint256";
|
|
2020
|
+
readonly internalType: "uint256";
|
|
2021
|
+
}, {
|
|
2022
|
+
readonly name: "newRecipient";
|
|
2023
|
+
readonly type: "address";
|
|
2024
|
+
readonly internalType: "address";
|
|
2025
|
+
}];
|
|
2026
|
+
readonly outputs: readonly [];
|
|
2027
|
+
readonly stateMutability: "nonpayable";
|
|
2028
|
+
}, {
|
|
2029
|
+
readonly type: "function";
|
|
2030
|
+
readonly name: "version";
|
|
2031
|
+
readonly inputs: readonly [];
|
|
2032
|
+
readonly outputs: readonly [{
|
|
2033
|
+
readonly name: "";
|
|
2034
|
+
readonly type: "string";
|
|
2035
|
+
readonly internalType: "string";
|
|
2036
|
+
}];
|
|
2037
|
+
readonly stateMutability: "view";
|
|
2038
|
+
}, {
|
|
2039
|
+
readonly type: "function";
|
|
2040
|
+
readonly name: "withdrawERC20";
|
|
2041
|
+
readonly inputs: readonly [{
|
|
2042
|
+
readonly name: "token";
|
|
2043
|
+
readonly type: "address";
|
|
2044
|
+
readonly internalType: "address";
|
|
2045
|
+
}, {
|
|
2046
|
+
readonly name: "recipient";
|
|
2047
|
+
readonly type: "address";
|
|
2048
|
+
readonly internalType: "address";
|
|
2049
|
+
}];
|
|
2050
|
+
readonly outputs: readonly [];
|
|
2051
|
+
readonly stateMutability: "nonpayable";
|
|
2052
|
+
}, {
|
|
2053
|
+
readonly type: "function";
|
|
2054
|
+
readonly name: "withdrawETH";
|
|
2055
|
+
readonly inputs: readonly [{
|
|
2056
|
+
readonly name: "recipient";
|
|
2057
|
+
readonly type: "address";
|
|
2058
|
+
readonly internalType: "address";
|
|
2059
|
+
}];
|
|
2060
|
+
readonly outputs: readonly [];
|
|
2061
|
+
readonly stateMutability: "nonpayable";
|
|
2062
|
+
}, {
|
|
2063
|
+
readonly type: "event";
|
|
2064
|
+
readonly name: "ClaimedRewards";
|
|
2065
|
+
readonly inputs: readonly [{
|
|
2066
|
+
readonly name: "token";
|
|
2067
|
+
readonly type: "address";
|
|
2068
|
+
readonly indexed: true;
|
|
2069
|
+
readonly internalType: "address";
|
|
2070
|
+
}, {
|
|
2071
|
+
readonly name: "amount0";
|
|
2072
|
+
readonly type: "uint256";
|
|
2073
|
+
readonly indexed: false;
|
|
2074
|
+
readonly internalType: "uint256";
|
|
2075
|
+
}, {
|
|
2076
|
+
readonly name: "amount1";
|
|
2077
|
+
readonly type: "uint256";
|
|
2078
|
+
readonly indexed: false;
|
|
2079
|
+
readonly internalType: "uint256";
|
|
2080
|
+
}, {
|
|
2081
|
+
readonly name: "rewards0";
|
|
2082
|
+
readonly type: "uint256[]";
|
|
2083
|
+
readonly indexed: false;
|
|
2084
|
+
readonly internalType: "uint256[]";
|
|
2085
|
+
}, {
|
|
2086
|
+
readonly name: "rewards1";
|
|
2087
|
+
readonly type: "uint256[]";
|
|
2088
|
+
readonly indexed: false;
|
|
2089
|
+
readonly internalType: "uint256[]";
|
|
2090
|
+
}];
|
|
2091
|
+
readonly anonymous: false;
|
|
2092
|
+
}, {
|
|
2093
|
+
readonly type: "event";
|
|
2094
|
+
readonly name: "FeePreferenceUpdated";
|
|
2095
|
+
readonly inputs: readonly [{
|
|
2096
|
+
readonly name: "token";
|
|
2097
|
+
readonly type: "address";
|
|
2098
|
+
readonly indexed: true;
|
|
2099
|
+
readonly internalType: "address";
|
|
2100
|
+
}, {
|
|
2101
|
+
readonly name: "rewardIndex";
|
|
2102
|
+
readonly type: "uint256";
|
|
2103
|
+
readonly indexed: true;
|
|
2104
|
+
readonly internalType: "uint256";
|
|
2105
|
+
}, {
|
|
2106
|
+
readonly name: "oldFeePreference";
|
|
2107
|
+
readonly type: "uint8";
|
|
2108
|
+
readonly indexed: false;
|
|
2109
|
+
readonly internalType: "enum IClankerLpLockerFeeConversion.FeeIn";
|
|
2110
|
+
}, {
|
|
2111
|
+
readonly name: "newFeePreference";
|
|
2112
|
+
readonly type: "uint8";
|
|
2113
|
+
readonly indexed: true;
|
|
2114
|
+
readonly internalType: "enum IClankerLpLockerFeeConversion.FeeIn";
|
|
2115
|
+
}];
|
|
2116
|
+
readonly anonymous: false;
|
|
2117
|
+
}, {
|
|
2118
|
+
readonly type: "event";
|
|
2119
|
+
readonly name: "FeesSwapped";
|
|
2120
|
+
readonly inputs: readonly [{
|
|
2121
|
+
readonly name: "token";
|
|
2122
|
+
readonly type: "address";
|
|
2123
|
+
readonly indexed: true;
|
|
2124
|
+
readonly internalType: "address";
|
|
2125
|
+
}, {
|
|
2126
|
+
readonly name: "rewardToken";
|
|
2127
|
+
readonly type: "address";
|
|
2128
|
+
readonly indexed: true;
|
|
2129
|
+
readonly internalType: "address";
|
|
2130
|
+
}, {
|
|
2131
|
+
readonly name: "amountSwapped";
|
|
2132
|
+
readonly type: "uint256";
|
|
2133
|
+
readonly indexed: false;
|
|
2134
|
+
readonly internalType: "uint256";
|
|
2135
|
+
}, {
|
|
2136
|
+
readonly name: "swappedToken";
|
|
2137
|
+
readonly type: "address";
|
|
2138
|
+
readonly indexed: true;
|
|
2139
|
+
readonly internalType: "address";
|
|
2140
|
+
}, {
|
|
2141
|
+
readonly name: "amountOut";
|
|
2142
|
+
readonly type: "uint256";
|
|
2143
|
+
readonly indexed: false;
|
|
2144
|
+
readonly internalType: "uint256";
|
|
2145
|
+
}];
|
|
2146
|
+
readonly anonymous: false;
|
|
2147
|
+
}, {
|
|
2148
|
+
readonly type: "event";
|
|
2149
|
+
readonly name: "InitialFeePreferences";
|
|
2150
|
+
readonly inputs: readonly [{
|
|
2151
|
+
readonly name: "token";
|
|
2152
|
+
readonly type: "address";
|
|
2153
|
+
readonly indexed: true;
|
|
2154
|
+
readonly internalType: "address";
|
|
2155
|
+
}, {
|
|
2156
|
+
readonly name: "feePreference";
|
|
2157
|
+
readonly type: "uint8[]";
|
|
2158
|
+
readonly indexed: false;
|
|
2159
|
+
readonly internalType: "enum IClankerLpLockerFeeConversion.FeeIn[]";
|
|
2160
|
+
}];
|
|
2161
|
+
readonly anonymous: false;
|
|
2162
|
+
}, {
|
|
2163
|
+
readonly type: "event";
|
|
2164
|
+
readonly name: "OwnershipTransferred";
|
|
2165
|
+
readonly inputs: readonly [{
|
|
2166
|
+
readonly name: "previousOwner";
|
|
2167
|
+
readonly type: "address";
|
|
2168
|
+
readonly indexed: true;
|
|
2169
|
+
readonly internalType: "address";
|
|
2170
|
+
}, {
|
|
2171
|
+
readonly name: "newOwner";
|
|
2172
|
+
readonly type: "address";
|
|
2173
|
+
readonly indexed: true;
|
|
2174
|
+
readonly internalType: "address";
|
|
2175
|
+
}];
|
|
2176
|
+
readonly anonymous: false;
|
|
2177
|
+
}, {
|
|
2178
|
+
readonly type: "event";
|
|
2179
|
+
readonly name: "Received";
|
|
2180
|
+
readonly inputs: readonly [{
|
|
2181
|
+
readonly name: "from";
|
|
2182
|
+
readonly type: "address";
|
|
2183
|
+
readonly indexed: true;
|
|
2184
|
+
readonly internalType: "address";
|
|
2185
|
+
}, {
|
|
2186
|
+
readonly name: "positionId";
|
|
2187
|
+
readonly type: "uint256";
|
|
2188
|
+
readonly indexed: false;
|
|
2189
|
+
readonly internalType: "uint256";
|
|
2190
|
+
}];
|
|
2191
|
+
readonly anonymous: false;
|
|
2192
|
+
}, {
|
|
2193
|
+
readonly type: "event";
|
|
2194
|
+
readonly name: "RewardAdminUpdated";
|
|
2195
|
+
readonly inputs: readonly [{
|
|
2196
|
+
readonly name: "token";
|
|
2197
|
+
readonly type: "address";
|
|
2198
|
+
readonly indexed: true;
|
|
2199
|
+
readonly internalType: "address";
|
|
2200
|
+
}, {
|
|
2201
|
+
readonly name: "rewardIndex";
|
|
2202
|
+
readonly type: "uint256";
|
|
2203
|
+
readonly indexed: true;
|
|
2204
|
+
readonly internalType: "uint256";
|
|
2205
|
+
}, {
|
|
2206
|
+
readonly name: "oldAdmin";
|
|
2207
|
+
readonly type: "address";
|
|
2208
|
+
readonly indexed: false;
|
|
2209
|
+
readonly internalType: "address";
|
|
2210
|
+
}, {
|
|
2211
|
+
readonly name: "newAdmin";
|
|
2212
|
+
readonly type: "address";
|
|
2213
|
+
readonly indexed: false;
|
|
2214
|
+
readonly internalType: "address";
|
|
2215
|
+
}];
|
|
2216
|
+
readonly anonymous: false;
|
|
2217
|
+
}, {
|
|
2218
|
+
readonly type: "event";
|
|
2219
|
+
readonly name: "RewardRecipientUpdated";
|
|
2220
|
+
readonly inputs: readonly [{
|
|
2221
|
+
readonly name: "token";
|
|
2222
|
+
readonly type: "address";
|
|
2223
|
+
readonly indexed: true;
|
|
2224
|
+
readonly internalType: "address";
|
|
2225
|
+
}, {
|
|
2226
|
+
readonly name: "rewardIndex";
|
|
2227
|
+
readonly type: "uint256";
|
|
2228
|
+
readonly indexed: true;
|
|
2229
|
+
readonly internalType: "uint256";
|
|
2230
|
+
}, {
|
|
2231
|
+
readonly name: "oldRecipient";
|
|
2232
|
+
readonly type: "address";
|
|
2233
|
+
readonly indexed: false;
|
|
2234
|
+
readonly internalType: "address";
|
|
2235
|
+
}, {
|
|
2236
|
+
readonly name: "newRecipient";
|
|
2237
|
+
readonly type: "address";
|
|
2238
|
+
readonly indexed: false;
|
|
2239
|
+
readonly internalType: "address";
|
|
2240
|
+
}];
|
|
2241
|
+
readonly anonymous: false;
|
|
2242
|
+
}, {
|
|
2243
|
+
readonly type: "event";
|
|
2244
|
+
readonly name: "TokenRewardAdded";
|
|
2245
|
+
readonly inputs: readonly [{
|
|
2246
|
+
readonly name: "token";
|
|
2247
|
+
readonly type: "address";
|
|
2248
|
+
readonly indexed: false;
|
|
2249
|
+
readonly internalType: "address";
|
|
2250
|
+
}, {
|
|
2251
|
+
readonly name: "poolKey";
|
|
2252
|
+
readonly type: "tuple";
|
|
2253
|
+
readonly indexed: false;
|
|
2254
|
+
readonly internalType: "struct PoolKey";
|
|
2255
|
+
readonly components: readonly [{
|
|
2256
|
+
readonly name: "currency0";
|
|
2257
|
+
readonly type: "address";
|
|
2258
|
+
readonly internalType: "Currency";
|
|
2259
|
+
}, {
|
|
2260
|
+
readonly name: "currency1";
|
|
2261
|
+
readonly type: "address";
|
|
2262
|
+
readonly internalType: "Currency";
|
|
2263
|
+
}, {
|
|
2264
|
+
readonly name: "fee";
|
|
2265
|
+
readonly type: "uint24";
|
|
2266
|
+
readonly internalType: "uint24";
|
|
2267
|
+
}, {
|
|
2268
|
+
readonly name: "tickSpacing";
|
|
2269
|
+
readonly type: "int24";
|
|
2270
|
+
readonly internalType: "int24";
|
|
2271
|
+
}, {
|
|
2272
|
+
readonly name: "hooks";
|
|
2273
|
+
readonly type: "address";
|
|
2274
|
+
readonly internalType: "contract IHooks";
|
|
2275
|
+
}];
|
|
2276
|
+
}, {
|
|
2277
|
+
readonly name: "poolSupply";
|
|
2278
|
+
readonly type: "uint256";
|
|
2279
|
+
readonly indexed: false;
|
|
2280
|
+
readonly internalType: "uint256";
|
|
2281
|
+
}, {
|
|
2282
|
+
readonly name: "positionId";
|
|
2283
|
+
readonly type: "uint256";
|
|
2284
|
+
readonly indexed: false;
|
|
2285
|
+
readonly internalType: "uint256";
|
|
2286
|
+
}, {
|
|
2287
|
+
readonly name: "numPositions";
|
|
2288
|
+
readonly type: "uint256";
|
|
2289
|
+
readonly indexed: false;
|
|
2290
|
+
readonly internalType: "uint256";
|
|
2291
|
+
}, {
|
|
2292
|
+
readonly name: "rewardBps";
|
|
2293
|
+
readonly type: "uint16[]";
|
|
2294
|
+
readonly indexed: false;
|
|
2295
|
+
readonly internalType: "uint16[]";
|
|
2296
|
+
}, {
|
|
2297
|
+
readonly name: "rewardAdmins";
|
|
2298
|
+
readonly type: "address[]";
|
|
2299
|
+
readonly indexed: false;
|
|
2300
|
+
readonly internalType: "address[]";
|
|
2301
|
+
}, {
|
|
2302
|
+
readonly name: "rewardRecipients";
|
|
2303
|
+
readonly type: "address[]";
|
|
2304
|
+
readonly indexed: false;
|
|
2305
|
+
readonly internalType: "address[]";
|
|
2306
|
+
}, {
|
|
2307
|
+
readonly name: "tickLower";
|
|
2308
|
+
readonly type: "int24[]";
|
|
2309
|
+
readonly indexed: false;
|
|
2310
|
+
readonly internalType: "int24[]";
|
|
2311
|
+
}, {
|
|
2312
|
+
readonly name: "tickUpper";
|
|
2313
|
+
readonly type: "int24[]";
|
|
2314
|
+
readonly indexed: false;
|
|
2315
|
+
readonly internalType: "int24[]";
|
|
2316
|
+
}, {
|
|
2317
|
+
readonly name: "positionBps";
|
|
2318
|
+
readonly type: "uint16[]";
|
|
2319
|
+
readonly indexed: false;
|
|
2320
|
+
readonly internalType: "uint16[]";
|
|
2321
|
+
}];
|
|
2322
|
+
readonly anonymous: false;
|
|
2323
|
+
}, {
|
|
2324
|
+
readonly type: "error";
|
|
2325
|
+
readonly name: "InvalidPositionBps";
|
|
2326
|
+
readonly inputs: readonly [];
|
|
2327
|
+
}, {
|
|
2328
|
+
readonly type: "error";
|
|
2329
|
+
readonly name: "InvalidRewardBps";
|
|
2330
|
+
readonly inputs: readonly [];
|
|
2331
|
+
}, {
|
|
2332
|
+
readonly type: "error";
|
|
2333
|
+
readonly name: "MismatchedPositionInfos";
|
|
2334
|
+
readonly inputs: readonly [];
|
|
2335
|
+
}, {
|
|
2336
|
+
readonly type: "error";
|
|
2337
|
+
readonly name: "MismatchedRewardArrays";
|
|
2338
|
+
readonly inputs: readonly [];
|
|
2339
|
+
}, {
|
|
2340
|
+
readonly type: "error";
|
|
2341
|
+
readonly name: "NoPositions";
|
|
2342
|
+
readonly inputs: readonly [];
|
|
2343
|
+
}, {
|
|
2344
|
+
readonly type: "error";
|
|
2345
|
+
readonly name: "NoRewardRecipients";
|
|
2346
|
+
readonly inputs: readonly [];
|
|
2347
|
+
}, {
|
|
2348
|
+
readonly type: "error";
|
|
2349
|
+
readonly name: "OwnableInvalidOwner";
|
|
2350
|
+
readonly inputs: readonly [{
|
|
2351
|
+
readonly name: "owner";
|
|
2352
|
+
readonly type: "address";
|
|
2353
|
+
readonly internalType: "address";
|
|
2354
|
+
}];
|
|
2355
|
+
}, {
|
|
2356
|
+
readonly type: "error";
|
|
2357
|
+
readonly name: "OwnableUnauthorizedAccount";
|
|
2358
|
+
readonly inputs: readonly [{
|
|
2359
|
+
readonly name: "account";
|
|
2360
|
+
readonly type: "address";
|
|
2361
|
+
readonly internalType: "address";
|
|
2362
|
+
}];
|
|
2363
|
+
}, {
|
|
2364
|
+
readonly type: "error";
|
|
2365
|
+
readonly name: "ReentrancyGuardReentrantCall";
|
|
2366
|
+
readonly inputs: readonly [];
|
|
2367
|
+
}, {
|
|
2368
|
+
readonly type: "error";
|
|
2369
|
+
readonly name: "SafeERC20FailedOperation";
|
|
2370
|
+
readonly inputs: readonly [{
|
|
2371
|
+
readonly name: "token";
|
|
2372
|
+
readonly type: "address";
|
|
2373
|
+
readonly internalType: "address";
|
|
2374
|
+
}];
|
|
2375
|
+
}, {
|
|
2376
|
+
readonly type: "error";
|
|
2377
|
+
readonly name: "TickRangeLowerThanStartingTick";
|
|
2378
|
+
readonly inputs: readonly [];
|
|
2379
|
+
}, {
|
|
2380
|
+
readonly type: "error";
|
|
2381
|
+
readonly name: "TicksBackwards";
|
|
2382
|
+
readonly inputs: readonly [];
|
|
2383
|
+
}, {
|
|
2384
|
+
readonly type: "error";
|
|
2385
|
+
readonly name: "TicksNotMultipleOfTickSpacing";
|
|
2386
|
+
readonly inputs: readonly [];
|
|
2387
|
+
}, {
|
|
2388
|
+
readonly type: "error";
|
|
2389
|
+
readonly name: "TicksOutOfTickBounds";
|
|
2390
|
+
readonly inputs: readonly [];
|
|
2391
|
+
}, {
|
|
2392
|
+
readonly type: "error";
|
|
2393
|
+
readonly name: "TokenAlreadyHasRewards";
|
|
2394
|
+
readonly inputs: readonly [];
|
|
2395
|
+
}, {
|
|
2396
|
+
readonly type: "error";
|
|
2397
|
+
readonly name: "TooManyPositions";
|
|
2398
|
+
readonly inputs: readonly [];
|
|
2399
|
+
}, {
|
|
2400
|
+
readonly type: "error";
|
|
2401
|
+
readonly name: "TooManyRewardParticipants";
|
|
2402
|
+
readonly inputs: readonly [];
|
|
2403
|
+
}, {
|
|
2404
|
+
readonly type: "error";
|
|
2405
|
+
readonly name: "Unauthorized";
|
|
2406
|
+
readonly inputs: readonly [];
|
|
2407
|
+
}, {
|
|
2408
|
+
readonly type: "error";
|
|
2409
|
+
readonly name: "ZeroRewardAddress";
|
|
2410
|
+
readonly inputs: readonly [];
|
|
2411
|
+
}, {
|
|
2412
|
+
readonly type: "error";
|
|
2413
|
+
readonly name: "ZeroRewardAmount";
|
|
2414
|
+
readonly inputs: readonly [];
|
|
2415
|
+
}], "renounceOwnership" | "transferOwnership" | "collectRewards" | "collectRewardsWithoutUnlock" | "onERC721Received" | "placeLiquidity" | "updateFeePreference" | "updateRewardAdmin" | "updateRewardRecipient" | "withdrawERC20" | "withdrawETH"> & {
|
|
2416
|
+
error?: undefined;
|
|
2417
|
+
}) | ({
|
|
2418
|
+
result?: undefined;
|
|
2419
|
+
request?: undefined;
|
|
2420
|
+
} & {
|
|
2421
|
+
error: ClankerError;
|
|
2422
|
+
})>;
|
|
2423
|
+
/**
|
|
2424
|
+
* Simulate updating the reward admin. Will use the wallet account on the Clanker class or
|
|
2425
|
+
* the passed-in account.
|
|
2426
|
+
*
|
|
2427
|
+
* @param token The token to update the reward admin for
|
|
2428
|
+
* @param rewardIndex The index of the reward to update
|
|
2429
|
+
* @param newAdmin The new admin address
|
|
2430
|
+
* @param account Optional account to simulate calling for
|
|
2431
|
+
* @returns The simulated output
|
|
2432
|
+
*/
|
|
2433
|
+
updateRewardAdminSimulate({ token, rewardIndex, newAdmin, }: {
|
|
2434
|
+
token: `0x${string}`;
|
|
2435
|
+
rewardIndex: bigint;
|
|
2436
|
+
newAdmin: `0x${string}`;
|
|
2437
|
+
}, account?: Account): Promise<(import("viem").SimulateContractReturnType<readonly [{
|
|
2438
|
+
readonly type: "constructor";
|
|
2439
|
+
readonly inputs: readonly [{
|
|
2440
|
+
readonly name: "owner_";
|
|
2441
|
+
readonly type: "address";
|
|
2442
|
+
readonly internalType: "address";
|
|
2443
|
+
}, {
|
|
2444
|
+
readonly name: "factory_";
|
|
2445
|
+
readonly type: "address";
|
|
2446
|
+
readonly internalType: "address";
|
|
2447
|
+
}, {
|
|
2448
|
+
readonly name: "feeLocker_";
|
|
2449
|
+
readonly type: "address";
|
|
2450
|
+
readonly internalType: "address";
|
|
2451
|
+
}, {
|
|
2452
|
+
readonly name: "positionManager_";
|
|
2453
|
+
readonly type: "address";
|
|
2454
|
+
readonly internalType: "address";
|
|
2455
|
+
}, {
|
|
2456
|
+
readonly name: "permit2_";
|
|
2457
|
+
readonly type: "address";
|
|
2458
|
+
readonly internalType: "address";
|
|
2459
|
+
}, {
|
|
2460
|
+
readonly name: "universalRouter_";
|
|
2461
|
+
readonly type: "address";
|
|
2462
|
+
readonly internalType: "address";
|
|
2463
|
+
}, {
|
|
2464
|
+
readonly name: "poolManager_";
|
|
2465
|
+
readonly type: "address";
|
|
2466
|
+
readonly internalType: "address";
|
|
2467
|
+
}];
|
|
2468
|
+
readonly stateMutability: "nonpayable";
|
|
2469
|
+
}, {
|
|
2470
|
+
readonly type: "function";
|
|
2471
|
+
readonly name: "BASIS_POINTS";
|
|
2472
|
+
readonly inputs: readonly [];
|
|
2473
|
+
readonly outputs: readonly [{
|
|
2474
|
+
readonly name: "";
|
|
2475
|
+
readonly type: "uint256";
|
|
2476
|
+
readonly internalType: "uint256";
|
|
2477
|
+
}];
|
|
2478
|
+
readonly stateMutability: "view";
|
|
2479
|
+
}, {
|
|
2480
|
+
readonly type: "function";
|
|
2481
|
+
readonly name: "MAX_LP_POSITIONS";
|
|
2482
|
+
readonly inputs: readonly [];
|
|
2483
|
+
readonly outputs: readonly [{
|
|
2484
|
+
readonly name: "";
|
|
2485
|
+
readonly type: "uint256";
|
|
2486
|
+
readonly internalType: "uint256";
|
|
2487
|
+
}];
|
|
2488
|
+
readonly stateMutability: "view";
|
|
2489
|
+
}, {
|
|
2490
|
+
readonly type: "function";
|
|
2491
|
+
readonly name: "MAX_REWARD_PARTICIPANTS";
|
|
2492
|
+
readonly inputs: readonly [];
|
|
2493
|
+
readonly outputs: readonly [{
|
|
2494
|
+
readonly name: "";
|
|
2495
|
+
readonly type: "uint256";
|
|
2496
|
+
readonly internalType: "uint256";
|
|
2497
|
+
}];
|
|
2498
|
+
readonly stateMutability: "view";
|
|
2499
|
+
}, {
|
|
2500
|
+
readonly type: "function";
|
|
2501
|
+
readonly name: "collectRewards";
|
|
2502
|
+
readonly inputs: readonly [{
|
|
2503
|
+
readonly name: "token";
|
|
2504
|
+
readonly type: "address";
|
|
2505
|
+
readonly internalType: "address";
|
|
2506
|
+
}];
|
|
2507
|
+
readonly outputs: readonly [];
|
|
2508
|
+
readonly stateMutability: "nonpayable";
|
|
2509
|
+
}, {
|
|
2510
|
+
readonly type: "function";
|
|
2511
|
+
readonly name: "collectRewardsWithoutUnlock";
|
|
2512
|
+
readonly inputs: readonly [{
|
|
2513
|
+
readonly name: "token";
|
|
2514
|
+
readonly type: "address";
|
|
2515
|
+
readonly internalType: "address";
|
|
2516
|
+
}];
|
|
2517
|
+
readonly outputs: readonly [];
|
|
2518
|
+
readonly stateMutability: "nonpayable";
|
|
2519
|
+
}, {
|
|
2520
|
+
readonly type: "function";
|
|
2521
|
+
readonly name: "factory";
|
|
2522
|
+
readonly inputs: readonly [];
|
|
2523
|
+
readonly outputs: readonly [{
|
|
2524
|
+
readonly name: "";
|
|
2525
|
+
readonly type: "address";
|
|
2526
|
+
readonly internalType: "address";
|
|
2527
|
+
}];
|
|
2528
|
+
readonly stateMutability: "view";
|
|
2529
|
+
}, {
|
|
2530
|
+
readonly type: "function";
|
|
2531
|
+
readonly name: "feeLocker";
|
|
2532
|
+
readonly inputs: readonly [];
|
|
2533
|
+
readonly outputs: readonly [{
|
|
2534
|
+
readonly name: "";
|
|
2535
|
+
readonly type: "address";
|
|
2536
|
+
readonly internalType: "contract IClankerFeeLocker";
|
|
2537
|
+
}];
|
|
2538
|
+
readonly stateMutability: "view";
|
|
2539
|
+
}, {
|
|
2540
|
+
readonly type: "function";
|
|
2541
|
+
readonly name: "feePreferences";
|
|
2542
|
+
readonly inputs: readonly [{
|
|
2543
|
+
readonly name: "token";
|
|
2544
|
+
readonly type: "address";
|
|
2545
|
+
readonly internalType: "address";
|
|
2546
|
+
}, {
|
|
2547
|
+
readonly name: "";
|
|
2548
|
+
readonly type: "uint256";
|
|
2549
|
+
readonly internalType: "uint256";
|
|
2550
|
+
}];
|
|
2551
|
+
readonly outputs: readonly [{
|
|
2552
|
+
readonly name: "feePreference";
|
|
2553
|
+
readonly type: "uint8";
|
|
2554
|
+
readonly internalType: "enum IClankerLpLockerFeeConversion.FeeIn";
|
|
2555
|
+
}];
|
|
2556
|
+
readonly stateMutability: "view";
|
|
2557
|
+
}, {
|
|
2558
|
+
readonly type: "function";
|
|
2559
|
+
readonly name: "onERC721Received";
|
|
2560
|
+
readonly inputs: readonly [{
|
|
2561
|
+
readonly name: "";
|
|
2562
|
+
readonly type: "address";
|
|
2563
|
+
readonly internalType: "address";
|
|
2564
|
+
}, {
|
|
2565
|
+
readonly name: "from";
|
|
2566
|
+
readonly type: "address";
|
|
2567
|
+
readonly internalType: "address";
|
|
2568
|
+
}, {
|
|
2569
|
+
readonly name: "id";
|
|
2570
|
+
readonly type: "uint256";
|
|
2571
|
+
readonly internalType: "uint256";
|
|
2572
|
+
}, {
|
|
2573
|
+
readonly name: "";
|
|
2574
|
+
readonly type: "bytes";
|
|
2575
|
+
readonly internalType: "bytes";
|
|
2576
|
+
}];
|
|
2577
|
+
readonly outputs: readonly [{
|
|
2578
|
+
readonly name: "";
|
|
2579
|
+
readonly type: "bytes4";
|
|
2580
|
+
readonly internalType: "bytes4";
|
|
2581
|
+
}];
|
|
2582
|
+
readonly stateMutability: "nonpayable";
|
|
2583
|
+
}, {
|
|
2584
|
+
readonly type: "function";
|
|
2585
|
+
readonly name: "owner";
|
|
2586
|
+
readonly inputs: readonly [];
|
|
2587
|
+
readonly outputs: readonly [{
|
|
2588
|
+
readonly name: "";
|
|
2589
|
+
readonly type: "address";
|
|
2590
|
+
readonly internalType: "address";
|
|
2591
|
+
}];
|
|
2592
|
+
readonly stateMutability: "view";
|
|
2593
|
+
}, {
|
|
2594
|
+
readonly type: "function";
|
|
2595
|
+
readonly name: "permit2";
|
|
2596
|
+
readonly inputs: readonly [];
|
|
2597
|
+
readonly outputs: readonly [{
|
|
2598
|
+
readonly name: "";
|
|
2599
|
+
readonly type: "address";
|
|
2600
|
+
readonly internalType: "contract IPermit2";
|
|
2601
|
+
}];
|
|
2602
|
+
readonly stateMutability: "view";
|
|
2603
|
+
}, {
|
|
2604
|
+
readonly type: "function";
|
|
2605
|
+
readonly name: "placeLiquidity";
|
|
2606
|
+
readonly inputs: readonly [{
|
|
2607
|
+
readonly name: "lockerConfig";
|
|
2608
|
+
readonly type: "tuple";
|
|
2609
|
+
readonly internalType: "struct IClanker.LockerConfig";
|
|
2610
|
+
readonly components: readonly [{
|
|
2611
|
+
readonly name: "locker";
|
|
2612
|
+
readonly type: "address";
|
|
2613
|
+
readonly internalType: "address";
|
|
2614
|
+
}, {
|
|
2615
|
+
readonly name: "rewardAdmins";
|
|
2616
|
+
readonly type: "address[]";
|
|
2617
|
+
readonly internalType: "address[]";
|
|
2618
|
+
}, {
|
|
2619
|
+
readonly name: "rewardRecipients";
|
|
2620
|
+
readonly type: "address[]";
|
|
2621
|
+
readonly internalType: "address[]";
|
|
2622
|
+
}, {
|
|
2623
|
+
readonly name: "rewardBps";
|
|
2624
|
+
readonly type: "uint16[]";
|
|
2625
|
+
readonly internalType: "uint16[]";
|
|
2626
|
+
}, {
|
|
2627
|
+
readonly name: "tickLower";
|
|
2628
|
+
readonly type: "int24[]";
|
|
2629
|
+
readonly internalType: "int24[]";
|
|
2630
|
+
}, {
|
|
2631
|
+
readonly name: "tickUpper";
|
|
2632
|
+
readonly type: "int24[]";
|
|
2633
|
+
readonly internalType: "int24[]";
|
|
2634
|
+
}, {
|
|
2635
|
+
readonly name: "positionBps";
|
|
2636
|
+
readonly type: "uint16[]";
|
|
2637
|
+
readonly internalType: "uint16[]";
|
|
2638
|
+
}, {
|
|
2639
|
+
readonly name: "lockerData";
|
|
2640
|
+
readonly type: "bytes";
|
|
2641
|
+
readonly internalType: "bytes";
|
|
2642
|
+
}];
|
|
2643
|
+
}, {
|
|
2644
|
+
readonly name: "poolConfig";
|
|
2645
|
+
readonly type: "tuple";
|
|
2646
|
+
readonly internalType: "struct IClanker.PoolConfig";
|
|
2647
|
+
readonly components: readonly [{
|
|
2648
|
+
readonly name: "hook";
|
|
2649
|
+
readonly type: "address";
|
|
2650
|
+
readonly internalType: "address";
|
|
2651
|
+
}, {
|
|
2652
|
+
readonly name: "pairedToken";
|
|
2653
|
+
readonly type: "address";
|
|
2654
|
+
readonly internalType: "address";
|
|
2655
|
+
}, {
|
|
2656
|
+
readonly name: "tickIfToken0IsClanker";
|
|
2657
|
+
readonly type: "int24";
|
|
2658
|
+
readonly internalType: "int24";
|
|
2659
|
+
}, {
|
|
2660
|
+
readonly name: "tickSpacing";
|
|
2661
|
+
readonly type: "int24";
|
|
2662
|
+
readonly internalType: "int24";
|
|
2663
|
+
}, {
|
|
2664
|
+
readonly name: "poolData";
|
|
2665
|
+
readonly type: "bytes";
|
|
2666
|
+
readonly internalType: "bytes";
|
|
2667
|
+
}];
|
|
2668
|
+
}, {
|
|
2669
|
+
readonly name: "poolKey";
|
|
2670
|
+
readonly type: "tuple";
|
|
2671
|
+
readonly internalType: "struct PoolKey";
|
|
2672
|
+
readonly components: readonly [{
|
|
2673
|
+
readonly name: "currency0";
|
|
2674
|
+
readonly type: "address";
|
|
2675
|
+
readonly internalType: "Currency";
|
|
2676
|
+
}, {
|
|
2677
|
+
readonly name: "currency1";
|
|
2678
|
+
readonly type: "address";
|
|
2679
|
+
readonly internalType: "Currency";
|
|
2680
|
+
}, {
|
|
2681
|
+
readonly name: "fee";
|
|
2682
|
+
readonly type: "uint24";
|
|
2683
|
+
readonly internalType: "uint24";
|
|
2684
|
+
}, {
|
|
2685
|
+
readonly name: "tickSpacing";
|
|
2686
|
+
readonly type: "int24";
|
|
2687
|
+
readonly internalType: "int24";
|
|
2688
|
+
}, {
|
|
2689
|
+
readonly name: "hooks";
|
|
2690
|
+
readonly type: "address";
|
|
2691
|
+
readonly internalType: "contract IHooks";
|
|
2692
|
+
}];
|
|
2693
|
+
}, {
|
|
2694
|
+
readonly name: "poolSupply";
|
|
2695
|
+
readonly type: "uint256";
|
|
2696
|
+
readonly internalType: "uint256";
|
|
2697
|
+
}, {
|
|
2698
|
+
readonly name: "token";
|
|
2699
|
+
readonly type: "address";
|
|
2700
|
+
readonly internalType: "address";
|
|
2701
|
+
}];
|
|
2702
|
+
readonly outputs: readonly [{
|
|
2703
|
+
readonly name: "positionId";
|
|
2704
|
+
readonly type: "uint256";
|
|
2705
|
+
readonly internalType: "uint256";
|
|
2706
|
+
}];
|
|
2707
|
+
readonly stateMutability: "nonpayable";
|
|
2708
|
+
}, {
|
|
2709
|
+
readonly type: "function";
|
|
2710
|
+
readonly name: "poolManager";
|
|
2711
|
+
readonly inputs: readonly [];
|
|
2712
|
+
readonly outputs: readonly [{
|
|
2713
|
+
readonly name: "";
|
|
2714
|
+
readonly type: "address";
|
|
2715
|
+
readonly internalType: "contract IPoolManager";
|
|
2716
|
+
}];
|
|
2717
|
+
readonly stateMutability: "view";
|
|
2718
|
+
}, {
|
|
2719
|
+
readonly type: "function";
|
|
2720
|
+
readonly name: "positionManager";
|
|
2721
|
+
readonly inputs: readonly [];
|
|
2722
|
+
readonly outputs: readonly [{
|
|
2723
|
+
readonly name: "";
|
|
2724
|
+
readonly type: "address";
|
|
2725
|
+
readonly internalType: "contract IPositionManager";
|
|
2726
|
+
}];
|
|
2727
|
+
readonly stateMutability: "view";
|
|
2728
|
+
}, {
|
|
2729
|
+
readonly type: "function";
|
|
2730
|
+
readonly name: "renounceOwnership";
|
|
2731
|
+
readonly inputs: readonly [];
|
|
2732
|
+
readonly outputs: readonly [];
|
|
2733
|
+
readonly stateMutability: "nonpayable";
|
|
2734
|
+
}, {
|
|
2735
|
+
readonly type: "function";
|
|
2736
|
+
readonly name: "supportsInterface";
|
|
2737
|
+
readonly inputs: readonly [{
|
|
2738
|
+
readonly name: "interfaceId";
|
|
2739
|
+
readonly type: "bytes4";
|
|
2740
|
+
readonly internalType: "bytes4";
|
|
2741
|
+
}];
|
|
2742
|
+
readonly outputs: readonly [{
|
|
2743
|
+
readonly name: "";
|
|
2744
|
+
readonly type: "bool";
|
|
2745
|
+
readonly internalType: "bool";
|
|
2746
|
+
}];
|
|
2747
|
+
readonly stateMutability: "pure";
|
|
2748
|
+
}, {
|
|
2749
|
+
readonly type: "function";
|
|
2750
|
+
readonly name: "tokenRewards";
|
|
2751
|
+
readonly inputs: readonly [{
|
|
2752
|
+
readonly name: "token";
|
|
2753
|
+
readonly type: "address";
|
|
2754
|
+
readonly internalType: "address";
|
|
2755
|
+
}];
|
|
2756
|
+
readonly outputs: readonly [{
|
|
2757
|
+
readonly name: "";
|
|
2758
|
+
readonly type: "tuple";
|
|
2759
|
+
readonly internalType: "struct IClankerLpLocker.TokenRewardInfo";
|
|
2760
|
+
readonly components: readonly [{
|
|
2761
|
+
readonly name: "token";
|
|
2762
|
+
readonly type: "address";
|
|
2763
|
+
readonly internalType: "address";
|
|
2764
|
+
}, {
|
|
2765
|
+
readonly name: "poolKey";
|
|
2766
|
+
readonly type: "tuple";
|
|
2767
|
+
readonly internalType: "struct PoolKey";
|
|
2768
|
+
readonly components: readonly [{
|
|
2769
|
+
readonly name: "currency0";
|
|
2770
|
+
readonly type: "address";
|
|
2771
|
+
readonly internalType: "Currency";
|
|
2772
|
+
}, {
|
|
2773
|
+
readonly name: "currency1";
|
|
2774
|
+
readonly type: "address";
|
|
2775
|
+
readonly internalType: "Currency";
|
|
2776
|
+
}, {
|
|
2777
|
+
readonly name: "fee";
|
|
2778
|
+
readonly type: "uint24";
|
|
2779
|
+
readonly internalType: "uint24";
|
|
2780
|
+
}, {
|
|
2781
|
+
readonly name: "tickSpacing";
|
|
2782
|
+
readonly type: "int24";
|
|
2783
|
+
readonly internalType: "int24";
|
|
2784
|
+
}, {
|
|
2785
|
+
readonly name: "hooks";
|
|
2786
|
+
readonly type: "address";
|
|
2787
|
+
readonly internalType: "contract IHooks";
|
|
2788
|
+
}];
|
|
2789
|
+
}, {
|
|
2790
|
+
readonly name: "positionId";
|
|
2791
|
+
readonly type: "uint256";
|
|
2792
|
+
readonly internalType: "uint256";
|
|
2793
|
+
}, {
|
|
2794
|
+
readonly name: "numPositions";
|
|
2795
|
+
readonly type: "uint256";
|
|
2796
|
+
readonly internalType: "uint256";
|
|
2797
|
+
}, {
|
|
2798
|
+
readonly name: "rewardBps";
|
|
2799
|
+
readonly type: "uint16[]";
|
|
2800
|
+
readonly internalType: "uint16[]";
|
|
2801
|
+
}, {
|
|
2802
|
+
readonly name: "rewardAdmins";
|
|
2803
|
+
readonly type: "address[]";
|
|
2804
|
+
readonly internalType: "address[]";
|
|
2805
|
+
}, {
|
|
2806
|
+
readonly name: "rewardRecipients";
|
|
2807
|
+
readonly type: "address[]";
|
|
2808
|
+
readonly internalType: "address[]";
|
|
2809
|
+
}];
|
|
2810
|
+
}];
|
|
2811
|
+
readonly stateMutability: "view";
|
|
2812
|
+
}, {
|
|
2813
|
+
readonly type: "function";
|
|
2814
|
+
readonly name: "transferOwnership";
|
|
2815
|
+
readonly inputs: readonly [{
|
|
2816
|
+
readonly name: "newOwner";
|
|
2817
|
+
readonly type: "address";
|
|
2818
|
+
readonly internalType: "address";
|
|
2819
|
+
}];
|
|
2820
|
+
readonly outputs: readonly [];
|
|
2821
|
+
readonly stateMutability: "nonpayable";
|
|
2822
|
+
}, {
|
|
2823
|
+
readonly type: "function";
|
|
2824
|
+
readonly name: "universalRouter";
|
|
2825
|
+
readonly inputs: readonly [];
|
|
2826
|
+
readonly outputs: readonly [{
|
|
2827
|
+
readonly name: "";
|
|
2828
|
+
readonly type: "address";
|
|
2829
|
+
readonly internalType: "contract IUniversalRouter";
|
|
2830
|
+
}];
|
|
2831
|
+
readonly stateMutability: "view";
|
|
2832
|
+
}, {
|
|
2833
|
+
readonly type: "function";
|
|
2834
|
+
readonly name: "updateFeePreference";
|
|
2835
|
+
readonly inputs: readonly [{
|
|
2836
|
+
readonly name: "token";
|
|
2837
|
+
readonly type: "address";
|
|
2838
|
+
readonly internalType: "address";
|
|
2839
|
+
}, {
|
|
2840
|
+
readonly name: "rewardIndex";
|
|
2841
|
+
readonly type: "uint256";
|
|
2842
|
+
readonly internalType: "uint256";
|
|
2843
|
+
}, {
|
|
2844
|
+
readonly name: "newFeePreference";
|
|
2845
|
+
readonly type: "uint8";
|
|
2846
|
+
readonly internalType: "enum IClankerLpLockerFeeConversion.FeeIn";
|
|
2847
|
+
}];
|
|
2848
|
+
readonly outputs: readonly [];
|
|
2849
|
+
readonly stateMutability: "nonpayable";
|
|
2850
|
+
}, {
|
|
2851
|
+
readonly type: "function";
|
|
2852
|
+
readonly name: "updateRewardAdmin";
|
|
2853
|
+
readonly inputs: readonly [{
|
|
2854
|
+
readonly name: "token";
|
|
2855
|
+
readonly type: "address";
|
|
2856
|
+
readonly internalType: "address";
|
|
2857
|
+
}, {
|
|
2858
|
+
readonly name: "rewardIndex";
|
|
2859
|
+
readonly type: "uint256";
|
|
2860
|
+
readonly internalType: "uint256";
|
|
2861
|
+
}, {
|
|
2862
|
+
readonly name: "newAdmin";
|
|
2863
|
+
readonly type: "address";
|
|
2864
|
+
readonly internalType: "address";
|
|
2865
|
+
}];
|
|
2866
|
+
readonly outputs: readonly [];
|
|
2867
|
+
readonly stateMutability: "nonpayable";
|
|
2868
|
+
}, {
|
|
2869
|
+
readonly type: "function";
|
|
2870
|
+
readonly name: "updateRewardRecipient";
|
|
2871
|
+
readonly inputs: readonly [{
|
|
2872
|
+
readonly name: "token";
|
|
2873
|
+
readonly type: "address";
|
|
2874
|
+
readonly internalType: "address";
|
|
2875
|
+
}, {
|
|
2876
|
+
readonly name: "rewardIndex";
|
|
2877
|
+
readonly type: "uint256";
|
|
2878
|
+
readonly internalType: "uint256";
|
|
2879
|
+
}, {
|
|
2880
|
+
readonly name: "newRecipient";
|
|
2881
|
+
readonly type: "address";
|
|
2882
|
+
readonly internalType: "address";
|
|
2883
|
+
}];
|
|
2884
|
+
readonly outputs: readonly [];
|
|
2885
|
+
readonly stateMutability: "nonpayable";
|
|
2886
|
+
}, {
|
|
2887
|
+
readonly type: "function";
|
|
2888
|
+
readonly name: "version";
|
|
2889
|
+
readonly inputs: readonly [];
|
|
2890
|
+
readonly outputs: readonly [{
|
|
2891
|
+
readonly name: "";
|
|
2892
|
+
readonly type: "string";
|
|
2893
|
+
readonly internalType: "string";
|
|
2894
|
+
}];
|
|
2895
|
+
readonly stateMutability: "view";
|
|
2896
|
+
}, {
|
|
2897
|
+
readonly type: "function";
|
|
2898
|
+
readonly name: "withdrawERC20";
|
|
2899
|
+
readonly inputs: readonly [{
|
|
2900
|
+
readonly name: "token";
|
|
2901
|
+
readonly type: "address";
|
|
2902
|
+
readonly internalType: "address";
|
|
2903
|
+
}, {
|
|
2904
|
+
readonly name: "recipient";
|
|
2905
|
+
readonly type: "address";
|
|
2906
|
+
readonly internalType: "address";
|
|
2907
|
+
}];
|
|
2908
|
+
readonly outputs: readonly [];
|
|
2909
|
+
readonly stateMutability: "nonpayable";
|
|
2910
|
+
}, {
|
|
2911
|
+
readonly type: "function";
|
|
2912
|
+
readonly name: "withdrawETH";
|
|
2913
|
+
readonly inputs: readonly [{
|
|
2914
|
+
readonly name: "recipient";
|
|
2915
|
+
readonly type: "address";
|
|
2916
|
+
readonly internalType: "address";
|
|
2917
|
+
}];
|
|
2918
|
+
readonly outputs: readonly [];
|
|
2919
|
+
readonly stateMutability: "nonpayable";
|
|
2920
|
+
}, {
|
|
2921
|
+
readonly type: "event";
|
|
2922
|
+
readonly name: "ClaimedRewards";
|
|
2923
|
+
readonly inputs: readonly [{
|
|
2924
|
+
readonly name: "token";
|
|
2925
|
+
readonly type: "address";
|
|
2926
|
+
readonly indexed: true;
|
|
2927
|
+
readonly internalType: "address";
|
|
2928
|
+
}, {
|
|
2929
|
+
readonly name: "amount0";
|
|
2930
|
+
readonly type: "uint256";
|
|
2931
|
+
readonly indexed: false;
|
|
2932
|
+
readonly internalType: "uint256";
|
|
2933
|
+
}, {
|
|
2934
|
+
readonly name: "amount1";
|
|
2935
|
+
readonly type: "uint256";
|
|
2936
|
+
readonly indexed: false;
|
|
2937
|
+
readonly internalType: "uint256";
|
|
2938
|
+
}, {
|
|
2939
|
+
readonly name: "rewards0";
|
|
2940
|
+
readonly type: "uint256[]";
|
|
2941
|
+
readonly indexed: false;
|
|
2942
|
+
readonly internalType: "uint256[]";
|
|
2943
|
+
}, {
|
|
2944
|
+
readonly name: "rewards1";
|
|
2945
|
+
readonly type: "uint256[]";
|
|
2946
|
+
readonly indexed: false;
|
|
2947
|
+
readonly internalType: "uint256[]";
|
|
2948
|
+
}];
|
|
2949
|
+
readonly anonymous: false;
|
|
2950
|
+
}, {
|
|
2951
|
+
readonly type: "event";
|
|
2952
|
+
readonly name: "FeePreferenceUpdated";
|
|
2953
|
+
readonly inputs: readonly [{
|
|
2954
|
+
readonly name: "token";
|
|
2955
|
+
readonly type: "address";
|
|
2956
|
+
readonly indexed: true;
|
|
2957
|
+
readonly internalType: "address";
|
|
2958
|
+
}, {
|
|
2959
|
+
readonly name: "rewardIndex";
|
|
2960
|
+
readonly type: "uint256";
|
|
2961
|
+
readonly indexed: true;
|
|
2962
|
+
readonly internalType: "uint256";
|
|
2963
|
+
}, {
|
|
2964
|
+
readonly name: "oldFeePreference";
|
|
2965
|
+
readonly type: "uint8";
|
|
2966
|
+
readonly indexed: false;
|
|
2967
|
+
readonly internalType: "enum IClankerLpLockerFeeConversion.FeeIn";
|
|
2968
|
+
}, {
|
|
2969
|
+
readonly name: "newFeePreference";
|
|
2970
|
+
readonly type: "uint8";
|
|
2971
|
+
readonly indexed: true;
|
|
2972
|
+
readonly internalType: "enum IClankerLpLockerFeeConversion.FeeIn";
|
|
2973
|
+
}];
|
|
2974
|
+
readonly anonymous: false;
|
|
2975
|
+
}, {
|
|
2976
|
+
readonly type: "event";
|
|
2977
|
+
readonly name: "FeesSwapped";
|
|
2978
|
+
readonly inputs: readonly [{
|
|
2979
|
+
readonly name: "token";
|
|
2980
|
+
readonly type: "address";
|
|
2981
|
+
readonly indexed: true;
|
|
2982
|
+
readonly internalType: "address";
|
|
2983
|
+
}, {
|
|
2984
|
+
readonly name: "rewardToken";
|
|
2985
|
+
readonly type: "address";
|
|
2986
|
+
readonly indexed: true;
|
|
2987
|
+
readonly internalType: "address";
|
|
2988
|
+
}, {
|
|
2989
|
+
readonly name: "amountSwapped";
|
|
2990
|
+
readonly type: "uint256";
|
|
2991
|
+
readonly indexed: false;
|
|
2992
|
+
readonly internalType: "uint256";
|
|
2993
|
+
}, {
|
|
2994
|
+
readonly name: "swappedToken";
|
|
2995
|
+
readonly type: "address";
|
|
2996
|
+
readonly indexed: true;
|
|
2997
|
+
readonly internalType: "address";
|
|
2998
|
+
}, {
|
|
2999
|
+
readonly name: "amountOut";
|
|
3000
|
+
readonly type: "uint256";
|
|
3001
|
+
readonly indexed: false;
|
|
3002
|
+
readonly internalType: "uint256";
|
|
3003
|
+
}];
|
|
3004
|
+
readonly anonymous: false;
|
|
3005
|
+
}, {
|
|
3006
|
+
readonly type: "event";
|
|
3007
|
+
readonly name: "InitialFeePreferences";
|
|
3008
|
+
readonly inputs: readonly [{
|
|
3009
|
+
readonly name: "token";
|
|
3010
|
+
readonly type: "address";
|
|
3011
|
+
readonly indexed: true;
|
|
3012
|
+
readonly internalType: "address";
|
|
3013
|
+
}, {
|
|
3014
|
+
readonly name: "feePreference";
|
|
3015
|
+
readonly type: "uint8[]";
|
|
3016
|
+
readonly indexed: false;
|
|
3017
|
+
readonly internalType: "enum IClankerLpLockerFeeConversion.FeeIn[]";
|
|
3018
|
+
}];
|
|
3019
|
+
readonly anonymous: false;
|
|
3020
|
+
}, {
|
|
3021
|
+
readonly type: "event";
|
|
3022
|
+
readonly name: "OwnershipTransferred";
|
|
3023
|
+
readonly inputs: readonly [{
|
|
3024
|
+
readonly name: "previousOwner";
|
|
3025
|
+
readonly type: "address";
|
|
3026
|
+
readonly indexed: true;
|
|
3027
|
+
readonly internalType: "address";
|
|
3028
|
+
}, {
|
|
3029
|
+
readonly name: "newOwner";
|
|
3030
|
+
readonly type: "address";
|
|
3031
|
+
readonly indexed: true;
|
|
3032
|
+
readonly internalType: "address";
|
|
3033
|
+
}];
|
|
3034
|
+
readonly anonymous: false;
|
|
3035
|
+
}, {
|
|
3036
|
+
readonly type: "event";
|
|
3037
|
+
readonly name: "Received";
|
|
3038
|
+
readonly inputs: readonly [{
|
|
3039
|
+
readonly name: "from";
|
|
3040
|
+
readonly type: "address";
|
|
3041
|
+
readonly indexed: true;
|
|
3042
|
+
readonly internalType: "address";
|
|
3043
|
+
}, {
|
|
3044
|
+
readonly name: "positionId";
|
|
3045
|
+
readonly type: "uint256";
|
|
3046
|
+
readonly indexed: false;
|
|
3047
|
+
readonly internalType: "uint256";
|
|
3048
|
+
}];
|
|
3049
|
+
readonly anonymous: false;
|
|
3050
|
+
}, {
|
|
3051
|
+
readonly type: "event";
|
|
3052
|
+
readonly name: "RewardAdminUpdated";
|
|
3053
|
+
readonly inputs: readonly [{
|
|
3054
|
+
readonly name: "token";
|
|
3055
|
+
readonly type: "address";
|
|
3056
|
+
readonly indexed: true;
|
|
3057
|
+
readonly internalType: "address";
|
|
3058
|
+
}, {
|
|
3059
|
+
readonly name: "rewardIndex";
|
|
3060
|
+
readonly type: "uint256";
|
|
3061
|
+
readonly indexed: true;
|
|
3062
|
+
readonly internalType: "uint256";
|
|
3063
|
+
}, {
|
|
3064
|
+
readonly name: "oldAdmin";
|
|
3065
|
+
readonly type: "address";
|
|
3066
|
+
readonly indexed: false;
|
|
3067
|
+
readonly internalType: "address";
|
|
3068
|
+
}, {
|
|
3069
|
+
readonly name: "newAdmin";
|
|
3070
|
+
readonly type: "address";
|
|
3071
|
+
readonly indexed: false;
|
|
3072
|
+
readonly internalType: "address";
|
|
3073
|
+
}];
|
|
3074
|
+
readonly anonymous: false;
|
|
3075
|
+
}, {
|
|
3076
|
+
readonly type: "event";
|
|
3077
|
+
readonly name: "RewardRecipientUpdated";
|
|
3078
|
+
readonly inputs: readonly [{
|
|
3079
|
+
readonly name: "token";
|
|
3080
|
+
readonly type: "address";
|
|
3081
|
+
readonly indexed: true;
|
|
3082
|
+
readonly internalType: "address";
|
|
3083
|
+
}, {
|
|
3084
|
+
readonly name: "rewardIndex";
|
|
3085
|
+
readonly type: "uint256";
|
|
3086
|
+
readonly indexed: true;
|
|
3087
|
+
readonly internalType: "uint256";
|
|
3088
|
+
}, {
|
|
3089
|
+
readonly name: "oldRecipient";
|
|
3090
|
+
readonly type: "address";
|
|
3091
|
+
readonly indexed: false;
|
|
3092
|
+
readonly internalType: "address";
|
|
3093
|
+
}, {
|
|
3094
|
+
readonly name: "newRecipient";
|
|
3095
|
+
readonly type: "address";
|
|
3096
|
+
readonly indexed: false;
|
|
3097
|
+
readonly internalType: "address";
|
|
3098
|
+
}];
|
|
3099
|
+
readonly anonymous: false;
|
|
3100
|
+
}, {
|
|
3101
|
+
readonly type: "event";
|
|
3102
|
+
readonly name: "TokenRewardAdded";
|
|
3103
|
+
readonly inputs: readonly [{
|
|
3104
|
+
readonly name: "token";
|
|
3105
|
+
readonly type: "address";
|
|
3106
|
+
readonly indexed: false;
|
|
3107
|
+
readonly internalType: "address";
|
|
3108
|
+
}, {
|
|
3109
|
+
readonly name: "poolKey";
|
|
3110
|
+
readonly type: "tuple";
|
|
3111
|
+
readonly indexed: false;
|
|
3112
|
+
readonly internalType: "struct PoolKey";
|
|
3113
|
+
readonly components: readonly [{
|
|
3114
|
+
readonly name: "currency0";
|
|
3115
|
+
readonly type: "address";
|
|
3116
|
+
readonly internalType: "Currency";
|
|
3117
|
+
}, {
|
|
3118
|
+
readonly name: "currency1";
|
|
3119
|
+
readonly type: "address";
|
|
3120
|
+
readonly internalType: "Currency";
|
|
3121
|
+
}, {
|
|
3122
|
+
readonly name: "fee";
|
|
3123
|
+
readonly type: "uint24";
|
|
3124
|
+
readonly internalType: "uint24";
|
|
3125
|
+
}, {
|
|
3126
|
+
readonly name: "tickSpacing";
|
|
3127
|
+
readonly type: "int24";
|
|
3128
|
+
readonly internalType: "int24";
|
|
3129
|
+
}, {
|
|
3130
|
+
readonly name: "hooks";
|
|
3131
|
+
readonly type: "address";
|
|
3132
|
+
readonly internalType: "contract IHooks";
|
|
3133
|
+
}];
|
|
3134
|
+
}, {
|
|
3135
|
+
readonly name: "poolSupply";
|
|
3136
|
+
readonly type: "uint256";
|
|
3137
|
+
readonly indexed: false;
|
|
3138
|
+
readonly internalType: "uint256";
|
|
3139
|
+
}, {
|
|
3140
|
+
readonly name: "positionId";
|
|
3141
|
+
readonly type: "uint256";
|
|
3142
|
+
readonly indexed: false;
|
|
3143
|
+
readonly internalType: "uint256";
|
|
3144
|
+
}, {
|
|
3145
|
+
readonly name: "numPositions";
|
|
3146
|
+
readonly type: "uint256";
|
|
3147
|
+
readonly indexed: false;
|
|
3148
|
+
readonly internalType: "uint256";
|
|
3149
|
+
}, {
|
|
3150
|
+
readonly name: "rewardBps";
|
|
3151
|
+
readonly type: "uint16[]";
|
|
3152
|
+
readonly indexed: false;
|
|
3153
|
+
readonly internalType: "uint16[]";
|
|
3154
|
+
}, {
|
|
3155
|
+
readonly name: "rewardAdmins";
|
|
3156
|
+
readonly type: "address[]";
|
|
3157
|
+
readonly indexed: false;
|
|
3158
|
+
readonly internalType: "address[]";
|
|
3159
|
+
}, {
|
|
3160
|
+
readonly name: "rewardRecipients";
|
|
3161
|
+
readonly type: "address[]";
|
|
3162
|
+
readonly indexed: false;
|
|
3163
|
+
readonly internalType: "address[]";
|
|
3164
|
+
}, {
|
|
3165
|
+
readonly name: "tickLower";
|
|
3166
|
+
readonly type: "int24[]";
|
|
3167
|
+
readonly indexed: false;
|
|
3168
|
+
readonly internalType: "int24[]";
|
|
3169
|
+
}, {
|
|
3170
|
+
readonly name: "tickUpper";
|
|
3171
|
+
readonly type: "int24[]";
|
|
3172
|
+
readonly indexed: false;
|
|
3173
|
+
readonly internalType: "int24[]";
|
|
3174
|
+
}, {
|
|
3175
|
+
readonly name: "positionBps";
|
|
3176
|
+
readonly type: "uint16[]";
|
|
3177
|
+
readonly indexed: false;
|
|
3178
|
+
readonly internalType: "uint16[]";
|
|
3179
|
+
}];
|
|
3180
|
+
readonly anonymous: false;
|
|
3181
|
+
}, {
|
|
3182
|
+
readonly type: "error";
|
|
3183
|
+
readonly name: "InvalidPositionBps";
|
|
3184
|
+
readonly inputs: readonly [];
|
|
3185
|
+
}, {
|
|
3186
|
+
readonly type: "error";
|
|
3187
|
+
readonly name: "InvalidRewardBps";
|
|
3188
|
+
readonly inputs: readonly [];
|
|
3189
|
+
}, {
|
|
3190
|
+
readonly type: "error";
|
|
3191
|
+
readonly name: "MismatchedPositionInfos";
|
|
3192
|
+
readonly inputs: readonly [];
|
|
3193
|
+
}, {
|
|
3194
|
+
readonly type: "error";
|
|
3195
|
+
readonly name: "MismatchedRewardArrays";
|
|
3196
|
+
readonly inputs: readonly [];
|
|
3197
|
+
}, {
|
|
3198
|
+
readonly type: "error";
|
|
3199
|
+
readonly name: "NoPositions";
|
|
3200
|
+
readonly inputs: readonly [];
|
|
3201
|
+
}, {
|
|
3202
|
+
readonly type: "error";
|
|
3203
|
+
readonly name: "NoRewardRecipients";
|
|
3204
|
+
readonly inputs: readonly [];
|
|
3205
|
+
}, {
|
|
3206
|
+
readonly type: "error";
|
|
3207
|
+
readonly name: "OwnableInvalidOwner";
|
|
3208
|
+
readonly inputs: readonly [{
|
|
3209
|
+
readonly name: "owner";
|
|
3210
|
+
readonly type: "address";
|
|
3211
|
+
readonly internalType: "address";
|
|
3212
|
+
}];
|
|
3213
|
+
}, {
|
|
3214
|
+
readonly type: "error";
|
|
3215
|
+
readonly name: "OwnableUnauthorizedAccount";
|
|
3216
|
+
readonly inputs: readonly [{
|
|
3217
|
+
readonly name: "account";
|
|
3218
|
+
readonly type: "address";
|
|
3219
|
+
readonly internalType: "address";
|
|
3220
|
+
}];
|
|
3221
|
+
}, {
|
|
3222
|
+
readonly type: "error";
|
|
3223
|
+
readonly name: "ReentrancyGuardReentrantCall";
|
|
3224
|
+
readonly inputs: readonly [];
|
|
3225
|
+
}, {
|
|
3226
|
+
readonly type: "error";
|
|
3227
|
+
readonly name: "SafeERC20FailedOperation";
|
|
3228
|
+
readonly inputs: readonly [{
|
|
3229
|
+
readonly name: "token";
|
|
3230
|
+
readonly type: "address";
|
|
3231
|
+
readonly internalType: "address";
|
|
3232
|
+
}];
|
|
3233
|
+
}, {
|
|
3234
|
+
readonly type: "error";
|
|
3235
|
+
readonly name: "TickRangeLowerThanStartingTick";
|
|
3236
|
+
readonly inputs: readonly [];
|
|
3237
|
+
}, {
|
|
3238
|
+
readonly type: "error";
|
|
3239
|
+
readonly name: "TicksBackwards";
|
|
3240
|
+
readonly inputs: readonly [];
|
|
3241
|
+
}, {
|
|
3242
|
+
readonly type: "error";
|
|
3243
|
+
readonly name: "TicksNotMultipleOfTickSpacing";
|
|
3244
|
+
readonly inputs: readonly [];
|
|
3245
|
+
}, {
|
|
3246
|
+
readonly type: "error";
|
|
3247
|
+
readonly name: "TicksOutOfTickBounds";
|
|
3248
|
+
readonly inputs: readonly [];
|
|
3249
|
+
}, {
|
|
3250
|
+
readonly type: "error";
|
|
3251
|
+
readonly name: "TokenAlreadyHasRewards";
|
|
3252
|
+
readonly inputs: readonly [];
|
|
3253
|
+
}, {
|
|
3254
|
+
readonly type: "error";
|
|
3255
|
+
readonly name: "TooManyPositions";
|
|
3256
|
+
readonly inputs: readonly [];
|
|
3257
|
+
}, {
|
|
3258
|
+
readonly type: "error";
|
|
3259
|
+
readonly name: "TooManyRewardParticipants";
|
|
3260
|
+
readonly inputs: readonly [];
|
|
3261
|
+
}, {
|
|
3262
|
+
readonly type: "error";
|
|
3263
|
+
readonly name: "Unauthorized";
|
|
3264
|
+
readonly inputs: readonly [];
|
|
3265
|
+
}, {
|
|
3266
|
+
readonly type: "error";
|
|
3267
|
+
readonly name: "ZeroRewardAddress";
|
|
3268
|
+
readonly inputs: readonly [];
|
|
3269
|
+
}, {
|
|
3270
|
+
readonly type: "error";
|
|
3271
|
+
readonly name: "ZeroRewardAmount";
|
|
3272
|
+
readonly inputs: readonly [];
|
|
3273
|
+
}], "renounceOwnership" | "transferOwnership" | "collectRewards" | "collectRewardsWithoutUnlock" | "onERC721Received" | "placeLiquidity" | "updateFeePreference" | "updateRewardAdmin" | "updateRewardRecipient" | "withdrawERC20" | "withdrawETH"> & {
|
|
3274
|
+
error?: undefined;
|
|
3275
|
+
}) | ({
|
|
3276
|
+
result?: undefined;
|
|
3277
|
+
request?: undefined;
|
|
3278
|
+
} & {
|
|
3279
|
+
error: ClankerError;
|
|
3280
|
+
})>;
|
|
3281
|
+
/**
|
|
3282
|
+
* Update the reward recipient for a token.
|
|
3283
|
+
*
|
|
3284
|
+
* @param token The token to update the reward recipient for
|
|
3285
|
+
* @param rewardIndex The index of the reward to update
|
|
3286
|
+
* @param newRecipient The new recipient address
|
|
3287
|
+
* @returns Transaction hash of the update or error
|
|
3288
|
+
*/
|
|
3289
|
+
updateRewardRecipient({ token, rewardIndex, newRecipient, }: {
|
|
3290
|
+
token: `0x${string}`;
|
|
3291
|
+
rewardIndex: bigint;
|
|
3292
|
+
newRecipient: `0x${string}`;
|
|
3293
|
+
}): Promise<{
|
|
3294
|
+
txHash: `0x${string}`;
|
|
3295
|
+
error: undefined;
|
|
3296
|
+
} | {
|
|
3297
|
+
txHash: undefined;
|
|
3298
|
+
error: ClankerError;
|
|
3299
|
+
}>;
|
|
3300
|
+
/**
|
|
3301
|
+
* Update the reward admin for a token.
|
|
3302
|
+
*
|
|
3303
|
+
* @param token The token to update the reward admin for
|
|
3304
|
+
* @param rewardIndex The index of the reward to update
|
|
3305
|
+
* @param newAdmin The new admin address
|
|
3306
|
+
* @returns Transaction hash of the update or error
|
|
3307
|
+
*/
|
|
3308
|
+
updateRewardAdmin({ token, rewardIndex, newAdmin, }: {
|
|
3309
|
+
token: `0x${string}`;
|
|
3310
|
+
rewardIndex: bigint;
|
|
3311
|
+
newAdmin: `0x${string}`;
|
|
3312
|
+
}): Promise<{
|
|
3313
|
+
txHash: `0x${string}`;
|
|
3314
|
+
error: undefined;
|
|
3315
|
+
} | {
|
|
3316
|
+
txHash: undefined;
|
|
3317
|
+
error: ClankerError;
|
|
3318
|
+
}>;
|
|
3319
|
+
/**
|
|
3320
|
+
* Get an abi-typed transaction for claiming vaulted tokens.
|
|
3321
|
+
*
|
|
3322
|
+
* @param token The token to claim for
|
|
3323
|
+
* @returns Abi transaction
|
|
3324
|
+
*/
|
|
3325
|
+
getVaultClaimTransaction({ token }: {
|
|
3326
|
+
token: `0x${string}`;
|
|
3327
|
+
}, options?: {
|
|
3328
|
+
chain?: Chain;
|
|
3329
|
+
}): Promise<any>;
|
|
3330
|
+
/**
|
|
3331
|
+
* Claim vaulted tokens for a clanker token.
|
|
3332
|
+
*
|
|
3333
|
+
* @param token Token to claim vaulted tokens for
|
|
3334
|
+
* @returns Transaction hash of the claim or error
|
|
3335
|
+
*/
|
|
3336
|
+
claimVaultedTokens({ token }: {
|
|
3337
|
+
token: `0x${string}`;
|
|
3338
|
+
}): Promise<({
|
|
3339
|
+
txHash: `0x${string}`;
|
|
3340
|
+
} & {
|
|
3341
|
+
error?: undefined;
|
|
3342
|
+
}) | ({
|
|
3343
|
+
txHash?: undefined;
|
|
3344
|
+
} & {
|
|
3345
|
+
error: ClankerError;
|
|
3346
|
+
})>;
|
|
3347
|
+
/**
|
|
3348
|
+
* Get the amount of vaulted tokens available to claim.
|
|
3349
|
+
*
|
|
3350
|
+
* @param token Token to check claimable vault amount for
|
|
3351
|
+
* @returns Amount of tokens available to claim
|
|
3352
|
+
*/
|
|
3353
|
+
getVaultClaimableAmount({ token }: {
|
|
3354
|
+
token: `0x${string}`;
|
|
3355
|
+
}): Promise<bigint>;
|
|
3356
|
+
/**
|
|
3357
|
+
* Get the transaction object for claiming vaulted tokens (for offline signing or inspection).
|
|
3358
|
+
*
|
|
3359
|
+
* @param token The token to claim for
|
|
3360
|
+
* @param chainId Optional chain ID to override default
|
|
3361
|
+
* @returns Transaction object for claiming vaulted tokens
|
|
3362
|
+
*/
|
|
3363
|
+
static getVaultClaimTransactionObject({ token, chainId, vaultAddress, }: {
|
|
3364
|
+
token: `0x${string}`;
|
|
3365
|
+
chainId?: number;
|
|
3366
|
+
vaultAddress?: `0x${string}`;
|
|
3367
|
+
}): {
|
|
3368
|
+
address: `0x${string}`;
|
|
3369
|
+
abi: readonly [{
|
|
3370
|
+
readonly type: "constructor";
|
|
3371
|
+
readonly inputs: readonly [{
|
|
3372
|
+
readonly name: "factory_";
|
|
3373
|
+
readonly type: "address";
|
|
3374
|
+
readonly internalType: "address";
|
|
3375
|
+
}];
|
|
3376
|
+
readonly stateMutability: "nonpayable";
|
|
3377
|
+
}, {
|
|
3378
|
+
readonly type: "function";
|
|
3379
|
+
readonly name: "MIN_LOCKUP_DURATION";
|
|
3380
|
+
readonly inputs: readonly [];
|
|
3381
|
+
readonly outputs: readonly [{
|
|
3382
|
+
readonly name: "";
|
|
3383
|
+
readonly type: "uint256";
|
|
3384
|
+
readonly internalType: "uint256";
|
|
3385
|
+
}];
|
|
3386
|
+
readonly stateMutability: "view";
|
|
3387
|
+
}, {
|
|
3388
|
+
readonly type: "function";
|
|
3389
|
+
readonly name: "allocation";
|
|
3390
|
+
readonly inputs: readonly [{
|
|
3391
|
+
readonly name: "";
|
|
3392
|
+
readonly type: "address";
|
|
3393
|
+
readonly internalType: "address";
|
|
3394
|
+
}];
|
|
3395
|
+
readonly outputs: readonly [{
|
|
3396
|
+
readonly name: "token";
|
|
3397
|
+
readonly type: "address";
|
|
3398
|
+
readonly internalType: "address";
|
|
3399
|
+
}, {
|
|
3400
|
+
readonly name: "amountTotal";
|
|
3401
|
+
readonly type: "uint256";
|
|
3402
|
+
readonly internalType: "uint256";
|
|
3403
|
+
}, {
|
|
3404
|
+
readonly name: "amountClaimed";
|
|
3405
|
+
readonly type: "uint256";
|
|
3406
|
+
readonly internalType: "uint256";
|
|
3407
|
+
}, {
|
|
3408
|
+
readonly name: "lockupEndTime";
|
|
3409
|
+
readonly type: "uint256";
|
|
3410
|
+
readonly internalType: "uint256";
|
|
3411
|
+
}, {
|
|
3412
|
+
readonly name: "vestingEndTime";
|
|
3413
|
+
readonly type: "uint256";
|
|
3414
|
+
readonly internalType: "uint256";
|
|
3415
|
+
}, {
|
|
3416
|
+
readonly name: "admin";
|
|
3417
|
+
readonly type: "address";
|
|
3418
|
+
readonly internalType: "address";
|
|
3419
|
+
}];
|
|
3420
|
+
readonly stateMutability: "view";
|
|
3421
|
+
}, {
|
|
3422
|
+
readonly type: "function";
|
|
3423
|
+
readonly name: "amountAvailableToClaim";
|
|
3424
|
+
readonly inputs: readonly [{
|
|
3425
|
+
readonly name: "token";
|
|
3426
|
+
readonly type: "address";
|
|
3427
|
+
readonly internalType: "address";
|
|
3428
|
+
}];
|
|
3429
|
+
readonly outputs: readonly [{
|
|
3430
|
+
readonly name: "";
|
|
3431
|
+
readonly type: "uint256";
|
|
3432
|
+
readonly internalType: "uint256";
|
|
3433
|
+
}];
|
|
3434
|
+
readonly stateMutability: "view";
|
|
3435
|
+
}, {
|
|
3436
|
+
readonly type: "function";
|
|
3437
|
+
readonly name: "claim";
|
|
3438
|
+
readonly inputs: readonly [{
|
|
3439
|
+
readonly name: "token";
|
|
3440
|
+
readonly type: "address";
|
|
3441
|
+
readonly internalType: "address";
|
|
3442
|
+
}];
|
|
3443
|
+
readonly outputs: readonly [];
|
|
3444
|
+
readonly stateMutability: "nonpayable";
|
|
3445
|
+
}, {
|
|
3446
|
+
readonly type: "function";
|
|
3447
|
+
readonly name: "editAllocationAdmin";
|
|
3448
|
+
readonly inputs: readonly [{
|
|
3449
|
+
readonly name: "token";
|
|
3450
|
+
readonly type: "address";
|
|
3451
|
+
readonly internalType: "address";
|
|
3452
|
+
}, {
|
|
3453
|
+
readonly name: "newAdmin";
|
|
3454
|
+
readonly type: "address";
|
|
3455
|
+
readonly internalType: "address";
|
|
3456
|
+
}];
|
|
3457
|
+
readonly outputs: readonly [];
|
|
3458
|
+
readonly stateMutability: "nonpayable";
|
|
3459
|
+
}, {
|
|
3460
|
+
readonly type: "function";
|
|
3461
|
+
readonly name: "factory";
|
|
3462
|
+
readonly inputs: readonly [];
|
|
3463
|
+
readonly outputs: readonly [{
|
|
3464
|
+
readonly name: "";
|
|
3465
|
+
readonly type: "address";
|
|
3466
|
+
readonly internalType: "address";
|
|
3467
|
+
}];
|
|
3468
|
+
readonly stateMutability: "view";
|
|
3469
|
+
}, {
|
|
3470
|
+
readonly type: "function";
|
|
3471
|
+
readonly name: "receiveTokens";
|
|
3472
|
+
readonly inputs: readonly [{
|
|
3473
|
+
readonly name: "deploymentConfig";
|
|
3474
|
+
readonly type: "tuple";
|
|
3475
|
+
readonly internalType: "struct IClanker.DeploymentConfig";
|
|
3476
|
+
readonly components: readonly [{
|
|
3477
|
+
readonly name: "tokenConfig";
|
|
3478
|
+
readonly type: "tuple";
|
|
3479
|
+
readonly internalType: "struct IClanker.TokenConfig";
|
|
3480
|
+
readonly components: readonly [{
|
|
3481
|
+
readonly name: "tokenAdmin";
|
|
3482
|
+
readonly type: "address";
|
|
3483
|
+
readonly internalType: "address";
|
|
3484
|
+
}, {
|
|
3485
|
+
readonly name: "name";
|
|
3486
|
+
readonly type: "string";
|
|
3487
|
+
readonly internalType: "string";
|
|
3488
|
+
}, {
|
|
3489
|
+
readonly name: "symbol";
|
|
3490
|
+
readonly type: "string";
|
|
3491
|
+
readonly internalType: "string";
|
|
3492
|
+
}, {
|
|
3493
|
+
readonly name: "salt";
|
|
3494
|
+
readonly type: "bytes32";
|
|
3495
|
+
readonly internalType: "bytes32";
|
|
3496
|
+
}, {
|
|
3497
|
+
readonly name: "image";
|
|
3498
|
+
readonly type: "string";
|
|
3499
|
+
readonly internalType: "string";
|
|
3500
|
+
}, {
|
|
3501
|
+
readonly name: "metadata";
|
|
3502
|
+
readonly type: "string";
|
|
3503
|
+
readonly internalType: "string";
|
|
3504
|
+
}, {
|
|
3505
|
+
readonly name: "context";
|
|
3506
|
+
readonly type: "string";
|
|
3507
|
+
readonly internalType: "string";
|
|
3508
|
+
}, {
|
|
3509
|
+
readonly name: "originatingChainId";
|
|
3510
|
+
readonly type: "uint256";
|
|
3511
|
+
readonly internalType: "uint256";
|
|
3512
|
+
}];
|
|
3513
|
+
}, {
|
|
3514
|
+
readonly name: "poolConfig";
|
|
3515
|
+
readonly type: "tuple";
|
|
3516
|
+
readonly internalType: "struct IClanker.PoolConfig";
|
|
3517
|
+
readonly components: readonly [{
|
|
3518
|
+
readonly name: "hook";
|
|
3519
|
+
readonly type: "address";
|
|
3520
|
+
readonly internalType: "address";
|
|
3521
|
+
}, {
|
|
3522
|
+
readonly name: "pairedToken";
|
|
3523
|
+
readonly type: "address";
|
|
3524
|
+
readonly internalType: "address";
|
|
3525
|
+
}, {
|
|
3526
|
+
readonly name: "tickIfToken0IsClanker";
|
|
3527
|
+
readonly type: "int24";
|
|
3528
|
+
readonly internalType: "int24";
|
|
3529
|
+
}, {
|
|
3530
|
+
readonly name: "tickSpacing";
|
|
3531
|
+
readonly type: "int24";
|
|
3532
|
+
readonly internalType: "int24";
|
|
3533
|
+
}, {
|
|
3534
|
+
readonly name: "poolData";
|
|
3535
|
+
readonly type: "bytes";
|
|
3536
|
+
readonly internalType: "bytes";
|
|
3537
|
+
}];
|
|
3538
|
+
}, {
|
|
3539
|
+
readonly name: "lockerConfig";
|
|
3540
|
+
readonly type: "tuple";
|
|
3541
|
+
readonly internalType: "struct IClanker.LockerConfig";
|
|
3542
|
+
readonly components: readonly [{
|
|
3543
|
+
readonly name: "locker";
|
|
3544
|
+
readonly type: "address";
|
|
3545
|
+
readonly internalType: "address";
|
|
3546
|
+
}, {
|
|
3547
|
+
readonly name: "rewardAdmins";
|
|
3548
|
+
readonly type: "address[]";
|
|
3549
|
+
readonly internalType: "address[]";
|
|
3550
|
+
}, {
|
|
3551
|
+
readonly name: "rewardRecipients";
|
|
3552
|
+
readonly type: "address[]";
|
|
3553
|
+
readonly internalType: "address[]";
|
|
3554
|
+
}, {
|
|
3555
|
+
readonly name: "rewardBps";
|
|
3556
|
+
readonly type: "uint16[]";
|
|
3557
|
+
readonly internalType: "uint16[]";
|
|
3558
|
+
}, {
|
|
3559
|
+
readonly name: "tickLower";
|
|
3560
|
+
readonly type: "int24[]";
|
|
3561
|
+
readonly internalType: "int24[]";
|
|
3562
|
+
}, {
|
|
3563
|
+
readonly name: "tickUpper";
|
|
3564
|
+
readonly type: "int24[]";
|
|
3565
|
+
readonly internalType: "int24[]";
|
|
3566
|
+
}, {
|
|
3567
|
+
readonly name: "positionBps";
|
|
3568
|
+
readonly type: "uint16[]";
|
|
3569
|
+
readonly internalType: "uint16[]";
|
|
3570
|
+
}, {
|
|
3571
|
+
readonly name: "lockerData";
|
|
3572
|
+
readonly type: "bytes";
|
|
3573
|
+
readonly internalType: "bytes";
|
|
3574
|
+
}];
|
|
3575
|
+
}, {
|
|
3576
|
+
readonly name: "mevModuleConfig";
|
|
3577
|
+
readonly type: "tuple";
|
|
3578
|
+
readonly internalType: "struct IClanker.MevModuleConfig";
|
|
3579
|
+
readonly components: readonly [{
|
|
3580
|
+
readonly name: "mevModule";
|
|
3581
|
+
readonly type: "address";
|
|
3582
|
+
readonly internalType: "address";
|
|
3583
|
+
}, {
|
|
3584
|
+
readonly name: "mevModuleData";
|
|
3585
|
+
readonly type: "bytes";
|
|
3586
|
+
readonly internalType: "bytes";
|
|
3587
|
+
}];
|
|
3588
|
+
}, {
|
|
3589
|
+
readonly name: "extensionConfigs";
|
|
3590
|
+
readonly type: "tuple[]";
|
|
3591
|
+
readonly internalType: "struct IClanker.ExtensionConfig[]";
|
|
3592
|
+
readonly components: readonly [{
|
|
3593
|
+
readonly name: "extension";
|
|
3594
|
+
readonly type: "address";
|
|
3595
|
+
readonly internalType: "address";
|
|
3596
|
+
}, {
|
|
3597
|
+
readonly name: "msgValue";
|
|
3598
|
+
readonly type: "uint256";
|
|
3599
|
+
readonly internalType: "uint256";
|
|
3600
|
+
}, {
|
|
3601
|
+
readonly name: "extensionBps";
|
|
3602
|
+
readonly type: "uint16";
|
|
3603
|
+
readonly internalType: "uint16";
|
|
3604
|
+
}, {
|
|
3605
|
+
readonly name: "extensionData";
|
|
3606
|
+
readonly type: "bytes";
|
|
3607
|
+
readonly internalType: "bytes";
|
|
3608
|
+
}];
|
|
3609
|
+
}];
|
|
3610
|
+
}, {
|
|
3611
|
+
readonly name: "";
|
|
3612
|
+
readonly type: "tuple";
|
|
3613
|
+
readonly internalType: "struct PoolKey";
|
|
3614
|
+
readonly components: readonly [{
|
|
3615
|
+
readonly name: "currency0";
|
|
3616
|
+
readonly type: "address";
|
|
3617
|
+
readonly internalType: "Currency";
|
|
3618
|
+
}, {
|
|
3619
|
+
readonly name: "currency1";
|
|
3620
|
+
readonly type: "address";
|
|
3621
|
+
readonly internalType: "Currency";
|
|
3622
|
+
}, {
|
|
3623
|
+
readonly name: "fee";
|
|
3624
|
+
readonly type: "uint24";
|
|
3625
|
+
readonly internalType: "uint24";
|
|
3626
|
+
}, {
|
|
3627
|
+
readonly name: "tickSpacing";
|
|
3628
|
+
readonly type: "int24";
|
|
3629
|
+
readonly internalType: "int24";
|
|
3630
|
+
}, {
|
|
3631
|
+
readonly name: "hooks";
|
|
3632
|
+
readonly type: "address";
|
|
3633
|
+
readonly internalType: "contract IHooks";
|
|
3634
|
+
}];
|
|
3635
|
+
}, {
|
|
3636
|
+
readonly name: "token";
|
|
3637
|
+
readonly type: "address";
|
|
3638
|
+
readonly internalType: "address";
|
|
3639
|
+
}, {
|
|
3640
|
+
readonly name: "extensionSupply";
|
|
3641
|
+
readonly type: "uint256";
|
|
3642
|
+
readonly internalType: "uint256";
|
|
3643
|
+
}, {
|
|
3644
|
+
readonly name: "extensionIndex";
|
|
3645
|
+
readonly type: "uint256";
|
|
3646
|
+
readonly internalType: "uint256";
|
|
3647
|
+
}];
|
|
3648
|
+
readonly outputs: readonly [];
|
|
3649
|
+
readonly stateMutability: "payable";
|
|
3650
|
+
}, {
|
|
3651
|
+
readonly type: "function";
|
|
3652
|
+
readonly name: "supportsInterface";
|
|
3653
|
+
readonly inputs: readonly [{
|
|
3654
|
+
readonly name: "interfaceId";
|
|
3655
|
+
readonly type: "bytes4";
|
|
3656
|
+
readonly internalType: "bytes4";
|
|
3657
|
+
}];
|
|
3658
|
+
readonly outputs: readonly [{
|
|
3659
|
+
readonly name: "";
|
|
3660
|
+
readonly type: "bool";
|
|
3661
|
+
readonly internalType: "bool";
|
|
3662
|
+
}];
|
|
3663
|
+
readonly stateMutability: "pure";
|
|
3664
|
+
}, {
|
|
3665
|
+
readonly type: "event";
|
|
3666
|
+
readonly name: "AllocationAdminUpdated";
|
|
3667
|
+
readonly inputs: readonly [{
|
|
3668
|
+
readonly name: "token";
|
|
3669
|
+
readonly type: "address";
|
|
3670
|
+
readonly indexed: true;
|
|
3671
|
+
readonly internalType: "address";
|
|
3672
|
+
}, {
|
|
3673
|
+
readonly name: "oldAdmin";
|
|
3674
|
+
readonly type: "address";
|
|
3675
|
+
readonly indexed: true;
|
|
3676
|
+
readonly internalType: "address";
|
|
3677
|
+
}, {
|
|
3678
|
+
readonly name: "newAdmin";
|
|
3679
|
+
readonly type: "address";
|
|
3680
|
+
readonly indexed: true;
|
|
3681
|
+
readonly internalType: "address";
|
|
3682
|
+
}];
|
|
3683
|
+
readonly anonymous: false;
|
|
3684
|
+
}, {
|
|
3685
|
+
readonly type: "event";
|
|
3686
|
+
readonly name: "AllocationClaimed";
|
|
3687
|
+
readonly inputs: readonly [{
|
|
3688
|
+
readonly name: "token";
|
|
3689
|
+
readonly type: "address";
|
|
3690
|
+
readonly indexed: true;
|
|
3691
|
+
readonly internalType: "address";
|
|
3692
|
+
}, {
|
|
3693
|
+
readonly name: "amount";
|
|
3694
|
+
readonly type: "uint256";
|
|
3695
|
+
readonly indexed: false;
|
|
3696
|
+
readonly internalType: "uint256";
|
|
3697
|
+
}, {
|
|
3698
|
+
readonly name: "remainingAmount";
|
|
3699
|
+
readonly type: "uint256";
|
|
3700
|
+
readonly indexed: false;
|
|
3701
|
+
readonly internalType: "uint256";
|
|
3702
|
+
}];
|
|
3703
|
+
readonly anonymous: false;
|
|
3704
|
+
}, {
|
|
3705
|
+
readonly type: "event";
|
|
3706
|
+
readonly name: "AllocationCreated";
|
|
3707
|
+
readonly inputs: readonly [{
|
|
3708
|
+
readonly name: "token";
|
|
3709
|
+
readonly type: "address";
|
|
3710
|
+
readonly indexed: true;
|
|
3711
|
+
readonly internalType: "address";
|
|
3712
|
+
}, {
|
|
3713
|
+
readonly name: "admin";
|
|
3714
|
+
readonly type: "address";
|
|
3715
|
+
readonly indexed: true;
|
|
3716
|
+
readonly internalType: "address";
|
|
3717
|
+
}, {
|
|
3718
|
+
readonly name: "supply";
|
|
3719
|
+
readonly type: "uint256";
|
|
3720
|
+
readonly indexed: false;
|
|
3721
|
+
readonly internalType: "uint256";
|
|
3722
|
+
}, {
|
|
3723
|
+
readonly name: "lockupDuration";
|
|
3724
|
+
readonly type: "uint256";
|
|
3725
|
+
readonly indexed: false;
|
|
3726
|
+
readonly internalType: "uint256";
|
|
3727
|
+
}, {
|
|
3728
|
+
readonly name: "vestingDuration";
|
|
3729
|
+
readonly type: "uint256";
|
|
3730
|
+
readonly indexed: false;
|
|
3731
|
+
readonly internalType: "uint256";
|
|
3732
|
+
}];
|
|
3733
|
+
readonly anonymous: false;
|
|
3734
|
+
}, {
|
|
3735
|
+
readonly type: "error";
|
|
3736
|
+
readonly name: "AllocationAlreadyExists";
|
|
3737
|
+
readonly inputs: readonly [];
|
|
3738
|
+
}, {
|
|
3739
|
+
readonly type: "error";
|
|
3740
|
+
readonly name: "AllocationNotUnlocked";
|
|
3741
|
+
readonly inputs: readonly [];
|
|
3742
|
+
}, {
|
|
3743
|
+
readonly type: "error";
|
|
3744
|
+
readonly name: "InvalidMsgValue";
|
|
3745
|
+
readonly inputs: readonly [];
|
|
3746
|
+
}, {
|
|
3747
|
+
readonly type: "error";
|
|
3748
|
+
readonly name: "InvalidVaultAdmin";
|
|
3749
|
+
readonly inputs: readonly [];
|
|
3750
|
+
}, {
|
|
3751
|
+
readonly type: "error";
|
|
3752
|
+
readonly name: "InvalidVaultBps";
|
|
3753
|
+
readonly inputs: readonly [];
|
|
3754
|
+
}, {
|
|
3755
|
+
readonly type: "error";
|
|
3756
|
+
readonly name: "NoBalanceToClaim";
|
|
3757
|
+
readonly inputs: readonly [];
|
|
3758
|
+
}, {
|
|
3759
|
+
readonly type: "error";
|
|
3760
|
+
readonly name: "ReentrancyGuardReentrantCall";
|
|
3761
|
+
readonly inputs: readonly [];
|
|
3762
|
+
}, {
|
|
3763
|
+
readonly type: "error";
|
|
3764
|
+
readonly name: "TransferFailed";
|
|
3765
|
+
readonly inputs: readonly [];
|
|
3766
|
+
}, {
|
|
3767
|
+
readonly type: "error";
|
|
3768
|
+
readonly name: "Unauthorized";
|
|
3769
|
+
readonly inputs: readonly [];
|
|
3770
|
+
}, {
|
|
3771
|
+
readonly type: "error";
|
|
3772
|
+
readonly name: "VaultLockupDurationTooShort";
|
|
3773
|
+
readonly inputs: readonly [];
|
|
3774
|
+
}];
|
|
3775
|
+
functionName: string;
|
|
3776
|
+
args: `0x${string}`[];
|
|
3777
|
+
chainId: number | undefined;
|
|
3778
|
+
};
|
|
3779
|
+
}
|
|
3780
|
+
export { encodeFeeConfig } from '../config/clankerTokenV4';
|
|
3781
|
+
//# sourceMappingURL=index.d.ts.map
|