├── .circleci ├── announcePublish.sh └── config.yml ├── .eslintignore ├── .eslintrc.js ├── .github-pages ├── files │ └── CNAME └── theme │ ├── assets │ ├── css │ │ └── main.css │ ├── images │ │ ├── icons.png │ │ ├── icons@2x.png │ │ ├── widgets.png │ │ └── widgets@2x.png │ └── js │ │ └── main.js │ ├── layouts │ └── default.hbs │ ├── partials │ ├── analytics.hbs │ ├── breadcrumb.hbs │ ├── comment.hbs │ ├── footer.hbs │ ├── header.hbs │ ├── hierarchy.hbs │ ├── index.hbs │ ├── member.declaration.hbs │ ├── member.getterSetter.hbs │ ├── member.hbs │ ├── member.reference.hbs │ ├── member.signature.body.hbs │ ├── member.signature.title.hbs │ ├── member.signatures.hbs │ ├── member.sources.hbs │ ├── members.group.hbs │ ├── members.hbs │ ├── navigation.hbs │ ├── parameter.hbs │ ├── toc.hbs │ ├── toc.root.hbs │ ├── type.hbs │ ├── typeAndParent.hbs │ └── typeParameters.hbs │ └── templates │ ├── index.hbs │ └── reflection.hbs ├── .github ├── ISSUE_TEMPLATE │ ├── bug_report.yml │ ├── config.yml │ └── feature_request.md ├── pull_request_template.md └── workflows │ ├── check-package-version.yml │ └── deploy-docs.yml ├── .gitignore ├── .npmignore ├── .prettierrc ├── CHANGELOG.md ├── DEPLOYMENT_COSTS.md ├── LICENSE ├── README.md ├── SECURITY.md ├── bun.lockb ├── example.env ├── examples ├── basics │ ├── add-guardians.ts │ ├── callGasLimit.ts │ ├── concurrent-userops.ts │ ├── custom-chain.ts │ ├── get-address.ts │ ├── get-counterfactual-address.ts │ ├── get-gas-fees.ts │ ├── get-multiple-accounts.ts │ ├── get-nonce.ts │ ├── transfer-erc20.ts │ ├── transfer-funds.ts │ ├── transfer-nft.ts │ └── verify-signatures.ts ├── helpers │ └── sdk-helper.ts ├── modules │ ├── generate-module-uninstall-deinitdata.ts │ ├── get-previous-address.ts │ ├── install-hook.ts │ ├── install-module.ts │ ├── is-module-initialised.ts │ ├── is-module-installed.ts │ ├── list-modules.ts │ ├── list-paginated-modules.ts │ └── uninstall-module.ts ├── paymaster │ └── paymaster.ts ├── pulse │ ├── install-pulse-modules.ts │ └── utils.ts ├── scripts │ ├── commands │ │ ├── NFTTransfer.ts │ │ ├── address.ts │ │ ├── batchErc20Transfer.ts │ │ ├── erc20Approve.ts │ │ ├── erc20Transfer.ts │ │ ├── index.ts │ │ └── transfer.ts │ └── init.ts ├── sessionkeys │ ├── disable-sessionkey-module.ts │ ├── enable-sessionkey-module.ts │ ├── get-associated-session-keys.ts │ ├── rotate-sessionkey-module.ts │ └── transfer-erc20-session-key.ts └── turnkey │ ├── create-wallet.ts │ ├── get-counterfactual-address.ts │ └── transfer-funds.ts ├── funding.json ├── package.json ├── src ├── browser.ts ├── index.ts ├── node.ts └── sdk │ ├── SessionKeyValidator │ ├── SessionKeyValidator.ts │ ├── constants.ts │ ├── index.ts │ └── interfaces.ts │ ├── base │ ├── BaseAccountAPI.ts │ ├── Bootstrap.ts │ ├── ClientConfig.ts │ ├── DeterministicDeployer.ts │ ├── EtherspotWalletAPI.ts │ ├── EtherspotWalletFactory.ts │ ├── HttpRpcClient.ts │ ├── PaymasterAPI.ts │ ├── TransactionDetailsForUserOp.ts │ ├── VerifyingPaymasterAPI.ts │ ├── calcPreVerificationGas.ts │ └── index.ts │ ├── bundler │ ├── index.ts │ ├── interface.ts │ └── providers │ │ ├── EtherspotBundler.ts │ │ ├── GenericBundler.ts │ │ └── index.ts │ ├── common │ ├── ERC4337Utils.ts │ ├── OperationUtils.ts │ ├── abi │ │ ├── AccountResolver.ts │ │ ├── ECDSAModule.ts │ │ ├── EntryPointAbi.ts │ │ └── SmartAccount.ts │ ├── abis.ts │ ├── classes │ │ ├── base-class.ts │ │ ├── index.ts │ │ ├── pagination-result.ts │ │ └── synchronized.ts │ ├── constants.ts │ ├── exceptions │ │ ├── exception.ts │ │ ├── index.ts │ │ ├── interfaces.ts │ │ └── validation.exception.ts │ ├── getGasFee.ts │ ├── getInitData.ts │ ├── getInstalledModules.ts │ ├── index.ts │ ├── interfaces.ts │ ├── rxjs │ │ ├── distinct-unique-key.operator.ts │ │ ├── error.subject.ts │ │ ├── index.ts │ │ ├── object.subject.ts │ │ ├── synchronized.subject.ts │ │ └── unique.subject.ts │ ├── service.ts │ ├── transformers │ │ ├── index.ts │ │ └── transform-big-number.ts │ ├── types.ts │ └── utils │ │ ├── addresses-equal.ts │ │ ├── bignumber-utils.ts │ │ ├── deep-compare.ts │ │ ├── get-bytes.ts │ │ ├── hashing-utils.ts │ │ ├── hexlify.ts │ │ ├── index.ts │ │ ├── is-url.ts │ │ ├── json-utils.ts │ │ ├── parse-json.ts │ │ ├── sleep.ts │ │ ├── userop-utils.ts │ │ └── viem-utils.ts │ ├── context.ts │ ├── dto │ ├── index.ts │ ├── sign-message.dto.ts │ ├── utils │ │ ├── index.ts │ │ └── validate-dto.ts │ └── validators │ │ ├── index.ts │ │ ├── is-address.validator.ts │ │ ├── is-big-numberish.validator.ts │ │ ├── is-bytes-like.validator.ts │ │ ├── is-hex.validator.ts │ │ ├── is-hex32.validator.ts │ │ └── is-url.validator.ts │ ├── errorHandler │ ├── constants.ts │ └── errorHandler.service.ts │ ├── helpers │ └── abi │ │ ├── ERC20_ABI.ts │ │ └── UNISWAP_V3_SWAP_ROUTER_ABI.ts │ ├── index.ts │ ├── interfaces.ts │ ├── network │ ├── constants.ts │ ├── index.ts │ ├── interfaces.ts │ ├── network.service.ts │ └── utils │ │ ├── index.ts │ │ ├── network-name-to-chain-id.ts │ │ └── prepare-network-name.ts │ ├── sdk.ts │ ├── types │ ├── bignumber-logger.ts │ ├── bignumber.ts │ ├── user-operation-types.ts │ └── viem-rpc.ts │ └── wallet │ ├── index.ts │ ├── interfaces.ts │ ├── providers │ ├── dynamic.wallet-provider.ts │ ├── index.ts │ ├── interfaces.ts │ ├── key.wallet-provider.ts │ ├── meta-mask.wallet-provider.ts │ ├── utils │ │ ├── index.ts │ │ ├── is-wallet-connect-provider.ts │ │ └── is-wallet-provider.ts │ ├── wallet-connect-2.wallet-provider.ts │ ├── wallet-connect.wallet-provider.ts │ ├── walletClient.provider.ts │ ├── web3.wallet-provider.ts │ └── web3eip1193.wallet-provider.ts │ └── wallet.service.ts ├── tsconfig ├── tsconfig.base.json ├── tsconfig.cjs.json ├── tsconfig.default.json ├── tsconfig.esm.json └── tsconfig.types.json └── typedoc.json /.circleci/announcePublish.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | set -euo pipefail 3 | 4 | applicationName=$1 5 | package=$2 6 | 7 | payload=$( 8 | cat < 2 | 3 | 4 | 5 | 6 | {{#ifCond model.name '==' project.name}}{{project.name}}{{else}}{{model.name}} | {{project.name}}{{/ifCond}} 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | {{> header}} 15 | 16 |
17 |
18 |
19 | {{{contents}}} 20 |
21 | 38 |
39 |
40 | 41 | {{> footer}} 42 | 43 |
44 | 45 | 46 | 47 | {{> analytics}} 48 | 49 | 50 | 51 | -------------------------------------------------------------------------------- /.github-pages/theme/partials/analytics.hbs: -------------------------------------------------------------------------------- 1 | {{#if settings.gaID}} 2 | 11 | {{/if}} -------------------------------------------------------------------------------- /.github-pages/theme/partials/breadcrumb.hbs: -------------------------------------------------------------------------------- 1 | {{#if parent}} 2 | {{#with parent}}{{> breadcrumb}}{{/with}} 3 |
  • 4 | {{#if url}} 5 | {{name}} 6 | {{else}} 7 | {{name}} 8 | {{/if}} 9 |
  • 10 | {{else}} 11 | {{#if url}} 12 |
  • 13 | Home 14 |
  • 15 | {{/if}} 16 | {{/if}} 17 | -------------------------------------------------------------------------------- /.github-pages/theme/partials/comment.hbs: -------------------------------------------------------------------------------- 1 | {{#with comment}} 2 | {{#if hasVisibleComponent}} 3 |
    4 | {{#if shortText}} 5 |
    6 | {{#markdown}}{{{shortText}}}{{/markdown}} 7 |
    8 | {{/if}} 9 | {{#if text}} 10 | {{#markdown}}{{{text}}}{{/markdown}} 11 | {{/if}} 12 | {{#if tags}} 13 |
    14 | {{#each tags}} 15 |
    {{tagName}}
    16 |
    {{#markdown}}{{{text}}}{{/markdown}}
    17 | {{/each}} 18 |
    19 | {{/if}} 20 |
    21 | {{/if}} 22 | {{/with}} -------------------------------------------------------------------------------- /.github-pages/theme/partials/footer.hbs: -------------------------------------------------------------------------------- 1 | 2 | 3 |
    4 |

    Legend

    5 |
    6 | {{#each legend}} 7 |
      8 | {{#each .}} 9 |
    • {{name}}
    • 10 | {{/each}} 11 |
    12 | {{/each}} 13 |
    14 |
    15 | 16 | 17 | {{#unless settings.hideGenerator}} 18 |
    19 |

    Generated using TypeDoc

    20 |
    21 | {{/unless}} -------------------------------------------------------------------------------- /.github-pages/theme/partials/header.hbs: -------------------------------------------------------------------------------- 1 |
    2 |
    3 |
    4 |
    5 | 16 |
    17 |
    18 |
    19 |
    20 |
    21 |
      22 | {{#with model}}{{> breadcrumb}}{{/with}} 23 |
    24 |

    {{#compact}} 25 | {{model.kindString}}  26 | {{model.name}} 27 | {{#if model.typeParameters}} 28 | < 29 | {{#each model.typeParameters}} 30 | {{#if @index}}, {{/if}} 31 | {{name}} 32 | {{/each}} 33 | > 34 | {{/if}} 35 | {{/compact}}

    36 |
    37 |
    38 |
    39 | -------------------------------------------------------------------------------- /.github-pages/theme/partials/hierarchy.hbs: -------------------------------------------------------------------------------- 1 | 18 | -------------------------------------------------------------------------------- /.github-pages/theme/partials/index.hbs: -------------------------------------------------------------------------------- 1 | {{#if groups}} 2 |
    3 |

    Index

    4 |
    5 |
    6 | {{#each groups}} 7 |
    8 | {{#if categories}} 9 | {{#each categories}} 10 |

    {{#if title}}{{title}} {{/if}}{{../title}}

    11 | 16 | {{/each}} 17 | {{else}} 18 |

    {{title}}

    19 | 24 | {{/if}} 25 |
    26 | {{/each}} 27 |
    28 |
    29 |
    30 | {{/if}} -------------------------------------------------------------------------------- /.github-pages/theme/partials/member.declaration.hbs: -------------------------------------------------------------------------------- 1 |
    {{#compact}} 2 | {{{wbr name}}} 3 | {{#if typeParameters}} 4 | < 5 | {{#each typeParameters}} 6 | {{#if @index}}, {{/if}} 7 | {{name}} 8 | {{/each}} 9 | > 10 | {{/if}} 11 | {{#if isOptional}}?{{/if}}: {{#with type}}{{>type}}{{/with}} 12 | {{#if defaultValue}} 13 | 14 |  =  15 | {{defaultValue}} 16 | 17 | {{/if}} 18 | {{/compact}}
    19 | 20 | {{> member.sources}} 21 | 22 | {{> comment}} 23 | 24 | {{#if typeParameters}} 25 |

    Type parameters

    26 | {{> typeParameters}} 27 | {{/if}} 28 | 29 | {{#if type.declaration}} 30 |
    31 |

    Type declaration

    32 | {{#with type.declaration}} 33 | {{> parameter}} 34 | {{/with}} 35 |
    36 | {{/if}} 37 | -------------------------------------------------------------------------------- /.github-pages/theme/partials/member.getterSetter.hbs: -------------------------------------------------------------------------------- 1 | 21 | 22 | 38 | -------------------------------------------------------------------------------- /.github-pages/theme/partials/member.hbs: -------------------------------------------------------------------------------- 1 |
    2 | 3 | {{#if name}} 4 |

    {{#each flags}}{{this}} {{/each}}{{{wbr name}}}

    5 | {{/if}} 6 | 7 | {{#if signatures}} 8 | {{> member.signatures}} 9 | {{else}}{{#if hasGetterOrSetter}} 10 | {{> member.getterSetter}} 11 | {{else}}{{#if isReference}} 12 | {{> member.reference}} 13 | {{else}} 14 | {{> member.declaration}} 15 | {{/if}}{{/if}}{{/if}} 16 | 17 | {{#each groups}} 18 | {{#each children}} 19 | {{#unless hasOwnDocument}} 20 | {{> member}} 21 | {{/unless}} 22 | {{/each}} 23 | {{/each}} 24 |
    25 | -------------------------------------------------------------------------------- /.github-pages/theme/partials/member.reference.hbs: -------------------------------------------------------------------------------- 1 | {{#with tryGetTargetReflectionDeep}} 2 | {{#ifCond ../name '===' name}} 3 | Re-exports {{name}} 4 | {{else if flags.isExported}} 5 | Renames and re-exports {{name}} 6 | {{else}} 7 | Renames and exports {{name}} 8 | {{/ifCond}} 9 | {{else}} 10 | Re-exports {{name}} 11 | {{/with}} 12 | -------------------------------------------------------------------------------- /.github-pages/theme/partials/member.signature.body.hbs: -------------------------------------------------------------------------------- 1 | {{#unless hideSources}} 2 | {{> member.sources}} 3 | {{/unless}} 4 | 5 | {{> comment}} 6 | 7 | {{#if typeParameters}} 8 |

    Type parameters

    9 | {{> typeParameters}} 10 | {{/if}} 11 | 12 | {{#if parameters}} 13 |

    Parameters

    14 | 42 | {{/if}} 43 | 44 | {{#if type}} 45 |

    Returns {{#compact}}{{#with type}}{{>type}}{{/with}}{{/compact}}

    46 | 47 | {{#if comment.returns}} 48 | {{#markdown}}{{{comment.returns}}}{{/markdown}} 49 | {{/if}} 50 | 51 | {{#if type.declaration}} 52 | {{#with type.declaration}} 53 | {{> parameter}} 54 | {{/with}} 55 | {{/if}} 56 | {{/if}} 57 | -------------------------------------------------------------------------------- /.github-pages/theme/partials/member.signature.title.hbs: -------------------------------------------------------------------------------- 1 | {{#unless hideName}}{{{wbr name}}}{{/unless}} 2 | {{#if typeParameters}} 3 | < 4 | {{#each typeParameters}} 5 | {{#if @index}}, {{/if}} 6 | {{name}} 7 | {{/each}} 8 | > 9 | {{/if}} 10 | ( 11 | {{#each parameters}} 12 | {{#if @index}}, {{/if}} 13 | {{#if flags.isRest}}...{{/if}} 14 | {{name}} 15 | 16 | {{#if flags.isOptional}}?{{/if}} 17 | {{#if defaultValue}}?{{/if}} 18 | :  19 | 20 | {{#with type}}{{>type}}{{/with}} 21 | {{/each}} 22 | ) 23 | {{#if type}} 24 | {{#if arrowStyle}} 25 | => 26 | {{else}} 27 | : 28 | {{/if}} 29 | {{#with type}} 30 | {{>type}} 31 | {{/with}} 32 | {{/if}} 33 | -------------------------------------------------------------------------------- /.github-pages/theme/partials/member.signatures.hbs: -------------------------------------------------------------------------------- 1 | 6 | 7 | 14 | -------------------------------------------------------------------------------- /.github-pages/theme/partials/member.sources.hbs: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /.github-pages/theme/partials/members.group.hbs: -------------------------------------------------------------------------------- 1 | {{#if categories}} 2 | {{#each categories}} 3 |
    4 |

    {{#if title}}{{title}} {{/if}}{{../title}}

    5 | {{#each children}} 6 | {{#unless hasOwnDocument}} 7 | {{> member}} 8 | {{/unless}} 9 | {{/each}} 10 |
    11 | {{/each}} 12 | {{else}} 13 |
    14 |

    {{title}}

    15 | {{#each children}} 16 | {{#unless hasOwnDocument}} 17 | {{> member}} 18 | {{/unless}} 19 | {{/each}} 20 |
    21 | {{/if}} -------------------------------------------------------------------------------- /.github-pages/theme/partials/members.hbs: -------------------------------------------------------------------------------- 1 | {{#if categories}} 2 | {{#each categories}} 3 | {{#unless allChildrenHaveOwnDocument}} 4 |
    5 |

    {{title}}

    6 | {{#each children}} 7 | {{#unless hasOwnDocument}} 8 | {{> member}} 9 | {{/unless}} 10 | {{/each}} 11 |
    12 | {{/unless}} 13 | {{/each}} 14 | {{else}} 15 | {{#each groups}} 16 | {{#unless allChildrenHaveOwnDocument}} 17 | {{> members.group}} 18 | {{/unless}} 19 | {{/each}} 20 | {{/if}} -------------------------------------------------------------------------------- /.github-pages/theme/partials/navigation.hbs: -------------------------------------------------------------------------------- 1 | {{#if isVisible}} 2 | {{#if isLabel}} 3 |
  • 4 | {{{wbr title}}} 5 |
  • 6 | {{else}} 7 | {{#if isGlobals}} 8 |
  • 9 | {{{wbr title}}} 10 |
  • 11 | {{else}} 12 |
  • 13 | {{{wbr title}}} 14 | {{#if isInPath}} 15 | {{#if children}} 16 |
      17 | {{#each children}} 18 | {{> navigation}} 19 | {{/each}} 20 |
    21 | {{/if}} 22 | {{/if}} 23 |
  • 24 | {{/if}} 25 | {{/if}} 26 | {{/if}} 27 | -------------------------------------------------------------------------------- /.github-pages/theme/partials/parameter.hbs: -------------------------------------------------------------------------------- 1 | 84 | -------------------------------------------------------------------------------- /.github-pages/theme/partials/toc.hbs: -------------------------------------------------------------------------------- 1 |
  • 2 | {{{wbr title}}} 3 | {{#if children}} 4 |
      5 | {{#each children}} 6 | {{> toc}} 7 | {{/each}} 8 |
    9 | {{/if}} 10 |
  • 11 | -------------------------------------------------------------------------------- /.github-pages/theme/partials/toc.root.hbs: -------------------------------------------------------------------------------- 1 | {{#if isInPath}} 2 | 3 | 17 |