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,3167 @@
|
|
|
1
|
+
import type { Account, Chain, PublicClient, Transport, WalletClient } from 'viem';
|
|
2
|
+
import { Clanker_v3_1_abi } from '../abi/v3.1/Clanker';
|
|
3
|
+
import { type ClankerTokenV3 } from '../config/clankerTokenV3';
|
|
4
|
+
import type { ClankerError } from '../utils/errors';
|
|
5
|
+
import { type ClankerTransactionConfig } from '../utils/write-clanker-contracts';
|
|
6
|
+
type ClankerConfig = {
|
|
7
|
+
wallet?: WalletClient<Transport, Chain, Account>;
|
|
8
|
+
publicClient?: PublicClient;
|
|
9
|
+
};
|
|
10
|
+
/**
|
|
11
|
+
* Clanker v3
|
|
12
|
+
*/
|
|
13
|
+
export declare class Clanker {
|
|
14
|
+
private readonly wallet?;
|
|
15
|
+
private readonly publicClient?;
|
|
16
|
+
constructor(config?: ClankerConfig);
|
|
17
|
+
/**
|
|
18
|
+
* Get an abi-typed transaction for claiming rewards on a token.
|
|
19
|
+
*
|
|
20
|
+
* @param token The token to claim for
|
|
21
|
+
* @returns Abi transaction
|
|
22
|
+
*/
|
|
23
|
+
getClaimRewardsTransaction(token: `0x${string}`): Promise<ClankerTransactionConfig<typeof Clanker_v3_1_abi>>;
|
|
24
|
+
/**
|
|
25
|
+
* Simulate claiming rewards. Will use the wallet account on the Clanker class or
|
|
26
|
+
* the passed-in account.
|
|
27
|
+
*
|
|
28
|
+
* @param token The token to simulate reward claiming for
|
|
29
|
+
* @param account Optional account to simulate calling claiming for
|
|
30
|
+
* @returns The simulated output
|
|
31
|
+
*/
|
|
32
|
+
claimRewardsSimulate(token: `0x${string}`, account?: Account): Promise<(import("viem").SimulateContractReturnType<readonly [{
|
|
33
|
+
readonly inputs: readonly [{
|
|
34
|
+
readonly internalType: "address";
|
|
35
|
+
readonly name: "owner_";
|
|
36
|
+
readonly type: "address";
|
|
37
|
+
}];
|
|
38
|
+
readonly stateMutability: "nonpayable";
|
|
39
|
+
readonly type: "constructor";
|
|
40
|
+
}, {
|
|
41
|
+
readonly inputs: readonly [];
|
|
42
|
+
readonly name: "Deprecated";
|
|
43
|
+
readonly type: "error";
|
|
44
|
+
}, {
|
|
45
|
+
readonly inputs: readonly [];
|
|
46
|
+
readonly name: "InvalidCreatorInfo";
|
|
47
|
+
readonly type: "error";
|
|
48
|
+
}, {
|
|
49
|
+
readonly inputs: readonly [];
|
|
50
|
+
readonly name: "InvalidCreatorReward";
|
|
51
|
+
readonly type: "error";
|
|
52
|
+
}, {
|
|
53
|
+
readonly inputs: readonly [];
|
|
54
|
+
readonly name: "InvalidInterfaceInfo";
|
|
55
|
+
readonly type: "error";
|
|
56
|
+
}, {
|
|
57
|
+
readonly inputs: readonly [];
|
|
58
|
+
readonly name: "InvalidTick";
|
|
59
|
+
readonly type: "error";
|
|
60
|
+
}, {
|
|
61
|
+
readonly inputs: readonly [];
|
|
62
|
+
readonly name: "InvalidVaultConfiguration";
|
|
63
|
+
readonly type: "error";
|
|
64
|
+
}, {
|
|
65
|
+
readonly inputs: readonly [];
|
|
66
|
+
readonly name: "NotFound";
|
|
67
|
+
readonly type: "error";
|
|
68
|
+
}, {
|
|
69
|
+
readonly inputs: readonly [];
|
|
70
|
+
readonly name: "OnlyNonOriginatingChains";
|
|
71
|
+
readonly type: "error";
|
|
72
|
+
}, {
|
|
73
|
+
readonly inputs: readonly [];
|
|
74
|
+
readonly name: "OnlyOriginatingChain";
|
|
75
|
+
readonly type: "error";
|
|
76
|
+
}, {
|
|
77
|
+
readonly inputs: readonly [{
|
|
78
|
+
readonly internalType: "address";
|
|
79
|
+
readonly name: "owner";
|
|
80
|
+
readonly type: "address";
|
|
81
|
+
}];
|
|
82
|
+
readonly name: "OwnableInvalidOwner";
|
|
83
|
+
readonly type: "error";
|
|
84
|
+
}, {
|
|
85
|
+
readonly inputs: readonly [{
|
|
86
|
+
readonly internalType: "address";
|
|
87
|
+
readonly name: "account";
|
|
88
|
+
readonly type: "address";
|
|
89
|
+
}];
|
|
90
|
+
readonly name: "OwnableUnauthorizedAccount";
|
|
91
|
+
readonly type: "error";
|
|
92
|
+
}, {
|
|
93
|
+
readonly inputs: readonly [];
|
|
94
|
+
readonly name: "ReentrancyGuardReentrantCall";
|
|
95
|
+
readonly type: "error";
|
|
96
|
+
}, {
|
|
97
|
+
readonly inputs: readonly [];
|
|
98
|
+
readonly name: "Unauthorized";
|
|
99
|
+
readonly type: "error";
|
|
100
|
+
}, {
|
|
101
|
+
readonly inputs: readonly [];
|
|
102
|
+
readonly name: "ZeroTeamRewardRecipient";
|
|
103
|
+
readonly type: "error";
|
|
104
|
+
}, {
|
|
105
|
+
readonly anonymous: false;
|
|
106
|
+
readonly inputs: readonly [{
|
|
107
|
+
readonly indexed: false;
|
|
108
|
+
readonly internalType: "address";
|
|
109
|
+
readonly name: "oldClankerDeployer";
|
|
110
|
+
readonly type: "address";
|
|
111
|
+
}, {
|
|
112
|
+
readonly indexed: false;
|
|
113
|
+
readonly internalType: "address";
|
|
114
|
+
readonly name: "newClankerDeployer";
|
|
115
|
+
readonly type: "address";
|
|
116
|
+
}];
|
|
117
|
+
readonly name: "ClankerDeployerUpdated";
|
|
118
|
+
readonly type: "event";
|
|
119
|
+
}, {
|
|
120
|
+
readonly anonymous: false;
|
|
121
|
+
readonly inputs: readonly [{
|
|
122
|
+
readonly indexed: false;
|
|
123
|
+
readonly internalType: "address";
|
|
124
|
+
readonly name: "oldLocker";
|
|
125
|
+
readonly type: "address";
|
|
126
|
+
}, {
|
|
127
|
+
readonly indexed: false;
|
|
128
|
+
readonly internalType: "address";
|
|
129
|
+
readonly name: "newLocker";
|
|
130
|
+
readonly type: "address";
|
|
131
|
+
}];
|
|
132
|
+
readonly name: "LiquidityLockerUpdated";
|
|
133
|
+
readonly type: "event";
|
|
134
|
+
}, {
|
|
135
|
+
readonly anonymous: false;
|
|
136
|
+
readonly inputs: readonly [{
|
|
137
|
+
readonly indexed: true;
|
|
138
|
+
readonly internalType: "address";
|
|
139
|
+
readonly name: "previousOwner";
|
|
140
|
+
readonly type: "address";
|
|
141
|
+
}, {
|
|
142
|
+
readonly indexed: true;
|
|
143
|
+
readonly internalType: "address";
|
|
144
|
+
readonly name: "newOwner";
|
|
145
|
+
readonly type: "address";
|
|
146
|
+
}];
|
|
147
|
+
readonly name: "OwnershipTransferred";
|
|
148
|
+
readonly type: "event";
|
|
149
|
+
}, {
|
|
150
|
+
readonly anonymous: false;
|
|
151
|
+
readonly inputs: readonly [{
|
|
152
|
+
readonly indexed: false;
|
|
153
|
+
readonly internalType: "address";
|
|
154
|
+
readonly name: "admin";
|
|
155
|
+
readonly type: "address";
|
|
156
|
+
}, {
|
|
157
|
+
readonly indexed: false;
|
|
158
|
+
readonly internalType: "bool";
|
|
159
|
+
readonly name: "isAdmin";
|
|
160
|
+
readonly type: "bool";
|
|
161
|
+
}];
|
|
162
|
+
readonly name: "SetAdmin";
|
|
163
|
+
readonly type: "event";
|
|
164
|
+
}, {
|
|
165
|
+
readonly anonymous: false;
|
|
166
|
+
readonly inputs: readonly [{
|
|
167
|
+
readonly indexed: false;
|
|
168
|
+
readonly internalType: "bool";
|
|
169
|
+
readonly name: "deprecated";
|
|
170
|
+
readonly type: "bool";
|
|
171
|
+
}];
|
|
172
|
+
readonly name: "SetDeprecated";
|
|
173
|
+
readonly type: "event";
|
|
174
|
+
}, {
|
|
175
|
+
readonly anonymous: false;
|
|
176
|
+
readonly inputs: readonly [{
|
|
177
|
+
readonly indexed: true;
|
|
178
|
+
readonly internalType: "address";
|
|
179
|
+
readonly name: "tokenAddress";
|
|
180
|
+
readonly type: "address";
|
|
181
|
+
}, {
|
|
182
|
+
readonly indexed: true;
|
|
183
|
+
readonly internalType: "address";
|
|
184
|
+
readonly name: "creatorAdmin";
|
|
185
|
+
readonly type: "address";
|
|
186
|
+
}, {
|
|
187
|
+
readonly indexed: true;
|
|
188
|
+
readonly internalType: "address";
|
|
189
|
+
readonly name: "interfaceAdmin";
|
|
190
|
+
readonly type: "address";
|
|
191
|
+
}, {
|
|
192
|
+
readonly indexed: false;
|
|
193
|
+
readonly internalType: "address";
|
|
194
|
+
readonly name: "creatorRewardRecipient";
|
|
195
|
+
readonly type: "address";
|
|
196
|
+
}, {
|
|
197
|
+
readonly indexed: false;
|
|
198
|
+
readonly internalType: "address";
|
|
199
|
+
readonly name: "interfaceRewardRecipient";
|
|
200
|
+
readonly type: "address";
|
|
201
|
+
}, {
|
|
202
|
+
readonly indexed: false;
|
|
203
|
+
readonly internalType: "uint256";
|
|
204
|
+
readonly name: "positionId";
|
|
205
|
+
readonly type: "uint256";
|
|
206
|
+
}, {
|
|
207
|
+
readonly indexed: false;
|
|
208
|
+
readonly internalType: "string";
|
|
209
|
+
readonly name: "name";
|
|
210
|
+
readonly type: "string";
|
|
211
|
+
}, {
|
|
212
|
+
readonly indexed: false;
|
|
213
|
+
readonly internalType: "string";
|
|
214
|
+
readonly name: "symbol";
|
|
215
|
+
readonly type: "string";
|
|
216
|
+
}, {
|
|
217
|
+
readonly indexed: false;
|
|
218
|
+
readonly internalType: "int24";
|
|
219
|
+
readonly name: "startingTickIfToken0IsNewToken";
|
|
220
|
+
readonly type: "int24";
|
|
221
|
+
}, {
|
|
222
|
+
readonly indexed: false;
|
|
223
|
+
readonly internalType: "string";
|
|
224
|
+
readonly name: "metadata";
|
|
225
|
+
readonly type: "string";
|
|
226
|
+
}, {
|
|
227
|
+
readonly indexed: false;
|
|
228
|
+
readonly internalType: "uint256";
|
|
229
|
+
readonly name: "amountTokensBought";
|
|
230
|
+
readonly type: "uint256";
|
|
231
|
+
}, {
|
|
232
|
+
readonly indexed: false;
|
|
233
|
+
readonly internalType: "uint256";
|
|
234
|
+
readonly name: "vaultDuration";
|
|
235
|
+
readonly type: "uint256";
|
|
236
|
+
}, {
|
|
237
|
+
readonly indexed: false;
|
|
238
|
+
readonly internalType: "uint8";
|
|
239
|
+
readonly name: "vaultPercentage";
|
|
240
|
+
readonly type: "uint8";
|
|
241
|
+
}, {
|
|
242
|
+
readonly indexed: false;
|
|
243
|
+
readonly internalType: "address";
|
|
244
|
+
readonly name: "msgSender";
|
|
245
|
+
readonly type: "address";
|
|
246
|
+
}];
|
|
247
|
+
readonly name: "TokenCreated";
|
|
248
|
+
readonly type: "event";
|
|
249
|
+
}, {
|
|
250
|
+
readonly anonymous: false;
|
|
251
|
+
readonly inputs: readonly [{
|
|
252
|
+
readonly indexed: false;
|
|
253
|
+
readonly internalType: "address";
|
|
254
|
+
readonly name: "oldVault";
|
|
255
|
+
readonly type: "address";
|
|
256
|
+
}, {
|
|
257
|
+
readonly indexed: false;
|
|
258
|
+
readonly internalType: "address";
|
|
259
|
+
readonly name: "newVault";
|
|
260
|
+
readonly type: "address";
|
|
261
|
+
}];
|
|
262
|
+
readonly name: "VaultUpdated";
|
|
263
|
+
readonly type: "event";
|
|
264
|
+
}, {
|
|
265
|
+
readonly inputs: readonly [];
|
|
266
|
+
readonly name: "MAX_CREATOR_REWARD";
|
|
267
|
+
readonly outputs: readonly [{
|
|
268
|
+
readonly internalType: "uint256";
|
|
269
|
+
readonly name: "";
|
|
270
|
+
readonly type: "uint256";
|
|
271
|
+
}];
|
|
272
|
+
readonly stateMutability: "view";
|
|
273
|
+
readonly type: "function";
|
|
274
|
+
}, {
|
|
275
|
+
readonly inputs: readonly [];
|
|
276
|
+
readonly name: "MAX_TICK";
|
|
277
|
+
readonly outputs: readonly [{
|
|
278
|
+
readonly internalType: "int24";
|
|
279
|
+
readonly name: "";
|
|
280
|
+
readonly type: "int24";
|
|
281
|
+
}];
|
|
282
|
+
readonly stateMutability: "view";
|
|
283
|
+
readonly type: "function";
|
|
284
|
+
}, {
|
|
285
|
+
readonly inputs: readonly [];
|
|
286
|
+
readonly name: "MAX_VAULT_PERCENTAGE";
|
|
287
|
+
readonly outputs: readonly [{
|
|
288
|
+
readonly internalType: "uint256";
|
|
289
|
+
readonly name: "";
|
|
290
|
+
readonly type: "uint256";
|
|
291
|
+
}];
|
|
292
|
+
readonly stateMutability: "view";
|
|
293
|
+
readonly type: "function";
|
|
294
|
+
}, {
|
|
295
|
+
readonly inputs: readonly [];
|
|
296
|
+
readonly name: "POOL_FEE";
|
|
297
|
+
readonly outputs: readonly [{
|
|
298
|
+
readonly internalType: "uint24";
|
|
299
|
+
readonly name: "";
|
|
300
|
+
readonly type: "uint24";
|
|
301
|
+
}];
|
|
302
|
+
readonly stateMutability: "view";
|
|
303
|
+
readonly type: "function";
|
|
304
|
+
}, {
|
|
305
|
+
readonly inputs: readonly [];
|
|
306
|
+
readonly name: "TICK_SPACING";
|
|
307
|
+
readonly outputs: readonly [{
|
|
308
|
+
readonly internalType: "int24";
|
|
309
|
+
readonly name: "";
|
|
310
|
+
readonly type: "int24";
|
|
311
|
+
}];
|
|
312
|
+
readonly stateMutability: "view";
|
|
313
|
+
readonly type: "function";
|
|
314
|
+
}, {
|
|
315
|
+
readonly inputs: readonly [];
|
|
316
|
+
readonly name: "TOKEN_SUPPLY";
|
|
317
|
+
readonly outputs: readonly [{
|
|
318
|
+
readonly internalType: "uint256";
|
|
319
|
+
readonly name: "";
|
|
320
|
+
readonly type: "uint256";
|
|
321
|
+
}];
|
|
322
|
+
readonly stateMutability: "view";
|
|
323
|
+
readonly type: "function";
|
|
324
|
+
}, {
|
|
325
|
+
readonly inputs: readonly [{
|
|
326
|
+
readonly internalType: "address";
|
|
327
|
+
readonly name: "";
|
|
328
|
+
readonly type: "address";
|
|
329
|
+
}];
|
|
330
|
+
readonly name: "admins";
|
|
331
|
+
readonly outputs: readonly [{
|
|
332
|
+
readonly internalType: "bool";
|
|
333
|
+
readonly name: "";
|
|
334
|
+
readonly type: "bool";
|
|
335
|
+
}];
|
|
336
|
+
readonly stateMutability: "view";
|
|
337
|
+
readonly type: "function";
|
|
338
|
+
}, {
|
|
339
|
+
readonly inputs: readonly [{
|
|
340
|
+
readonly internalType: "address";
|
|
341
|
+
readonly name: "token";
|
|
342
|
+
readonly type: "address";
|
|
343
|
+
}];
|
|
344
|
+
readonly name: "claimRewards";
|
|
345
|
+
readonly outputs: readonly [];
|
|
346
|
+
readonly stateMutability: "nonpayable";
|
|
347
|
+
readonly type: "function";
|
|
348
|
+
}, {
|
|
349
|
+
readonly inputs: readonly [{
|
|
350
|
+
readonly components: readonly [{
|
|
351
|
+
readonly components: readonly [{
|
|
352
|
+
readonly internalType: "string";
|
|
353
|
+
readonly name: "name";
|
|
354
|
+
readonly type: "string";
|
|
355
|
+
}, {
|
|
356
|
+
readonly internalType: "string";
|
|
357
|
+
readonly name: "symbol";
|
|
358
|
+
readonly type: "string";
|
|
359
|
+
}, {
|
|
360
|
+
readonly internalType: "bytes32";
|
|
361
|
+
readonly name: "salt";
|
|
362
|
+
readonly type: "bytes32";
|
|
363
|
+
}, {
|
|
364
|
+
readonly internalType: "string";
|
|
365
|
+
readonly name: "image";
|
|
366
|
+
readonly type: "string";
|
|
367
|
+
}, {
|
|
368
|
+
readonly internalType: "string";
|
|
369
|
+
readonly name: "metadata";
|
|
370
|
+
readonly type: "string";
|
|
371
|
+
}, {
|
|
372
|
+
readonly internalType: "string";
|
|
373
|
+
readonly name: "context";
|
|
374
|
+
readonly type: "string";
|
|
375
|
+
}, {
|
|
376
|
+
readonly internalType: "uint256";
|
|
377
|
+
readonly name: "originatingChainId";
|
|
378
|
+
readonly type: "uint256";
|
|
379
|
+
}];
|
|
380
|
+
readonly internalType: "struct IClanker.TokenConfig";
|
|
381
|
+
readonly name: "tokenConfig";
|
|
382
|
+
readonly type: "tuple";
|
|
383
|
+
}, {
|
|
384
|
+
readonly components: readonly [{
|
|
385
|
+
readonly internalType: "uint8";
|
|
386
|
+
readonly name: "vaultPercentage";
|
|
387
|
+
readonly type: "uint8";
|
|
388
|
+
}, {
|
|
389
|
+
readonly internalType: "uint256";
|
|
390
|
+
readonly name: "vaultDuration";
|
|
391
|
+
readonly type: "uint256";
|
|
392
|
+
}];
|
|
393
|
+
readonly internalType: "struct IClanker.VaultConfig";
|
|
394
|
+
readonly name: "vaultConfig";
|
|
395
|
+
readonly type: "tuple";
|
|
396
|
+
}, {
|
|
397
|
+
readonly components: readonly [{
|
|
398
|
+
readonly internalType: "address";
|
|
399
|
+
readonly name: "pairedToken";
|
|
400
|
+
readonly type: "address";
|
|
401
|
+
}, {
|
|
402
|
+
readonly internalType: "int24";
|
|
403
|
+
readonly name: "tickIfToken0IsNewToken";
|
|
404
|
+
readonly type: "int24";
|
|
405
|
+
}];
|
|
406
|
+
readonly internalType: "struct IClanker.PoolConfig";
|
|
407
|
+
readonly name: "poolConfig";
|
|
408
|
+
readonly type: "tuple";
|
|
409
|
+
}, {
|
|
410
|
+
readonly components: readonly [{
|
|
411
|
+
readonly internalType: "uint24";
|
|
412
|
+
readonly name: "pairedTokenPoolFee";
|
|
413
|
+
readonly type: "uint24";
|
|
414
|
+
}, {
|
|
415
|
+
readonly internalType: "uint256";
|
|
416
|
+
readonly name: "pairedTokenSwapAmountOutMinimum";
|
|
417
|
+
readonly type: "uint256";
|
|
418
|
+
}];
|
|
419
|
+
readonly internalType: "struct IClanker.InitialBuyConfig";
|
|
420
|
+
readonly name: "initialBuyConfig";
|
|
421
|
+
readonly type: "tuple";
|
|
422
|
+
}, {
|
|
423
|
+
readonly components: readonly [{
|
|
424
|
+
readonly internalType: "uint256";
|
|
425
|
+
readonly name: "creatorReward";
|
|
426
|
+
readonly type: "uint256";
|
|
427
|
+
}, {
|
|
428
|
+
readonly internalType: "address";
|
|
429
|
+
readonly name: "creatorAdmin";
|
|
430
|
+
readonly type: "address";
|
|
431
|
+
}, {
|
|
432
|
+
readonly internalType: "address";
|
|
433
|
+
readonly name: "creatorRewardRecipient";
|
|
434
|
+
readonly type: "address";
|
|
435
|
+
}, {
|
|
436
|
+
readonly internalType: "address";
|
|
437
|
+
readonly name: "interfaceAdmin";
|
|
438
|
+
readonly type: "address";
|
|
439
|
+
}, {
|
|
440
|
+
readonly internalType: "address";
|
|
441
|
+
readonly name: "interfaceRewardRecipient";
|
|
442
|
+
readonly type: "address";
|
|
443
|
+
}];
|
|
444
|
+
readonly internalType: "struct IClanker.RewardsConfig";
|
|
445
|
+
readonly name: "rewardsConfig";
|
|
446
|
+
readonly type: "tuple";
|
|
447
|
+
}];
|
|
448
|
+
readonly internalType: "struct IClanker.DeploymentConfig";
|
|
449
|
+
readonly name: "deploymentConfig";
|
|
450
|
+
readonly type: "tuple";
|
|
451
|
+
}];
|
|
452
|
+
readonly name: "deployToken";
|
|
453
|
+
readonly outputs: readonly [{
|
|
454
|
+
readonly internalType: "address";
|
|
455
|
+
readonly name: "tokenAddress";
|
|
456
|
+
readonly type: "address";
|
|
457
|
+
}, {
|
|
458
|
+
readonly internalType: "uint256";
|
|
459
|
+
readonly name: "positionId";
|
|
460
|
+
readonly type: "uint256";
|
|
461
|
+
}];
|
|
462
|
+
readonly stateMutability: "payable";
|
|
463
|
+
readonly type: "function";
|
|
464
|
+
}, {
|
|
465
|
+
readonly inputs: readonly [{
|
|
466
|
+
readonly components: readonly [{
|
|
467
|
+
readonly components: readonly [{
|
|
468
|
+
readonly internalType: "string";
|
|
469
|
+
readonly name: "name";
|
|
470
|
+
readonly type: "string";
|
|
471
|
+
}, {
|
|
472
|
+
readonly internalType: "string";
|
|
473
|
+
readonly name: "symbol";
|
|
474
|
+
readonly type: "string";
|
|
475
|
+
}, {
|
|
476
|
+
readonly internalType: "bytes32";
|
|
477
|
+
readonly name: "salt";
|
|
478
|
+
readonly type: "bytes32";
|
|
479
|
+
}, {
|
|
480
|
+
readonly internalType: "string";
|
|
481
|
+
readonly name: "image";
|
|
482
|
+
readonly type: "string";
|
|
483
|
+
}, {
|
|
484
|
+
readonly internalType: "string";
|
|
485
|
+
readonly name: "metadata";
|
|
486
|
+
readonly type: "string";
|
|
487
|
+
}, {
|
|
488
|
+
readonly internalType: "string";
|
|
489
|
+
readonly name: "context";
|
|
490
|
+
readonly type: "string";
|
|
491
|
+
}, {
|
|
492
|
+
readonly internalType: "uint256";
|
|
493
|
+
readonly name: "originatingChainId";
|
|
494
|
+
readonly type: "uint256";
|
|
495
|
+
}];
|
|
496
|
+
readonly internalType: "struct IClanker.TokenConfig";
|
|
497
|
+
readonly name: "tokenConfig";
|
|
498
|
+
readonly type: "tuple";
|
|
499
|
+
}, {
|
|
500
|
+
readonly components: readonly [{
|
|
501
|
+
readonly internalType: "uint8";
|
|
502
|
+
readonly name: "vaultPercentage";
|
|
503
|
+
readonly type: "uint8";
|
|
504
|
+
}, {
|
|
505
|
+
readonly internalType: "uint256";
|
|
506
|
+
readonly name: "vaultDuration";
|
|
507
|
+
readonly type: "uint256";
|
|
508
|
+
}];
|
|
509
|
+
readonly internalType: "struct IClanker.VaultConfig";
|
|
510
|
+
readonly name: "vaultConfig";
|
|
511
|
+
readonly type: "tuple";
|
|
512
|
+
}, {
|
|
513
|
+
readonly components: readonly [{
|
|
514
|
+
readonly internalType: "address";
|
|
515
|
+
readonly name: "pairedToken";
|
|
516
|
+
readonly type: "address";
|
|
517
|
+
}, {
|
|
518
|
+
readonly internalType: "int24";
|
|
519
|
+
readonly name: "tickIfToken0IsNewToken";
|
|
520
|
+
readonly type: "int24";
|
|
521
|
+
}];
|
|
522
|
+
readonly internalType: "struct IClanker.PoolConfig";
|
|
523
|
+
readonly name: "poolConfig";
|
|
524
|
+
readonly type: "tuple";
|
|
525
|
+
}, {
|
|
526
|
+
readonly components: readonly [{
|
|
527
|
+
readonly internalType: "uint24";
|
|
528
|
+
readonly name: "pairedTokenPoolFee";
|
|
529
|
+
readonly type: "uint24";
|
|
530
|
+
}, {
|
|
531
|
+
readonly internalType: "uint256";
|
|
532
|
+
readonly name: "pairedTokenSwapAmountOutMinimum";
|
|
533
|
+
readonly type: "uint256";
|
|
534
|
+
}];
|
|
535
|
+
readonly internalType: "struct IClanker.InitialBuyConfig";
|
|
536
|
+
readonly name: "initialBuyConfig";
|
|
537
|
+
readonly type: "tuple";
|
|
538
|
+
}, {
|
|
539
|
+
readonly components: readonly [{
|
|
540
|
+
readonly internalType: "uint256";
|
|
541
|
+
readonly name: "creatorReward";
|
|
542
|
+
readonly type: "uint256";
|
|
543
|
+
}, {
|
|
544
|
+
readonly internalType: "address";
|
|
545
|
+
readonly name: "creatorAdmin";
|
|
546
|
+
readonly type: "address";
|
|
547
|
+
}, {
|
|
548
|
+
readonly internalType: "address";
|
|
549
|
+
readonly name: "creatorRewardRecipient";
|
|
550
|
+
readonly type: "address";
|
|
551
|
+
}, {
|
|
552
|
+
readonly internalType: "address";
|
|
553
|
+
readonly name: "interfaceAdmin";
|
|
554
|
+
readonly type: "address";
|
|
555
|
+
}, {
|
|
556
|
+
readonly internalType: "address";
|
|
557
|
+
readonly name: "interfaceRewardRecipient";
|
|
558
|
+
readonly type: "address";
|
|
559
|
+
}];
|
|
560
|
+
readonly internalType: "struct IClanker.RewardsConfig";
|
|
561
|
+
readonly name: "rewardsConfig";
|
|
562
|
+
readonly type: "tuple";
|
|
563
|
+
}];
|
|
564
|
+
readonly internalType: "struct IClanker.DeploymentConfig";
|
|
565
|
+
readonly name: "deploymentConfig";
|
|
566
|
+
readonly type: "tuple";
|
|
567
|
+
}, {
|
|
568
|
+
readonly internalType: "address";
|
|
569
|
+
readonly name: "teamRewardRecipient";
|
|
570
|
+
readonly type: "address";
|
|
571
|
+
}];
|
|
572
|
+
readonly name: "deployTokenWithCustomTeamRewardRecipient";
|
|
573
|
+
readonly outputs: readonly [{
|
|
574
|
+
readonly internalType: "address";
|
|
575
|
+
readonly name: "tokenAddress";
|
|
576
|
+
readonly type: "address";
|
|
577
|
+
}, {
|
|
578
|
+
readonly internalType: "uint256";
|
|
579
|
+
readonly name: "positionId";
|
|
580
|
+
readonly type: "uint256";
|
|
581
|
+
}];
|
|
582
|
+
readonly stateMutability: "payable";
|
|
583
|
+
readonly type: "function";
|
|
584
|
+
}, {
|
|
585
|
+
readonly inputs: readonly [{
|
|
586
|
+
readonly components: readonly [{
|
|
587
|
+
readonly internalType: "string";
|
|
588
|
+
readonly name: "name";
|
|
589
|
+
readonly type: "string";
|
|
590
|
+
}, {
|
|
591
|
+
readonly internalType: "string";
|
|
592
|
+
readonly name: "symbol";
|
|
593
|
+
readonly type: "string";
|
|
594
|
+
}, {
|
|
595
|
+
readonly internalType: "bytes32";
|
|
596
|
+
readonly name: "salt";
|
|
597
|
+
readonly type: "bytes32";
|
|
598
|
+
}, {
|
|
599
|
+
readonly internalType: "string";
|
|
600
|
+
readonly name: "image";
|
|
601
|
+
readonly type: "string";
|
|
602
|
+
}, {
|
|
603
|
+
readonly internalType: "string";
|
|
604
|
+
readonly name: "metadata";
|
|
605
|
+
readonly type: "string";
|
|
606
|
+
}, {
|
|
607
|
+
readonly internalType: "string";
|
|
608
|
+
readonly name: "context";
|
|
609
|
+
readonly type: "string";
|
|
610
|
+
}, {
|
|
611
|
+
readonly internalType: "uint256";
|
|
612
|
+
readonly name: "originatingChainId";
|
|
613
|
+
readonly type: "uint256";
|
|
614
|
+
}];
|
|
615
|
+
readonly internalType: "struct IClanker.TokenConfig";
|
|
616
|
+
readonly name: "tokenConfig";
|
|
617
|
+
readonly type: "tuple";
|
|
618
|
+
}, {
|
|
619
|
+
readonly internalType: "address";
|
|
620
|
+
readonly name: "tokenAdmin";
|
|
621
|
+
readonly type: "address";
|
|
622
|
+
}];
|
|
623
|
+
readonly name: "deployTokenZeroSupply";
|
|
624
|
+
readonly outputs: readonly [{
|
|
625
|
+
readonly internalType: "address";
|
|
626
|
+
readonly name: "tokenAddress";
|
|
627
|
+
readonly type: "address";
|
|
628
|
+
}];
|
|
629
|
+
readonly stateMutability: "nonpayable";
|
|
630
|
+
readonly type: "function";
|
|
631
|
+
}, {
|
|
632
|
+
readonly inputs: readonly [{
|
|
633
|
+
readonly internalType: "address";
|
|
634
|
+
readonly name: "";
|
|
635
|
+
readonly type: "address";
|
|
636
|
+
}];
|
|
637
|
+
readonly name: "deploymentInfoForToken";
|
|
638
|
+
readonly outputs: readonly [{
|
|
639
|
+
readonly internalType: "address";
|
|
640
|
+
readonly name: "token";
|
|
641
|
+
readonly type: "address";
|
|
642
|
+
}, {
|
|
643
|
+
readonly internalType: "uint256";
|
|
644
|
+
readonly name: "positionId";
|
|
645
|
+
readonly type: "uint256";
|
|
646
|
+
}, {
|
|
647
|
+
readonly internalType: "address";
|
|
648
|
+
readonly name: "locker";
|
|
649
|
+
readonly type: "address";
|
|
650
|
+
}];
|
|
651
|
+
readonly stateMutability: "view";
|
|
652
|
+
readonly type: "function";
|
|
653
|
+
}, {
|
|
654
|
+
readonly inputs: readonly [];
|
|
655
|
+
readonly name: "deprecated";
|
|
656
|
+
readonly outputs: readonly [{
|
|
657
|
+
readonly internalType: "bool";
|
|
658
|
+
readonly name: "";
|
|
659
|
+
readonly type: "bool";
|
|
660
|
+
}];
|
|
661
|
+
readonly stateMutability: "view";
|
|
662
|
+
readonly type: "function";
|
|
663
|
+
}, {
|
|
664
|
+
readonly inputs: readonly [{
|
|
665
|
+
readonly internalType: "address";
|
|
666
|
+
readonly name: "user";
|
|
667
|
+
readonly type: "address";
|
|
668
|
+
}];
|
|
669
|
+
readonly name: "getTokensDeployedByUser";
|
|
670
|
+
readonly outputs: readonly [{
|
|
671
|
+
readonly components: readonly [{
|
|
672
|
+
readonly internalType: "address";
|
|
673
|
+
readonly name: "token";
|
|
674
|
+
readonly type: "address";
|
|
675
|
+
}, {
|
|
676
|
+
readonly internalType: "uint256";
|
|
677
|
+
readonly name: "positionId";
|
|
678
|
+
readonly type: "uint256";
|
|
679
|
+
}, {
|
|
680
|
+
readonly internalType: "address";
|
|
681
|
+
readonly name: "locker";
|
|
682
|
+
readonly type: "address";
|
|
683
|
+
}];
|
|
684
|
+
readonly internalType: "struct IClanker.DeploymentInfo[]";
|
|
685
|
+
readonly name: "";
|
|
686
|
+
readonly type: "tuple[]";
|
|
687
|
+
}];
|
|
688
|
+
readonly stateMutability: "view";
|
|
689
|
+
readonly type: "function";
|
|
690
|
+
}, {
|
|
691
|
+
readonly inputs: readonly [{
|
|
692
|
+
readonly internalType: "address";
|
|
693
|
+
readonly name: "uniswapV3Factory_";
|
|
694
|
+
readonly type: "address";
|
|
695
|
+
}, {
|
|
696
|
+
readonly internalType: "address";
|
|
697
|
+
readonly name: "positionManager_";
|
|
698
|
+
readonly type: "address";
|
|
699
|
+
}, {
|
|
700
|
+
readonly internalType: "address";
|
|
701
|
+
readonly name: "swapRouter_";
|
|
702
|
+
readonly type: "address";
|
|
703
|
+
}, {
|
|
704
|
+
readonly internalType: "address";
|
|
705
|
+
readonly name: "weth_";
|
|
706
|
+
readonly type: "address";
|
|
707
|
+
}, {
|
|
708
|
+
readonly internalType: "address";
|
|
709
|
+
readonly name: "liquidityLocker_";
|
|
710
|
+
readonly type: "address";
|
|
711
|
+
}, {
|
|
712
|
+
readonly internalType: "address";
|
|
713
|
+
readonly name: "vault_";
|
|
714
|
+
readonly type: "address";
|
|
715
|
+
}];
|
|
716
|
+
readonly name: "initialize";
|
|
717
|
+
readonly outputs: readonly [];
|
|
718
|
+
readonly stateMutability: "nonpayable";
|
|
719
|
+
readonly type: "function";
|
|
720
|
+
}, {
|
|
721
|
+
readonly inputs: readonly [];
|
|
722
|
+
readonly name: "liquidityLocker";
|
|
723
|
+
readonly outputs: readonly [{
|
|
724
|
+
readonly internalType: "contract ILpLockerv2";
|
|
725
|
+
readonly name: "";
|
|
726
|
+
readonly type: "address";
|
|
727
|
+
}];
|
|
728
|
+
readonly stateMutability: "view";
|
|
729
|
+
readonly type: "function";
|
|
730
|
+
}, {
|
|
731
|
+
readonly inputs: readonly [];
|
|
732
|
+
readonly name: "owner";
|
|
733
|
+
readonly outputs: readonly [{
|
|
734
|
+
readonly internalType: "address";
|
|
735
|
+
readonly name: "";
|
|
736
|
+
readonly type: "address";
|
|
737
|
+
}];
|
|
738
|
+
readonly stateMutability: "view";
|
|
739
|
+
readonly type: "function";
|
|
740
|
+
}, {
|
|
741
|
+
readonly inputs: readonly [];
|
|
742
|
+
readonly name: "positionManager";
|
|
743
|
+
readonly outputs: readonly [{
|
|
744
|
+
readonly internalType: "contract INonfungiblePositionManager";
|
|
745
|
+
readonly name: "";
|
|
746
|
+
readonly type: "address";
|
|
747
|
+
}];
|
|
748
|
+
readonly stateMutability: "view";
|
|
749
|
+
readonly type: "function";
|
|
750
|
+
}, {
|
|
751
|
+
readonly inputs: readonly [];
|
|
752
|
+
readonly name: "renounceOwnership";
|
|
753
|
+
readonly outputs: readonly [];
|
|
754
|
+
readonly stateMutability: "nonpayable";
|
|
755
|
+
readonly type: "function";
|
|
756
|
+
}, {
|
|
757
|
+
readonly inputs: readonly [{
|
|
758
|
+
readonly internalType: "address";
|
|
759
|
+
readonly name: "admin";
|
|
760
|
+
readonly type: "address";
|
|
761
|
+
}, {
|
|
762
|
+
readonly internalType: "bool";
|
|
763
|
+
readonly name: "isAdmin";
|
|
764
|
+
readonly type: "bool";
|
|
765
|
+
}];
|
|
766
|
+
readonly name: "setAdmin";
|
|
767
|
+
readonly outputs: readonly [];
|
|
768
|
+
readonly stateMutability: "nonpayable";
|
|
769
|
+
readonly type: "function";
|
|
770
|
+
}, {
|
|
771
|
+
readonly inputs: readonly [{
|
|
772
|
+
readonly internalType: "bool";
|
|
773
|
+
readonly name: "deprecated_";
|
|
774
|
+
readonly type: "bool";
|
|
775
|
+
}];
|
|
776
|
+
readonly name: "setDeprecated";
|
|
777
|
+
readonly outputs: readonly [];
|
|
778
|
+
readonly stateMutability: "nonpayable";
|
|
779
|
+
readonly type: "function";
|
|
780
|
+
}, {
|
|
781
|
+
readonly inputs: readonly [];
|
|
782
|
+
readonly name: "swapRouter";
|
|
783
|
+
readonly outputs: readonly [{
|
|
784
|
+
readonly internalType: "contract ISwapRouter";
|
|
785
|
+
readonly name: "";
|
|
786
|
+
readonly type: "address";
|
|
787
|
+
}];
|
|
788
|
+
readonly stateMutability: "view";
|
|
789
|
+
readonly type: "function";
|
|
790
|
+
}, {
|
|
791
|
+
readonly inputs: readonly [{
|
|
792
|
+
readonly internalType: "address";
|
|
793
|
+
readonly name: "";
|
|
794
|
+
readonly type: "address";
|
|
795
|
+
}, {
|
|
796
|
+
readonly internalType: "uint256";
|
|
797
|
+
readonly name: "";
|
|
798
|
+
readonly type: "uint256";
|
|
799
|
+
}];
|
|
800
|
+
readonly name: "tokensDeployedByUsers";
|
|
801
|
+
readonly outputs: readonly [{
|
|
802
|
+
readonly internalType: "address";
|
|
803
|
+
readonly name: "token";
|
|
804
|
+
readonly type: "address";
|
|
805
|
+
}, {
|
|
806
|
+
readonly internalType: "uint256";
|
|
807
|
+
readonly name: "positionId";
|
|
808
|
+
readonly type: "uint256";
|
|
809
|
+
}, {
|
|
810
|
+
readonly internalType: "address";
|
|
811
|
+
readonly name: "locker";
|
|
812
|
+
readonly type: "address";
|
|
813
|
+
}];
|
|
814
|
+
readonly stateMutability: "view";
|
|
815
|
+
readonly type: "function";
|
|
816
|
+
}, {
|
|
817
|
+
readonly inputs: readonly [{
|
|
818
|
+
readonly internalType: "address";
|
|
819
|
+
readonly name: "newOwner";
|
|
820
|
+
readonly type: "address";
|
|
821
|
+
}];
|
|
822
|
+
readonly name: "transferOwnership";
|
|
823
|
+
readonly outputs: readonly [];
|
|
824
|
+
readonly stateMutability: "nonpayable";
|
|
825
|
+
readonly type: "function";
|
|
826
|
+
}, {
|
|
827
|
+
readonly inputs: readonly [];
|
|
828
|
+
readonly name: "uniswapV3Factory";
|
|
829
|
+
readonly outputs: readonly [{
|
|
830
|
+
readonly internalType: "contract IUniswapV3Factory";
|
|
831
|
+
readonly name: "";
|
|
832
|
+
readonly type: "address";
|
|
833
|
+
}];
|
|
834
|
+
readonly stateMutability: "view";
|
|
835
|
+
readonly type: "function";
|
|
836
|
+
}, {
|
|
837
|
+
readonly inputs: readonly [{
|
|
838
|
+
readonly internalType: "address";
|
|
839
|
+
readonly name: "newLocker";
|
|
840
|
+
readonly type: "address";
|
|
841
|
+
}];
|
|
842
|
+
readonly name: "updateLiquidityLocker";
|
|
843
|
+
readonly outputs: readonly [];
|
|
844
|
+
readonly stateMutability: "nonpayable";
|
|
845
|
+
readonly type: "function";
|
|
846
|
+
}, {
|
|
847
|
+
readonly inputs: readonly [{
|
|
848
|
+
readonly internalType: "address";
|
|
849
|
+
readonly name: "newVault";
|
|
850
|
+
readonly type: "address";
|
|
851
|
+
}];
|
|
852
|
+
readonly name: "updateVault";
|
|
853
|
+
readonly outputs: readonly [];
|
|
854
|
+
readonly stateMutability: "nonpayable";
|
|
855
|
+
readonly type: "function";
|
|
856
|
+
}, {
|
|
857
|
+
readonly inputs: readonly [];
|
|
858
|
+
readonly name: "vault";
|
|
859
|
+
readonly outputs: readonly [{
|
|
860
|
+
readonly internalType: "contract IClankerVault";
|
|
861
|
+
readonly name: "";
|
|
862
|
+
readonly type: "address";
|
|
863
|
+
}];
|
|
864
|
+
readonly stateMutability: "view";
|
|
865
|
+
readonly type: "function";
|
|
866
|
+
}, {
|
|
867
|
+
readonly inputs: readonly [];
|
|
868
|
+
readonly name: "weth";
|
|
869
|
+
readonly outputs: readonly [{
|
|
870
|
+
readonly internalType: "address";
|
|
871
|
+
readonly name: "";
|
|
872
|
+
readonly type: "address";
|
|
873
|
+
}];
|
|
874
|
+
readonly stateMutability: "view";
|
|
875
|
+
readonly type: "function";
|
|
876
|
+
}], "claimRewards" | "deployToken" | "deployTokenWithCustomTeamRewardRecipient" | "deployTokenZeroSupply" | "initialize" | "renounceOwnership" | "setAdmin" | "setDeprecated" | "transferOwnership" | "updateLiquidityLocker" | "updateVault"> & {
|
|
877
|
+
error?: undefined;
|
|
878
|
+
}) | ({
|
|
879
|
+
result?: undefined;
|
|
880
|
+
request?: undefined;
|
|
881
|
+
} & {
|
|
882
|
+
error: ClankerError;
|
|
883
|
+
})>;
|
|
884
|
+
/**
|
|
885
|
+
* Claim rewards for a clanker token.
|
|
886
|
+
*
|
|
887
|
+
* @param token Token to claim rewards for
|
|
888
|
+
* @returns Transaction hash of the claim or error
|
|
889
|
+
*/
|
|
890
|
+
claimRewards(token: `0x${string}`): Promise<{
|
|
891
|
+
txHash: `0x${string}`;
|
|
892
|
+
error: undefined;
|
|
893
|
+
} | {
|
|
894
|
+
txHash: undefined;
|
|
895
|
+
error: ClankerError;
|
|
896
|
+
}>;
|
|
897
|
+
/**
|
|
898
|
+
* Get an abi-typed transaction for updating the creator reward recipient.
|
|
899
|
+
*
|
|
900
|
+
* @param tokenId The token ID to update the creator reward recipient for
|
|
901
|
+
* @param newRecipient The new recipient address
|
|
902
|
+
* @returns Abi transaction
|
|
903
|
+
*/
|
|
904
|
+
getUpdateCreatorRewardRecipientTransaction(tokenId: bigint, newRecipient: `0x${string}`): Promise<{
|
|
905
|
+
address: "0x33e2Eda238edcF470309b8c6D228986A1204c8f9";
|
|
906
|
+
abi: readonly [{
|
|
907
|
+
readonly inputs: readonly [{
|
|
908
|
+
readonly internalType: "address";
|
|
909
|
+
readonly name: "owner_";
|
|
910
|
+
readonly type: "address";
|
|
911
|
+
}, {
|
|
912
|
+
readonly internalType: "address";
|
|
913
|
+
readonly name: "tokenFactory_";
|
|
914
|
+
readonly type: "address";
|
|
915
|
+
}, {
|
|
916
|
+
readonly internalType: "address";
|
|
917
|
+
readonly name: "positionManager_";
|
|
918
|
+
readonly type: "address";
|
|
919
|
+
}, {
|
|
920
|
+
readonly internalType: "address";
|
|
921
|
+
readonly name: "teamRecipient_";
|
|
922
|
+
readonly type: "address";
|
|
923
|
+
}];
|
|
924
|
+
readonly stateMutability: "nonpayable";
|
|
925
|
+
readonly type: "constructor";
|
|
926
|
+
}, {
|
|
927
|
+
readonly inputs: readonly [{
|
|
928
|
+
readonly internalType: "uint256";
|
|
929
|
+
readonly name: "tokenId";
|
|
930
|
+
readonly type: "uint256";
|
|
931
|
+
}];
|
|
932
|
+
readonly name: "AlreadyKnownTokenId";
|
|
933
|
+
readonly type: "error";
|
|
934
|
+
}, {
|
|
935
|
+
readonly inputs: readonly [{
|
|
936
|
+
readonly internalType: "uint256";
|
|
937
|
+
readonly name: "creatorReward";
|
|
938
|
+
readonly type: "uint256";
|
|
939
|
+
}];
|
|
940
|
+
readonly name: "InvalidCreatorReward";
|
|
941
|
+
readonly type: "error";
|
|
942
|
+
}, {
|
|
943
|
+
readonly inputs: readonly [];
|
|
944
|
+
readonly name: "InvalidMaxCreatorReward";
|
|
945
|
+
readonly type: "error";
|
|
946
|
+
}, {
|
|
947
|
+
readonly inputs: readonly [];
|
|
948
|
+
readonly name: "InvalidTeamRecipient";
|
|
949
|
+
readonly type: "error";
|
|
950
|
+
}, {
|
|
951
|
+
readonly inputs: readonly [];
|
|
952
|
+
readonly name: "MaxCreatorRewardNotSet";
|
|
953
|
+
readonly type: "error";
|
|
954
|
+
}, {
|
|
955
|
+
readonly inputs: readonly [{
|
|
956
|
+
readonly internalType: "address";
|
|
957
|
+
readonly name: "user";
|
|
958
|
+
readonly type: "address";
|
|
959
|
+
}];
|
|
960
|
+
readonly name: "NotAllowed";
|
|
961
|
+
readonly type: "error";
|
|
962
|
+
}, {
|
|
963
|
+
readonly inputs: readonly [{
|
|
964
|
+
readonly internalType: "address";
|
|
965
|
+
readonly name: "owner";
|
|
966
|
+
readonly type: "address";
|
|
967
|
+
}];
|
|
968
|
+
readonly name: "OwnableInvalidOwner";
|
|
969
|
+
readonly type: "error";
|
|
970
|
+
}, {
|
|
971
|
+
readonly inputs: readonly [{
|
|
972
|
+
readonly internalType: "address";
|
|
973
|
+
readonly name: "account";
|
|
974
|
+
readonly type: "address";
|
|
975
|
+
}];
|
|
976
|
+
readonly name: "OwnableUnauthorizedAccount";
|
|
977
|
+
readonly type: "error";
|
|
978
|
+
}, {
|
|
979
|
+
readonly anonymous: false;
|
|
980
|
+
readonly inputs: readonly [{
|
|
981
|
+
readonly indexed: true;
|
|
982
|
+
readonly internalType: "uint256";
|
|
983
|
+
readonly name: "lpTokenId";
|
|
984
|
+
readonly type: "uint256";
|
|
985
|
+
}, {
|
|
986
|
+
readonly indexed: true;
|
|
987
|
+
readonly internalType: "address";
|
|
988
|
+
readonly name: "creatorRecipient";
|
|
989
|
+
readonly type: "address";
|
|
990
|
+
}, {
|
|
991
|
+
readonly indexed: true;
|
|
992
|
+
readonly internalType: "address";
|
|
993
|
+
readonly name: "interfaceRecipient";
|
|
994
|
+
readonly type: "address";
|
|
995
|
+
}, {
|
|
996
|
+
readonly indexed: false;
|
|
997
|
+
readonly internalType: "address";
|
|
998
|
+
readonly name: "teamRecipient";
|
|
999
|
+
readonly type: "address";
|
|
1000
|
+
}, {
|
|
1001
|
+
readonly indexed: false;
|
|
1002
|
+
readonly internalType: "address";
|
|
1003
|
+
readonly name: "token0";
|
|
1004
|
+
readonly type: "address";
|
|
1005
|
+
}, {
|
|
1006
|
+
readonly indexed: false;
|
|
1007
|
+
readonly internalType: "address";
|
|
1008
|
+
readonly name: "token1";
|
|
1009
|
+
readonly type: "address";
|
|
1010
|
+
}, {
|
|
1011
|
+
readonly indexed: false;
|
|
1012
|
+
readonly internalType: "uint256";
|
|
1013
|
+
readonly name: "creatorReward0";
|
|
1014
|
+
readonly type: "uint256";
|
|
1015
|
+
}, {
|
|
1016
|
+
readonly indexed: false;
|
|
1017
|
+
readonly internalType: "uint256";
|
|
1018
|
+
readonly name: "creatorReward1";
|
|
1019
|
+
readonly type: "uint256";
|
|
1020
|
+
}, {
|
|
1021
|
+
readonly indexed: false;
|
|
1022
|
+
readonly internalType: "uint256";
|
|
1023
|
+
readonly name: "interfaceReward0";
|
|
1024
|
+
readonly type: "uint256";
|
|
1025
|
+
}, {
|
|
1026
|
+
readonly indexed: false;
|
|
1027
|
+
readonly internalType: "uint256";
|
|
1028
|
+
readonly name: "interfaceReward1";
|
|
1029
|
+
readonly type: "uint256";
|
|
1030
|
+
}, {
|
|
1031
|
+
readonly indexed: false;
|
|
1032
|
+
readonly internalType: "uint256";
|
|
1033
|
+
readonly name: "teamReward0";
|
|
1034
|
+
readonly type: "uint256";
|
|
1035
|
+
}, {
|
|
1036
|
+
readonly indexed: false;
|
|
1037
|
+
readonly internalType: "uint256";
|
|
1038
|
+
readonly name: "teamReward1";
|
|
1039
|
+
readonly type: "uint256";
|
|
1040
|
+
}];
|
|
1041
|
+
readonly name: "ClaimedRewards";
|
|
1042
|
+
readonly type: "event";
|
|
1043
|
+
}, {
|
|
1044
|
+
readonly anonymous: false;
|
|
1045
|
+
readonly inputs: readonly [{
|
|
1046
|
+
readonly indexed: true;
|
|
1047
|
+
readonly internalType: "uint256";
|
|
1048
|
+
readonly name: "lpTokenId";
|
|
1049
|
+
readonly type: "uint256";
|
|
1050
|
+
}, {
|
|
1051
|
+
readonly indexed: true;
|
|
1052
|
+
readonly internalType: "address";
|
|
1053
|
+
readonly name: "oldAdmin";
|
|
1054
|
+
readonly type: "address";
|
|
1055
|
+
}, {
|
|
1056
|
+
readonly indexed: false;
|
|
1057
|
+
readonly internalType: "address";
|
|
1058
|
+
readonly name: "newAdmin";
|
|
1059
|
+
readonly type: "address";
|
|
1060
|
+
}];
|
|
1061
|
+
readonly name: "CreatorRewardRecipientAdminUpdated";
|
|
1062
|
+
readonly type: "event";
|
|
1063
|
+
}, {
|
|
1064
|
+
readonly anonymous: false;
|
|
1065
|
+
readonly inputs: readonly [{
|
|
1066
|
+
readonly indexed: true;
|
|
1067
|
+
readonly internalType: "uint256";
|
|
1068
|
+
readonly name: "lpTokenId";
|
|
1069
|
+
readonly type: "uint256";
|
|
1070
|
+
}, {
|
|
1071
|
+
readonly indexed: true;
|
|
1072
|
+
readonly internalType: "address";
|
|
1073
|
+
readonly name: "oldRecipient";
|
|
1074
|
+
readonly type: "address";
|
|
1075
|
+
}, {
|
|
1076
|
+
readonly indexed: false;
|
|
1077
|
+
readonly internalType: "address";
|
|
1078
|
+
readonly name: "newRecipient";
|
|
1079
|
+
readonly type: "address";
|
|
1080
|
+
}];
|
|
1081
|
+
readonly name: "CreatorRewardRecipientUpdated";
|
|
1082
|
+
readonly type: "event";
|
|
1083
|
+
}, {
|
|
1084
|
+
readonly anonymous: false;
|
|
1085
|
+
readonly inputs: readonly [{
|
|
1086
|
+
readonly indexed: true;
|
|
1087
|
+
readonly internalType: "uint256";
|
|
1088
|
+
readonly name: "lpTokenId";
|
|
1089
|
+
readonly type: "uint256";
|
|
1090
|
+
}, {
|
|
1091
|
+
readonly indexed: true;
|
|
1092
|
+
readonly internalType: "address";
|
|
1093
|
+
readonly name: "oldAdmin";
|
|
1094
|
+
readonly type: "address";
|
|
1095
|
+
}, {
|
|
1096
|
+
readonly indexed: false;
|
|
1097
|
+
readonly internalType: "address";
|
|
1098
|
+
readonly name: "newAdmin";
|
|
1099
|
+
readonly type: "address";
|
|
1100
|
+
}];
|
|
1101
|
+
readonly name: "InterfaceRewardRecipientAdminUpdated";
|
|
1102
|
+
readonly type: "event";
|
|
1103
|
+
}, {
|
|
1104
|
+
readonly anonymous: false;
|
|
1105
|
+
readonly inputs: readonly [{
|
|
1106
|
+
readonly indexed: true;
|
|
1107
|
+
readonly internalType: "uint256";
|
|
1108
|
+
readonly name: "lpTokenId";
|
|
1109
|
+
readonly type: "uint256";
|
|
1110
|
+
}, {
|
|
1111
|
+
readonly indexed: true;
|
|
1112
|
+
readonly internalType: "address";
|
|
1113
|
+
readonly name: "oldRecipient";
|
|
1114
|
+
readonly type: "address";
|
|
1115
|
+
}, {
|
|
1116
|
+
readonly indexed: false;
|
|
1117
|
+
readonly internalType: "address";
|
|
1118
|
+
readonly name: "newRecipient";
|
|
1119
|
+
readonly type: "address";
|
|
1120
|
+
}];
|
|
1121
|
+
readonly name: "InterfaceRewardRecipientUpdated";
|
|
1122
|
+
readonly type: "event";
|
|
1123
|
+
}, {
|
|
1124
|
+
readonly anonymous: false;
|
|
1125
|
+
readonly inputs: readonly [{
|
|
1126
|
+
readonly indexed: true;
|
|
1127
|
+
readonly internalType: "address";
|
|
1128
|
+
readonly name: "previousOwner";
|
|
1129
|
+
readonly type: "address";
|
|
1130
|
+
}, {
|
|
1131
|
+
readonly indexed: true;
|
|
1132
|
+
readonly internalType: "address";
|
|
1133
|
+
readonly name: "newOwner";
|
|
1134
|
+
readonly type: "address";
|
|
1135
|
+
}];
|
|
1136
|
+
readonly name: "OwnershipTransferred";
|
|
1137
|
+
readonly type: "event";
|
|
1138
|
+
}, {
|
|
1139
|
+
readonly anonymous: false;
|
|
1140
|
+
readonly inputs: readonly [{
|
|
1141
|
+
readonly indexed: true;
|
|
1142
|
+
readonly internalType: "address";
|
|
1143
|
+
readonly name: "from";
|
|
1144
|
+
readonly type: "address";
|
|
1145
|
+
}, {
|
|
1146
|
+
readonly indexed: false;
|
|
1147
|
+
readonly internalType: "uint256";
|
|
1148
|
+
readonly name: "tokenId";
|
|
1149
|
+
readonly type: "uint256";
|
|
1150
|
+
}];
|
|
1151
|
+
readonly name: "Received";
|
|
1152
|
+
readonly type: "event";
|
|
1153
|
+
}, {
|
|
1154
|
+
readonly anonymous: false;
|
|
1155
|
+
readonly inputs: readonly [{
|
|
1156
|
+
readonly indexed: true;
|
|
1157
|
+
readonly internalType: "uint256";
|
|
1158
|
+
readonly name: "lpTokenId";
|
|
1159
|
+
readonly type: "uint256";
|
|
1160
|
+
}, {
|
|
1161
|
+
readonly indexed: true;
|
|
1162
|
+
readonly internalType: "address";
|
|
1163
|
+
readonly name: "oldRecipient";
|
|
1164
|
+
readonly type: "address";
|
|
1165
|
+
}, {
|
|
1166
|
+
readonly indexed: false;
|
|
1167
|
+
readonly internalType: "address";
|
|
1168
|
+
readonly name: "newRecipient";
|
|
1169
|
+
readonly type: "address";
|
|
1170
|
+
}];
|
|
1171
|
+
readonly name: "TeamOverrideRewardRecipientUpdated";
|
|
1172
|
+
readonly type: "event";
|
|
1173
|
+
}, {
|
|
1174
|
+
readonly anonymous: false;
|
|
1175
|
+
readonly inputs: readonly [{
|
|
1176
|
+
readonly indexed: true;
|
|
1177
|
+
readonly internalType: "address";
|
|
1178
|
+
readonly name: "oldRecipient";
|
|
1179
|
+
readonly type: "address";
|
|
1180
|
+
}, {
|
|
1181
|
+
readonly indexed: false;
|
|
1182
|
+
readonly internalType: "address";
|
|
1183
|
+
readonly name: "newRecipient";
|
|
1184
|
+
readonly type: "address";
|
|
1185
|
+
}];
|
|
1186
|
+
readonly name: "TeamRecipientUpdated";
|
|
1187
|
+
readonly type: "event";
|
|
1188
|
+
}, {
|
|
1189
|
+
readonly anonymous: false;
|
|
1190
|
+
readonly inputs: readonly [{
|
|
1191
|
+
readonly indexed: false;
|
|
1192
|
+
readonly internalType: "uint256";
|
|
1193
|
+
readonly name: "lpTokenId";
|
|
1194
|
+
readonly type: "uint256";
|
|
1195
|
+
}, {
|
|
1196
|
+
readonly indexed: false;
|
|
1197
|
+
readonly internalType: "uint256";
|
|
1198
|
+
readonly name: "creatorReward";
|
|
1199
|
+
readonly type: "uint256";
|
|
1200
|
+
}, {
|
|
1201
|
+
readonly indexed: true;
|
|
1202
|
+
readonly internalType: "address";
|
|
1203
|
+
readonly name: "creator";
|
|
1204
|
+
readonly type: "address";
|
|
1205
|
+
}, {
|
|
1206
|
+
readonly indexed: true;
|
|
1207
|
+
readonly internalType: "address";
|
|
1208
|
+
readonly name: "interfacer";
|
|
1209
|
+
readonly type: "address";
|
|
1210
|
+
}];
|
|
1211
|
+
readonly name: "TokenRewardAdded";
|
|
1212
|
+
readonly type: "event";
|
|
1213
|
+
}, {
|
|
1214
|
+
readonly inputs: readonly [];
|
|
1215
|
+
readonly name: "MAX_CREATOR_REWARD";
|
|
1216
|
+
readonly outputs: readonly [{
|
|
1217
|
+
readonly internalType: "uint256";
|
|
1218
|
+
readonly name: "";
|
|
1219
|
+
readonly type: "uint256";
|
|
1220
|
+
}];
|
|
1221
|
+
readonly stateMutability: "view";
|
|
1222
|
+
readonly type: "function";
|
|
1223
|
+
}, {
|
|
1224
|
+
readonly inputs: readonly [];
|
|
1225
|
+
readonly name: "TEAM_REWARD";
|
|
1226
|
+
readonly outputs: readonly [{
|
|
1227
|
+
readonly internalType: "uint256";
|
|
1228
|
+
readonly name: "";
|
|
1229
|
+
readonly type: "uint256";
|
|
1230
|
+
}];
|
|
1231
|
+
readonly stateMutability: "view";
|
|
1232
|
+
readonly type: "function";
|
|
1233
|
+
}, {
|
|
1234
|
+
readonly inputs: readonly [{
|
|
1235
|
+
readonly components: readonly [{
|
|
1236
|
+
readonly internalType: "uint256";
|
|
1237
|
+
readonly name: "lpTokenId";
|
|
1238
|
+
readonly type: "uint256";
|
|
1239
|
+
}, {
|
|
1240
|
+
readonly internalType: "uint256";
|
|
1241
|
+
readonly name: "creatorReward";
|
|
1242
|
+
readonly type: "uint256";
|
|
1243
|
+
}, {
|
|
1244
|
+
readonly components: readonly [{
|
|
1245
|
+
readonly internalType: "address";
|
|
1246
|
+
readonly name: "admin";
|
|
1247
|
+
readonly type: "address";
|
|
1248
|
+
}, {
|
|
1249
|
+
readonly internalType: "address";
|
|
1250
|
+
readonly name: "recipient";
|
|
1251
|
+
readonly type: "address";
|
|
1252
|
+
}];
|
|
1253
|
+
readonly internalType: "struct ILpLockerv2.RewardRecipient";
|
|
1254
|
+
readonly name: "creator";
|
|
1255
|
+
readonly type: "tuple";
|
|
1256
|
+
}, {
|
|
1257
|
+
readonly components: readonly [{
|
|
1258
|
+
readonly internalType: "address";
|
|
1259
|
+
readonly name: "admin";
|
|
1260
|
+
readonly type: "address";
|
|
1261
|
+
}, {
|
|
1262
|
+
readonly internalType: "address";
|
|
1263
|
+
readonly name: "recipient";
|
|
1264
|
+
readonly type: "address";
|
|
1265
|
+
}];
|
|
1266
|
+
readonly internalType: "struct ILpLockerv2.RewardRecipient";
|
|
1267
|
+
readonly name: "interfacer";
|
|
1268
|
+
readonly type: "tuple";
|
|
1269
|
+
}];
|
|
1270
|
+
readonly internalType: "struct ILpLockerv2.TokenRewardInfo";
|
|
1271
|
+
readonly name: "tokenRewardInfo";
|
|
1272
|
+
readonly type: "tuple";
|
|
1273
|
+
}];
|
|
1274
|
+
readonly name: "addTokenReward";
|
|
1275
|
+
readonly outputs: readonly [];
|
|
1276
|
+
readonly stateMutability: "nonpayable";
|
|
1277
|
+
readonly type: "function";
|
|
1278
|
+
}, {
|
|
1279
|
+
readonly inputs: readonly [{
|
|
1280
|
+
readonly internalType: "uint256";
|
|
1281
|
+
readonly name: "tokenId";
|
|
1282
|
+
readonly type: "uint256";
|
|
1283
|
+
}];
|
|
1284
|
+
readonly name: "collectRewards";
|
|
1285
|
+
readonly outputs: readonly [];
|
|
1286
|
+
readonly stateMutability: "nonpayable";
|
|
1287
|
+
readonly type: "function";
|
|
1288
|
+
}, {
|
|
1289
|
+
readonly inputs: readonly [{
|
|
1290
|
+
readonly internalType: "address";
|
|
1291
|
+
readonly name: "";
|
|
1292
|
+
readonly type: "address";
|
|
1293
|
+
}, {
|
|
1294
|
+
readonly internalType: "uint256";
|
|
1295
|
+
readonly name: "";
|
|
1296
|
+
readonly type: "uint256";
|
|
1297
|
+
}];
|
|
1298
|
+
readonly name: "creatorTokenIds";
|
|
1299
|
+
readonly outputs: readonly [{
|
|
1300
|
+
readonly internalType: "uint256";
|
|
1301
|
+
readonly name: "";
|
|
1302
|
+
readonly type: "uint256";
|
|
1303
|
+
}];
|
|
1304
|
+
readonly stateMutability: "view";
|
|
1305
|
+
readonly type: "function";
|
|
1306
|
+
}, {
|
|
1307
|
+
readonly inputs: readonly [];
|
|
1308
|
+
readonly name: "factory";
|
|
1309
|
+
readonly outputs: readonly [{
|
|
1310
|
+
readonly internalType: "address";
|
|
1311
|
+
readonly name: "";
|
|
1312
|
+
readonly type: "address";
|
|
1313
|
+
}];
|
|
1314
|
+
readonly stateMutability: "view";
|
|
1315
|
+
readonly type: "function";
|
|
1316
|
+
}, {
|
|
1317
|
+
readonly inputs: readonly [{
|
|
1318
|
+
readonly internalType: "address";
|
|
1319
|
+
readonly name: "user";
|
|
1320
|
+
readonly type: "address";
|
|
1321
|
+
}];
|
|
1322
|
+
readonly name: "getLpTokenIdsForCreator";
|
|
1323
|
+
readonly outputs: readonly [{
|
|
1324
|
+
readonly internalType: "uint256[]";
|
|
1325
|
+
readonly name: "";
|
|
1326
|
+
readonly type: "uint256[]";
|
|
1327
|
+
}];
|
|
1328
|
+
readonly stateMutability: "view";
|
|
1329
|
+
readonly type: "function";
|
|
1330
|
+
}, {
|
|
1331
|
+
readonly inputs: readonly [{
|
|
1332
|
+
readonly internalType: "address";
|
|
1333
|
+
readonly name: "";
|
|
1334
|
+
readonly type: "address";
|
|
1335
|
+
}, {
|
|
1336
|
+
readonly internalType: "address";
|
|
1337
|
+
readonly name: "from";
|
|
1338
|
+
readonly type: "address";
|
|
1339
|
+
}, {
|
|
1340
|
+
readonly internalType: "uint256";
|
|
1341
|
+
readonly name: "id";
|
|
1342
|
+
readonly type: "uint256";
|
|
1343
|
+
}, {
|
|
1344
|
+
readonly internalType: "bytes";
|
|
1345
|
+
readonly name: "";
|
|
1346
|
+
readonly type: "bytes";
|
|
1347
|
+
}];
|
|
1348
|
+
readonly name: "onERC721Received";
|
|
1349
|
+
readonly outputs: readonly [{
|
|
1350
|
+
readonly internalType: "bytes4";
|
|
1351
|
+
readonly name: "";
|
|
1352
|
+
readonly type: "bytes4";
|
|
1353
|
+
}];
|
|
1354
|
+
readonly stateMutability: "nonpayable";
|
|
1355
|
+
readonly type: "function";
|
|
1356
|
+
}, {
|
|
1357
|
+
readonly inputs: readonly [];
|
|
1358
|
+
readonly name: "owner";
|
|
1359
|
+
readonly outputs: readonly [{
|
|
1360
|
+
readonly internalType: "address";
|
|
1361
|
+
readonly name: "";
|
|
1362
|
+
readonly type: "address";
|
|
1363
|
+
}];
|
|
1364
|
+
readonly stateMutability: "view";
|
|
1365
|
+
readonly type: "function";
|
|
1366
|
+
}, {
|
|
1367
|
+
readonly inputs: readonly [];
|
|
1368
|
+
readonly name: "positionManager";
|
|
1369
|
+
readonly outputs: readonly [{
|
|
1370
|
+
readonly internalType: "address";
|
|
1371
|
+
readonly name: "";
|
|
1372
|
+
readonly type: "address";
|
|
1373
|
+
}];
|
|
1374
|
+
readonly stateMutability: "view";
|
|
1375
|
+
readonly type: "function";
|
|
1376
|
+
}, {
|
|
1377
|
+
readonly inputs: readonly [];
|
|
1378
|
+
readonly name: "renounceOwnership";
|
|
1379
|
+
readonly outputs: readonly [];
|
|
1380
|
+
readonly stateMutability: "nonpayable";
|
|
1381
|
+
readonly type: "function";
|
|
1382
|
+
}, {
|
|
1383
|
+
readonly inputs: readonly [{
|
|
1384
|
+
readonly internalType: "uint256";
|
|
1385
|
+
readonly name: "tokenId";
|
|
1386
|
+
readonly type: "uint256";
|
|
1387
|
+
}, {
|
|
1388
|
+
readonly internalType: "address";
|
|
1389
|
+
readonly name: "newTeamRecipient";
|
|
1390
|
+
readonly type: "address";
|
|
1391
|
+
}];
|
|
1392
|
+
readonly name: "setOverrideTeamRewardRecipientForToken";
|
|
1393
|
+
readonly outputs: readonly [];
|
|
1394
|
+
readonly stateMutability: "nonpayable";
|
|
1395
|
+
readonly type: "function";
|
|
1396
|
+
}, {
|
|
1397
|
+
readonly inputs: readonly [{
|
|
1398
|
+
readonly internalType: "uint256";
|
|
1399
|
+
readonly name: "";
|
|
1400
|
+
readonly type: "uint256";
|
|
1401
|
+
}];
|
|
1402
|
+
readonly name: "teamOverrideRewardRecipientForToken";
|
|
1403
|
+
readonly outputs: readonly [{
|
|
1404
|
+
readonly internalType: "address";
|
|
1405
|
+
readonly name: "";
|
|
1406
|
+
readonly type: "address";
|
|
1407
|
+
}];
|
|
1408
|
+
readonly stateMutability: "view";
|
|
1409
|
+
readonly type: "function";
|
|
1410
|
+
}, {
|
|
1411
|
+
readonly inputs: readonly [];
|
|
1412
|
+
readonly name: "teamRecipient";
|
|
1413
|
+
readonly outputs: readonly [{
|
|
1414
|
+
readonly internalType: "address";
|
|
1415
|
+
readonly name: "";
|
|
1416
|
+
readonly type: "address";
|
|
1417
|
+
}];
|
|
1418
|
+
readonly stateMutability: "view";
|
|
1419
|
+
readonly type: "function";
|
|
1420
|
+
}, {
|
|
1421
|
+
readonly inputs: readonly [{
|
|
1422
|
+
readonly internalType: "uint256";
|
|
1423
|
+
readonly name: "";
|
|
1424
|
+
readonly type: "uint256";
|
|
1425
|
+
}];
|
|
1426
|
+
readonly name: "tokenRewards";
|
|
1427
|
+
readonly outputs: readonly [{
|
|
1428
|
+
readonly internalType: "uint256";
|
|
1429
|
+
readonly name: "lpTokenId";
|
|
1430
|
+
readonly type: "uint256";
|
|
1431
|
+
}, {
|
|
1432
|
+
readonly internalType: "uint256";
|
|
1433
|
+
readonly name: "creatorReward";
|
|
1434
|
+
readonly type: "uint256";
|
|
1435
|
+
}, {
|
|
1436
|
+
readonly components: readonly [{
|
|
1437
|
+
readonly internalType: "address";
|
|
1438
|
+
readonly name: "admin";
|
|
1439
|
+
readonly type: "address";
|
|
1440
|
+
}, {
|
|
1441
|
+
readonly internalType: "address";
|
|
1442
|
+
readonly name: "recipient";
|
|
1443
|
+
readonly type: "address";
|
|
1444
|
+
}];
|
|
1445
|
+
readonly internalType: "struct ILpLockerv2.RewardRecipient";
|
|
1446
|
+
readonly name: "creator";
|
|
1447
|
+
readonly type: "tuple";
|
|
1448
|
+
}, {
|
|
1449
|
+
readonly components: readonly [{
|
|
1450
|
+
readonly internalType: "address";
|
|
1451
|
+
readonly name: "admin";
|
|
1452
|
+
readonly type: "address";
|
|
1453
|
+
}, {
|
|
1454
|
+
readonly internalType: "address";
|
|
1455
|
+
readonly name: "recipient";
|
|
1456
|
+
readonly type: "address";
|
|
1457
|
+
}];
|
|
1458
|
+
readonly internalType: "struct ILpLockerv2.RewardRecipient";
|
|
1459
|
+
readonly name: "interfacer";
|
|
1460
|
+
readonly type: "tuple";
|
|
1461
|
+
}];
|
|
1462
|
+
readonly stateMutability: "view";
|
|
1463
|
+
readonly type: "function";
|
|
1464
|
+
}, {
|
|
1465
|
+
readonly inputs: readonly [{
|
|
1466
|
+
readonly internalType: "address";
|
|
1467
|
+
readonly name: "newOwner";
|
|
1468
|
+
readonly type: "address";
|
|
1469
|
+
}];
|
|
1470
|
+
readonly name: "transferOwnership";
|
|
1471
|
+
readonly outputs: readonly [];
|
|
1472
|
+
readonly stateMutability: "nonpayable";
|
|
1473
|
+
readonly type: "function";
|
|
1474
|
+
}, {
|
|
1475
|
+
readonly inputs: readonly [{
|
|
1476
|
+
readonly internalType: "uint256";
|
|
1477
|
+
readonly name: "tokenId";
|
|
1478
|
+
readonly type: "uint256";
|
|
1479
|
+
}, {
|
|
1480
|
+
readonly internalType: "address";
|
|
1481
|
+
readonly name: "newAdmin";
|
|
1482
|
+
readonly type: "address";
|
|
1483
|
+
}];
|
|
1484
|
+
readonly name: "updateCreatorRewardAdmin";
|
|
1485
|
+
readonly outputs: readonly [];
|
|
1486
|
+
readonly stateMutability: "nonpayable";
|
|
1487
|
+
readonly type: "function";
|
|
1488
|
+
}, {
|
|
1489
|
+
readonly inputs: readonly [{
|
|
1490
|
+
readonly internalType: "uint256";
|
|
1491
|
+
readonly name: "tokenId";
|
|
1492
|
+
readonly type: "uint256";
|
|
1493
|
+
}, {
|
|
1494
|
+
readonly internalType: "address";
|
|
1495
|
+
readonly name: "newRecipient";
|
|
1496
|
+
readonly type: "address";
|
|
1497
|
+
}];
|
|
1498
|
+
readonly name: "updateCreatorRewardRecipient";
|
|
1499
|
+
readonly outputs: readonly [];
|
|
1500
|
+
readonly stateMutability: "nonpayable";
|
|
1501
|
+
readonly type: "function";
|
|
1502
|
+
}, {
|
|
1503
|
+
readonly inputs: readonly [{
|
|
1504
|
+
readonly internalType: "uint256";
|
|
1505
|
+
readonly name: "tokenId";
|
|
1506
|
+
readonly type: "uint256";
|
|
1507
|
+
}, {
|
|
1508
|
+
readonly internalType: "address";
|
|
1509
|
+
readonly name: "newAdmin";
|
|
1510
|
+
readonly type: "address";
|
|
1511
|
+
}];
|
|
1512
|
+
readonly name: "updateInterfaceRewardAdmin";
|
|
1513
|
+
readonly outputs: readonly [];
|
|
1514
|
+
readonly stateMutability: "nonpayable";
|
|
1515
|
+
readonly type: "function";
|
|
1516
|
+
}, {
|
|
1517
|
+
readonly inputs: readonly [{
|
|
1518
|
+
readonly internalType: "uint256";
|
|
1519
|
+
readonly name: "tokenId";
|
|
1520
|
+
readonly type: "uint256";
|
|
1521
|
+
}, {
|
|
1522
|
+
readonly internalType: "address";
|
|
1523
|
+
readonly name: "newRecipient";
|
|
1524
|
+
readonly type: "address";
|
|
1525
|
+
}];
|
|
1526
|
+
readonly name: "updateInterfaceRewardRecipient";
|
|
1527
|
+
readonly outputs: readonly [];
|
|
1528
|
+
readonly stateMutability: "nonpayable";
|
|
1529
|
+
readonly type: "function";
|
|
1530
|
+
}, {
|
|
1531
|
+
readonly inputs: readonly [{
|
|
1532
|
+
readonly internalType: "address";
|
|
1533
|
+
readonly name: "newRecipient";
|
|
1534
|
+
readonly type: "address";
|
|
1535
|
+
}];
|
|
1536
|
+
readonly name: "updateTeamRecipient";
|
|
1537
|
+
readonly outputs: readonly [];
|
|
1538
|
+
readonly stateMutability: "nonpayable";
|
|
1539
|
+
readonly type: "function";
|
|
1540
|
+
}, {
|
|
1541
|
+
readonly inputs: readonly [];
|
|
1542
|
+
readonly name: "version";
|
|
1543
|
+
readonly outputs: readonly [{
|
|
1544
|
+
readonly internalType: "string";
|
|
1545
|
+
readonly name: "";
|
|
1546
|
+
readonly type: "string";
|
|
1547
|
+
}];
|
|
1548
|
+
readonly stateMutability: "view";
|
|
1549
|
+
readonly type: "function";
|
|
1550
|
+
}, {
|
|
1551
|
+
readonly inputs: readonly [{
|
|
1552
|
+
readonly internalType: "address";
|
|
1553
|
+
readonly name: "token";
|
|
1554
|
+
readonly type: "address";
|
|
1555
|
+
}, {
|
|
1556
|
+
readonly internalType: "address";
|
|
1557
|
+
readonly name: "recipient";
|
|
1558
|
+
readonly type: "address";
|
|
1559
|
+
}];
|
|
1560
|
+
readonly name: "withdrawERC20";
|
|
1561
|
+
readonly outputs: readonly [];
|
|
1562
|
+
readonly stateMutability: "nonpayable";
|
|
1563
|
+
readonly type: "function";
|
|
1564
|
+
}, {
|
|
1565
|
+
readonly inputs: readonly [{
|
|
1566
|
+
readonly internalType: "address";
|
|
1567
|
+
readonly name: "recipient";
|
|
1568
|
+
readonly type: "address";
|
|
1569
|
+
}];
|
|
1570
|
+
readonly name: "withdrawETH";
|
|
1571
|
+
readonly outputs: readonly [];
|
|
1572
|
+
readonly stateMutability: "nonpayable";
|
|
1573
|
+
readonly type: "function";
|
|
1574
|
+
}];
|
|
1575
|
+
functionName: "updateCreatorRewardRecipient";
|
|
1576
|
+
args: readonly [bigint, `0x${string}`];
|
|
1577
|
+
}>;
|
|
1578
|
+
/**
|
|
1579
|
+
* Simulate updating the creator reward recipient. Will use the wallet account on the Clanker class or
|
|
1580
|
+
* the passed-in account.
|
|
1581
|
+
*
|
|
1582
|
+
* @param tokenId The token ID to update the creator reward recipient for
|
|
1583
|
+
* @param newRecipient The new recipient address
|
|
1584
|
+
* @param account Optional account to simulate calling for
|
|
1585
|
+
* @returns The simulated output
|
|
1586
|
+
*/
|
|
1587
|
+
updateCreatorRewardRecipientSimulate(tokenId: bigint, newRecipient: `0x${string}`, account?: Account): Promise<(import("viem").SimulateContractReturnType<readonly [{
|
|
1588
|
+
readonly inputs: readonly [{
|
|
1589
|
+
readonly internalType: "address";
|
|
1590
|
+
readonly name: "owner_";
|
|
1591
|
+
readonly type: "address";
|
|
1592
|
+
}, {
|
|
1593
|
+
readonly internalType: "address";
|
|
1594
|
+
readonly name: "tokenFactory_";
|
|
1595
|
+
readonly type: "address";
|
|
1596
|
+
}, {
|
|
1597
|
+
readonly internalType: "address";
|
|
1598
|
+
readonly name: "positionManager_";
|
|
1599
|
+
readonly type: "address";
|
|
1600
|
+
}, {
|
|
1601
|
+
readonly internalType: "address";
|
|
1602
|
+
readonly name: "teamRecipient_";
|
|
1603
|
+
readonly type: "address";
|
|
1604
|
+
}];
|
|
1605
|
+
readonly stateMutability: "nonpayable";
|
|
1606
|
+
readonly type: "constructor";
|
|
1607
|
+
}, {
|
|
1608
|
+
readonly inputs: readonly [{
|
|
1609
|
+
readonly internalType: "uint256";
|
|
1610
|
+
readonly name: "tokenId";
|
|
1611
|
+
readonly type: "uint256";
|
|
1612
|
+
}];
|
|
1613
|
+
readonly name: "AlreadyKnownTokenId";
|
|
1614
|
+
readonly type: "error";
|
|
1615
|
+
}, {
|
|
1616
|
+
readonly inputs: readonly [{
|
|
1617
|
+
readonly internalType: "uint256";
|
|
1618
|
+
readonly name: "creatorReward";
|
|
1619
|
+
readonly type: "uint256";
|
|
1620
|
+
}];
|
|
1621
|
+
readonly name: "InvalidCreatorReward";
|
|
1622
|
+
readonly type: "error";
|
|
1623
|
+
}, {
|
|
1624
|
+
readonly inputs: readonly [];
|
|
1625
|
+
readonly name: "InvalidMaxCreatorReward";
|
|
1626
|
+
readonly type: "error";
|
|
1627
|
+
}, {
|
|
1628
|
+
readonly inputs: readonly [];
|
|
1629
|
+
readonly name: "InvalidTeamRecipient";
|
|
1630
|
+
readonly type: "error";
|
|
1631
|
+
}, {
|
|
1632
|
+
readonly inputs: readonly [];
|
|
1633
|
+
readonly name: "MaxCreatorRewardNotSet";
|
|
1634
|
+
readonly type: "error";
|
|
1635
|
+
}, {
|
|
1636
|
+
readonly inputs: readonly [{
|
|
1637
|
+
readonly internalType: "address";
|
|
1638
|
+
readonly name: "user";
|
|
1639
|
+
readonly type: "address";
|
|
1640
|
+
}];
|
|
1641
|
+
readonly name: "NotAllowed";
|
|
1642
|
+
readonly type: "error";
|
|
1643
|
+
}, {
|
|
1644
|
+
readonly inputs: readonly [{
|
|
1645
|
+
readonly internalType: "address";
|
|
1646
|
+
readonly name: "owner";
|
|
1647
|
+
readonly type: "address";
|
|
1648
|
+
}];
|
|
1649
|
+
readonly name: "OwnableInvalidOwner";
|
|
1650
|
+
readonly type: "error";
|
|
1651
|
+
}, {
|
|
1652
|
+
readonly inputs: readonly [{
|
|
1653
|
+
readonly internalType: "address";
|
|
1654
|
+
readonly name: "account";
|
|
1655
|
+
readonly type: "address";
|
|
1656
|
+
}];
|
|
1657
|
+
readonly name: "OwnableUnauthorizedAccount";
|
|
1658
|
+
readonly type: "error";
|
|
1659
|
+
}, {
|
|
1660
|
+
readonly anonymous: false;
|
|
1661
|
+
readonly inputs: readonly [{
|
|
1662
|
+
readonly indexed: true;
|
|
1663
|
+
readonly internalType: "uint256";
|
|
1664
|
+
readonly name: "lpTokenId";
|
|
1665
|
+
readonly type: "uint256";
|
|
1666
|
+
}, {
|
|
1667
|
+
readonly indexed: true;
|
|
1668
|
+
readonly internalType: "address";
|
|
1669
|
+
readonly name: "creatorRecipient";
|
|
1670
|
+
readonly type: "address";
|
|
1671
|
+
}, {
|
|
1672
|
+
readonly indexed: true;
|
|
1673
|
+
readonly internalType: "address";
|
|
1674
|
+
readonly name: "interfaceRecipient";
|
|
1675
|
+
readonly type: "address";
|
|
1676
|
+
}, {
|
|
1677
|
+
readonly indexed: false;
|
|
1678
|
+
readonly internalType: "address";
|
|
1679
|
+
readonly name: "teamRecipient";
|
|
1680
|
+
readonly type: "address";
|
|
1681
|
+
}, {
|
|
1682
|
+
readonly indexed: false;
|
|
1683
|
+
readonly internalType: "address";
|
|
1684
|
+
readonly name: "token0";
|
|
1685
|
+
readonly type: "address";
|
|
1686
|
+
}, {
|
|
1687
|
+
readonly indexed: false;
|
|
1688
|
+
readonly internalType: "address";
|
|
1689
|
+
readonly name: "token1";
|
|
1690
|
+
readonly type: "address";
|
|
1691
|
+
}, {
|
|
1692
|
+
readonly indexed: false;
|
|
1693
|
+
readonly internalType: "uint256";
|
|
1694
|
+
readonly name: "creatorReward0";
|
|
1695
|
+
readonly type: "uint256";
|
|
1696
|
+
}, {
|
|
1697
|
+
readonly indexed: false;
|
|
1698
|
+
readonly internalType: "uint256";
|
|
1699
|
+
readonly name: "creatorReward1";
|
|
1700
|
+
readonly type: "uint256";
|
|
1701
|
+
}, {
|
|
1702
|
+
readonly indexed: false;
|
|
1703
|
+
readonly internalType: "uint256";
|
|
1704
|
+
readonly name: "interfaceReward0";
|
|
1705
|
+
readonly type: "uint256";
|
|
1706
|
+
}, {
|
|
1707
|
+
readonly indexed: false;
|
|
1708
|
+
readonly internalType: "uint256";
|
|
1709
|
+
readonly name: "interfaceReward1";
|
|
1710
|
+
readonly type: "uint256";
|
|
1711
|
+
}, {
|
|
1712
|
+
readonly indexed: false;
|
|
1713
|
+
readonly internalType: "uint256";
|
|
1714
|
+
readonly name: "teamReward0";
|
|
1715
|
+
readonly type: "uint256";
|
|
1716
|
+
}, {
|
|
1717
|
+
readonly indexed: false;
|
|
1718
|
+
readonly internalType: "uint256";
|
|
1719
|
+
readonly name: "teamReward1";
|
|
1720
|
+
readonly type: "uint256";
|
|
1721
|
+
}];
|
|
1722
|
+
readonly name: "ClaimedRewards";
|
|
1723
|
+
readonly type: "event";
|
|
1724
|
+
}, {
|
|
1725
|
+
readonly anonymous: false;
|
|
1726
|
+
readonly inputs: readonly [{
|
|
1727
|
+
readonly indexed: true;
|
|
1728
|
+
readonly internalType: "uint256";
|
|
1729
|
+
readonly name: "lpTokenId";
|
|
1730
|
+
readonly type: "uint256";
|
|
1731
|
+
}, {
|
|
1732
|
+
readonly indexed: true;
|
|
1733
|
+
readonly internalType: "address";
|
|
1734
|
+
readonly name: "oldAdmin";
|
|
1735
|
+
readonly type: "address";
|
|
1736
|
+
}, {
|
|
1737
|
+
readonly indexed: false;
|
|
1738
|
+
readonly internalType: "address";
|
|
1739
|
+
readonly name: "newAdmin";
|
|
1740
|
+
readonly type: "address";
|
|
1741
|
+
}];
|
|
1742
|
+
readonly name: "CreatorRewardRecipientAdminUpdated";
|
|
1743
|
+
readonly type: "event";
|
|
1744
|
+
}, {
|
|
1745
|
+
readonly anonymous: false;
|
|
1746
|
+
readonly inputs: readonly [{
|
|
1747
|
+
readonly indexed: true;
|
|
1748
|
+
readonly internalType: "uint256";
|
|
1749
|
+
readonly name: "lpTokenId";
|
|
1750
|
+
readonly type: "uint256";
|
|
1751
|
+
}, {
|
|
1752
|
+
readonly indexed: true;
|
|
1753
|
+
readonly internalType: "address";
|
|
1754
|
+
readonly name: "oldRecipient";
|
|
1755
|
+
readonly type: "address";
|
|
1756
|
+
}, {
|
|
1757
|
+
readonly indexed: false;
|
|
1758
|
+
readonly internalType: "address";
|
|
1759
|
+
readonly name: "newRecipient";
|
|
1760
|
+
readonly type: "address";
|
|
1761
|
+
}];
|
|
1762
|
+
readonly name: "CreatorRewardRecipientUpdated";
|
|
1763
|
+
readonly type: "event";
|
|
1764
|
+
}, {
|
|
1765
|
+
readonly anonymous: false;
|
|
1766
|
+
readonly inputs: readonly [{
|
|
1767
|
+
readonly indexed: true;
|
|
1768
|
+
readonly internalType: "uint256";
|
|
1769
|
+
readonly name: "lpTokenId";
|
|
1770
|
+
readonly type: "uint256";
|
|
1771
|
+
}, {
|
|
1772
|
+
readonly indexed: true;
|
|
1773
|
+
readonly internalType: "address";
|
|
1774
|
+
readonly name: "oldAdmin";
|
|
1775
|
+
readonly type: "address";
|
|
1776
|
+
}, {
|
|
1777
|
+
readonly indexed: false;
|
|
1778
|
+
readonly internalType: "address";
|
|
1779
|
+
readonly name: "newAdmin";
|
|
1780
|
+
readonly type: "address";
|
|
1781
|
+
}];
|
|
1782
|
+
readonly name: "InterfaceRewardRecipientAdminUpdated";
|
|
1783
|
+
readonly type: "event";
|
|
1784
|
+
}, {
|
|
1785
|
+
readonly anonymous: false;
|
|
1786
|
+
readonly inputs: readonly [{
|
|
1787
|
+
readonly indexed: true;
|
|
1788
|
+
readonly internalType: "uint256";
|
|
1789
|
+
readonly name: "lpTokenId";
|
|
1790
|
+
readonly type: "uint256";
|
|
1791
|
+
}, {
|
|
1792
|
+
readonly indexed: true;
|
|
1793
|
+
readonly internalType: "address";
|
|
1794
|
+
readonly name: "oldRecipient";
|
|
1795
|
+
readonly type: "address";
|
|
1796
|
+
}, {
|
|
1797
|
+
readonly indexed: false;
|
|
1798
|
+
readonly internalType: "address";
|
|
1799
|
+
readonly name: "newRecipient";
|
|
1800
|
+
readonly type: "address";
|
|
1801
|
+
}];
|
|
1802
|
+
readonly name: "InterfaceRewardRecipientUpdated";
|
|
1803
|
+
readonly type: "event";
|
|
1804
|
+
}, {
|
|
1805
|
+
readonly anonymous: false;
|
|
1806
|
+
readonly inputs: readonly [{
|
|
1807
|
+
readonly indexed: true;
|
|
1808
|
+
readonly internalType: "address";
|
|
1809
|
+
readonly name: "previousOwner";
|
|
1810
|
+
readonly type: "address";
|
|
1811
|
+
}, {
|
|
1812
|
+
readonly indexed: true;
|
|
1813
|
+
readonly internalType: "address";
|
|
1814
|
+
readonly name: "newOwner";
|
|
1815
|
+
readonly type: "address";
|
|
1816
|
+
}];
|
|
1817
|
+
readonly name: "OwnershipTransferred";
|
|
1818
|
+
readonly type: "event";
|
|
1819
|
+
}, {
|
|
1820
|
+
readonly anonymous: false;
|
|
1821
|
+
readonly inputs: readonly [{
|
|
1822
|
+
readonly indexed: true;
|
|
1823
|
+
readonly internalType: "address";
|
|
1824
|
+
readonly name: "from";
|
|
1825
|
+
readonly type: "address";
|
|
1826
|
+
}, {
|
|
1827
|
+
readonly indexed: false;
|
|
1828
|
+
readonly internalType: "uint256";
|
|
1829
|
+
readonly name: "tokenId";
|
|
1830
|
+
readonly type: "uint256";
|
|
1831
|
+
}];
|
|
1832
|
+
readonly name: "Received";
|
|
1833
|
+
readonly type: "event";
|
|
1834
|
+
}, {
|
|
1835
|
+
readonly anonymous: false;
|
|
1836
|
+
readonly inputs: readonly [{
|
|
1837
|
+
readonly indexed: true;
|
|
1838
|
+
readonly internalType: "uint256";
|
|
1839
|
+
readonly name: "lpTokenId";
|
|
1840
|
+
readonly type: "uint256";
|
|
1841
|
+
}, {
|
|
1842
|
+
readonly indexed: true;
|
|
1843
|
+
readonly internalType: "address";
|
|
1844
|
+
readonly name: "oldRecipient";
|
|
1845
|
+
readonly type: "address";
|
|
1846
|
+
}, {
|
|
1847
|
+
readonly indexed: false;
|
|
1848
|
+
readonly internalType: "address";
|
|
1849
|
+
readonly name: "newRecipient";
|
|
1850
|
+
readonly type: "address";
|
|
1851
|
+
}];
|
|
1852
|
+
readonly name: "TeamOverrideRewardRecipientUpdated";
|
|
1853
|
+
readonly type: "event";
|
|
1854
|
+
}, {
|
|
1855
|
+
readonly anonymous: false;
|
|
1856
|
+
readonly inputs: readonly [{
|
|
1857
|
+
readonly indexed: true;
|
|
1858
|
+
readonly internalType: "address";
|
|
1859
|
+
readonly name: "oldRecipient";
|
|
1860
|
+
readonly type: "address";
|
|
1861
|
+
}, {
|
|
1862
|
+
readonly indexed: false;
|
|
1863
|
+
readonly internalType: "address";
|
|
1864
|
+
readonly name: "newRecipient";
|
|
1865
|
+
readonly type: "address";
|
|
1866
|
+
}];
|
|
1867
|
+
readonly name: "TeamRecipientUpdated";
|
|
1868
|
+
readonly type: "event";
|
|
1869
|
+
}, {
|
|
1870
|
+
readonly anonymous: false;
|
|
1871
|
+
readonly inputs: readonly [{
|
|
1872
|
+
readonly indexed: false;
|
|
1873
|
+
readonly internalType: "uint256";
|
|
1874
|
+
readonly name: "lpTokenId";
|
|
1875
|
+
readonly type: "uint256";
|
|
1876
|
+
}, {
|
|
1877
|
+
readonly indexed: false;
|
|
1878
|
+
readonly internalType: "uint256";
|
|
1879
|
+
readonly name: "creatorReward";
|
|
1880
|
+
readonly type: "uint256";
|
|
1881
|
+
}, {
|
|
1882
|
+
readonly indexed: true;
|
|
1883
|
+
readonly internalType: "address";
|
|
1884
|
+
readonly name: "creator";
|
|
1885
|
+
readonly type: "address";
|
|
1886
|
+
}, {
|
|
1887
|
+
readonly indexed: true;
|
|
1888
|
+
readonly internalType: "address";
|
|
1889
|
+
readonly name: "interfacer";
|
|
1890
|
+
readonly type: "address";
|
|
1891
|
+
}];
|
|
1892
|
+
readonly name: "TokenRewardAdded";
|
|
1893
|
+
readonly type: "event";
|
|
1894
|
+
}, {
|
|
1895
|
+
readonly inputs: readonly [];
|
|
1896
|
+
readonly name: "MAX_CREATOR_REWARD";
|
|
1897
|
+
readonly outputs: readonly [{
|
|
1898
|
+
readonly internalType: "uint256";
|
|
1899
|
+
readonly name: "";
|
|
1900
|
+
readonly type: "uint256";
|
|
1901
|
+
}];
|
|
1902
|
+
readonly stateMutability: "view";
|
|
1903
|
+
readonly type: "function";
|
|
1904
|
+
}, {
|
|
1905
|
+
readonly inputs: readonly [];
|
|
1906
|
+
readonly name: "TEAM_REWARD";
|
|
1907
|
+
readonly outputs: readonly [{
|
|
1908
|
+
readonly internalType: "uint256";
|
|
1909
|
+
readonly name: "";
|
|
1910
|
+
readonly type: "uint256";
|
|
1911
|
+
}];
|
|
1912
|
+
readonly stateMutability: "view";
|
|
1913
|
+
readonly type: "function";
|
|
1914
|
+
}, {
|
|
1915
|
+
readonly inputs: readonly [{
|
|
1916
|
+
readonly components: readonly [{
|
|
1917
|
+
readonly internalType: "uint256";
|
|
1918
|
+
readonly name: "lpTokenId";
|
|
1919
|
+
readonly type: "uint256";
|
|
1920
|
+
}, {
|
|
1921
|
+
readonly internalType: "uint256";
|
|
1922
|
+
readonly name: "creatorReward";
|
|
1923
|
+
readonly type: "uint256";
|
|
1924
|
+
}, {
|
|
1925
|
+
readonly components: readonly [{
|
|
1926
|
+
readonly internalType: "address";
|
|
1927
|
+
readonly name: "admin";
|
|
1928
|
+
readonly type: "address";
|
|
1929
|
+
}, {
|
|
1930
|
+
readonly internalType: "address";
|
|
1931
|
+
readonly name: "recipient";
|
|
1932
|
+
readonly type: "address";
|
|
1933
|
+
}];
|
|
1934
|
+
readonly internalType: "struct ILpLockerv2.RewardRecipient";
|
|
1935
|
+
readonly name: "creator";
|
|
1936
|
+
readonly type: "tuple";
|
|
1937
|
+
}, {
|
|
1938
|
+
readonly components: readonly [{
|
|
1939
|
+
readonly internalType: "address";
|
|
1940
|
+
readonly name: "admin";
|
|
1941
|
+
readonly type: "address";
|
|
1942
|
+
}, {
|
|
1943
|
+
readonly internalType: "address";
|
|
1944
|
+
readonly name: "recipient";
|
|
1945
|
+
readonly type: "address";
|
|
1946
|
+
}];
|
|
1947
|
+
readonly internalType: "struct ILpLockerv2.RewardRecipient";
|
|
1948
|
+
readonly name: "interfacer";
|
|
1949
|
+
readonly type: "tuple";
|
|
1950
|
+
}];
|
|
1951
|
+
readonly internalType: "struct ILpLockerv2.TokenRewardInfo";
|
|
1952
|
+
readonly name: "tokenRewardInfo";
|
|
1953
|
+
readonly type: "tuple";
|
|
1954
|
+
}];
|
|
1955
|
+
readonly name: "addTokenReward";
|
|
1956
|
+
readonly outputs: readonly [];
|
|
1957
|
+
readonly stateMutability: "nonpayable";
|
|
1958
|
+
readonly type: "function";
|
|
1959
|
+
}, {
|
|
1960
|
+
readonly inputs: readonly [{
|
|
1961
|
+
readonly internalType: "uint256";
|
|
1962
|
+
readonly name: "tokenId";
|
|
1963
|
+
readonly type: "uint256";
|
|
1964
|
+
}];
|
|
1965
|
+
readonly name: "collectRewards";
|
|
1966
|
+
readonly outputs: readonly [];
|
|
1967
|
+
readonly stateMutability: "nonpayable";
|
|
1968
|
+
readonly type: "function";
|
|
1969
|
+
}, {
|
|
1970
|
+
readonly inputs: readonly [{
|
|
1971
|
+
readonly internalType: "address";
|
|
1972
|
+
readonly name: "";
|
|
1973
|
+
readonly type: "address";
|
|
1974
|
+
}, {
|
|
1975
|
+
readonly internalType: "uint256";
|
|
1976
|
+
readonly name: "";
|
|
1977
|
+
readonly type: "uint256";
|
|
1978
|
+
}];
|
|
1979
|
+
readonly name: "creatorTokenIds";
|
|
1980
|
+
readonly outputs: readonly [{
|
|
1981
|
+
readonly internalType: "uint256";
|
|
1982
|
+
readonly name: "";
|
|
1983
|
+
readonly type: "uint256";
|
|
1984
|
+
}];
|
|
1985
|
+
readonly stateMutability: "view";
|
|
1986
|
+
readonly type: "function";
|
|
1987
|
+
}, {
|
|
1988
|
+
readonly inputs: readonly [];
|
|
1989
|
+
readonly name: "factory";
|
|
1990
|
+
readonly outputs: readonly [{
|
|
1991
|
+
readonly internalType: "address";
|
|
1992
|
+
readonly name: "";
|
|
1993
|
+
readonly type: "address";
|
|
1994
|
+
}];
|
|
1995
|
+
readonly stateMutability: "view";
|
|
1996
|
+
readonly type: "function";
|
|
1997
|
+
}, {
|
|
1998
|
+
readonly inputs: readonly [{
|
|
1999
|
+
readonly internalType: "address";
|
|
2000
|
+
readonly name: "user";
|
|
2001
|
+
readonly type: "address";
|
|
2002
|
+
}];
|
|
2003
|
+
readonly name: "getLpTokenIdsForCreator";
|
|
2004
|
+
readonly outputs: readonly [{
|
|
2005
|
+
readonly internalType: "uint256[]";
|
|
2006
|
+
readonly name: "";
|
|
2007
|
+
readonly type: "uint256[]";
|
|
2008
|
+
}];
|
|
2009
|
+
readonly stateMutability: "view";
|
|
2010
|
+
readonly type: "function";
|
|
2011
|
+
}, {
|
|
2012
|
+
readonly inputs: readonly [{
|
|
2013
|
+
readonly internalType: "address";
|
|
2014
|
+
readonly name: "";
|
|
2015
|
+
readonly type: "address";
|
|
2016
|
+
}, {
|
|
2017
|
+
readonly internalType: "address";
|
|
2018
|
+
readonly name: "from";
|
|
2019
|
+
readonly type: "address";
|
|
2020
|
+
}, {
|
|
2021
|
+
readonly internalType: "uint256";
|
|
2022
|
+
readonly name: "id";
|
|
2023
|
+
readonly type: "uint256";
|
|
2024
|
+
}, {
|
|
2025
|
+
readonly internalType: "bytes";
|
|
2026
|
+
readonly name: "";
|
|
2027
|
+
readonly type: "bytes";
|
|
2028
|
+
}];
|
|
2029
|
+
readonly name: "onERC721Received";
|
|
2030
|
+
readonly outputs: readonly [{
|
|
2031
|
+
readonly internalType: "bytes4";
|
|
2032
|
+
readonly name: "";
|
|
2033
|
+
readonly type: "bytes4";
|
|
2034
|
+
}];
|
|
2035
|
+
readonly stateMutability: "nonpayable";
|
|
2036
|
+
readonly type: "function";
|
|
2037
|
+
}, {
|
|
2038
|
+
readonly inputs: readonly [];
|
|
2039
|
+
readonly name: "owner";
|
|
2040
|
+
readonly outputs: readonly [{
|
|
2041
|
+
readonly internalType: "address";
|
|
2042
|
+
readonly name: "";
|
|
2043
|
+
readonly type: "address";
|
|
2044
|
+
}];
|
|
2045
|
+
readonly stateMutability: "view";
|
|
2046
|
+
readonly type: "function";
|
|
2047
|
+
}, {
|
|
2048
|
+
readonly inputs: readonly [];
|
|
2049
|
+
readonly name: "positionManager";
|
|
2050
|
+
readonly outputs: readonly [{
|
|
2051
|
+
readonly internalType: "address";
|
|
2052
|
+
readonly name: "";
|
|
2053
|
+
readonly type: "address";
|
|
2054
|
+
}];
|
|
2055
|
+
readonly stateMutability: "view";
|
|
2056
|
+
readonly type: "function";
|
|
2057
|
+
}, {
|
|
2058
|
+
readonly inputs: readonly [];
|
|
2059
|
+
readonly name: "renounceOwnership";
|
|
2060
|
+
readonly outputs: readonly [];
|
|
2061
|
+
readonly stateMutability: "nonpayable";
|
|
2062
|
+
readonly type: "function";
|
|
2063
|
+
}, {
|
|
2064
|
+
readonly inputs: readonly [{
|
|
2065
|
+
readonly internalType: "uint256";
|
|
2066
|
+
readonly name: "tokenId";
|
|
2067
|
+
readonly type: "uint256";
|
|
2068
|
+
}, {
|
|
2069
|
+
readonly internalType: "address";
|
|
2070
|
+
readonly name: "newTeamRecipient";
|
|
2071
|
+
readonly type: "address";
|
|
2072
|
+
}];
|
|
2073
|
+
readonly name: "setOverrideTeamRewardRecipientForToken";
|
|
2074
|
+
readonly outputs: readonly [];
|
|
2075
|
+
readonly stateMutability: "nonpayable";
|
|
2076
|
+
readonly type: "function";
|
|
2077
|
+
}, {
|
|
2078
|
+
readonly inputs: readonly [{
|
|
2079
|
+
readonly internalType: "uint256";
|
|
2080
|
+
readonly name: "";
|
|
2081
|
+
readonly type: "uint256";
|
|
2082
|
+
}];
|
|
2083
|
+
readonly name: "teamOverrideRewardRecipientForToken";
|
|
2084
|
+
readonly outputs: readonly [{
|
|
2085
|
+
readonly internalType: "address";
|
|
2086
|
+
readonly name: "";
|
|
2087
|
+
readonly type: "address";
|
|
2088
|
+
}];
|
|
2089
|
+
readonly stateMutability: "view";
|
|
2090
|
+
readonly type: "function";
|
|
2091
|
+
}, {
|
|
2092
|
+
readonly inputs: readonly [];
|
|
2093
|
+
readonly name: "teamRecipient";
|
|
2094
|
+
readonly outputs: readonly [{
|
|
2095
|
+
readonly internalType: "address";
|
|
2096
|
+
readonly name: "";
|
|
2097
|
+
readonly type: "address";
|
|
2098
|
+
}];
|
|
2099
|
+
readonly stateMutability: "view";
|
|
2100
|
+
readonly type: "function";
|
|
2101
|
+
}, {
|
|
2102
|
+
readonly inputs: readonly [{
|
|
2103
|
+
readonly internalType: "uint256";
|
|
2104
|
+
readonly name: "";
|
|
2105
|
+
readonly type: "uint256";
|
|
2106
|
+
}];
|
|
2107
|
+
readonly name: "tokenRewards";
|
|
2108
|
+
readonly outputs: readonly [{
|
|
2109
|
+
readonly internalType: "uint256";
|
|
2110
|
+
readonly name: "lpTokenId";
|
|
2111
|
+
readonly type: "uint256";
|
|
2112
|
+
}, {
|
|
2113
|
+
readonly internalType: "uint256";
|
|
2114
|
+
readonly name: "creatorReward";
|
|
2115
|
+
readonly type: "uint256";
|
|
2116
|
+
}, {
|
|
2117
|
+
readonly components: readonly [{
|
|
2118
|
+
readonly internalType: "address";
|
|
2119
|
+
readonly name: "admin";
|
|
2120
|
+
readonly type: "address";
|
|
2121
|
+
}, {
|
|
2122
|
+
readonly internalType: "address";
|
|
2123
|
+
readonly name: "recipient";
|
|
2124
|
+
readonly type: "address";
|
|
2125
|
+
}];
|
|
2126
|
+
readonly internalType: "struct ILpLockerv2.RewardRecipient";
|
|
2127
|
+
readonly name: "creator";
|
|
2128
|
+
readonly type: "tuple";
|
|
2129
|
+
}, {
|
|
2130
|
+
readonly components: readonly [{
|
|
2131
|
+
readonly internalType: "address";
|
|
2132
|
+
readonly name: "admin";
|
|
2133
|
+
readonly type: "address";
|
|
2134
|
+
}, {
|
|
2135
|
+
readonly internalType: "address";
|
|
2136
|
+
readonly name: "recipient";
|
|
2137
|
+
readonly type: "address";
|
|
2138
|
+
}];
|
|
2139
|
+
readonly internalType: "struct ILpLockerv2.RewardRecipient";
|
|
2140
|
+
readonly name: "interfacer";
|
|
2141
|
+
readonly type: "tuple";
|
|
2142
|
+
}];
|
|
2143
|
+
readonly stateMutability: "view";
|
|
2144
|
+
readonly type: "function";
|
|
2145
|
+
}, {
|
|
2146
|
+
readonly inputs: readonly [{
|
|
2147
|
+
readonly internalType: "address";
|
|
2148
|
+
readonly name: "newOwner";
|
|
2149
|
+
readonly type: "address";
|
|
2150
|
+
}];
|
|
2151
|
+
readonly name: "transferOwnership";
|
|
2152
|
+
readonly outputs: readonly [];
|
|
2153
|
+
readonly stateMutability: "nonpayable";
|
|
2154
|
+
readonly type: "function";
|
|
2155
|
+
}, {
|
|
2156
|
+
readonly inputs: readonly [{
|
|
2157
|
+
readonly internalType: "uint256";
|
|
2158
|
+
readonly name: "tokenId";
|
|
2159
|
+
readonly type: "uint256";
|
|
2160
|
+
}, {
|
|
2161
|
+
readonly internalType: "address";
|
|
2162
|
+
readonly name: "newAdmin";
|
|
2163
|
+
readonly type: "address";
|
|
2164
|
+
}];
|
|
2165
|
+
readonly name: "updateCreatorRewardAdmin";
|
|
2166
|
+
readonly outputs: readonly [];
|
|
2167
|
+
readonly stateMutability: "nonpayable";
|
|
2168
|
+
readonly type: "function";
|
|
2169
|
+
}, {
|
|
2170
|
+
readonly inputs: readonly [{
|
|
2171
|
+
readonly internalType: "uint256";
|
|
2172
|
+
readonly name: "tokenId";
|
|
2173
|
+
readonly type: "uint256";
|
|
2174
|
+
}, {
|
|
2175
|
+
readonly internalType: "address";
|
|
2176
|
+
readonly name: "newRecipient";
|
|
2177
|
+
readonly type: "address";
|
|
2178
|
+
}];
|
|
2179
|
+
readonly name: "updateCreatorRewardRecipient";
|
|
2180
|
+
readonly outputs: readonly [];
|
|
2181
|
+
readonly stateMutability: "nonpayable";
|
|
2182
|
+
readonly type: "function";
|
|
2183
|
+
}, {
|
|
2184
|
+
readonly inputs: readonly [{
|
|
2185
|
+
readonly internalType: "uint256";
|
|
2186
|
+
readonly name: "tokenId";
|
|
2187
|
+
readonly type: "uint256";
|
|
2188
|
+
}, {
|
|
2189
|
+
readonly internalType: "address";
|
|
2190
|
+
readonly name: "newAdmin";
|
|
2191
|
+
readonly type: "address";
|
|
2192
|
+
}];
|
|
2193
|
+
readonly name: "updateInterfaceRewardAdmin";
|
|
2194
|
+
readonly outputs: readonly [];
|
|
2195
|
+
readonly stateMutability: "nonpayable";
|
|
2196
|
+
readonly type: "function";
|
|
2197
|
+
}, {
|
|
2198
|
+
readonly inputs: readonly [{
|
|
2199
|
+
readonly internalType: "uint256";
|
|
2200
|
+
readonly name: "tokenId";
|
|
2201
|
+
readonly type: "uint256";
|
|
2202
|
+
}, {
|
|
2203
|
+
readonly internalType: "address";
|
|
2204
|
+
readonly name: "newRecipient";
|
|
2205
|
+
readonly type: "address";
|
|
2206
|
+
}];
|
|
2207
|
+
readonly name: "updateInterfaceRewardRecipient";
|
|
2208
|
+
readonly outputs: readonly [];
|
|
2209
|
+
readonly stateMutability: "nonpayable";
|
|
2210
|
+
readonly type: "function";
|
|
2211
|
+
}, {
|
|
2212
|
+
readonly inputs: readonly [{
|
|
2213
|
+
readonly internalType: "address";
|
|
2214
|
+
readonly name: "newRecipient";
|
|
2215
|
+
readonly type: "address";
|
|
2216
|
+
}];
|
|
2217
|
+
readonly name: "updateTeamRecipient";
|
|
2218
|
+
readonly outputs: readonly [];
|
|
2219
|
+
readonly stateMutability: "nonpayable";
|
|
2220
|
+
readonly type: "function";
|
|
2221
|
+
}, {
|
|
2222
|
+
readonly inputs: readonly [];
|
|
2223
|
+
readonly name: "version";
|
|
2224
|
+
readonly outputs: readonly [{
|
|
2225
|
+
readonly internalType: "string";
|
|
2226
|
+
readonly name: "";
|
|
2227
|
+
readonly type: "string";
|
|
2228
|
+
}];
|
|
2229
|
+
readonly stateMutability: "view";
|
|
2230
|
+
readonly type: "function";
|
|
2231
|
+
}, {
|
|
2232
|
+
readonly inputs: readonly [{
|
|
2233
|
+
readonly internalType: "address";
|
|
2234
|
+
readonly name: "token";
|
|
2235
|
+
readonly type: "address";
|
|
2236
|
+
}, {
|
|
2237
|
+
readonly internalType: "address";
|
|
2238
|
+
readonly name: "recipient";
|
|
2239
|
+
readonly type: "address";
|
|
2240
|
+
}];
|
|
2241
|
+
readonly name: "withdrawERC20";
|
|
2242
|
+
readonly outputs: readonly [];
|
|
2243
|
+
readonly stateMutability: "nonpayable";
|
|
2244
|
+
readonly type: "function";
|
|
2245
|
+
}, {
|
|
2246
|
+
readonly inputs: readonly [{
|
|
2247
|
+
readonly internalType: "address";
|
|
2248
|
+
readonly name: "recipient";
|
|
2249
|
+
readonly type: "address";
|
|
2250
|
+
}];
|
|
2251
|
+
readonly name: "withdrawETH";
|
|
2252
|
+
readonly outputs: readonly [];
|
|
2253
|
+
readonly stateMutability: "nonpayable";
|
|
2254
|
+
readonly type: "function";
|
|
2255
|
+
}], "renounceOwnership" | "transferOwnership" | "collectRewards" | "onERC721Received" | "withdrawERC20" | "withdrawETH" | "addTokenReward" | "setOverrideTeamRewardRecipientForToken" | "updateCreatorRewardAdmin" | "updateCreatorRewardRecipient" | "updateInterfaceRewardAdmin" | "updateInterfaceRewardRecipient" | "updateTeamRecipient"> & {
|
|
2256
|
+
error?: undefined;
|
|
2257
|
+
}) | ({
|
|
2258
|
+
result?: undefined;
|
|
2259
|
+
request?: undefined;
|
|
2260
|
+
} & {
|
|
2261
|
+
error: ClankerError;
|
|
2262
|
+
})>;
|
|
2263
|
+
/**
|
|
2264
|
+
* Update the creator reward recipient for a token.
|
|
2265
|
+
*
|
|
2266
|
+
* @param tokenId The token ID to update the creator reward recipient for
|
|
2267
|
+
* @param newRecipient The new recipient address
|
|
2268
|
+
* @returns Transaction hash of the update or error
|
|
2269
|
+
*/
|
|
2270
|
+
updateCreatorRewardRecipient(tokenId: bigint, newRecipient: `0x${string}`): Promise<{
|
|
2271
|
+
txHash: `0x${string}`;
|
|
2272
|
+
error: undefined;
|
|
2273
|
+
} | {
|
|
2274
|
+
txHash: undefined;
|
|
2275
|
+
error: ClankerError;
|
|
2276
|
+
}>;
|
|
2277
|
+
/**
|
|
2278
|
+
* Get an abi-typed transaction for deploying a clanker.
|
|
2279
|
+
*
|
|
2280
|
+
* @param token The token to deploy
|
|
2281
|
+
* @param requestorAddress Requestor for the deployment. Various admins will fall back to this.
|
|
2282
|
+
* @returns Abi transaction
|
|
2283
|
+
*/
|
|
2284
|
+
getDeployTransaction(token: ClankerTokenV3, requestorAddress: `0x${string}`): Promise<ClankerTransactionConfig<readonly [{
|
|
2285
|
+
readonly inputs: readonly [{
|
|
2286
|
+
readonly internalType: "address";
|
|
2287
|
+
readonly name: "owner_";
|
|
2288
|
+
readonly type: "address";
|
|
2289
|
+
}];
|
|
2290
|
+
readonly stateMutability: "nonpayable";
|
|
2291
|
+
readonly type: "constructor";
|
|
2292
|
+
}, {
|
|
2293
|
+
readonly inputs: readonly [];
|
|
2294
|
+
readonly name: "Deprecated";
|
|
2295
|
+
readonly type: "error";
|
|
2296
|
+
}, {
|
|
2297
|
+
readonly inputs: readonly [];
|
|
2298
|
+
readonly name: "InvalidCreatorInfo";
|
|
2299
|
+
readonly type: "error";
|
|
2300
|
+
}, {
|
|
2301
|
+
readonly inputs: readonly [];
|
|
2302
|
+
readonly name: "InvalidCreatorReward";
|
|
2303
|
+
readonly type: "error";
|
|
2304
|
+
}, {
|
|
2305
|
+
readonly inputs: readonly [];
|
|
2306
|
+
readonly name: "InvalidInterfaceInfo";
|
|
2307
|
+
readonly type: "error";
|
|
2308
|
+
}, {
|
|
2309
|
+
readonly inputs: readonly [];
|
|
2310
|
+
readonly name: "InvalidTick";
|
|
2311
|
+
readonly type: "error";
|
|
2312
|
+
}, {
|
|
2313
|
+
readonly inputs: readonly [];
|
|
2314
|
+
readonly name: "InvalidVaultConfiguration";
|
|
2315
|
+
readonly type: "error";
|
|
2316
|
+
}, {
|
|
2317
|
+
readonly inputs: readonly [];
|
|
2318
|
+
readonly name: "NotFound";
|
|
2319
|
+
readonly type: "error";
|
|
2320
|
+
}, {
|
|
2321
|
+
readonly inputs: readonly [];
|
|
2322
|
+
readonly name: "OnlyNonOriginatingChains";
|
|
2323
|
+
readonly type: "error";
|
|
2324
|
+
}, {
|
|
2325
|
+
readonly inputs: readonly [];
|
|
2326
|
+
readonly name: "OnlyOriginatingChain";
|
|
2327
|
+
readonly type: "error";
|
|
2328
|
+
}, {
|
|
2329
|
+
readonly inputs: readonly [{
|
|
2330
|
+
readonly internalType: "address";
|
|
2331
|
+
readonly name: "owner";
|
|
2332
|
+
readonly type: "address";
|
|
2333
|
+
}];
|
|
2334
|
+
readonly name: "OwnableInvalidOwner";
|
|
2335
|
+
readonly type: "error";
|
|
2336
|
+
}, {
|
|
2337
|
+
readonly inputs: readonly [{
|
|
2338
|
+
readonly internalType: "address";
|
|
2339
|
+
readonly name: "account";
|
|
2340
|
+
readonly type: "address";
|
|
2341
|
+
}];
|
|
2342
|
+
readonly name: "OwnableUnauthorizedAccount";
|
|
2343
|
+
readonly type: "error";
|
|
2344
|
+
}, {
|
|
2345
|
+
readonly inputs: readonly [];
|
|
2346
|
+
readonly name: "ReentrancyGuardReentrantCall";
|
|
2347
|
+
readonly type: "error";
|
|
2348
|
+
}, {
|
|
2349
|
+
readonly inputs: readonly [];
|
|
2350
|
+
readonly name: "Unauthorized";
|
|
2351
|
+
readonly type: "error";
|
|
2352
|
+
}, {
|
|
2353
|
+
readonly inputs: readonly [];
|
|
2354
|
+
readonly name: "ZeroTeamRewardRecipient";
|
|
2355
|
+
readonly type: "error";
|
|
2356
|
+
}, {
|
|
2357
|
+
readonly anonymous: false;
|
|
2358
|
+
readonly inputs: readonly [{
|
|
2359
|
+
readonly indexed: false;
|
|
2360
|
+
readonly internalType: "address";
|
|
2361
|
+
readonly name: "oldClankerDeployer";
|
|
2362
|
+
readonly type: "address";
|
|
2363
|
+
}, {
|
|
2364
|
+
readonly indexed: false;
|
|
2365
|
+
readonly internalType: "address";
|
|
2366
|
+
readonly name: "newClankerDeployer";
|
|
2367
|
+
readonly type: "address";
|
|
2368
|
+
}];
|
|
2369
|
+
readonly name: "ClankerDeployerUpdated";
|
|
2370
|
+
readonly type: "event";
|
|
2371
|
+
}, {
|
|
2372
|
+
readonly anonymous: false;
|
|
2373
|
+
readonly inputs: readonly [{
|
|
2374
|
+
readonly indexed: false;
|
|
2375
|
+
readonly internalType: "address";
|
|
2376
|
+
readonly name: "oldLocker";
|
|
2377
|
+
readonly type: "address";
|
|
2378
|
+
}, {
|
|
2379
|
+
readonly indexed: false;
|
|
2380
|
+
readonly internalType: "address";
|
|
2381
|
+
readonly name: "newLocker";
|
|
2382
|
+
readonly type: "address";
|
|
2383
|
+
}];
|
|
2384
|
+
readonly name: "LiquidityLockerUpdated";
|
|
2385
|
+
readonly type: "event";
|
|
2386
|
+
}, {
|
|
2387
|
+
readonly anonymous: false;
|
|
2388
|
+
readonly inputs: readonly [{
|
|
2389
|
+
readonly indexed: true;
|
|
2390
|
+
readonly internalType: "address";
|
|
2391
|
+
readonly name: "previousOwner";
|
|
2392
|
+
readonly type: "address";
|
|
2393
|
+
}, {
|
|
2394
|
+
readonly indexed: true;
|
|
2395
|
+
readonly internalType: "address";
|
|
2396
|
+
readonly name: "newOwner";
|
|
2397
|
+
readonly type: "address";
|
|
2398
|
+
}];
|
|
2399
|
+
readonly name: "OwnershipTransferred";
|
|
2400
|
+
readonly type: "event";
|
|
2401
|
+
}, {
|
|
2402
|
+
readonly anonymous: false;
|
|
2403
|
+
readonly inputs: readonly [{
|
|
2404
|
+
readonly indexed: false;
|
|
2405
|
+
readonly internalType: "address";
|
|
2406
|
+
readonly name: "admin";
|
|
2407
|
+
readonly type: "address";
|
|
2408
|
+
}, {
|
|
2409
|
+
readonly indexed: false;
|
|
2410
|
+
readonly internalType: "bool";
|
|
2411
|
+
readonly name: "isAdmin";
|
|
2412
|
+
readonly type: "bool";
|
|
2413
|
+
}];
|
|
2414
|
+
readonly name: "SetAdmin";
|
|
2415
|
+
readonly type: "event";
|
|
2416
|
+
}, {
|
|
2417
|
+
readonly anonymous: false;
|
|
2418
|
+
readonly inputs: readonly [{
|
|
2419
|
+
readonly indexed: false;
|
|
2420
|
+
readonly internalType: "bool";
|
|
2421
|
+
readonly name: "deprecated";
|
|
2422
|
+
readonly type: "bool";
|
|
2423
|
+
}];
|
|
2424
|
+
readonly name: "SetDeprecated";
|
|
2425
|
+
readonly type: "event";
|
|
2426
|
+
}, {
|
|
2427
|
+
readonly anonymous: false;
|
|
2428
|
+
readonly inputs: readonly [{
|
|
2429
|
+
readonly indexed: true;
|
|
2430
|
+
readonly internalType: "address";
|
|
2431
|
+
readonly name: "tokenAddress";
|
|
2432
|
+
readonly type: "address";
|
|
2433
|
+
}, {
|
|
2434
|
+
readonly indexed: true;
|
|
2435
|
+
readonly internalType: "address";
|
|
2436
|
+
readonly name: "creatorAdmin";
|
|
2437
|
+
readonly type: "address";
|
|
2438
|
+
}, {
|
|
2439
|
+
readonly indexed: true;
|
|
2440
|
+
readonly internalType: "address";
|
|
2441
|
+
readonly name: "interfaceAdmin";
|
|
2442
|
+
readonly type: "address";
|
|
2443
|
+
}, {
|
|
2444
|
+
readonly indexed: false;
|
|
2445
|
+
readonly internalType: "address";
|
|
2446
|
+
readonly name: "creatorRewardRecipient";
|
|
2447
|
+
readonly type: "address";
|
|
2448
|
+
}, {
|
|
2449
|
+
readonly indexed: false;
|
|
2450
|
+
readonly internalType: "address";
|
|
2451
|
+
readonly name: "interfaceRewardRecipient";
|
|
2452
|
+
readonly type: "address";
|
|
2453
|
+
}, {
|
|
2454
|
+
readonly indexed: false;
|
|
2455
|
+
readonly internalType: "uint256";
|
|
2456
|
+
readonly name: "positionId";
|
|
2457
|
+
readonly type: "uint256";
|
|
2458
|
+
}, {
|
|
2459
|
+
readonly indexed: false;
|
|
2460
|
+
readonly internalType: "string";
|
|
2461
|
+
readonly name: "name";
|
|
2462
|
+
readonly type: "string";
|
|
2463
|
+
}, {
|
|
2464
|
+
readonly indexed: false;
|
|
2465
|
+
readonly internalType: "string";
|
|
2466
|
+
readonly name: "symbol";
|
|
2467
|
+
readonly type: "string";
|
|
2468
|
+
}, {
|
|
2469
|
+
readonly indexed: false;
|
|
2470
|
+
readonly internalType: "int24";
|
|
2471
|
+
readonly name: "startingTickIfToken0IsNewToken";
|
|
2472
|
+
readonly type: "int24";
|
|
2473
|
+
}, {
|
|
2474
|
+
readonly indexed: false;
|
|
2475
|
+
readonly internalType: "string";
|
|
2476
|
+
readonly name: "metadata";
|
|
2477
|
+
readonly type: "string";
|
|
2478
|
+
}, {
|
|
2479
|
+
readonly indexed: false;
|
|
2480
|
+
readonly internalType: "uint256";
|
|
2481
|
+
readonly name: "amountTokensBought";
|
|
2482
|
+
readonly type: "uint256";
|
|
2483
|
+
}, {
|
|
2484
|
+
readonly indexed: false;
|
|
2485
|
+
readonly internalType: "uint256";
|
|
2486
|
+
readonly name: "vaultDuration";
|
|
2487
|
+
readonly type: "uint256";
|
|
2488
|
+
}, {
|
|
2489
|
+
readonly indexed: false;
|
|
2490
|
+
readonly internalType: "uint8";
|
|
2491
|
+
readonly name: "vaultPercentage";
|
|
2492
|
+
readonly type: "uint8";
|
|
2493
|
+
}, {
|
|
2494
|
+
readonly indexed: false;
|
|
2495
|
+
readonly internalType: "address";
|
|
2496
|
+
readonly name: "msgSender";
|
|
2497
|
+
readonly type: "address";
|
|
2498
|
+
}];
|
|
2499
|
+
readonly name: "TokenCreated";
|
|
2500
|
+
readonly type: "event";
|
|
2501
|
+
}, {
|
|
2502
|
+
readonly anonymous: false;
|
|
2503
|
+
readonly inputs: readonly [{
|
|
2504
|
+
readonly indexed: false;
|
|
2505
|
+
readonly internalType: "address";
|
|
2506
|
+
readonly name: "oldVault";
|
|
2507
|
+
readonly type: "address";
|
|
2508
|
+
}, {
|
|
2509
|
+
readonly indexed: false;
|
|
2510
|
+
readonly internalType: "address";
|
|
2511
|
+
readonly name: "newVault";
|
|
2512
|
+
readonly type: "address";
|
|
2513
|
+
}];
|
|
2514
|
+
readonly name: "VaultUpdated";
|
|
2515
|
+
readonly type: "event";
|
|
2516
|
+
}, {
|
|
2517
|
+
readonly inputs: readonly [];
|
|
2518
|
+
readonly name: "MAX_CREATOR_REWARD";
|
|
2519
|
+
readonly outputs: readonly [{
|
|
2520
|
+
readonly internalType: "uint256";
|
|
2521
|
+
readonly name: "";
|
|
2522
|
+
readonly type: "uint256";
|
|
2523
|
+
}];
|
|
2524
|
+
readonly stateMutability: "view";
|
|
2525
|
+
readonly type: "function";
|
|
2526
|
+
}, {
|
|
2527
|
+
readonly inputs: readonly [];
|
|
2528
|
+
readonly name: "MAX_TICK";
|
|
2529
|
+
readonly outputs: readonly [{
|
|
2530
|
+
readonly internalType: "int24";
|
|
2531
|
+
readonly name: "";
|
|
2532
|
+
readonly type: "int24";
|
|
2533
|
+
}];
|
|
2534
|
+
readonly stateMutability: "view";
|
|
2535
|
+
readonly type: "function";
|
|
2536
|
+
}, {
|
|
2537
|
+
readonly inputs: readonly [];
|
|
2538
|
+
readonly name: "MAX_VAULT_PERCENTAGE";
|
|
2539
|
+
readonly outputs: readonly [{
|
|
2540
|
+
readonly internalType: "uint256";
|
|
2541
|
+
readonly name: "";
|
|
2542
|
+
readonly type: "uint256";
|
|
2543
|
+
}];
|
|
2544
|
+
readonly stateMutability: "view";
|
|
2545
|
+
readonly type: "function";
|
|
2546
|
+
}, {
|
|
2547
|
+
readonly inputs: readonly [];
|
|
2548
|
+
readonly name: "POOL_FEE";
|
|
2549
|
+
readonly outputs: readonly [{
|
|
2550
|
+
readonly internalType: "uint24";
|
|
2551
|
+
readonly name: "";
|
|
2552
|
+
readonly type: "uint24";
|
|
2553
|
+
}];
|
|
2554
|
+
readonly stateMutability: "view";
|
|
2555
|
+
readonly type: "function";
|
|
2556
|
+
}, {
|
|
2557
|
+
readonly inputs: readonly [];
|
|
2558
|
+
readonly name: "TICK_SPACING";
|
|
2559
|
+
readonly outputs: readonly [{
|
|
2560
|
+
readonly internalType: "int24";
|
|
2561
|
+
readonly name: "";
|
|
2562
|
+
readonly type: "int24";
|
|
2563
|
+
}];
|
|
2564
|
+
readonly stateMutability: "view";
|
|
2565
|
+
readonly type: "function";
|
|
2566
|
+
}, {
|
|
2567
|
+
readonly inputs: readonly [];
|
|
2568
|
+
readonly name: "TOKEN_SUPPLY";
|
|
2569
|
+
readonly outputs: readonly [{
|
|
2570
|
+
readonly internalType: "uint256";
|
|
2571
|
+
readonly name: "";
|
|
2572
|
+
readonly type: "uint256";
|
|
2573
|
+
}];
|
|
2574
|
+
readonly stateMutability: "view";
|
|
2575
|
+
readonly type: "function";
|
|
2576
|
+
}, {
|
|
2577
|
+
readonly inputs: readonly [{
|
|
2578
|
+
readonly internalType: "address";
|
|
2579
|
+
readonly name: "";
|
|
2580
|
+
readonly type: "address";
|
|
2581
|
+
}];
|
|
2582
|
+
readonly name: "admins";
|
|
2583
|
+
readonly outputs: readonly [{
|
|
2584
|
+
readonly internalType: "bool";
|
|
2585
|
+
readonly name: "";
|
|
2586
|
+
readonly type: "bool";
|
|
2587
|
+
}];
|
|
2588
|
+
readonly stateMutability: "view";
|
|
2589
|
+
readonly type: "function";
|
|
2590
|
+
}, {
|
|
2591
|
+
readonly inputs: readonly [{
|
|
2592
|
+
readonly internalType: "address";
|
|
2593
|
+
readonly name: "token";
|
|
2594
|
+
readonly type: "address";
|
|
2595
|
+
}];
|
|
2596
|
+
readonly name: "claimRewards";
|
|
2597
|
+
readonly outputs: readonly [];
|
|
2598
|
+
readonly stateMutability: "nonpayable";
|
|
2599
|
+
readonly type: "function";
|
|
2600
|
+
}, {
|
|
2601
|
+
readonly inputs: readonly [{
|
|
2602
|
+
readonly components: readonly [{
|
|
2603
|
+
readonly components: readonly [{
|
|
2604
|
+
readonly internalType: "string";
|
|
2605
|
+
readonly name: "name";
|
|
2606
|
+
readonly type: "string";
|
|
2607
|
+
}, {
|
|
2608
|
+
readonly internalType: "string";
|
|
2609
|
+
readonly name: "symbol";
|
|
2610
|
+
readonly type: "string";
|
|
2611
|
+
}, {
|
|
2612
|
+
readonly internalType: "bytes32";
|
|
2613
|
+
readonly name: "salt";
|
|
2614
|
+
readonly type: "bytes32";
|
|
2615
|
+
}, {
|
|
2616
|
+
readonly internalType: "string";
|
|
2617
|
+
readonly name: "image";
|
|
2618
|
+
readonly type: "string";
|
|
2619
|
+
}, {
|
|
2620
|
+
readonly internalType: "string";
|
|
2621
|
+
readonly name: "metadata";
|
|
2622
|
+
readonly type: "string";
|
|
2623
|
+
}, {
|
|
2624
|
+
readonly internalType: "string";
|
|
2625
|
+
readonly name: "context";
|
|
2626
|
+
readonly type: "string";
|
|
2627
|
+
}, {
|
|
2628
|
+
readonly internalType: "uint256";
|
|
2629
|
+
readonly name: "originatingChainId";
|
|
2630
|
+
readonly type: "uint256";
|
|
2631
|
+
}];
|
|
2632
|
+
readonly internalType: "struct IClanker.TokenConfig";
|
|
2633
|
+
readonly name: "tokenConfig";
|
|
2634
|
+
readonly type: "tuple";
|
|
2635
|
+
}, {
|
|
2636
|
+
readonly components: readonly [{
|
|
2637
|
+
readonly internalType: "uint8";
|
|
2638
|
+
readonly name: "vaultPercentage";
|
|
2639
|
+
readonly type: "uint8";
|
|
2640
|
+
}, {
|
|
2641
|
+
readonly internalType: "uint256";
|
|
2642
|
+
readonly name: "vaultDuration";
|
|
2643
|
+
readonly type: "uint256";
|
|
2644
|
+
}];
|
|
2645
|
+
readonly internalType: "struct IClanker.VaultConfig";
|
|
2646
|
+
readonly name: "vaultConfig";
|
|
2647
|
+
readonly type: "tuple";
|
|
2648
|
+
}, {
|
|
2649
|
+
readonly components: readonly [{
|
|
2650
|
+
readonly internalType: "address";
|
|
2651
|
+
readonly name: "pairedToken";
|
|
2652
|
+
readonly type: "address";
|
|
2653
|
+
}, {
|
|
2654
|
+
readonly internalType: "int24";
|
|
2655
|
+
readonly name: "tickIfToken0IsNewToken";
|
|
2656
|
+
readonly type: "int24";
|
|
2657
|
+
}];
|
|
2658
|
+
readonly internalType: "struct IClanker.PoolConfig";
|
|
2659
|
+
readonly name: "poolConfig";
|
|
2660
|
+
readonly type: "tuple";
|
|
2661
|
+
}, {
|
|
2662
|
+
readonly components: readonly [{
|
|
2663
|
+
readonly internalType: "uint24";
|
|
2664
|
+
readonly name: "pairedTokenPoolFee";
|
|
2665
|
+
readonly type: "uint24";
|
|
2666
|
+
}, {
|
|
2667
|
+
readonly internalType: "uint256";
|
|
2668
|
+
readonly name: "pairedTokenSwapAmountOutMinimum";
|
|
2669
|
+
readonly type: "uint256";
|
|
2670
|
+
}];
|
|
2671
|
+
readonly internalType: "struct IClanker.InitialBuyConfig";
|
|
2672
|
+
readonly name: "initialBuyConfig";
|
|
2673
|
+
readonly type: "tuple";
|
|
2674
|
+
}, {
|
|
2675
|
+
readonly components: readonly [{
|
|
2676
|
+
readonly internalType: "uint256";
|
|
2677
|
+
readonly name: "creatorReward";
|
|
2678
|
+
readonly type: "uint256";
|
|
2679
|
+
}, {
|
|
2680
|
+
readonly internalType: "address";
|
|
2681
|
+
readonly name: "creatorAdmin";
|
|
2682
|
+
readonly type: "address";
|
|
2683
|
+
}, {
|
|
2684
|
+
readonly internalType: "address";
|
|
2685
|
+
readonly name: "creatorRewardRecipient";
|
|
2686
|
+
readonly type: "address";
|
|
2687
|
+
}, {
|
|
2688
|
+
readonly internalType: "address";
|
|
2689
|
+
readonly name: "interfaceAdmin";
|
|
2690
|
+
readonly type: "address";
|
|
2691
|
+
}, {
|
|
2692
|
+
readonly internalType: "address";
|
|
2693
|
+
readonly name: "interfaceRewardRecipient";
|
|
2694
|
+
readonly type: "address";
|
|
2695
|
+
}];
|
|
2696
|
+
readonly internalType: "struct IClanker.RewardsConfig";
|
|
2697
|
+
readonly name: "rewardsConfig";
|
|
2698
|
+
readonly type: "tuple";
|
|
2699
|
+
}];
|
|
2700
|
+
readonly internalType: "struct IClanker.DeploymentConfig";
|
|
2701
|
+
readonly name: "deploymentConfig";
|
|
2702
|
+
readonly type: "tuple";
|
|
2703
|
+
}];
|
|
2704
|
+
readonly name: "deployToken";
|
|
2705
|
+
readonly outputs: readonly [{
|
|
2706
|
+
readonly internalType: "address";
|
|
2707
|
+
readonly name: "tokenAddress";
|
|
2708
|
+
readonly type: "address";
|
|
2709
|
+
}, {
|
|
2710
|
+
readonly internalType: "uint256";
|
|
2711
|
+
readonly name: "positionId";
|
|
2712
|
+
readonly type: "uint256";
|
|
2713
|
+
}];
|
|
2714
|
+
readonly stateMutability: "payable";
|
|
2715
|
+
readonly type: "function";
|
|
2716
|
+
}, {
|
|
2717
|
+
readonly inputs: readonly [{
|
|
2718
|
+
readonly components: readonly [{
|
|
2719
|
+
readonly components: readonly [{
|
|
2720
|
+
readonly internalType: "string";
|
|
2721
|
+
readonly name: "name";
|
|
2722
|
+
readonly type: "string";
|
|
2723
|
+
}, {
|
|
2724
|
+
readonly internalType: "string";
|
|
2725
|
+
readonly name: "symbol";
|
|
2726
|
+
readonly type: "string";
|
|
2727
|
+
}, {
|
|
2728
|
+
readonly internalType: "bytes32";
|
|
2729
|
+
readonly name: "salt";
|
|
2730
|
+
readonly type: "bytes32";
|
|
2731
|
+
}, {
|
|
2732
|
+
readonly internalType: "string";
|
|
2733
|
+
readonly name: "image";
|
|
2734
|
+
readonly type: "string";
|
|
2735
|
+
}, {
|
|
2736
|
+
readonly internalType: "string";
|
|
2737
|
+
readonly name: "metadata";
|
|
2738
|
+
readonly type: "string";
|
|
2739
|
+
}, {
|
|
2740
|
+
readonly internalType: "string";
|
|
2741
|
+
readonly name: "context";
|
|
2742
|
+
readonly type: "string";
|
|
2743
|
+
}, {
|
|
2744
|
+
readonly internalType: "uint256";
|
|
2745
|
+
readonly name: "originatingChainId";
|
|
2746
|
+
readonly type: "uint256";
|
|
2747
|
+
}];
|
|
2748
|
+
readonly internalType: "struct IClanker.TokenConfig";
|
|
2749
|
+
readonly name: "tokenConfig";
|
|
2750
|
+
readonly type: "tuple";
|
|
2751
|
+
}, {
|
|
2752
|
+
readonly components: readonly [{
|
|
2753
|
+
readonly internalType: "uint8";
|
|
2754
|
+
readonly name: "vaultPercentage";
|
|
2755
|
+
readonly type: "uint8";
|
|
2756
|
+
}, {
|
|
2757
|
+
readonly internalType: "uint256";
|
|
2758
|
+
readonly name: "vaultDuration";
|
|
2759
|
+
readonly type: "uint256";
|
|
2760
|
+
}];
|
|
2761
|
+
readonly internalType: "struct IClanker.VaultConfig";
|
|
2762
|
+
readonly name: "vaultConfig";
|
|
2763
|
+
readonly type: "tuple";
|
|
2764
|
+
}, {
|
|
2765
|
+
readonly components: readonly [{
|
|
2766
|
+
readonly internalType: "address";
|
|
2767
|
+
readonly name: "pairedToken";
|
|
2768
|
+
readonly type: "address";
|
|
2769
|
+
}, {
|
|
2770
|
+
readonly internalType: "int24";
|
|
2771
|
+
readonly name: "tickIfToken0IsNewToken";
|
|
2772
|
+
readonly type: "int24";
|
|
2773
|
+
}];
|
|
2774
|
+
readonly internalType: "struct IClanker.PoolConfig";
|
|
2775
|
+
readonly name: "poolConfig";
|
|
2776
|
+
readonly type: "tuple";
|
|
2777
|
+
}, {
|
|
2778
|
+
readonly components: readonly [{
|
|
2779
|
+
readonly internalType: "uint24";
|
|
2780
|
+
readonly name: "pairedTokenPoolFee";
|
|
2781
|
+
readonly type: "uint24";
|
|
2782
|
+
}, {
|
|
2783
|
+
readonly internalType: "uint256";
|
|
2784
|
+
readonly name: "pairedTokenSwapAmountOutMinimum";
|
|
2785
|
+
readonly type: "uint256";
|
|
2786
|
+
}];
|
|
2787
|
+
readonly internalType: "struct IClanker.InitialBuyConfig";
|
|
2788
|
+
readonly name: "initialBuyConfig";
|
|
2789
|
+
readonly type: "tuple";
|
|
2790
|
+
}, {
|
|
2791
|
+
readonly components: readonly [{
|
|
2792
|
+
readonly internalType: "uint256";
|
|
2793
|
+
readonly name: "creatorReward";
|
|
2794
|
+
readonly type: "uint256";
|
|
2795
|
+
}, {
|
|
2796
|
+
readonly internalType: "address";
|
|
2797
|
+
readonly name: "creatorAdmin";
|
|
2798
|
+
readonly type: "address";
|
|
2799
|
+
}, {
|
|
2800
|
+
readonly internalType: "address";
|
|
2801
|
+
readonly name: "creatorRewardRecipient";
|
|
2802
|
+
readonly type: "address";
|
|
2803
|
+
}, {
|
|
2804
|
+
readonly internalType: "address";
|
|
2805
|
+
readonly name: "interfaceAdmin";
|
|
2806
|
+
readonly type: "address";
|
|
2807
|
+
}, {
|
|
2808
|
+
readonly internalType: "address";
|
|
2809
|
+
readonly name: "interfaceRewardRecipient";
|
|
2810
|
+
readonly type: "address";
|
|
2811
|
+
}];
|
|
2812
|
+
readonly internalType: "struct IClanker.RewardsConfig";
|
|
2813
|
+
readonly name: "rewardsConfig";
|
|
2814
|
+
readonly type: "tuple";
|
|
2815
|
+
}];
|
|
2816
|
+
readonly internalType: "struct IClanker.DeploymentConfig";
|
|
2817
|
+
readonly name: "deploymentConfig";
|
|
2818
|
+
readonly type: "tuple";
|
|
2819
|
+
}, {
|
|
2820
|
+
readonly internalType: "address";
|
|
2821
|
+
readonly name: "teamRewardRecipient";
|
|
2822
|
+
readonly type: "address";
|
|
2823
|
+
}];
|
|
2824
|
+
readonly name: "deployTokenWithCustomTeamRewardRecipient";
|
|
2825
|
+
readonly outputs: readonly [{
|
|
2826
|
+
readonly internalType: "address";
|
|
2827
|
+
readonly name: "tokenAddress";
|
|
2828
|
+
readonly type: "address";
|
|
2829
|
+
}, {
|
|
2830
|
+
readonly internalType: "uint256";
|
|
2831
|
+
readonly name: "positionId";
|
|
2832
|
+
readonly type: "uint256";
|
|
2833
|
+
}];
|
|
2834
|
+
readonly stateMutability: "payable";
|
|
2835
|
+
readonly type: "function";
|
|
2836
|
+
}, {
|
|
2837
|
+
readonly inputs: readonly [{
|
|
2838
|
+
readonly components: readonly [{
|
|
2839
|
+
readonly internalType: "string";
|
|
2840
|
+
readonly name: "name";
|
|
2841
|
+
readonly type: "string";
|
|
2842
|
+
}, {
|
|
2843
|
+
readonly internalType: "string";
|
|
2844
|
+
readonly name: "symbol";
|
|
2845
|
+
readonly type: "string";
|
|
2846
|
+
}, {
|
|
2847
|
+
readonly internalType: "bytes32";
|
|
2848
|
+
readonly name: "salt";
|
|
2849
|
+
readonly type: "bytes32";
|
|
2850
|
+
}, {
|
|
2851
|
+
readonly internalType: "string";
|
|
2852
|
+
readonly name: "image";
|
|
2853
|
+
readonly type: "string";
|
|
2854
|
+
}, {
|
|
2855
|
+
readonly internalType: "string";
|
|
2856
|
+
readonly name: "metadata";
|
|
2857
|
+
readonly type: "string";
|
|
2858
|
+
}, {
|
|
2859
|
+
readonly internalType: "string";
|
|
2860
|
+
readonly name: "context";
|
|
2861
|
+
readonly type: "string";
|
|
2862
|
+
}, {
|
|
2863
|
+
readonly internalType: "uint256";
|
|
2864
|
+
readonly name: "originatingChainId";
|
|
2865
|
+
readonly type: "uint256";
|
|
2866
|
+
}];
|
|
2867
|
+
readonly internalType: "struct IClanker.TokenConfig";
|
|
2868
|
+
readonly name: "tokenConfig";
|
|
2869
|
+
readonly type: "tuple";
|
|
2870
|
+
}, {
|
|
2871
|
+
readonly internalType: "address";
|
|
2872
|
+
readonly name: "tokenAdmin";
|
|
2873
|
+
readonly type: "address";
|
|
2874
|
+
}];
|
|
2875
|
+
readonly name: "deployTokenZeroSupply";
|
|
2876
|
+
readonly outputs: readonly [{
|
|
2877
|
+
readonly internalType: "address";
|
|
2878
|
+
readonly name: "tokenAddress";
|
|
2879
|
+
readonly type: "address";
|
|
2880
|
+
}];
|
|
2881
|
+
readonly stateMutability: "nonpayable";
|
|
2882
|
+
readonly type: "function";
|
|
2883
|
+
}, {
|
|
2884
|
+
readonly inputs: readonly [{
|
|
2885
|
+
readonly internalType: "address";
|
|
2886
|
+
readonly name: "";
|
|
2887
|
+
readonly type: "address";
|
|
2888
|
+
}];
|
|
2889
|
+
readonly name: "deploymentInfoForToken";
|
|
2890
|
+
readonly outputs: readonly [{
|
|
2891
|
+
readonly internalType: "address";
|
|
2892
|
+
readonly name: "token";
|
|
2893
|
+
readonly type: "address";
|
|
2894
|
+
}, {
|
|
2895
|
+
readonly internalType: "uint256";
|
|
2896
|
+
readonly name: "positionId";
|
|
2897
|
+
readonly type: "uint256";
|
|
2898
|
+
}, {
|
|
2899
|
+
readonly internalType: "address";
|
|
2900
|
+
readonly name: "locker";
|
|
2901
|
+
readonly type: "address";
|
|
2902
|
+
}];
|
|
2903
|
+
readonly stateMutability: "view";
|
|
2904
|
+
readonly type: "function";
|
|
2905
|
+
}, {
|
|
2906
|
+
readonly inputs: readonly [];
|
|
2907
|
+
readonly name: "deprecated";
|
|
2908
|
+
readonly outputs: readonly [{
|
|
2909
|
+
readonly internalType: "bool";
|
|
2910
|
+
readonly name: "";
|
|
2911
|
+
readonly type: "bool";
|
|
2912
|
+
}];
|
|
2913
|
+
readonly stateMutability: "view";
|
|
2914
|
+
readonly type: "function";
|
|
2915
|
+
}, {
|
|
2916
|
+
readonly inputs: readonly [{
|
|
2917
|
+
readonly internalType: "address";
|
|
2918
|
+
readonly name: "user";
|
|
2919
|
+
readonly type: "address";
|
|
2920
|
+
}];
|
|
2921
|
+
readonly name: "getTokensDeployedByUser";
|
|
2922
|
+
readonly outputs: readonly [{
|
|
2923
|
+
readonly components: readonly [{
|
|
2924
|
+
readonly internalType: "address";
|
|
2925
|
+
readonly name: "token";
|
|
2926
|
+
readonly type: "address";
|
|
2927
|
+
}, {
|
|
2928
|
+
readonly internalType: "uint256";
|
|
2929
|
+
readonly name: "positionId";
|
|
2930
|
+
readonly type: "uint256";
|
|
2931
|
+
}, {
|
|
2932
|
+
readonly internalType: "address";
|
|
2933
|
+
readonly name: "locker";
|
|
2934
|
+
readonly type: "address";
|
|
2935
|
+
}];
|
|
2936
|
+
readonly internalType: "struct IClanker.DeploymentInfo[]";
|
|
2937
|
+
readonly name: "";
|
|
2938
|
+
readonly type: "tuple[]";
|
|
2939
|
+
}];
|
|
2940
|
+
readonly stateMutability: "view";
|
|
2941
|
+
readonly type: "function";
|
|
2942
|
+
}, {
|
|
2943
|
+
readonly inputs: readonly [{
|
|
2944
|
+
readonly internalType: "address";
|
|
2945
|
+
readonly name: "uniswapV3Factory_";
|
|
2946
|
+
readonly type: "address";
|
|
2947
|
+
}, {
|
|
2948
|
+
readonly internalType: "address";
|
|
2949
|
+
readonly name: "positionManager_";
|
|
2950
|
+
readonly type: "address";
|
|
2951
|
+
}, {
|
|
2952
|
+
readonly internalType: "address";
|
|
2953
|
+
readonly name: "swapRouter_";
|
|
2954
|
+
readonly type: "address";
|
|
2955
|
+
}, {
|
|
2956
|
+
readonly internalType: "address";
|
|
2957
|
+
readonly name: "weth_";
|
|
2958
|
+
readonly type: "address";
|
|
2959
|
+
}, {
|
|
2960
|
+
readonly internalType: "address";
|
|
2961
|
+
readonly name: "liquidityLocker_";
|
|
2962
|
+
readonly type: "address";
|
|
2963
|
+
}, {
|
|
2964
|
+
readonly internalType: "address";
|
|
2965
|
+
readonly name: "vault_";
|
|
2966
|
+
readonly type: "address";
|
|
2967
|
+
}];
|
|
2968
|
+
readonly name: "initialize";
|
|
2969
|
+
readonly outputs: readonly [];
|
|
2970
|
+
readonly stateMutability: "nonpayable";
|
|
2971
|
+
readonly type: "function";
|
|
2972
|
+
}, {
|
|
2973
|
+
readonly inputs: readonly [];
|
|
2974
|
+
readonly name: "liquidityLocker";
|
|
2975
|
+
readonly outputs: readonly [{
|
|
2976
|
+
readonly internalType: "contract ILpLockerv2";
|
|
2977
|
+
readonly name: "";
|
|
2978
|
+
readonly type: "address";
|
|
2979
|
+
}];
|
|
2980
|
+
readonly stateMutability: "view";
|
|
2981
|
+
readonly type: "function";
|
|
2982
|
+
}, {
|
|
2983
|
+
readonly inputs: readonly [];
|
|
2984
|
+
readonly name: "owner";
|
|
2985
|
+
readonly outputs: readonly [{
|
|
2986
|
+
readonly internalType: "address";
|
|
2987
|
+
readonly name: "";
|
|
2988
|
+
readonly type: "address";
|
|
2989
|
+
}];
|
|
2990
|
+
readonly stateMutability: "view";
|
|
2991
|
+
readonly type: "function";
|
|
2992
|
+
}, {
|
|
2993
|
+
readonly inputs: readonly [];
|
|
2994
|
+
readonly name: "positionManager";
|
|
2995
|
+
readonly outputs: readonly [{
|
|
2996
|
+
readonly internalType: "contract INonfungiblePositionManager";
|
|
2997
|
+
readonly name: "";
|
|
2998
|
+
readonly type: "address";
|
|
2999
|
+
}];
|
|
3000
|
+
readonly stateMutability: "view";
|
|
3001
|
+
readonly type: "function";
|
|
3002
|
+
}, {
|
|
3003
|
+
readonly inputs: readonly [];
|
|
3004
|
+
readonly name: "renounceOwnership";
|
|
3005
|
+
readonly outputs: readonly [];
|
|
3006
|
+
readonly stateMutability: "nonpayable";
|
|
3007
|
+
readonly type: "function";
|
|
3008
|
+
}, {
|
|
3009
|
+
readonly inputs: readonly [{
|
|
3010
|
+
readonly internalType: "address";
|
|
3011
|
+
readonly name: "admin";
|
|
3012
|
+
readonly type: "address";
|
|
3013
|
+
}, {
|
|
3014
|
+
readonly internalType: "bool";
|
|
3015
|
+
readonly name: "isAdmin";
|
|
3016
|
+
readonly type: "bool";
|
|
3017
|
+
}];
|
|
3018
|
+
readonly name: "setAdmin";
|
|
3019
|
+
readonly outputs: readonly [];
|
|
3020
|
+
readonly stateMutability: "nonpayable";
|
|
3021
|
+
readonly type: "function";
|
|
3022
|
+
}, {
|
|
3023
|
+
readonly inputs: readonly [{
|
|
3024
|
+
readonly internalType: "bool";
|
|
3025
|
+
readonly name: "deprecated_";
|
|
3026
|
+
readonly type: "bool";
|
|
3027
|
+
}];
|
|
3028
|
+
readonly name: "setDeprecated";
|
|
3029
|
+
readonly outputs: readonly [];
|
|
3030
|
+
readonly stateMutability: "nonpayable";
|
|
3031
|
+
readonly type: "function";
|
|
3032
|
+
}, {
|
|
3033
|
+
readonly inputs: readonly [];
|
|
3034
|
+
readonly name: "swapRouter";
|
|
3035
|
+
readonly outputs: readonly [{
|
|
3036
|
+
readonly internalType: "contract ISwapRouter";
|
|
3037
|
+
readonly name: "";
|
|
3038
|
+
readonly type: "address";
|
|
3039
|
+
}];
|
|
3040
|
+
readonly stateMutability: "view";
|
|
3041
|
+
readonly type: "function";
|
|
3042
|
+
}, {
|
|
3043
|
+
readonly inputs: readonly [{
|
|
3044
|
+
readonly internalType: "address";
|
|
3045
|
+
readonly name: "";
|
|
3046
|
+
readonly type: "address";
|
|
3047
|
+
}, {
|
|
3048
|
+
readonly internalType: "uint256";
|
|
3049
|
+
readonly name: "";
|
|
3050
|
+
readonly type: "uint256";
|
|
3051
|
+
}];
|
|
3052
|
+
readonly name: "tokensDeployedByUsers";
|
|
3053
|
+
readonly outputs: readonly [{
|
|
3054
|
+
readonly internalType: "address";
|
|
3055
|
+
readonly name: "token";
|
|
3056
|
+
readonly type: "address";
|
|
3057
|
+
}, {
|
|
3058
|
+
readonly internalType: "uint256";
|
|
3059
|
+
readonly name: "positionId";
|
|
3060
|
+
readonly type: "uint256";
|
|
3061
|
+
}, {
|
|
3062
|
+
readonly internalType: "address";
|
|
3063
|
+
readonly name: "locker";
|
|
3064
|
+
readonly type: "address";
|
|
3065
|
+
}];
|
|
3066
|
+
readonly stateMutability: "view";
|
|
3067
|
+
readonly type: "function";
|
|
3068
|
+
}, {
|
|
3069
|
+
readonly inputs: readonly [{
|
|
3070
|
+
readonly internalType: "address";
|
|
3071
|
+
readonly name: "newOwner";
|
|
3072
|
+
readonly type: "address";
|
|
3073
|
+
}];
|
|
3074
|
+
readonly name: "transferOwnership";
|
|
3075
|
+
readonly outputs: readonly [];
|
|
3076
|
+
readonly stateMutability: "nonpayable";
|
|
3077
|
+
readonly type: "function";
|
|
3078
|
+
}, {
|
|
3079
|
+
readonly inputs: readonly [];
|
|
3080
|
+
readonly name: "uniswapV3Factory";
|
|
3081
|
+
readonly outputs: readonly [{
|
|
3082
|
+
readonly internalType: "contract IUniswapV3Factory";
|
|
3083
|
+
readonly name: "";
|
|
3084
|
+
readonly type: "address";
|
|
3085
|
+
}];
|
|
3086
|
+
readonly stateMutability: "view";
|
|
3087
|
+
readonly type: "function";
|
|
3088
|
+
}, {
|
|
3089
|
+
readonly inputs: readonly [{
|
|
3090
|
+
readonly internalType: "address";
|
|
3091
|
+
readonly name: "newLocker";
|
|
3092
|
+
readonly type: "address";
|
|
3093
|
+
}];
|
|
3094
|
+
readonly name: "updateLiquidityLocker";
|
|
3095
|
+
readonly outputs: readonly [];
|
|
3096
|
+
readonly stateMutability: "nonpayable";
|
|
3097
|
+
readonly type: "function";
|
|
3098
|
+
}, {
|
|
3099
|
+
readonly inputs: readonly [{
|
|
3100
|
+
readonly internalType: "address";
|
|
3101
|
+
readonly name: "newVault";
|
|
3102
|
+
readonly type: "address";
|
|
3103
|
+
}];
|
|
3104
|
+
readonly name: "updateVault";
|
|
3105
|
+
readonly outputs: readonly [];
|
|
3106
|
+
readonly stateMutability: "nonpayable";
|
|
3107
|
+
readonly type: "function";
|
|
3108
|
+
}, {
|
|
3109
|
+
readonly inputs: readonly [];
|
|
3110
|
+
readonly name: "vault";
|
|
3111
|
+
readonly outputs: readonly [{
|
|
3112
|
+
readonly internalType: "contract IClankerVault";
|
|
3113
|
+
readonly name: "";
|
|
3114
|
+
readonly type: "address";
|
|
3115
|
+
}];
|
|
3116
|
+
readonly stateMutability: "view";
|
|
3117
|
+
readonly type: "function";
|
|
3118
|
+
}, {
|
|
3119
|
+
readonly inputs: readonly [];
|
|
3120
|
+
readonly name: "weth";
|
|
3121
|
+
readonly outputs: readonly [{
|
|
3122
|
+
readonly internalType: "address";
|
|
3123
|
+
readonly name: "";
|
|
3124
|
+
readonly type: "address";
|
|
3125
|
+
}];
|
|
3126
|
+
readonly stateMutability: "view";
|
|
3127
|
+
readonly type: "function";
|
|
3128
|
+
}], "deployToken"> & {
|
|
3129
|
+
expectedAddress?: `0x${string}`;
|
|
3130
|
+
}>;
|
|
3131
|
+
/**
|
|
3132
|
+
* Simulate a token deployment
|
|
3133
|
+
*
|
|
3134
|
+
* @param token The token to deploy
|
|
3135
|
+
* @param requestorAddress Requestor for the deployment. Various admins will fall back to this.
|
|
3136
|
+
* @returns Abi transaction
|
|
3137
|
+
*/
|
|
3138
|
+
deploySimulate(token: ClankerTokenV3, 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"> & {
|
|
3139
|
+
error?: undefined;
|
|
3140
|
+
}) | ({
|
|
3141
|
+
result?: undefined;
|
|
3142
|
+
request?: undefined;
|
|
3143
|
+
} & {
|
|
3144
|
+
error: ClankerError;
|
|
3145
|
+
})>;
|
|
3146
|
+
/**
|
|
3147
|
+
* Deploy a token
|
|
3148
|
+
*
|
|
3149
|
+
* @param token The token to deploy
|
|
3150
|
+
* @returns Transaction hash and awaitable function for full deployment
|
|
3151
|
+
*/
|
|
3152
|
+
deploy(token: ClankerTokenV3): Promise<({
|
|
3153
|
+
txHash: `0x${string}`;
|
|
3154
|
+
waitForTransaction: () => import("../utils/write-clanker-contracts").ClankerResult<{
|
|
3155
|
+
address: `0x${string}`;
|
|
3156
|
+
}>;
|
|
3157
|
+
} & {
|
|
3158
|
+
error?: undefined;
|
|
3159
|
+
}) | ({
|
|
3160
|
+
txHash?: undefined;
|
|
3161
|
+
waitForTransaction?: undefined;
|
|
3162
|
+
} & {
|
|
3163
|
+
error: ClankerError;
|
|
3164
|
+
})>;
|
|
3165
|
+
}
|
|
3166
|
+
export {};
|
|
3167
|
+
//# sourceMappingURL=index.d.ts.map
|