@aastar/sdk 0.16.6 → 0.16.11

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.
Files changed (662) hide show
  1. package/.github/workflows/gas-analytics-daily.yml +52 -0
  2. package/CHANGELOG.md +43 -0
  3. package/README.md +39 -139
  4. package/backup/run_sdk_regression.sh +135 -0
  5. package/config.anvil.json +1 -1
  6. package/config.sepolia.json +19 -1
  7. package/docs/API_REFERENCE.md +9 -169
  8. package/docs/L4_Manual_Test_CheatSheet.md +22 -65
  9. package/docs/Reputation-to-Credit_Mapping_Whitepaper.md +242 -0
  10. package/docs/TESTER_GUIDE_GASLESS.md +23 -277
  11. package/docs/api/@aastar/account/README.md +15 -0
  12. package/docs/api/@aastar/account/classes/UserOpClient.md +87 -0
  13. package/docs/api/@aastar/account/functions/createEOAWalletClient.md +21 -0
  14. package/docs/api/@aastar/account/functions/getUserOpHash.md +23 -0
  15. package/docs/api/@aastar/account/functions/packUserOpLimits.md +19 -0
  16. package/docs/api/@aastar/account/functions/toSimpleSmartAccount.md +83 -0
  17. package/docs/api/@aastar/account/type-aliases/EOAWalletClient.md +37 -0
  18. package/docs/api/@aastar/account/type-aliases/SimpleSmartAccount.md +39 -0
  19. package/docs/api/@aastar/core/README.md +211 -0
  20. package/docs/api/@aastar/core/classes/BLSSigner.md +147 -0
  21. package/docs/api/@aastar/core/classes/BaseClient.md +9657 -0
  22. package/docs/api/@aastar/core/classes/ContractConfigManager.md +25 -0
  23. package/docs/api/@aastar/core/classes/RequirementChecker.md +1837 -0
  24. package/docs/api/@aastar/core/classes/SepoliaFaucetAPI.md +13661 -0
  25. package/docs/api/@aastar/core/classes/StateValidator.md +133 -0
  26. package/docs/api/@aastar/core/enumerations/EntryPointVersion.md +17 -0
  27. package/docs/api/@aastar/core/enumerations/NodeType.md +33 -0
  28. package/docs/api/@aastar/core/enumerations/RolePermissionLevel.md +43 -0
  29. package/docs/api/@aastar/core/functions/accountActions.md +2720 -0
  30. package/docs/api/@aastar/core/functions/accountFactoryActions.md +2720 -0
  31. package/docs/api/@aastar/core/functions/aggregatorActions.md +2720 -0
  32. package/docs/api/@aastar/core/functions/createAAStarPublicClient.md +3105 -0
  33. package/docs/api/@aastar/core/functions/dvtActions.md +2720 -0
  34. package/docs/api/@aastar/core/functions/entryPointActions.md +2724 -0
  35. package/docs/api/@aastar/core/functions/gTokenActions.md +2714 -0
  36. package/docs/api/@aastar/core/functions/gTokenExtendedActions.md +2720 -0
  37. package/docs/api/@aastar/core/functions/getAddressUrl.md +32 -0
  38. package/docs/api/@aastar/core/functions/getAllCommunityConfigs.md +9 -0
  39. package/docs/api/@aastar/core/functions/getAllV2Contracts.md +20 -0
  40. package/docs/api/@aastar/core/functions/getBlockExplorer.md +26 -0
  41. package/docs/api/@aastar/core/functions/getChainId.md +26 -0
  42. package/docs/api/@aastar/core/functions/getCommunities.md +76 -0
  43. package/docs/api/@aastar/core/functions/getCommunity.md +32 -0
  44. package/docs/api/@aastar/core/functions/getCommunityConfig.md +15 -0
  45. package/docs/api/@aastar/core/functions/getContract.md +37 -0
  46. package/docs/api/@aastar/core/functions/getContractNetworks.md +18 -0
  47. package/docs/api/@aastar/core/functions/getContracts.md +194 -0
  48. package/docs/api/@aastar/core/functions/getCoreContracts.md +71 -0
  49. package/docs/api/@aastar/core/functions/getDeploymentDate.md +32 -0
  50. package/docs/api/@aastar/core/functions/getEntryPoint.md +25 -0
  51. package/docs/api/@aastar/core/functions/getNetwork.md +26 -0
  52. package/docs/api/@aastar/core/functions/getPaymasterV4_1.md +25 -0
  53. package/docs/api/@aastar/core/functions/getRoleName.md +15 -0
  54. package/docs/api/@aastar/core/functions/getRpcUrl.md +25 -0
  55. package/docs/api/@aastar/core/functions/getSimpleAccountFactory.md +25 -0
  56. package/docs/api/@aastar/core/functions/getSuperPaymasterV2.md +25 -0
  57. package/docs/api/@aastar/core/functions/getTestAccounts.md +30 -0
  58. package/docs/api/@aastar/core/functions/getTestTokenContracts.md +38 -0
  59. package/docs/api/@aastar/core/functions/getTokenContracts.md +31 -0
  60. package/docs/api/@aastar/core/functions/getTxUrl.md +32 -0
  61. package/docs/api/@aastar/core/functions/getV2ContractByAddress.md +28 -0
  62. package/docs/api/@aastar/core/functions/getV2ContractByName.md +28 -0
  63. package/docs/api/@aastar/core/functions/getV2ContractsByDate.md +26 -0
  64. package/docs/api/@aastar/core/functions/isContractNetworkSupported.md +27 -0
  65. package/docs/api/@aastar/core/functions/isRegisteredCommunity.md +15 -0
  66. package/docs/api/@aastar/core/functions/isV2Contract.md +27 -0
  67. package/docs/api/@aastar/core/functions/paymasterActions.md +2720 -0
  68. package/docs/api/@aastar/core/functions/paymasterFactoryActions.md +2720 -0
  69. package/docs/api/@aastar/core/functions/registryActions.md +2720 -0
  70. package/docs/api/@aastar/core/functions/reputationActions.md +2720 -0
  71. package/docs/api/@aastar/core/functions/sbtActions.md +2720 -0
  72. package/docs/api/@aastar/core/functions/stakingActions.md +2720 -0
  73. package/docs/api/@aastar/core/functions/superPaymasterActions.md +2720 -0
  74. package/docs/api/@aastar/core/functions/tokenActions.md +2714 -0
  75. package/docs/api/@aastar/core/functions/xPNTsFactoryActions.md +2720 -0
  76. package/docs/api/@aastar/core/interfaces/AccountBalance.md +41 -0
  77. package/docs/api/@aastar/core/interfaces/BalanceValidationParams.md +51 -0
  78. package/docs/api/@aastar/core/interfaces/ClientConfig.md +4841 -0
  79. package/docs/api/@aastar/core/interfaces/CommunityConfig.md +81 -0
  80. package/docs/api/@aastar/core/interfaces/ContractVersion.md +63 -0
  81. package/docs/api/@aastar/core/interfaces/DeploymentValidationParams.md +39 -0
  82. package/docs/api/@aastar/core/interfaces/RoleConfig.md +83 -0
  83. package/docs/api/@aastar/core/interfaces/RoleRequirement.md +43 -0
  84. package/docs/api/@aastar/core/interfaces/RoleValidationParams.md +55 -0
  85. package/docs/api/@aastar/core/interfaces/SuperPaymasterConfig.md +57 -0
  86. package/docs/api/@aastar/core/interfaces/TokenBalanceValidationParams.md +63 -0
  87. package/docs/api/@aastar/core/interfaces/TransactionOptions.md +24 -0
  88. package/docs/api/@aastar/core/interfaces/ValidationParams.md +25 -0
  89. package/docs/api/@aastar/core/interfaces/ValidationResult.md +25 -0
  90. package/docs/api/@aastar/core/type-aliases/AccountActions.md +151 -0
  91. package/docs/api/@aastar/core/type-aliases/AccountFactoryActions.md +55 -0
  92. package/docs/api/@aastar/core/type-aliases/AggregatorActions.md +471 -0
  93. package/docs/api/@aastar/core/type-aliases/BusinessResult.md +12 -0
  94. package/docs/api/@aastar/core/type-aliases/ContractCategory.md +5 -0
  95. package/docs/api/@aastar/core/type-aliases/ContractNetwork.md +5 -0
  96. package/docs/api/@aastar/core/type-aliases/DVTActions.md +319 -0
  97. package/docs/api/@aastar/core/type-aliases/EntryPointActions.md +103 -0
  98. package/docs/api/@aastar/core/type-aliases/GTokenExtendedActions.md +239 -0
  99. package/docs/api/@aastar/core/type-aliases/NetworkContracts.md +5 -0
  100. package/docs/api/@aastar/core/type-aliases/PaymasterActions.md +1087 -0
  101. package/docs/api/@aastar/core/type-aliases/PaymasterFactoryActions.md +263 -0
  102. package/docs/api/@aastar/core/type-aliases/RegistryActions.md +1543 -0
  103. package/docs/api/@aastar/core/type-aliases/ReputationActions.md +811 -0
  104. package/docs/api/@aastar/core/type-aliases/SBTActions.md +1199 -0
  105. package/docs/api/@aastar/core/type-aliases/StakingActions.md +703 -0
  106. package/docs/api/@aastar/core/type-aliases/SuperPaymasterActions.md +1311 -0
  107. package/docs/api/@aastar/core/type-aliases/SupportedNetwork.md +3 -0
  108. package/docs/api/@aastar/core/type-aliases/TokenActions.md +1227 -0
  109. package/docs/api/@aastar/core/type-aliases/XPNTsFactoryActions.md +395 -0
  110. package/docs/api/@aastar/core/variables/AASTAR_COMMUNITY.md +8 -0
  111. package/docs/api/@aastar/core/variables/ALL_ADDRESSES.md +75 -0
  112. package/docs/api/@aastar/core/variables/ALL_ROLES.md +5 -0
  113. package/docs/api/@aastar/core/variables/APNTS_ADDRESS.md +3 -0
  114. package/docs/api/@aastar/core/variables/BLSAggregatorABI.md +3 -0
  115. package/docs/api/@aastar/core/variables/BLSAggregatorArtifact.md +13 -0
  116. package/docs/api/@aastar/core/variables/BLSHelpers.md +101 -0
  117. package/docs/api/@aastar/core/variables/BLSValidatorABI.md +3 -0
  118. package/docs/api/@aastar/core/variables/BLSValidatorArtifact.md +13 -0
  119. package/docs/api/@aastar/core/variables/BLS_AGGREGATOR_ADDRESS.md +3 -0
  120. package/docs/api/@aastar/core/variables/BLS_VALIDATOR_ADDRESS.md +3 -0
  121. package/docs/api/@aastar/core/variables/BPS_DENOMINATOR.md +5 -0
  122. package/docs/api/@aastar/core/variables/BRANDING.md +67 -0
  123. package/docs/api/@aastar/core/variables/BREAD_COMMUNITY.md +8 -0
  124. package/docs/api/@aastar/core/variables/CHAIN_MAINNET.md +3 -0
  125. package/docs/api/@aastar/core/variables/CHAIN_SEPOLIA.md +5 -0
  126. package/docs/api/@aastar/core/variables/COMMUNITIES.md +5 -0
  127. package/docs/api/@aastar/core/variables/COMMUNITY_OWNERS.md +15 -0
  128. package/docs/api/@aastar/core/variables/CONTRACTS.md +179 -0
  129. package/docs/api/@aastar/core/variables/CONTRACT_METADATA.md +67 -0
  130. package/docs/api/@aastar/core/variables/CONTRACT_SRC_HASH.md +5 -0
  131. package/docs/api/@aastar/core/variables/CORE_ADDRESSES.md +51 -0
  132. package/docs/api/@aastar/core/variables/DEFAULT_ADMIN_ROLE.md +17 -0
  133. package/docs/api/@aastar/core/variables/DEFAULT_APNTS_PRICE_USD.md +5 -0
  134. package/docs/api/@aastar/core/variables/DEFAULT_CALL_GAS_LIMIT.md +3 -0
  135. package/docs/api/@aastar/core/variables/DEFAULT_GAS_TOKEN_MINT_AMOUNT.md +5 -0
  136. package/docs/api/@aastar/core/variables/DEFAULT_PRE_VERIFICATION_GAS.md +3 -0
  137. package/docs/api/@aastar/core/variables/DEFAULT_TIMEOUT_MS.md +5 -0
  138. package/docs/api/@aastar/core/variables/DEFAULT_TOKEN_NAME.md +3 -0
  139. package/docs/api/@aastar/core/variables/DEFAULT_TOKEN_SYMBOL.md +5 -0
  140. package/docs/api/@aastar/core/variables/DEFAULT_USDT_MINT_AMOUNT.md +5 -0
  141. package/docs/api/@aastar/core/variables/DEFAULT_VERIFICATION_GAS_LIMIT.md +5 -0
  142. package/docs/api/@aastar/core/variables/DVTValidatorABI.md +3 -0
  143. package/docs/api/@aastar/core/variables/DVTValidatorArtifact.md +13 -0
  144. package/docs/api/@aastar/core/variables/DVT_VALIDATOR_ADDRESS.md +3 -0
  145. package/docs/api/@aastar/core/variables/ENTRY_POINT_0_8_ADDRESS.md +3 -0
  146. package/docs/api/@aastar/core/variables/ENTRY_POINT_0_9_ADDRESS.md +3 -0
  147. package/docs/api/@aastar/core/variables/ENTRY_POINT_ADDRESS.md +3 -0
  148. package/docs/api/@aastar/core/variables/EntryPointABI.md +3 -0
  149. package/docs/api/@aastar/core/variables/EntryPointArtifact.md +13 -0
  150. package/docs/api/@aastar/core/variables/FAUCET_API_URL.md +5 -0
  151. package/docs/api/@aastar/core/variables/GTOKEN_ADDRESS.md +3 -0
  152. package/docs/api/@aastar/core/variables/GTOKEN_STAKING_ADDRESS.md +3 -0
  153. package/docs/api/@aastar/core/variables/GTokenABI.md +3 -0
  154. package/docs/api/@aastar/core/variables/GTokenArtifact.md +13 -0
  155. package/docs/api/@aastar/core/variables/GTokenStakingABI.md +3 -0
  156. package/docs/api/@aastar/core/variables/GTokenStakingArtifact.md +13 -0
  157. package/docs/api/@aastar/core/variables/INITIAL_ROLE_STAKES.md +13 -0
  158. package/docs/api/@aastar/core/variables/LINKS.md +33 -0
  159. package/docs/api/@aastar/core/variables/MAX_SERVICE_FEE.md +5 -0
  160. package/docs/api/@aastar/core/variables/MONITORING_ADDRESSES.md +15 -0
  161. package/docs/api/@aastar/core/variables/MySBTABI.md +3 -0
  162. package/docs/api/@aastar/core/variables/MySBTArtifact.md +13 -0
  163. package/docs/api/@aastar/core/variables/NETWORKS.md +79 -0
  164. package/docs/api/@aastar/core/variables/NODE_STAKE_AMOUNTS.md +31 -0
  165. package/docs/api/@aastar/core/variables/OFFICIAL_ADDRESSES.md +11 -0
  166. package/docs/api/@aastar/core/variables/PAYMASTER_ADDRESSES.md +15 -0
  167. package/docs/api/@aastar/core/variables/PAYMASTER_FACTORY_ADDRESS.md +3 -0
  168. package/docs/api/@aastar/core/variables/PAYMASTER_V4_IMPL_ADDRESS.md +3 -0
  169. package/docs/api/@aastar/core/variables/PaymasterABI.md +3 -0
  170. package/docs/api/@aastar/core/variables/PaymasterArtifact.md +13 -0
  171. package/docs/api/@aastar/core/variables/PaymasterFactoryABI.md +3 -0
  172. package/docs/api/@aastar/core/variables/PaymasterFactoryArtifact.md +13 -0
  173. package/docs/api/@aastar/core/variables/PaymasterV4ABI.md +3 -0
  174. package/docs/api/@aastar/core/variables/PaymasterV4Artifact.md +13 -0
  175. package/docs/api/@aastar/core/variables/REGISTRY_ADDRESS.md +3 -0
  176. package/docs/api/@aastar/core/variables/REPUTATION_SYSTEM_ADDRESS.md +3 -0
  177. package/docs/api/@aastar/core/variables/ROLE_ANODE.md +29 -0
  178. package/docs/api/@aastar/core/variables/ROLE_COMMUNITY.md +29 -0
  179. package/docs/api/@aastar/core/variables/ROLE_DVT.md +29 -0
  180. package/docs/api/@aastar/core/variables/ROLE_ENDUSER.md +33 -0
  181. package/docs/api/@aastar/core/variables/ROLE_KMS.md +29 -0
  182. package/docs/api/@aastar/core/variables/ROLE_NAMES.md +3 -0
  183. package/docs/api/@aastar/core/variables/ROLE_PAYMASTER_AOA.md +29 -0
  184. package/docs/api/@aastar/core/variables/ROLE_PAYMASTER_SUPER.md +33 -0
  185. package/docs/api/@aastar/core/variables/ROLE_PERMISSION_LEVELS.md +3 -0
  186. package/docs/api/@aastar/core/variables/RegistryABI.md +3 -0
  187. package/docs/api/@aastar/core/variables/RegistryArtifact.md +13 -0
  188. package/docs/api/@aastar/core/variables/ReputationSystemABI.md +3 -0
  189. package/docs/api/@aastar/core/variables/ReputationSystemArtifact.md +13 -0
  190. package/docs/api/@aastar/core/variables/SBT_ADDRESS.md +3 -0
  191. package/docs/api/@aastar/core/variables/SEPOLIA_CONTRACTS.md +175 -0
  192. package/docs/api/@aastar/core/variables/SEPOLIA_V2_VERSIONS.md +67 -0
  193. package/docs/api/@aastar/core/variables/SERVICE_FEE_RATE.md +5 -0
  194. package/docs/api/@aastar/core/variables/SUPER_PAYMASTER_ADDRESS.md +3 -0
  195. package/docs/api/@aastar/core/variables/SimpleAccountABI.md +3 -0
  196. package/docs/api/@aastar/core/variables/SimpleAccountArtifact.md +13 -0
  197. package/docs/api/@aastar/core/variables/SimpleAccountFactoryABI.md +3 -0
  198. package/docs/api/@aastar/core/variables/SimpleAccountFactoryArtifact.md +13 -0
  199. package/docs/api/@aastar/core/variables/SuperPaymasterABI.md +3 -0
  200. package/docs/api/@aastar/core/variables/SuperPaymasterArtifact.md +13 -0
  201. package/docs/api/@aastar/core/variables/TEST_ACCOUNT_ADDRESSES.md +11 -0
  202. package/docs/api/@aastar/core/variables/TEST_ACCOUNT_POOL_SIZE.md +5 -0
  203. package/docs/api/@aastar/core/variables/TEST_COMMUNITIES.md +19 -0
  204. package/docs/api/@aastar/core/variables/TEST_TOKEN_ADDRESSES.md +19 -0
  205. package/docs/api/@aastar/core/variables/TOKEN_ADDRESSES.md +11 -0
  206. package/docs/api/@aastar/core/variables/V2_SUMMARY.md +39 -0
  207. package/docs/api/@aastar/core/variables/XPNTS_FACTORY_ADDRESS.md +3 -0
  208. package/docs/api/@aastar/core/variables/xPNTsFactoryABI.md +3 -0
  209. package/docs/api/@aastar/core/variables/xPNTsFactoryArtifact.md +13 -0
  210. package/docs/api/@aastar/core/variables/xPNTsTokenABI.md +3 -0
  211. package/docs/api/@aastar/core/variables/xPNTsTokenArtifact.md +13 -0
  212. package/docs/api/@aastar/paymaster/README.md +23 -0
  213. package/docs/api/@aastar/paymaster/classes/PaymasterClient.md +388 -0
  214. package/docs/api/@aastar/paymaster/classes/PaymasterOperator.md +451 -0
  215. package/docs/api/@aastar/paymaster/classes/SuperPaymasterAdminClient.md +189 -0
  216. package/docs/api/@aastar/paymaster/classes/SuperPaymasterClient.md +55 -0
  217. package/docs/api/@aastar/paymaster/functions/buildPaymasterData.md +34 -0
  218. package/docs/api/@aastar/paymaster/functions/buildSuperPaymasterData.md +30 -0
  219. package/docs/api/@aastar/paymaster/functions/checkEligibility.md +28 -0
  220. package/docs/api/@aastar/paymaster/functions/formatUserOpV07.md +15 -0
  221. package/docs/api/@aastar/paymaster/functions/getPaymasterV4Middleware.md +32 -0
  222. package/docs/api/@aastar/paymaster/functions/getSuperPaymasterMiddleware.md +32 -0
  223. package/docs/api/@aastar/paymaster/functions/getUserOpHashV07.md +21 -0
  224. package/docs/api/@aastar/paymaster/type-aliases/GaslessReadinessReport.md +55 -0
  225. package/docs/api/@aastar/paymaster/type-aliases/GaslessTransactionConfig.md +59 -0
  226. package/docs/api/@aastar/paymaster/type-aliases/PaymasterConfig.md +43 -0
  227. package/docs/api/@aastar/paymaster/type-aliases/PaymasterV4MiddlewareConfig.md +35 -0
  228. package/docs/api/@aastar/tokens/README.md +3 -0
  229. package/docs/api/@aastar/tokens/classes/FinanceClient.md +10385 -0
  230. package/docs/api/README.md +4 -8
  231. package/env.template +3 -5
  232. package/examples/l1-api-demo.ts +196 -107
  233. package/examples/l2-clients-demo.ts +70 -73
  234. package/examples/l3-community-launch.ts +49 -0
  235. package/examples/l3-user-onboarding.ts +36 -54
  236. package/examples/prepare-gasless.ts +1 -1
  237. package/examples/simple-gasless-demo.ts +55 -26
  238. package/examples/simple-superpaymaster-demo.ts +2 -2
  239. package/ext/aastar-shared-config/generate-comparison-table.sh +0 -0
  240. package/ext/aastar-shared-config/sync-abis.sh +0 -0
  241. package/ext/aastar-shared-config/sync-versions.mjs +0 -0
  242. package/ext/aastar-shared-config/verify-all.sh +0 -0
  243. package/ext/aastar-shared-config/verify-contracts.sh +0 -0
  244. package/l4-setup.sh +1 -11
  245. package/lib/shared-config/generate-comparison-table.sh +0 -0
  246. package/lib/shared-config/sync-abis.sh +0 -0
  247. package/lib/shared-config/sync-versions.mjs +0 -0
  248. package/lib/shared-config/verify-all.sh +0 -0
  249. package/lib/shared-config/verify-contracts.sh +0 -0
  250. package/package.json +36 -32
  251. package/packages/account/__tests__/index.test.ts +9 -0
  252. package/packages/account/node_modules/.bin/tsc +21 -0
  253. package/packages/account/node_modules/.bin/tsserver +21 -0
  254. package/packages/account/node_modules/.vite/vitest/da39a3ee5e6b4b0d3255bfef95601890afd80709/results.json +1 -0
  255. package/packages/account/package.json +3 -5
  256. package/packages/account/src/eoa.ts +2 -4
  257. package/packages/account/tsconfig.json +2 -1
  258. package/packages/analytics/README.md +68 -0
  259. package/packages/analytics/__tests__/index.test.ts +25 -0
  260. package/packages/analytics/data/attribution_dataset.csv +29 -0
  261. package/packages/analytics/data/complete_dataset.csv +29 -0
  262. package/packages/analytics/data/eth_price_cache.json +4 -0
  263. package/packages/analytics/data/full_dataset.csv +11 -0
  264. package/packages/analytics/data/full_dataset.json +134 -0
  265. package/packages/analytics/data/parsed_transactions.csv +29 -0
  266. package/packages/analytics/node_modules/.bin/tsc +21 -0
  267. package/packages/analytics/node_modules/.bin/tsserver +21 -0
  268. package/packages/analytics/node_modules/.vite/vitest/da39a3ee5e6b4b0d3255bfef95601890afd80709/results.json +1 -0
  269. package/packages/analytics/package.json +2 -5
  270. package/packages/analytics/reports/full/attribution_analysis_20260119.md +42 -0
  271. package/packages/analytics/reports/full/attribution_analysis_fresh_20260119.md +67 -0
  272. package/packages/analytics/reports/full/competitive_analysis_20260119.md +103 -0
  273. package/packages/analytics/reports/full/comprehensive_analysis_20260119.md +107 -0
  274. package/packages/analytics/reports/full/comprehensive_analysis_v4_1_20260119.md +74 -0
  275. package/packages/analytics/reports/full/economic_audit_v4_2_20260119.md +74 -0
  276. package/packages/analytics/reports/full/profit_audit_v4_3_20260119.md +74 -0
  277. package/packages/analytics/reports/full/profit_audit_v4_4_20260119.md +74 -0
  278. package/packages/analytics/reports/full/profit_audit_v4_5_20260119.md +74 -0
  279. package/packages/analytics/reports/full/profit_audit_v4_6_20260119.md +74 -0
  280. package/packages/analytics/reports/full/profit_audit_v4_final_20260119.md +74 -0
  281. package/packages/analytics/reports/full/profit_audit_v4_final_v2_20260119.md +74 -0
  282. package/packages/analytics/reports/full/profit_audit_v4_final_v3_20260119.md +74 -0
  283. package/packages/analytics/reports/full/profit_audit_v4_final_v4_20260119.md +75 -0
  284. package/packages/analytics/reports/full/profit_audit_v4_final_v5_20260119.md +76 -0
  285. package/packages/analytics/reports/full/two_layer_analysis_20260119.md +81 -0
  286. package/packages/analytics/reports/full/two_layer_analysis_academic_20260119.md +81 -0
  287. package/packages/analytics/reports/full/two_layer_analysis_dynamic_20260119.md +81 -0
  288. package/packages/analytics/reports/full/two_layer_analysis_final_20260119.md +81 -0
  289. package/packages/analytics/reports/full/two_layer_analysis_final_fixed_20260119.md +81 -0
  290. package/packages/analytics/reports/full/two_layer_analysis_fixed_20260119.md +52 -0
  291. package/packages/analytics/reports/full/two_layer_analysis_normalized_20260119.md +81 -0
  292. package/packages/analytics/reports/full/tx_0xc30cfcbb.md +39 -0
  293. package/packages/analytics/src/analyzers/AttributionAnalyzer.ts +124 -0
  294. package/packages/analytics/src/analyzers/ComparisonAnalyzer.ts +89 -0
  295. package/packages/analytics/src/analyzers/TransactionAnalyzer.ts +111 -0
  296. package/packages/analytics/src/analyzers/TrendAnalyzer.ts +107 -0
  297. package/packages/analytics/src/cli-analyze-tx.ts +45 -0
  298. package/packages/analytics/src/cli.ts +39 -0
  299. package/packages/analytics/src/core/BenchmarkLoader.ts +163 -0
  300. package/packages/analytics/src/core/CostCalculator.ts +202 -0
  301. package/packages/analytics/src/core/DataCollector.ts +245 -0
  302. package/packages/analytics/src/gas-analyzer-v4.ts +118 -0
  303. package/packages/analytics/src/gas-analyzer.ts +184 -0
  304. package/packages/analytics/src/test-logparser.ts +63 -0
  305. package/packages/analytics/src/utils/EventDecoder.ts +152 -0
  306. package/packages/analytics/src/utils/LogParser.ts +220 -0
  307. package/packages/analytics/src/utils/PriceOracle.ts +117 -0
  308. package/packages/analytics/test/AttributionAnalyzer.test.ts +42 -0
  309. package/packages/analytics/test/CostCalculator.test.ts +75 -0
  310. package/packages/analytics/tsconfig.json +2 -1
  311. package/packages/community/__tests__/index.test.ts +9 -0
  312. package/packages/community/node_modules/.bin/tsc +21 -0
  313. package/packages/community/node_modules/.bin/tsserver +21 -0
  314. package/packages/community/node_modules/.vite/vitest/da39a3ee5e6b4b0d3255bfef95601890afd80709/results.json +1 -0
  315. package/packages/community/package.json +27 -0
  316. package/packages/community/src/index.ts +326 -0
  317. package/packages/community/tsconfig.json +8 -0
  318. package/packages/core/__tests__/actions/account-comprehensive.test.ts +92 -0
  319. package/packages/core/__tests__/actions/aggregator.test.ts +62 -0
  320. package/packages/core/__tests__/actions/comprehensive-batch1.test.ts +86 -0
  321. package/packages/core/__tests__/actions/comprehensive-batch2.test.ts +39 -0
  322. package/packages/core/__tests__/actions/comprehensive-batch3.test.ts +35 -0
  323. package/packages/core/__tests__/actions/comprehensive-error.test.ts +115 -0
  324. package/packages/core/__tests__/actions/dvt.test.ts +39 -0
  325. package/packages/core/__tests__/actions/edge-cases.test.ts +39 -0
  326. package/packages/core/__tests__/actions/error-paths.test.ts +82 -0
  327. package/packages/core/__tests__/actions/factory.test.ts +81 -0
  328. package/packages/core/__tests__/actions/faucet.test.ts +131 -0
  329. package/packages/core/__tests__/actions/paymaster.test.ts +116 -0
  330. package/packages/core/__tests__/actions/registry.test.ts +81 -0
  331. package/packages/core/__tests__/actions/reputation.test.ts +43 -0
  332. package/packages/core/__tests__/actions/sbt.test.ts +145 -0
  333. package/packages/core/__tests__/actions/staking.test.ts +30 -0
  334. package/packages/core/__tests__/actions/superPaymaster.test.ts +158 -0
  335. package/packages/core/__tests__/actions/tokens-extended.test.ts +18 -0
  336. package/packages/core/__tests__/actions/tokens.test.ts +122 -0
  337. package/packages/core/__tests__/clients.test.ts +77 -0
  338. package/packages/core/__tests__/contracts-config.test.ts +69 -0
  339. package/packages/core/__tests__/index.test.ts +9 -0
  340. package/packages/core/__tests__/mocks/client.ts +40 -0
  341. package/packages/core/node_modules/.bin/tsc +21 -0
  342. package/packages/core/node_modules/.bin/tsserver +21 -0
  343. package/packages/core/node_modules/.bin/tsx +21 -0
  344. package/packages/core/node_modules/.bin/vite +21 -0
  345. package/packages/core/node_modules/.bin/vitest +21 -0
  346. package/packages/core/node_modules/.bin/yaml +21 -0
  347. package/packages/core/node_modules/.vite/vitest/da39a3ee5e6b4b0d3255bfef95601890afd80709/results.json +1 -0
  348. package/packages/core/package.json +5 -12
  349. package/packages/core/src/abis/SuperPaymaster.json +1 -1
  350. package/packages/core/src/abis/aPNTs.json +1160 -0
  351. package/packages/core/src/abis/abi.config.json +3 -3
  352. package/packages/core/src/abis/index.ts +37 -50
  353. package/packages/core/src/actions/account.ts +137 -126
  354. package/packages/core/src/actions/aggregator.ts +363 -33
  355. package/packages/core/src/actions/dvt.ts +261 -45
  356. package/packages/core/src/actions/entryPoint.ts +56 -233
  357. package/packages/core/src/actions/factory.ts +671 -552
  358. package/packages/core/src/actions/faucet.ts +181 -322
  359. package/packages/core/src/actions/index.ts +2 -5
  360. package/packages/core/src/actions/paymaster.ts +780 -0
  361. package/packages/core/src/actions/registry.ts +926 -825
  362. package/packages/core/src/actions/reputation.ts +568 -278
  363. package/packages/core/src/actions/sbt.ts +867 -632
  364. package/packages/core/src/actions/staking.ts +440 -285
  365. package/packages/core/src/actions/superPaymaster.ts +1058 -793
  366. package/packages/core/src/actions/tokens.ts +468 -514
  367. package/packages/core/src/clients/BaseClient.ts +3 -3
  368. package/packages/core/src/clients/BundlerClient.ts +132 -0
  369. package/packages/core/src/communities.ts +2 -2
  370. package/packages/core/src/constants.ts +1 -32
  371. package/packages/core/src/contract-addresses.ts +3 -10
  372. package/packages/core/src/contract-versions.ts +374 -0
  373. package/packages/core/src/contracts.ts +2 -2
  374. package/packages/core/src/errors/index.ts +173 -0
  375. package/packages/core/src/index.ts +2 -1
  376. package/packages/core/src/requirementChecker.ts +39 -1
  377. package/packages/core/src/roles.ts +50 -61
  378. package/packages/core/src/validators/index.ts +88 -0
  379. package/packages/core/tsconfig.json +2 -1
  380. package/packages/dapp/__tests__/index.test.ts +9 -0
  381. package/packages/dapp/node_modules/.bin/tsc +21 -0
  382. package/packages/dapp/node_modules/.bin/tsserver +21 -0
  383. package/packages/dapp/node_modules/.vite/vitest/da39a3ee5e6b4b0d3255bfef95601890afd80709/results.json +1 -0
  384. package/packages/dapp/package.json +3 -5
  385. package/packages/dapp/tsconfig.json +2 -1
  386. package/packages/enduser/__tests__/CommunityClient.test.ts +205 -0
  387. package/packages/enduser/__tests__/UserClient.test.ts +294 -0
  388. package/packages/enduser/__tests__/index.test.ts +16 -0
  389. package/packages/enduser/__tests__/mocks/client.ts +22 -0
  390. package/packages/enduser/node_modules/.bin/tsc +21 -0
  391. package/packages/enduser/node_modules/.bin/tsserver +21 -0
  392. package/packages/enduser/node_modules/.vite/vitest/da39a3ee5e6b4b0d3255bfef95601890afd80709/results.json +1 -0
  393. package/packages/enduser/package.json +26 -0
  394. package/packages/enduser/src/CommunityClient.ts +235 -0
  395. package/packages/enduser/src/UserClient.ts +447 -0
  396. package/packages/enduser/src/index.ts +2 -0
  397. package/packages/enduser/src/testAccountManager.ts +374 -0
  398. package/packages/enduser/tsconfig.json +10 -0
  399. package/packages/identity/__tests__/index.test.ts +9 -0
  400. package/packages/identity/node_modules/.bin/tsc +21 -0
  401. package/packages/identity/node_modules/.bin/tsserver +21 -0
  402. package/packages/identity/node_modules/.vite/vitest/da39a3ee5e6b4b0d3255bfef95601890afd80709/results.json +1 -0
  403. package/packages/identity/package.json +3 -5
  404. package/packages/identity/tsconfig.json +2 -1
  405. package/packages/operator/__tests__/PaymasterOperatorClient.test.ts +258 -0
  406. package/packages/operator/__tests__/ProtocolClient.test.ts +135 -0
  407. package/packages/operator/__tests__/index.test.ts +16 -0
  408. package/packages/operator/__tests__/mocks/client.ts +22 -0
  409. package/packages/operator/node_modules/.bin/tsc +21 -0
  410. package/packages/operator/node_modules/.bin/tsserver +21 -0
  411. package/packages/operator/node_modules/.vite/vitest/da39a3ee5e6b4b0d3255bfef95601890afd80709/results.json +1 -0
  412. package/packages/operator/package.json +26 -0
  413. package/packages/operator/src/PaymasterOperatorClient.ts +454 -0
  414. package/packages/operator/src/ProtocolClient.ts +154 -0
  415. package/packages/operator/src/index.ts +2 -0
  416. package/packages/operator/tsconfig.json +10 -0
  417. package/packages/patterns/node_modules/.bin/tsc +21 -0
  418. package/packages/patterns/node_modules/.bin/tsserver +21 -0
  419. package/packages/paymaster/__tests__/PaymasterOperator.test.ts +123 -0
  420. package/packages/paymaster/__tests__/index.test.ts +9 -0
  421. package/packages/paymaster/node_modules/.bin/tsc +21 -0
  422. package/packages/paymaster/node_modules/.bin/tsserver +21 -0
  423. package/packages/paymaster/node_modules/.vite/vitest/da39a3ee5e6b4b0d3255bfef95601890afd80709/results.json +1 -0
  424. package/packages/paymaster/package.json +4 -6
  425. package/packages/paymaster/src/V4/BundlerCompat.ts +47 -0
  426. package/packages/paymaster/src/V4/PaymasterClient.ts +122 -17
  427. package/packages/paymaster/src/V4/PaymasterUtils.ts +37 -23
  428. package/packages/paymaster/src/V4/SuperPaymasterClient.ts +17 -11
  429. package/packages/paymaster/tsconfig.json +8 -3
  430. package/packages/sdk/README.md +21 -0
  431. package/packages/sdk/__tests__/index.test.ts +9 -0
  432. package/packages/sdk/aastar/package.json +1 -1
  433. package/packages/sdk/aastar/tsconfig.json +2 -1
  434. package/packages/sdk/node_modules/.bin/tsc +21 -0
  435. package/packages/sdk/node_modules/.bin/tsserver +21 -0
  436. package/packages/sdk/node_modules/.vite/vitest/da39a3ee5e6b4b0d3255bfef95601890afd80709/results.json +1 -0
  437. package/packages/sdk/package.json +4 -14
  438. package/packages/sdk/src/clients/admin.ts +10 -108
  439. package/packages/sdk/src/clients/community.ts +242 -176
  440. package/packages/sdk/src/clients/endUser.ts +168 -291
  441. package/packages/sdk/src/clients/operator.ts +87 -162
  442. package/packages/sdk/src/errors/decoder.ts +41 -84
  443. package/packages/sdk/src/index.ts +10 -9
  444. package/packages/sdk/src/utils/keys.ts +0 -15
  445. package/packages/sdk/src/utils/roleData.ts +26 -15
  446. package/packages/sdk/src/utils/testScenarios.ts +2 -2
  447. package/packages/sdk/src/utils/userOp.ts +3 -11
  448. package/packages/sdk/tsconfig.json +2 -1
  449. package/packages/tokens/__tests__/index.test.ts +9 -0
  450. package/packages/tokens/node_modules/.bin/tsc +21 -0
  451. package/packages/tokens/node_modules/.bin/tsserver +21 -0
  452. package/packages/tokens/node_modules/.vite/vitest/da39a3ee5e6b4b0d3255bfef95601890afd80709/results.json +1 -0
  453. package/packages/tokens/package.json +3 -5
  454. package/packages/tokens/src/index.ts +0 -15
  455. package/packages/tokens/tsconfig.json +2 -1
  456. package/publish.sh +30 -0
  457. package/run_l4_gasless_regression.sh +35 -5
  458. package/run_sdk_regression.sh +3 -9
  459. package/scripts/01_prepare_all.ts +198 -149
  460. package/scripts/02_test_eoa.ts +24 -27
  461. package/scripts/03_test_standard_aa.ts +153 -48
  462. package/scripts/04_test_paymaster_v4.ts +198 -41
  463. package/scripts/05_test_superpaymaster.ts +362 -40
  464. package/scripts/11_test_core_flows_full.ts +197 -75
  465. package/scripts/18_test_dvt_sdk_flow.ts +1 -1
  466. package/scripts/19_sdk_experiment_runner.ts +135 -42
  467. package/scripts/20_sdk_full_capability.ts +77 -75
  468. package/scripts/analyze_abi_coverage.ts +4 -4
  469. package/scripts/analyze_missing_functions.ts +136 -0
  470. package/scripts/canary-bundler.ts +47 -0
  471. package/scripts/check-chainlink.ts +28 -0
  472. package/scripts/check-jason-status.ts +61 -160
  473. package/scripts/check-roles.ts +1 -1
  474. package/scripts/complete-jack-superpaymaster.ts +1 -1
  475. package/scripts/deploy_and_init_v3.sh +0 -0
  476. package/scripts/deploy_jason_pm.ts +114 -0
  477. package/scripts/dev_tools/extract_abis.sh +0 -0
  478. package/scripts/dev_tools/extract_addresses_to_env.sh +0 -0
  479. package/scripts/extract-docs.sh +9 -78
  480. package/scripts/l4-debug-bob.ts +62 -0
  481. package/scripts/l4-paymasterv4-transfer-test.ts +12 -20
  482. package/scripts/l4-setup.ts +1235 -341
  483. package/scripts/l4-state.json +16 -14
  484. package/scripts/manual-update-price.ts +39 -0
  485. package/scripts/phase1_verify_contracts.ts +1 -1
  486. package/scripts/publish_all.sh +0 -0
  487. package/scripts/query-jack-token.ts +1 -1
  488. package/scripts/run_automated_experiment.sh +0 -0
  489. package/scripts/run_full_regression.sh +38 -0
  490. package/scripts/run_l4_gasless_regression.sh +0 -0
  491. package/scripts/run_sdk_experiment.sh +0 -0
  492. package/scripts/run_sdk_regression-v2.sh +0 -0
  493. package/scripts/sdk_regression_v2.ts +20 -34
  494. package/scripts/security_audit.sh +0 -0
  495. package/scripts/setup-bbq-community.ts +2 -2
  496. package/scripts/setup-dancing-community.ts +3 -3
  497. package/scripts/test-brown-v4-deploy.ts +2 -2
  498. package/scripts/test-faucet-and-gasless.ts +119 -139
  499. package/scripts/test-jack-gasless.ts +1 -1
  500. package/scripts/test-jack-registration.ts +2 -2
  501. package/scripts/test-jack-superpaymaster-api.ts +2 -2
  502. package/scripts/test-kms-gasless.ts +307 -93
  503. package/scripts/update-price-dvt.ts +53 -0
  504. package/scripts/v2_regression/01_setup_and_fund.ts +1 -1
  505. package/scripts/v2_regression/02_operator_onboarding.ts +140 -14
  506. package/scripts/v2_regression/03_community_registry.ts +58 -24
  507. package/scripts/v2_regression/04_enduser_flow.ts +49 -16
  508. package/scripts/v2_regression/05_admin_audit.ts +1 -1
  509. package/scripts/verify-bob-token.ts +41 -0
  510. package/sdk-abi-coverage.sh +1 -0
  511. package/sdk-build-and-test.sh +1 -0
  512. package/sdk-test-coverage.sh +1 -0
  513. package/simple-test-paymaster.sh +1 -1
  514. package/simple-test-superpaymaster.sh +3 -1
  515. package/tests/check-aa-balance.ts +31 -0
  516. package/tests/l1-regression.test.ts +13 -34
  517. package/tests/l4-test-anni-gasless.ts +497 -85
  518. package/tests/l4-test-jason1-gasless.ts +29 -21
  519. package/tests/l4-test-jason2-gasless.ts +21 -15
  520. package/tests/l4-test-pmv4-deposit.ts +2 -2
  521. package/tests/l4-test-pmv4-gasless.ts +2 -2
  522. package/tests/l4-test-pmv4-submit.ts +2 -2
  523. package/tests/regression/config.ts +4 -2
  524. package/tests/regression/index.ts +0 -0
  525. package/tests/regression/l1-tests.ts +16 -35
  526. package/tests/regression/l2-tests.ts +149 -93
  527. package/tests/regression/l3-tests.ts +16 -113
  528. package/tests/regression/l4-comprehensive-gasless.ts +478 -0
  529. package/tests/regression/l4-gasless.ts +115 -13
  530. package/tests/regression/l4-reputation-tiers.ts +102 -0
  531. package/tests/test-bundler-compat.ts +132 -0
  532. package/tests/test-candide-bundler.ts +117 -0
  533. package/tests/test-candide-paymaster.ts +101 -0
  534. package/tests/test-candide-sdk.ts +116 -0
  535. package/tests/test-candide-simple.ts +204 -0
  536. package/tests/test-pimlico-complete.ts +134 -0
  537. package/tests/utils/contractVerifier.ts +3 -3
  538. package/tsconfig.build.json +23 -0
  539. package/tsconfig.json +5 -19
  540. package/typedoc.json +5 -39
  541. package/update-version.sh +20 -0
  542. package/vitest.config.ts +6 -5
  543. package/.eslintrc.cjs +0 -30
  544. package/docs/ABI_Change_Tracking_Workflow.md +0 -41
  545. package/docs/Faucet_Gasless_Plan.md +0 -56
  546. package/docs/api/@aastar/account.md +0 -235
  547. package/docs/api/@aastar/analytics.md +0 -219
  548. package/docs/api/@aastar/core.md +0 -26830
  549. package/docs/api/@aastar/dapp.md +0 -130
  550. package/docs/api/@aastar/identity.md +0 -482
  551. package/docs/api/@aastar/paymaster.md +0 -1387
  552. package/docs/api/@aastar/sdk/README.md +0 -155
  553. package/docs/api/@aastar/sdk/node.md +0 -4044
  554. package/docs/api/@aastar/tokens.md +0 -1971
  555. package/docs/changelog.md +0 -99
  556. package/docs/examples/README.md +0 -18
  557. package/docs/guide/concepts/account-abstraction.md +0 -95
  558. package/docs/guide/concepts/rainbow-bridge.md +0 -68
  559. package/docs/guide/concepts/reputation.md +0 -95
  560. package/docs/guide/concepts/superpaymaster.md +0 -141
  561. package/docs/guide/use-cases/community-management.md +0 -141
  562. package/docs/guide/use-cases/gasless-transactions.md +0 -71
  563. package/docs/guide/use-cases/operator-staking.md +0 -84
  564. package/docs/guide/use-cases/yop.md +0 -72
  565. package/docs/refactor/2026-01-13-221242-trae-refactor.md +0 -224
  566. package/docs/refactor/2026-01-13-audit-analysis.md +0 -96
  567. package/docs/refactor/2026-01-13-audit-report-v0.16.2.md +0 -76
  568. package/docs/refactor/2026-01-13-audit-report-v0.17.0.md +0 -74
  569. package/docs/refactor/2026-01-13-cursor-refactor.md +0 -511
  570. package/docs/refactor/2026-01-13-refactor-plan.md +0 -88
  571. package/docs/refactor/2026-01-13-refactor-response-plan.md +0 -77
  572. package/docs/refactor/2026-01-13-refactor-review.md +0 -39
  573. package/docs/refactor/2026-01-13-sdk-enhancement-plan.md +0 -120
  574. package/docs/refactor/2026-01-14-audit-response.md +0 -242
  575. package/docs/refactor/2026-01-14-audit-summary.md +0 -133
  576. package/docs/refactor/cursor-2026-01-13-14-00-audit-report.md +0 -267
  577. package/packages/account/src/accounts/simple.test.ts +0 -93
  578. package/packages/account/src/eoa.test.ts +0 -37
  579. package/packages/account/src/index.test.ts +0 -34
  580. package/packages/core/scripts/audit-abi-coverage.ts +0 -165
  581. package/packages/core/scripts/debug-regex.ts +0 -36
  582. package/packages/core/src/abis/.abi-hashes.json +0 -26
  583. package/packages/core/src/actions/StateValidator.test.ts +0 -175
  584. package/packages/core/src/actions/account.test.ts +0 -155
  585. package/packages/core/src/actions/aggregator.test.ts +0 -88
  586. package/packages/core/src/actions/dvt.test.ts +0 -124
  587. package/packages/core/src/actions/entryPoint.test.ts +0 -176
  588. package/packages/core/src/actions/factory.test.ts +0 -250
  589. package/packages/core/src/actions/faucet.test.ts +0 -202
  590. package/packages/core/src/actions/gtokenExtended.test.ts +0 -162
  591. package/packages/core/src/actions/gtokenExtended.ts +0 -153
  592. package/packages/core/src/actions/paymasterV4.test.ts +0 -209
  593. package/packages/core/src/actions/paymasterV4.ts +0 -455
  594. package/packages/core/src/actions/registry.test.ts +0 -443
  595. package/packages/core/src/actions/reputation.test.ts +0 -225
  596. package/packages/core/src/actions/sbt.test.ts +0 -322
  597. package/packages/core/src/actions/staking.test.ts +0 -273
  598. package/packages/core/src/actions/superPaymaster.test.ts +0 -356
  599. package/packages/core/src/actions/tokens.test.ts +0 -60
  600. package/packages/core/src/actions/validators.test.ts +0 -239
  601. package/packages/core/src/actions/validators.ts +0 -590
  602. package/packages/core/src/contracts.test.ts +0 -58
  603. package/packages/core/src/requirementChecker.test.ts +0 -71
  604. package/packages/core/src/roles.test.ts +0 -34
  605. package/packages/core/src/utils/validation.test.ts +0 -50
  606. package/packages/core/src/utils/validation.ts +0 -66
  607. package/packages/core/vitest.config.ts +0 -14
  608. package/packages/paymaster/src/V4/PaymasterClient.test.ts +0 -114
  609. package/packages/paymaster/src/V4/PaymasterOperator.test.ts +0 -80
  610. package/packages/paymaster/src/V4/PaymasterUtils.test.ts +0 -54
  611. package/packages/paymaster/src/V4/SuperPaymasterClient.test.ts +0 -79
  612. package/packages/sdk/coverage_output.txt +0 -393
  613. package/packages/sdk/coverage_output_final.txt +0 -739
  614. package/packages/sdk/coverage_output_final_v2.txt +0 -722
  615. package/packages/sdk/coverage_output_final_v3.txt +0 -722
  616. package/packages/sdk/src/clients/ExperimentClient.test.ts +0 -65
  617. package/packages/sdk/src/clients/admin.test.ts +0 -98
  618. package/packages/sdk/src/clients/clients.test.ts +0 -104
  619. package/packages/sdk/src/clients/community.test.ts +0 -118
  620. package/packages/sdk/src/clients/endUser.test.ts +0 -221
  621. package/packages/sdk/src/clients/operator.test.ts +0 -162
  622. package/packages/sdk/src/errors/AAStarError.test.ts +0 -92
  623. package/packages/sdk/src/errors/AAStarError.ts +0 -70
  624. package/packages/sdk/src/errors/decoder.test.ts +0 -107
  625. package/packages/sdk/src/node/index.ts +0 -8
  626. package/packages/sdk/src/types/result.ts +0 -29
  627. package/packages/sdk/src/utils/errorHandler.test.ts +0 -102
  628. package/packages/sdk/src/utils/eventDecoder.test.ts +0 -56
  629. package/packages/sdk/src/utils/eventDecoder.ts +0 -66
  630. package/packages/sdk/src/utils/funding.test.ts +0 -117
  631. package/packages/sdk/src/utils/keys.test.ts +0 -105
  632. package/packages/sdk/src/utils/roleData.test.ts +0 -85
  633. package/packages/sdk/src/utils/testScenarios.test.ts +0 -79
  634. package/packages/sdk/src/utils/userOp.test.ts +0 -190
  635. package/scripts/debug-addr.ts +0 -43
  636. package/scripts/debug-community-registration.ts +0 -92
  637. package/scripts/debug-deploy-v4.ts +0 -116
  638. package/scripts/debug-paymaster.ts +0 -127
  639. package/scripts/debug-register-role.ts +0 -101
  640. package/scripts/debug-version.ts +0 -71
  641. package/scripts/debug_account_c.ts +0 -43
  642. package/scripts/debug_bls.ts +0 -58
  643. package/scripts/debug_config_v036.ts +0 -13
  644. package/scripts/debug_contracts.ts +0 -2
  645. package/scripts/debug_env.ts +0 -69
  646. package/scripts/debug_find_paymaster.ts +0 -98
  647. package/scripts/debug_isolated_registration.ts +0 -256
  648. package/scripts/debug_paymaster_config.ts +0 -19
  649. package/scripts/debug_pim_addr.ts +0 -23
  650. package/scripts/debug_pm_status.ts +0 -51
  651. package/scripts/debug_registry.ts +0 -39
  652. package/scripts/debug_registry_setup.ts +0 -129
  653. package/scripts/debug_sanity.ts +0 -32
  654. package/scripts/debug_shared_config.ts +0 -10
  655. package/scripts/debug_token_compat.ts +0 -51
  656. package/scripts/debug_tokens.ts +0 -41
  657. package/scripts/debug_vcheck.ts +0 -33
  658. package/scripts/test_groups.ts +0 -138
  659. package/scripts/test_multi_community_anvil.ts +0 -276
  660. package/scripts/test_new_sdk_apis_sepolia.ts +0 -193
  661. package/scripts/test_sdk_join_idempotent.ts +0 -233
  662. package/scripts/test_simple_sepolia.ts +0 -44
