@startale-scs/aa-sdk 0.0.1
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/LICENSE +21 -0
- package/README.md +20 -0
- package/dist/_cjs/account/decorators/getFactoryData.js +36 -0
- package/dist/_cjs/account/decorators/getFactoryData.js.map +1 -0
- package/dist/_cjs/account/decorators/getStartaleAccountAddress.js +18 -0
- package/dist/_cjs/account/decorators/getStartaleAccountAddress.js.map +1 -0
- package/dist/_cjs/account/decorators/index.js +6 -0
- package/dist/_cjs/account/decorators/index.js.map +1 -0
- package/dist/_cjs/account/index.js +6 -0
- package/dist/_cjs/account/index.js.map +1 -0
- package/dist/_cjs/account/toStartaleSmartAccount.js +251 -0
- package/dist/_cjs/account/toStartaleSmartAccount.js.map +1 -0
- package/dist/_cjs/account/utils/AccountNotFound.js +18 -0
- package/dist/_cjs/account/utils/AccountNotFound.js.map +1 -0
- package/dist/_cjs/account/utils/Constants.js +128 -0
- package/dist/_cjs/account/utils/Constants.js.map +1 -0
- package/dist/_cjs/account/utils/Helpers.js +39 -0
- package/dist/_cjs/account/utils/Helpers.js.map +1 -0
- package/dist/_cjs/account/utils/Logger.js +35 -0
- package/dist/_cjs/account/utils/Logger.js.map +1 -0
- package/dist/_cjs/account/utils/Types.js +3 -0
- package/dist/_cjs/account/utils/Types.js.map +1 -0
- package/dist/_cjs/account/utils/Utils.js +258 -0
- package/dist/_cjs/account/utils/Utils.js.map +1 -0
- package/dist/_cjs/account/utils/contractSimulation.js +27 -0
- package/dist/_cjs/account/utils/contractSimulation.js.map +1 -0
- package/dist/_cjs/account/utils/deepHexlify.js +26 -0
- package/dist/_cjs/account/utils/deepHexlify.js.map +1 -0
- package/dist/_cjs/account/utils/fromBundlerClient.js +45 -0
- package/dist/_cjs/account/utils/fromBundlerClient.js.map +1 -0
- package/dist/_cjs/account/utils/getAAError.js +37 -0
- package/dist/_cjs/account/utils/getAAError.js.map +1 -0
- package/dist/_cjs/account/utils/getChain.js +66 -0
- package/dist/_cjs/account/utils/getChain.js.map +1 -0
- package/dist/_cjs/account/utils/getVersion.js +46 -0
- package/dist/_cjs/account/utils/getVersion.js.map +1 -0
- package/dist/_cjs/account/utils/index.js +27 -0
- package/dist/_cjs/account/utils/index.js.map +1 -0
- package/dist/_cjs/account/utils/parseErrorMessage.js +79 -0
- package/dist/_cjs/account/utils/parseErrorMessage.js.map +1 -0
- package/dist/_cjs/account/utils/tenderlySimulation.js +52 -0
- package/dist/_cjs/account/utils/tenderlySimulation.js.map +1 -0
- package/dist/_cjs/account/utils/toInitData.js +13 -0
- package/dist/_cjs/account/utils/toInitData.js.map +1 -0
- package/dist/_cjs/account/utils/toInstallData.js +15 -0
- package/dist/_cjs/account/utils/toInstallData.js.map +1 -0
- package/dist/_cjs/account/utils/toSigner.js +81 -0
- package/dist/_cjs/account/utils/toSigner.js.map +1 -0
- package/dist/_cjs/clients/createHttpClient.js +42 -0
- package/dist/_cjs/clients/createHttpClient.js.map +1 -0
- package/dist/_cjs/clients/createSCSBundlerClient.js +45 -0
- package/dist/_cjs/clients/createSCSBundlerClient.js.map +1 -0
- package/dist/_cjs/clients/createSCSPaymasterClient.js +39 -0
- package/dist/_cjs/clients/createSCSPaymasterClient.js.map +1 -0
- package/dist/_cjs/clients/decorators/bundler/getGasFeeValues.js +34 -0
- package/dist/_cjs/clients/decorators/bundler/getGasFeeValues.js.map +1 -0
- package/dist/_cjs/clients/decorators/bundler/getUserOperationStatus.js +10 -0
- package/dist/_cjs/clients/decorators/bundler/getUserOperationStatus.js.map +1 -0
- package/dist/_cjs/clients/decorators/bundler/index.js +15 -0
- package/dist/_cjs/clients/decorators/bundler/index.js.map +1 -0
- package/dist/_cjs/clients/decorators/bundler/waitForConfirmedUserOperationReceipt.js +27 -0
- package/dist/_cjs/clients/decorators/bundler/waitForConfirmedUserOperationReceipt.js.map +1 -0
- package/dist/_cjs/clients/decorators/bundler/waitForUserOperationReceipt.js +13 -0
- package/dist/_cjs/clients/decorators/bundler/waitForUserOperationReceipt.js.map +1 -0
- package/dist/_cjs/clients/decorators/erc7579/accountId.js +65 -0
- package/dist/_cjs/clients/decorators/erc7579/accountId.js.map +1 -0
- package/dist/_cjs/clients/decorators/erc7579/getActiveHook.js +43 -0
- package/dist/_cjs/clients/decorators/erc7579/getActiveHook.js.map +1 -0
- package/dist/_cjs/clients/decorators/erc7579/getFallbackBySelector.js +56 -0
- package/dist/_cjs/clients/decorators/erc7579/getFallbackBySelector.js.map +1 -0
- package/dist/_cjs/clients/decorators/erc7579/getInstalledExecutors.js +63 -0
- package/dist/_cjs/clients/decorators/erc7579/getInstalledExecutors.js.map +1 -0
- package/dist/_cjs/clients/decorators/erc7579/getInstalledValidators.js +61 -0
- package/dist/_cjs/clients/decorators/erc7579/getInstalledValidators.js.map +1 -0
- package/dist/_cjs/clients/decorators/erc7579/getPreviousModule.js +37 -0
- package/dist/_cjs/clients/decorators/erc7579/getPreviousModule.js.map +1 -0
- package/dist/_cjs/clients/decorators/erc7579/index.js +64 -0
- package/dist/_cjs/clients/decorators/erc7579/index.js.map +1 -0
- package/dist/_cjs/clients/decorators/erc7579/installModule.js +94 -0
- package/dist/_cjs/clients/decorators/erc7579/installModule.js.map +1 -0
- package/dist/_cjs/clients/decorators/erc7579/installModules.js +25 -0
- package/dist/_cjs/clients/decorators/erc7579/installModules.js.map +1 -0
- package/dist/_cjs/clients/decorators/erc7579/isModuleInstalled.js +90 -0
- package/dist/_cjs/clients/decorators/erc7579/isModuleInstalled.js.map +1 -0
- package/dist/_cjs/clients/decorators/erc7579/supportsExecutionMode.js +102 -0
- package/dist/_cjs/clients/decorators/erc7579/supportsExecutionMode.js.map +1 -0
- package/dist/_cjs/clients/decorators/erc7579/supportsModule.js +90 -0
- package/dist/_cjs/clients/decorators/erc7579/supportsModule.js.map +1 -0
- package/dist/_cjs/clients/decorators/erc7579/uninstallFallback.js +61 -0
- package/dist/_cjs/clients/decorators/erc7579/uninstallFallback.js.map +1 -0
- package/dist/_cjs/clients/decorators/erc7579/uninstallModule.js +79 -0
- package/dist/_cjs/clients/decorators/erc7579/uninstallModule.js.map +1 -0
- package/dist/_cjs/clients/decorators/erc7579/uninstallModules.js +26 -0
- package/dist/_cjs/clients/decorators/erc7579/uninstallModules.js.map +1 -0
- package/dist/_cjs/clients/decorators/index.js +8 -0
- package/dist/_cjs/clients/decorators/index.js.map +1 -0
- package/dist/_cjs/clients/decorators/smartAccount/debugUserOperation.js +75 -0
- package/dist/_cjs/clients/decorators/smartAccount/debugUserOperation.js.map +1 -0
- package/dist/_cjs/clients/decorators/smartAccount/index.js +32 -0
- package/dist/_cjs/clients/decorators/smartAccount/index.js.map +1 -0
- package/dist/_cjs/clients/decorators/smartAccount/prepareTokenPaymasterUserOp.js +32 -0
- package/dist/_cjs/clients/decorators/smartAccount/prepareTokenPaymasterUserOp.js.map +1 -0
- package/dist/_cjs/clients/decorators/smartAccount/prepareUserOperationWithoutSignature.js +35 -0
- package/dist/_cjs/clients/decorators/smartAccount/prepareUserOperationWithoutSignature.js.map +1 -0
- package/dist/_cjs/clients/decorators/smartAccount/sendTokenPaymasterUserOp.js +21 -0
- package/dist/_cjs/clients/decorators/smartAccount/sendTokenPaymasterUserOp.js.map +1 -0
- package/dist/_cjs/clients/decorators/smartAccount/sendTransaction.js +41 -0
- package/dist/_cjs/clients/decorators/smartAccount/sendTransaction.js.map +1 -0
- package/dist/_cjs/clients/decorators/smartAccount/signMessage.js +14 -0
- package/dist/_cjs/clients/decorators/smartAccount/signMessage.js.map +1 -0
- package/dist/_cjs/clients/decorators/smartAccount/signTypedData.js +31 -0
- package/dist/_cjs/clients/decorators/smartAccount/signTypedData.js.map +1 -0
- package/dist/_cjs/clients/decorators/smartAccount/upgradeSmartAccount.js +61 -0
- package/dist/_cjs/clients/decorators/smartAccount/upgradeSmartAccount.js.map +1 -0
- package/dist/_cjs/clients/decorators/smartAccount/waitForTransactionReceipt.js +17 -0
- package/dist/_cjs/clients/decorators/smartAccount/waitForTransactionReceipt.js.map +1 -0
- package/dist/_cjs/clients/decorators/smartAccount/writeContract.js +20 -0
- package/dist/_cjs/clients/decorators/smartAccount/writeContract.js.map +1 -0
- package/dist/_cjs/clients/decorators/tokenPaymaster/getSupportedTokens.js +25 -0
- package/dist/_cjs/clients/decorators/tokenPaymaster/getSupportedTokens.js.map +1 -0
- package/dist/_cjs/clients/decorators/tokenPaymaster/getTokenPaymasterQuotes.js +35 -0
- package/dist/_cjs/clients/decorators/tokenPaymaster/getTokenPaymasterQuotes.js.map +1 -0
- package/dist/_cjs/clients/decorators/tokenPaymaster/index.js +11 -0
- package/dist/_cjs/clients/decorators/tokenPaymaster/index.js.map +1 -0
- package/dist/_cjs/clients/index.js +8 -0
- package/dist/_cjs/clients/index.js.map +1 -0
- package/dist/_cjs/constants/abi/AccountFactory.js +337 -0
- package/dist/_cjs/constants/abi/AccountFactory.js.map +1 -0
- package/dist/_cjs/constants/abi/AccountImplementationAbi.js +1179 -0
- package/dist/_cjs/constants/abi/AccountImplementationAbi.js.map +1 -0
- package/dist/_cjs/constants/abi/BootstrapAbi.js +730 -0
- package/dist/_cjs/constants/abi/BootstrapAbi.js.map +1 -0
- package/dist/_cjs/constants/abi/ComposabilityAbi.js +274 -0
- package/dist/_cjs/constants/abi/ComposabilityAbi.js.map +1 -0
- package/dist/_cjs/constants/abi/EIP1271Abi.js +31 -0
- package/dist/_cjs/constants/abi/EIP1271Abi.js.map +1 -0
- package/dist/_cjs/constants/abi/ERC7484RegistryAbi.js +17 -0
- package/dist/_cjs/constants/abi/ERC7484RegistryAbi.js.map +1 -0
- package/dist/_cjs/constants/abi/EntryPointABI.js +661 -0
- package/dist/_cjs/constants/abi/EntryPointABI.js.map +1 -0
- package/dist/_cjs/constants/abi/SmartSessionAbi.js +1472 -0
- package/dist/_cjs/constants/abi/SmartSessionAbi.js.map +1 -0
- package/dist/_cjs/constants/abi/TokenWithPermitAbi.js +622 -0
- package/dist/_cjs/constants/abi/TokenWithPermitAbi.js.map +1 -0
- package/dist/_cjs/constants/abi/UniActionPolicyAbi.js +62 -0
- package/dist/_cjs/constants/abi/UniActionPolicyAbi.js.map +1 -0
- package/dist/_cjs/constants/abi/UniswapSwapRouterAbi.js +486 -0
- package/dist/_cjs/constants/abi/UniswapSwapRouterAbi.js.map +1 -0
- package/dist/_cjs/constants/abi/index.js +14 -0
- package/dist/_cjs/constants/abi/index.js.map +1 -0
- package/dist/_cjs/constants/index.js +62 -0
- package/dist/_cjs/constants/index.js.map +1 -0
- package/dist/_cjs/index.js +13 -0
- package/dist/_cjs/index.js.map +1 -0
- package/dist/_cjs/modules/index.js +8 -0
- package/dist/_cjs/modules/index.js.map +1 -0
- package/dist/_cjs/modules/toEmptyExecutor.js +10 -0
- package/dist/_cjs/modules/toEmptyExecutor.js.map +1 -0
- package/dist/_cjs/modules/toEmptyHook.js +10 -0
- package/dist/_cjs/modules/toEmptyHook.js.map +1 -0
- package/dist/_cjs/modules/utils/Helpers.js +59 -0
- package/dist/_cjs/modules/utils/Helpers.js.map +1 -0
- package/dist/_cjs/modules/utils/Types.js +15 -0
- package/dist/_cjs/modules/utils/Types.js.map +1 -0
- package/dist/_cjs/modules/utils/Uid.js +14 -0
- package/dist/_cjs/modules/utils/Uid.js.map +1 -0
- package/dist/_cjs/modules/utils/composabilityCalls.js +117 -0
- package/dist/_cjs/modules/utils/composabilityCalls.js.map +1 -0
- package/dist/_cjs/modules/utils/index.js +9 -0
- package/dist/_cjs/modules/utils/index.js.map +1 -0
- package/dist/_cjs/modules/utils/runtimeAbiEncoding.js +276 -0
- package/dist/_cjs/modules/utils/runtimeAbiEncoding.js.map +1 -0
- package/dist/_cjs/modules/utils/toModule.js +39 -0
- package/dist/_cjs/modules/utils/toModule.js.map +1 -0
- package/dist/_cjs/modules/validators/default/index.js +5 -0
- package/dist/_cjs/modules/validators/default/index.js.map +1 -0
- package/dist/_cjs/modules/validators/default/toDefaultModule.js +18 -0
- package/dist/_cjs/modules/validators/default/toDefaultModule.js.map +1 -0
- package/dist/_cjs/modules/validators/index.js +9 -0
- package/dist/_cjs/modules/validators/index.js.map +1 -0
- package/dist/_cjs/modules/validators/ownable/decorators/addOwner.js +44 -0
- package/dist/_cjs/modules/validators/ownable/decorators/addOwner.js.map +1 -0
- package/dist/_cjs/modules/validators/ownable/decorators/getAddOwnerTx.js +42 -0
- package/dist/_cjs/modules/validators/ownable/decorators/getAddOwnerTx.js.map +1 -0
- package/dist/_cjs/modules/validators/ownable/decorators/getOwners.js +28 -0
- package/dist/_cjs/modules/validators/ownable/decorators/getOwners.js.map +1 -0
- package/dist/_cjs/modules/validators/ownable/decorators/getRemoveOwnerTx.js +38 -0
- package/dist/_cjs/modules/validators/ownable/decorators/getRemoveOwnerTx.js.map +1 -0
- package/dist/_cjs/modules/validators/ownable/decorators/getSetThresholdTx.js +32 -0
- package/dist/_cjs/modules/validators/ownable/decorators/getSetThresholdTx.js.map +1 -0
- package/dist/_cjs/modules/validators/ownable/decorators/getThreshold.js +28 -0
- package/dist/_cjs/modules/validators/ownable/decorators/getThreshold.js.map +1 -0
- package/dist/_cjs/modules/validators/ownable/decorators/index.js +70 -0
- package/dist/_cjs/modules/validators/ownable/decorators/index.js.map +1 -0
- package/dist/_cjs/modules/validators/ownable/decorators/multiSign.js +25 -0
- package/dist/_cjs/modules/validators/ownable/decorators/multiSign.js.map +1 -0
- package/dist/_cjs/modules/validators/ownable/decorators/prepareForMultiSign.js +22 -0
- package/dist/_cjs/modules/validators/ownable/decorators/prepareForMultiSign.js.map +1 -0
- package/dist/_cjs/modules/validators/ownable/decorators/removeOwner.js +44 -0
- package/dist/_cjs/modules/validators/ownable/decorators/removeOwner.js.map +1 -0
- package/dist/_cjs/modules/validators/ownable/decorators/setThreshold.js +39 -0
- package/dist/_cjs/modules/validators/ownable/decorators/setThreshold.js.map +1 -0
- package/dist/_cjs/modules/validators/ownable/index.js +6 -0
- package/dist/_cjs/modules/validators/ownable/index.js.map +1 -0
- package/dist/_cjs/modules/validators/ownable/toOwnableModule.js +16 -0
- package/dist/_cjs/modules/validators/ownable/toOwnableModule.js.map +1 -0
- package/dist/_cjs/modules/validators/smartSessionsValidator/Helpers.js +124 -0
- package/dist/_cjs/modules/validators/smartSessionsValidator/Helpers.js.map +1 -0
- package/dist/_cjs/modules/validators/smartSessionsValidator/Types.js +13 -0
- package/dist/_cjs/modules/validators/smartSessionsValidator/Types.js.map +1 -0
- package/dist/_cjs/modules/validators/smartSessionsValidator/decorators/grantPermission.js +38 -0
- package/dist/_cjs/modules/validators/smartSessionsValidator/decorators/grantPermission.js.map +1 -0
- package/dist/_cjs/modules/validators/smartSessionsValidator/decorators/index.js +27 -0
- package/dist/_cjs/modules/validators/smartSessionsValidator/decorators/index.js.map +1 -0
- package/dist/_cjs/modules/validators/smartSessionsValidator/decorators/preparePermission.js +127 -0
- package/dist/_cjs/modules/validators/smartSessionsValidator/decorators/preparePermission.js.map +1 -0
- package/dist/_cjs/modules/validators/smartSessionsValidator/decorators/usePermission.js +16 -0
- package/dist/_cjs/modules/validators/smartSessionsValidator/decorators/usePermission.js.map +1 -0
- package/dist/_cjs/modules/validators/smartSessionsValidator/index.js +8 -0
- package/dist/_cjs/modules/validators/smartSessionsValidator/index.js.map +1 -0
- package/dist/_cjs/modules/validators/smartSessionsValidator/toSmartSessionsValidator.js +49 -0
- package/dist/_cjs/modules/validators/smartSessionsValidator/toSmartSessionsValidator.js.map +1 -0
- package/dist/_cjs/modules/validators/toValidator.js +21 -0
- package/dist/_cjs/modules/validators/toValidator.js.map +1 -0
- package/dist/_cjs/package.json +1 -0
- package/dist/_esm/account/decorators/getFactoryData.js +31 -0
- package/dist/_esm/account/decorators/getFactoryData.js.map +1 -0
- package/dist/_esm/account/decorators/getStartaleAccountAddress.js +31 -0
- package/dist/_esm/account/decorators/getStartaleAccountAddress.js.map +1 -0
- package/dist/_esm/account/decorators/index.js +3 -0
- package/dist/_esm/account/decorators/index.js.map +1 -0
- package/dist/_esm/account/index.js +3 -0
- package/dist/_esm/account/index.js.map +1 -0
- package/dist/_esm/account/toStartaleSmartAccount.js +327 -0
- package/dist/_esm/account/toStartaleSmartAccount.js.map +1 -0
- package/dist/_esm/account/utils/AccountNotFound.js +17 -0
- package/dist/_esm/account/utils/AccountNotFound.js.map +1 -0
- package/dist/_esm/account/utils/Constants.js +129 -0
- package/dist/_esm/account/utils/Constants.js.map +1 -0
- package/dist/_esm/account/utils/Helpers.js +45 -0
- package/dist/_esm/account/utils/Helpers.js.map +1 -0
- package/dist/_esm/account/utils/Logger.js +50 -0
- package/dist/_esm/account/utils/Logger.js.map +1 -0
- package/dist/_esm/account/utils/Types.js +2 -0
- package/dist/_esm/account/utils/Types.js.map +1 -0
- package/dist/_esm/account/utils/Utils.js +319 -0
- package/dist/_esm/account/utils/Utils.js.map +1 -0
- package/dist/_esm/account/utils/contractSimulation.js +48 -0
- package/dist/_esm/account/utils/contractSimulation.js.map +1 -0
- package/dist/_esm/account/utils/deepHexlify.js +63 -0
- package/dist/_esm/account/utils/deepHexlify.js.map +1 -0
- package/dist/_esm/account/utils/fromBundlerClient.js +67 -0
- package/dist/_esm/account/utils/fromBundlerClient.js.map +1 -0
- package/dist/_esm/account/utils/getAAError.js +34 -0
- package/dist/_esm/account/utils/getAAError.js.map +1 -0
- package/dist/_esm/account/utils/getChain.js +117 -0
- package/dist/_esm/account/utils/getChain.js.map +1 -0
- package/dist/_esm/account/utils/getVersion.js +163 -0
- package/dist/_esm/account/utils/getVersion.js.map +1 -0
- package/dist/_esm/account/utils/index.js +19 -0
- package/dist/_esm/account/utils/index.js.map +1 -0
- package/dist/_esm/account/utils/parseErrorMessage.js +89 -0
- package/dist/_esm/account/utils/parseErrorMessage.js.map +1 -0
- package/dist/_esm/account/utils/tenderlySimulation.js +47 -0
- package/dist/_esm/account/utils/tenderlySimulation.js.map +1 -0
- package/dist/_esm/account/utils/toInitData.js +14 -0
- package/dist/_esm/account/utils/toInitData.js.map +1 -0
- package/dist/_esm/account/utils/toInstallData.js +16 -0
- package/dist/_esm/account/utils/toInstallData.js.map +1 -0
- package/dist/_esm/account/utils/toSigner.js +91 -0
- package/dist/_esm/account/utils/toSigner.js.map +1 -0
- package/dist/_esm/clients/createHttpClient.js +43 -0
- package/dist/_esm/clients/createHttpClient.js.map +1 -0
- package/dist/_esm/clients/createSCSBundlerClient.js +56 -0
- package/dist/_esm/clients/createSCSBundlerClient.js.map +1 -0
- package/dist/_esm/clients/createSCSPaymasterClient.js +74 -0
- package/dist/_esm/clients/createSCSPaymasterClient.js.map +1 -0
- package/dist/_esm/clients/decorators/bundler/getGasFeeValues.js +53 -0
- package/dist/_esm/clients/decorators/bundler/getGasFeeValues.js.map +1 -0
- package/dist/_esm/clients/decorators/bundler/getUserOperationStatus.js +8 -0
- package/dist/_esm/clients/decorators/bundler/getUserOperationStatus.js.map +1 -0
- package/dist/_esm/clients/decorators/bundler/index.js +11 -0
- package/dist/_esm/clients/decorators/bundler/index.js.map +1 -0
- package/dist/_esm/clients/decorators/bundler/waitForConfirmedUserOperationReceipt.js +26 -0
- package/dist/_esm/clients/decorators/bundler/waitForConfirmedUserOperationReceipt.js.map +1 -0
- package/dist/_esm/clients/decorators/bundler/waitForUserOperationReceipt.js +10 -0
- package/dist/_esm/clients/decorators/bundler/waitForUserOperationReceipt.js.map +1 -0
- package/dist/_esm/clients/decorators/erc7579/accountId.js +77 -0
- package/dist/_esm/clients/decorators/erc7579/accountId.js.map +1 -0
- package/dist/_esm/clients/decorators/erc7579/getActiveHook.js +52 -0
- package/dist/_esm/clients/decorators/erc7579/getActiveHook.js.map +1 -0
- package/dist/_esm/clients/decorators/erc7579/getFallbackBySelector.js +67 -0
- package/dist/_esm/clients/decorators/erc7579/getFallbackBySelector.js.map +1 -0
- package/dist/_esm/clients/decorators/erc7579/getInstalledExecutors.js +74 -0
- package/dist/_esm/clients/decorators/erc7579/getInstalledExecutors.js.map +1 -0
- package/dist/_esm/clients/decorators/erc7579/getInstalledValidators.js +72 -0
- package/dist/_esm/clients/decorators/erc7579/getInstalledValidators.js.map +1 -0
- package/dist/_esm/clients/decorators/erc7579/getPreviousModule.js +54 -0
- package/dist/_esm/clients/decorators/erc7579/getPreviousModule.js.map +1 -0
- package/dist/_esm/clients/decorators/erc7579/index.js +48 -0
- package/dist/_esm/clients/decorators/erc7579/index.js.map +1 -0
- package/dist/_esm/clients/decorators/erc7579/installModule.js +109 -0
- package/dist/_esm/clients/decorators/erc7579/installModule.js.map +1 -0
- package/dist/_esm/clients/decorators/erc7579/installModules.js +41 -0
- package/dist/_esm/clients/decorators/erc7579/installModules.js.map +1 -0
- package/dist/_esm/clients/decorators/erc7579/isModuleInstalled.js +106 -0
- package/dist/_esm/clients/decorators/erc7579/isModuleInstalled.js.map +1 -0
- package/dist/_esm/clients/decorators/erc7579/supportsExecutionMode.js +120 -0
- package/dist/_esm/clients/decorators/erc7579/supportsExecutionMode.js.map +1 -0
- package/dist/_esm/clients/decorators/erc7579/supportsModule.js +108 -0
- package/dist/_esm/clients/decorators/erc7579/supportsModule.js.map +1 -0
- package/dist/_esm/clients/decorators/erc7579/uninstallFallback.js +76 -0
- package/dist/_esm/clients/decorators/erc7579/uninstallFallback.js.map +1 -0
- package/dist/_esm/clients/decorators/erc7579/uninstallModule.js +94 -0
- package/dist/_esm/clients/decorators/erc7579/uninstallModule.js.map +1 -0
- package/dist/_esm/clients/decorators/erc7579/uninstallModules.js +42 -0
- package/dist/_esm/clients/decorators/erc7579/uninstallModules.js.map +1 -0
- package/dist/_esm/clients/decorators/index.js +5 -0
- package/dist/_esm/clients/decorators/index.js.map +1 -0
- package/dist/_esm/clients/decorators/smartAccount/debugUserOperation.js +105 -0
- package/dist/_esm/clients/decorators/smartAccount/debugUserOperation.js.map +1 -0
- package/dist/_esm/clients/decorators/smartAccount/index.js +28 -0
- package/dist/_esm/clients/decorators/smartAccount/index.js.map +1 -0
- package/dist/_esm/clients/decorators/smartAccount/prepareTokenPaymasterUserOp.js +60 -0
- package/dist/_esm/clients/decorators/smartAccount/prepareTokenPaymasterUserOp.js.map +1 -0
- package/dist/_esm/clients/decorators/smartAccount/prepareUserOperationWithoutSignature.js +36 -0
- package/dist/_esm/clients/decorators/smartAccount/prepareUserOperationWithoutSignature.js.map +1 -0
- package/dist/_esm/clients/decorators/smartAccount/sendTokenPaymasterUserOp.js +44 -0
- package/dist/_esm/clients/decorators/smartAccount/sendTokenPaymasterUserOp.js.map +1 -0
- package/dist/_esm/clients/decorators/smartAccount/sendTransaction.js +57 -0
- package/dist/_esm/clients/decorators/smartAccount/sendTransaction.js.map +1 -0
- package/dist/_esm/clients/decorators/smartAccount/signMessage.js +30 -0
- package/dist/_esm/clients/decorators/smartAccount/signMessage.js.map +1 -0
- package/dist/_esm/clients/decorators/smartAccount/signTypedData.js +82 -0
- package/dist/_esm/clients/decorators/smartAccount/signTypedData.js.map +1 -0
- package/dist/_esm/clients/decorators/smartAccount/upgradeSmartAccount.js +75 -0
- package/dist/_esm/clients/decorators/smartAccount/upgradeSmartAccount.js.map +1 -0
- package/dist/_esm/clients/decorators/smartAccount/waitForTransactionReceipt.js +14 -0
- package/dist/_esm/clients/decorators/smartAccount/waitForTransactionReceipt.js.map +1 -0
- package/dist/_esm/clients/decorators/smartAccount/writeContract.js +40 -0
- package/dist/_esm/clients/decorators/smartAccount/writeContract.js.map +1 -0
- package/dist/_esm/clients/decorators/tokenPaymaster/getSupportedTokens.js +35 -0
- package/dist/_esm/clients/decorators/tokenPaymaster/getSupportedTokens.js.map +1 -0
- package/dist/_esm/clients/decorators/tokenPaymaster/getTokenPaymasterQuotes.js +70 -0
- package/dist/_esm/clients/decorators/tokenPaymaster/getTokenPaymasterQuotes.js.map +1 -0
- package/dist/_esm/clients/decorators/tokenPaymaster/index.js +63 -0
- package/dist/_esm/clients/decorators/tokenPaymaster/index.js.map +1 -0
- package/dist/_esm/clients/index.js +5 -0
- package/dist/_esm/clients/index.js.map +1 -0
- package/dist/_esm/constants/abi/AccountFactory.js +334 -0
- package/dist/_esm/constants/abi/AccountFactory.js.map +1 -0
- package/dist/_esm/constants/abi/AccountImplementationAbi.js +1176 -0
- package/dist/_esm/constants/abi/AccountImplementationAbi.js.map +1 -0
- package/dist/_esm/constants/abi/BootstrapAbi.js +727 -0
- package/dist/_esm/constants/abi/BootstrapAbi.js.map +1 -0
- package/dist/_esm/constants/abi/ComposabilityAbi.js +271 -0
- package/dist/_esm/constants/abi/ComposabilityAbi.js.map +1 -0
- package/dist/_esm/constants/abi/EIP1271Abi.js +28 -0
- package/dist/_esm/constants/abi/EIP1271Abi.js.map +1 -0
- package/dist/_esm/constants/abi/ERC7484RegistryAbi.js +14 -0
- package/dist/_esm/constants/abi/ERC7484RegistryAbi.js.map +1 -0
- package/dist/_esm/constants/abi/EntryPointABI.js +658 -0
- package/dist/_esm/constants/abi/EntryPointABI.js.map +1 -0
- package/dist/_esm/constants/abi/SmartSessionAbi.js +1469 -0
- package/dist/_esm/constants/abi/SmartSessionAbi.js.map +1 -0
- package/dist/_esm/constants/abi/TokenWithPermitAbi.js +619 -0
- package/dist/_esm/constants/abi/TokenWithPermitAbi.js.map +1 -0
- package/dist/_esm/constants/abi/UniActionPolicyAbi.js +59 -0
- package/dist/_esm/constants/abi/UniActionPolicyAbi.js.map +1 -0
- package/dist/_esm/constants/abi/UniswapSwapRouterAbi.js +483 -0
- package/dist/_esm/constants/abi/UniswapSwapRouterAbi.js.map +1 -0
- package/dist/_esm/constants/abi/index.js +11 -0
- package/dist/_esm/constants/abi/index.js.map +1 -0
- package/dist/_esm/constants/index.js +29 -0
- package/dist/_esm/constants/index.js.map +1 -0
- package/dist/_esm/index.js +12 -0
- package/dist/_esm/index.js.map +1 -0
- package/dist/_esm/modules/index.js +6 -0
- package/dist/_esm/modules/index.js.map +1 -0
- package/dist/_esm/modules/toEmptyExecutor.js +6 -0
- package/dist/_esm/modules/toEmptyExecutor.js.map +1 -0
- package/dist/_esm/modules/toEmptyHook.js +6 -0
- package/dist/_esm/modules/toEmptyHook.js.map +1 -0
- package/dist/_esm/modules/utils/Helpers.js +81 -0
- package/dist/_esm/modules/utils/Helpers.js.map +1 -0
- package/dist/_esm/modules/utils/Types.js +12 -0
- package/dist/_esm/modules/utils/Types.js.map +1 -0
- package/dist/_esm/modules/utils/Uid.js +11 -0
- package/dist/_esm/modules/utils/Uid.js.map +1 -0
- package/dist/_esm/modules/utils/composabilityCalls.js +127 -0
- package/dist/_esm/modules/utils/composabilityCalls.js.map +1 -0
- package/dist/_esm/modules/utils/index.js +6 -0
- package/dist/_esm/modules/utils/index.js.map +1 -0
- package/dist/_esm/modules/utils/runtimeAbiEncoding.js +365 -0
- package/dist/_esm/modules/utils/runtimeAbiEncoding.js.map +1 -0
- package/dist/_esm/modules/utils/toModule.js +61 -0
- package/dist/_esm/modules/utils/toModule.js.map +1 -0
- package/dist/_esm/modules/validators/default/index.js +2 -0
- package/dist/_esm/modules/validators/default/index.js.map +1 -0
- package/dist/_esm/modules/validators/default/toDefaultModule.js +14 -0
- package/dist/_esm/modules/validators/default/toDefaultModule.js.map +1 -0
- package/dist/_esm/modules/validators/index.js +6 -0
- package/dist/_esm/modules/validators/index.js.map +1 -0
- package/dist/_esm/modules/validators/ownable/decorators/addOwner.js +52 -0
- package/dist/_esm/modules/validators/ownable/decorators/addOwner.js.map +1 -0
- package/dist/_esm/modules/validators/ownable/decorators/getAddOwnerTx.js +50 -0
- package/dist/_esm/modules/validators/ownable/decorators/getAddOwnerTx.js.map +1 -0
- package/dist/_esm/modules/validators/ownable/decorators/getOwners.js +38 -0
- package/dist/_esm/modules/validators/ownable/decorators/getOwners.js.map +1 -0
- package/dist/_esm/modules/validators/ownable/decorators/getRemoveOwnerTx.js +46 -0
- package/dist/_esm/modules/validators/ownable/decorators/getRemoveOwnerTx.js.map +1 -0
- package/dist/_esm/modules/validators/ownable/decorators/getSetThresholdTx.js +48 -0
- package/dist/_esm/modules/validators/ownable/decorators/getSetThresholdTx.js.map +1 -0
- package/dist/_esm/modules/validators/ownable/decorators/getThreshold.js +54 -0
- package/dist/_esm/modules/validators/ownable/decorators/getThreshold.js.map +1 -0
- package/dist/_esm/modules/validators/ownable/decorators/index.js +57 -0
- package/dist/_esm/modules/validators/ownable/decorators/index.js.map +1 -0
- package/dist/_esm/modules/validators/ownable/decorators/multiSign.js +22 -0
- package/dist/_esm/modules/validators/ownable/decorators/multiSign.js.map +1 -0
- package/dist/_esm/modules/validators/ownable/decorators/prepareForMultiSign.js +21 -0
- package/dist/_esm/modules/validators/ownable/decorators/prepareForMultiSign.js.map +1 -0
- package/dist/_esm/modules/validators/ownable/decorators/removeOwner.js +63 -0
- package/dist/_esm/modules/validators/ownable/decorators/removeOwner.js.map +1 -0
- package/dist/_esm/modules/validators/ownable/decorators/setThreshold.js +62 -0
- package/dist/_esm/modules/validators/ownable/decorators/setThreshold.js.map +1 -0
- package/dist/_esm/modules/validators/ownable/index.js +3 -0
- package/dist/_esm/modules/validators/ownable/index.js.map +1 -0
- package/dist/_esm/modules/validators/ownable/toOwnableModule.js +38 -0
- package/dist/_esm/modules/validators/ownable/toOwnableModule.js.map +1 -0
- package/dist/_esm/modules/validators/smartSessionsValidator/Helpers.js +173 -0
- package/dist/_esm/modules/validators/smartSessionsValidator/Helpers.js.map +1 -0
- package/dist/_esm/modules/validators/smartSessionsValidator/Types.js +13 -0
- package/dist/_esm/modules/validators/smartSessionsValidator/Types.js.map +1 -0
- package/dist/_esm/modules/validators/smartSessionsValidator/decorators/grantPermission.js +79 -0
- package/dist/_esm/modules/validators/smartSessionsValidator/decorators/grantPermission.js.map +1 -0
- package/dist/_esm/modules/validators/smartSessionsValidator/decorators/index.js +40 -0
- package/dist/_esm/modules/validators/smartSessionsValidator/decorators/index.js.map +1 -0
- package/dist/_esm/modules/validators/smartSessionsValidator/decorators/preparePermission.js +191 -0
- package/dist/_esm/modules/validators/smartSessionsValidator/decorators/preparePermission.js.map +1 -0
- package/dist/_esm/modules/validators/smartSessionsValidator/decorators/usePermission.js +47 -0
- package/dist/_esm/modules/validators/smartSessionsValidator/decorators/usePermission.js.map +1 -0
- package/dist/_esm/modules/validators/smartSessionsValidator/index.js +5 -0
- package/dist/_esm/modules/validators/smartSessionsValidator/index.js.map +1 -0
- package/dist/_esm/modules/validators/smartSessionsValidator/toSmartSessionsValidator.js +82 -0
- package/dist/_esm/modules/validators/smartSessionsValidator/toSmartSessionsValidator.js.map +1 -0
- package/dist/_esm/modules/validators/toValidator.js +17 -0
- package/dist/_esm/modules/validators/toValidator.js.map +1 -0
- package/dist/_esm/package.json +1 -0
- package/dist/_types/account/decorators/getFactoryData.d.ts +25 -0
- package/dist/_types/account/decorators/getFactoryData.d.ts.map +1 -0
- package/dist/_types/account/decorators/getStartaleAccountAddress.d.ts +33 -0
- package/dist/_types/account/decorators/getStartaleAccountAddress.d.ts.map +1 -0
- package/dist/_types/account/decorators/index.d.ts +3 -0
- package/dist/_types/account/decorators/index.d.ts.map +1 -0
- package/dist/_types/account/index.d.ts +3 -0
- package/dist/_types/account/index.d.ts.map +1 -0
- package/dist/_types/account/toStartaleSmartAccount.d.ts +110 -0
- package/dist/_types/account/toStartaleSmartAccount.d.ts.map +1 -0
- package/dist/_types/account/utils/AccountNotFound.d.ts +10 -0
- package/dist/_types/account/utils/AccountNotFound.d.ts.map +1 -0
- package/dist/_types/account/utils/Constants.d.ts +73 -0
- package/dist/_types/account/utils/Constants.d.ts.map +1 -0
- package/dist/_types/account/utils/Helpers.d.ts +21 -0
- package/dist/_types/account/utils/Helpers.d.ts.map +1 -0
- package/dist/_types/account/utils/Logger.d.ts +20 -0
- package/dist/_types/account/utils/Logger.d.ts.map +1 -0
- package/dist/_types/account/utils/Types.d.ts +94 -0
- package/dist/_types/account/utils/Types.d.ts.map +1 -0
- package/dist/_types/account/utils/Utils.d.ts +129 -0
- package/dist/_types/account/utils/Utils.d.ts.map +1 -0
- package/dist/_types/account/utils/contractSimulation.d.ts +801 -0
- package/dist/_types/account/utils/contractSimulation.d.ts.map +1 -0
- package/dist/_types/account/utils/deepHexlify.d.ts +41 -0
- package/dist/_types/account/utils/deepHexlify.d.ts.map +1 -0
- package/dist/_types/account/utils/fromBundlerClient.d.ts +50 -0
- package/dist/_types/account/utils/fromBundlerClient.d.ts.map +1 -0
- package/dist/_types/account/utils/getAAError.d.ts +17 -0
- package/dist/_types/account/utils/getAAError.d.ts.map +1 -0
- package/dist/_types/account/utils/getChain.d.ts +64 -0
- package/dist/_types/account/utils/getChain.d.ts.map +1 -0
- package/dist/_types/account/utils/getVersion.d.ts +135 -0
- package/dist/_types/account/utils/getVersion.d.ts.map +1 -0
- package/dist/_types/account/utils/index.d.ts +19 -0
- package/dist/_types/account/utils/index.d.ts.map +1 -0
- package/dist/_types/account/utils/parseErrorMessage.d.ts +2 -0
- package/dist/_types/account/utils/parseErrorMessage.d.ts.map +1 -0
- package/dist/_types/account/utils/tenderlySimulation.d.ts +13 -0
- package/dist/_types/account/utils/tenderlySimulation.d.ts.map +1 -0
- package/dist/_types/account/utils/toInitData.d.ts +12 -0
- package/dist/_types/account/utils/toInitData.d.ts.map +1 -0
- package/dist/_types/account/utils/toInstallData.d.ts +8 -0
- package/dist/_types/account/utils/toInstallData.d.ts.map +1 -0
- package/dist/_types/account/utils/toSigner.d.ts +26 -0
- package/dist/_types/account/utils/toSigner.d.ts.map +1 -0
- package/dist/_types/clients/createHttpClient.d.ts +44 -0
- package/dist/_types/clients/createHttpClient.d.ts.map +1 -0
- package/dist/_types/clients/createSCSBundlerClient.d.ts +66 -0
- package/dist/_types/clients/createSCSBundlerClient.d.ts.map +1 -0
- package/dist/_types/clients/createSCSPaymasterClient.d.ts +71 -0
- package/dist/_types/clients/createSCSPaymasterClient.d.ts.map +1 -0
- package/dist/_types/clients/decorators/bundler/getGasFeeValues.d.ts +51 -0
- package/dist/_types/clients/decorators/bundler/getGasFeeValues.d.ts.map +1 -0
- package/dist/_types/clients/decorators/bundler/getUserOperationStatus.d.ts +17 -0
- package/dist/_types/clients/decorators/bundler/getUserOperationStatus.d.ts.map +1 -0
- package/dist/_types/clients/decorators/bundler/index.d.ts +61 -0
- package/dist/_types/clients/decorators/bundler/index.d.ts.map +1 -0
- package/dist/_types/clients/decorators/bundler/waitForConfirmedUserOperationReceipt.d.ts +8 -0
- package/dist/_types/clients/decorators/bundler/waitForConfirmedUserOperationReceipt.d.ts.map +1 -0
- package/dist/_types/clients/decorators/bundler/waitForUserOperationReceipt.d.ts +5 -0
- package/dist/_types/clients/decorators/bundler/waitForUserOperationReceipt.d.ts.map +1 -0
- package/dist/_types/clients/decorators/erc7579/accountId.d.ts +21 -0
- package/dist/_types/clients/decorators/erc7579/accountId.d.ts.map +1 -0
- package/dist/_types/clients/decorators/erc7579/getActiveHook.d.ts +35 -0
- package/dist/_types/clients/decorators/erc7579/getActiveHook.d.ts.map +1 -0
- package/dist/_types/clients/decorators/erc7579/getFallbackBySelector.d.ts +43 -0
- package/dist/_types/clients/decorators/erc7579/getFallbackBySelector.d.ts.map +1 -0
- package/dist/_types/clients/decorators/erc7579/getInstalledExecutors.d.ts +52 -0
- package/dist/_types/clients/decorators/erc7579/getInstalledExecutors.d.ts.map +1 -0
- package/dist/_types/clients/decorators/erc7579/getInstalledValidators.d.ts +52 -0
- package/dist/_types/clients/decorators/erc7579/getInstalledValidators.d.ts.map +1 -0
- package/dist/_types/clients/decorators/erc7579/getPreviousModule.d.ts +32 -0
- package/dist/_types/clients/decorators/erc7579/getPreviousModule.d.ts.map +1 -0
- package/dist/_types/clients/decorators/erc7579/index.d.ts +165 -0
- package/dist/_types/clients/decorators/erc7579/index.d.ts.map +1 -0
- package/dist/_types/clients/decorators/erc7579/installModule.d.ts +36 -0
- package/dist/_types/clients/decorators/erc7579/installModule.d.ts.map +1 -0
- package/dist/_types/clients/decorators/erc7579/installModules.d.ts +36 -0
- package/dist/_types/clients/decorators/erc7579/installModules.d.ts.map +1 -0
- package/dist/_types/clients/decorators/erc7579/isModuleInstalled.d.ts +54 -0
- package/dist/_types/clients/decorators/erc7579/isModuleInstalled.d.ts.map +1 -0
- package/dist/_types/clients/decorators/erc7579/supportsExecutionMode.d.ts +54 -0
- package/dist/_types/clients/decorators/erc7579/supportsExecutionMode.d.ts.map +1 -0
- package/dist/_types/clients/decorators/erc7579/supportsModule.d.ts +48 -0
- package/dist/_types/clients/decorators/erc7579/supportsModule.d.ts.map +1 -0
- package/dist/_types/clients/decorators/erc7579/uninstallFallback.d.ts +35 -0
- package/dist/_types/clients/decorators/erc7579/uninstallFallback.d.ts.map +1 -0
- package/dist/_types/clients/decorators/erc7579/uninstallModule.d.ts +35 -0
- package/dist/_types/clients/decorators/erc7579/uninstallModule.d.ts.map +1 -0
- package/dist/_types/clients/decorators/erc7579/uninstallModules.d.ts +32 -0
- package/dist/_types/clients/decorators/erc7579/uninstallModules.d.ts.map +1 -0
- package/dist/_types/clients/decorators/index.d.ts +5 -0
- package/dist/_types/clients/decorators/index.d.ts.map +1 -0
- package/dist/_types/clients/decorators/smartAccount/debugUserOperation.d.ts +35 -0
- package/dist/_types/clients/decorators/smartAccount/debugUserOperation.d.ts.map +1 -0
- package/dist/_types/clients/decorators/smartAccount/index.d.ts +315 -0
- package/dist/_types/clients/decorators/smartAccount/index.d.ts.map +1 -0
- package/dist/_types/clients/decorators/smartAccount/prepareTokenPaymasterUserOp.d.ts +51 -0
- package/dist/_types/clients/decorators/smartAccount/prepareTokenPaymasterUserOp.d.ts.map +1 -0
- package/dist/_types/clients/decorators/smartAccount/prepareUserOperationWithoutSignature.d.ts +16 -0
- package/dist/_types/clients/decorators/smartAccount/prepareUserOperationWithoutSignature.d.ts.map +1 -0
- package/dist/_types/clients/decorators/smartAccount/sendTokenPaymasterUserOp.d.ts +36 -0
- package/dist/_types/clients/decorators/smartAccount/sendTokenPaymasterUserOp.d.ts.map +1 -0
- package/dist/_types/clients/decorators/smartAccount/sendTransaction.d.ts +23 -0
- package/dist/_types/clients/decorators/smartAccount/sendTransaction.d.ts.map +1 -0
- package/dist/_types/clients/decorators/smartAccount/signMessage.d.ts +23 -0
- package/dist/_types/clients/decorators/smartAccount/signMessage.d.ts.map +1 -0
- package/dist/_types/clients/decorators/smartAccount/signTypedData.d.ts +60 -0
- package/dist/_types/clients/decorators/smartAccount/signTypedData.d.ts.map +1 -0
- package/dist/_types/clients/decorators/smartAccount/upgradeSmartAccount.d.ts +40 -0
- package/dist/_types/clients/decorators/smartAccount/upgradeSmartAccount.d.ts.map +1 -0
- package/dist/_types/clients/decorators/smartAccount/waitForTransactionReceipt.d.ts +6 -0
- package/dist/_types/clients/decorators/smartAccount/waitForTransactionReceipt.d.ts.map +1 -0
- package/dist/_types/clients/decorators/smartAccount/writeContract.d.ts +27 -0
- package/dist/_types/clients/decorators/smartAccount/writeContract.d.ts.map +1 -0
- package/dist/_types/clients/decorators/tokenPaymaster/getSupportedTokens.d.ts +16 -0
- package/dist/_types/clients/decorators/tokenPaymaster/getSupportedTokens.d.ts.map +1 -0
- package/dist/_types/clients/decorators/tokenPaymaster/getTokenPaymasterQuotes.d.ts +88 -0
- package/dist/_types/clients/decorators/tokenPaymaster/getTokenPaymasterQuotes.d.ts.map +1 -0
- package/dist/_types/clients/decorators/tokenPaymaster/index.d.ts +65 -0
- package/dist/_types/clients/decorators/tokenPaymaster/index.d.ts.map +1 -0
- package/dist/_types/clients/index.d.ts +5 -0
- package/dist/_types/clients/index.d.ts.map +1 -0
- package/dist/_types/constants/abi/AccountFactory.d.ts +259 -0
- package/dist/_types/constants/abi/AccountFactory.d.ts.map +1 -0
- package/dist/_types/constants/abi/AccountImplementationAbi.d.ts +903 -0
- package/dist/_types/constants/abi/AccountImplementationAbi.d.ts.map +1 -0
- package/dist/_types/constants/abi/BootstrapAbi.d.ts +554 -0
- package/dist/_types/constants/abi/BootstrapAbi.d.ts.map +1 -0
- package/dist/_types/constants/abi/ComposabilityAbi.d.ts +67 -0
- package/dist/_types/constants/abi/ComposabilityAbi.d.ts.map +1 -0
- package/dist/_types/constants/abi/EIP1271Abi.d.ts +54 -0
- package/dist/_types/constants/abi/EIP1271Abi.d.ts.map +1 -0
- package/dist/_types/constants/abi/ERC7484RegistryAbi.d.ts +16 -0
- package/dist/_types/constants/abi/ERC7484RegistryAbi.d.ts.map +1 -0
- package/dist/_types/constants/abi/EntryPointABI.d.ts +776 -0
- package/dist/_types/constants/abi/EntryPointABI.d.ts.map +1 -0
- package/dist/_types/constants/abi/SmartSessionAbi.d.ts +90 -0
- package/dist/_types/constants/abi/SmartSessionAbi.d.ts.map +1 -0
- package/dist/_types/constants/abi/TokenWithPermitAbi.d.ts +477 -0
- package/dist/_types/constants/abi/TokenWithPermitAbi.d.ts.map +1 -0
- package/dist/_types/constants/abi/UniActionPolicyAbi.d.ts +33 -0
- package/dist/_types/constants/abi/UniActionPolicyAbi.d.ts.map +1 -0
- package/dist/_types/constants/abi/UniswapSwapRouterAbi.d.ts +821 -0
- package/dist/_types/constants/abi/UniswapSwapRouterAbi.d.ts.map +1 -0
- package/dist/_types/constants/abi/index.d.ts +11 -0
- package/dist/_types/constants/abi/index.d.ts.map +1 -0
- package/dist/_types/constants/index.d.ts +16 -0
- package/dist/_types/constants/index.d.ts.map +1 -0
- package/dist/_types/index.d.ts +7 -0
- package/dist/_types/index.d.ts.map +1 -0
- package/dist/_types/modules/index.d.ts +6 -0
- package/dist/_types/modules/index.d.ts.map +1 -0
- package/dist/_types/modules/toEmptyExecutor.d.ts +3 -0
- package/dist/_types/modules/toEmptyExecutor.d.ts.map +1 -0
- package/dist/_types/modules/toEmptyHook.d.ts +3 -0
- package/dist/_types/modules/toEmptyHook.d.ts.map +1 -0
- package/dist/_types/modules/utils/Helpers.d.ts +48 -0
- package/dist/_types/modules/utils/Helpers.d.ts.map +1 -0
- package/dist/_types/modules/utils/Types.d.ts +103 -0
- package/dist/_types/modules/utils/Types.d.ts.map +1 -0
- package/dist/_types/modules/utils/Uid.d.ts +2 -0
- package/dist/_types/modules/utils/Uid.d.ts.map +1 -0
- package/dist/_types/modules/utils/composabilityCalls.d.ts +63 -0
- package/dist/_types/modules/utils/composabilityCalls.d.ts.map +1 -0
- package/dist/_types/modules/utils/index.d.ts +6 -0
- package/dist/_types/modules/utils/index.d.ts.map +1 -0
- package/dist/_types/modules/utils/runtimeAbiEncoding.d.ts +18 -0
- package/dist/_types/modules/utils/runtimeAbiEncoding.d.ts.map +1 -0
- package/dist/_types/modules/utils/toModule.d.ts +28 -0
- package/dist/_types/modules/utils/toModule.d.ts.map +1 -0
- package/dist/_types/modules/validators/default/index.d.ts +2 -0
- package/dist/_types/modules/validators/default/index.d.ts.map +1 -0
- package/dist/_types/modules/validators/default/toDefaultModule.d.ts +3 -0
- package/dist/_types/modules/validators/default/toDefaultModule.d.ts.map +1 -0
- package/dist/_types/modules/validators/index.d.ts +6 -0
- package/dist/_types/modules/validators/index.d.ts.map +1 -0
- package/dist/_types/modules/validators/ownable/decorators/addOwner.d.ts +36 -0
- package/dist/_types/modules/validators/ownable/decorators/addOwner.d.ts.map +1 -0
- package/dist/_types/modules/validators/ownable/decorators/getAddOwnerTx.d.ts +30 -0
- package/dist/_types/modules/validators/ownable/decorators/getAddOwnerTx.d.ts.map +1 -0
- package/dist/_types/modules/validators/ownable/decorators/getOwners.d.ts +25 -0
- package/dist/_types/modules/validators/ownable/decorators/getOwners.d.ts.map +1 -0
- package/dist/_types/modules/validators/ownable/decorators/getRemoveOwnerTx.d.ts +30 -0
- package/dist/_types/modules/validators/ownable/decorators/getRemoveOwnerTx.d.ts.map +1 -0
- package/dist/_types/modules/validators/ownable/decorators/getSetThresholdTx.d.ts +39 -0
- package/dist/_types/modules/validators/ownable/decorators/getSetThresholdTx.d.ts.map +1 -0
- package/dist/_types/modules/validators/ownable/decorators/getThreshold.d.ts +40 -0
- package/dist/_types/modules/validators/ownable/decorators/getThreshold.d.ts.map +1 -0
- package/dist/_types/modules/validators/ownable/decorators/index.d.ts +37 -0
- package/dist/_types/modules/validators/ownable/decorators/index.d.ts.map +1 -0
- package/dist/_types/modules/validators/ownable/decorators/multiSign.d.ts +11 -0
- package/dist/_types/modules/validators/ownable/decorators/multiSign.d.ts.map +1 -0
- package/dist/_types/modules/validators/ownable/decorators/prepareForMultiSign.d.ts +25 -0
- package/dist/_types/modules/validators/ownable/decorators/prepareForMultiSign.d.ts.map +1 -0
- package/dist/_types/modules/validators/ownable/decorators/removeOwner.d.ts +47 -0
- package/dist/_types/modules/validators/ownable/decorators/removeOwner.d.ts.map +1 -0
- package/dist/_types/modules/validators/ownable/decorators/setThreshold.d.ts +51 -0
- package/dist/_types/modules/validators/ownable/decorators/setThreshold.d.ts.map +1 -0
- package/dist/_types/modules/validators/ownable/index.d.ts +3 -0
- package/dist/_types/modules/validators/ownable/index.d.ts.map +1 -0
- package/dist/_types/modules/validators/ownable/toOwnableModule.d.ts +44 -0
- package/dist/_types/modules/validators/ownable/toOwnableModule.d.ts.map +1 -0
- package/dist/_types/modules/validators/smartSessionsValidator/Helpers.d.ts +110 -0
- package/dist/_types/modules/validators/smartSessionsValidator/Helpers.d.ts.map +1 -0
- package/dist/_types/modules/validators/smartSessionsValidator/Types.d.ts +223 -0
- package/dist/_types/modules/validators/smartSessionsValidator/Types.d.ts.map +1 -0
- package/dist/_types/modules/validators/smartSessionsValidator/decorators/grantPermission.d.ts +73 -0
- package/dist/_types/modules/validators/smartSessionsValidator/decorators/grantPermission.d.ts.map +1 -0
- package/dist/_types/modules/validators/smartSessionsValidator/decorators/index.d.ts +70 -0
- package/dist/_types/modules/validators/smartSessionsValidator/decorators/index.d.ts.map +1 -0
- package/dist/_types/modules/validators/smartSessionsValidator/decorators/preparePermission.d.ts +81 -0
- package/dist/_types/modules/validators/smartSessionsValidator/decorators/preparePermission.d.ts.map +1 -0
- package/dist/_types/modules/validators/smartSessionsValidator/decorators/usePermission.d.ts +63 -0
- package/dist/_types/modules/validators/smartSessionsValidator/decorators/usePermission.d.ts.map +1 -0
- package/dist/_types/modules/validators/smartSessionsValidator/index.d.ts +5 -0
- package/dist/_types/modules/validators/smartSessionsValidator/index.d.ts.map +1 -0
- package/dist/_types/modules/validators/smartSessionsValidator/toSmartSessionsValidator.d.ts +65 -0
- package/dist/_types/modules/validators/smartSessionsValidator/toSmartSessionsValidator.d.ts.map +1 -0
- package/dist/_types/modules/validators/toValidator.d.ts +45 -0
- package/dist/_types/modules/validators/toValidator.d.ts.map +1 -0
- package/package.json +134 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"createSCSPaymasterClient.d.ts","sourceRoot":"","sources":["../../../src/sdk/clients/createSCSPaymasterClient.ts"],"names":[],"mappings":"AAAA,OAAO,EAAQ,KAAK,OAAO,EAAE,KAAK,KAAK,EAAE,KAAK,SAAS,EAAE,MAAM,MAAM,CAAA;AACrE,OAAO,EACL,KAAK,eAAe,EACpB,KAAK,qBAAqB,EAE3B,MAAM,0BAA0B,CAAA;AACjC,OAAO,EACL,KAAK,qBAAqB,EAE3B,MAAM,6BAA6B,CAAA;AAEpC,MAAM,MAAM,kBAAkB,GAAG,IAAI,CACnC,eAAe,EACf,sBAAsB,CACvB,GACC,qBAAqB,CAAA;AAEvB;;;;;;;GAOG;AACH,KAAK,wBAAwB,GAAG,IAAI,CAAC,qBAAqB,EAAE,WAAW,CAAC,GACtE,KAAK,CACD;IACE,SAAS,CAAC,EAAE,SAAS,CAAA;CACtB,GACD;IACE,YAAY,EAAE,MAAM,CAAA;CACrB,GACD;IACE,OAAO,EAAE,MAAM,CAAA;IACf,MAAM,EAAE,MAAM,CAAA;CACf,CACJ,CAAA;AAEH;;GAEG;AACH,MAAM,MAAM,mBAAmB,GAAG;IAWhC,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,KAAK,CAAC,EAAE,OAAO,CAAA;IAEf,kBAAkB,CAAC,EAAE,OAAO,CAAA;CAE7B,CAAA;AAED,KAAK,gCAAgC,GAAG;IAEtC,KAAK,EAAE,OAAO,CAAA;IAEd,kBAAkB,CAAC,EAAE,OAAO,CAAA;CAC7B,CAAA;AAED,eAAO,MAAM,4BAA4B,EAAE,mBAO1C,CAAA;AAED,eAAO,MAAM,8BAA8B,GACzC,SAAS,OAAO,CAAC,mBAAmB,CAAC,KACpC,mBAKF,CAAA;AAED,eAAO,MAAM,0BAA0B,GACrC,QAAQ,gCAAgC,KACvC,mBAQF,CAAA;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgCG;AACH,eAAO,MAAM,wBAAwB,GACnC,YAAY,wBAAwB,KACnC,kBAkBF,CAAA"}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import type { Account, Chain, Client, Hex, Transport } from "viem";
|
|
2
|
+
import type { MiscRpcSchema } from ".";
|
|
3
|
+
export type UserOperationGasPriceWithBigIntAsHex = {
|
|
4
|
+
slow: {
|
|
5
|
+
maxFeePerGas: Hex;
|
|
6
|
+
maxPriorityFeePerGas: Hex;
|
|
7
|
+
};
|
|
8
|
+
standard: {
|
|
9
|
+
maxFeePerGas: Hex;
|
|
10
|
+
maxPriorityFeePerGas: Hex;
|
|
11
|
+
};
|
|
12
|
+
fast: {
|
|
13
|
+
maxFeePerGas: Hex;
|
|
14
|
+
maxPriorityFeePerGas: Hex;
|
|
15
|
+
};
|
|
16
|
+
};
|
|
17
|
+
export type GetGasFeeValuesReturnType = {
|
|
18
|
+
slow: {
|
|
19
|
+
maxFeePerGas: bigint;
|
|
20
|
+
maxPriorityFeePerGas: bigint;
|
|
21
|
+
};
|
|
22
|
+
standard: {
|
|
23
|
+
maxFeePerGas: bigint;
|
|
24
|
+
maxPriorityFeePerGas: bigint;
|
|
25
|
+
};
|
|
26
|
+
fast: {
|
|
27
|
+
maxFeePerGas: bigint;
|
|
28
|
+
maxPriorityFeePerGas: bigint;
|
|
29
|
+
};
|
|
30
|
+
};
|
|
31
|
+
/**
|
|
32
|
+
* Returns the live gas prices that you can use to send a user operation.
|
|
33
|
+
*
|
|
34
|
+
* @param client that you created using viem's createClient whose transport url is pointing to the bundler.
|
|
35
|
+
* @returns slow, standard & fast values for maxFeePerGas & maxPriorityFeePerGas
|
|
36
|
+
*
|
|
37
|
+
*
|
|
38
|
+
* @example
|
|
39
|
+
* import { createClient } from "viem"
|
|
40
|
+
* import { getGasFeeValues } from "permissionless/actions/pimlico"
|
|
41
|
+
*
|
|
42
|
+
* const bundlerClient = createClient({
|
|
43
|
+
* chain: goerli,
|
|
44
|
+
* transport: http(<bundler-url>),
|
|
45
|
+
* })
|
|
46
|
+
*
|
|
47
|
+
* await getGasFeeValues(bundlerClient)
|
|
48
|
+
*
|
|
49
|
+
*/
|
|
50
|
+
export declare const getGasFeeValues: (client: Client<Transport, Chain | undefined, Account | undefined, MiscRpcSchema>) => Promise<GetGasFeeValuesReturnType>;
|
|
51
|
+
//# sourceMappingURL=getGasFeeValues.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getGasFeeValues.d.ts","sourceRoot":"","sources":["../../../../../src/sdk/clients/decorators/bundler/getGasFeeValues.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,KAAK,EAAE,MAAM,EAAE,GAAG,EAAgB,SAAS,EAAE,MAAM,MAAM,CAAA;AAChF,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,GAAG,CAAA;AAItC,MAAM,MAAM,oCAAoC,GAAG;IACjD,IAAI,EAAE;QACJ,YAAY,EAAE,GAAG,CAAA;QACjB,oBAAoB,EAAE,GAAG,CAAA;KAC1B,CAAA;IACD,QAAQ,EAAE;QACR,YAAY,EAAE,GAAG,CAAA;QACjB,oBAAoB,EAAE,GAAG,CAAA;KAC1B,CAAA;IACD,IAAI,EAAE;QACJ,YAAY,EAAE,GAAG,CAAA;QACjB,oBAAoB,EAAE,GAAG,CAAA;KAC1B,CAAA;CACF,CAAA;AAED,MAAM,MAAM,yBAAyB,GAAG;IACtC,IAAI,EAAE;QACJ,YAAY,EAAE,MAAM,CAAA;QACpB,oBAAoB,EAAE,MAAM,CAAA;KAC7B,CAAA;IACD,QAAQ,EAAE;QACR,YAAY,EAAE,MAAM,CAAA;QACpB,oBAAoB,EAAE,MAAM,CAAA;KAC7B,CAAA;IACD,IAAI,EAAE;QACJ,YAAY,EAAE,MAAM,CAAA;QACpB,oBAAoB,EAAE,MAAM,CAAA;KAC7B,CAAA;CACF,CAAA;AAED;;;;;;;;;;;;;;;;;;GAkBG;AACH,eAAO,MAAM,eAAe,GAC1B,QAAQ,MAAM,CACZ,SAAS,EACT,KAAK,GAAG,SAAS,EACjB,OAAO,GAAG,SAAS,EACnB,aAAa,CACd,KACA,OAAO,CAAC,yBAAyB,CAqCnC,CAAA"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import type { Account, Chain, Client, Hex, Transport } from "viem";
|
|
2
|
+
import type { SmartAccount, UserOperationReceipt } from "viem/account-abstraction";
|
|
3
|
+
import type { MiscRpcSchema } from ".";
|
|
4
|
+
export type GetUserOperationStatusParameters = {
|
|
5
|
+
/** The hash of the User Operation. */
|
|
6
|
+
hash: Hex;
|
|
7
|
+
};
|
|
8
|
+
export type GetUserOperationStatusReturnType = {
|
|
9
|
+
state: "CONFIRMED" | "PENDING" | "REJECTED";
|
|
10
|
+
message: string;
|
|
11
|
+
transactionHash: string;
|
|
12
|
+
userOperationReceipt: UserOperationReceipt;
|
|
13
|
+
};
|
|
14
|
+
export declare function getUserOperationStatus<TAccount extends SmartAccount | undefined>(client: Client<Transport, Chain | undefined, Account | undefined, MiscRpcSchema>, parameters: GetUserOperationStatusParameters & {
|
|
15
|
+
account?: TAccount;
|
|
16
|
+
}): Promise<GetUserOperationStatusReturnType>;
|
|
17
|
+
//# sourceMappingURL=getUserOperationStatus.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getUserOperationStatus.d.ts","sourceRoot":"","sources":["../../../../../src/sdk/clients/decorators/bundler/getUserOperationStatus.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,KAAK,EAAE,MAAM,EAAE,GAAG,EAAE,SAAS,EAAE,MAAM,MAAM,CAAA;AAClE,OAAO,KAAK,EACV,YAAY,EACZ,oBAAoB,EACrB,MAAM,0BAA0B,CAAA;AACjC,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,GAAG,CAAA;AAEtC,MAAM,MAAM,gCAAgC,GAAG;IAC7C,sCAAsC;IACtC,IAAI,EAAE,GAAG,CAAA;CACV,CAAA;AAED,MAAM,MAAM,gCAAgC,GAAG;IAC7C,KAAK,EAAE,WAAW,GAAG,SAAS,GAAG,UAAU,CAAA;IAC3C,OAAO,EAAE,MAAM,CAAA;IACf,eAAe,EAAE,MAAM,CAAA;IACvB,oBAAoB,EAAE,oBAAoB,CAAA;CAC3C,CAAA;AAGD,wBAAsB,sBAAsB,CAC1C,QAAQ,SAAS,YAAY,GAAG,SAAS,EAEzC,MAAM,EAAE,MAAM,CACZ,SAAS,EACT,KAAK,GAAG,SAAS,EACjB,OAAO,GAAG,SAAS,EACnB,aAAa,CACd,EACD,UAAU,EAAE,gCAAgC,GAAG;IAAE,OAAO,CAAC,EAAE,QAAQ,CAAA;CAAE,GACpE,OAAO,CAAC,gCAAgC,CAAC,CAK3C"}
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
import type { Chain, Client, Prettify, Transport } from "viem";
|
|
2
|
+
import type { WaitForUserOperationReceiptParameters, WaitForUserOperationReceiptReturnType } from "viem/account-abstraction";
|
|
3
|
+
import { type UserOperationGasPriceWithBigIntAsHex, type GetGasFeeValuesReturnType } from "./getGasFeeValues";
|
|
4
|
+
import { type GetUserOperationStatusParameters, type GetUserOperationStatusReturnType } from "./getUserOperationStatus";
|
|
5
|
+
export type MiscRpcSchema = [
|
|
6
|
+
{
|
|
7
|
+
Method: "biconomy_getGasFeeValues" | "pimlico_getUserOperationGasPrice";
|
|
8
|
+
Parameters: [];
|
|
9
|
+
ReturnType: UserOperationGasPriceWithBigIntAsHex;
|
|
10
|
+
},
|
|
11
|
+
{
|
|
12
|
+
Method: "rundler_maxPriorityFeePerGas";
|
|
13
|
+
Parameters: [];
|
|
14
|
+
ReturnType: any;
|
|
15
|
+
},
|
|
16
|
+
{
|
|
17
|
+
Method: "biconomy_getUserOperationStatus";
|
|
18
|
+
Parameters: [string];
|
|
19
|
+
ReturnType: GetUserOperationStatusReturnType;
|
|
20
|
+
}
|
|
21
|
+
];
|
|
22
|
+
export type SCSActions = {
|
|
23
|
+
/**
|
|
24
|
+
* Returns the live gas prices that you can use to send a user operation.
|
|
25
|
+
*
|
|
26
|
+
* @returns slow, standard & fast values for maxFeePerGas & maxPriorityFeePerGas {@link GetGasFeeValuesReturnType}
|
|
27
|
+
*
|
|
28
|
+
* @example
|
|
29
|
+
*
|
|
30
|
+
* import { createClient } from "viem"
|
|
31
|
+
* import { scsBundlerActions } from "@startale-scs/aa-sdk"
|
|
32
|
+
*
|
|
33
|
+
* const bundlerClient = createClient({
|
|
34
|
+
* chain: goerli,
|
|
35
|
+
* transport: http("http://soneium-minato.bundler.scs.startale.com?apikey=<YOUR_API_KEY>")
|
|
36
|
+
* }).extend(scsBundlerActions())
|
|
37
|
+
*
|
|
38
|
+
* await bundlerClient.getGasFeeValues()
|
|
39
|
+
*/
|
|
40
|
+
getGasFeeValues: () => Promise<Prettify<GetGasFeeValuesReturnType>>;
|
|
41
|
+
/**
|
|
42
|
+
* Returns the status of a user operation.
|
|
43
|
+
* @param params - {@link GetUserOperationStatusParameters}
|
|
44
|
+
* @returns The user operation status. {@link GetUserOperationStatusReturnType}
|
|
45
|
+
*/
|
|
46
|
+
getUserOperationStatus: (parameters: GetUserOperationStatusParameters) => Promise<GetUserOperationStatusReturnType>;
|
|
47
|
+
/**
|
|
48
|
+
* Waits for a transaction receipt to be confirmed.
|
|
49
|
+
* @param params - {@link WaitForConfirmedUserOperationReceiptParameters}
|
|
50
|
+
* @returns The transaction receipt. {@link WaitForConfirmedUserOperationReceiptReturnType}
|
|
51
|
+
*/
|
|
52
|
+
waitForConfirmedUserOperationReceipt: (params: GetUserOperationStatusParameters) => Promise<WaitForUserOperationReceiptReturnType>;
|
|
53
|
+
/**
|
|
54
|
+
* Waits for a transaction receipt to be confirmed.
|
|
55
|
+
* @param params - {@link WaitForUserOperationReceiptParameters}
|
|
56
|
+
* @returns The transaction receipt. {@link WaitForUserOperationReceiptReturnType}
|
|
57
|
+
*/
|
|
58
|
+
waitForUserOperationReceipt: (params: WaitForUserOperationReceiptParameters) => Promise<WaitForUserOperationReceiptReturnType>;
|
|
59
|
+
};
|
|
60
|
+
export declare const scsBundlerActions: () => <TTransport extends Transport, TChain extends Chain | undefined = Chain | undefined>(client: Client<TTransport, TChain>) => SCSActions;
|
|
61
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/sdk/clients/decorators/bundler/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,EAAE,QAAQ,EAAE,SAAS,EAAE,MAAM,MAAM,CAAA;AAC9D,OAAO,KAAK,EACV,qCAAqC,EACrC,qCAAqC,EACtC,MAAM,0BAA0B,CAAA;AACjC,OAAO,EACL,KAAK,oCAAoC,EACzC,KAAK,yBAAyB,EAE/B,MAAM,mBAAmB,CAAA;AAC1B,OAAO,EACL,KAAK,gCAAgC,EACrC,KAAK,gCAAgC,EAEtC,MAAM,0BAA0B,CAAA;AAIjC,MAAM,MAAM,aAAa,GAAG;IAC1B;QACE,MAAM,EAAE,0BAA0B,GAAG,kCAAkC,CAAA;QACvE,UAAU,EAAE,EAAE,CAAA;QACd,UAAU,EAAE,oCAAoC,CAAA;KACjD;IACD;QACE,MAAM,EAAE,8BAA8B,CAAA;QACtC,UAAU,EAAE,EAAE,CAAA;QACd,UAAU,EAAE,GAAG,CAAA;KAChB;IACD;QACE,MAAM,EAAE,iCAAiC,CAAA;QACzC,UAAU,EAAE,CAAC,MAAM,CAAC,CAAA;QACpB,UAAU,EAAE,gCAAgC,CAAA;KAC7C;CACF,CAAA;AAED,MAAM,MAAM,UAAU,GAAG;IACvB;;;;;;;;;;;;;;;;OAgBG;IACH,eAAe,EAAE,MAAM,OAAO,CAAC,QAAQ,CAAC,yBAAyB,CAAC,CAAC,CAAA;IACnE;;;;OAIG;IACH,sBAAsB,EAAE,CACtB,UAAU,EAAE,gCAAgC,KACzC,OAAO,CAAC,gCAAgC,CAAC,CAAA;IAC9C;;;;OAIG;IACH,oCAAoC,EAAE,CACpC,MAAM,EAAE,gCAAgC,KACrC,OAAO,CAAC,qCAAqC,CAAC,CAAA;IACnD;;;;OAIG;IACH,2BAA2B,EAAE,CAC3B,MAAM,EAAE,qCAAqC,KAC1C,OAAO,CAAC,qCAAqC,CAAC,CAAA;CACpD,CAAA;AAED,eAAO,MAAM,iBAAiB,SAG1B,UAAU,SAAS,SAAS,EAC5B,MAAM,SAAS,KAAK,GAAG,SAAS,GAAG,KAAK,GAAG,SAAS,EAEpD,QAAQ,MAAM,CAAC,UAAU,EAAE,MAAM,CAAC,KACjC,UAWD,CAAA"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { Account, Chain, Client, Transport } from "viem";
|
|
2
|
+
import type { SmartAccount, UserOperationReceipt } from "viem/account-abstraction";
|
|
3
|
+
import type { MiscRpcSchema } from ".";
|
|
4
|
+
import { type GetUserOperationStatusParameters } from "./getUserOperationStatus";
|
|
5
|
+
export declare function waitForConfirmedUserOperationReceipt<TAccount extends SmartAccount | undefined>(client: Client<Transport, Chain | undefined, Account | undefined, MiscRpcSchema>, parameters: GetUserOperationStatusParameters & {
|
|
6
|
+
account?: TAccount;
|
|
7
|
+
}): Promise<UserOperationReceipt>;
|
|
8
|
+
//# sourceMappingURL=waitForConfirmedUserOperationReceipt.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"waitForConfirmedUserOperationReceipt.d.ts","sourceRoot":"","sources":["../../../../../src/sdk/clients/decorators/bundler/waitForConfirmedUserOperationReceipt.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,KAAK,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,MAAM,CAAA;AAC7D,OAAO,KAAK,EACV,YAAY,EACZ,oBAAoB,EACrB,MAAM,0BAA0B,CAAA;AAEjC,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,GAAG,CAAA;AAEtC,OAAO,EACL,KAAK,gCAAgC,EAEtC,MAAM,0BAA0B,CAAA;AAEjC,wBAAsB,oCAAoC,CACxD,QAAQ,SAAS,YAAY,GAAG,SAAS,EAEzC,MAAM,EAAE,MAAM,CACZ,SAAS,EACT,KAAK,GAAG,SAAS,EACjB,OAAO,GAAG,SAAS,EACnB,aAAa,CACd,EACD,UAAU,EAAE,gCAAgC,GAAG;IAAE,OAAO,CAAC,EAAE,QAAQ,CAAA;CAAE,GACpE,OAAO,CAAC,oBAAoB,CAAC,CAqC/B"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import type { Account, Chain, Client, Transport } from "viem";
|
|
2
|
+
import { type WaitForUserOperationReceiptParameters, type WaitForUserOperationReceiptReturnType } from "viem/account-abstraction";
|
|
3
|
+
import type { MiscRpcSchema } from ".";
|
|
4
|
+
export declare function waitForUserOperationReceipt(client: Client<Transport, Chain | undefined, Account | undefined, MiscRpcSchema>, parameters: WaitForUserOperationReceiptParameters): Promise<WaitForUserOperationReceiptReturnType>;
|
|
5
|
+
//# sourceMappingURL=waitForUserOperationReceipt.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"waitForUserOperationReceipt.d.ts","sourceRoot":"","sources":["../../../../../src/sdk/clients/decorators/bundler/waitForUserOperationReceipt.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,KAAK,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,MAAM,CAAA;AAC7D,OAAO,EACL,KAAK,qCAAqC,EAC1C,KAAK,qCAAqC,EAE3C,MAAM,0BAA0B,CAAA;AAEjC,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,GAAG,CAAA;AAGtC,wBAAsB,2BAA2B,CAC/C,MAAM,EAAE,MAAM,CACZ,SAAS,EACT,KAAK,GAAG,SAAS,EACjB,OAAO,GAAG,SAAS,EACnB,aAAa,CACd,EACD,UAAU,EAAE,qCAAqC,GAChD,OAAO,CAAC,qCAAqC,CAAC,CAahD"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { type Chain, type Client, type Transport } from "viem";
|
|
2
|
+
import type { SmartAccount } from "viem/account-abstraction";
|
|
3
|
+
/**
|
|
4
|
+
* Retrieves the account ID for a given smart account.
|
|
5
|
+
*
|
|
6
|
+
* @param client - The client instance.
|
|
7
|
+
* @param args - Optional parameters for getting the smart account.
|
|
8
|
+
* @returns The account ID as a string.
|
|
9
|
+
* @throws {AccountNotFoundError} If the account is not found.
|
|
10
|
+
* @throws {Error} If the accountId result is empty.
|
|
11
|
+
*
|
|
12
|
+
* @example
|
|
13
|
+
* import { accountId } from '@startale-scs/aa-sdk'
|
|
14
|
+
*
|
|
15
|
+
* const id = await accountId(startaleClient)
|
|
16
|
+
* console.log(id) // 'example_account_id'
|
|
17
|
+
*/
|
|
18
|
+
export declare function accountId<TSmartAccount extends SmartAccount | undefined>(client: Client<Transport, Chain | undefined, TSmartAccount>, args?: {
|
|
19
|
+
account?: TSmartAccount;
|
|
20
|
+
}): Promise<string>;
|
|
21
|
+
//# sourceMappingURL=accountId.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"accountId.d.ts","sourceRoot":"","sources":["../../../../../src/sdk/clients/decorators/erc7579/accountId.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,KAAK,EACV,KAAK,MAAM,EAEX,KAAK,SAAS,EAGf,MAAM,MAAM,CAAA;AACb,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAA;AAK5D;;;;;;;;;;;;;;GAcG;AACH,wBAAsB,SAAS,CAAC,aAAa,SAAS,YAAY,GAAG,SAAS,EAC5E,MAAM,EAAE,MAAM,CAAC,SAAS,EAAE,KAAK,GAAG,SAAS,EAAE,aAAa,CAAC,EAC3D,IAAI,CAAC,EAAE;IAAE,OAAO,CAAC,EAAE,aAAa,CAAA;CAAE,GACjC,OAAO,CAAC,MAAM,CAAC,CAyEjB"}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import type { Chain, Client, Hex, ReadContractParameters, Transport } from "viem";
|
|
2
|
+
import type { SmartAccount } from "viem/account-abstraction";
|
|
3
|
+
import type { ModularSmartAccount } from "../../../modules/utils/Types";
|
|
4
|
+
export type GetActiveHookParameters<TSmartAccount extends SmartAccount | undefined> = {
|
|
5
|
+
account?: TSmartAccount;
|
|
6
|
+
};
|
|
7
|
+
declare const abi: {
|
|
8
|
+
inputs: never[];
|
|
9
|
+
name: string;
|
|
10
|
+
outputs: {
|
|
11
|
+
internalType: string;
|
|
12
|
+
name: string;
|
|
13
|
+
type: string;
|
|
14
|
+
}[];
|
|
15
|
+
stateMutability: string;
|
|
16
|
+
type: string;
|
|
17
|
+
}[];
|
|
18
|
+
/**
|
|
19
|
+
* Retrieves the active hook for a given smart account.
|
|
20
|
+
*
|
|
21
|
+
* @param client - The client instance.
|
|
22
|
+
* @param parameters - Parameters for getting the smart account.
|
|
23
|
+
* @returns The address of the active hook as a hexadecimal string.
|
|
24
|
+
* @throws {AccountNotFoundError} If the account is not found.
|
|
25
|
+
*
|
|
26
|
+
* @example
|
|
27
|
+
* import { getActiveHook } from '@startale-scs/aa-sdk'
|
|
28
|
+
*
|
|
29
|
+
* const activeHook = await getActiveHook(startaleClient)
|
|
30
|
+
* console.log(activeHook) // '0x...'
|
|
31
|
+
*/
|
|
32
|
+
export declare function getActiveHook<TSmartAccount extends SmartAccount | undefined>(client: Client<Transport, Chain | undefined, TSmartAccount>, parameters?: GetActiveHookParameters<TSmartAccount>): Promise<Hex>;
|
|
33
|
+
export declare const toGetActiveHookReads: (account: ModularSmartAccount) => Promise<ReadContractParameters<typeof abi, "getActiveHook", []>[]>;
|
|
34
|
+
export {};
|
|
35
|
+
//# sourceMappingURL=getActiveHook.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getActiveHook.d.ts","sourceRoot":"","sources":["../../../../../src/sdk/clients/decorators/erc7579/getActiveHook.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,KAAK,EACL,MAAM,EACN,GAAG,EACH,sBAAsB,EACtB,SAAS,EACV,MAAM,MAAM,CAAA;AACb,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAA;AAI5D,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,8BAA8B,CAAA;AAEvE,MAAM,MAAM,uBAAuB,CACjC,aAAa,SAAS,YAAY,GAAG,SAAS,IAC5C;IAAE,OAAO,CAAC,EAAE,aAAa,CAAA;CAAE,CAAA;AAE/B,QAAA,MAAM,GAAG;;;;;;;;;;GAcR,CAAA;AAED;;;;;;;;;;;;;GAaG;AACH,wBAAsB,aAAa,CACjC,aAAa,SAAS,YAAY,GAAG,SAAS,EAE9C,MAAM,EAAE,MAAM,CAAC,SAAS,EAAE,KAAK,GAAG,SAAS,EAAE,aAAa,CAAC,EAC3D,UAAU,CAAC,EAAE,uBAAuB,CAAC,aAAa,CAAC,GAClD,OAAO,CAAC,GAAG,CAAC,CAoBd;AAED,eAAO,MAAM,oBAAoB,GAC/B,SAAS,mBAAmB,KAC3B,OAAO,CAAC,sBAAsB,CAAC,OAAO,GAAG,EAAE,eAAe,EAAE,EAAE,CAAC,EAAE,CAMnE,CAAA"}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import type { Chain, Client, Hex, ReadContractParameters, Transport } from "viem";
|
|
2
|
+
import type { SmartAccount } from "viem/account-abstraction";
|
|
3
|
+
import type { ModularSmartAccount } from "../../../modules/utils/Types";
|
|
4
|
+
export type GetFallbackBySelectorParameters<TSmartAccount extends SmartAccount | undefined> = {
|
|
5
|
+
account?: TSmartAccount;
|
|
6
|
+
} & Partial<{
|
|
7
|
+
selector?: Hex;
|
|
8
|
+
}>;
|
|
9
|
+
declare const abi: {
|
|
10
|
+
inputs: {
|
|
11
|
+
internalType: string;
|
|
12
|
+
name: string;
|
|
13
|
+
type: string;
|
|
14
|
+
}[];
|
|
15
|
+
name: string;
|
|
16
|
+
outputs: {
|
|
17
|
+
internalType: string;
|
|
18
|
+
name: string;
|
|
19
|
+
type: string;
|
|
20
|
+
}[];
|
|
21
|
+
stateMutability: string;
|
|
22
|
+
type: string;
|
|
23
|
+
}[];
|
|
24
|
+
/**
|
|
25
|
+
* Retrieves the fallback handler for a given selector in a smart account.
|
|
26
|
+
*
|
|
27
|
+
* @param client - The client instance.
|
|
28
|
+
* @param parameters - Parameters including the smart account and optional selector.
|
|
29
|
+
* @returns A tuple containing the call type and address of the fallback handler.
|
|
30
|
+
* @throws {AccountNotFoundError} If the account is not found.
|
|
31
|
+
*
|
|
32
|
+
* @example
|
|
33
|
+
* import { getFallbackBySelector } from '@startale-scs/aa-sdk'
|
|
34
|
+
*
|
|
35
|
+
* const [callType, handlerAddress] = await getFallbackBySelector(startaleClient, {
|
|
36
|
+
* selector: '0x12345678'
|
|
37
|
+
* })
|
|
38
|
+
* console.log(callType, handlerAddress) // '0x1' '0x...'
|
|
39
|
+
*/
|
|
40
|
+
export declare function getFallbackBySelector<TSmartAccount extends SmartAccount | undefined>(client: Client<Transport, Chain | undefined, TSmartAccount>, parameters: GetFallbackBySelectorParameters<TSmartAccount>): Promise<[Hex, Hex]>;
|
|
41
|
+
export declare const toGetFallbackBySelectorReads: (account: ModularSmartAccount, selector: Hex) => Promise<ReadContractParameters<typeof abi, "getFallbackHandlerBySelector", [Hex]>[]>;
|
|
42
|
+
export {};
|
|
43
|
+
//# sourceMappingURL=getFallbackBySelector.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getFallbackBySelector.d.ts","sourceRoot":"","sources":["../../../../../src/sdk/clients/decorators/erc7579/getFallbackBySelector.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,KAAK,EACL,MAAM,EACN,GAAG,EACH,sBAAsB,EACtB,SAAS,EACV,MAAM,MAAM,CAAA;AACb,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAA;AAK5D,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,8BAA8B,CAAA;AAEvE,MAAM,MAAM,+BAA+B,CACzC,aAAa,SAAS,YAAY,GAAG,SAAS,IAC5C;IAAE,OAAO,CAAC,EAAE,aAAa,CAAA;CAAE,GAAG,OAAO,CAAC;IACxC,QAAQ,CAAC,EAAE,GAAG,CAAA;CACf,CAAC,CAAA;AAEF,QAAA,MAAM,GAAG;;;;;;;;;;;;;;GAyBR,CAAA;AAED;;;;;;;;;;;;;;;GAeG;AACH,wBAAsB,qBAAqB,CACzC,aAAa,SAAS,YAAY,GAAG,SAAS,EAE9C,MAAM,EAAE,MAAM,CAAC,SAAS,EAAE,KAAK,GAAG,SAAS,EAAE,aAAa,CAAC,EAC3D,UAAU,EAAE,+BAA+B,CAAC,aAAa,CAAC,GACzD,OAAO,CAAC,CAAC,GAAG,EAAE,GAAG,CAAC,CAAC,CAyBrB;AAED,eAAO,MAAM,4BAA4B,GACvC,SAAS,mBAAmB,EAC5B,UAAU,GAAG,KACZ,OAAO,CACR,sBAAsB,CAAC,OAAO,GAAG,EAAE,8BAA8B,EAAE,CAAC,GAAG,CAAC,CAAC,EAAE,CAQ5E,CAAA"}
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import type { Chain, Client, Hex, ReadContractParameters, Transport } from "viem";
|
|
2
|
+
import type { SmartAccount } from "viem/account-abstraction";
|
|
3
|
+
import type { ModularSmartAccount } from "../../../modules/utils/Types";
|
|
4
|
+
export type GetInstalledExecutorsParameters<TSmartAccount extends SmartAccount | undefined> = {
|
|
5
|
+
account?: TSmartAccount;
|
|
6
|
+
} & {
|
|
7
|
+
pageSize?: bigint;
|
|
8
|
+
cursor?: Hex;
|
|
9
|
+
};
|
|
10
|
+
declare const abi: readonly [{
|
|
11
|
+
readonly inputs: readonly [{
|
|
12
|
+
readonly internalType: "address";
|
|
13
|
+
readonly name: "cursor";
|
|
14
|
+
readonly type: "address";
|
|
15
|
+
}, {
|
|
16
|
+
readonly internalType: "uint256";
|
|
17
|
+
readonly name: "size";
|
|
18
|
+
readonly type: "uint256";
|
|
19
|
+
}];
|
|
20
|
+
readonly name: "getExecutorsPaginated";
|
|
21
|
+
readonly outputs: readonly [{
|
|
22
|
+
readonly internalType: "address[]";
|
|
23
|
+
readonly name: "array";
|
|
24
|
+
readonly type: "address[]";
|
|
25
|
+
}, {
|
|
26
|
+
readonly internalType: "address";
|
|
27
|
+
readonly name: "next";
|
|
28
|
+
readonly type: "address";
|
|
29
|
+
}];
|
|
30
|
+
readonly stateMutability: "view";
|
|
31
|
+
readonly type: "function";
|
|
32
|
+
}];
|
|
33
|
+
/**
|
|
34
|
+
* Retrieves the installed executors for a given smart account.
|
|
35
|
+
*
|
|
36
|
+
* @param client - The client instance.
|
|
37
|
+
* @param parameters - Parameters including the smart account, page size, and cursor.
|
|
38
|
+
* @returns A tuple containing an array of executor addresses and the next cursor.
|
|
39
|
+
* @throws {AccountNotFoundError} If the account is not found.
|
|
40
|
+
*
|
|
41
|
+
* @example
|
|
42
|
+
* import { getInstalledExecutors } from '@startale-scs/aa-sdk'
|
|
43
|
+
*
|
|
44
|
+
* const [executors, nextCursor] = await getInstalledExecutors(startaleClient, {
|
|
45
|
+
* pageSize: 10n
|
|
46
|
+
* })
|
|
47
|
+
* console.log(executors, nextCursor) // ['0x...', '0x...'], '0x...'
|
|
48
|
+
*/
|
|
49
|
+
export declare function getInstalledExecutors<TSmartAccount extends SmartAccount | undefined>(client: Client<Transport, Chain | undefined, TSmartAccount>, parameters?: GetInstalledExecutorsParameters<TSmartAccount>): Promise<readonly [readonly Hex[], Hex]>;
|
|
50
|
+
export declare const toGetInstalledExecutorsReads: (account: ModularSmartAccount, { pageSize, cursor }: GetInstalledExecutorsParameters<ModularSmartAccount>) => Promise<ReadContractParameters<typeof abi, "getExecutorsPaginated", [Hex, bigint]>[]>;
|
|
51
|
+
export {};
|
|
52
|
+
//# sourceMappingURL=getInstalledExecutors.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getInstalledExecutors.d.ts","sourceRoot":"","sources":["../../../../../src/sdk/clients/decorators/erc7579/getInstalledExecutors.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,KAAK,EACL,MAAM,EACN,GAAG,EACH,sBAAsB,EACtB,SAAS,EACV,MAAM,MAAM,CAAA;AACb,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAA;AAK5D,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,8BAA8B,CAAA;AAEvE,MAAM,MAAM,+BAA+B,CACzC,aAAa,SAAS,YAAY,GAAG,SAAS,IAC5C;IAAE,OAAO,CAAC,EAAE,aAAa,CAAA;CAAE,GAAG;IAChC,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,MAAM,CAAC,EAAE,GAAG,CAAA;CACb,CAAA;AAED,QAAA,MAAM,GAAG;;;;;;;;;;;;;;;;;;;;;;EA8BC,CAAA;AAEV;;;;;;;;;;;;;;;GAeG;AACH,wBAAsB,qBAAqB,CACzC,aAAa,SAAS,YAAY,GAAG,SAAS,EAE9C,MAAM,EAAE,MAAM,CAAC,SAAS,EAAE,KAAK,GAAG,SAAS,EAAE,aAAa,CAAC,EAC3D,UAAU,CAAC,EAAE,+BAA+B,CAAC,aAAa,CAAC,GAC1D,OAAO,CAAC,SAAS,CAAC,SAAS,GAAG,EAAE,EAAE,GAAG,CAAC,CAAC,CAuBzC;AAED,eAAO,MAAM,4BAA4B,GACvC,SAAS,mBAAmB,EAC5B,sBAGG,+BAA+B,CAAC,mBAAmB,CAAC,KACtD,OAAO,CACR,sBAAsB,CAAC,OAAO,GAAG,EAAE,uBAAuB,EAAE,CAAC,GAAG,EAAE,MAAM,CAAC,CAAC,EAAE,CAQ7E,CAAA"}
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import type { Chain, Client, Hex, ReadContractParameters, Transport } from "viem";
|
|
2
|
+
import type { SmartAccount } from "viem/account-abstraction";
|
|
3
|
+
import type { ModularSmartAccount } from "../../../modules/utils/Types";
|
|
4
|
+
export type GetInstalledValidatorsParameters<TSmartAccount extends SmartAccount | undefined> = {
|
|
5
|
+
account?: TSmartAccount;
|
|
6
|
+
} & {
|
|
7
|
+
pageSize?: bigint;
|
|
8
|
+
cursor?: Hex;
|
|
9
|
+
};
|
|
10
|
+
declare const abi: readonly [{
|
|
11
|
+
readonly inputs: readonly [{
|
|
12
|
+
readonly internalType: "address";
|
|
13
|
+
readonly name: "cursor";
|
|
14
|
+
readonly type: "address";
|
|
15
|
+
}, {
|
|
16
|
+
readonly internalType: "uint256";
|
|
17
|
+
readonly name: "size";
|
|
18
|
+
readonly type: "uint256";
|
|
19
|
+
}];
|
|
20
|
+
readonly name: "getValidatorsPaginated";
|
|
21
|
+
readonly outputs: readonly [{
|
|
22
|
+
readonly internalType: "address[]";
|
|
23
|
+
readonly name: "array";
|
|
24
|
+
readonly type: "address[]";
|
|
25
|
+
}, {
|
|
26
|
+
readonly internalType: "address";
|
|
27
|
+
readonly name: "next";
|
|
28
|
+
readonly type: "address";
|
|
29
|
+
}];
|
|
30
|
+
readonly stateMutability: "view";
|
|
31
|
+
readonly type: "function";
|
|
32
|
+
}];
|
|
33
|
+
/**
|
|
34
|
+
* Retrieves the installed validators for a given smart account.
|
|
35
|
+
*
|
|
36
|
+
* @param client - The client instance.
|
|
37
|
+
* @param parameters - Parameters including the smart account, page size, and cursor.
|
|
38
|
+
* @returns A tuple containing an array of validator addresses and the next cursor.
|
|
39
|
+
* @throws {AccountNotFoundError} If the account is not found.
|
|
40
|
+
*
|
|
41
|
+
* @example
|
|
42
|
+
* import { getInstalledValidators } from '@startale-scs/aa-sdk'
|
|
43
|
+
*
|
|
44
|
+
* const [validators, nextCursor] = await getInstalledValidators(startaleClient, {
|
|
45
|
+
* pageSize: 10n
|
|
46
|
+
* })
|
|
47
|
+
* console.log(validators, nextCursor) // ['0x...', '0x...'], '0x...'
|
|
48
|
+
*/
|
|
49
|
+
export declare function getInstalledValidators<TSmartAccount extends SmartAccount | undefined>(client: Client<Transport, Chain | undefined, TSmartAccount>, parameters?: GetInstalledValidatorsParameters<TSmartAccount>): Promise<readonly [readonly Hex[], Hex]>;
|
|
50
|
+
export declare const toGetInstalledValidatorsReads: (account: ModularSmartAccount, { pageSize, cursor }: GetInstalledValidatorsParameters<ModularSmartAccount>) => Promise<ReadContractParameters<typeof abi, "getValidatorsPaginated", [Hex, bigint]>[]>;
|
|
51
|
+
export {};
|
|
52
|
+
//# sourceMappingURL=getInstalledValidators.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getInstalledValidators.d.ts","sourceRoot":"","sources":["../../../../../src/sdk/clients/decorators/erc7579/getInstalledValidators.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,KAAK,EACL,MAAM,EACN,GAAG,EACH,sBAAsB,EACtB,SAAS,EACV,MAAM,MAAM,CAAA;AACb,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAA;AAK5D,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,8BAA8B,CAAA;AAEvE,MAAM,MAAM,gCAAgC,CAC1C,aAAa,SAAS,YAAY,GAAG,SAAS,IAC5C;IAAE,OAAO,CAAC,EAAE,aAAa,CAAA;CAAE,GAAG;IAChC,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,MAAM,CAAC,EAAE,GAAG,CAAA;CACb,CAAA;AAED,QAAA,MAAM,GAAG;;;;;;;;;;;;;;;;;;;;;;EA8BC,CAAA;AAEV;;;;;;;;;;;;;;;GAeG;AACH,wBAAsB,sBAAsB,CAC1C,aAAa,SAAS,YAAY,GAAG,SAAS,EAE9C,MAAM,EAAE,MAAM,CAAC,SAAS,EAAE,KAAK,GAAG,SAAS,EAAE,aAAa,CAAC,EAC3D,UAAU,CAAC,EAAE,gCAAgC,CAAC,aAAa,CAAC,GAC3D,OAAO,CAAC,SAAS,CAAC,SAAS,GAAG,EAAE,EAAE,GAAG,CAAC,CAAC,CA0BzC;AAED,eAAO,MAAM,6BAA6B,GACxC,SAAS,mBAAmB,EAC5B,sBAGG,gCAAgC,CAAC,mBAAmB,CAAC,KACvD,OAAO,CACR,sBAAsB,CAAC,OAAO,GAAG,EAAE,wBAAwB,EAAE,CAAC,GAAG,EAAE,MAAM,CAAC,CAAC,EAAE,CAQ9E,CAAA"}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import type { Client, Hex } from "viem";
|
|
2
|
+
import type { SmartAccount } from "viem/account-abstraction";
|
|
3
|
+
import type { ModuleMeta } from "../../../modules/utils/Types";
|
|
4
|
+
export type GetPreviousModuleParameters<TSmartAccount extends SmartAccount | undefined> = {
|
|
5
|
+
account?: TSmartAccount;
|
|
6
|
+
} & {
|
|
7
|
+
module: ModuleMeta;
|
|
8
|
+
installedValidators?: readonly Hex[];
|
|
9
|
+
installedExecutors?: readonly Hex[];
|
|
10
|
+
};
|
|
11
|
+
/**
|
|
12
|
+
* Gets the address of the previous module of the same type as the given module.
|
|
13
|
+
*
|
|
14
|
+
* @param client - The client instance.
|
|
15
|
+
* @param parameters - Parameters including the smart account and the module to check.
|
|
16
|
+
* @returns The address of the previous module, or the sentinel address if it's the first module.
|
|
17
|
+
* @throws {AccountNotFoundError} If the account is not found.
|
|
18
|
+
* @throws {Error} If the module type is unknown or the module is not found.
|
|
19
|
+
*
|
|
20
|
+
* @example
|
|
21
|
+
* import { getPreviousModule } from '@startale-scs/aa-sdk'
|
|
22
|
+
*
|
|
23
|
+
* const previousModuleAddress = await getPreviousModule(startaleClient, {
|
|
24
|
+
* module: {
|
|
25
|
+
* type: 'validator',
|
|
26
|
+
* moduleAddress: '0x...',
|
|
27
|
+
* }
|
|
28
|
+
* })
|
|
29
|
+
* console.log(previousModuleAddress) // '0x...'
|
|
30
|
+
*/
|
|
31
|
+
export declare function getPreviousModule<TSmartAccount extends SmartAccount | undefined>(client: Client, parameters: GetPreviousModuleParameters<TSmartAccount>): Promise<Hex>;
|
|
32
|
+
//# sourceMappingURL=getPreviousModule.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getPreviousModule.d.ts","sourceRoot":"","sources":["../../../../../src/sdk/clients/decorators/erc7579/getPreviousModule.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,MAAM,CAAA;AACvC,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAA;AAG5D,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,8BAA8B,CAAA;AAG9D,MAAM,MAAM,2BAA2B,CACrC,aAAa,SAAS,YAAY,GAAG,SAAS,IAC5C;IAAE,OAAO,CAAC,EAAE,aAAa,CAAA;CAAE,GAAG;IAChC,MAAM,EAAE,UAAU,CAAA;IAClB,mBAAmB,CAAC,EAAE,SAAS,GAAG,EAAE,CAAA;IACpC,kBAAkB,CAAC,EAAE,SAAS,GAAG,EAAE,CAAA;CACpC,CAAA;AAED;;;;;;;;;;;;;;;;;;;GAmBG;AACH,wBAAsB,iBAAiB,CACrC,aAAa,SAAS,YAAY,GAAG,SAAS,EAE9C,MAAM,EAAE,MAAM,EACd,UAAU,EAAE,2BAA2B,CAAC,aAAa,CAAC,GACrD,OAAO,CAAC,GAAG,CAAC,CA8Bd"}
|
|
@@ -0,0 +1,165 @@
|
|
|
1
|
+
import type { Chain, Client, Hash, Hex, Transport } from "viem";
|
|
2
|
+
import type { SmartAccount } from "viem/account-abstraction";
|
|
3
|
+
import type { Call } from "../../../account";
|
|
4
|
+
import type { AnyData, ModuleType } from "../../../modules/utils/Types.js";
|
|
5
|
+
import { accountId } from "./accountId.js";
|
|
6
|
+
import { type GetActiveHookParameters, getActiveHook } from "./getActiveHook.js";
|
|
7
|
+
import { type GetFallbackBySelectorParameters, getFallbackBySelector } from "./getFallbackBySelector.js";
|
|
8
|
+
import { type GetInstalledExecutorsParameters, getInstalledExecutors } from "./getInstalledExecutors.js";
|
|
9
|
+
import { type GetInstalledValidatorsParameters, getInstalledValidators } from "./getInstalledValidators.js";
|
|
10
|
+
import { type GetPreviousModuleParameters, getPreviousModule } from "./getPreviousModule.js";
|
|
11
|
+
import { type InstallModuleParameters, installModule } from "./installModule.js";
|
|
12
|
+
import { type InstallModulesParameters, installModules } from "./installModules.js";
|
|
13
|
+
import { type IsModuleInstalledParameters, isModuleInstalled } from "./isModuleInstalled.js";
|
|
14
|
+
import { type SupportsExecutionModeParameters, supportsExecutionMode } from "./supportsExecutionMode.js";
|
|
15
|
+
import type { CallType, ExecutionMode } from "./supportsExecutionMode.js";
|
|
16
|
+
import { type SupportsModuleParameters, supportsModule } from "./supportsModule.js";
|
|
17
|
+
import { type UninstallModuleParameters, uninstallModule } from "./uninstallModule.js";
|
|
18
|
+
import { type UninstallModulesParameters, uninstallModules } from "./uninstallModules.js";
|
|
19
|
+
export type Erc7579Actions<TSmartAccount extends SmartAccount | undefined> = {
|
|
20
|
+
accountId: (args?: {
|
|
21
|
+
account?: TSmartAccount;
|
|
22
|
+
}) => Promise<string>;
|
|
23
|
+
installModule: (args: InstallModuleParameters<TSmartAccount>) => Promise<Hash>;
|
|
24
|
+
installModules: (args: InstallModulesParameters<TSmartAccount>) => Promise<Hash>;
|
|
25
|
+
isModuleInstalled: (args: IsModuleInstalledParameters<TSmartAccount>) => Promise<boolean>;
|
|
26
|
+
supportsExecutionMode: (args: SupportsExecutionModeParameters<TSmartAccount>) => Promise<boolean>;
|
|
27
|
+
supportsModule: (args: SupportsModuleParameters<TSmartAccount>) => Promise<boolean>;
|
|
28
|
+
uninstallModule: (args: UninstallModuleParameters<TSmartAccount>) => Promise<Hash>;
|
|
29
|
+
uninstallModules: (args: UninstallModulesParameters<TSmartAccount>) => Promise<Hash>;
|
|
30
|
+
getInstalledValidators: (args?: GetInstalledValidatorsParameters<TSmartAccount>) => Promise<readonly [readonly Hex[], Hex]>;
|
|
31
|
+
getInstalledExecutors: (args?: GetInstalledExecutorsParameters<TSmartAccount>) => Promise<readonly [readonly Hex[], Hex]>;
|
|
32
|
+
getActiveHook: (args?: GetActiveHookParameters<TSmartAccount>) => Promise<Hex>;
|
|
33
|
+
getFallbackBySelector: (args: GetFallbackBySelectorParameters<TSmartAccount>) => Promise<[Hex, Hex]>;
|
|
34
|
+
getPreviousModule: (args: GetPreviousModuleParameters<TSmartAccount>) => Promise<Hex>;
|
|
35
|
+
};
|
|
36
|
+
export type { InstallModuleParameters, IsModuleInstalledParameters, CallType, ExecutionMode, SupportsExecutionModeParameters, ModuleType, SupportsModuleParameters, UninstallModuleParameters, GetInstalledValidatorsParameters, GetInstalledExecutorsParameters, GetActiveHookParameters, GetPreviousModuleParameters };
|
|
37
|
+
export { accountId, installModule, installModules, isModuleInstalled, supportsExecutionMode, supportsModule, uninstallModule, uninstallModules, getInstalledValidators, getInstalledExecutors, getActiveHook, getFallbackBySelector, getPreviousModule };
|
|
38
|
+
export declare function erc7579Actions(): <TSmartAccount extends SmartAccount | undefined>(client: Client<Transport, Chain | undefined, TSmartAccount>) => Erc7579Actions<TSmartAccount>;
|
|
39
|
+
export type CallFn = (...args: AnyData[]) => Promise<Call[]>;
|
|
40
|
+
export type ReadFn = (...args: AnyData[]) => Promise<any>;
|
|
41
|
+
export type CallDictionary = Record<string, CallFn>;
|
|
42
|
+
export type ReadDictionary = Record<string, ReadFn>;
|
|
43
|
+
export declare const erc7579Calls: {
|
|
44
|
+
readonly toInstallModuleCalls: (account: import("../../../modules/utils/Types.js").ModularSmartAccount, { address, initData, type }: import("../../../modules/utils/Types.js").ModuleMeta) => Promise<Call[]>;
|
|
45
|
+
readonly toUninstallModuleCalls: (account: import("../../../modules/utils/Types.js").ModularSmartAccount, { address, deInitData, type }: import("../../../modules/utils/Types.js").ModuleMeta) => Promise<Call[]>;
|
|
46
|
+
readonly toInstallWithSafeSenderCalls: (account: import("../../../modules/utils/Types.js").ModularSmartAccount, { address, initData, type }: import("../../../modules/utils/Types.js").ModuleMeta) => Promise<Call[]>;
|
|
47
|
+
readonly toUninstallFallbackCalls: (account: import("../../../modules/utils/Types.js").ModularSmartAccount, { address, initData, type }: import("../../../modules/utils/Types.js").ModuleMeta) => Promise<Call[]>;
|
|
48
|
+
};
|
|
49
|
+
export declare const erc7579Reads: {
|
|
50
|
+
readonly toIsModuleInstalledReads: (account: import("../../../modules/utils/Types.js").ModularSmartAccount, { address, initData, type }: import("../../../modules/utils/Types.js").ModuleMeta) => Promise<import("viem").ReadContractParameters<readonly [{
|
|
51
|
+
readonly name: "isModuleInstalled";
|
|
52
|
+
readonly type: "function";
|
|
53
|
+
readonly stateMutability: "view";
|
|
54
|
+
readonly inputs: readonly [{
|
|
55
|
+
readonly type: "uint256";
|
|
56
|
+
readonly name: "moduleTypeId";
|
|
57
|
+
}, {
|
|
58
|
+
readonly type: "address";
|
|
59
|
+
readonly name: "module";
|
|
60
|
+
}, {
|
|
61
|
+
readonly type: "bytes";
|
|
62
|
+
readonly name: "additionalContext";
|
|
63
|
+
}];
|
|
64
|
+
readonly outputs: readonly [{
|
|
65
|
+
readonly type: "bool";
|
|
66
|
+
}];
|
|
67
|
+
}], "isModuleInstalled", [bigint, `0x${string}`, Hex]>[]>;
|
|
68
|
+
readonly toGetActiveHookReads: (account: import("../../../modules/utils/Types.js").ModularSmartAccount) => Promise<import("viem").ReadContractParameters<{
|
|
69
|
+
inputs: never[];
|
|
70
|
+
name: string;
|
|
71
|
+
outputs: {
|
|
72
|
+
internalType: string;
|
|
73
|
+
name: string;
|
|
74
|
+
type: string;
|
|
75
|
+
}[];
|
|
76
|
+
stateMutability: string;
|
|
77
|
+
type: string;
|
|
78
|
+
}[], "getActiveHook", []>[]>;
|
|
79
|
+
readonly toGetFallbackBySelectorReads: (account: import("../../../modules/utils/Types.js").ModularSmartAccount, selector: Hex) => Promise<import("viem").ReadContractParameters<{
|
|
80
|
+
inputs: {
|
|
81
|
+
internalType: string;
|
|
82
|
+
name: string;
|
|
83
|
+
type: string;
|
|
84
|
+
}[];
|
|
85
|
+
name: string;
|
|
86
|
+
outputs: {
|
|
87
|
+
internalType: string;
|
|
88
|
+
name: string;
|
|
89
|
+
type: string;
|
|
90
|
+
}[];
|
|
91
|
+
stateMutability: string;
|
|
92
|
+
type: string;
|
|
93
|
+
}[], "getFallbackHandlerBySelector", [Hex]>[]>;
|
|
94
|
+
readonly toGetInstalledExecutorsReads: (account: import("../../../modules/utils/Types.js").ModularSmartAccount, { pageSize, cursor }: GetInstalledExecutorsParameters<import("../../../modules/utils/Types.js").ModularSmartAccount>) => Promise<import("viem").ReadContractParameters<readonly [{
|
|
95
|
+
readonly inputs: readonly [{
|
|
96
|
+
readonly internalType: "address";
|
|
97
|
+
readonly name: "cursor";
|
|
98
|
+
readonly type: "address";
|
|
99
|
+
}, {
|
|
100
|
+
readonly internalType: "uint256";
|
|
101
|
+
readonly name: "size";
|
|
102
|
+
readonly type: "uint256";
|
|
103
|
+
}];
|
|
104
|
+
readonly name: "getExecutorsPaginated";
|
|
105
|
+
readonly outputs: readonly [{
|
|
106
|
+
readonly internalType: "address[]";
|
|
107
|
+
readonly name: "array";
|
|
108
|
+
readonly type: "address[]";
|
|
109
|
+
}, {
|
|
110
|
+
readonly internalType: "address";
|
|
111
|
+
readonly name: "next";
|
|
112
|
+
readonly type: "address";
|
|
113
|
+
}];
|
|
114
|
+
readonly stateMutability: "view";
|
|
115
|
+
readonly type: "function";
|
|
116
|
+
}], "getExecutorsPaginated", [Hex, bigint]>[]>;
|
|
117
|
+
readonly toGetInstalledValidatorsReads: (account: import("../../../modules/utils/Types.js").ModularSmartAccount, { pageSize, cursor }: GetInstalledValidatorsParameters<import("../../../modules/utils/Types.js").ModularSmartAccount>) => Promise<import("viem").ReadContractParameters<readonly [{
|
|
118
|
+
readonly inputs: readonly [{
|
|
119
|
+
readonly internalType: "address";
|
|
120
|
+
readonly name: "cursor";
|
|
121
|
+
readonly type: "address";
|
|
122
|
+
}, {
|
|
123
|
+
readonly internalType: "uint256";
|
|
124
|
+
readonly name: "size";
|
|
125
|
+
readonly type: "uint256";
|
|
126
|
+
}];
|
|
127
|
+
readonly name: "getValidatorsPaginated";
|
|
128
|
+
readonly outputs: readonly [{
|
|
129
|
+
readonly internalType: "address[]";
|
|
130
|
+
readonly name: "array";
|
|
131
|
+
readonly type: "address[]";
|
|
132
|
+
}, {
|
|
133
|
+
readonly internalType: "address";
|
|
134
|
+
readonly name: "next";
|
|
135
|
+
readonly type: "address";
|
|
136
|
+
}];
|
|
137
|
+
readonly stateMutability: "view";
|
|
138
|
+
readonly type: "function";
|
|
139
|
+
}], "getValidatorsPaginated", [Hex, bigint]>[]>;
|
|
140
|
+
readonly toSupportsExecutionModeReads: (account: import("../../../modules/utils/Types.js").ModularSmartAccount, { type, revertOnError, selector, data }: ExecutionMode<CallType>) => Promise<import("viem").ReadContractParameters<readonly [{
|
|
141
|
+
readonly name: "supportsExecutionMode";
|
|
142
|
+
readonly type: "function";
|
|
143
|
+
readonly stateMutability: "view";
|
|
144
|
+
readonly inputs: readonly [{
|
|
145
|
+
readonly type: "bytes32";
|
|
146
|
+
readonly name: "encodedMode";
|
|
147
|
+
}];
|
|
148
|
+
readonly outputs: readonly [{
|
|
149
|
+
readonly type: "bool";
|
|
150
|
+
}];
|
|
151
|
+
}], "supportsExecutionMode", [Hex]>[]>;
|
|
152
|
+
readonly toSupportsModuleReads: <TSmartAccount extends SmartAccount | undefined>(account: import("../../../modules/utils/Types.js").ModularSmartAccount, { type }: SupportsModuleParameters<TSmartAccount>) => Promise<import("viem").ReadContractParameters<readonly [{
|
|
153
|
+
readonly name: "supportsModule";
|
|
154
|
+
readonly type: "function";
|
|
155
|
+
readonly stateMutability: "view";
|
|
156
|
+
readonly inputs: readonly [{
|
|
157
|
+
readonly type: "uint256";
|
|
158
|
+
readonly name: "moduleTypeId";
|
|
159
|
+
}];
|
|
160
|
+
readonly outputs: readonly [{
|
|
161
|
+
readonly type: "bool";
|
|
162
|
+
}];
|
|
163
|
+
}], "supportsModule", [bigint]>[]>;
|
|
164
|
+
};
|
|
165
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/sdk/clients/decorators/erc7579/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,EAAE,IAAI,EAAE,GAAG,EAAE,SAAS,EAAE,MAAM,MAAM,CAAA;AAC/D,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAA;AAC5D,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,kBAAkB,CAAA;AAC5C,OAAO,KAAK,EAAE,OAAO,EAAE,UAAU,EAAE,MAAM,iCAAiC,CAAA;AAC1E,OAAO,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAA;AAC1C,OAAO,EACL,KAAK,uBAAuB,EAC5B,aAAa,EAEd,MAAM,oBAAoB,CAAA;AAC3B,OAAO,EACL,KAAK,+BAA+B,EACpC,qBAAqB,EAEtB,MAAM,4BAA4B,CAAA;AACnC,OAAO,EACL,KAAK,+BAA+B,EACpC,qBAAqB,EAEtB,MAAM,4BAA4B,CAAA;AACnC,OAAO,EACL,KAAK,gCAAgC,EACrC,sBAAsB,EAEvB,MAAM,6BAA6B,CAAA;AACpC,OAAO,EACL,KAAK,2BAA2B,EAChC,iBAAiB,EAClB,MAAM,wBAAwB,CAAA;AAC/B,OAAO,EACL,KAAK,uBAAuB,EAC5B,aAAa,EAGd,MAAM,oBAAoB,CAAA;AAC3B,OAAO,EACL,KAAK,wBAAwB,EAC7B,cAAc,EACf,MAAM,qBAAqB,CAAA;AAC5B,OAAO,EACL,KAAK,2BAA2B,EAChC,iBAAiB,EAElB,MAAM,wBAAwB,CAAA;AAC/B,OAAO,EACL,KAAK,+BAA+B,EACpC,qBAAqB,EAEtB,MAAM,4BAA4B,CAAA;AACnC,OAAO,KAAK,EAAE,QAAQ,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAA;AACzE,OAAO,EACL,KAAK,wBAAwB,EAC7B,cAAc,EAEf,MAAM,qBAAqB,CAAA;AAE5B,OAAO,EACL,KAAK,yBAAyB,EAE9B,eAAe,EAChB,MAAM,sBAAsB,CAAA;AAC7B,OAAO,EACL,KAAK,0BAA0B,EAC/B,gBAAgB,EACjB,MAAM,uBAAuB,CAAA;AAE9B,MAAM,MAAM,cAAc,CAAC,aAAa,SAAS,YAAY,GAAG,SAAS,IAAI;IAC3E,SAAS,EAAE,CAAC,IAAI,CAAC,EAAE;QAAE,OAAO,CAAC,EAAE,aAAa,CAAA;KAAE,KAAK,OAAO,CAAC,MAAM,CAAC,CAAA;IAClE,aAAa,EAAE,CAAC,IAAI,EAAE,uBAAuB,CAAC,aAAa,CAAC,KAAK,OAAO,CAAC,IAAI,CAAC,CAAA;IAC9E,cAAc,EAAE,CACd,IAAI,EAAE,wBAAwB,CAAC,aAAa,CAAC,KAC1C,OAAO,CAAC,IAAI,CAAC,CAAA;IAClB,iBAAiB,EAAE,CACjB,IAAI,EAAE,2BAA2B,CAAC,aAAa,CAAC,KAC7C,OAAO,CAAC,OAAO,CAAC,CAAA;IACrB,qBAAqB,EAAE,CACrB,IAAI,EAAE,+BAA+B,CAAC,aAAa,CAAC,KACjD,OAAO,CAAC,OAAO,CAAC,CAAA;IACrB,cAAc,EAAE,CACd,IAAI,EAAE,wBAAwB,CAAC,aAAa,CAAC,KAC1C,OAAO,CAAC,OAAO,CAAC,CAAA;IACrB,eAAe,EAAE,CACf,IAAI,EAAE,yBAAyB,CAAC,aAAa,CAAC,KAC3C,OAAO,CAAC,IAAI,CAAC,CAAA;IAClB,gBAAgB,EAAE,CAChB,IAAI,EAAE,0BAA0B,CAAC,aAAa,CAAC,KAC5C,OAAO,CAAC,IAAI,CAAC,CAAA;IAClB,sBAAsB,EAAE,CACtB,IAAI,CAAC,EAAE,gCAAgC,CAAC,aAAa,CAAC,KACnD,OAAO,CAAC,SAAS,CAAC,SAAS,GAAG,EAAE,EAAE,GAAG,CAAC,CAAC,CAAA;IAC5C,qBAAqB,EAAE,CACrB,IAAI,CAAC,EAAE,+BAA+B,CAAC,aAAa,CAAC,KAClD,OAAO,CAAC,SAAS,CAAC,SAAS,GAAG,EAAE,EAAE,GAAG,CAAC,CAAC,CAAA;IAC5C,aAAa,EAAE,CAAC,IAAI,CAAC,EAAE,uBAAuB,CAAC,aAAa,CAAC,KAAK,OAAO,CAAC,GAAG,CAAC,CAAA;IAC9E,qBAAqB,EAAE,CACrB,IAAI,EAAE,+BAA+B,CAAC,aAAa,CAAC,KACjD,OAAO,CAAC,CAAC,GAAG,EAAE,GAAG,CAAC,CAAC,CAAA;IACxB,iBAAiB,EAAE,CACjB,IAAI,EAAE,2BAA2B,CAAC,aAAa,CAAC,KAC7C,OAAO,CAAC,GAAG,CAAC,CAAA;CAClB,CAAA;AAED,YAAY,EACV,uBAAuB,EACvB,2BAA2B,EAC3B,QAAQ,EACR,aAAa,EACb,+BAA+B,EAC/B,UAAU,EACV,wBAAwB,EACxB,yBAAyB,EACzB,gCAAgC,EAChC,+BAA+B,EAC/B,uBAAuB,EACvB,2BAA2B,EAC5B,CAAA;AAED,OAAO,EACL,SAAS,EACT,aAAa,EACb,cAAc,EACd,iBAAiB,EACjB,qBAAqB,EACrB,cAAc,EACd,eAAe,EACf,gBAAgB,EAChB,sBAAsB,EACtB,qBAAqB,EACrB,aAAa,EACb,qBAAqB,EACrB,iBAAiB,EAClB,CAAA;AAED,wBAAgB,cAAc,KACpB,aAAa,SAAS,YAAY,GAAG,SAAS,EACpD,QAAQ,MAAM,CAAC,SAAS,EAAE,KAAK,GAAG,SAAS,EAAE,aAAa,CAAC,KAC1D,cAAc,CAAC,aAAa,CAAC,CAejC;AAED,MAAM,MAAM,MAAM,GAAG,CAAC,GAAG,IAAI,EAAE,OAAO,EAAE,KAAK,OAAO,CAAC,IAAI,EAAE,CAAC,CAAA;AAC5D,MAAM,MAAM,MAAM,GAAG,CAAC,GAAG,IAAI,EAAE,OAAO,EAAE,KAAK,OAAO,CAAC,GAAG,CAAC,CAAA;AACzD,MAAM,MAAM,cAAc,GAAG,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAA;AACnD,MAAM,MAAM,cAAc,GAAG,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAA;AAEnD,eAAO,MAAM,YAAY;;;;;CAKf,CAAA;AAEV,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAQf,CAAA"}
|