@aastar/sdk 0.14.0 → 0.16.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.eslintrc.cjs +30 -0
- package/.gitmodules +9 -0
- package/README.md +299 -0
- package/aastar-sdk.code-workspace +14 -0
- package/abis/BLSAggregator.json +572 -0
- package/abis/BLSValidator.json +39 -0
- package/abis/DVTValidator.json +383 -0
- package/abis/Eip7702Support.json +24 -0
- package/abis/EntryPoint.json +1379 -0
- package/abis/GToken.json +510 -0
- package/abis/GTokenStaking.json +918 -0
- package/abis/LegacyAccount.json +625 -0
- package/abis/MySBT.json +1547 -0
- package/abis/Paymaster.json +1192 -0
- package/abis/PaymasterFactory.json +637 -0
- package/abis/PaymasterV4_2.json +1193 -0
- package/abis/Registry.json +1677 -0
- package/abis/ReputationSystem.json +659 -0
- package/abis/SenderCreator.json +99 -0
- package/abis/Simple7702Account.json +395 -0
- package/abis/SimpleAccount.json +625 -0
- package/abis/SimpleAccountFactory.json +108 -0
- package/abis/SimpleAccountFactoryV08.json +87 -0
- package/abis/SimpleAccountV08.json +557 -0
- package/abis/SuperPaymaster.json +1568 -0
- package/abis/UserOperationLib.json +57 -0
- package/abis/aPNTs.json +1160 -0
- package/abis/xPNTsFactory.json +715 -0
- package/abis/xPNTsToken.json +1160 -0
- package/config/networks/README.md +54 -0
- package/config/networks/mainnet.env.example +39 -0
- package/config/networks/optimism-sepolia.env.example +35 -0
- package/config/networks/optimism.env.example +36 -0
- package/config/networks/sepolia.env.example +36 -0
- package/config.anvil.json +1 -0
- package/config.sepolia.json +1 -0
- package/config.test.json +27 -0
- package/data/experiment_data.csv +36 -0
- package/data/industry_baseline_2025-12-23.json +154 -0
- package/data/industry_baseline_latest.json +154 -0
- package/docs/ABI_Change_Tracking_Workflow.md +41 -0
- package/docs/ABI_MAINTENANCE_PLAN.md +132 -0
- package/docs/API_REFERENCE.md +956 -0
- package/docs/Configuration_Sync.md +47 -0
- package/docs/DAO_Mining_Distribution_Plan.md +522 -0
- package/docs/DEMO_REFACTOR_PLAN.md +289 -0
- package/docs/DOCUMENTATION_PLAN.md +455 -0
- package/docs/ENV_SEPOLIA_UPDATE.md +68 -0
- package/docs/Faucet_Gasless_Plan.md +56 -0
- package/docs/L2_BUSINESS_CLIENTS_PLAN.md +394 -0
- package/docs/L4_Manual_Test_CheatSheet.md +215 -0
- package/docs/Plan.md +266 -0
- package/docs/Regression_Testing_Guide.md +70 -0
- package/docs/SDK_ABI_COVERAGE.md +839 -0
- package/docs/SDK_COVERAGE_STRATEGY.md +397 -0
- package/docs/SDK_Optimization_Evaluation_Plan.md +51 -0
- package/docs/SDK_REGRESSION_AND_API_PLAN.md +98 -0
- package/docs/SDK_STAGE3_PLAN.md +151 -0
- package/docs/SEPOLIA_ENV_REFERENCE.md +51 -0
- package/docs/STAGE3.md +191 -0
- package/docs/Script_Comparison_Report.md +91 -0
- package/docs/Sepolia_Latest_Deployment.md +117 -0
- package/docs/TESTER_GUIDE_GASLESS.md +663 -0
- package/docs/TEST_COVERAGE_MATRIX.md +72 -0
- package/docs/TODO_SDK_COVERAGE.md +55 -0
- package/docs/USER_CASE_DESIGN.md +110 -0
- package/docs/Verifier_L4_Gasless_Plan.md +454 -0
- package/docs/api/@aastar/account.md +235 -0
- package/docs/api/@aastar/analytics.md +219 -0
- package/docs/api/@aastar/core.md +26830 -0
- package/docs/api/@aastar/dapp.md +130 -0
- package/docs/api/@aastar/identity.md +482 -0
- package/docs/api/@aastar/paymaster.md +1387 -0
- package/docs/api/@aastar/sdk/README.md +155 -0
- package/docs/api/@aastar/sdk/node.md +4044 -0
- package/docs/api/@aastar/tokens.md +1971 -0
- package/docs/api/README.md +10 -0
- package/docs/changelog.md +99 -0
- package/docs/examples/README.md +18 -0
- package/docs/examples/community-flow.md +28 -0
- package/docs/examples/enduser-flow.md +24 -0
- package/docs/examples/index.md +18 -0
- package/docs/examples/multi-chain.md +31 -0
- package/docs/examples/operator-flow.md +28 -0
- package/docs/guide/CLI_GUIDE.md +65 -0
- package/docs/guide/DOCUMENTATION_PLAN.md +455 -0
- package/docs/guide/Security-solution.md +106 -0
- package/docs/guide/TEST_COMMANDS.md +320 -0
- package/docs/guide/concepts/account-abstraction.md +95 -0
- package/docs/guide/concepts/rainbow-bridge.md +68 -0
- package/docs/guide/concepts/reputation.md +95 -0
- package/docs/guide/concepts/superpaymaster.md +141 -0
- package/docs/guide/getting-started.md +133 -0
- package/docs/guide/installation.md +40 -0
- package/docs/guide/paper-data-collection.md +69 -0
- package/docs/guide/quick-start.md +52 -0
- package/docs/guide/task_breakdown.md +121 -0
- package/docs/guide/use-cases/community-management.md +141 -0
- package/docs/guide/use-cases/gasless-transactions.md +71 -0
- package/docs/guide/use-cases/operator-staking.md +84 -0
- package/docs/guide/use-cases/yop.md +72 -0
- package/docs/old-solution.md +1078 -0
- package/docs/paper-data-collection.md +69 -0
- package/docs/refactor/2026-01-13-221242-trae-refactor.md +224 -0
- package/docs/refactor/2026-01-13-audit-analysis.md +96 -0
- package/docs/refactor/2026-01-13-audit-report-v0.16.2.md +76 -0
- package/docs/refactor/2026-01-13-audit-report-v0.17.0.md +74 -0
- package/docs/refactor/2026-01-13-cursor-refactor.md +511 -0
- package/docs/refactor/2026-01-13-refactor-plan.md +88 -0
- package/docs/refactor/2026-01-13-refactor-response-plan.md +77 -0
- package/docs/refactor/2026-01-13-refactor-review.md +39 -0
- package/docs/refactor/2026-01-13-sdk-enhancement-plan.md +120 -0
- package/docs/refactor/2026-01-14-audit-response.md +242 -0
- package/docs/refactor/2026-01-14-audit-summary.md +133 -0
- package/docs/refactor/cursor-2026-01-13-14-00-audit-report.md +267 -0
- package/docs/technical_plan.md +510 -0
- package/docs/zh/examples/community-flow.md +38 -0
- package/docs/zh/examples/complete-workflow.md +10 -0
- package/docs/zh/examples/enduser-flow.md +33 -0
- package/docs/zh/examples/index.md +18 -0
- package/docs/zh/examples/multi-chain.md +46 -0
- package/docs/zh/examples/operator-flow.md +37 -0
- package/docs/zh/guide/CLI_GUIDE.md +48 -0
- package/docs/zh/guide/DOCUMENTATION_PLAN.md +455 -0
- package/docs/zh/guide/Plan.md +266 -0
- package/docs/zh/guide/SDK_Optimization_Evaluation_Plan.md +51 -0
- package/docs/zh/guide/Security-solution.md +106 -0
- package/docs/zh/guide/TEST_COMMANDS.md +125 -0
- package/docs/zh/guide/TEST_COVERAGE_MATRIX.md +72 -0
- package/docs/zh/guide/concepts/account-abstraction.md +95 -0
- package/docs/zh/guide/concepts/rainbow-bridge.md +68 -0
- package/docs/zh/guide/concepts/reputation.md +95 -0
- package/docs/zh/guide/concepts/superpaymaster.md +141 -0
- package/docs/zh/guide/getting-started.md +133 -0
- package/docs/zh/guide/installation.md +107 -0
- package/docs/zh/guide/old-solution.md +1078 -0
- package/docs/zh/guide/paper-data-collection.md +69 -0
- package/docs/zh/guide/quick-start.md +134 -0
- package/docs/zh/guide/sdk-readme.md +253 -0
- package/docs/zh/guide/task_breakdown.md +76 -0
- package/docs/zh/guide/technical_plan.md +510 -0
- package/docs/zh/guide/use-cases/community-management.md +141 -0
- package/docs/zh/guide/use-cases/gasless-transactions.md +71 -0
- package/docs/zh/guide/use-cases/operator-staking.md +84 -0
- package/docs/zh/guide/use-cases/yop.md +72 -0
- package/env.template +32 -0
- package/examples/l1-api-demo.ts +184 -0
- package/examples/l2-clients-demo.ts +138 -0
- package/examples/l3-user-onboarding.ts +74 -0
- package/examples/prepare-gasless.ts +89 -0
- package/examples/sdk-demo/DEVELOPER_GUIDE.md +159 -0
- package/examples/sdk-demo/README.md +30 -0
- package/examples/sdk-demo/usage.ts +137 -0
- package/examples/simple-gasless-demo.ts +80 -0
- package/examples/simple-superpaymaster-demo.ts +96 -0
- package/ext/aastar-shared-config/.env.example +6 -0
- package/ext/aastar-shared-config/.github/workflows/check-secrets.yml +257 -0
- package/ext/aastar-shared-config/AGENTS.md +21 -0
- package/ext/aastar-shared-config/CHANGELOG.md +99 -0
- package/ext/aastar-shared-config/LICENSE +21 -0
- package/ext/aastar-shared-config/QUICK_START.md +215 -0
- package/ext/aastar-shared-config/README.md +412 -0
- package/ext/aastar-shared-config/SHARED_CONFIG_SUMMARY.md +273 -0
- package/ext/aastar-shared-config/check-locker-status.mjs +7 -0
- package/ext/aastar-shared-config/favicon.ico +0 -0
- package/ext/aastar-shared-config/generate-comparison-table.sh +67 -0
- package/ext/aastar-shared-config/package.json +46 -0
- package/ext/aastar-shared-config/pnpm-lock.yaml +1182 -0
- package/ext/aastar-shared-config/src/abis/BLSAggregator.json +1 -0
- package/ext/aastar-shared-config/src/abis/DVTValidator.json +1 -0
- package/ext/aastar-shared-config/src/abis/GToken.json +1 -0
- package/ext/aastar-shared-config/src/abis/GTokenStaking.json +1 -0
- package/ext/aastar-shared-config/src/abis/MySBT.json +1 -0
- package/ext/aastar-shared-config/src/abis/PaymasterFactory.json +1 -0
- package/ext/aastar-shared-config/src/abis/PaymasterV4.json +1098 -0
- package/ext/aastar-shared-config/src/abis/Registry.json +1 -0
- package/ext/aastar-shared-config/src/abis/SimpleAccount.json +557 -0
- package/ext/aastar-shared-config/src/abis/SimpleAccountFactory.json +87 -0
- package/ext/aastar-shared-config/src/abis/SuperPaymasterV2.json +1 -0
- package/ext/aastar-shared-config/src/abis/index.ts +45 -0
- package/ext/aastar-shared-config/src/abis/xPNTsFactory.json +1 -0
- package/ext/aastar-shared-config/src/abis/xPNTsToken.json +1 -0
- package/ext/aastar-shared-config/src/branding.ts +32 -0
- package/ext/aastar-shared-config/src/communities.ts +93 -0
- package/ext/aastar-shared-config/src/constants.ts +67 -0
- package/ext/aastar-shared-config/src/contract-addresses.ts +95 -0
- package/ext/aastar-shared-config/src/contract-versions.ts +374 -0
- package/ext/aastar-shared-config/src/contracts.ts +414 -0
- package/ext/aastar-shared-config/src/index.ts +14 -0
- package/ext/aastar-shared-config/src/networks.ts +117 -0
- package/ext/aastar-shared-config/sync-abis.sh +92 -0
- package/ext/aastar-shared-config/sync-versions.mjs +150 -0
- package/ext/aastar-shared-config/tsconfig.json +18 -0
- package/ext/aastar-shared-config/tsup.config.ts +10 -0
- package/ext/aastar-shared-config/verify-all.sh +207 -0
- package/ext/aastar-shared-config/verify-contracts.sh +85 -0
- package/ext/aastar-shared-config/verify-mysbt-v243.mjs +27 -0
- package/ext/aastar-shared-config/verify-onchain-versions.mjs +93 -0
- package/l4-setup.sh +11 -0
- package/lib/SHARED_CONFIG_REFERENCE.md +133 -0
- package/lib/shared-config/.env.example +6 -0
- package/lib/shared-config/.github/workflows/check-secrets.yml +257 -0
- package/lib/shared-config/AGENTS.md +21 -0
- package/lib/shared-config/CHANGELOG.md +99 -0
- package/lib/shared-config/LICENSE +21 -0
- package/lib/shared-config/QUICK_START.md +215 -0
- package/lib/shared-config/README.md +412 -0
- package/lib/shared-config/SHARED_CONFIG_SUMMARY.md +273 -0
- package/lib/shared-config/check-locker-status.mjs +7 -0
- package/lib/shared-config/favicon.ico +0 -0
- package/lib/shared-config/generate-comparison-table.sh +67 -0
- package/lib/shared-config/package.json +46 -0
- package/lib/shared-config/pnpm-lock.yaml +1182 -0
- package/lib/shared-config/src/abis/BLSAggregator.json +1 -0
- package/lib/shared-config/src/abis/DVTValidator.json +1 -0
- package/lib/shared-config/src/abis/GToken.json +1 -0
- package/lib/shared-config/src/abis/GTokenStaking.json +1 -0
- package/lib/shared-config/src/abis/MySBT.json +1 -0
- package/lib/shared-config/src/abis/PaymasterFactory.json +1 -0
- package/lib/shared-config/src/abis/PaymasterV4.json +1098 -0
- package/lib/shared-config/src/abis/Registry.json +1 -0
- package/lib/shared-config/src/abis/SimpleAccount.json +557 -0
- package/lib/shared-config/src/abis/SimpleAccountFactory.json +87 -0
- package/lib/shared-config/src/abis/SuperPaymasterV2.json +1 -0
- package/lib/shared-config/src/abis/index.ts +45 -0
- package/lib/shared-config/src/abis/xPNTsFactory.json +1 -0
- package/lib/shared-config/src/abis/xPNTsToken.json +1 -0
- package/lib/shared-config/src/branding.ts +32 -0
- package/lib/shared-config/src/communities.ts +93 -0
- package/lib/shared-config/src/constants.ts +67 -0
- package/lib/shared-config/src/contract-addresses.ts +95 -0
- package/lib/shared-config/src/contract-versions.ts +374 -0
- package/lib/shared-config/src/contracts.ts +414 -0
- package/lib/shared-config/src/index.ts +14 -0
- package/lib/shared-config/src/networks.ts +117 -0
- package/lib/shared-config/sync-abis.sh +92 -0
- package/lib/shared-config/sync-versions.mjs +150 -0
- package/lib/shared-config/tsconfig.json +18 -0
- package/lib/shared-config/tsup.config.ts +10 -0
- package/lib/shared-config/verify-all.sh +207 -0
- package/lib/shared-config/verify-contracts.sh +85 -0
- package/lib/shared-config/verify-mysbt-v243.mjs +27 -0
- package/lib/shared-config/verify-onchain-versions.mjs +93 -0
- package/package.json +58 -22
- package/packages/account/package.json +23 -0
- package/packages/account/src/accounts/simple.test.ts +93 -0
- package/packages/account/src/accounts/simple.ts +84 -0
- package/packages/account/src/eoa.test.ts +37 -0
- package/packages/account/src/eoa.ts +33 -0
- package/packages/account/src/index.test.ts +34 -0
- package/packages/account/src/index.ts +61 -0
- package/packages/account/tsconfig.json +11 -0
- package/packages/analytics/package.json +28 -0
- package/packages/analytics/src/index.ts +145 -0
- package/packages/analytics/tsconfig.json +11 -0
- package/packages/core/package.json +32 -0
- package/packages/core/scripts/audit-abi-coverage.ts +165 -0
- package/packages/core/scripts/debug-regex.ts +36 -0
- package/packages/core/src/abis/.abi-hashes.json +26 -0
- package/packages/core/src/abis/BLSAggregator.json +686 -0
- package/packages/core/src/abis/BLSValidator.json +42 -0
- package/packages/core/src/abis/DVTValidator.json +368 -0
- package/packages/core/src/abis/Eip7702Support.json +24 -0
- package/packages/core/src/abis/EntryPoint.json +1382 -0
- package/packages/core/src/abis/GToken.json +513 -0
- package/packages/core/src/abis/GTokenStaking.json +949 -0
- package/packages/core/src/abis/LegacyAccount.json +625 -0
- package/packages/core/src/abis/MySBT.json +1518 -0
- package/packages/core/src/abis/Paymaster.json +1143 -0
- package/packages/core/src/abis/PaymasterFactory.json +640 -0
- package/packages/core/src/abis/Registry.json +1942 -0
- package/packages/core/src/abis/ReputationSystem.json +699 -0
- package/packages/core/src/abis/SenderCreator.json +99 -0
- package/packages/core/src/abis/Simple7702Account.json +395 -0
- package/packages/core/src/abis/SimpleAccount.json +560 -0
- package/packages/core/src/abis/SimpleAccountFactory.json +111 -0
- package/packages/core/src/abis/SimpleAccountFactoryV08.json +87 -0
- package/packages/core/src/abis/SimpleAccountV08.json +557 -0
- package/packages/core/src/abis/SuperPaymaster.json +1781 -0
- package/packages/core/src/abis/UserOperationLib.json +57 -0
- package/packages/core/src/abis/abi.config.json +24 -0
- package/packages/core/src/abis/index.ts +104 -0
- package/packages/core/src/abis/xPNTsFactory.json +718 -0
- package/packages/core/src/abis/xPNTsToken.json +1280 -0
- package/packages/core/src/actions/StateValidator.test.ts +175 -0
- package/packages/core/src/actions/StateValidator.ts +253 -0
- package/packages/core/src/actions/account.test.ts +155 -0
- package/packages/core/src/actions/account.ts +179 -0
- package/packages/core/src/actions/aggregator.test.ts +88 -0
- package/packages/core/src/actions/aggregator.ts +41 -0
- package/packages/core/src/actions/dvt.test.ts +124 -0
- package/packages/core/src/actions/dvt.ts +53 -0
- package/packages/core/src/actions/entryPoint.test.ts +176 -0
- package/packages/core/src/actions/entryPoint.ts +266 -0
- package/packages/core/src/actions/factory.test.ts +250 -0
- package/packages/core/src/actions/factory.ts +613 -0
- package/packages/core/src/actions/faucet.test.ts +202 -0
- package/packages/core/src/actions/faucet.ts +421 -0
- package/packages/core/src/actions/gtokenExtended.test.ts +162 -0
- package/packages/core/src/actions/gtokenExtended.ts +153 -0
- package/packages/core/src/actions/index.ts +18 -0
- package/packages/core/src/actions/paymasterV4.test.ts +209 -0
- package/packages/core/src/actions/paymasterV4.ts +455 -0
- package/packages/core/src/actions/registry.test.ts +443 -0
- package/packages/core/src/actions/registry.ts +860 -0
- package/packages/core/src/actions/reputation.test.ts +225 -0
- package/packages/core/src/actions/reputation.ts +378 -0
- package/packages/core/src/actions/sbt.test.ts +322 -0
- package/packages/core/src/actions/sbt.ts +681 -0
- package/packages/core/src/actions/staking.test.ts +273 -0
- package/packages/core/src/actions/staking.ts +421 -0
- package/packages/core/src/actions/superPaymaster.test.ts +356 -0
- package/packages/core/src/actions/superPaymaster.ts +828 -0
- package/packages/core/src/actions/tokens.test.ts +60 -0
- package/packages/core/src/actions/tokens.ts +527 -0
- package/packages/core/src/actions/validators.test.ts +239 -0
- package/packages/core/src/actions/validators.ts +590 -0
- package/packages/core/src/branding.ts +32 -0
- package/packages/core/src/clients/BaseClient.ts +78 -0
- package/packages/core/src/clients/types.ts +69 -0
- package/packages/core/src/clients.ts +13 -0
- package/packages/core/src/communities.ts +93 -0
- package/packages/core/src/config/ContractConfigManager.ts +63 -0
- package/packages/core/src/constants.ts +145 -0
- package/packages/core/src/contract-addresses.ts +125 -0
- package/packages/core/src/contracts.test.ts +58 -0
- package/packages/core/src/contracts.ts +414 -0
- package/packages/core/src/crypto/blsSigner.ts +124 -0
- package/packages/core/src/crypto/index.ts +1 -0
- package/packages/core/src/index.ts +22 -0
- package/packages/core/src/networks.ts +127 -0
- package/packages/core/src/requirementChecker.test.ts +71 -0
- package/packages/core/src/requirementChecker.ts +187 -0
- package/packages/core/src/roles.test.ts +34 -0
- package/packages/core/src/roles.ts +255 -0
- package/packages/core/src/utils/validation.test.ts +50 -0
- package/packages/core/src/utils/validation.ts +66 -0
- package/packages/core/src/utils.ts +23 -0
- package/packages/core/tsconfig.json +12 -0
- package/packages/core/vitest.config.ts +14 -0
- package/packages/dapp/package.json +30 -0
- package/packages/dapp/src/index.ts +4 -0
- package/packages/dapp/src/ui/components/EvaluationPanel.tsx +40 -0
- package/packages/dapp/src/ui/hooks/useCreditScore.ts +44 -0
- package/packages/dapp/src/ui/hooks/useSuperPaymaster.ts +31 -0
- package/packages/dapp/src/ui/index.ts +22 -0
- package/packages/dapp/tsconfig.json +12 -0
- package/packages/identity/package.json +25 -0
- package/packages/identity/src/index.ts +114 -0
- package/packages/identity/src/mysbt.ts +48 -0
- package/packages/identity/tsconfig.json +11 -0
- package/packages/paymaster/package.json +25 -0
- package/packages/paymaster/src/SuperPaymaster/index.ts +168 -0
- package/packages/paymaster/src/V4/PaymasterClient.test.ts +114 -0
- package/packages/paymaster/src/V4/PaymasterClient.ts +385 -0
- package/packages/paymaster/src/V4/PaymasterOperator.test.ts +80 -0
- package/packages/paymaster/src/V4/PaymasterOperator.ts +282 -0
- package/packages/paymaster/src/V4/PaymasterUtils.test.ts +54 -0
- package/packages/paymaster/src/V4/PaymasterUtils.ts +185 -0
- package/packages/paymaster/src/V4/SuperPaymasterClient.test.ts +79 -0
- package/packages/paymaster/src/V4/SuperPaymasterClient.ts +123 -0
- package/packages/paymaster/src/V4/index.ts +4 -0
- package/packages/paymaster/src/index.ts +5 -0
- package/packages/paymaster/tsconfig.json +11 -0
- package/packages/sdk/README.md +150 -0
- package/packages/sdk/aastar/package.json +21 -0
- package/packages/sdk/aastar/src/index.ts +3 -0
- package/packages/sdk/aastar/tsconfig.json +7 -0
- package/packages/sdk/coverage_output.txt +393 -0
- package/packages/sdk/coverage_output_final.txt +739 -0
- package/packages/sdk/coverage_output_final_v2.txt +722 -0
- package/packages/sdk/coverage_output_final_v3.txt +722 -0
- package/packages/sdk/examples/config.json +1 -0
- package/packages/sdk/examples/regression_test.ts +106 -0
- package/packages/sdk/package.json +44 -0
- package/packages/sdk/src/clients/ExperimentClient.test.ts +65 -0
- package/packages/sdk/src/clients/ExperimentClient.ts +80 -0
- package/packages/sdk/src/clients/admin.test.ts +98 -0
- package/packages/sdk/src/clients/admin.ts +154 -0
- package/packages/sdk/src/clients/clients.test.ts +104 -0
- package/packages/sdk/src/clients/community.test.ts +118 -0
- package/packages/sdk/src/clients/community.ts +337 -0
- package/packages/sdk/src/clients/endUser.test.ts +221 -0
- package/packages/sdk/src/clients/endUser.ts +551 -0
- package/packages/sdk/src/clients/operator.test.ts +162 -0
- package/packages/sdk/src/clients/operator.ts +355 -0
- package/packages/sdk/src/errors/AAStarError.test.ts +92 -0
- package/packages/sdk/src/errors/AAStarError.ts +70 -0
- package/packages/sdk/src/errors/decoder.test.ts +107 -0
- package/packages/sdk/src/errors/decoder.ts +91 -0
- package/packages/sdk/src/index.ts +23 -0
- package/packages/sdk/src/node/index.ts +8 -0
- package/packages/sdk/src/types/result.ts +29 -0
- package/packages/sdk/src/utils/errorHandler.test.ts +102 -0
- package/packages/sdk/src/utils/errorHandler.ts +167 -0
- package/packages/sdk/src/utils/eventDecoder.test.ts +56 -0
- package/packages/sdk/src/utils/eventDecoder.ts +66 -0
- package/packages/sdk/src/utils/funding.test.ts +117 -0
- package/packages/sdk/src/utils/funding.ts +280 -0
- package/packages/sdk/src/utils/keys.test.ts +105 -0
- package/packages/sdk/src/utils/keys.ts +174 -0
- package/packages/sdk/src/utils/roleData.test.ts +85 -0
- package/packages/sdk/src/utils/roleData.ts +140 -0
- package/packages/sdk/src/utils/testScenarios.test.ts +79 -0
- package/packages/sdk/src/utils/testScenarios.ts +128 -0
- package/packages/sdk/src/utils/userOp.test.ts +190 -0
- package/packages/sdk/src/utils/userOp.ts +265 -0
- package/packages/sdk/tests/scenarios/01_onboard_community.ts +62 -0
- package/packages/sdk/tests/scenarios/02_onboard_operator.ts +109 -0
- package/packages/sdk/tests/scenarios/03_onboard_user.ts +53 -0
- package/packages/sdk/tests/scenarios/04_gasless_tx_flow.ts +68 -0
- package/packages/sdk/tests/scenarios/check_entrypoint.ts +19 -0
- package/packages/sdk/tests/scenarios/check_initialization.ts +65 -0
- package/packages/sdk/tests/scenarios/debug_addresses.ts +26 -0
- package/packages/sdk/tests/scenarios/diagnose_scenario4.ts +55 -0
- package/packages/sdk/tests/scenarios/setup.ts +33 -0
- package/packages/sdk/tests/scenarios/test_entrypoint_nonce.ts +46 -0
- package/packages/sdk/tsconfig.json +11 -0
- package/packages/tokens/package.json +25 -0
- package/packages/tokens/src/index.ts +273 -0
- package/packages/tokens/tsconfig.json +11 -0
- package/pnpm-workspace.yaml +2 -0
- package/run_l4_gasless_regression.sh +79 -0
- package/run_sdk_regression.sh +238 -0
- package/scripts/00_utils.ts +59 -0
- package/scripts/00_verify_phase1.ts +130 -0
- package/scripts/01_1_prep_gtoken.ts +81 -0
- package/scripts/01_2_register_sbt.ts +88 -0
- package/scripts/01_3_prep_tokens_paymaster.ts +102 -0
- package/scripts/01_prepare_all.ts +222 -0
- package/scripts/02_test_eoa.ts +53 -0
- package/scripts/03_test_standard_aa.ts +68 -0
- package/scripts/04_0_check_deploy.ts +24 -0
- package/scripts/04_1_check_allowance.ts +44 -0
- package/scripts/04_2_construct_verify.ts +96 -0
- package/scripts/04_3_verify_estimate.ts +66 -0
- package/scripts/04_4_verify_pack.ts +74 -0
- package/scripts/04_test_paymaster_v4.ts +60 -0
- package/scripts/05_1_deposit.ts +48 -0
- package/scripts/05_test_superpaymaster.ts +58 -0
- package/scripts/06_local_test_v3_admin.ts +163 -0
- package/scripts/06_local_test_v3_execution.ts +132 -0
- package/scripts/06_local_test_v3_full.ts +490 -0
- package/scripts/06_local_test_v3_funding.ts +124 -0
- package/scripts/06_local_test_v3_reputation.ts +234 -0
- package/scripts/07_local_test_v3_audit.ts +181 -0
- package/scripts/08_local_test_registry_lifecycle.ts +382 -0
- package/scripts/09_local_test_community_lifecycle.ts +385 -0
- package/scripts/09_local_test_community_simple.ts +108 -0
- package/scripts/09_scenario_bread_independent.ts +247 -0
- package/scripts/10_scenario_super_shared.ts +196 -0
- package/scripts/10_test_protocol_admin_full.ts +173 -0
- package/scripts/11_scenario_hacker_defense.ts +104 -0
- package/scripts/11_test_core_flows_full.ts +157 -0
- package/scripts/12_test_slash_mechanism.ts +205 -0
- package/scripts/12_test_slash_queries.ts +83 -0
- package/scripts/12_test_staking_exit.ts +152 -0
- package/scripts/12_test_staking_slash.ts +301 -0
- package/scripts/12_test_tier2_slash.ts +139 -0
- package/scripts/13_test_sbt_burn_linkage.ts +266 -0
- package/scripts/14_test_credit_redesign.ts +266 -0
- package/scripts/15_test_bls_full.ts +148 -0
- package/scripts/15_test_dvt_bls_full.ts +140 -0
- package/scripts/17_test_cross_role_collaboration.ts +95 -0
- package/scripts/18_sdk_e2e_verification.ts +67 -0
- package/scripts/18_test_dvt_sdk_flow.ts +138 -0
- package/scripts/18_test_lifecycle_completion.ts +144 -0
- package/scripts/19_sdk_experiment_runner.ts +114 -0
- package/scripts/19_sdk_experiment_runner.ts.backup +391 -0
- package/scripts/20_sdk_full_capability.ts +93 -0
- package/scripts/20_test_superpaymaster_new_apis.ts +193 -0
- package/scripts/21_test_paymasterv4_complete.ts +341 -0
- package/scripts/22_test_bls_signing.ts +260 -0
- package/scripts/23_test_middleware.ts +197 -0
- package/scripts/98_edge_reentrancy.ts +85 -0
- package/scripts/99_bug_hunting_fast.ts +99 -0
- package/scripts/analyze_abi_coverage.ts +169 -0
- package/scripts/check-admin.ts +95 -0
- package/scripts/check-jason-status.ts +184 -0
- package/scripts/check-roles.ts +36 -0
- package/scripts/clear-nonce.ts +47 -0
- package/scripts/collect_industry_baseline.ts +236 -0
- package/scripts/complete-jack-superpaymaster.ts +171 -0
- package/scripts/complete_env_config.ts +97 -0
- package/scripts/debug-addr.ts +43 -0
- package/scripts/debug-community-registration.ts +92 -0
- package/scripts/debug-deploy-v4.ts +116 -0
- package/scripts/debug-paymaster.ts +127 -0
- package/scripts/debug-register-role.ts +101 -0
- package/scripts/debug-version.ts +71 -0
- package/scripts/debug_account_c.ts +43 -0
- package/scripts/debug_bls.ts +58 -0
- package/scripts/debug_config_v036.ts +13 -0
- package/scripts/debug_contracts.ts +2 -0
- package/scripts/debug_env.ts +69 -0
- package/scripts/debug_find_paymaster.ts +98 -0
- package/scripts/debug_isolated_registration.ts +256 -0
- package/scripts/debug_paymaster_config.ts +19 -0
- package/scripts/debug_pim_addr.ts +23 -0
- package/scripts/debug_pm_status.ts +51 -0
- package/scripts/debug_registry.ts +39 -0
- package/scripts/debug_registry_setup.ts +129 -0
- package/scripts/debug_sanity.ts +32 -0
- package/scripts/debug_shared_config.ts +10 -0
- package/scripts/debug_token_compat.ts +51 -0
- package/scripts/debug_tokens.ts +41 -0
- package/scripts/debug_vcheck.ts +33 -0
- package/scripts/deploy-sync.ts +104 -0
- package/scripts/deploy_and_init_v3.sh +134 -0
- package/scripts/deploy_anvil_accounts.ts +144 -0
- package/scripts/deploy_paymaster_v4.ts +139 -0
- package/scripts/deploy_test_accounts.ts +401 -0
- package/scripts/deprecated/check_aa_entrypoint.ts +29 -0
- package/scripts/deprecated/check_paymaster_deposits.ts +45 -0
- package/scripts/deprecated/debug_aoa_function.ts +28 -0
- package/scripts/deprecated/debug_aoa_issue.ts +16 -0
- package/scripts/deprecated/debug_pimlico_aa23.ts +40 -0
- package/scripts/deprecated/debug_summary.ts +34 -0
- package/scripts/deprecated/deploy_v07_aa.ts +99 -0
- package/scripts/deprecated/fix_all_issues.ts +61 -0
- package/scripts/deprecated/fund_bpnts.ts +52 -0
- package/scripts/deprecated/get_factory_addresses.ts +28 -0
- package/scripts/deprecated/recheck_pim.ts +34 -0
- package/scripts/dev_tools/extract_abis.sh +151 -0
- package/scripts/dev_tools/extract_addresses_to_env.sh +67 -0
- package/scripts/dev_tools/final_safe_harmonize.py +77 -0
- package/scripts/dev_tools/safe_harmonize.py +107 -0
- package/scripts/dev_tools/surgical_harmonize.py +83 -0
- package/scripts/experiment/stage3/SETUP_GUIDE.md +258 -0
- package/scripts/experiment/stage3/archived_scripts/00_token_distribution.ts +78 -0
- package/scripts/experiment/stage3/archived_scripts/01_dao_launch.ts +96 -0
- package/scripts/experiment/stage3/archived_scripts/01b_bread_launch.ts +112 -0
- package/scripts/experiment/stage3/archived_scripts/02_operator_setup.ts +84 -0
- package/scripts/experiment/stage3/archived_scripts/02b_operator_b_setup.ts +104 -0
- package/scripts/experiment/stage3/archived_scripts/02c_finalize_operators.ts +86 -0
- package/scripts/experiment/stage3/archived_scripts/02d_operator_collateral.ts +89 -0
- package/scripts/experiment/stage3/archived_scripts/03_user_onboarding.ts +83 -0
- package/scripts/experiment/stage3/archived_scripts/03b_deploy_aa_account.ts +61 -0
- package/scripts/experiment/stage3/archived_scripts/03c_aa_onboarding.ts +104 -0
- package/scripts/experiment/stage3/archived_scripts/03d_mint_points.ts +60 -0
- package/scripts/experiment/stage3/archived_scripts/04_benchmarking.ts +100 -0
- package/scripts/experiment/stage3/archived_scripts/05_multi_op_setup.ts +149 -0
- package/scripts/experiment/stage3/archived_scripts/README.md +58 -0
- package/scripts/experiment/stage3/archived_scripts/check_roles.ts +29 -0
- package/scripts/experiment/stage3/archived_scripts/decode_error.ts +23 -0
- package/scripts/experiment/stage3/archived_scripts/fund_user.ts +51 -0
- package/scripts/experiment/stage3/archived_scripts/gen_b_key.ts +3 -0
- package/scripts/experiment/stage3/archived_scripts/gen_keys.ts +4 -0
- package/scripts/experiment/stage3/archived_scripts/setup.ts +105 -0
- package/scripts/experiment/stage3/archived_scripts/test_key.ts +4 -0
- package/scripts/experiment/stage3/archived_scripts/verify_state.ts +59 -0
- package/scripts/experiment/stage3/refactored/00_token_distribution.ts +46 -0
- package/scripts/experiment/stage3/refactored/02_operator_setup.ts +65 -0
- package/scripts/experiment/stage3/refactored/03_user_onboarding.ts +68 -0
- package/scripts/experiment/stage3/refactored/05_multi_op_setup.ts +63 -0
- package/scripts/experiment/stage3/refactored/README.md +71 -0
- package/scripts/extract-docs.sh +141 -0
- package/scripts/fund-jack.ts +38 -0
- package/scripts/generate_env_from_deployment.ts +109 -0
- package/scripts/inspect-anni-token.ts +116 -0
- package/scripts/inspect-factory.ts +83 -0
- package/scripts/l4-paymasterv4-transfer-test.ts +228 -0
- package/scripts/l4-setup.ts +453 -0
- package/scripts/l4-state.json +80 -0
- package/scripts/phase1_verify_contracts.ts +207 -0
- package/scripts/pre_test_sync.ts +83 -0
- package/scripts/prepare_sepolia_resources.ts +154 -0
- package/scripts/publish_all.sh +39 -0
- package/scripts/query-jack-token.ts +22 -0
- package/scripts/quick_setup.ts +124 -0
- package/scripts/quick_setup_account.ts +80 -0
- package/scripts/run_automated_experiment.sh +121 -0
- package/scripts/run_daily_experiment.ts +70 -0
- package/scripts/run_l4_gasless_regression.sh +32 -0
- package/scripts/run_sdk_experiment.sh +13 -0
- package/scripts/run_sdk_regression-v2.sh +38 -0
- package/scripts/sdk_regression_v2.ts +162 -0
- package/scripts/security_audit.sh +172 -0
- package/scripts/setup-bbq-community.ts +187 -0
- package/scripts/setup-dancing-community.ts +223 -0
- package/scripts/setup_test_accounts.ts +88 -0
- package/scripts/setup_test_environment.ts +147 -0
- package/scripts/sync_anvil_config.cjs +44 -0
- package/scripts/sync_config_to_env.ts +88 -0
- package/scripts/sync_contract_addresses.ts +186 -0
- package/scripts/sync_sepolia_config.cjs +90 -0
- package/scripts/sync_sepolia_config.mjs +74 -0
- package/scripts/test-brown-v4-deploy.ts +90 -0
- package/scripts/test-faucet-and-gasless.ts +170 -0
- package/scripts/test-jack-gasless.ts +119 -0
- package/scripts/test-jack-registration.ts +133 -0
- package/scripts/test-jack-superpaymaster-api.ts +112 -0
- package/scripts/test-kms-gasless.ts +138 -0
- package/scripts/test_groups.ts +138 -0
- package/scripts/test_multi_community_anvil.ts +276 -0
- package/scripts/test_new_sdk_apis_sepolia.ts +193 -0
- package/scripts/test_sdk_join_idempotent.ts +233 -0
- package/scripts/test_simple_sepolia.ts +44 -0
- package/scripts/update_env_from_config.ts +83 -0
- package/scripts/v2_regression/00_validate_env.ts +101 -0
- package/scripts/v2_regression/01_setup_and_fund.ts +132 -0
- package/scripts/v2_regression/02_operator_onboarding.ts +174 -0
- package/scripts/v2_regression/03_community_registry.ts +139 -0
- package/scripts/v2_regression/04_enduser_flow.ts +141 -0
- package/scripts/v2_regression/05_admin_audit.ts +157 -0
- package/scripts/v2_regression/README.md +161 -0
- package/scripts/validate_env.ts +112 -0
- package/scripts/verify-tx-status.ts +81 -0
- package/scripts/verify_onchain_milestone.ts +114 -0
- package/scripts/verify_phase1.ts +66 -0
- package/scripts/verify_phase2.ts +66 -0
- package/sdk_experiment_data.csv +4 -0
- package/simple-test-paymaster.sh +2 -0
- package/simple-test-superpaymaster.sh +1 -0
- package/tests/l1-regression.test.ts +458 -0
- package/tests/l4-test-anni-gasless.ts +105 -0
- package/tests/l4-test-jason1-gasless.ts +150 -0
- package/tests/l4-test-jason2-gasless.ts +174 -0
- package/tests/l4-test-pmv4-deposit.ts +111 -0
- package/tests/l4-test-pmv4-gasless.ts +166 -0
- package/tests/l4-test-pmv4-submit.ts +223 -0
- package/tests/regression/README.md +168 -0
- package/tests/regression/config.ts +215 -0
- package/tests/regression/display-versions.ts +85 -0
- package/tests/regression/index.ts +67 -0
- package/tests/regression/l1-tests.ts +267 -0
- package/tests/regression/l2-tests.ts +171 -0
- package/tests/regression/l3-tests.ts +125 -0
- package/tests/regression/l4-gasless.ts +897 -0
- package/tests/regression/l4-runner.ts +52 -0
- package/tests/reports/phase1_contract_verification.md +45 -0
- package/tests/utils/contractVerifier.ts +237 -0
- package/tests/utils/userOpHelper.ts +194 -0
- package/tsconfig.json +41 -0
- package/typedoc.json +59 -0
- package/vitest.config.ts +16 -0
- package/dist/clients/admin.d.ts +0 -12
- package/dist/clients/admin.d.ts.map +0 -1
- package/dist/clients/admin.js +0 -20
- package/dist/clients/admin.js.map +0 -1
- package/dist/clients/community.d.ts +0 -12
- package/dist/clients/community.d.ts.map +0 -1
- package/dist/clients/community.js +0 -18
- package/dist/clients/community.js.map +0 -1
- package/dist/clients/endUser.d.ts +0 -12
- package/dist/clients/endUser.d.ts.map +0 -1
- package/dist/clients/endUser.js +0 -20
- package/dist/clients/endUser.js.map +0 -1
- package/dist/clients/operator.d.ts +0 -18
- package/dist/clients/operator.d.ts.map +0 -1
- package/dist/clients/operator.js +0 -65
- package/dist/clients/operator.js.map +0 -1
- package/dist/index.d.ts +0 -11
- package/dist/index.d.ts.map +0 -1
- package/dist/index.js +0 -12
- package/dist/index.js.map +0 -1
|
@@ -0,0 +1,640 @@
|
|
|
1
|
+
{
|
|
2
|
+
"abi": [
|
|
3
|
+
{
|
|
4
|
+
"type": "constructor",
|
|
5
|
+
"inputs": [],
|
|
6
|
+
"stateMutability": "nonpayable"
|
|
7
|
+
},
|
|
8
|
+
{
|
|
9
|
+
"type": "function",
|
|
10
|
+
"name": "addImplementation",
|
|
11
|
+
"inputs": [
|
|
12
|
+
{
|
|
13
|
+
"name": "_version",
|
|
14
|
+
"type": "string",
|
|
15
|
+
"internalType": "string"
|
|
16
|
+
},
|
|
17
|
+
{
|
|
18
|
+
"name": "implementation",
|
|
19
|
+
"type": "address",
|
|
20
|
+
"internalType": "address"
|
|
21
|
+
}
|
|
22
|
+
],
|
|
23
|
+
"outputs": [],
|
|
24
|
+
"stateMutability": "nonpayable"
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
"type": "function",
|
|
28
|
+
"name": "defaultVersion",
|
|
29
|
+
"inputs": [],
|
|
30
|
+
"outputs": [
|
|
31
|
+
{
|
|
32
|
+
"name": "",
|
|
33
|
+
"type": "string",
|
|
34
|
+
"internalType": "string"
|
|
35
|
+
}
|
|
36
|
+
],
|
|
37
|
+
"stateMutability": "view"
|
|
38
|
+
},
|
|
39
|
+
{
|
|
40
|
+
"type": "function",
|
|
41
|
+
"name": "deployPaymaster",
|
|
42
|
+
"inputs": [
|
|
43
|
+
{
|
|
44
|
+
"name": "_version",
|
|
45
|
+
"type": "string",
|
|
46
|
+
"internalType": "string"
|
|
47
|
+
},
|
|
48
|
+
{
|
|
49
|
+
"name": "initData",
|
|
50
|
+
"type": "bytes",
|
|
51
|
+
"internalType": "bytes"
|
|
52
|
+
}
|
|
53
|
+
],
|
|
54
|
+
"outputs": [
|
|
55
|
+
{
|
|
56
|
+
"name": "paymaster",
|
|
57
|
+
"type": "address",
|
|
58
|
+
"internalType": "address"
|
|
59
|
+
}
|
|
60
|
+
],
|
|
61
|
+
"stateMutability": "nonpayable"
|
|
62
|
+
},
|
|
63
|
+
{
|
|
64
|
+
"type": "function",
|
|
65
|
+
"name": "deployPaymasterDeterministic",
|
|
66
|
+
"inputs": [
|
|
67
|
+
{
|
|
68
|
+
"name": "_version",
|
|
69
|
+
"type": "string",
|
|
70
|
+
"internalType": "string"
|
|
71
|
+
},
|
|
72
|
+
{
|
|
73
|
+
"name": "salt",
|
|
74
|
+
"type": "bytes32",
|
|
75
|
+
"internalType": "bytes32"
|
|
76
|
+
},
|
|
77
|
+
{
|
|
78
|
+
"name": "initData",
|
|
79
|
+
"type": "bytes",
|
|
80
|
+
"internalType": "bytes"
|
|
81
|
+
}
|
|
82
|
+
],
|
|
83
|
+
"outputs": [
|
|
84
|
+
{
|
|
85
|
+
"name": "paymaster",
|
|
86
|
+
"type": "address",
|
|
87
|
+
"internalType": "address"
|
|
88
|
+
}
|
|
89
|
+
],
|
|
90
|
+
"stateMutability": "nonpayable"
|
|
91
|
+
},
|
|
92
|
+
{
|
|
93
|
+
"type": "function",
|
|
94
|
+
"name": "getImplementation",
|
|
95
|
+
"inputs": [
|
|
96
|
+
{
|
|
97
|
+
"name": "_version",
|
|
98
|
+
"type": "string",
|
|
99
|
+
"internalType": "string"
|
|
100
|
+
}
|
|
101
|
+
],
|
|
102
|
+
"outputs": [
|
|
103
|
+
{
|
|
104
|
+
"name": "implementation",
|
|
105
|
+
"type": "address",
|
|
106
|
+
"internalType": "address"
|
|
107
|
+
}
|
|
108
|
+
],
|
|
109
|
+
"stateMutability": "view"
|
|
110
|
+
},
|
|
111
|
+
{
|
|
112
|
+
"type": "function",
|
|
113
|
+
"name": "getOperatorByPaymaster",
|
|
114
|
+
"inputs": [
|
|
115
|
+
{
|
|
116
|
+
"name": "paymaster",
|
|
117
|
+
"type": "address",
|
|
118
|
+
"internalType": "address"
|
|
119
|
+
}
|
|
120
|
+
],
|
|
121
|
+
"outputs": [
|
|
122
|
+
{
|
|
123
|
+
"name": "operator",
|
|
124
|
+
"type": "address",
|
|
125
|
+
"internalType": "address"
|
|
126
|
+
}
|
|
127
|
+
],
|
|
128
|
+
"stateMutability": "view"
|
|
129
|
+
},
|
|
130
|
+
{
|
|
131
|
+
"type": "function",
|
|
132
|
+
"name": "getPaymasterByOperator",
|
|
133
|
+
"inputs": [
|
|
134
|
+
{
|
|
135
|
+
"name": "operator",
|
|
136
|
+
"type": "address",
|
|
137
|
+
"internalType": "address"
|
|
138
|
+
}
|
|
139
|
+
],
|
|
140
|
+
"outputs": [
|
|
141
|
+
{
|
|
142
|
+
"name": "paymaster",
|
|
143
|
+
"type": "address",
|
|
144
|
+
"internalType": "address"
|
|
145
|
+
}
|
|
146
|
+
],
|
|
147
|
+
"stateMutability": "view"
|
|
148
|
+
},
|
|
149
|
+
{
|
|
150
|
+
"type": "function",
|
|
151
|
+
"name": "getPaymasterCount",
|
|
152
|
+
"inputs": [],
|
|
153
|
+
"outputs": [
|
|
154
|
+
{
|
|
155
|
+
"name": "count",
|
|
156
|
+
"type": "uint256",
|
|
157
|
+
"internalType": "uint256"
|
|
158
|
+
}
|
|
159
|
+
],
|
|
160
|
+
"stateMutability": "view"
|
|
161
|
+
},
|
|
162
|
+
{
|
|
163
|
+
"type": "function",
|
|
164
|
+
"name": "getPaymasterInfo",
|
|
165
|
+
"inputs": [
|
|
166
|
+
{
|
|
167
|
+
"name": "paymaster",
|
|
168
|
+
"type": "address",
|
|
169
|
+
"internalType": "address"
|
|
170
|
+
}
|
|
171
|
+
],
|
|
172
|
+
"outputs": [
|
|
173
|
+
{
|
|
174
|
+
"name": "operator",
|
|
175
|
+
"type": "address",
|
|
176
|
+
"internalType": "address"
|
|
177
|
+
},
|
|
178
|
+
{
|
|
179
|
+
"name": "isValid",
|
|
180
|
+
"type": "bool",
|
|
181
|
+
"internalType": "bool"
|
|
182
|
+
}
|
|
183
|
+
],
|
|
184
|
+
"stateMutability": "view"
|
|
185
|
+
},
|
|
186
|
+
{
|
|
187
|
+
"type": "function",
|
|
188
|
+
"name": "getPaymasterList",
|
|
189
|
+
"inputs": [
|
|
190
|
+
{
|
|
191
|
+
"name": "offset",
|
|
192
|
+
"type": "uint256",
|
|
193
|
+
"internalType": "uint256"
|
|
194
|
+
},
|
|
195
|
+
{
|
|
196
|
+
"name": "limit",
|
|
197
|
+
"type": "uint256",
|
|
198
|
+
"internalType": "uint256"
|
|
199
|
+
}
|
|
200
|
+
],
|
|
201
|
+
"outputs": [
|
|
202
|
+
{
|
|
203
|
+
"name": "paymasters",
|
|
204
|
+
"type": "address[]",
|
|
205
|
+
"internalType": "address[]"
|
|
206
|
+
}
|
|
207
|
+
],
|
|
208
|
+
"stateMutability": "view"
|
|
209
|
+
},
|
|
210
|
+
{
|
|
211
|
+
"type": "function",
|
|
212
|
+
"name": "hasImplementation",
|
|
213
|
+
"inputs": [
|
|
214
|
+
{
|
|
215
|
+
"name": "_version",
|
|
216
|
+
"type": "string",
|
|
217
|
+
"internalType": "string"
|
|
218
|
+
}
|
|
219
|
+
],
|
|
220
|
+
"outputs": [
|
|
221
|
+
{
|
|
222
|
+
"name": "exists",
|
|
223
|
+
"type": "bool",
|
|
224
|
+
"internalType": "bool"
|
|
225
|
+
}
|
|
226
|
+
],
|
|
227
|
+
"stateMutability": "view"
|
|
228
|
+
},
|
|
229
|
+
{
|
|
230
|
+
"type": "function",
|
|
231
|
+
"name": "hasPaymaster",
|
|
232
|
+
"inputs": [
|
|
233
|
+
{
|
|
234
|
+
"name": "operator",
|
|
235
|
+
"type": "address",
|
|
236
|
+
"internalType": "address"
|
|
237
|
+
}
|
|
238
|
+
],
|
|
239
|
+
"outputs": [
|
|
240
|
+
{
|
|
241
|
+
"name": "",
|
|
242
|
+
"type": "bool",
|
|
243
|
+
"internalType": "bool"
|
|
244
|
+
}
|
|
245
|
+
],
|
|
246
|
+
"stateMutability": "view"
|
|
247
|
+
},
|
|
248
|
+
{
|
|
249
|
+
"type": "function",
|
|
250
|
+
"name": "implementations",
|
|
251
|
+
"inputs": [
|
|
252
|
+
{
|
|
253
|
+
"name": "",
|
|
254
|
+
"type": "string",
|
|
255
|
+
"internalType": "string"
|
|
256
|
+
}
|
|
257
|
+
],
|
|
258
|
+
"outputs": [
|
|
259
|
+
{
|
|
260
|
+
"name": "",
|
|
261
|
+
"type": "address",
|
|
262
|
+
"internalType": "address"
|
|
263
|
+
}
|
|
264
|
+
],
|
|
265
|
+
"stateMutability": "view"
|
|
266
|
+
},
|
|
267
|
+
{
|
|
268
|
+
"type": "function",
|
|
269
|
+
"name": "operatorByPaymaster",
|
|
270
|
+
"inputs": [
|
|
271
|
+
{
|
|
272
|
+
"name": "",
|
|
273
|
+
"type": "address",
|
|
274
|
+
"internalType": "address"
|
|
275
|
+
}
|
|
276
|
+
],
|
|
277
|
+
"outputs": [
|
|
278
|
+
{
|
|
279
|
+
"name": "",
|
|
280
|
+
"type": "address",
|
|
281
|
+
"internalType": "address"
|
|
282
|
+
}
|
|
283
|
+
],
|
|
284
|
+
"stateMutability": "view"
|
|
285
|
+
},
|
|
286
|
+
{
|
|
287
|
+
"type": "function",
|
|
288
|
+
"name": "owner",
|
|
289
|
+
"inputs": [],
|
|
290
|
+
"outputs": [
|
|
291
|
+
{
|
|
292
|
+
"name": "",
|
|
293
|
+
"type": "address",
|
|
294
|
+
"internalType": "address"
|
|
295
|
+
}
|
|
296
|
+
],
|
|
297
|
+
"stateMutability": "view"
|
|
298
|
+
},
|
|
299
|
+
{
|
|
300
|
+
"type": "function",
|
|
301
|
+
"name": "paymasterByOperator",
|
|
302
|
+
"inputs": [
|
|
303
|
+
{
|
|
304
|
+
"name": "",
|
|
305
|
+
"type": "address",
|
|
306
|
+
"internalType": "address"
|
|
307
|
+
}
|
|
308
|
+
],
|
|
309
|
+
"outputs": [
|
|
310
|
+
{
|
|
311
|
+
"name": "",
|
|
312
|
+
"type": "address",
|
|
313
|
+
"internalType": "address"
|
|
314
|
+
}
|
|
315
|
+
],
|
|
316
|
+
"stateMutability": "view"
|
|
317
|
+
},
|
|
318
|
+
{
|
|
319
|
+
"type": "function",
|
|
320
|
+
"name": "paymasterList",
|
|
321
|
+
"inputs": [
|
|
322
|
+
{
|
|
323
|
+
"name": "",
|
|
324
|
+
"type": "uint256",
|
|
325
|
+
"internalType": "uint256"
|
|
326
|
+
}
|
|
327
|
+
],
|
|
328
|
+
"outputs": [
|
|
329
|
+
{
|
|
330
|
+
"name": "",
|
|
331
|
+
"type": "address",
|
|
332
|
+
"internalType": "address"
|
|
333
|
+
}
|
|
334
|
+
],
|
|
335
|
+
"stateMutability": "view"
|
|
336
|
+
},
|
|
337
|
+
{
|
|
338
|
+
"type": "function",
|
|
339
|
+
"name": "predictPaymasterAddress",
|
|
340
|
+
"inputs": [
|
|
341
|
+
{
|
|
342
|
+
"name": "_version",
|
|
343
|
+
"type": "string",
|
|
344
|
+
"internalType": "string"
|
|
345
|
+
},
|
|
346
|
+
{
|
|
347
|
+
"name": "salt",
|
|
348
|
+
"type": "bytes32",
|
|
349
|
+
"internalType": "bytes32"
|
|
350
|
+
}
|
|
351
|
+
],
|
|
352
|
+
"outputs": [
|
|
353
|
+
{
|
|
354
|
+
"name": "predicted",
|
|
355
|
+
"type": "address",
|
|
356
|
+
"internalType": "address"
|
|
357
|
+
}
|
|
358
|
+
],
|
|
359
|
+
"stateMutability": "view"
|
|
360
|
+
},
|
|
361
|
+
{
|
|
362
|
+
"type": "function",
|
|
363
|
+
"name": "renounceOwnership",
|
|
364
|
+
"inputs": [],
|
|
365
|
+
"outputs": [],
|
|
366
|
+
"stateMutability": "nonpayable"
|
|
367
|
+
},
|
|
368
|
+
{
|
|
369
|
+
"type": "function",
|
|
370
|
+
"name": "setDefaultVersion",
|
|
371
|
+
"inputs": [
|
|
372
|
+
{
|
|
373
|
+
"name": "_version",
|
|
374
|
+
"type": "string",
|
|
375
|
+
"internalType": "string"
|
|
376
|
+
}
|
|
377
|
+
],
|
|
378
|
+
"outputs": [],
|
|
379
|
+
"stateMutability": "nonpayable"
|
|
380
|
+
},
|
|
381
|
+
{
|
|
382
|
+
"type": "function",
|
|
383
|
+
"name": "totalDeployed",
|
|
384
|
+
"inputs": [],
|
|
385
|
+
"outputs": [
|
|
386
|
+
{
|
|
387
|
+
"name": "",
|
|
388
|
+
"type": "uint256",
|
|
389
|
+
"internalType": "uint256"
|
|
390
|
+
}
|
|
391
|
+
],
|
|
392
|
+
"stateMutability": "view"
|
|
393
|
+
},
|
|
394
|
+
{
|
|
395
|
+
"type": "function",
|
|
396
|
+
"name": "transferOwnership",
|
|
397
|
+
"inputs": [
|
|
398
|
+
{
|
|
399
|
+
"name": "newOwner",
|
|
400
|
+
"type": "address",
|
|
401
|
+
"internalType": "address"
|
|
402
|
+
}
|
|
403
|
+
],
|
|
404
|
+
"outputs": [],
|
|
405
|
+
"stateMutability": "nonpayable"
|
|
406
|
+
},
|
|
407
|
+
{
|
|
408
|
+
"type": "function",
|
|
409
|
+
"name": "upgradeImplementation",
|
|
410
|
+
"inputs": [
|
|
411
|
+
{
|
|
412
|
+
"name": "_version",
|
|
413
|
+
"type": "string",
|
|
414
|
+
"internalType": "string"
|
|
415
|
+
},
|
|
416
|
+
{
|
|
417
|
+
"name": "newImplementation",
|
|
418
|
+
"type": "address",
|
|
419
|
+
"internalType": "address"
|
|
420
|
+
}
|
|
421
|
+
],
|
|
422
|
+
"outputs": [],
|
|
423
|
+
"stateMutability": "nonpayable"
|
|
424
|
+
},
|
|
425
|
+
{
|
|
426
|
+
"type": "function",
|
|
427
|
+
"name": "version",
|
|
428
|
+
"inputs": [],
|
|
429
|
+
"outputs": [
|
|
430
|
+
{
|
|
431
|
+
"name": "",
|
|
432
|
+
"type": "string",
|
|
433
|
+
"internalType": "string"
|
|
434
|
+
}
|
|
435
|
+
],
|
|
436
|
+
"stateMutability": "pure"
|
|
437
|
+
},
|
|
438
|
+
{
|
|
439
|
+
"type": "event",
|
|
440
|
+
"name": "DefaultVersionChanged",
|
|
441
|
+
"inputs": [
|
|
442
|
+
{
|
|
443
|
+
"name": "oldVersion",
|
|
444
|
+
"type": "string",
|
|
445
|
+
"indexed": false,
|
|
446
|
+
"internalType": "string"
|
|
447
|
+
},
|
|
448
|
+
{
|
|
449
|
+
"name": "newVersion",
|
|
450
|
+
"type": "string",
|
|
451
|
+
"indexed": false,
|
|
452
|
+
"internalType": "string"
|
|
453
|
+
}
|
|
454
|
+
],
|
|
455
|
+
"anonymous": false
|
|
456
|
+
},
|
|
457
|
+
{
|
|
458
|
+
"type": "event",
|
|
459
|
+
"name": "ImplementationAdded",
|
|
460
|
+
"inputs": [
|
|
461
|
+
{
|
|
462
|
+
"name": "_version",
|
|
463
|
+
"type": "string",
|
|
464
|
+
"indexed": true,
|
|
465
|
+
"internalType": "string"
|
|
466
|
+
},
|
|
467
|
+
{
|
|
468
|
+
"name": "implementation",
|
|
469
|
+
"type": "address",
|
|
470
|
+
"indexed": true,
|
|
471
|
+
"internalType": "address"
|
|
472
|
+
}
|
|
473
|
+
],
|
|
474
|
+
"anonymous": false
|
|
475
|
+
},
|
|
476
|
+
{
|
|
477
|
+
"type": "event",
|
|
478
|
+
"name": "ImplementationUpgraded",
|
|
479
|
+
"inputs": [
|
|
480
|
+
{
|
|
481
|
+
"name": "_version",
|
|
482
|
+
"type": "string",
|
|
483
|
+
"indexed": true,
|
|
484
|
+
"internalType": "string"
|
|
485
|
+
},
|
|
486
|
+
{
|
|
487
|
+
"name": "oldImplementation",
|
|
488
|
+
"type": "address",
|
|
489
|
+
"indexed": true,
|
|
490
|
+
"internalType": "address"
|
|
491
|
+
},
|
|
492
|
+
{
|
|
493
|
+
"name": "newImplementation",
|
|
494
|
+
"type": "address",
|
|
495
|
+
"indexed": true,
|
|
496
|
+
"internalType": "address"
|
|
497
|
+
}
|
|
498
|
+
],
|
|
499
|
+
"anonymous": false
|
|
500
|
+
},
|
|
501
|
+
{
|
|
502
|
+
"type": "event",
|
|
503
|
+
"name": "OwnershipTransferred",
|
|
504
|
+
"inputs": [
|
|
505
|
+
{
|
|
506
|
+
"name": "previousOwner",
|
|
507
|
+
"type": "address",
|
|
508
|
+
"indexed": true,
|
|
509
|
+
"internalType": "address"
|
|
510
|
+
},
|
|
511
|
+
{
|
|
512
|
+
"name": "newOwner",
|
|
513
|
+
"type": "address",
|
|
514
|
+
"indexed": true,
|
|
515
|
+
"internalType": "address"
|
|
516
|
+
}
|
|
517
|
+
],
|
|
518
|
+
"anonymous": false
|
|
519
|
+
},
|
|
520
|
+
{
|
|
521
|
+
"type": "event",
|
|
522
|
+
"name": "PaymasterDeployed",
|
|
523
|
+
"inputs": [
|
|
524
|
+
{
|
|
525
|
+
"name": "operator",
|
|
526
|
+
"type": "address",
|
|
527
|
+
"indexed": true,
|
|
528
|
+
"internalType": "address"
|
|
529
|
+
},
|
|
530
|
+
{
|
|
531
|
+
"name": "paymaster",
|
|
532
|
+
"type": "address",
|
|
533
|
+
"indexed": true,
|
|
534
|
+
"internalType": "address"
|
|
535
|
+
},
|
|
536
|
+
{
|
|
537
|
+
"name": "_version",
|
|
538
|
+
"type": "string",
|
|
539
|
+
"indexed": false,
|
|
540
|
+
"internalType": "string"
|
|
541
|
+
},
|
|
542
|
+
{
|
|
543
|
+
"name": "timestamp",
|
|
544
|
+
"type": "uint256",
|
|
545
|
+
"indexed": false,
|
|
546
|
+
"internalType": "uint256"
|
|
547
|
+
}
|
|
548
|
+
],
|
|
549
|
+
"anonymous": false
|
|
550
|
+
},
|
|
551
|
+
{
|
|
552
|
+
"type": "error",
|
|
553
|
+
"name": "ERC1167FailedCreateClone",
|
|
554
|
+
"inputs": []
|
|
555
|
+
},
|
|
556
|
+
{
|
|
557
|
+
"type": "error",
|
|
558
|
+
"name": "ImplementationNotFound",
|
|
559
|
+
"inputs": [
|
|
560
|
+
{
|
|
561
|
+
"name": "_version",
|
|
562
|
+
"type": "string",
|
|
563
|
+
"internalType": "string"
|
|
564
|
+
}
|
|
565
|
+
]
|
|
566
|
+
},
|
|
567
|
+
{
|
|
568
|
+
"type": "error",
|
|
569
|
+
"name": "InvalidImplementation",
|
|
570
|
+
"inputs": [
|
|
571
|
+
{
|
|
572
|
+
"name": "implementation",
|
|
573
|
+
"type": "address",
|
|
574
|
+
"internalType": "address"
|
|
575
|
+
}
|
|
576
|
+
]
|
|
577
|
+
},
|
|
578
|
+
{
|
|
579
|
+
"type": "error",
|
|
580
|
+
"name": "OperatorAlreadyHasPaymaster",
|
|
581
|
+
"inputs": [
|
|
582
|
+
{
|
|
583
|
+
"name": "operator",
|
|
584
|
+
"type": "address",
|
|
585
|
+
"internalType": "address"
|
|
586
|
+
}
|
|
587
|
+
]
|
|
588
|
+
},
|
|
589
|
+
{
|
|
590
|
+
"type": "error",
|
|
591
|
+
"name": "OwnableInvalidOwner",
|
|
592
|
+
"inputs": [
|
|
593
|
+
{
|
|
594
|
+
"name": "owner",
|
|
595
|
+
"type": "address",
|
|
596
|
+
"internalType": "address"
|
|
597
|
+
}
|
|
598
|
+
]
|
|
599
|
+
},
|
|
600
|
+
{
|
|
601
|
+
"type": "error",
|
|
602
|
+
"name": "OwnableUnauthorizedAccount",
|
|
603
|
+
"inputs": [
|
|
604
|
+
{
|
|
605
|
+
"name": "account",
|
|
606
|
+
"type": "address",
|
|
607
|
+
"internalType": "address"
|
|
608
|
+
}
|
|
609
|
+
]
|
|
610
|
+
},
|
|
611
|
+
{
|
|
612
|
+
"type": "error",
|
|
613
|
+
"name": "PaymasterNotFound",
|
|
614
|
+
"inputs": [
|
|
615
|
+
{
|
|
616
|
+
"name": "paymaster",
|
|
617
|
+
"type": "address",
|
|
618
|
+
"internalType": "address"
|
|
619
|
+
}
|
|
620
|
+
]
|
|
621
|
+
},
|
|
622
|
+
{
|
|
623
|
+
"type": "error",
|
|
624
|
+
"name": "ReentrancyGuardReentrantCall",
|
|
625
|
+
"inputs": []
|
|
626
|
+
},
|
|
627
|
+
{
|
|
628
|
+
"type": "error",
|
|
629
|
+
"name": "VersionAlreadyExists",
|
|
630
|
+
"inputs": [
|
|
631
|
+
{
|
|
632
|
+
"name": "_version",
|
|
633
|
+
"type": "string",
|
|
634
|
+
"internalType": "string"
|
|
635
|
+
}
|
|
636
|
+
]
|
|
637
|
+
}
|
|
638
|
+
],
|
|
639
|
+
"bytecode": "0x6080806040523460755733156062575f8054336001600160a01b0319821681178355916001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09080a360018055611536908161007a8239f35b631e4fbdf760e01b5f525f60045260245ffd5b5f80fdfe60806040526004361015610011575f80fd5b5f3560e01c80630618f10414610f815780630cfb14b014610f6457806314b1c40114610f475780631798d48214610f1857806341bbe5a814610cac57806354fd4d5014610ebc57806364feab6414610d965780636a18943914610d545780636b68389614610cec5780636c583e5914610cac578063715018a614610c685780637563750514610a475780637857bce91461096f578063821ac3fb1461092d57806385365cbb1461074d5780638da5cb5b14610726578063a87d5a74146106c9578063ad384a9b146103db578063bde9cb2a146102ec578063ce47d467146102ac578063d125531314610240578063dc2a1472146101fa578063f2fde38b146101885763f3bcebbd14610121575f80fd5b34610184576020366003190112610184576004356001600160401b038111610184576101536020913690600401611020565b8160405191805191829101835e600290820190815281900382019020546040516001600160a01b0390911615158152f35b5f80fd5b34610184576020366003190112610184576101a1611164565b6101a961147a565b6001600160a01b031680156101e7575f80546001600160a01b03198116831782556001600160a01b0316905f5160206114c15f395f51905f529080a3005b631e4fbdf760e01b5f525f60045260245ffd5b34610184576020366003190112610184576001600160a01b0361021b611164565b165f526004602052604060018060a01b03815f20541681519080825215156020820152f35b346101845760403660031901126101845761025f60243560043561138a565b6040518091602082016020835281518091526020604084019201905f5b81811061028a575050500390f35b82516001600160a01b031684528594506020938401939092019160010161027c565b34610184576020366003190112610184576001600160a01b036102cd611164565b165f526004602052602060018060a01b0360405f205416604051908152f35b34610184576040366003190112610184576004356001600160401b0381116101845761031c903690600401611020565b60405181518060208401835e60029082019081528190036020019020546001600160a01b03169081156103b25760206055604384604051903060388301526f5af43d82803e903d91602b57fd5bf3ff60248301526014820152733d602d80600a3d3981f3363d3d373d3d3d363d73815260243560588201526037600c820120607882015201206040519060018060a01b03168152f35b60405163ed4fac3760e01b8152602060048201529081906103d7906024830190611140565b0390fd5b34610184576060366003190112610184576004356001600160401b0381116101845761040b903690600401611020565b6044356001600160401b0381116101845761042a903690600401611020565b9061043361145a565b335f908152600360205260409020546001600160a01b03166106b657604051602081835180838601835e600290820190815203019020546001600160a01b038116156106945780763d602d80600a3d3981f3363d3d373d3d3d363d7300000062ffffff6e5af43d82803e903d91602b57fd5bf39360881c16175f5260018060781b03199060781b1617602052602435603760095ff56001600160a01b03811691821561068557835115610630576105bb839261054460205f808983809b51910182875af161053f602d6105046111e7565b6040519485916c024b734ba103330b4b632b21d1609d1b828401528051918291018484015e81015f838201520301601f198101845283610fe2565b611216565b6105825f8060405189810190638da5cb5b60e01b825260048152610569602482610fe2565b5190855afa6105766111e7565b8161060a575b50611261565b335f81815260038852604080822080546001600160a01b0319908116891790915587835260048a529120805490911690911790556112a7565b6105c660075461130c565b6007557fa1ff1ed230517376e0a7481a00b4dfc8f2f2e212bccebd933d567bf5640494c0604051806105fb339442908361132e565b0390a360018055604051908152f35b80513392506001600160a01b03916106289181018b01908b01611242565b16148861057c565b60405162461bcd60e51b815260206004820152602760248201527f696e69744461746120726571756972656420666f7220736563757265206465706044820152661b1bde5b595b9d60ca1b6064820152608490fd5b6330be1a3d60e21b5f5260045ffd5b60405163ed4fac3760e01b815260206004820152806103d76024820185611140565b6369e496ad60e01b5f523360045260245ffd5b34610184576020366003190112610184576001600160a01b036106ea611164565b165f818152600460205260409020546001600160a01b0316801561071357602090604051908152f35b50630a36f2b760e31b5f5260045260245ffd5b34610184575f366003190112610184575f546040516001600160a01b039091168152602090f35b34610184576020366003190112610184576004356001600160401b0381116101845761077d903690600401611020565b61078561147a565b60405181518060208401835e60029082019081528190036020019020546001600160a01b0316156103b2576107b861109c565b8151916001600160401b038311610919576107d4600654611064565b601f81116108c9575b50602092601f811160011461085257610834929181610842925f5160206114a15f395f51905f52965f91610847575b508160011b915f199060031b1c1916176006555b604051938493604085526040850190611140565b908382036020850152611140565b0390a1005b90508201518761080c565b601f19811660065f52845f20905f5b8181106108b15750826108349594925f5160206114a15f395f51905f52976108429560019410610899575b5050811b01600655610820565b8401515f1960f88460031b161c19169055878061088c565b84870151835560209687019660019093019201610861565b60065f525f5160206114e15f395f51905f52601f850160051c8101916020861061090f575b601f0160051c01905b81811061090457506107dd565b5f81556001016108f7565b90915081906108ee565b634e487b7160e01b5f52604160045260245ffd5b3461018457602036600319011261018457600435600554811015610184576109566020916111bb565b905460405160039290921b1c6001600160a01b03168152f35b346101845761097d3661117a565b9061098661147a565b6001600160a01b038216918215908115610a3d575b50610a2a576040519080519160208201928084835e60029082019081528190036020019020546001600160a01b03169182156106945790610a04916020604051809284518091835e60029082019081520301902080546001600160a01b0319168517905561134a565b7f2255c4b39068cc7208e9c29b0fc9a3d106b3a41ada38999656d54aa44a6dc9e85f80a4005b50630c76093760e01b5f5260045260245ffd5b90503b158361099b565b3461018457610a553661117a565b610a5d61147a565b6001600160a01b038116908115908115610c5e575b50610c4c5760405182519060208401918083835e60029082019081528190036020019020546001600160a01b0316610c2a576020604051809285518091835e60029082019081520301902080546001600160a01b0319168217905560065491610ada83611064565b15610b0f575b610ae99061134a565b7f9aa81ca4174435962ad1571b0a59c4440cf6de4a12ba4ed96d6fdf5d346742785f80a3005b8051926001600160401b03841161091957610b2990611064565b601f8111610bda575b50602092601f8111600114610b755780610ae993945f91610b6a575b508160011b915f199060031b1c1916176006555b829150610ae0565b905082015185610b4e565b601f19811660065f52845f20905f5b818110610bc2575090610ae99495836001949310610baa575b5050811b01600655610b62565b8401515f1960f88460031b161c191690558580610b9d565b84870151835560209687019660019093019201610b84565b60065f525f5160206114e15f395f51905f52601f850160051c81019160208610610c20575b601f0160051c01905b818110610c155750610b32565b5f8155600101610c08565b9091508190610bff565b60405163b94f32dd60e01b815260206004820152806103d76024820186611140565b630c76093760e01b5f5260045260245ffd5b90503b1583610a72565b34610184575f36600319011261018457610c8061147a565b5f80546001600160a01b0319811682556001600160a01b03165f5160206114c15f395f51905f528280a3005b34610184576020366003190112610184576001600160a01b03610ccd611164565b165f526003602052602060018060a01b0360405f205416604051908152f35b34610184576020366003190112610184576004356001600160401b03811161018457610d1c903690600401611020565b60405181518060208401835e60029082019081528190036020019020546001600160a01b03169081156103b257602082604051908152f35b34610184576020366003190112610184576001600160a01b03610d75611164565b165f526003602052602060018060a01b0360405f2054161515604051908152f35b34610184576040366003190112610184576004356001600160401b03811161018457610dc6903690600401611020565b6024356001600160401b03811161018457610de5903690600401611020565b90610dee61145a565b335f908152600360205260409020546001600160a01b03166106b657604051602081835180838601835e600290820190815203019020546001600160a01b038116156106945780763d602d80600a3d3981f3363d3d373d3d3d363d7300000062ffffff6e5af43d82803e903d91602b57fd5bf39360881c16175f5260018060781b03199060781b1617602052603760095ff06001600160a01b03811691821561068557835115610630576105bb839261054460205f808983809b51910182875af161053f602d6105046111e7565b34610184575f36600319011261018457610f14604051610edd604082610fe2565b60168152752830bcb6b0b9ba32b92330b1ba37b93c96989718171960511b6020820152604051918291602083526020830190611140565b0390f35b34610184575f36600319011261018457610f14610f3361109c565b604051918291602083526020830190611140565b34610184575f366003190112610184576020600554604051908152f35b34610184575f366003190112610184576020600754604051908152f35b34610184576020366003190112610184576004356001600160401b03811161018457610fb36020913690600401611020565b8160405191805191829101835e600290820190815281900382019020546040516001600160a01b039091168152f35b601f909101601f19168101906001600160401b0382119082101761091957604052565b6001600160401b03811161091957601f01601f191660200190565b81601f820112156101845760208135910161103a82611005565b926110486040519485610fe2565b8284528282011161018457815f92602092838601378301015290565b90600182811c92168015611092575b602083101461107e57565b634e487b7160e01b5f52602260045260245ffd5b91607f1691611073565b604051905f82600654916110af83611064565b808352926001811690811561112157506001146110d5575b6110d392500383610fe2565b565b5060065f90815290915f5160206114e15f395f51905f525b8183106111055750509060206110d3928201016110c7565b60209193508060019154838589010152019101909184926110ed565b602092506110d394915060ff191682840152151560051b8201016110c7565b805180835260209291819084018484015e5f828201840152601f01601f1916010190565b600435906001600160a01b038216820361018457565b604060031982011261018457600435906001600160401b038211610184576111a491600401611020565b906024356001600160a01b03811681036101845790565b6005548110156111d35760055f5260205f2001905f90565b634e487b7160e01b5f52603260045260245ffd5b3d15611211573d906111f882611005565b916112066040519384610fe2565b82523d5f602084013e565b606090565b1561121e5750565b60405162461bcd60e51b8152602060048201529081906103d7906024830190611140565b9081602091031261018457516001600160a01b03811681036101845790565b1561126857565b60405162461bcd60e51b81526020600482015260176024820152764f776e6572206e6f742073657420636f72726563746c7960481b6044820152606490fd5b600554600160401b81101561091957600181016005556005548110156111d35760055f527f036b6384b5eca791c62761152d0c79bb0604c104a5fb6f4eb0703f3154bb3db00180546001600160a01b0319166001600160a01b03909216919091179055565b5f19811461131a5760010190565b634e487b7160e01b5f52601160045260245ffd5b929190611345602091604086526040860190611140565b930152565b602090604051918183925191829101835e81015f815203902090565b6001600160401b0381116109195760051b60200190565b9190820180921161131a57565b9190600554908184101561143e576113a2908461137d565b90808211611436575b5082810390811161131a576113bf81611366565b906113cd6040519283610fe2565b808252601f196113dc82611366565b0136602084013781935f5b8281106113f45750505050565b611406611401828461137d565b6111bb565b9054855160039290921b1c6001600160a01b031691908110156111d35760019160208260051b87010152016113e7565b90505f6113ab565b50509050604051611450602082610fe2565b5f81525f36813790565b60026001541461146b576002600155565b633ee5aeb560e01b5f5260045ffd5b5f546001600160a01b0316330361148d57565b63118cdaa760e01b5f523360045260245ffdfef2d0bf91625d9d6f0875b7d42914fd44597c078083d98cb3619c009136be9f6a8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0f652222313e28459528d920b65115c16c04f3efc82aaedc97be59f3f377c0d3fa2646970667358221220304d818df54b0f1c789b2529322e67a26254249020532eb4b1a63219f739d3c364736f6c634300081c0033"
|
|
640
|
+
}
|