@@ -0,0 +1,1311 @@
1
+ > **SuperPaymasterActions** = `object`
2
+
3
+ Defined in: [packages/core/src/actions/superPaymaster.ts:6](https://github.com/AAStarCommunity/aastar-sdk/blob/f3911a6f6e88b2f77186db63ad0182c2cfe13b9d/packages/core/src/actions/superPaymaster.ts#L6)
4
+
5
+ ## Properties
6
+
7
+ ### addSuperStake()
8
+
9
+ > **addSuperStake**: (`args`) => `Promise`\<[`Hash`](https://viem.sh/docs/index.html)\>
10
+
11
+ Defined in: [packages/core/src/actions/superPaymaster.ts:14](https://github.com/AAStarCommunity/aastar-sdk/blob/f3911a6f6e88b2f77186db63ad0182c2cfe13b9d/packages/core/src/actions/superPaymaster.ts#L14)
12
+
13
+ #### Parameters
14
+
15
+ ##### args
16
+
17
+ ###### account?
18
+
19
+ [`Account`](https://viem.sh/docs/index.html) \| `Address`
20
+
21
+ ###### amount
22
+
23
+ `bigint`
24
+
25
+ #### Returns
26
+
27
+ `Promise`\<[`Hash`](https://viem.sh/docs/index.html)\>
28
+
29
+ ***
30
+
31
+ ### APNTS\_TOKEN()
32
+
33
+ > **APNTS\_TOKEN**: () => `Promise`\<`Address`\>
34
+
35
+ Defined in: [packages/core/src/actions/superPaymaster.ts:82](https://github.com/AAStarCommunity/aastar-sdk/blob/f3911a6f6e88b2f77186db63ad0182c2cfe13b9d/packages/core/src/actions/superPaymaster.ts#L82)
36
+
37
+ #### Returns
38
+
39
+ `Promise`\<`Address`\>
40
+
41
+ ***
42
+
43
+ ### aPNTsPriceUSD()
44
+
45
+ > **aPNTsPriceUSD**: () => `Promise`\<`bigint`\>
46
+
47
+ Defined in: [packages/core/src/actions/superPaymaster.ts:45](https://github.com/AAStarCommunity/aastar-sdk/blob/f3911a6f6e88b2f77186db63ad0182c2cfe13b9d/packages/core/src/actions/superPaymaster.ts#L45)
48
+
49
+ #### Returns
50
+
51
+ `Promise`\<`bigint`\>
52
+
53
+ ***
54
+
55
+ ### balanceOfOperator()
56
+
57
+ > **balanceOfOperator**: (`args`) => `Promise`\<`bigint`\>
58
+
59
+ Defined in: [packages/core/src/actions/superPaymaster.ts:44](https://github.com/AAStarCommunity/aastar-sdk/blob/f3911a6f6e88b2f77186db63ad0182c2cfe13b9d/packages/core/src/actions/superPaymaster.ts#L44)
60
+
61
+ #### Parameters
62
+
63
+ ##### args
64
+
65
+ ###### operator
66
+
67
+ `Address`
68
+
69
+ #### Returns
70
+
71
+ `Promise`\<`bigint`\>
72
+
73
+ ***
74
+
75
+ ### blockedUsers()
76
+
77
+ > **blockedUsers**: (`args`) => `Promise`\<`boolean`\>
78
+
79
+ Defined in: [packages/core/src/actions/superPaymaster.ts:43](https://github.com/AAStarCommunity/aastar-sdk/blob/f3911a6f6e88b2f77186db63ad0182c2cfe13b9d/packages/core/src/actions/superPaymaster.ts#L43)
80
+
81
+ #### Parameters
82
+
83
+ ##### args
84
+
85
+ ###### user
86
+
87
+ `Address`
88
+
89
+ #### Returns
90
+
91
+ `Promise`\<`boolean`\>
92
+
93
+ ***
94
+
95
+ ### blockUser()
96
+
97
+ > **blockUser**: (`args`) => `Promise`\<[`Hash`](https://viem.sh/docs/index.html)\>
98
+
99
+ Defined in: [packages/core/src/actions/superPaymaster.ts:32](https://github.com/AAStarCommunity/aastar-sdk/blob/f3911a6f6e88b2f77186db63ad0182c2cfe13b9d/packages/core/src/actions/superPaymaster.ts#L32)
100
+
101
+ #### Parameters
102
+
103
+ ##### args
104
+
105
+ ###### account?
106
+
107
+ [`Account`](https://viem.sh/docs/index.html) \| `Address`
108
+
109
+ ###### blocked
110
+
111
+ `boolean`
112
+
113
+ ###### user
114
+
115
+ `Address`
116
+
117
+ #### Returns
118
+
119
+ `Promise`\<[`Hash`](https://viem.sh/docs/index.html)\>
120
+
121
+ ***
122
+
123
+ ### BLS\_AGGREGATOR()
124
+
125
+ > **BLS\_AGGREGATOR**: () => `Promise`\<`Address`\>
126
+
127
+ Defined in: [packages/core/src/actions/superPaymaster.ts:84](https://github.com/AAStarCommunity/aastar-sdk/blob/f3911a6f6e88b2f77186db63ad0182c2cfe13b9d/packages/core/src/actions/superPaymaster.ts#L84)
128
+
129
+ #### Returns
130
+
131
+ `Promise`\<`Address`\>
132
+
133
+ ***
134
+
135
+ ### BPS\_DENOMINATOR()
136
+
137
+ > **BPS\_DENOMINATOR**: () => `Promise`\<`bigint`\>
138
+
139
+ Defined in: [packages/core/src/actions/superPaymaster.ts:88](https://github.com/AAStarCommunity/aastar-sdk/blob/f3911a6f6e88b2f77186db63ad0182c2cfe13b9d/packages/core/src/actions/superPaymaster.ts#L88)
140
+
141
+ #### Returns
142
+
143
+ `Promise`\<`bigint`\>
144
+
145
+ ***
146
+
147
+ ### cachedPrice()
148
+
149
+ > **cachedPrice**: () => `Promise`\<`any`\>
150
+
151
+ Defined in: [packages/core/src/actions/superPaymaster.ts:46](https://github.com/AAStarCommunity/aastar-sdk/blob/f3911a6f6e88b2f77186db63ad0182c2cfe13b9d/packages/core/src/actions/superPaymaster.ts#L46)
152
+
153
+ #### Returns
154
+
155
+ `Promise`\<`any`\>
156
+
157
+ ***
158
+
159
+ ### configureOperator()
160
+
161
+ > **configureOperator**: (`args`) => `Promise`\<[`Hash`](https://viem.sh/docs/index.html)\>
162
+
163
+ Defined in: [packages/core/src/actions/superPaymaster.ts:19](https://github.com/AAStarCommunity/aastar-sdk/blob/f3911a6f6e88b2f77186db63ad0182c2cfe13b9d/packages/core/src/actions/superPaymaster.ts#L19)
164
+
165
+ #### Parameters
166
+
167
+ ##### args
168
+
169
+ ###### account?
170
+
171
+ [`Account`](https://viem.sh/docs/index.html) \| `Address`
172
+
173
+ ###### exchangeRate
174
+
175
+ `bigint`
176
+
177
+ ###### treasury
178
+
179
+ `Address`
180
+
181
+ ###### xPNTsToken
182
+
183
+ `Address`
184
+
185
+ #### Returns
186
+
187
+ `Promise`\<[`Hash`](https://viem.sh/docs/index.html)\>
188
+
189
+ ***
190
+
191
+ ### deposit()
192
+
193
+ > **deposit**: (`args`) => `Promise`\<[`Hash`](https://viem.sh/docs/index.html)\>
194
+
195
+ Defined in: [packages/core/src/actions/superPaymaster.ts:8](https://github.com/AAStarCommunity/aastar-sdk/blob/f3911a6f6e88b2f77186db63ad0182c2cfe13b9d/packages/core/src/actions/superPaymaster.ts#L8)
196
+
197
+ #### Parameters
198
+
199
+ ##### args
200
+
201
+ ###### account?
202
+
203
+ [`Account`](https://viem.sh/docs/index.html) \| `Address`
204
+
205
+ ###### amount
206
+
207
+ `bigint`
208
+
209
+ #### Returns
210
+
211
+ `Promise`\<[`Hash`](https://viem.sh/docs/index.html)\>
212
+
213
+ ***
214
+
215
+ ### ~~depositAPNTs()~~
216
+
217
+ > **depositAPNTs**: (`args`) => `Promise`\<[`Hash`](https://viem.sh/docs/index.html)\>
218
+
219
+ Defined in: [packages/core/src/actions/superPaymaster.ts:10](https://github.com/AAStarCommunity/aastar-sdk/blob/f3911a6f6e88b2f77186db63ad0182c2cfe13b9d/packages/core/src/actions/superPaymaster.ts#L10)
220
+
221
+ #### Parameters
222
+
223
+ ##### args
224
+
225
+ ###### account?
226
+
227
+ [`Account`](https://viem.sh/docs/index.html) \| `Address`
228
+
229
+ ###### amount
230
+
231
+ `bigint`
232
+
233
+ #### Returns
234
+
235
+ `Promise`\<[`Hash`](https://viem.sh/docs/index.html)\>
236
+
237
+ #### Deprecated
238
+
239
+ Use depositAPNTs for clarity
240
+
241
+ ***
242
+
243
+ ### depositETH()
244
+
245
+ > **depositETH**: (`args`) => `Promise`\<[`Hash`](https://viem.sh/docs/index.html)\>
246
+
247
+ Defined in: [packages/core/src/actions/superPaymaster.ts:11](https://github.com/AAStarCommunity/aastar-sdk/blob/f3911a6f6e88b2f77186db63ad0182c2cfe13b9d/packages/core/src/actions/superPaymaster.ts#L11)
248
+
249
+ #### Parameters
250
+
251
+ ##### args
252
+
253
+ ###### account?
254
+
255
+ [`Account`](https://viem.sh/docs/index.html) \| `Address`
256
+
257
+ ###### value
258
+
259
+ `bigint`
260
+
261
+ #### Returns
262
+
263
+ `Promise`\<[`Hash`](https://viem.sh/docs/index.html)\>
264
+
265
+ ***
266
+
267
+ ### depositForOperator()
268
+
269
+ > **depositForOperator**: (`args`) => `Promise`\<[`Hash`](https://viem.sh/docs/index.html)\>
270
+
271
+ Defined in: [packages/core/src/actions/superPaymaster.ts:12](https://github.com/AAStarCommunity/aastar-sdk/blob/f3911a6f6e88b2f77186db63ad0182c2cfe13b9d/packages/core/src/actions/superPaymaster.ts#L12)
272
+
273
+ #### Parameters
274
+
275
+ ##### args
276
+
277
+ ###### account?
278
+
279
+ [`Account`](https://viem.sh/docs/index.html) \| `Address`
280
+
281
+ ###### amount
282
+
283
+ `bigint`
284
+
285
+ ###### operator
286
+
287
+ `Address`
288
+
289
+ #### Returns
290
+
291
+ `Promise`\<[`Hash`](https://viem.sh/docs/index.html)\>
292
+
293
+ ***
294
+
295
+ ### entryPoint()
296
+
297
+ > **entryPoint**: () => `Promise`\<`Address`\>
298
+
299
+ Defined in: [packages/core/src/actions/superPaymaster.ts:52](https://github.com/AAStarCommunity/aastar-sdk/blob/f3911a6f6e88b2f77186db63ad0182c2cfe13b9d/packages/core/src/actions/superPaymaster.ts#L52)
300
+
301
+ #### Returns
302
+
303
+ `Promise`\<`Address`\>
304
+
305
+ ***
306
+
307
+ ### ETH\_USD\_PRICE\_FEED()
308
+
309
+ > **ETH\_USD\_PRICE\_FEED**: () => `Promise`\<`Address`\>
310
+
311
+ Defined in: [packages/core/src/actions/superPaymaster.ts:85](https://github.com/AAStarCommunity/aastar-sdk/blob/f3911a6f6e88b2f77186db63ad0182c2cfe13b9d/packages/core/src/actions/superPaymaster.ts#L85)
312
+
313
+ #### Returns
314
+
315
+ `Promise`\<`Address`\>
316
+
317
+ ***
318
+
319
+ ### executeSlashWithBLS()
320
+
321
+ > **executeSlashWithBLS**: (`args`) => `Promise`\<[`Hash`](https://viem.sh/docs/index.html)\>
322
+
323
+ Defined in: [packages/core/src/actions/superPaymaster.ts:23](https://github.com/AAStarCommunity/aastar-sdk/blob/f3911a6f6e88b2f77186db63ad0182c2cfe13b9d/packages/core/src/actions/superPaymaster.ts#L23)
324
+
325
+ #### Parameters
326
+
327
+ ##### args
328
+
329
+ ###### account?
330
+
331
+ [`Account`](https://viem.sh/docs/index.html) \| `Address`
332
+
333
+ ###### amount
334
+
335
+ `bigint`
336
+
337
+ ###### blsSignature
338
+
339
+ [`Hex`](https://viem.sh/docs/index.html)
340
+
341
+ ###### operator
342
+
343
+ `Address`
344
+
345
+ ###### reason
346
+
347
+ `string`
348
+
349
+ ###### roleId
350
+
351
+ [`Hex`](https://viem.sh/docs/index.html)
352
+
353
+ #### Returns
354
+
355
+ `Promise`\<[`Hash`](https://viem.sh/docs/index.html)\>
356
+
357
+ ***
358
+
359
+ ### getAvailableCredit()
360
+
361
+ > **getAvailableCredit**: (`args`) => `Promise`\<`bigint`\>
362
+
363
+ Defined in: [packages/core/src/actions/superPaymaster.ts:42](https://github.com/AAStarCommunity/aastar-sdk/blob/f3911a6f6e88b2f77186db63ad0182c2cfe13b9d/packages/core/src/actions/superPaymaster.ts#L42)
364
+
365
+ #### Parameters
366
+
367
+ ##### args
368
+
369
+ ###### operator
370
+
371
+ `Address`
372
+
373
+ ###### user
374
+
375
+ `Address`
376
+
377
+ #### Returns
378
+
379
+ `Promise`\<`bigint`\>
380
+
381
+ ***
382
+
383
+ ### getDeposit()
384
+
385
+ > **getDeposit**: () => `Promise`\<`bigint`\>
386
+
387
+ Defined in: [packages/core/src/actions/superPaymaster.ts:41](https://github.com/AAStarCommunity/aastar-sdk/blob/f3911a6f6e88b2f77186db63ad0182c2cfe13b9d/packages/core/src/actions/superPaymaster.ts#L41)
388
+
389
+ #### Returns
390
+
391
+ `Promise`\<`bigint`\>
392
+
393
+ ***
394
+
395
+ ### getLatestSlash()
396
+
397
+ > **getLatestSlash**: (`args`) => `Promise`\<`any`\>
398
+
399
+ Defined in: [packages/core/src/actions/superPaymaster.ts:59](https://github.com/AAStarCommunity/aastar-sdk/blob/f3911a6f6e88b2f77186db63ad0182c2cfe13b9d/packages/core/src/actions/superPaymaster.ts#L59)
400
+
401
+ #### Parameters
402
+
403
+ ##### args
404
+
405
+ ###### operator
406
+
407
+ `Address`
408
+
409
+ #### Returns
410
+
411
+ `Promise`\<`any`\>
412
+
413
+ ***
414
+
415
+ ### getSlashCount()
416
+
417
+ > **getSlashCount**: (`args`) => `Promise`\<`bigint`\>
418
+
419
+ Defined in: [packages/core/src/actions/superPaymaster.ts:58](https://github.com/AAStarCommunity/aastar-sdk/blob/f3911a6f6e88b2f77186db63ad0182c2cfe13b9d/packages/core/src/actions/superPaymaster.ts#L58)
420
+
421
+ #### Parameters
422
+
423
+ ##### args
424
+
425
+ ###### operator
426
+
427
+ `Address`
428
+
429
+ #### Returns
430
+
431
+ `Promise`\<`bigint`\>
432
+
433
+ ***
434
+
435
+ ### getSlashHistory()
436
+
437
+ > **getSlashHistory**: (`args`) => `Promise`\<`any`[]\>
438
+
439
+ Defined in: [packages/core/src/actions/superPaymaster.ts:57](https://github.com/AAStarCommunity/aastar-sdk/blob/f3911a6f6e88b2f77186db63ad0182c2cfe13b9d/packages/core/src/actions/superPaymaster.ts#L57)
440
+
441
+ #### Parameters
442
+
443
+ ##### args
444
+
445
+ ###### operator
446
+
447
+ `Address`
448
+
449
+ #### Returns
450
+
451
+ `Promise`\<`any`[]\>
452
+
453
+ ***
454
+
455
+ ### lastUserOpTimestamp()
456
+
457
+ > **lastUserOpTimestamp**: (`args`) => `Promise`\<`bigint`\>
458
+
459
+ Defined in: [packages/core/src/actions/superPaymaster.ts:54](https://github.com/AAStarCommunity/aastar-sdk/blob/f3911a6f6e88b2f77186db63ad0182c2cfe13b9d/packages/core/src/actions/superPaymaster.ts#L54)
460
+
461
+ #### Parameters
462
+
463
+ ##### args
464
+
465
+ ###### user
466
+
467
+ `Address`
468
+
469
+ #### Returns
470
+
471
+ `Promise`\<`bigint`\>
472
+
473
+ ***
474
+
475
+ ### MAX\_ETH\_USD\_PRICE()
476
+
477
+ > **MAX\_ETH\_USD\_PRICE**: () => `Promise`\<`bigint`\>
478
+
479
+ Defined in: [packages/core/src/actions/superPaymaster.ts:91](https://github.com/AAStarCommunity/aastar-sdk/blob/f3911a6f6e88b2f77186db63ad0182c2cfe13b9d/packages/core/src/actions/superPaymaster.ts#L91)
480
+
481
+ #### Returns
482
+
483
+ `Promise`\<`bigint`\>
484
+
485
+ ***
486
+
487
+ ### MIN\_ETH\_USD\_PRICE()
488
+
489
+ > **MIN\_ETH\_USD\_PRICE**: () => `Promise`\<`bigint`\>
490
+
491
+ Defined in: [packages/core/src/actions/superPaymaster.ts:92](https://github.com/AAStarCommunity/aastar-sdk/blob/f3911a6f6e88b2f77186db63ad0182c2cfe13b9d/packages/core/src/actions/superPaymaster.ts#L92)
492
+
493
+ #### Returns
494
+
495
+ `Promise`\<`bigint`\>
496
+
497
+ ***
498
+
499
+ ### onTransferReceived()
500
+
501
+ > **onTransferReceived**: (`args`) => `Promise`\<`any`\>
502
+
503
+ Defined in: [packages/core/src/actions/superPaymaster.ts:76](https://github.com/AAStarCommunity/aastar-sdk/blob/f3911a6f6e88b2f77186db63ad0182c2cfe13b9d/packages/core/src/actions/superPaymaster.ts#L76)
504
+
505
+ #### Parameters
506
+
507
+ ##### args
508
+
509
+ ###### amount
510
+
511
+ `bigint`
512
+
513
+ ###### data
514
+
515
+ [`Hex`](https://viem.sh/docs/index.html)
516
+
517
+ ###### from
518
+
519
+ `Address`
520
+
521
+ #### Returns
522
+
523
+ `Promise`\<`any`\>
524
+
525
+ ***
526
+
527
+ ### operators()
528
+
529
+ > **operators**: (`args`) => `Promise`\<`any`\>
530
+
531
+ Defined in: [packages/core/src/actions/superPaymaster.ts:40](https://github.com/AAStarCommunity/aastar-sdk/blob/f3911a6f6e88b2f77186db63ad0182c2cfe13b9d/packages/core/src/actions/superPaymaster.ts#L40)
532
+
533
+ #### Parameters
534
+
535
+ ##### args
536
+
537
+ ###### operator
538
+
539
+ `Address`
540
+
541
+ #### Returns
542
+
543
+ `Promise`\<`any`\>
544
+
545
+ ***
546
+
547
+ ### owner()
548
+
549
+ > **owner**: () => `Promise`\<`Address`\>
550
+
551
+ Defined in: [packages/core/src/actions/superPaymaster.ts:96](https://github.com/AAStarCommunity/aastar-sdk/blob/f3911a6f6e88b2f77186db63ad0182c2cfe13b9d/packages/core/src/actions/superPaymaster.ts#L96)
552
+
553
+ #### Returns
554
+
555
+ `Promise`\<`Address`\>
556
+
557
+ ***
558
+
559
+ ### PAYMASTER\_DATA\_OFFSET()
560
+
561
+ > **PAYMASTER\_DATA\_OFFSET**: () => `Promise`\<`bigint`\>
562
+
563
+ Defined in: [packages/core/src/actions/superPaymaster.ts:86](https://github.com/AAStarCommunity/aastar-sdk/blob/f3911a6f6e88b2f77186db63ad0182c2cfe13b9d/packages/core/src/actions/superPaymaster.ts#L86)
564
+
565
+ #### Returns
566
+
567
+ `Promise`\<`bigint`\>
568
+
569
+ ***
570
+
571
+ ### postOp()
572
+
573
+ > **postOp**: (`args`) => `Promise`\<`void`\>
574
+
575
+ Defined in: [packages/core/src/actions/superPaymaster.ts:37](https://github.com/AAStarCommunity/aastar-sdk/blob/f3911a6f6e88b2f77186db63ad0182c2cfe13b9d/packages/core/src/actions/superPaymaster.ts#L37)
576
+
577
+ #### Parameters
578
+
579
+ ##### args
580
+
581
+ ###### actualGasCost
582
+
583
+ `bigint`
584
+
585
+ ###### actualUserOpFeePerGas
586
+
587
+ `bigint`
588
+
589
+ ###### context
590
+
591
+ [`Hex`](https://viem.sh/docs/index.html)
592
+
593
+ ###### mode
594
+
595
+ `number`
596
+
597
+ #### Returns
598
+
599
+ `Promise`\<`void`\>
600
+
601
+ ***
602
+
603
+ ### PRICE\_CACHE\_DURATION()
604
+
605
+ > **PRICE\_CACHE\_DURATION**: () => `Promise`\<`bigint`\>
606
+
607
+ Defined in: [packages/core/src/actions/superPaymaster.ts:89](https://github.com/AAStarCommunity/aastar-sdk/blob/f3911a6f6e88b2f77186db63ad0182c2cfe13b9d/packages/core/src/actions/superPaymaster.ts#L89)
608
+
609
+ #### Returns
610
+
611
+ `Promise`\<`bigint`\>
612
+
613
+ ***
614
+
615
+ ### PRICE\_STALENESS\_THRESHOLD()
616
+
617
+ > **PRICE\_STALENESS\_THRESHOLD**: () => `Promise`\<`bigint`\>
618
+
619
+ Defined in: [packages/core/src/actions/superPaymaster.ts:90](https://github.com/AAStarCommunity/aastar-sdk/blob/f3911a6f6e88b2f77186db63ad0182c2cfe13b9d/packages/core/src/actions/superPaymaster.ts#L90)
620
+
621
+ #### Returns
622
+
623
+ `Promise`\<`bigint`\>
624
+
625
+ ***
626
+
627
+ ### protocolFee()
628
+
629
+ > **protocolFee**: () => `Promise`\<`any`\>
630
+
631
+ Defined in: [packages/core/src/actions/superPaymaster.ts:47](https://github.com/AAStarCommunity/aastar-sdk/blob/f3911a6f6e88b2f77186db63ad0182c2cfe13b9d/packages/core/src/actions/superPaymaster.ts#L47)
632
+
633
+ #### Returns
634
+
635
+ `Promise`\<`any`\>
636
+
637
+ ***
638
+
639
+ ### protocolFeeBPS()
640
+
641
+ > **protocolFeeBPS**: () => `Promise`\<`bigint`\>
642
+
643
+ Defined in: [packages/core/src/actions/superPaymaster.ts:48](https://github.com/AAStarCommunity/aastar-sdk/blob/f3911a6f6e88b2f77186db63ad0182c2cfe13b9d/packages/core/src/actions/superPaymaster.ts#L48)
644
+
645
+ #### Returns
646
+
647
+ `Promise`\<`bigint`\>
648
+
649
+ ***
650
+
651
+ ### protocolRevenue()
652
+
653
+ > **protocolRevenue**: () => `Promise`\<`bigint`\>
654
+
655
+ Defined in: [packages/core/src/actions/superPaymaster.ts:49](https://github.com/AAStarCommunity/aastar-sdk/blob/f3911a6f6e88b2f77186db63ad0182c2cfe13b9d/packages/core/src/actions/superPaymaster.ts#L49)
656
+
657
+ #### Returns
658
+
659
+ `Promise`\<`bigint`\>
660
+
661
+ ***
662
+
663
+ ### RATE\_OFFSET()
664
+
665
+ > **RATE\_OFFSET**: () => `Promise`\<`bigint`\>
666
+
667
+ Defined in: [packages/core/src/actions/superPaymaster.ts:87](https://github.com/AAStarCommunity/aastar-sdk/blob/f3911a6f6e88b2f77186db63ad0182c2cfe13b9d/packages/core/src/actions/superPaymaster.ts#L87)
668
+
669
+ #### Returns
670
+
671
+ `Promise`\<`bigint`\>
672
+
673
+ ***
674
+
675
+ ### REGISTRY()
676
+
677
+ > **REGISTRY**: () => `Promise`\<`Address`\>
678
+
679
+ Defined in: [packages/core/src/actions/superPaymaster.ts:83](https://github.com/AAStarCommunity/aastar-sdk/blob/f3911a6f6e88b2f77186db63ad0182c2cfe13b9d/packages/core/src/actions/superPaymaster.ts#L83)
680
+
681
+ #### Returns
682
+
683
+ `Promise`\<`Address`\>
684
+
685
+ ***
686
+
687
+ ### renounceOwnership()
688
+
689
+ > **renounceOwnership**: (`args`) => `Promise`\<[`Hash`](https://viem.sh/docs/index.html)\>
690
+
691
+ Defined in: [packages/core/src/actions/superPaymaster.ts:97](https://github.com/AAStarCommunity/aastar-sdk/blob/f3911a6f6e88b2f77186db63ad0182c2cfe13b9d/packages/core/src/actions/superPaymaster.ts#L97)
692
+
693
+ #### Parameters
694
+
695
+ ##### args
696
+
697
+ ###### account?
698
+
699
+ [`Account`](https://viem.sh/docs/index.html) \| `Address`
700
+
701
+ #### Returns
702
+
703
+ `Promise`\<[`Hash`](https://viem.sh/docs/index.html)\>
704
+
705
+ ***
706
+
707
+ ### setAPNTsPrice()
708
+
709
+ > **setAPNTsPrice**: (`args`) => `Promise`\<[`Hash`](https://viem.sh/docs/index.html)\>
710
+
711
+ Defined in: [packages/core/src/actions/superPaymaster.ts:27](https://github.com/AAStarCommunity/aastar-sdk/blob/f3911a6f6e88b2f77186db63ad0182c2cfe13b9d/packages/core/src/actions/superPaymaster.ts#L27)
712
+
713
+ #### Parameters
714
+
715
+ ##### args
716
+
717
+ ###### account?
718
+
719
+ [`Account`](https://viem.sh/docs/index.html) \| `Address`
720
+
721
+ ###### priceUSD
722
+
723
+ `bigint`
724
+
725
+ #### Returns
726
+
727
+ `Promise`\<[`Hash`](https://viem.sh/docs/index.html)\>
728
+
729
+ ***
730
+
731
+ ### setAPNTsToken()
732
+
733
+ > **setAPNTsToken**: (`args`) => `Promise`\<[`Hash`](https://viem.sh/docs/index.html)\>
734
+
735
+ Defined in: [packages/core/src/actions/superPaymaster.ts:72](https://github.com/AAStarCommunity/aastar-sdk/blob/f3911a6f6e88b2f77186db63ad0182c2cfe13b9d/packages/core/src/actions/superPaymaster.ts#L72)
736
+
737
+ #### Parameters
738
+
739
+ ##### args
740
+
741
+ ###### account?
742
+
743
+ [`Account`](https://viem.sh/docs/index.html) \| `Address`
744
+
745
+ ###### token
746
+
747
+ `Address`
748
+
749
+ #### Returns
750
+
751
+ `Promise`\<[`Hash`](https://viem.sh/docs/index.html)\>
752
+
753
+ ***
754
+
755
+ ### setBLSAggregator()
756
+
757
+ > **setBLSAggregator**: (`args`) => `Promise`\<[`Hash`](https://viem.sh/docs/index.html)\>
758
+
759
+ Defined in: [packages/core/src/actions/superPaymaster.ts:73](https://github.com/AAStarCommunity/aastar-sdk/blob/f3911a6f6e88b2f77186db63ad0182c2cfe13b9d/packages/core/src/actions/superPaymaster.ts#L73)
760
+
761
+ #### Parameters
762
+
763
+ ##### args
764
+
765
+ ###### account?
766
+
767
+ [`Account`](https://viem.sh/docs/index.html) \| `Address`
768
+
769
+ ###### aggregator
770
+
771
+ `Address`
772
+
773
+ #### Returns
774
+
775
+ `Promise`\<[`Hash`](https://viem.sh/docs/index.html)\>
776
+
777
+ ***
778
+
779
+ ### setCachedPrice()
780
+
781
+ > **setCachedPrice**: (`args`) => `Promise`\<[`Hash`](https://viem.sh/docs/index.html)\>
782
+
783
+ Defined in: [packages/core/src/actions/superPaymaster.ts:28](https://github.com/AAStarCommunity/aastar-sdk/blob/f3911a6f6e88b2f77186db63ad0182c2cfe13b9d/packages/core/src/actions/superPaymaster.ts#L28)
784
+
785
+ #### Parameters
786
+
787
+ ##### args
788
+
789
+ ###### account?
790
+
791
+ [`Account`](https://viem.sh/docs/index.html) \| `Address`
792
+
793
+ ###### price
794
+
795
+ `bigint`
796
+
797
+ #### Returns
798
+
799
+ `Promise`\<[`Hash`](https://viem.sh/docs/index.html)\>
800
+
801
+ ***
802
+
803
+ ### setOperatorLimits()
804
+
805
+ > **setOperatorLimits**: (`args`) => `Promise`\<[`Hash`](https://viem.sh/docs/index.html)\>
806
+
807
+ Defined in: [packages/core/src/actions/superPaymaster.ts:21](https://github.com/AAStarCommunity/aastar-sdk/blob/f3911a6f6e88b2f77186db63ad0182c2cfe13b9d/packages/core/src/actions/superPaymaster.ts#L21)
808
+
809
+ #### Parameters
810
+
811
+ ##### args
812
+
813
+ ###### account?
814
+
815
+ [`Account`](https://viem.sh/docs/index.html) \| `Address`
816
+
817
+ ###### limits
818
+
819
+ `any`
820
+
821
+ ###### operator
822
+
823
+ `Address`
824
+
825
+ #### Returns
826
+
827
+ `Promise`\<[`Hash`](https://viem.sh/docs/index.html)\>
828
+
829
+ ***
830
+
831
+ ### setOperatorPaused()
832
+
833
+ > **setOperatorPaused**: (`args`) => `Promise`\<[`Hash`](https://viem.sh/docs/index.html)\>
834
+
835
+ Defined in: [packages/core/src/actions/superPaymaster.ts:20](https://github.com/AAStarCommunity/aastar-sdk/blob/f3911a6f6e88b2f77186db63ad0182c2cfe13b9d/packages/core/src/actions/superPaymaster.ts#L20)
836
+
837
+ #### Parameters
838
+
839
+ ##### args
840
+
841
+ ###### account?
842
+
843
+ [`Account`](https://viem.sh/docs/index.html) \| `Address`
844
+
845
+ ###### operator
846
+
847
+ `Address`
848
+
849
+ ###### paused
850
+
851
+ `boolean`
852
+
853
+ #### Returns
854
+
855
+ `Promise`\<[`Hash`](https://viem.sh/docs/index.html)\>
856
+
857
+ ***
858
+
859
+ ### setProtocolFee()
860
+
861
+ > **setProtocolFee**: (`args`) => `Promise`\<[`Hash`](https://viem.sh/docs/index.html)\>
862
+
863
+ Defined in: [packages/core/src/actions/superPaymaster.ts:29](https://github.com/AAStarCommunity/aastar-sdk/blob/f3911a6f6e88b2f77186db63ad0182c2cfe13b9d/packages/core/src/actions/superPaymaster.ts#L29)
864
+
865
+ #### Parameters
866
+
867
+ ##### args
868
+
869
+ ###### account?
870
+
871
+ [`Account`](https://viem.sh/docs/index.html) \| `Address`
872
+
873
+ ###### feeBps
874
+
875
+ `bigint`
876
+
877
+ ###### feeRecipient
878
+
879
+ `Address`
880
+
881
+ #### Returns
882
+
883
+ `Promise`\<[`Hash`](https://viem.sh/docs/index.html)\>
884
+
885
+ ***
886
+
887
+ ### setTreasury()
888
+
889
+ > **setTreasury**: (`args`) => `Promise`\<[`Hash`](https://viem.sh/docs/index.html)\>
890
+
891
+ Defined in: [packages/core/src/actions/superPaymaster.ts:67](https://github.com/AAStarCommunity/aastar-sdk/blob/f3911a6f6e88b2f77186db63ad0182c2cfe13b9d/packages/core/src/actions/superPaymaster.ts#L67)
892
+
893
+ #### Parameters
894
+
895
+ ##### args
896
+
897
+ ###### account?
898
+
899
+ [`Account`](https://viem.sh/docs/index.html) \| `Address`
900
+
901
+ ###### treasury
902
+
903
+ `Address`
904
+
905
+ #### Returns
906
+
907
+ `Promise`\<[`Hash`](https://viem.sh/docs/index.html)\>
908
+
909
+ ***
910
+
911
+ ### setXPNTsFactory()
912
+
913
+ > **setXPNTsFactory**: (`args`) => `Promise`\<[`Hash`](https://viem.sh/docs/index.html)\>
914
+
915
+ Defined in: [packages/core/src/actions/superPaymaster.ts:71](https://github.com/AAStarCommunity/aastar-sdk/blob/f3911a6f6e88b2f77186db63ad0182c2cfe13b9d/packages/core/src/actions/superPaymaster.ts#L71)
916
+
917
+ #### Parameters
918
+
919
+ ##### args
920
+
921
+ ###### account?
922
+
923
+ [`Account`](https://viem.sh/docs/index.html) \| `Address`
924
+
925
+ ###### factory
926
+
927
+ `Address`
928
+
929
+ #### Returns
930
+
931
+ `Promise`\<[`Hash`](https://viem.sh/docs/index.html)\>
932
+
933
+ ***
934
+
935
+ ### slashHistory()
936
+
937
+ > **slashHistory**: (`args`) => `Promise`\<`any`\>
938
+
939
+ Defined in: [packages/core/src/actions/superPaymaster.ts:60](https://github.com/AAStarCommunity/aastar-sdk/blob/f3911a6f6e88b2f77186db63ad0182c2cfe13b9d/packages/core/src/actions/superPaymaster.ts#L60)
940
+
941
+ #### Parameters
942
+
943
+ ##### args
944
+
945
+ ###### index
946
+
947
+ `bigint`
948
+
949
+ ###### operator
950
+
951
+ `Address`
952
+
953
+ #### Returns
954
+
955
+ `Promise`\<`any`\>
956
+
957
+ ***
958
+
959
+ ### slashOperator()
960
+
961
+ > **slashOperator**: (`args`) => `Promise`\<[`Hash`](https://viem.sh/docs/index.html)\>
962
+
963
+ Defined in: [packages/core/src/actions/superPaymaster.ts:24](https://github.com/AAStarCommunity/aastar-sdk/blob/f3911a6f6e88b2f77186db63ad0182c2cfe13b9d/packages/core/src/actions/superPaymaster.ts#L24)
964
+
965
+ #### Parameters
966
+
967
+ ##### args
968
+
969
+ ###### account?
970
+
971
+ [`Account`](https://viem.sh/docs/index.html) \| `Address`
972
+
973
+ ###### amount
974
+
975
+ `bigint`
976
+
977
+ ###### operator
978
+
979
+ `Address`
980
+
981
+ ###### reason
982
+
983
+ `string`
984
+
985
+ #### Returns
986
+
987
+ `Promise`\<[`Hash`](https://viem.sh/docs/index.html)\>
988
+
989
+ ***
990
+
991
+ ### totalTrackedBalance()
992
+
993
+ > **totalTrackedBalance**: () => `Promise`\<`bigint`\>
994
+
995
+ Defined in: [packages/core/src/actions/superPaymaster.ts:53](https://github.com/AAStarCommunity/aastar-sdk/blob/f3911a6f6e88b2f77186db63ad0182c2cfe13b9d/packages/core/src/actions/superPaymaster.ts#L53)
996
+
997
+ #### Returns
998
+
999
+ `Promise`\<`bigint`\>
1000
+
1001
+ ***
1002
+
1003
+ ### transferOwnership()
1004
+
1005
+ > **transferOwnership**: (`args`) => `Promise`\<[`Hash`](https://viem.sh/docs/index.html)\>
1006
+
1007
+ Defined in: [packages/core/src/actions/superPaymaster.ts:95](https://github.com/AAStarCommunity/aastar-sdk/blob/f3911a6f6e88b2f77186db63ad0182c2cfe13b9d/packages/core/src/actions/superPaymaster.ts#L95)
1008
+
1009
+ #### Parameters
1010
+
1011
+ ##### args
1012
+
1013
+ ###### account?
1014
+
1015
+ [`Account`](https://viem.sh/docs/index.html) \| `Address`
1016
+
1017
+ ###### newOwner
1018
+
1019
+ `Address`
1020
+
1021
+ #### Returns
1022
+
1023
+ `Promise`\<[`Hash`](https://viem.sh/docs/index.html)\>
1024
+
1025
+ ***
1026
+
1027
+ ### treasury()
1028
+
1029
+ > **treasury**: () => `Promise`\<`Address`\>
1030
+
1031
+ Defined in: [packages/core/src/actions/superPaymaster.ts:50](https://github.com/AAStarCommunity/aastar-sdk/blob/f3911a6f6e88b2f77186db63ad0182c2cfe13b9d/packages/core/src/actions/superPaymaster.ts#L50)
1032
+
1033
+ #### Returns
1034
+
1035
+ `Promise`\<`Address`\>
1036
+
1037
+ ***
1038
+
1039
+ ### unlockSuperStake()
1040
+
1041
+ > **unlockSuperStake**: (`args`) => `Promise`\<[`Hash`](https://viem.sh/docs/index.html)\>
1042
+
1043
+ Defined in: [packages/core/src/actions/superPaymaster.ts:15](https://github.com/AAStarCommunity/aastar-sdk/blob/f3911a6f6e88b2f77186db63ad0182c2cfe13b9d/packages/core/src/actions/superPaymaster.ts#L15)
1044
+
1045
+ #### Parameters
1046
+
1047
+ ##### args
1048
+
1049
+ ###### account?
1050
+
1051
+ [`Account`](https://viem.sh/docs/index.html) \| `Address`
1052
+
1053
+ #### Returns
1054
+
1055
+ `Promise`\<[`Hash`](https://viem.sh/docs/index.html)\>
1056
+
1057
+ ***
1058
+
1059
+ ### updateBlockedStatus()
1060
+
1061
+ > **updateBlockedStatus**: (`args`) => `Promise`\<[`Hash`](https://viem.sh/docs/index.html)\>
1062
+
1063
+ Defined in: [packages/core/src/actions/superPaymaster.ts:33](https://github.com/AAStarCommunity/aastar-sdk/blob/f3911a6f6e88b2f77186db63ad0182c2cfe13b9d/packages/core/src/actions/superPaymaster.ts#L33)
1064
+
1065
+ #### Parameters
1066
+
1067
+ ##### args
1068
+
1069
+ ###### account?
1070
+
1071
+ [`Account`](https://viem.sh/docs/index.html) \| `Address`
1072
+
1073
+ ###### blocked
1074
+
1075
+ `boolean`
1076
+
1077
+ ###### user
1078
+
1079
+ `Address`
1080
+
1081
+ #### Returns
1082
+
1083
+ `Promise`\<[`Hash`](https://viem.sh/docs/index.html)\>
1084
+
1085
+ ***
1086
+
1087
+ ### updatePrice()
1088
+
1089
+ > **updatePrice**: (`args`) => `Promise`\<[`Hash`](https://viem.sh/docs/index.html)\>
1090
+
1091
+ Defined in: [packages/core/src/actions/superPaymaster.ts:63](https://github.com/AAStarCommunity/aastar-sdk/blob/f3911a6f6e88b2f77186db63ad0182c2cfe13b9d/packages/core/src/actions/superPaymaster.ts#L63)
1092
+
1093
+ #### Parameters
1094
+
1095
+ ##### args
1096
+
1097
+ ###### account?
1098
+
1099
+ [`Account`](https://viem.sh/docs/index.html) \| `Address`
1100
+
1101
+ #### Returns
1102
+
1103
+ `Promise`\<[`Hash`](https://viem.sh/docs/index.html)\>
1104
+
1105
+ ***
1106
+
1107
+ ### updatePriceDVT()
1108
+
1109
+ > **updatePriceDVT**: (`args`) => `Promise`\<[`Hash`](https://viem.sh/docs/index.html)\>
1110
+
1111
+ Defined in: [packages/core/src/actions/superPaymaster.ts:64](https://github.com/AAStarCommunity/aastar-sdk/blob/f3911a6f6e88b2f77186db63ad0182c2cfe13b9d/packages/core/src/actions/superPaymaster.ts#L64)
1112
+
1113
+ #### Parameters
1114
+
1115
+ ##### args
1116
+
1117
+ ###### account?
1118
+
1119
+ [`Account`](https://viem.sh/docs/index.html) \| `Address`
1120
+
1121
+ ###### price
1122
+
1123
+ `bigint`
1124
+
1125
+ ###### proof
1126
+
1127
+ [`Hex`](https://viem.sh/docs/index.html)
1128
+
1129
+ #### Returns
1130
+
1131
+ `Promise`\<[`Hash`](https://viem.sh/docs/index.html)\>
1132
+
1133
+ ***
1134
+
1135
+ ### updateReputation()
1136
+
1137
+ > **updateReputation**: (`args`) => `Promise`\<[`Hash`](https://viem.sh/docs/index.html)\>
1138
+
1139
+ Defined in: [packages/core/src/actions/superPaymaster.ts:22](https://github.com/AAStarCommunity/aastar-sdk/blob/f3911a6f6e88b2f77186db63ad0182c2cfe13b9d/packages/core/src/actions/superPaymaster.ts#L22)
1140
+
1141
+ #### Parameters
1142
+
1143
+ ##### args
1144
+
1145
+ ###### account?
1146
+
1147
+ [`Account`](https://viem.sh/docs/index.html) \| `Address`
1148
+
1149
+ ###### newReputation
1150
+
1151
+ `bigint`
1152
+
1153
+ ###### operator
1154
+
1155
+ `Address`
1156
+
1157
+ #### Returns
1158
+
1159
+ `Promise`\<[`Hash`](https://viem.sh/docs/index.html)\>
1160
+
1161
+ ***
1162
+
1163
+ ### validatePaymasterUserOp()
1164
+
1165
+ > **validatePaymasterUserOp**: (`args`) => `Promise`\<`any`\>
1166
+
1167
+ Defined in: [packages/core/src/actions/superPaymaster.ts:36](https://github.com/AAStarCommunity/aastar-sdk/blob/f3911a6f6e88b2f77186db63ad0182c2cfe13b9d/packages/core/src/actions/superPaymaster.ts#L36)
1168
+
1169
+ #### Parameters
1170
+
1171
+ ##### args
1172
+
1173
+ ###### maxCost
1174
+
1175
+ `bigint`
1176
+
1177
+ ###### userOp
1178
+
1179
+ `any`
1180
+
1181
+ ###### userOpHash
1182
+
1183
+ [`Hex`](https://viem.sh/docs/index.html)
1184
+
1185
+ #### Returns
1186
+
1187
+ `Promise`\<`any`\>
1188
+
1189
+ ***
1190
+
1191
+ ### version()
1192
+
1193
+ > **version**: () => `Promise`\<`string`\>
1194
+
1195
+ Defined in: [packages/core/src/actions/superPaymaster.ts:100](https://github.com/AAStarCommunity/aastar-sdk/blob/f3911a6f6e88b2f77186db63ad0182c2cfe13b9d/packages/core/src/actions/superPaymaster.ts#L100)
1196
+
1197
+ #### Returns
1198
+
1199
+ `Promise`\<`string`\>
1200
+
1201
+ ***
1202
+
1203
+ ### withdrawAPNTs()
1204
+
1205
+ > **withdrawAPNTs**: (`args`) => `Promise`\<[`Hash`](https://viem.sh/docs/index.html)\>
1206
+
1207
+ Defined in: [packages/core/src/actions/superPaymaster.ts:79](https://github.com/AAStarCommunity/aastar-sdk/blob/f3911a6f6e88b2f77186db63ad0182c2cfe13b9d/packages/core/src/actions/superPaymaster.ts#L79)
1208
+
1209
+ #### Parameters
1210
+
1211
+ ##### args
1212
+
1213
+ ###### account?
1214
+
1215
+ [`Account`](https://viem.sh/docs/index.html) \| `Address`
1216
+
1217
+ ###### amount
1218
+
1219
+ `bigint`
1220
+
1221
+ #### Returns
1222
+
1223
+ `Promise`\<[`Hash`](https://viem.sh/docs/index.html)\>
1224
+
1225
+ ***
1226
+
1227
+ ### withdrawProtocolRevenue()
1228
+
1229
+ > **withdrawProtocolRevenue**: (`args`) => `Promise`\<[`Hash`](https://viem.sh/docs/index.html)\>
1230
+
1231
+ Defined in: [packages/core/src/actions/superPaymaster.ts:68](https://github.com/AAStarCommunity/aastar-sdk/blob/f3911a6f6e88b2f77186db63ad0182c2cfe13b9d/packages/core/src/actions/superPaymaster.ts#L68)
1232
+
1233
+ #### Parameters
1234
+
1235
+ ##### args
1236
+
1237
+ ###### account?
1238
+
1239
+ [`Account`](https://viem.sh/docs/index.html) \| `Address`
1240
+
1241
+ ###### to
1242
+
1243
+ `Address`
1244
+
1245
+ #### Returns
1246
+
1247
+ `Promise`\<[`Hash`](https://viem.sh/docs/index.html)\>
1248
+
1249
+ ***
1250
+
1251
+ ### withdrawStake()
1252
+
1253
+ > **withdrawStake**: (`args`) => `Promise`\<[`Hash`](https://viem.sh/docs/index.html)\>
1254
+
1255
+ Defined in: [packages/core/src/actions/superPaymaster.ts:16](https://github.com/AAStarCommunity/aastar-sdk/blob/f3911a6f6e88b2f77186db63ad0182c2cfe13b9d/packages/core/src/actions/superPaymaster.ts#L16)
1256
+
1257
+ #### Parameters
1258
+
1259
+ ##### args
1260
+
1261
+ ###### account?
1262
+
1263
+ [`Account`](https://viem.sh/docs/index.html) \| `Address`
1264
+
1265
+ ###### to
1266
+
1267
+ `Address`
1268
+
1269
+ #### Returns
1270
+
1271
+ `Promise`\<[`Hash`](https://viem.sh/docs/index.html)\>
1272
+
1273
+ ***
1274
+
1275
+ ### withdrawTo()
1276
+
1277
+ > **withdrawTo**: (`args`) => `Promise`\<[`Hash`](https://viem.sh/docs/index.html)\>
1278
+
1279
+ Defined in: [packages/core/src/actions/superPaymaster.ts:13](https://github.com/AAStarCommunity/aastar-sdk/blob/f3911a6f6e88b2f77186db63ad0182c2cfe13b9d/packages/core/src/actions/superPaymaster.ts#L13)
1280
+
1281
+ #### Parameters
1282
+
1283
+ ##### args
1284
+
1285
+ ###### account?
1286
+
1287
+ [`Account`](https://viem.sh/docs/index.html) \| `Address`
1288
+
1289
+ ###### amount
1290
+
1291
+ `bigint`
1292
+
1293
+ ###### to
1294
+
1295
+ `Address`
1296
+
1297
+ #### Returns
1298
+
1299
+ `Promise`\<[`Hash`](https://viem.sh/docs/index.html)\>
1300
+
1301
+ ***
1302
+
1303
+ ### xpntsFactory()
1304
+
1305
+ > **xpntsFactory**: () => `Promise`\<`Address`\>
1306
+
1307
+ Defined in: [packages/core/src/actions/superPaymaster.ts:51](https://github.com/AAStarCommunity/aastar-sdk/blob/f3911a6f6e88b2f77186db63ad0182c2cfe13b9d/packages/core/src/actions/superPaymaster.ts#L51)
1308
+
1309
+ #### Returns
1310
+
1311
+ `Promise`\<`Address`\>