@aastar/sdk 0.16.11 → 0.16.14
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/README.md +100 -128
- package/dist/clients/ExperimentClient.d.ts +34 -0
- package/{packages/sdk/src/clients/ExperimentClient.ts → dist/clients/ExperimentClient.js} +11 -33
- package/dist/clients/ExperimentClient.test.d.ts +1 -0
- package/dist/clients/ExperimentClient.test.js +53 -0
- package/dist/clients/admin.d.ts +11 -0
- package/dist/clients/admin.js +20 -0
- package/dist/clients/admin.test.d.ts +1 -0
- package/dist/clients/admin.test.js +79 -0
- package/dist/clients/clients.test.d.ts +1 -0
- package/dist/clients/clients.test.js +91 -0
- package/dist/clients/community.d.ts +40 -0
- package/{packages/sdk/src/clients/community.ts → dist/clients/community.js} +86 -189
- package/dist/clients/community.test.d.ts +1 -0
- package/dist/clients/community.test.js +99 -0
- package/dist/clients/endUser.d.ts +77 -0
- package/dist/clients/endUser.js +298 -0
- package/dist/clients/endUser.test.d.ts +1 -0
- package/dist/clients/endUser.test.js +188 -0
- package/dist/clients/operator.d.ts +66 -0
- package/{packages/sdk/src/clients/operator.ts → dist/clients/operator.js} +66 -137
- package/dist/clients/operator.test.d.ts +1 -0
- package/dist/clients/operator.test.js +139 -0
- package/dist/core/src/abis/BLSAggregator.json +686 -0
- package/dist/core/src/abis/BLSValidator.json +42 -0
- package/dist/core/src/abis/DVTValidator.json +368 -0
- package/dist/core/src/abis/EntryPoint.json +1382 -0
- package/dist/core/src/abis/GToken.json +513 -0
- package/dist/core/src/abis/GTokenStaking.json +949 -0
- package/dist/core/src/abis/MySBT.json +1518 -0
- package/dist/core/src/abis/Paymaster.json +1143 -0
- package/dist/core/src/abis/PaymasterFactory.json +640 -0
- package/dist/core/src/abis/Registry.json +1942 -0
- package/dist/core/src/abis/ReputationSystem.json +699 -0
- package/dist/core/src/abis/SimpleAccount.json +560 -0
- package/dist/core/src/abis/SimpleAccountFactory.json +111 -0
- package/dist/core/src/abis/SuperPaymaster.json +1781 -0
- package/dist/core/src/abis/xPNTsFactory.json +718 -0
- package/dist/core/src/abis/xPNTsToken.json +1280 -0
- package/dist/errors/AAStarError.d.ts +26 -0
- package/dist/errors/AAStarError.js +32 -0
- package/dist/errors/AAStarError.test.d.ts +1 -0
- package/dist/errors/AAStarError.test.js +74 -0
- package/dist/errors/decoder.d.ts +6 -0
- package/{packages/sdk/src/errors/decoder.ts → dist/errors/decoder.js} +15 -19
- package/dist/errors/decoder.test.d.ts +1 -0
- package/dist/errors/decoder.test.js +90 -0
- package/dist/index.d.ts +18 -0
- package/{packages/sdk/src/index.ts → dist/index.js} +0 -3
- package/dist/node/index.d.ts +7 -0
- package/dist/node/index.js +7 -0
- package/dist/types/result.d.ts +15 -0
- package/dist/types/result.js +23 -0
- package/dist/utils/errorHandler.d.ts +40 -0
- package/{packages/sdk/src/utils/errorHandler.ts → dist/utils/errorHandler.js} +22 -75
- package/dist/utils/errorHandler.test.d.ts +1 -0
- package/dist/utils/errorHandler.test.js +89 -0
- package/dist/utils/eventDecoder.d.ts +7 -0
- package/dist/utils/eventDecoder.js +54 -0
- package/dist/utils/eventDecoder.test.d.ts +1 -0
- package/dist/utils/eventDecoder.test.js +48 -0
- package/dist/utils/funding.d.ts +115 -0
- package/{packages/sdk/src/utils/funding.ts → dist/utils/funding.js} +27 -119
- package/dist/utils/funding.test.d.ts +1 -0
- package/dist/utils/funding.test.js +105 -0
- package/dist/utils/keys.d.ts +61 -0
- package/{packages/sdk/src/utils/keys.ts → dist/utils/keys.js} +15 -44
- package/dist/utils/keys.test.d.ts +1 -0
- package/dist/utils/keys.test.js +81 -0
- package/dist/utils/roleData.d.ts +66 -0
- package/{packages/sdk/src/utils/roleData.ts → dist/utils/roleData.js} +34 -57
- package/dist/utils/roleData.test.d.ts +1 -0
- package/dist/utils/roleData.test.js +74 -0
- package/dist/utils/testScenarios.d.ts +33 -0
- package/dist/utils/testScenarios.js +85 -0
- package/dist/utils/testScenarios.test.d.ts +1 -0
- package/dist/utils/testScenarios.test.js +68 -0
- package/dist/utils/userOp.d.ts +78 -0
- package/{packages/sdk/src/utils/userOp.ts → dist/utils/userOp.js} +59 -126
- package/dist/utils/userOp.test.d.ts +1 -0
- package/dist/utils/userOp.test.js +152 -0
- package/package.json +25 -61
- package/.github/workflows/gas-analytics-daily.yml +0 -52
- package/.gitmodules +0 -9
- package/CHANGELOG.md +0 -43
- package/aastar-sdk.code-workspace +0 -14
- package/abis/BLSAggregator.json +0 -572
- package/abis/BLSValidator.json +0 -39
- package/abis/DVTValidator.json +0 -383
- package/abis/Eip7702Support.json +0 -24
- package/abis/EntryPoint.json +0 -1379
- package/abis/GToken.json +0 -510
- package/abis/GTokenStaking.json +0 -918
- package/abis/LegacyAccount.json +0 -625
- package/abis/MySBT.json +0 -1547
- package/abis/Paymaster.json +0 -1192
- package/abis/PaymasterFactory.json +0 -637
- package/abis/PaymasterV4_2.json +0 -1193
- package/abis/Registry.json +0 -1677
- package/abis/ReputationSystem.json +0 -659
- package/abis/SenderCreator.json +0 -99
- package/abis/Simple7702Account.json +0 -395
- package/abis/SimpleAccount.json +0 -625
- package/abis/SimpleAccountFactory.json +0 -108
- package/abis/SimpleAccountFactoryV08.json +0 -87
- package/abis/SimpleAccountV08.json +0 -557
- package/abis/SuperPaymaster.json +0 -1568
- package/abis/UserOperationLib.json +0 -57
- package/abis/aPNTs.json +0 -1160
- package/abis/xPNTsFactory.json +0 -715
- package/abis/xPNTsToken.json +0 -1160
- package/backup/run_sdk_regression.sh +0 -135
- package/config/networks/README.md +0 -54
- package/config/networks/mainnet.env.example +0 -39
- package/config/networks/optimism-sepolia.env.example +0 -35
- package/config/networks/optimism.env.example +0 -36
- package/config/networks/sepolia.env.example +0 -36
- package/config.anvil.json +0 -1
- package/config.sepolia.json +0 -19
- package/config.test.json +0 -27
- package/data/experiment_data.csv +0 -36
- package/data/industry_baseline_2025-12-23.json +0 -154
- package/data/industry_baseline_latest.json +0 -154
- package/docs/ABI_MAINTENANCE_PLAN.md +0 -132
- package/docs/API_REFERENCE.md +0 -796
- package/docs/Configuration_Sync.md +0 -47
- package/docs/DAO_Mining_Distribution_Plan.md +0 -522
- package/docs/DEMO_REFACTOR_PLAN.md +0 -289
- package/docs/DOCUMENTATION_PLAN.md +0 -455
- package/docs/ENV_SEPOLIA_UPDATE.md +0 -68
- package/docs/L2_BUSINESS_CLIENTS_PLAN.md +0 -394
- package/docs/L4_Manual_Test_CheatSheet.md +0 -172
- package/docs/Plan.md +0 -266
- package/docs/Regression_Testing_Guide.md +0 -70
- package/docs/Reputation-to-Credit_Mapping_Whitepaper.md +0 -242
- package/docs/SDK_ABI_COVERAGE.md +0 -839
- package/docs/SDK_COVERAGE_STRATEGY.md +0 -397
- package/docs/SDK_Optimization_Evaluation_Plan.md +0 -51
- package/docs/SDK_REGRESSION_AND_API_PLAN.md +0 -98
- package/docs/SDK_STAGE3_PLAN.md +0 -151
- package/docs/SEPOLIA_ENV_REFERENCE.md +0 -51
- package/docs/STAGE3.md +0 -191
- package/docs/Script_Comparison_Report.md +0 -91
- package/docs/Sepolia_Latest_Deployment.md +0 -117
- package/docs/TESTER_GUIDE_GASLESS.md +0 -409
- package/docs/TEST_COVERAGE_MATRIX.md +0 -72
- package/docs/TODO_SDK_COVERAGE.md +0 -55
- package/docs/USER_CASE_DESIGN.md +0 -110
- package/docs/Verifier_L4_Gasless_Plan.md +0 -454
- package/docs/api/@aastar/account/README.md +0 -15
- package/docs/api/@aastar/account/classes/UserOpClient.md +0 -87
- package/docs/api/@aastar/account/functions/createEOAWalletClient.md +0 -21
- package/docs/api/@aastar/account/functions/getUserOpHash.md +0 -23
- package/docs/api/@aastar/account/functions/packUserOpLimits.md +0 -19
- package/docs/api/@aastar/account/functions/toSimpleSmartAccount.md +0 -83
- package/docs/api/@aastar/account/type-aliases/EOAWalletClient.md +0 -37
- package/docs/api/@aastar/account/type-aliases/SimpleSmartAccount.md +0 -39
- package/docs/api/@aastar/core/README.md +0 -211
- package/docs/api/@aastar/core/classes/BLSSigner.md +0 -147
- package/docs/api/@aastar/core/classes/BaseClient.md +0 -9657
- package/docs/api/@aastar/core/classes/ContractConfigManager.md +0 -25
- package/docs/api/@aastar/core/classes/RequirementChecker.md +0 -1837
- package/docs/api/@aastar/core/classes/SepoliaFaucetAPI.md +0 -13661
- package/docs/api/@aastar/core/classes/StateValidator.md +0 -133
- package/docs/api/@aastar/core/enumerations/EntryPointVersion.md +0 -17
- package/docs/api/@aastar/core/enumerations/NodeType.md +0 -33
- package/docs/api/@aastar/core/enumerations/RolePermissionLevel.md +0 -43
- package/docs/api/@aastar/core/functions/accountActions.md +0 -2720
- package/docs/api/@aastar/core/functions/accountFactoryActions.md +0 -2720
- package/docs/api/@aastar/core/functions/aggregatorActions.md +0 -2720
- package/docs/api/@aastar/core/functions/createAAStarPublicClient.md +0 -3105
- package/docs/api/@aastar/core/functions/dvtActions.md +0 -2720
- package/docs/api/@aastar/core/functions/entryPointActions.md +0 -2724
- package/docs/api/@aastar/core/functions/gTokenActions.md +0 -2714
- package/docs/api/@aastar/core/functions/gTokenExtendedActions.md +0 -2720
- package/docs/api/@aastar/core/functions/getAddressUrl.md +0 -32
- package/docs/api/@aastar/core/functions/getAllCommunityConfigs.md +0 -9
- package/docs/api/@aastar/core/functions/getAllV2Contracts.md +0 -20
- package/docs/api/@aastar/core/functions/getBlockExplorer.md +0 -26
- package/docs/api/@aastar/core/functions/getChainId.md +0 -26
- package/docs/api/@aastar/core/functions/getCommunities.md +0 -76
- package/docs/api/@aastar/core/functions/getCommunity.md +0 -32
- package/docs/api/@aastar/core/functions/getCommunityConfig.md +0 -15
- package/docs/api/@aastar/core/functions/getContract.md +0 -37
- package/docs/api/@aastar/core/functions/getContractNetworks.md +0 -18
- package/docs/api/@aastar/core/functions/getContracts.md +0 -194
- package/docs/api/@aastar/core/functions/getCoreContracts.md +0 -71
- package/docs/api/@aastar/core/functions/getDeploymentDate.md +0 -32
- package/docs/api/@aastar/core/functions/getEntryPoint.md +0 -25
- package/docs/api/@aastar/core/functions/getNetwork.md +0 -26
- package/docs/api/@aastar/core/functions/getPaymasterV4_1.md +0 -25
- package/docs/api/@aastar/core/functions/getRoleName.md +0 -15
- package/docs/api/@aastar/core/functions/getRpcUrl.md +0 -25
- package/docs/api/@aastar/core/functions/getSimpleAccountFactory.md +0 -25
- package/docs/api/@aastar/core/functions/getSuperPaymasterV2.md +0 -25
- package/docs/api/@aastar/core/functions/getTestAccounts.md +0 -30
- package/docs/api/@aastar/core/functions/getTestTokenContracts.md +0 -38
- package/docs/api/@aastar/core/functions/getTokenContracts.md +0 -31
- package/docs/api/@aastar/core/functions/getTxUrl.md +0 -32
- package/docs/api/@aastar/core/functions/getV2ContractByAddress.md +0 -28
- package/docs/api/@aastar/core/functions/getV2ContractByName.md +0 -28
- package/docs/api/@aastar/core/functions/getV2ContractsByDate.md +0 -26
- package/docs/api/@aastar/core/functions/isContractNetworkSupported.md +0 -27
- package/docs/api/@aastar/core/functions/isRegisteredCommunity.md +0 -15
- package/docs/api/@aastar/core/functions/isV2Contract.md +0 -27
- package/docs/api/@aastar/core/functions/paymasterActions.md +0 -2720
- package/docs/api/@aastar/core/functions/paymasterFactoryActions.md +0 -2720
- package/docs/api/@aastar/core/functions/registryActions.md +0 -2720
- package/docs/api/@aastar/core/functions/reputationActions.md +0 -2720
- package/docs/api/@aastar/core/functions/sbtActions.md +0 -2720
- package/docs/api/@aastar/core/functions/stakingActions.md +0 -2720
- package/docs/api/@aastar/core/functions/superPaymasterActions.md +0 -2720
- package/docs/api/@aastar/core/functions/tokenActions.md +0 -2714
- package/docs/api/@aastar/core/functions/xPNTsFactoryActions.md +0 -2720
- package/docs/api/@aastar/core/interfaces/AccountBalance.md +0 -41
- package/docs/api/@aastar/core/interfaces/BalanceValidationParams.md +0 -51
- package/docs/api/@aastar/core/interfaces/ClientConfig.md +0 -4841
- package/docs/api/@aastar/core/interfaces/CommunityConfig.md +0 -81
- package/docs/api/@aastar/core/interfaces/ContractVersion.md +0 -63
- package/docs/api/@aastar/core/interfaces/DeploymentValidationParams.md +0 -39
- package/docs/api/@aastar/core/interfaces/RoleConfig.md +0 -83
- package/docs/api/@aastar/core/interfaces/RoleRequirement.md +0 -43
- package/docs/api/@aastar/core/interfaces/RoleValidationParams.md +0 -55
- package/docs/api/@aastar/core/interfaces/SuperPaymasterConfig.md +0 -57
- package/docs/api/@aastar/core/interfaces/TokenBalanceValidationParams.md +0 -63
- package/docs/api/@aastar/core/interfaces/TransactionOptions.md +0 -24
- package/docs/api/@aastar/core/interfaces/ValidationParams.md +0 -25
- package/docs/api/@aastar/core/interfaces/ValidationResult.md +0 -25
- package/docs/api/@aastar/core/type-aliases/AccountActions.md +0 -151
- package/docs/api/@aastar/core/type-aliases/AccountFactoryActions.md +0 -55
- package/docs/api/@aastar/core/type-aliases/AggregatorActions.md +0 -471
- package/docs/api/@aastar/core/type-aliases/BusinessResult.md +0 -12
- package/docs/api/@aastar/core/type-aliases/ContractCategory.md +0 -5
- package/docs/api/@aastar/core/type-aliases/ContractNetwork.md +0 -5
- package/docs/api/@aastar/core/type-aliases/DVTActions.md +0 -319
- package/docs/api/@aastar/core/type-aliases/EntryPointActions.md +0 -103
- package/docs/api/@aastar/core/type-aliases/GTokenExtendedActions.md +0 -239
- package/docs/api/@aastar/core/type-aliases/NetworkContracts.md +0 -5
- package/docs/api/@aastar/core/type-aliases/PaymasterActions.md +0 -1087
- package/docs/api/@aastar/core/type-aliases/PaymasterFactoryActions.md +0 -263
- package/docs/api/@aastar/core/type-aliases/RegistryActions.md +0 -1543
- package/docs/api/@aastar/core/type-aliases/ReputationActions.md +0 -811
- package/docs/api/@aastar/core/type-aliases/SBTActions.md +0 -1199
- package/docs/api/@aastar/core/type-aliases/StakingActions.md +0 -703
- package/docs/api/@aastar/core/type-aliases/SuperPaymasterActions.md +0 -1311
- package/docs/api/@aastar/core/type-aliases/SupportedNetwork.md +0 -3
- package/docs/api/@aastar/core/type-aliases/TokenActions.md +0 -1227
- package/docs/api/@aastar/core/type-aliases/XPNTsFactoryActions.md +0 -395
- package/docs/api/@aastar/core/variables/AASTAR_COMMUNITY.md +0 -8
- package/docs/api/@aastar/core/variables/ALL_ADDRESSES.md +0 -75
- package/docs/api/@aastar/core/variables/ALL_ROLES.md +0 -5
- package/docs/api/@aastar/core/variables/APNTS_ADDRESS.md +0 -3
- package/docs/api/@aastar/core/variables/BLSAggregatorABI.md +0 -3
- package/docs/api/@aastar/core/variables/BLSAggregatorArtifact.md +0 -13
- package/docs/api/@aastar/core/variables/BLSHelpers.md +0 -101
- package/docs/api/@aastar/core/variables/BLSValidatorABI.md +0 -3
- package/docs/api/@aastar/core/variables/BLSValidatorArtifact.md +0 -13
- package/docs/api/@aastar/core/variables/BLS_AGGREGATOR_ADDRESS.md +0 -3
- package/docs/api/@aastar/core/variables/BLS_VALIDATOR_ADDRESS.md +0 -3
- package/docs/api/@aastar/core/variables/BPS_DENOMINATOR.md +0 -5
- package/docs/api/@aastar/core/variables/BRANDING.md +0 -67
- package/docs/api/@aastar/core/variables/BREAD_COMMUNITY.md +0 -8
- package/docs/api/@aastar/core/variables/CHAIN_MAINNET.md +0 -3
- package/docs/api/@aastar/core/variables/CHAIN_SEPOLIA.md +0 -5
- package/docs/api/@aastar/core/variables/COMMUNITIES.md +0 -5
- package/docs/api/@aastar/core/variables/COMMUNITY_OWNERS.md +0 -15
- package/docs/api/@aastar/core/variables/CONTRACTS.md +0 -179
- package/docs/api/@aastar/core/variables/CONTRACT_METADATA.md +0 -67
- package/docs/api/@aastar/core/variables/CONTRACT_SRC_HASH.md +0 -5
- package/docs/api/@aastar/core/variables/CORE_ADDRESSES.md +0 -51
- package/docs/api/@aastar/core/variables/DEFAULT_ADMIN_ROLE.md +0 -17
- package/docs/api/@aastar/core/variables/DEFAULT_APNTS_PRICE_USD.md +0 -5
- package/docs/api/@aastar/core/variables/DEFAULT_CALL_GAS_LIMIT.md +0 -3
- package/docs/api/@aastar/core/variables/DEFAULT_GAS_TOKEN_MINT_AMOUNT.md +0 -5
- package/docs/api/@aastar/core/variables/DEFAULT_PRE_VERIFICATION_GAS.md +0 -3
- package/docs/api/@aastar/core/variables/DEFAULT_TIMEOUT_MS.md +0 -5
- package/docs/api/@aastar/core/variables/DEFAULT_TOKEN_NAME.md +0 -3
- package/docs/api/@aastar/core/variables/DEFAULT_TOKEN_SYMBOL.md +0 -5
- package/docs/api/@aastar/core/variables/DEFAULT_USDT_MINT_AMOUNT.md +0 -5
- package/docs/api/@aastar/core/variables/DEFAULT_VERIFICATION_GAS_LIMIT.md +0 -5
- package/docs/api/@aastar/core/variables/DVTValidatorABI.md +0 -3
- package/docs/api/@aastar/core/variables/DVTValidatorArtifact.md +0 -13
- package/docs/api/@aastar/core/variables/DVT_VALIDATOR_ADDRESS.md +0 -3
- package/docs/api/@aastar/core/variables/ENTRY_POINT_0_8_ADDRESS.md +0 -3
- package/docs/api/@aastar/core/variables/ENTRY_POINT_0_9_ADDRESS.md +0 -3
- package/docs/api/@aastar/core/variables/ENTRY_POINT_ADDRESS.md +0 -3
- package/docs/api/@aastar/core/variables/EntryPointABI.md +0 -3
- package/docs/api/@aastar/core/variables/EntryPointArtifact.md +0 -13
- package/docs/api/@aastar/core/variables/FAUCET_API_URL.md +0 -5
- package/docs/api/@aastar/core/variables/GTOKEN_ADDRESS.md +0 -3
- package/docs/api/@aastar/core/variables/GTOKEN_STAKING_ADDRESS.md +0 -3
- package/docs/api/@aastar/core/variables/GTokenABI.md +0 -3
- package/docs/api/@aastar/core/variables/GTokenArtifact.md +0 -13
- package/docs/api/@aastar/core/variables/GTokenStakingABI.md +0 -3
- package/docs/api/@aastar/core/variables/GTokenStakingArtifact.md +0 -13
- package/docs/api/@aastar/core/variables/INITIAL_ROLE_STAKES.md +0 -13
- package/docs/api/@aastar/core/variables/LINKS.md +0 -33
- package/docs/api/@aastar/core/variables/MAX_SERVICE_FEE.md +0 -5
- package/docs/api/@aastar/core/variables/MONITORING_ADDRESSES.md +0 -15
- package/docs/api/@aastar/core/variables/MySBTABI.md +0 -3
- package/docs/api/@aastar/core/variables/MySBTArtifact.md +0 -13
- package/docs/api/@aastar/core/variables/NETWORKS.md +0 -79
- package/docs/api/@aastar/core/variables/NODE_STAKE_AMOUNTS.md +0 -31
- package/docs/api/@aastar/core/variables/OFFICIAL_ADDRESSES.md +0 -11
- package/docs/api/@aastar/core/variables/PAYMASTER_ADDRESSES.md +0 -15
- package/docs/api/@aastar/core/variables/PAYMASTER_FACTORY_ADDRESS.md +0 -3
- package/docs/api/@aastar/core/variables/PAYMASTER_V4_IMPL_ADDRESS.md +0 -3
- package/docs/api/@aastar/core/variables/PaymasterABI.md +0 -3
- package/docs/api/@aastar/core/variables/PaymasterArtifact.md +0 -13
- package/docs/api/@aastar/core/variables/PaymasterFactoryABI.md +0 -3
- package/docs/api/@aastar/core/variables/PaymasterFactoryArtifact.md +0 -13
- package/docs/api/@aastar/core/variables/PaymasterV4ABI.md +0 -3
- package/docs/api/@aastar/core/variables/PaymasterV4Artifact.md +0 -13
- package/docs/api/@aastar/core/variables/REGISTRY_ADDRESS.md +0 -3
- package/docs/api/@aastar/core/variables/REPUTATION_SYSTEM_ADDRESS.md +0 -3
- package/docs/api/@aastar/core/variables/ROLE_ANODE.md +0 -29
- package/docs/api/@aastar/core/variables/ROLE_COMMUNITY.md +0 -29
- package/docs/api/@aastar/core/variables/ROLE_DVT.md +0 -29
- package/docs/api/@aastar/core/variables/ROLE_ENDUSER.md +0 -33
- package/docs/api/@aastar/core/variables/ROLE_KMS.md +0 -29
- package/docs/api/@aastar/core/variables/ROLE_NAMES.md +0 -3
- package/docs/api/@aastar/core/variables/ROLE_PAYMASTER_AOA.md +0 -29
- package/docs/api/@aastar/core/variables/ROLE_PAYMASTER_SUPER.md +0 -33
- package/docs/api/@aastar/core/variables/ROLE_PERMISSION_LEVELS.md +0 -3
- package/docs/api/@aastar/core/variables/RegistryABI.md +0 -3
- package/docs/api/@aastar/core/variables/RegistryArtifact.md +0 -13
- package/docs/api/@aastar/core/variables/ReputationSystemABI.md +0 -3
- package/docs/api/@aastar/core/variables/ReputationSystemArtifact.md +0 -13
- package/docs/api/@aastar/core/variables/SBT_ADDRESS.md +0 -3
- package/docs/api/@aastar/core/variables/SEPOLIA_CONTRACTS.md +0 -175
- package/docs/api/@aastar/core/variables/SEPOLIA_V2_VERSIONS.md +0 -67
- package/docs/api/@aastar/core/variables/SERVICE_FEE_RATE.md +0 -5
- package/docs/api/@aastar/core/variables/SUPER_PAYMASTER_ADDRESS.md +0 -3
- package/docs/api/@aastar/core/variables/SimpleAccountABI.md +0 -3
- package/docs/api/@aastar/core/variables/SimpleAccountArtifact.md +0 -13
- package/docs/api/@aastar/core/variables/SimpleAccountFactoryABI.md +0 -3
- package/docs/api/@aastar/core/variables/SimpleAccountFactoryArtifact.md +0 -13
- package/docs/api/@aastar/core/variables/SuperPaymasterABI.md +0 -3
- package/docs/api/@aastar/core/variables/SuperPaymasterArtifact.md +0 -13
- package/docs/api/@aastar/core/variables/TEST_ACCOUNT_ADDRESSES.md +0 -11
- package/docs/api/@aastar/core/variables/TEST_ACCOUNT_POOL_SIZE.md +0 -5
- package/docs/api/@aastar/core/variables/TEST_COMMUNITIES.md +0 -19
- package/docs/api/@aastar/core/variables/TEST_TOKEN_ADDRESSES.md +0 -19
- package/docs/api/@aastar/core/variables/TOKEN_ADDRESSES.md +0 -11
- package/docs/api/@aastar/core/variables/V2_SUMMARY.md +0 -39
- package/docs/api/@aastar/core/variables/XPNTS_FACTORY_ADDRESS.md +0 -3
- package/docs/api/@aastar/core/variables/xPNTsFactoryABI.md +0 -3
- package/docs/api/@aastar/core/variables/xPNTsFactoryArtifact.md +0 -13
- package/docs/api/@aastar/core/variables/xPNTsTokenABI.md +0 -3
- package/docs/api/@aastar/core/variables/xPNTsTokenArtifact.md +0 -13
- package/docs/api/@aastar/paymaster/README.md +0 -23
- package/docs/api/@aastar/paymaster/classes/PaymasterClient.md +0 -388
- package/docs/api/@aastar/paymaster/classes/PaymasterOperator.md +0 -451
- package/docs/api/@aastar/paymaster/classes/SuperPaymasterAdminClient.md +0 -189
- package/docs/api/@aastar/paymaster/classes/SuperPaymasterClient.md +0 -55
- package/docs/api/@aastar/paymaster/functions/buildPaymasterData.md +0 -34
- package/docs/api/@aastar/paymaster/functions/buildSuperPaymasterData.md +0 -30
- package/docs/api/@aastar/paymaster/functions/checkEligibility.md +0 -28
- package/docs/api/@aastar/paymaster/functions/formatUserOpV07.md +0 -15
- package/docs/api/@aastar/paymaster/functions/getPaymasterV4Middleware.md +0 -32
- package/docs/api/@aastar/paymaster/functions/getSuperPaymasterMiddleware.md +0 -32
- package/docs/api/@aastar/paymaster/functions/getUserOpHashV07.md +0 -21
- package/docs/api/@aastar/paymaster/type-aliases/GaslessReadinessReport.md +0 -55
- package/docs/api/@aastar/paymaster/type-aliases/GaslessTransactionConfig.md +0 -59
- package/docs/api/@aastar/paymaster/type-aliases/PaymasterConfig.md +0 -43
- package/docs/api/@aastar/paymaster/type-aliases/PaymasterV4MiddlewareConfig.md +0 -35
- package/docs/api/@aastar/tokens/README.md +0 -3
- package/docs/api/@aastar/tokens/classes/FinanceClient.md +0 -10385
- package/docs/api/README.md +0 -6
- package/docs/examples/community-flow.md +0 -28
- package/docs/examples/enduser-flow.md +0 -24
- package/docs/examples/index.md +0 -18
- package/docs/examples/multi-chain.md +0 -31
- package/docs/examples/operator-flow.md +0 -28
- package/docs/guide/CLI_GUIDE.md +0 -65
- package/docs/guide/DOCUMENTATION_PLAN.md +0 -455
- package/docs/guide/Security-solution.md +0 -106
- package/docs/guide/TEST_COMMANDS.md +0 -320
- package/docs/guide/getting-started.md +0 -133
- package/docs/guide/installation.md +0 -40
- package/docs/guide/paper-data-collection.md +0 -69
- package/docs/guide/quick-start.md +0 -52
- package/docs/guide/task_breakdown.md +0 -121
- package/docs/old-solution.md +0 -1078
- package/docs/paper-data-collection.md +0 -69
- package/docs/technical_plan.md +0 -510
- package/docs/zh/examples/community-flow.md +0 -38
- package/docs/zh/examples/complete-workflow.md +0 -10
- package/docs/zh/examples/enduser-flow.md +0 -33
- package/docs/zh/examples/index.md +0 -18
- package/docs/zh/examples/multi-chain.md +0 -46
- package/docs/zh/examples/operator-flow.md +0 -37
- package/docs/zh/guide/CLI_GUIDE.md +0 -48
- package/docs/zh/guide/DOCUMENTATION_PLAN.md +0 -455
- package/docs/zh/guide/Plan.md +0 -266
- package/docs/zh/guide/SDK_Optimization_Evaluation_Plan.md +0 -51
- package/docs/zh/guide/Security-solution.md +0 -106
- package/docs/zh/guide/TEST_COMMANDS.md +0 -125
- package/docs/zh/guide/TEST_COVERAGE_MATRIX.md +0 -72
- package/docs/zh/guide/concepts/account-abstraction.md +0 -95
- package/docs/zh/guide/concepts/rainbow-bridge.md +0 -68
- package/docs/zh/guide/concepts/reputation.md +0 -95
- package/docs/zh/guide/concepts/superpaymaster.md +0 -141
- package/docs/zh/guide/getting-started.md +0 -133
- package/docs/zh/guide/installation.md +0 -107
- package/docs/zh/guide/old-solution.md +0 -1078
- package/docs/zh/guide/paper-data-collection.md +0 -69
- package/docs/zh/guide/quick-start.md +0 -134
- package/docs/zh/guide/sdk-readme.md +0 -253
- package/docs/zh/guide/task_breakdown.md +0 -76
- package/docs/zh/guide/technical_plan.md +0 -510
- package/docs/zh/guide/use-cases/community-management.md +0 -141
- package/docs/zh/guide/use-cases/gasless-transactions.md +0 -71
- package/docs/zh/guide/use-cases/operator-staking.md +0 -84
- package/docs/zh/guide/use-cases/yop.md +0 -72
- package/env.template +0 -30
- package/examples/l1-api-demo.ts +0 -273
- package/examples/l2-clients-demo.ts +0 -135
- package/examples/l3-community-launch.ts +0 -49
- package/examples/l3-user-onboarding.ts +0 -56
- package/examples/prepare-gasless.ts +0 -89
- package/examples/sdk-demo/DEVELOPER_GUIDE.md +0 -159
- package/examples/sdk-demo/README.md +0 -30
- package/examples/sdk-demo/usage.ts +0 -137
- package/examples/simple-gasless-demo.ts +0 -109
- package/examples/simple-superpaymaster-demo.ts +0 -96
- package/ext/aastar-shared-config/.env.example +0 -6
- package/ext/aastar-shared-config/.github/workflows/check-secrets.yml +0 -257
- package/ext/aastar-shared-config/AGENTS.md +0 -21
- package/ext/aastar-shared-config/CHANGELOG.md +0 -99
- package/ext/aastar-shared-config/LICENSE +0 -21
- package/ext/aastar-shared-config/QUICK_START.md +0 -215
- package/ext/aastar-shared-config/README.md +0 -412
- package/ext/aastar-shared-config/SHARED_CONFIG_SUMMARY.md +0 -273
- package/ext/aastar-shared-config/check-locker-status.mjs +0 -7
- package/ext/aastar-shared-config/favicon.ico +0 -0
- package/ext/aastar-shared-config/generate-comparison-table.sh +0 -67
- package/ext/aastar-shared-config/package.json +0 -46
- package/ext/aastar-shared-config/pnpm-lock.yaml +0 -1182
- package/ext/aastar-shared-config/src/abis/BLSAggregator.json +0 -1
- package/ext/aastar-shared-config/src/abis/DVTValidator.json +0 -1
- package/ext/aastar-shared-config/src/abis/GToken.json +0 -1
- package/ext/aastar-shared-config/src/abis/GTokenStaking.json +0 -1
- package/ext/aastar-shared-config/src/abis/MySBT.json +0 -1
- package/ext/aastar-shared-config/src/abis/PaymasterFactory.json +0 -1
- package/ext/aastar-shared-config/src/abis/PaymasterV4.json +0 -1098
- package/ext/aastar-shared-config/src/abis/Registry.json +0 -1
- package/ext/aastar-shared-config/src/abis/SimpleAccount.json +0 -557
- package/ext/aastar-shared-config/src/abis/SimpleAccountFactory.json +0 -87
- package/ext/aastar-shared-config/src/abis/SuperPaymasterV2.json +0 -1
- package/ext/aastar-shared-config/src/abis/index.ts +0 -45
- package/ext/aastar-shared-config/src/abis/xPNTsFactory.json +0 -1
- package/ext/aastar-shared-config/src/abis/xPNTsToken.json +0 -1
- package/ext/aastar-shared-config/src/branding.ts +0 -32
- package/ext/aastar-shared-config/src/communities.ts +0 -93
- package/ext/aastar-shared-config/src/constants.ts +0 -67
- package/ext/aastar-shared-config/src/contract-addresses.ts +0 -95
- package/ext/aastar-shared-config/src/contract-versions.ts +0 -374
- package/ext/aastar-shared-config/src/contracts.ts +0 -414
- package/ext/aastar-shared-config/src/index.ts +0 -14
- package/ext/aastar-shared-config/src/networks.ts +0 -117
- package/ext/aastar-shared-config/sync-abis.sh +0 -92
- package/ext/aastar-shared-config/sync-versions.mjs +0 -150
- package/ext/aastar-shared-config/tsconfig.json +0 -18
- package/ext/aastar-shared-config/tsup.config.ts +0 -10
- package/ext/aastar-shared-config/verify-all.sh +0 -207
- package/ext/aastar-shared-config/verify-contracts.sh +0 -85
- package/ext/aastar-shared-config/verify-mysbt-v243.mjs +0 -27
- package/ext/aastar-shared-config/verify-onchain-versions.mjs +0 -93
- package/l4-setup.sh +0 -1
- package/lib/SHARED_CONFIG_REFERENCE.md +0 -133
- package/lib/shared-config/.env.example +0 -6
- package/lib/shared-config/.github/workflows/check-secrets.yml +0 -257
- package/lib/shared-config/AGENTS.md +0 -21
- package/lib/shared-config/CHANGELOG.md +0 -99
- package/lib/shared-config/LICENSE +0 -21
- package/lib/shared-config/QUICK_START.md +0 -215
- package/lib/shared-config/README.md +0 -412
- package/lib/shared-config/SHARED_CONFIG_SUMMARY.md +0 -273
- package/lib/shared-config/check-locker-status.mjs +0 -7
- package/lib/shared-config/favicon.ico +0 -0
- package/lib/shared-config/generate-comparison-table.sh +0 -67
- package/lib/shared-config/package.json +0 -46
- package/lib/shared-config/pnpm-lock.yaml +0 -1182
- package/lib/shared-config/src/abis/BLSAggregator.json +0 -1
- package/lib/shared-config/src/abis/DVTValidator.json +0 -1
- package/lib/shared-config/src/abis/GToken.json +0 -1
- package/lib/shared-config/src/abis/GTokenStaking.json +0 -1
- package/lib/shared-config/src/abis/MySBT.json +0 -1
- package/lib/shared-config/src/abis/PaymasterFactory.json +0 -1
- package/lib/shared-config/src/abis/PaymasterV4.json +0 -1098
- package/lib/shared-config/src/abis/Registry.json +0 -1
- package/lib/shared-config/src/abis/SimpleAccount.json +0 -557
- package/lib/shared-config/src/abis/SimpleAccountFactory.json +0 -87
- package/lib/shared-config/src/abis/SuperPaymasterV2.json +0 -1
- package/lib/shared-config/src/abis/index.ts +0 -45
- package/lib/shared-config/src/abis/xPNTsFactory.json +0 -1
- package/lib/shared-config/src/abis/xPNTsToken.json +0 -1
- package/lib/shared-config/src/branding.ts +0 -32
- package/lib/shared-config/src/communities.ts +0 -93
- package/lib/shared-config/src/constants.ts +0 -67
- package/lib/shared-config/src/contract-addresses.ts +0 -95
- package/lib/shared-config/src/contract-versions.ts +0 -374
- package/lib/shared-config/src/contracts.ts +0 -414
- package/lib/shared-config/src/index.ts +0 -14
- package/lib/shared-config/src/networks.ts +0 -117
- package/lib/shared-config/sync-abis.sh +0 -92
- package/lib/shared-config/sync-versions.mjs +0 -150
- package/lib/shared-config/tsconfig.json +0 -18
- package/lib/shared-config/tsup.config.ts +0 -10
- package/lib/shared-config/verify-all.sh +0 -207
- package/lib/shared-config/verify-contracts.sh +0 -85
- package/lib/shared-config/verify-mysbt-v243.mjs +0 -27
- package/lib/shared-config/verify-onchain-versions.mjs +0 -93
- package/packages/account/__tests__/index.test.ts +0 -9
- package/packages/account/node_modules/.bin/tsc +0 -21
- package/packages/account/node_modules/.bin/tsserver +0 -21
- package/packages/account/node_modules/.vite/vitest/da39a3ee5e6b4b0d3255bfef95601890afd80709/results.json +0 -1
- package/packages/account/package.json +0 -21
- package/packages/account/src/accounts/simple.ts +0 -84
- package/packages/account/src/eoa.ts +0 -31
- package/packages/account/src/index.ts +0 -61
- package/packages/account/tsconfig.json +0 -12
- package/packages/analytics/README.md +0 -68
- package/packages/analytics/__tests__/index.test.ts +0 -25
- package/packages/analytics/data/attribution_dataset.csv +0 -29
- package/packages/analytics/data/complete_dataset.csv +0 -29
- package/packages/analytics/data/eth_price_cache.json +0 -4
- package/packages/analytics/data/full_dataset.csv +0 -11
- package/packages/analytics/data/full_dataset.json +0 -134
- package/packages/analytics/data/parsed_transactions.csv +0 -29
- package/packages/analytics/node_modules/.bin/tsc +0 -21
- package/packages/analytics/node_modules/.bin/tsserver +0 -21
- package/packages/analytics/node_modules/.vite/vitest/da39a3ee5e6b4b0d3255bfef95601890afd80709/results.json +0 -1
- package/packages/analytics/package.json +0 -25
- package/packages/analytics/reports/full/attribution_analysis_20260119.md +0 -42
- package/packages/analytics/reports/full/attribution_analysis_fresh_20260119.md +0 -67
- package/packages/analytics/reports/full/competitive_analysis_20260119.md +0 -103
- package/packages/analytics/reports/full/comprehensive_analysis_20260119.md +0 -107
- package/packages/analytics/reports/full/comprehensive_analysis_v4_1_20260119.md +0 -74
- package/packages/analytics/reports/full/economic_audit_v4_2_20260119.md +0 -74
- package/packages/analytics/reports/full/profit_audit_v4_3_20260119.md +0 -74
- package/packages/analytics/reports/full/profit_audit_v4_4_20260119.md +0 -74
- package/packages/analytics/reports/full/profit_audit_v4_5_20260119.md +0 -74
- package/packages/analytics/reports/full/profit_audit_v4_6_20260119.md +0 -74
- package/packages/analytics/reports/full/profit_audit_v4_final_20260119.md +0 -74
- package/packages/analytics/reports/full/profit_audit_v4_final_v2_20260119.md +0 -74
- package/packages/analytics/reports/full/profit_audit_v4_final_v3_20260119.md +0 -74
- package/packages/analytics/reports/full/profit_audit_v4_final_v4_20260119.md +0 -75
- package/packages/analytics/reports/full/profit_audit_v4_final_v5_20260119.md +0 -76
- package/packages/analytics/reports/full/two_layer_analysis_20260119.md +0 -81
- package/packages/analytics/reports/full/two_layer_analysis_academic_20260119.md +0 -81
- package/packages/analytics/reports/full/two_layer_analysis_dynamic_20260119.md +0 -81
- package/packages/analytics/reports/full/two_layer_analysis_final_20260119.md +0 -81
- package/packages/analytics/reports/full/two_layer_analysis_final_fixed_20260119.md +0 -81
- package/packages/analytics/reports/full/two_layer_analysis_fixed_20260119.md +0 -52
- package/packages/analytics/reports/full/two_layer_analysis_normalized_20260119.md +0 -81
- package/packages/analytics/reports/full/tx_0xc30cfcbb.md +0 -39
- package/packages/analytics/src/analyzers/AttributionAnalyzer.ts +0 -124
- package/packages/analytics/src/analyzers/ComparisonAnalyzer.ts +0 -89
- package/packages/analytics/src/analyzers/TransactionAnalyzer.ts +0 -111
- package/packages/analytics/src/analyzers/TrendAnalyzer.ts +0 -107
- package/packages/analytics/src/cli-analyze-tx.ts +0 -45
- package/packages/analytics/src/cli.ts +0 -39
- package/packages/analytics/src/core/BenchmarkLoader.ts +0 -163
- package/packages/analytics/src/core/CostCalculator.ts +0 -202
- package/packages/analytics/src/core/DataCollector.ts +0 -245
- package/packages/analytics/src/gas-analyzer-v4.ts +0 -118
- package/packages/analytics/src/gas-analyzer.ts +0 -184
- package/packages/analytics/src/index.ts +0 -145
- package/packages/analytics/src/test-logparser.ts +0 -63
- package/packages/analytics/src/utils/EventDecoder.ts +0 -152
- package/packages/analytics/src/utils/LogParser.ts +0 -220
- package/packages/analytics/src/utils/PriceOracle.ts +0 -117
- package/packages/analytics/test/AttributionAnalyzer.test.ts +0 -42
- package/packages/analytics/test/CostCalculator.test.ts +0 -75
- package/packages/analytics/tsconfig.json +0 -12
- package/packages/community/__tests__/index.test.ts +0 -9
- package/packages/community/node_modules/.bin/tsc +0 -21
- package/packages/community/node_modules/.bin/tsserver +0 -21
- package/packages/community/node_modules/.vite/vitest/da39a3ee5e6b4b0d3255bfef95601890afd80709/results.json +0 -1
- package/packages/community/package.json +0 -27
- package/packages/community/src/index.ts +0 -326
- package/packages/community/tsconfig.json +0 -8
- package/packages/core/__tests__/actions/account-comprehensive.test.ts +0 -92
- package/packages/core/__tests__/actions/aggregator.test.ts +0 -62
- package/packages/core/__tests__/actions/comprehensive-batch1.test.ts +0 -86
- package/packages/core/__tests__/actions/comprehensive-batch2.test.ts +0 -39
- package/packages/core/__tests__/actions/comprehensive-batch3.test.ts +0 -35
- package/packages/core/__tests__/actions/comprehensive-error.test.ts +0 -115
- package/packages/core/__tests__/actions/dvt.test.ts +0 -39
- package/packages/core/__tests__/actions/edge-cases.test.ts +0 -39
- package/packages/core/__tests__/actions/error-paths.test.ts +0 -82
- package/packages/core/__tests__/actions/factory.test.ts +0 -81
- package/packages/core/__tests__/actions/faucet.test.ts +0 -131
- package/packages/core/__tests__/actions/paymaster.test.ts +0 -116
- package/packages/core/__tests__/actions/registry.test.ts +0 -81
- package/packages/core/__tests__/actions/reputation.test.ts +0 -43
- package/packages/core/__tests__/actions/sbt.test.ts +0 -145
- package/packages/core/__tests__/actions/staking.test.ts +0 -30
- package/packages/core/__tests__/actions/superPaymaster.test.ts +0 -158
- package/packages/core/__tests__/actions/tokens-extended.test.ts +0 -18
- package/packages/core/__tests__/actions/tokens.test.ts +0 -122
- package/packages/core/__tests__/clients.test.ts +0 -77
- package/packages/core/__tests__/contracts-config.test.ts +0 -69
- package/packages/core/__tests__/index.test.ts +0 -9
- package/packages/core/__tests__/mocks/client.ts +0 -40
- package/packages/core/node_modules/.bin/tsc +0 -21
- package/packages/core/node_modules/.bin/tsserver +0 -21
- package/packages/core/node_modules/.bin/tsx +0 -21
- package/packages/core/node_modules/.bin/vite +0 -21
- package/packages/core/node_modules/.bin/vitest +0 -21
- package/packages/core/node_modules/.bin/yaml +0 -21
- package/packages/core/node_modules/.vite/vitest/da39a3ee5e6b4b0d3255bfef95601890afd80709/results.json +0 -1
- package/packages/core/package.json +0 -25
- package/packages/core/src/abis/BLSAggregator.json +0 -686
- package/packages/core/src/abis/BLSValidator.json +0 -42
- package/packages/core/src/abis/DVTValidator.json +0 -368
- package/packages/core/src/abis/Eip7702Support.json +0 -24
- package/packages/core/src/abis/EntryPoint.json +0 -1382
- package/packages/core/src/abis/GToken.json +0 -513
- package/packages/core/src/abis/GTokenStaking.json +0 -949
- package/packages/core/src/abis/LegacyAccount.json +0 -625
- package/packages/core/src/abis/MySBT.json +0 -1518
- package/packages/core/src/abis/Paymaster.json +0 -1143
- package/packages/core/src/abis/PaymasterFactory.json +0 -640
- package/packages/core/src/abis/Registry.json +0 -1942
- package/packages/core/src/abis/ReputationSystem.json +0 -699
- package/packages/core/src/abis/SenderCreator.json +0 -99
- package/packages/core/src/abis/Simple7702Account.json +0 -395
- package/packages/core/src/abis/SimpleAccount.json +0 -560
- package/packages/core/src/abis/SimpleAccountFactory.json +0 -111
- package/packages/core/src/abis/SimpleAccountFactoryV08.json +0 -87
- package/packages/core/src/abis/SimpleAccountV08.json +0 -557
- package/packages/core/src/abis/SuperPaymaster.json +0 -1781
- package/packages/core/src/abis/UserOperationLib.json +0 -57
- package/packages/core/src/abis/aPNTs.json +0 -1160
- package/packages/core/src/abis/abi.config.json +0 -24
- package/packages/core/src/abis/index.ts +0 -91
- package/packages/core/src/abis/xPNTsFactory.json +0 -718
- package/packages/core/src/abis/xPNTsToken.json +0 -1280
- package/packages/core/src/actions/StateValidator.ts +0 -253
- package/packages/core/src/actions/account.ts +0 -190
- package/packages/core/src/actions/aggregator.ts +0 -371
- package/packages/core/src/actions/dvt.ts +0 -269
- package/packages/core/src/actions/entryPoint.ts +0 -89
- package/packages/core/src/actions/factory.ts +0 -732
- package/packages/core/src/actions/faucet.ts +0 -280
- package/packages/core/src/actions/index.ts +0 -15
- package/packages/core/src/actions/paymaster.ts +0 -780
- package/packages/core/src/actions/registry.ts +0 -961
- package/packages/core/src/actions/reputation.ts +0 -668
- package/packages/core/src/actions/sbt.ts +0 -916
- package/packages/core/src/actions/staking.ts +0 -576
- package/packages/core/src/actions/superPaymaster.ts +0 -1093
- package/packages/core/src/actions/tokens.ts +0 -481
- package/packages/core/src/branding.ts +0 -32
- package/packages/core/src/clients/BaseClient.ts +0 -78
- package/packages/core/src/clients/BundlerClient.ts +0 -132
- package/packages/core/src/clients/types.ts +0 -69
- package/packages/core/src/clients.ts +0 -13
- package/packages/core/src/communities.ts +0 -93
- package/packages/core/src/config/ContractConfigManager.ts +0 -63
- package/packages/core/src/constants.ts +0 -114
- package/packages/core/src/contract-addresses.ts +0 -118
- package/packages/core/src/contract-versions.ts +0 -374
- package/packages/core/src/contracts.ts +0 -414
- package/packages/core/src/crypto/blsSigner.ts +0 -124
- package/packages/core/src/crypto/index.ts +0 -1
- package/packages/core/src/errors/index.ts +0 -173
- package/packages/core/src/index.ts +0 -23
- package/packages/core/src/networks.ts +0 -127
- package/packages/core/src/requirementChecker.ts +0 -225
- package/packages/core/src/roles.ts +0 -244
- package/packages/core/src/utils.ts +0 -23
- package/packages/core/src/validators/index.ts +0 -88
- package/packages/core/tsconfig.json +0 -13
- package/packages/dapp/__tests__/index.test.ts +0 -9
- package/packages/dapp/node_modules/.bin/tsc +0 -21
- package/packages/dapp/node_modules/.bin/tsserver +0 -21
- package/packages/dapp/node_modules/.vite/vitest/da39a3ee5e6b4b0d3255bfef95601890afd80709/results.json +0 -1
- package/packages/dapp/package.json +0 -28
- package/packages/dapp/src/index.ts +0 -4
- package/packages/dapp/src/ui/components/EvaluationPanel.tsx +0 -40
- package/packages/dapp/src/ui/hooks/useCreditScore.ts +0 -44
- package/packages/dapp/src/ui/hooks/useSuperPaymaster.ts +0 -31
- package/packages/dapp/src/ui/index.ts +0 -22
- package/packages/dapp/tsconfig.json +0 -13
- package/packages/enduser/__tests__/CommunityClient.test.ts +0 -205
- package/packages/enduser/__tests__/UserClient.test.ts +0 -294
- package/packages/enduser/__tests__/index.test.ts +0 -16
- package/packages/enduser/__tests__/mocks/client.ts +0 -22
- package/packages/enduser/node_modules/.bin/tsc +0 -21
- package/packages/enduser/node_modules/.bin/tsserver +0 -21
- package/packages/enduser/node_modules/.vite/vitest/da39a3ee5e6b4b0d3255bfef95601890afd80709/results.json +0 -1
- package/packages/enduser/package.json +0 -26
- package/packages/enduser/src/CommunityClient.ts +0 -235
- package/packages/enduser/src/UserClient.ts +0 -447
- package/packages/enduser/src/index.ts +0 -2
- package/packages/enduser/src/testAccountManager.ts +0 -374
- package/packages/enduser/tsconfig.json +0 -10
- package/packages/identity/__tests__/index.test.ts +0 -9
- package/packages/identity/node_modules/.bin/tsc +0 -21
- package/packages/identity/node_modules/.bin/tsserver +0 -21
- package/packages/identity/node_modules/.vite/vitest/da39a3ee5e6b4b0d3255bfef95601890afd80709/results.json +0 -1
- package/packages/identity/package.json +0 -23
- package/packages/identity/src/index.ts +0 -114
- package/packages/identity/src/mysbt.ts +0 -48
- package/packages/identity/tsconfig.json +0 -12
- package/packages/operator/__tests__/PaymasterOperatorClient.test.ts +0 -258
- package/packages/operator/__tests__/ProtocolClient.test.ts +0 -135
- package/packages/operator/__tests__/index.test.ts +0 -16
- package/packages/operator/__tests__/mocks/client.ts +0 -22
- package/packages/operator/node_modules/.bin/tsc +0 -21
- package/packages/operator/node_modules/.bin/tsserver +0 -21
- package/packages/operator/node_modules/.vite/vitest/da39a3ee5e6b4b0d3255bfef95601890afd80709/results.json +0 -1
- package/packages/operator/package.json +0 -26
- package/packages/operator/src/PaymasterOperatorClient.ts +0 -454
- package/packages/operator/src/ProtocolClient.ts +0 -154
- package/packages/operator/src/index.ts +0 -2
- package/packages/operator/tsconfig.json +0 -10
- package/packages/patterns/node_modules/.bin/tsc +0 -21
- package/packages/patterns/node_modules/.bin/tsserver +0 -21
- package/packages/paymaster/__tests__/PaymasterOperator.test.ts +0 -123
- package/packages/paymaster/__tests__/index.test.ts +0 -9
- package/packages/paymaster/node_modules/.bin/tsc +0 -21
- package/packages/paymaster/node_modules/.bin/tsserver +0 -21
- package/packages/paymaster/node_modules/.vite/vitest/da39a3ee5e6b4b0d3255bfef95601890afd80709/results.json +0 -1
- package/packages/paymaster/package.json +0 -23
- package/packages/paymaster/src/SuperPaymaster/index.ts +0 -168
- package/packages/paymaster/src/V4/BundlerCompat.ts +0 -47
- package/packages/paymaster/src/V4/PaymasterClient.ts +0 -490
- package/packages/paymaster/src/V4/PaymasterOperator.ts +0 -282
- package/packages/paymaster/src/V4/PaymasterUtils.ts +0 -199
- package/packages/paymaster/src/V4/SuperPaymasterClient.ts +0 -129
- package/packages/paymaster/src/V4/index.ts +0 -4
- package/packages/paymaster/src/index.ts +0 -5
- package/packages/paymaster/tsconfig.json +0 -16
- package/packages/sdk/README.md +0 -171
- package/packages/sdk/__tests__/index.test.ts +0 -9
- package/packages/sdk/aastar/package.json +0 -21
- package/packages/sdk/aastar/src/index.ts +0 -3
- package/packages/sdk/aastar/tsconfig.json +0 -8
- package/packages/sdk/examples/config.json +0 -1
- package/packages/sdk/examples/regression_test.ts +0 -106
- package/packages/sdk/node_modules/.bin/tsc +0 -21
- package/packages/sdk/node_modules/.bin/tsserver +0 -21
- package/packages/sdk/node_modules/.vite/vitest/da39a3ee5e6b4b0d3255bfef95601890afd80709/results.json +0 -1
- package/packages/sdk/package.json +0 -34
- package/packages/sdk/src/clients/admin.ts +0 -56
- package/packages/sdk/src/clients/endUser.ts +0 -428
- package/packages/sdk/src/utils/testScenarios.ts +0 -128
- package/packages/sdk/tests/scenarios/01_onboard_community.ts +0 -62
- package/packages/sdk/tests/scenarios/02_onboard_operator.ts +0 -109
- package/packages/sdk/tests/scenarios/03_onboard_user.ts +0 -53
- package/packages/sdk/tests/scenarios/04_gasless_tx_flow.ts +0 -68
- package/packages/sdk/tests/scenarios/check_entrypoint.ts +0 -19
- package/packages/sdk/tests/scenarios/check_initialization.ts +0 -65
- package/packages/sdk/tests/scenarios/debug_addresses.ts +0 -26
- package/packages/sdk/tests/scenarios/diagnose_scenario4.ts +0 -55
- package/packages/sdk/tests/scenarios/setup.ts +0 -33
- package/packages/sdk/tests/scenarios/test_entrypoint_nonce.ts +0 -46
- package/packages/sdk/tsconfig.json +0 -12
- package/packages/tokens/__tests__/index.test.ts +0 -9
- package/packages/tokens/node_modules/.bin/tsc +0 -21
- package/packages/tokens/node_modules/.bin/tsserver +0 -21
- package/packages/tokens/node_modules/.vite/vitest/da39a3ee5e6b4b0d3255bfef95601890afd80709/results.json +0 -1
- package/packages/tokens/package.json +0 -23
- package/packages/tokens/src/index.ts +0 -258
- package/packages/tokens/tsconfig.json +0 -12
- package/pnpm-workspace.yaml +0 -2
- package/publish.sh +0 -30
- package/run_l4_gasless_regression.sh +0 -109
- package/run_sdk_regression.sh +0 -232
- package/scripts/00_utils.ts +0 -59
- package/scripts/00_verify_phase1.ts +0 -130
- package/scripts/01_1_prep_gtoken.ts +0 -81
- package/scripts/01_2_register_sbt.ts +0 -88
- package/scripts/01_3_prep_tokens_paymaster.ts +0 -102
- package/scripts/01_prepare_all.ts +0 -271
- package/scripts/02_test_eoa.ts +0 -50
- package/scripts/03_test_standard_aa.ts +0 -173
- package/scripts/04_0_check_deploy.ts +0 -24
- package/scripts/04_1_check_allowance.ts +0 -44
- package/scripts/04_2_construct_verify.ts +0 -96
- package/scripts/04_3_verify_estimate.ts +0 -66
- package/scripts/04_4_verify_pack.ts +0 -74
- package/scripts/04_test_paymaster_v4.ts +0 -217
- package/scripts/05_1_deposit.ts +0 -48
- package/scripts/05_test_superpaymaster.ts +0 -380
- package/scripts/06_local_test_v3_admin.ts +0 -163
- package/scripts/06_local_test_v3_execution.ts +0 -132
- package/scripts/06_local_test_v3_full.ts +0 -490
- package/scripts/06_local_test_v3_funding.ts +0 -124
- package/scripts/06_local_test_v3_reputation.ts +0 -234
- package/scripts/07_local_test_v3_audit.ts +0 -181
- package/scripts/08_local_test_registry_lifecycle.ts +0 -382
- package/scripts/09_local_test_community_lifecycle.ts +0 -385
- package/scripts/09_local_test_community_simple.ts +0 -108
- package/scripts/09_scenario_bread_independent.ts +0 -247
- package/scripts/10_scenario_super_shared.ts +0 -196
- package/scripts/10_test_protocol_admin_full.ts +0 -173
- package/scripts/11_scenario_hacker_defense.ts +0 -104
- package/scripts/11_test_core_flows_full.ts +0 -279
- package/scripts/12_test_slash_mechanism.ts +0 -205
- package/scripts/12_test_slash_queries.ts +0 -83
- package/scripts/12_test_staking_exit.ts +0 -152
- package/scripts/12_test_staking_slash.ts +0 -301
- package/scripts/12_test_tier2_slash.ts +0 -139
- package/scripts/13_test_sbt_burn_linkage.ts +0 -266
- package/scripts/14_test_credit_redesign.ts +0 -266
- package/scripts/15_test_bls_full.ts +0 -148
- package/scripts/15_test_dvt_bls_full.ts +0 -140
- package/scripts/17_test_cross_role_collaboration.ts +0 -95
- package/scripts/18_sdk_e2e_verification.ts +0 -67
- package/scripts/18_test_dvt_sdk_flow.ts +0 -138
- package/scripts/18_test_lifecycle_completion.ts +0 -144
- package/scripts/19_sdk_experiment_runner.ts +0 -207
- package/scripts/19_sdk_experiment_runner.ts.backup +0 -391
- package/scripts/20_sdk_full_capability.ts +0 -95
- package/scripts/20_test_superpaymaster_new_apis.ts +0 -193
- package/scripts/21_test_paymasterv4_complete.ts +0 -341
- package/scripts/22_test_bls_signing.ts +0 -260
- package/scripts/23_test_middleware.ts +0 -197
- package/scripts/98_edge_reentrancy.ts +0 -85
- package/scripts/99_bug_hunting_fast.ts +0 -99
- package/scripts/analyze_abi_coverage.ts +0 -169
- package/scripts/analyze_missing_functions.ts +0 -136
- package/scripts/canary-bundler.ts +0 -47
- package/scripts/check-admin.ts +0 -95
- package/scripts/check-chainlink.ts +0 -28
- package/scripts/check-jason-status.ts +0 -85
- package/scripts/check-roles.ts +0 -36
- package/scripts/clear-nonce.ts +0 -47
- package/scripts/collect_industry_baseline.ts +0 -236
- package/scripts/complete-jack-superpaymaster.ts +0 -171
- package/scripts/complete_env_config.ts +0 -97
- package/scripts/deploy-sync.ts +0 -104
- package/scripts/deploy_and_init_v3.sh +0 -134
- package/scripts/deploy_anvil_accounts.ts +0 -144
- package/scripts/deploy_jason_pm.ts +0 -114
- package/scripts/deploy_paymaster_v4.ts +0 -139
- package/scripts/deploy_test_accounts.ts +0 -401
- package/scripts/deprecated/check_aa_entrypoint.ts +0 -29
- package/scripts/deprecated/check_paymaster_deposits.ts +0 -45
- package/scripts/deprecated/debug_aoa_function.ts +0 -28
- package/scripts/deprecated/debug_aoa_issue.ts +0 -16
- package/scripts/deprecated/debug_pimlico_aa23.ts +0 -40
- package/scripts/deprecated/debug_summary.ts +0 -34
- package/scripts/deprecated/deploy_v07_aa.ts +0 -99
- package/scripts/deprecated/fix_all_issues.ts +0 -61
- package/scripts/deprecated/fund_bpnts.ts +0 -52
- package/scripts/deprecated/get_factory_addresses.ts +0 -28
- package/scripts/deprecated/recheck_pim.ts +0 -34
- package/scripts/dev_tools/extract_abis.sh +0 -151
- package/scripts/dev_tools/extract_addresses_to_env.sh +0 -67
- package/scripts/dev_tools/final_safe_harmonize.py +0 -77
- package/scripts/dev_tools/safe_harmonize.py +0 -107
- package/scripts/dev_tools/surgical_harmonize.py +0 -83
- package/scripts/experiment/stage3/SETUP_GUIDE.md +0 -258
- package/scripts/experiment/stage3/archived_scripts/00_token_distribution.ts +0 -78
- package/scripts/experiment/stage3/archived_scripts/01_dao_launch.ts +0 -96
- package/scripts/experiment/stage3/archived_scripts/01b_bread_launch.ts +0 -112
- package/scripts/experiment/stage3/archived_scripts/02_operator_setup.ts +0 -84
- package/scripts/experiment/stage3/archived_scripts/02b_operator_b_setup.ts +0 -104
- package/scripts/experiment/stage3/archived_scripts/02c_finalize_operators.ts +0 -86
- package/scripts/experiment/stage3/archived_scripts/02d_operator_collateral.ts +0 -89
- package/scripts/experiment/stage3/archived_scripts/03_user_onboarding.ts +0 -83
- package/scripts/experiment/stage3/archived_scripts/03b_deploy_aa_account.ts +0 -61
- package/scripts/experiment/stage3/archived_scripts/03c_aa_onboarding.ts +0 -104
- package/scripts/experiment/stage3/archived_scripts/03d_mint_points.ts +0 -60
- package/scripts/experiment/stage3/archived_scripts/04_benchmarking.ts +0 -100
- package/scripts/experiment/stage3/archived_scripts/05_multi_op_setup.ts +0 -149
- package/scripts/experiment/stage3/archived_scripts/README.md +0 -58
- package/scripts/experiment/stage3/archived_scripts/check_roles.ts +0 -29
- package/scripts/experiment/stage3/archived_scripts/decode_error.ts +0 -23
- package/scripts/experiment/stage3/archived_scripts/fund_user.ts +0 -51
- package/scripts/experiment/stage3/archived_scripts/gen_b_key.ts +0 -3
- package/scripts/experiment/stage3/archived_scripts/gen_keys.ts +0 -4
- package/scripts/experiment/stage3/archived_scripts/setup.ts +0 -105
- package/scripts/experiment/stage3/archived_scripts/test_key.ts +0 -4
- package/scripts/experiment/stage3/archived_scripts/verify_state.ts +0 -59
- package/scripts/experiment/stage3/refactored/00_token_distribution.ts +0 -46
- package/scripts/experiment/stage3/refactored/02_operator_setup.ts +0 -65
- package/scripts/experiment/stage3/refactored/03_user_onboarding.ts +0 -68
- package/scripts/experiment/stage3/refactored/05_multi_op_setup.ts +0 -63
- package/scripts/experiment/stage3/refactored/README.md +0 -71
- package/scripts/extract-docs.sh +0 -72
- package/scripts/fund-jack.ts +0 -38
- package/scripts/generate_env_from_deployment.ts +0 -109
- package/scripts/inspect-anni-token.ts +0 -116
- package/scripts/inspect-factory.ts +0 -83
- package/scripts/l4-debug-bob.ts +0 -62
- package/scripts/l4-paymasterv4-transfer-test.ts +0 -220
- package/scripts/l4-setup.ts +0 -1347
- package/scripts/l4-state.json +0 -82
- package/scripts/manual-update-price.ts +0 -39
- package/scripts/phase1_verify_contracts.ts +0 -207
- package/scripts/pre_test_sync.ts +0 -83
- package/scripts/prepare_sepolia_resources.ts +0 -154
- package/scripts/publish_all.sh +0 -39
- package/scripts/query-jack-token.ts +0 -22
- package/scripts/quick_setup.ts +0 -124
- package/scripts/quick_setup_account.ts +0 -80
- package/scripts/run_automated_experiment.sh +0 -121
- package/scripts/run_daily_experiment.ts +0 -70
- package/scripts/run_full_regression.sh +0 -38
- package/scripts/run_l4_gasless_regression.sh +0 -32
- package/scripts/run_sdk_experiment.sh +0 -13
- package/scripts/run_sdk_regression-v2.sh +0 -38
- package/scripts/sdk_regression_v2.ts +0 -148
- package/scripts/security_audit.sh +0 -172
- package/scripts/setup-bbq-community.ts +0 -187
- package/scripts/setup-dancing-community.ts +0 -223
- package/scripts/setup_test_accounts.ts +0 -88
- package/scripts/setup_test_environment.ts +0 -147
- package/scripts/sync_anvil_config.cjs +0 -44
- package/scripts/sync_config_to_env.ts +0 -88
- package/scripts/sync_contract_addresses.ts +0 -186
- package/scripts/sync_sepolia_config.cjs +0 -90
- package/scripts/sync_sepolia_config.mjs +0 -74
- package/scripts/test-brown-v4-deploy.ts +0 -90
- package/scripts/test-faucet-and-gasless.ts +0 -150
- package/scripts/test-jack-gasless.ts +0 -119
- package/scripts/test-jack-registration.ts +0 -133
- package/scripts/test-jack-superpaymaster-api.ts +0 -112
- package/scripts/test-kms-gasless.ts +0 -352
- package/scripts/update-price-dvt.ts +0 -53
- package/scripts/update_env_from_config.ts +0 -83
- package/scripts/v2_regression/00_validate_env.ts +0 -101
- package/scripts/v2_regression/01_setup_and_fund.ts +0 -132
- package/scripts/v2_regression/02_operator_onboarding.ts +0 -300
- package/scripts/v2_regression/03_community_registry.ts +0 -173
- package/scripts/v2_regression/04_enduser_flow.ts +0 -174
- package/scripts/v2_regression/05_admin_audit.ts +0 -157
- package/scripts/v2_regression/README.md +0 -161
- package/scripts/validate_env.ts +0 -112
- package/scripts/verify-bob-token.ts +0 -41
- package/scripts/verify-tx-status.ts +0 -81
- package/scripts/verify_onchain_milestone.ts +0 -114
- package/scripts/verify_phase1.ts +0 -66
- package/scripts/verify_phase2.ts +0 -66
- package/sdk-abi-coverage.sh +0 -1
- package/sdk-build-and-test.sh +0 -1
- package/sdk-test-coverage.sh +0 -1
- package/sdk_experiment_data.csv +0 -4
- package/simple-test-paymaster.sh +0 -2
- package/simple-test-superpaymaster.sh +0 -3
- package/tests/check-aa-balance.ts +0 -31
- package/tests/l1-regression.test.ts +0 -437
- package/tests/l4-test-anni-gasless.ts +0 -517
- package/tests/l4-test-jason1-gasless.ts +0 -158
- package/tests/l4-test-jason2-gasless.ts +0 -180
- package/tests/l4-test-pmv4-deposit.ts +0 -111
- package/tests/l4-test-pmv4-gasless.ts +0 -166
- package/tests/l4-test-pmv4-submit.ts +0 -223
- package/tests/regression/README.md +0 -168
- package/tests/regression/config.ts +0 -217
- package/tests/regression/display-versions.ts +0 -85
- package/tests/regression/index.ts +0 -67
- package/tests/regression/l1-tests.ts +0 -248
- package/tests/regression/l2-tests.ts +0 -227
- package/tests/regression/l3-tests.ts +0 -28
- package/tests/regression/l4-comprehensive-gasless.ts +0 -478
- package/tests/regression/l4-gasless.ts +0 -999
- package/tests/regression/l4-reputation-tiers.ts +0 -102
- package/tests/regression/l4-runner.ts +0 -52
- package/tests/reports/phase1_contract_verification.md +0 -45
- package/tests/test-bundler-compat.ts +0 -132
- package/tests/test-candide-bundler.ts +0 -117
- package/tests/test-candide-paymaster.ts +0 -101
- package/tests/test-candide-sdk.ts +0 -116
- package/tests/test-candide-simple.ts +0 -204
- package/tests/test-pimlico-complete.ts +0 -134
- package/tests/utils/contractVerifier.ts +0 -237
- package/tests/utils/userOpHelper.ts +0 -194
- package/tsconfig.build.json +0 -23
- package/tsconfig.json +0 -27
- package/typedoc.json +0 -25
- package/update-version.sh +0 -20
- package/vitest.config.ts +0 -17
|
@@ -1,1227 +0,0 @@
|
|
|
1
|
-
> **TokenActions** = `object`
|
|
2
|
-
|
|
3
|
-
Defined in: [packages/core/src/actions/tokens.ts:7](https://github.com/AAStarCommunity/aastar-sdk/blob/f3911a6f6e88b2f77186db63ad0182c2cfe13b9d/packages/core/src/actions/tokens.ts#L7)
|
|
4
|
-
|
|
5
|
-
## Properties
|
|
6
|
-
|
|
7
|
-
### addAutoApprovedSpender()
|
|
8
|
-
|
|
9
|
-
> **addAutoApprovedSpender**: (`args`) => `Promise`\<[`Hash`](https://viem.sh/docs/index.html)\>
|
|
10
|
-
|
|
11
|
-
Defined in: [packages/core/src/actions/tokens.ts:67](https://github.com/AAStarCommunity/aastar-sdk/blob/f3911a6f6e88b2f77186db63ad0182c2cfe13b9d/packages/core/src/actions/tokens.ts#L67)
|
|
12
|
-
|
|
13
|
-
#### Parameters
|
|
14
|
-
|
|
15
|
-
##### args
|
|
16
|
-
|
|
17
|
-
###### account?
|
|
18
|
-
|
|
19
|
-
[`Account`](https://viem.sh/docs/index.html) \| `Address`
|
|
20
|
-
|
|
21
|
-
###### spender
|
|
22
|
-
|
|
23
|
-
`Address`
|
|
24
|
-
|
|
25
|
-
###### token
|
|
26
|
-
|
|
27
|
-
`Address`
|
|
28
|
-
|
|
29
|
-
#### Returns
|
|
30
|
-
|
|
31
|
-
`Promise`\<[`Hash`](https://viem.sh/docs/index.html)\>
|
|
32
|
-
|
|
33
|
-
***
|
|
34
|
-
|
|
35
|
-
### allowance()
|
|
36
|
-
|
|
37
|
-
> **allowance**: (`args`) => `Promise`\<`bigint`\>
|
|
38
|
-
|
|
39
|
-
Defined in: [packages/core/src/actions/tokens.ts:14](https://github.com/AAStarCommunity/aastar-sdk/blob/f3911a6f6e88b2f77186db63ad0182c2cfe13b9d/packages/core/src/actions/tokens.ts#L14)
|
|
40
|
-
|
|
41
|
-
#### Parameters
|
|
42
|
-
|
|
43
|
-
##### args
|
|
44
|
-
|
|
45
|
-
###### owner
|
|
46
|
-
|
|
47
|
-
`Address`
|
|
48
|
-
|
|
49
|
-
###### spender
|
|
50
|
-
|
|
51
|
-
`Address`
|
|
52
|
-
|
|
53
|
-
###### token
|
|
54
|
-
|
|
55
|
-
`Address`
|
|
56
|
-
|
|
57
|
-
#### Returns
|
|
58
|
-
|
|
59
|
-
`Promise`\<`bigint`\>
|
|
60
|
-
|
|
61
|
-
***
|
|
62
|
-
|
|
63
|
-
### approve()
|
|
64
|
-
|
|
65
|
-
> **approve**: (`args`) => `Promise`\<[`Hash`](https://viem.sh/docs/index.html)\>
|
|
66
|
-
|
|
67
|
-
Defined in: [packages/core/src/actions/tokens.ts:13](https://github.com/AAStarCommunity/aastar-sdk/blob/f3911a6f6e88b2f77186db63ad0182c2cfe13b9d/packages/core/src/actions/tokens.ts#L13)
|
|
68
|
-
|
|
69
|
-
#### Parameters
|
|
70
|
-
|
|
71
|
-
##### args
|
|
72
|
-
|
|
73
|
-
###### account?
|
|
74
|
-
|
|
75
|
-
[`Account`](https://viem.sh/docs/index.html) \| `Address`
|
|
76
|
-
|
|
77
|
-
###### amount
|
|
78
|
-
|
|
79
|
-
`bigint`
|
|
80
|
-
|
|
81
|
-
###### spender
|
|
82
|
-
|
|
83
|
-
`Address`
|
|
84
|
-
|
|
85
|
-
###### token
|
|
86
|
-
|
|
87
|
-
`Address`
|
|
88
|
-
|
|
89
|
-
#### Returns
|
|
90
|
-
|
|
91
|
-
`Promise`\<[`Hash`](https://viem.sh/docs/index.html)\>
|
|
92
|
-
|
|
93
|
-
***
|
|
94
|
-
|
|
95
|
-
### autoApprovedSpenders()
|
|
96
|
-
|
|
97
|
-
> **autoApprovedSpenders**: (`args`) => `Promise`\<`boolean`\>
|
|
98
|
-
|
|
99
|
-
Defined in: [packages/core/src/actions/tokens.ts:61](https://github.com/AAStarCommunity/aastar-sdk/blob/f3911a6f6e88b2f77186db63ad0182c2cfe13b9d/packages/core/src/actions/tokens.ts#L61)
|
|
100
|
-
|
|
101
|
-
#### Parameters
|
|
102
|
-
|
|
103
|
-
##### args
|
|
104
|
-
|
|
105
|
-
###### spender
|
|
106
|
-
|
|
107
|
-
`Address`
|
|
108
|
-
|
|
109
|
-
###### token
|
|
110
|
-
|
|
111
|
-
`Address`
|
|
112
|
-
|
|
113
|
-
#### Returns
|
|
114
|
-
|
|
115
|
-
`Promise`\<`boolean`\>
|
|
116
|
-
|
|
117
|
-
***
|
|
118
|
-
|
|
119
|
-
### balanceOf()
|
|
120
|
-
|
|
121
|
-
> **balanceOf**: (`args`) => `Promise`\<`bigint`\>
|
|
122
|
-
|
|
123
|
-
Defined in: [packages/core/src/actions/tokens.ts:10](https://github.com/AAStarCommunity/aastar-sdk/blob/f3911a6f6e88b2f77186db63ad0182c2cfe13b9d/packages/core/src/actions/tokens.ts#L10)
|
|
124
|
-
|
|
125
|
-
#### Parameters
|
|
126
|
-
|
|
127
|
-
##### args
|
|
128
|
-
|
|
129
|
-
###### account
|
|
130
|
-
|
|
131
|
-
`Address`
|
|
132
|
-
|
|
133
|
-
###### token
|
|
134
|
-
|
|
135
|
-
`Address`
|
|
136
|
-
|
|
137
|
-
#### Returns
|
|
138
|
-
|
|
139
|
-
`Promise`\<`bigint`\>
|
|
140
|
-
|
|
141
|
-
***
|
|
142
|
-
|
|
143
|
-
### burn()
|
|
144
|
-
|
|
145
|
-
> **burn**: (`args`) => `Promise`\<[`Hash`](https://viem.sh/docs/index.html)\>
|
|
146
|
-
|
|
147
|
-
Defined in: [packages/core/src/actions/tokens.ts:18](https://github.com/AAStarCommunity/aastar-sdk/blob/f3911a6f6e88b2f77186db63ad0182c2cfe13b9d/packages/core/src/actions/tokens.ts#L18)
|
|
148
|
-
|
|
149
|
-
#### Parameters
|
|
150
|
-
|
|
151
|
-
##### args
|
|
152
|
-
|
|
153
|
-
###### account?
|
|
154
|
-
|
|
155
|
-
[`Account`](https://viem.sh/docs/index.html) \| `Address`
|
|
156
|
-
|
|
157
|
-
###### amount
|
|
158
|
-
|
|
159
|
-
`bigint`
|
|
160
|
-
|
|
161
|
-
###### token
|
|
162
|
-
|
|
163
|
-
`Address`
|
|
164
|
-
|
|
165
|
-
#### Returns
|
|
166
|
-
|
|
167
|
-
`Promise`\<[`Hash`](https://viem.sh/docs/index.html)\>
|
|
168
|
-
|
|
169
|
-
***
|
|
170
|
-
|
|
171
|
-
### burnFrom()
|
|
172
|
-
|
|
173
|
-
> **burnFrom**: (`args`) => `Promise`\<[`Hash`](https://viem.sh/docs/index.html)\>
|
|
174
|
-
|
|
175
|
-
Defined in: [packages/core/src/actions/tokens.ts:19](https://github.com/AAStarCommunity/aastar-sdk/blob/f3911a6f6e88b2f77186db63ad0182c2cfe13b9d/packages/core/src/actions/tokens.ts#L19)
|
|
176
|
-
|
|
177
|
-
#### Parameters
|
|
178
|
-
|
|
179
|
-
##### args
|
|
180
|
-
|
|
181
|
-
###### account?
|
|
182
|
-
|
|
183
|
-
[`Account`](https://viem.sh/docs/index.html) \| `Address`
|
|
184
|
-
|
|
185
|
-
###### amount
|
|
186
|
-
|
|
187
|
-
`bigint`
|
|
188
|
-
|
|
189
|
-
###### from
|
|
190
|
-
|
|
191
|
-
`Address`
|
|
192
|
-
|
|
193
|
-
###### token
|
|
194
|
-
|
|
195
|
-
`Address`
|
|
196
|
-
|
|
197
|
-
#### Returns
|
|
198
|
-
|
|
199
|
-
`Promise`\<[`Hash`](https://viem.sh/docs/index.html)\>
|
|
200
|
-
|
|
201
|
-
***
|
|
202
|
-
|
|
203
|
-
### burnFromWithOpHash()
|
|
204
|
-
|
|
205
|
-
> **burnFromWithOpHash**: (`args`) => `Promise`\<[`Hash`](https://viem.sh/docs/index.html)\>
|
|
206
|
-
|
|
207
|
-
Defined in: [packages/core/src/actions/tokens.ts:35](https://github.com/AAStarCommunity/aastar-sdk/blob/f3911a6f6e88b2f77186db63ad0182c2cfe13b9d/packages/core/src/actions/tokens.ts#L35)
|
|
208
|
-
|
|
209
|
-
#### Parameters
|
|
210
|
-
|
|
211
|
-
##### args
|
|
212
|
-
|
|
213
|
-
###### account?
|
|
214
|
-
|
|
215
|
-
[`Account`](https://viem.sh/docs/index.html) \| `Address`
|
|
216
|
-
|
|
217
|
-
###### amount
|
|
218
|
-
|
|
219
|
-
`bigint`
|
|
220
|
-
|
|
221
|
-
###### from
|
|
222
|
-
|
|
223
|
-
`Address`
|
|
224
|
-
|
|
225
|
-
###### token
|
|
226
|
-
|
|
227
|
-
`Address`
|
|
228
|
-
|
|
229
|
-
###### userOpHash
|
|
230
|
-
|
|
231
|
-
[`Hex`](https://viem.sh/docs/index.html)
|
|
232
|
-
|
|
233
|
-
#### Returns
|
|
234
|
-
|
|
235
|
-
`Promise`\<[`Hash`](https://viem.sh/docs/index.html)\>
|
|
236
|
-
|
|
237
|
-
***
|
|
238
|
-
|
|
239
|
-
### communityENS()
|
|
240
|
-
|
|
241
|
-
> **communityENS**: (`args`) => `Promise`\<`string`\>
|
|
242
|
-
|
|
243
|
-
Defined in: [packages/core/src/actions/tokens.ts:53](https://github.com/AAStarCommunity/aastar-sdk/blob/f3911a6f6e88b2f77186db63ad0182c2cfe13b9d/packages/core/src/actions/tokens.ts#L53)
|
|
244
|
-
|
|
245
|
-
#### Parameters
|
|
246
|
-
|
|
247
|
-
##### args
|
|
248
|
-
|
|
249
|
-
###### token
|
|
250
|
-
|
|
251
|
-
`Address`
|
|
252
|
-
|
|
253
|
-
#### Returns
|
|
254
|
-
|
|
255
|
-
`Promise`\<`string`\>
|
|
256
|
-
|
|
257
|
-
***
|
|
258
|
-
|
|
259
|
-
### communityName()
|
|
260
|
-
|
|
261
|
-
> **communityName**: (`args`) => `Promise`\<`string`\>
|
|
262
|
-
|
|
263
|
-
Defined in: [packages/core/src/actions/tokens.ts:54](https://github.com/AAStarCommunity/aastar-sdk/blob/f3911a6f6e88b2f77186db63ad0182c2cfe13b9d/packages/core/src/actions/tokens.ts#L54)
|
|
264
|
-
|
|
265
|
-
#### Parameters
|
|
266
|
-
|
|
267
|
-
##### args
|
|
268
|
-
|
|
269
|
-
###### token
|
|
270
|
-
|
|
271
|
-
`Address`
|
|
272
|
-
|
|
273
|
-
#### Returns
|
|
274
|
-
|
|
275
|
-
`Promise`\<`string`\>
|
|
276
|
-
|
|
277
|
-
***
|
|
278
|
-
|
|
279
|
-
### communityOwner()
|
|
280
|
-
|
|
281
|
-
> **communityOwner**: (`args`) => `Promise`\<`Address`\>
|
|
282
|
-
|
|
283
|
-
Defined in: [packages/core/src/actions/tokens.ts:37](https://github.com/AAStarCommunity/aastar-sdk/blob/f3911a6f6e88b2f77186db63ad0182c2cfe13b9d/packages/core/src/actions/tokens.ts#L37)
|
|
284
|
-
|
|
285
|
-
#### Parameters
|
|
286
|
-
|
|
287
|
-
##### args
|
|
288
|
-
|
|
289
|
-
###### token
|
|
290
|
-
|
|
291
|
-
`Address`
|
|
292
|
-
|
|
293
|
-
#### Returns
|
|
294
|
-
|
|
295
|
-
`Promise`\<`Address`\>
|
|
296
|
-
|
|
297
|
-
***
|
|
298
|
-
|
|
299
|
-
### cumulativeSpent()
|
|
300
|
-
|
|
301
|
-
> **cumulativeSpent**: (`args`) => `Promise`\<`bigint`\>
|
|
302
|
-
|
|
303
|
-
Defined in: [packages/core/src/actions/tokens.ts:47](https://github.com/AAStarCommunity/aastar-sdk/blob/f3911a6f6e88b2f77186db63ad0182c2cfe13b9d/packages/core/src/actions/tokens.ts#L47)
|
|
304
|
-
|
|
305
|
-
#### Parameters
|
|
306
|
-
|
|
307
|
-
##### args
|
|
308
|
-
|
|
309
|
-
###### owner
|
|
310
|
-
|
|
311
|
-
`Address`
|
|
312
|
-
|
|
313
|
-
###### spender
|
|
314
|
-
|
|
315
|
-
`Address`
|
|
316
|
-
|
|
317
|
-
###### token
|
|
318
|
-
|
|
319
|
-
`Address`
|
|
320
|
-
|
|
321
|
-
#### Returns
|
|
322
|
-
|
|
323
|
-
`Promise`\<`bigint`\>
|
|
324
|
-
|
|
325
|
-
***
|
|
326
|
-
|
|
327
|
-
### debts()
|
|
328
|
-
|
|
329
|
-
> **debts**: (`args`) => `Promise`\<`bigint`\>
|
|
330
|
-
|
|
331
|
-
Defined in: [packages/core/src/actions/tokens.ts:33](https://github.com/AAStarCommunity/aastar-sdk/blob/f3911a6f6e88b2f77186db63ad0182c2cfe13b9d/packages/core/src/actions/tokens.ts#L33)
|
|
332
|
-
|
|
333
|
-
#### Parameters
|
|
334
|
-
|
|
335
|
-
##### args
|
|
336
|
-
|
|
337
|
-
###### token
|
|
338
|
-
|
|
339
|
-
`Address`
|
|
340
|
-
|
|
341
|
-
###### user
|
|
342
|
-
|
|
343
|
-
`Address`
|
|
344
|
-
|
|
345
|
-
#### Returns
|
|
346
|
-
|
|
347
|
-
`Promise`\<`bigint`\>
|
|
348
|
-
|
|
349
|
-
***
|
|
350
|
-
|
|
351
|
-
### decimals()
|
|
352
|
-
|
|
353
|
-
> **decimals**: (`args`) => `Promise`\<`number`\>
|
|
354
|
-
|
|
355
|
-
Defined in: [packages/core/src/actions/tokens.ts:24](https://github.com/AAStarCommunity/aastar-sdk/blob/f3911a6f6e88b2f77186db63ad0182c2cfe13b9d/packages/core/src/actions/tokens.ts#L24)
|
|
356
|
-
|
|
357
|
-
#### Parameters
|
|
358
|
-
|
|
359
|
-
##### args
|
|
360
|
-
|
|
361
|
-
###### token
|
|
362
|
-
|
|
363
|
-
`Address`
|
|
364
|
-
|
|
365
|
-
#### Returns
|
|
366
|
-
|
|
367
|
-
`Promise`\<`number`\>
|
|
368
|
-
|
|
369
|
-
***
|
|
370
|
-
|
|
371
|
-
### DEFAULT\_SPENDING\_LIMIT\_APNTS()
|
|
372
|
-
|
|
373
|
-
> **DEFAULT\_SPENDING\_LIMIT\_APNTS**: (`args`) => `Promise`\<`bigint`\>
|
|
374
|
-
|
|
375
|
-
Defined in: [packages/core/src/actions/tokens.ts:49](https://github.com/AAStarCommunity/aastar-sdk/blob/f3911a6f6e88b2f77186db63ad0182c2cfe13b9d/packages/core/src/actions/tokens.ts#L49)
|
|
376
|
-
|
|
377
|
-
#### Parameters
|
|
378
|
-
|
|
379
|
-
##### args
|
|
380
|
-
|
|
381
|
-
###### token
|
|
382
|
-
|
|
383
|
-
`Address`
|
|
384
|
-
|
|
385
|
-
#### Returns
|
|
386
|
-
|
|
387
|
-
`Promise`\<`bigint`\>
|
|
388
|
-
|
|
389
|
-
***
|
|
390
|
-
|
|
391
|
-
### DOMAIN\_SEPARATOR()
|
|
392
|
-
|
|
393
|
-
> **DOMAIN\_SEPARATOR**: (`args`) => `Promise`\<[`Hex`](https://viem.sh/docs/index.html)\>
|
|
394
|
-
|
|
395
|
-
Defined in: [packages/core/src/actions/tokens.ts:59](https://github.com/AAStarCommunity/aastar-sdk/blob/f3911a6f6e88b2f77186db63ad0182c2cfe13b9d/packages/core/src/actions/tokens.ts#L59)
|
|
396
|
-
|
|
397
|
-
#### Parameters
|
|
398
|
-
|
|
399
|
-
##### args
|
|
400
|
-
|
|
401
|
-
###### token
|
|
402
|
-
|
|
403
|
-
`Address`
|
|
404
|
-
|
|
405
|
-
#### Returns
|
|
406
|
-
|
|
407
|
-
`Promise`\<[`Hex`](https://viem.sh/docs/index.html)\>
|
|
408
|
-
|
|
409
|
-
***
|
|
410
|
-
|
|
411
|
-
### eip712Domain()
|
|
412
|
-
|
|
413
|
-
> **eip712Domain**: (`args`) => `Promise`\<`any`\>
|
|
414
|
-
|
|
415
|
-
Defined in: [packages/core/src/actions/tokens.ts:63](https://github.com/AAStarCommunity/aastar-sdk/blob/f3911a6f6e88b2f77186db63ad0182c2cfe13b9d/packages/core/src/actions/tokens.ts#L63)
|
|
416
|
-
|
|
417
|
-
#### Parameters
|
|
418
|
-
|
|
419
|
-
##### args
|
|
420
|
-
|
|
421
|
-
###### token
|
|
422
|
-
|
|
423
|
-
`Address`
|
|
424
|
-
|
|
425
|
-
#### Returns
|
|
426
|
-
|
|
427
|
-
`Promise`\<`any`\>
|
|
428
|
-
|
|
429
|
-
***
|
|
430
|
-
|
|
431
|
-
### exchangeRate()
|
|
432
|
-
|
|
433
|
-
> **exchangeRate**: (`args`) => `Promise`\<`bigint`\>
|
|
434
|
-
|
|
435
|
-
Defined in: [packages/core/src/actions/tokens.ts:32](https://github.com/AAStarCommunity/aastar-sdk/blob/f3911a6f6e88b2f77186db63ad0182c2cfe13b9d/packages/core/src/actions/tokens.ts#L32)
|
|
436
|
-
|
|
437
|
-
#### Parameters
|
|
438
|
-
|
|
439
|
-
##### args
|
|
440
|
-
|
|
441
|
-
###### token
|
|
442
|
-
|
|
443
|
-
`Address`
|
|
444
|
-
|
|
445
|
-
#### Returns
|
|
446
|
-
|
|
447
|
-
`Promise`\<`bigint`\>
|
|
448
|
-
|
|
449
|
-
***
|
|
450
|
-
|
|
451
|
-
### FACTORY()
|
|
452
|
-
|
|
453
|
-
> **FACTORY**: (`args`) => `Promise`\<`Address`\>
|
|
454
|
-
|
|
455
|
-
Defined in: [packages/core/src/actions/tokens.ts:73](https://github.com/AAStarCommunity/aastar-sdk/blob/f3911a6f6e88b2f77186db63ad0182c2cfe13b9d/packages/core/src/actions/tokens.ts#L73)
|
|
456
|
-
|
|
457
|
-
#### Parameters
|
|
458
|
-
|
|
459
|
-
##### args
|
|
460
|
-
|
|
461
|
-
###### token
|
|
462
|
-
|
|
463
|
-
`Address`
|
|
464
|
-
|
|
465
|
-
#### Returns
|
|
466
|
-
|
|
467
|
-
`Promise`\<`Address`\>
|
|
468
|
-
|
|
469
|
-
***
|
|
470
|
-
|
|
471
|
-
### getDebt()
|
|
472
|
-
|
|
473
|
-
> **getDebt**: (`args`) => `Promise`\<`bigint`\>
|
|
474
|
-
|
|
475
|
-
Defined in: [packages/core/src/actions/tokens.ts:41](https://github.com/AAStarCommunity/aastar-sdk/blob/f3911a6f6e88b2f77186db63ad0182c2cfe13b9d/packages/core/src/actions/tokens.ts#L41)
|
|
476
|
-
|
|
477
|
-
#### Parameters
|
|
478
|
-
|
|
479
|
-
##### args
|
|
480
|
-
|
|
481
|
-
###### token
|
|
482
|
-
|
|
483
|
-
`Address`
|
|
484
|
-
|
|
485
|
-
###### user
|
|
486
|
-
|
|
487
|
-
`Address`
|
|
488
|
-
|
|
489
|
-
#### Returns
|
|
490
|
-
|
|
491
|
-
`Promise`\<`bigint`\>
|
|
492
|
-
|
|
493
|
-
***
|
|
494
|
-
|
|
495
|
-
### getDefaultSpendingLimitXPNTs()
|
|
496
|
-
|
|
497
|
-
> **getDefaultSpendingLimitXPNTs**: (`args`) => `Promise`\<`bigint`\>
|
|
498
|
-
|
|
499
|
-
Defined in: [packages/core/src/actions/tokens.ts:50](https://github.com/AAStarCommunity/aastar-sdk/blob/f3911a6f6e88b2f77186db63ad0182c2cfe13b9d/packages/core/src/actions/tokens.ts#L50)
|
|
500
|
-
|
|
501
|
-
#### Parameters
|
|
502
|
-
|
|
503
|
-
##### args
|
|
504
|
-
|
|
505
|
-
###### token
|
|
506
|
-
|
|
507
|
-
`Address`
|
|
508
|
-
|
|
509
|
-
#### Returns
|
|
510
|
-
|
|
511
|
-
`Promise`\<`bigint`\>
|
|
512
|
-
|
|
513
|
-
***
|
|
514
|
-
|
|
515
|
-
### getMetadata()
|
|
516
|
-
|
|
517
|
-
> **getMetadata**: (`args`) => `Promise`\<\{ `ens`: `string`; `logo`: `string`; `name`: `string`; `owner`: `Address`; `symbol`: `string`; \}\>
|
|
518
|
-
|
|
519
|
-
Defined in: [packages/core/src/actions/tokens.ts:55](https://github.com/AAStarCommunity/aastar-sdk/blob/f3911a6f6e88b2f77186db63ad0182c2cfe13b9d/packages/core/src/actions/tokens.ts#L55)
|
|
520
|
-
|
|
521
|
-
#### Parameters
|
|
522
|
-
|
|
523
|
-
##### args
|
|
524
|
-
|
|
525
|
-
###### token
|
|
526
|
-
|
|
527
|
-
`Address`
|
|
528
|
-
|
|
529
|
-
#### Returns
|
|
530
|
-
|
|
531
|
-
`Promise`\<\{ `ens`: `string`; `logo`: `string`; `name`: `string`; `owner`: `Address`; `symbol`: `string`; \}\>
|
|
532
|
-
|
|
533
|
-
***
|
|
534
|
-
|
|
535
|
-
### isAutoApprovedSpender()
|
|
536
|
-
|
|
537
|
-
> **isAutoApprovedSpender**: (`args`) => `Promise`\<`boolean`\>
|
|
538
|
-
|
|
539
|
-
Defined in: [packages/core/src/actions/tokens.ts:69](https://github.com/AAStarCommunity/aastar-sdk/blob/f3911a6f6e88b2f77186db63ad0182c2cfe13b9d/packages/core/src/actions/tokens.ts#L69)
|
|
540
|
-
|
|
541
|
-
#### Parameters
|
|
542
|
-
|
|
543
|
-
##### args
|
|
544
|
-
|
|
545
|
-
###### spender
|
|
546
|
-
|
|
547
|
-
`Address`
|
|
548
|
-
|
|
549
|
-
###### token
|
|
550
|
-
|
|
551
|
-
`Address`
|
|
552
|
-
|
|
553
|
-
#### Returns
|
|
554
|
-
|
|
555
|
-
`Promise`\<`boolean`\>
|
|
556
|
-
|
|
557
|
-
***
|
|
558
|
-
|
|
559
|
-
### mint()
|
|
560
|
-
|
|
561
|
-
> **mint**: (`args`) => `Promise`\<[`Hash`](https://viem.sh/docs/index.html)\>
|
|
562
|
-
|
|
563
|
-
Defined in: [packages/core/src/actions/tokens.ts:17](https://github.com/AAStarCommunity/aastar-sdk/blob/f3911a6f6e88b2f77186db63ad0182c2cfe13b9d/packages/core/src/actions/tokens.ts#L17)
|
|
564
|
-
|
|
565
|
-
#### Parameters
|
|
566
|
-
|
|
567
|
-
##### args
|
|
568
|
-
|
|
569
|
-
###### account?
|
|
570
|
-
|
|
571
|
-
[`Account`](https://viem.sh/docs/index.html) \| `Address`
|
|
572
|
-
|
|
573
|
-
###### amount
|
|
574
|
-
|
|
575
|
-
`bigint`
|
|
576
|
-
|
|
577
|
-
###### to
|
|
578
|
-
|
|
579
|
-
`Address`
|
|
580
|
-
|
|
581
|
-
###### token
|
|
582
|
-
|
|
583
|
-
`Address`
|
|
584
|
-
|
|
585
|
-
#### Returns
|
|
586
|
-
|
|
587
|
-
`Promise`\<[`Hash`](https://viem.sh/docs/index.html)\>
|
|
588
|
-
|
|
589
|
-
***
|
|
590
|
-
|
|
591
|
-
### name()
|
|
592
|
-
|
|
593
|
-
> **name**: (`args`) => `Promise`\<`string`\>
|
|
594
|
-
|
|
595
|
-
Defined in: [packages/core/src/actions/tokens.ts:22](https://github.com/AAStarCommunity/aastar-sdk/blob/f3911a6f6e88b2f77186db63ad0182c2cfe13b9d/packages/core/src/actions/tokens.ts#L22)
|
|
596
|
-
|
|
597
|
-
#### Parameters
|
|
598
|
-
|
|
599
|
-
##### args
|
|
600
|
-
|
|
601
|
-
###### token
|
|
602
|
-
|
|
603
|
-
`Address`
|
|
604
|
-
|
|
605
|
-
#### Returns
|
|
606
|
-
|
|
607
|
-
`Promise`\<`string`\>
|
|
608
|
-
|
|
609
|
-
***
|
|
610
|
-
|
|
611
|
-
### needsApproval()
|
|
612
|
-
|
|
613
|
-
> **needsApproval**: (`args`) => `Promise`\<`boolean`\>
|
|
614
|
-
|
|
615
|
-
Defined in: [packages/core/src/actions/tokens.ts:62](https://github.com/AAStarCommunity/aastar-sdk/blob/f3911a6f6e88b2f77186db63ad0182c2cfe13b9d/packages/core/src/actions/tokens.ts#L62)
|
|
616
|
-
|
|
617
|
-
#### Parameters
|
|
618
|
-
|
|
619
|
-
##### args
|
|
620
|
-
|
|
621
|
-
###### amount
|
|
622
|
-
|
|
623
|
-
`bigint`
|
|
624
|
-
|
|
625
|
-
###### owner
|
|
626
|
-
|
|
627
|
-
`Address`
|
|
628
|
-
|
|
629
|
-
###### spender
|
|
630
|
-
|
|
631
|
-
`Address`
|
|
632
|
-
|
|
633
|
-
###### token
|
|
634
|
-
|
|
635
|
-
`Address`
|
|
636
|
-
|
|
637
|
-
#### Returns
|
|
638
|
-
|
|
639
|
-
`Promise`\<`boolean`\>
|
|
640
|
-
|
|
641
|
-
***
|
|
642
|
-
|
|
643
|
-
### nonces()
|
|
644
|
-
|
|
645
|
-
> **nonces**: (`args`) => `Promise`\<`bigint`\>
|
|
646
|
-
|
|
647
|
-
Defined in: [packages/core/src/actions/tokens.ts:60](https://github.com/AAStarCommunity/aastar-sdk/blob/f3911a6f6e88b2f77186db63ad0182c2cfe13b9d/packages/core/src/actions/tokens.ts#L60)
|
|
648
|
-
|
|
649
|
-
#### Parameters
|
|
650
|
-
|
|
651
|
-
##### args
|
|
652
|
-
|
|
653
|
-
###### owner
|
|
654
|
-
|
|
655
|
-
`Address`
|
|
656
|
-
|
|
657
|
-
###### token
|
|
658
|
-
|
|
659
|
-
`Address`
|
|
660
|
-
|
|
661
|
-
#### Returns
|
|
662
|
-
|
|
663
|
-
`Promise`\<`bigint`\>
|
|
664
|
-
|
|
665
|
-
***
|
|
666
|
-
|
|
667
|
-
### owner()
|
|
668
|
-
|
|
669
|
-
> **owner**: (`args`) => `Promise`\<`Address`\>
|
|
670
|
-
|
|
671
|
-
Defined in: [packages/core/src/actions/tokens.ts:27](https://github.com/AAStarCommunity/aastar-sdk/blob/f3911a6f6e88b2f77186db63ad0182c2cfe13b9d/packages/core/src/actions/tokens.ts#L27)
|
|
672
|
-
|
|
673
|
-
#### Parameters
|
|
674
|
-
|
|
675
|
-
##### args
|
|
676
|
-
|
|
677
|
-
###### token
|
|
678
|
-
|
|
679
|
-
`Address`
|
|
680
|
-
|
|
681
|
-
#### Returns
|
|
682
|
-
|
|
683
|
-
`Promise`\<`Address`\>
|
|
684
|
-
|
|
685
|
-
***
|
|
686
|
-
|
|
687
|
-
### permit()
|
|
688
|
-
|
|
689
|
-
> **permit**: (`args`) => `Promise`\<[`Hash`](https://viem.sh/docs/index.html)\>
|
|
690
|
-
|
|
691
|
-
Defined in: [packages/core/src/actions/tokens.ts:64](https://github.com/AAStarCommunity/aastar-sdk/blob/f3911a6f6e88b2f77186db63ad0182c2cfe13b9d/packages/core/src/actions/tokens.ts#L64)
|
|
692
|
-
|
|
693
|
-
#### Parameters
|
|
694
|
-
|
|
695
|
-
##### args
|
|
696
|
-
|
|
697
|
-
###### account?
|
|
698
|
-
|
|
699
|
-
[`Account`](https://viem.sh/docs/index.html) \| `Address`
|
|
700
|
-
|
|
701
|
-
###### deadline
|
|
702
|
-
|
|
703
|
-
`bigint`
|
|
704
|
-
|
|
705
|
-
###### owner
|
|
706
|
-
|
|
707
|
-
`Address`
|
|
708
|
-
|
|
709
|
-
###### r
|
|
710
|
-
|
|
711
|
-
[`Hex`](https://viem.sh/docs/index.html)
|
|
712
|
-
|
|
713
|
-
###### s
|
|
714
|
-
|
|
715
|
-
[`Hex`](https://viem.sh/docs/index.html)
|
|
716
|
-
|
|
717
|
-
###### spender
|
|
718
|
-
|
|
719
|
-
`Address`
|
|
720
|
-
|
|
721
|
-
###### token
|
|
722
|
-
|
|
723
|
-
`Address`
|
|
724
|
-
|
|
725
|
-
###### v
|
|
726
|
-
|
|
727
|
-
`number`
|
|
728
|
-
|
|
729
|
-
###### value
|
|
730
|
-
|
|
731
|
-
`bigint`
|
|
732
|
-
|
|
733
|
-
#### Returns
|
|
734
|
-
|
|
735
|
-
`Promise`\<[`Hash`](https://viem.sh/docs/index.html)\>
|
|
736
|
-
|
|
737
|
-
***
|
|
738
|
-
|
|
739
|
-
### recordDebt()
|
|
740
|
-
|
|
741
|
-
> **recordDebt**: (`args`) => `Promise`\<[`Hash`](https://viem.sh/docs/index.html)\>
|
|
742
|
-
|
|
743
|
-
Defined in: [packages/core/src/actions/tokens.ts:34](https://github.com/AAStarCommunity/aastar-sdk/blob/f3911a6f6e88b2f77186db63ad0182c2cfe13b9d/packages/core/src/actions/tokens.ts#L34)
|
|
744
|
-
|
|
745
|
-
#### Parameters
|
|
746
|
-
|
|
747
|
-
##### args
|
|
748
|
-
|
|
749
|
-
###### account?
|
|
750
|
-
|
|
751
|
-
[`Account`](https://viem.sh/docs/index.html) \| `Address`
|
|
752
|
-
|
|
753
|
-
###### amountXPNTs
|
|
754
|
-
|
|
755
|
-
`bigint`
|
|
756
|
-
|
|
757
|
-
###### token
|
|
758
|
-
|
|
759
|
-
`Address`
|
|
760
|
-
|
|
761
|
-
###### user
|
|
762
|
-
|
|
763
|
-
`Address`
|
|
764
|
-
|
|
765
|
-
#### Returns
|
|
766
|
-
|
|
767
|
-
`Promise`\<[`Hash`](https://viem.sh/docs/index.html)\>
|
|
768
|
-
|
|
769
|
-
***
|
|
770
|
-
|
|
771
|
-
### removeAutoApprovedSpender()
|
|
772
|
-
|
|
773
|
-
> **removeAutoApprovedSpender**: (`args`) => `Promise`\<[`Hash`](https://viem.sh/docs/index.html)\>
|
|
774
|
-
|
|
775
|
-
Defined in: [packages/core/src/actions/tokens.ts:68](https://github.com/AAStarCommunity/aastar-sdk/blob/f3911a6f6e88b2f77186db63ad0182c2cfe13b9d/packages/core/src/actions/tokens.ts#L68)
|
|
776
|
-
|
|
777
|
-
#### Parameters
|
|
778
|
-
|
|
779
|
-
##### args
|
|
780
|
-
|
|
781
|
-
###### account?
|
|
782
|
-
|
|
783
|
-
[`Account`](https://viem.sh/docs/index.html) \| `Address`
|
|
784
|
-
|
|
785
|
-
###### spender
|
|
786
|
-
|
|
787
|
-
`Address`
|
|
788
|
-
|
|
789
|
-
###### token
|
|
790
|
-
|
|
791
|
-
`Address`
|
|
792
|
-
|
|
793
|
-
#### Returns
|
|
794
|
-
|
|
795
|
-
`Promise`\<[`Hash`](https://viem.sh/docs/index.html)\>
|
|
796
|
-
|
|
797
|
-
***
|
|
798
|
-
|
|
799
|
-
### renounceOwnership()
|
|
800
|
-
|
|
801
|
-
> **renounceOwnership**: (`args`) => `Promise`\<[`Hash`](https://viem.sh/docs/index.html)\>
|
|
802
|
-
|
|
803
|
-
Defined in: [packages/core/src/actions/tokens.ts:29](https://github.com/AAStarCommunity/aastar-sdk/blob/f3911a6f6e88b2f77186db63ad0182c2cfe13b9d/packages/core/src/actions/tokens.ts#L29)
|
|
804
|
-
|
|
805
|
-
#### Parameters
|
|
806
|
-
|
|
807
|
-
##### args
|
|
808
|
-
|
|
809
|
-
###### account?
|
|
810
|
-
|
|
811
|
-
[`Account`](https://viem.sh/docs/index.html) \| `Address`
|
|
812
|
-
|
|
813
|
-
###### token
|
|
814
|
-
|
|
815
|
-
`Address`
|
|
816
|
-
|
|
817
|
-
#### Returns
|
|
818
|
-
|
|
819
|
-
`Promise`\<[`Hash`](https://viem.sh/docs/index.html)\>
|
|
820
|
-
|
|
821
|
-
***
|
|
822
|
-
|
|
823
|
-
### repayDebt()
|
|
824
|
-
|
|
825
|
-
> **repayDebt**: (`args`) => `Promise`\<[`Hash`](https://viem.sh/docs/index.html)\>
|
|
826
|
-
|
|
827
|
-
Defined in: [packages/core/src/actions/tokens.ts:42](https://github.com/AAStarCommunity/aastar-sdk/blob/f3911a6f6e88b2f77186db63ad0182c2cfe13b9d/packages/core/src/actions/tokens.ts#L42)
|
|
828
|
-
|
|
829
|
-
#### Parameters
|
|
830
|
-
|
|
831
|
-
##### args
|
|
832
|
-
|
|
833
|
-
###### account?
|
|
834
|
-
|
|
835
|
-
[`Account`](https://viem.sh/docs/index.html) \| `Address`
|
|
836
|
-
|
|
837
|
-
###### amount
|
|
838
|
-
|
|
839
|
-
`bigint`
|
|
840
|
-
|
|
841
|
-
###### token
|
|
842
|
-
|
|
843
|
-
`Address`
|
|
844
|
-
|
|
845
|
-
#### Returns
|
|
846
|
-
|
|
847
|
-
`Promise`\<[`Hash`](https://viem.sh/docs/index.html)\>
|
|
848
|
-
|
|
849
|
-
***
|
|
850
|
-
|
|
851
|
-
### setPaymasterLimit()
|
|
852
|
-
|
|
853
|
-
> **setPaymasterLimit**: (`args`) => `Promise`\<[`Hash`](https://viem.sh/docs/index.html)\>
|
|
854
|
-
|
|
855
|
-
Defined in: [packages/core/src/actions/tokens.ts:48](https://github.com/AAStarCommunity/aastar-sdk/blob/f3911a6f6e88b2f77186db63ad0182c2cfe13b9d/packages/core/src/actions/tokens.ts#L48)
|
|
856
|
-
|
|
857
|
-
#### Parameters
|
|
858
|
-
|
|
859
|
-
##### args
|
|
860
|
-
|
|
861
|
-
###### account?
|
|
862
|
-
|
|
863
|
-
[`Account`](https://viem.sh/docs/index.html) \| `Address`
|
|
864
|
-
|
|
865
|
-
###### limit
|
|
866
|
-
|
|
867
|
-
`bigint`
|
|
868
|
-
|
|
869
|
-
###### spender
|
|
870
|
-
|
|
871
|
-
`Address`
|
|
872
|
-
|
|
873
|
-
###### token
|
|
874
|
-
|
|
875
|
-
`Address`
|
|
876
|
-
|
|
877
|
-
#### Returns
|
|
878
|
-
|
|
879
|
-
`Promise`\<[`Hash`](https://viem.sh/docs/index.html)\>
|
|
880
|
-
|
|
881
|
-
***
|
|
882
|
-
|
|
883
|
-
### setSuperPaymasterAddress()
|
|
884
|
-
|
|
885
|
-
> **setSuperPaymasterAddress**: (`args`) => `Promise`\<[`Hash`](https://viem.sh/docs/index.html)\>
|
|
886
|
-
|
|
887
|
-
Defined in: [packages/core/src/actions/tokens.ts:39](https://github.com/AAStarCommunity/aastar-sdk/blob/f3911a6f6e88b2f77186db63ad0182c2cfe13b9d/packages/core/src/actions/tokens.ts#L39)
|
|
888
|
-
|
|
889
|
-
#### Parameters
|
|
890
|
-
|
|
891
|
-
##### args
|
|
892
|
-
|
|
893
|
-
###### account?
|
|
894
|
-
|
|
895
|
-
[`Account`](https://viem.sh/docs/index.html) \| `Address`
|
|
896
|
-
|
|
897
|
-
###### spAddress
|
|
898
|
-
|
|
899
|
-
`Address`
|
|
900
|
-
|
|
901
|
-
###### token
|
|
902
|
-
|
|
903
|
-
`Address`
|
|
904
|
-
|
|
905
|
-
#### Returns
|
|
906
|
-
|
|
907
|
-
`Promise`\<[`Hash`](https://viem.sh/docs/index.html)\>
|
|
908
|
-
|
|
909
|
-
***
|
|
910
|
-
|
|
911
|
-
### spendingLimits()
|
|
912
|
-
|
|
913
|
-
> **spendingLimits**: (`args`) => `Promise`\<`bigint`\>
|
|
914
|
-
|
|
915
|
-
Defined in: [packages/core/src/actions/tokens.ts:46](https://github.com/AAStarCommunity/aastar-sdk/blob/f3911a6f6e88b2f77186db63ad0182c2cfe13b9d/packages/core/src/actions/tokens.ts#L46)
|
|
916
|
-
|
|
917
|
-
#### Parameters
|
|
918
|
-
|
|
919
|
-
##### args
|
|
920
|
-
|
|
921
|
-
###### owner
|
|
922
|
-
|
|
923
|
-
`Address`
|
|
924
|
-
|
|
925
|
-
###### spender
|
|
926
|
-
|
|
927
|
-
`Address`
|
|
928
|
-
|
|
929
|
-
###### token
|
|
930
|
-
|
|
931
|
-
`Address`
|
|
932
|
-
|
|
933
|
-
#### Returns
|
|
934
|
-
|
|
935
|
-
`Promise`\<`bigint`\>
|
|
936
|
-
|
|
937
|
-
***
|
|
938
|
-
|
|
939
|
-
### SUPERPAYMASTER\_ADDRESS()
|
|
940
|
-
|
|
941
|
-
> **SUPERPAYMASTER\_ADDRESS**: (`args`) => `Promise`\<`Address`\>
|
|
942
|
-
|
|
943
|
-
Defined in: [packages/core/src/actions/tokens.ts:72](https://github.com/AAStarCommunity/aastar-sdk/blob/f3911a6f6e88b2f77186db63ad0182c2cfe13b9d/packages/core/src/actions/tokens.ts#L72)
|
|
944
|
-
|
|
945
|
-
#### Parameters
|
|
946
|
-
|
|
947
|
-
##### args
|
|
948
|
-
|
|
949
|
-
###### token
|
|
950
|
-
|
|
951
|
-
`Address`
|
|
952
|
-
|
|
953
|
-
#### Returns
|
|
954
|
-
|
|
955
|
-
`Promise`\<`Address`\>
|
|
956
|
-
|
|
957
|
-
***
|
|
958
|
-
|
|
959
|
-
### symbol()
|
|
960
|
-
|
|
961
|
-
> **symbol**: (`args`) => `Promise`\<`string`\>
|
|
962
|
-
|
|
963
|
-
Defined in: [packages/core/src/actions/tokens.ts:23](https://github.com/AAStarCommunity/aastar-sdk/blob/f3911a6f6e88b2f77186db63ad0182c2cfe13b9d/packages/core/src/actions/tokens.ts#L23)
|
|
964
|
-
|
|
965
|
-
#### Parameters
|
|
966
|
-
|
|
967
|
-
##### args
|
|
968
|
-
|
|
969
|
-
###### token
|
|
970
|
-
|
|
971
|
-
`Address`
|
|
972
|
-
|
|
973
|
-
#### Returns
|
|
974
|
-
|
|
975
|
-
`Promise`\<`string`\>
|
|
976
|
-
|
|
977
|
-
***
|
|
978
|
-
|
|
979
|
-
### totalSupply()
|
|
980
|
-
|
|
981
|
-
> **totalSupply**: (`args`) => `Promise`\<`bigint`\>
|
|
982
|
-
|
|
983
|
-
Defined in: [packages/core/src/actions/tokens.ts:9](https://github.com/AAStarCommunity/aastar-sdk/blob/f3911a6f6e88b2f77186db63ad0182c2cfe13b9d/packages/core/src/actions/tokens.ts#L9)
|
|
984
|
-
|
|
985
|
-
#### Parameters
|
|
986
|
-
|
|
987
|
-
##### args
|
|
988
|
-
|
|
989
|
-
###### token
|
|
990
|
-
|
|
991
|
-
`Address`
|
|
992
|
-
|
|
993
|
-
#### Returns
|
|
994
|
-
|
|
995
|
-
`Promise`\<`bigint`\>
|
|
996
|
-
|
|
997
|
-
***
|
|
998
|
-
|
|
999
|
-
### transfer()
|
|
1000
|
-
|
|
1001
|
-
> **transfer**: (`args`) => `Promise`\<[`Hash`](https://viem.sh/docs/index.html)\>
|
|
1002
|
-
|
|
1003
|
-
Defined in: [packages/core/src/actions/tokens.ts:11](https://github.com/AAStarCommunity/aastar-sdk/blob/f3911a6f6e88b2f77186db63ad0182c2cfe13b9d/packages/core/src/actions/tokens.ts#L11)
|
|
1004
|
-
|
|
1005
|
-
#### Parameters
|
|
1006
|
-
|
|
1007
|
-
##### args
|
|
1008
|
-
|
|
1009
|
-
###### account?
|
|
1010
|
-
|
|
1011
|
-
[`Account`](https://viem.sh/docs/index.html) \| `Address`
|
|
1012
|
-
|
|
1013
|
-
###### amount
|
|
1014
|
-
|
|
1015
|
-
`bigint`
|
|
1016
|
-
|
|
1017
|
-
###### to
|
|
1018
|
-
|
|
1019
|
-
`Address`
|
|
1020
|
-
|
|
1021
|
-
###### token
|
|
1022
|
-
|
|
1023
|
-
`Address`
|
|
1024
|
-
|
|
1025
|
-
#### Returns
|
|
1026
|
-
|
|
1027
|
-
`Promise`\<[`Hash`](https://viem.sh/docs/index.html)\>
|
|
1028
|
-
|
|
1029
|
-
***
|
|
1030
|
-
|
|
1031
|
-
### transferAndCall()
|
|
1032
|
-
|
|
1033
|
-
> **transferAndCall**: (`args`) => `Promise`\<[`Hash`](https://viem.sh/docs/index.html)\>
|
|
1034
|
-
|
|
1035
|
-
Defined in: [packages/core/src/actions/tokens.ts:43](https://github.com/AAStarCommunity/aastar-sdk/blob/f3911a6f6e88b2f77186db63ad0182c2cfe13b9d/packages/core/src/actions/tokens.ts#L43)
|
|
1036
|
-
|
|
1037
|
-
#### Parameters
|
|
1038
|
-
|
|
1039
|
-
##### args
|
|
1040
|
-
|
|
1041
|
-
###### account?
|
|
1042
|
-
|
|
1043
|
-
[`Account`](https://viem.sh/docs/index.html) \| `Address`
|
|
1044
|
-
|
|
1045
|
-
###### amount
|
|
1046
|
-
|
|
1047
|
-
`bigint`
|
|
1048
|
-
|
|
1049
|
-
###### data?
|
|
1050
|
-
|
|
1051
|
-
[`Hex`](https://viem.sh/docs/index.html)
|
|
1052
|
-
|
|
1053
|
-
###### to
|
|
1054
|
-
|
|
1055
|
-
`Address`
|
|
1056
|
-
|
|
1057
|
-
###### token
|
|
1058
|
-
|
|
1059
|
-
`Address`
|
|
1060
|
-
|
|
1061
|
-
#### Returns
|
|
1062
|
-
|
|
1063
|
-
`Promise`\<[`Hash`](https://viem.sh/docs/index.html)\>
|
|
1064
|
-
|
|
1065
|
-
***
|
|
1066
|
-
|
|
1067
|
-
### transferCommunityOwnership()
|
|
1068
|
-
|
|
1069
|
-
> **transferCommunityOwnership**: (`args`) => `Promise`\<[`Hash`](https://viem.sh/docs/index.html)\>
|
|
1070
|
-
|
|
1071
|
-
Defined in: [packages/core/src/actions/tokens.ts:38](https://github.com/AAStarCommunity/aastar-sdk/blob/f3911a6f6e88b2f77186db63ad0182c2cfe13b9d/packages/core/src/actions/tokens.ts#L38)
|
|
1072
|
-
|
|
1073
|
-
#### Parameters
|
|
1074
|
-
|
|
1075
|
-
##### args
|
|
1076
|
-
|
|
1077
|
-
###### account?
|
|
1078
|
-
|
|
1079
|
-
[`Account`](https://viem.sh/docs/index.html) \| `Address`
|
|
1080
|
-
|
|
1081
|
-
###### newOwner
|
|
1082
|
-
|
|
1083
|
-
`Address`
|
|
1084
|
-
|
|
1085
|
-
###### token
|
|
1086
|
-
|
|
1087
|
-
`Address`
|
|
1088
|
-
|
|
1089
|
-
#### Returns
|
|
1090
|
-
|
|
1091
|
-
`Promise`\<[`Hash`](https://viem.sh/docs/index.html)\>
|
|
1092
|
-
|
|
1093
|
-
***
|
|
1094
|
-
|
|
1095
|
-
### transferFrom()
|
|
1096
|
-
|
|
1097
|
-
> **transferFrom**: (`args`) => `Promise`\<[`Hash`](https://viem.sh/docs/index.html)\>
|
|
1098
|
-
|
|
1099
|
-
Defined in: [packages/core/src/actions/tokens.ts:12](https://github.com/AAStarCommunity/aastar-sdk/blob/f3911a6f6e88b2f77186db63ad0182c2cfe13b9d/packages/core/src/actions/tokens.ts#L12)
|
|
1100
|
-
|
|
1101
|
-
#### Parameters
|
|
1102
|
-
|
|
1103
|
-
##### args
|
|
1104
|
-
|
|
1105
|
-
###### account?
|
|
1106
|
-
|
|
1107
|
-
[`Account`](https://viem.sh/docs/index.html) \| `Address`
|
|
1108
|
-
|
|
1109
|
-
###### amount
|
|
1110
|
-
|
|
1111
|
-
`bigint`
|
|
1112
|
-
|
|
1113
|
-
###### from
|
|
1114
|
-
|
|
1115
|
-
`Address`
|
|
1116
|
-
|
|
1117
|
-
###### to
|
|
1118
|
-
|
|
1119
|
-
`Address`
|
|
1120
|
-
|
|
1121
|
-
###### token
|
|
1122
|
-
|
|
1123
|
-
`Address`
|
|
1124
|
-
|
|
1125
|
-
#### Returns
|
|
1126
|
-
|
|
1127
|
-
`Promise`\<[`Hash`](https://viem.sh/docs/index.html)\>
|
|
1128
|
-
|
|
1129
|
-
***
|
|
1130
|
-
|
|
1131
|
-
### transferOwnership()
|
|
1132
|
-
|
|
1133
|
-
> **transferOwnership**: (`args`) => `Promise`\<[`Hash`](https://viem.sh/docs/index.html)\>
|
|
1134
|
-
|
|
1135
|
-
Defined in: [packages/core/src/actions/tokens.ts:28](https://github.com/AAStarCommunity/aastar-sdk/blob/f3911a6f6e88b2f77186db63ad0182c2cfe13b9d/packages/core/src/actions/tokens.ts#L28)
|
|
1136
|
-
|
|
1137
|
-
#### Parameters
|
|
1138
|
-
|
|
1139
|
-
##### args
|
|
1140
|
-
|
|
1141
|
-
###### account?
|
|
1142
|
-
|
|
1143
|
-
[`Account`](https://viem.sh/docs/index.html) \| `Address`
|
|
1144
|
-
|
|
1145
|
-
###### newOwner
|
|
1146
|
-
|
|
1147
|
-
`Address`
|
|
1148
|
-
|
|
1149
|
-
###### token
|
|
1150
|
-
|
|
1151
|
-
`Address`
|
|
1152
|
-
|
|
1153
|
-
#### Returns
|
|
1154
|
-
|
|
1155
|
-
`Promise`\<[`Hash`](https://viem.sh/docs/index.html)\>
|
|
1156
|
-
|
|
1157
|
-
***
|
|
1158
|
-
|
|
1159
|
-
### updateExchangeRate()
|
|
1160
|
-
|
|
1161
|
-
> **updateExchangeRate**: (`args`) => `Promise`\<[`Hash`](https://viem.sh/docs/index.html)\>
|
|
1162
|
-
|
|
1163
|
-
Defined in: [packages/core/src/actions/tokens.ts:40](https://github.com/AAStarCommunity/aastar-sdk/blob/f3911a6f6e88b2f77186db63ad0182c2cfe13b9d/packages/core/src/actions/tokens.ts#L40)
|
|
1164
|
-
|
|
1165
|
-
#### Parameters
|
|
1166
|
-
|
|
1167
|
-
##### args
|
|
1168
|
-
|
|
1169
|
-
###### account?
|
|
1170
|
-
|
|
1171
|
-
[`Account`](https://viem.sh/docs/index.html) \| `Address`
|
|
1172
|
-
|
|
1173
|
-
###### newRate
|
|
1174
|
-
|
|
1175
|
-
`bigint`
|
|
1176
|
-
|
|
1177
|
-
###### token
|
|
1178
|
-
|
|
1179
|
-
`Address`
|
|
1180
|
-
|
|
1181
|
-
#### Returns
|
|
1182
|
-
|
|
1183
|
-
`Promise`\<[`Hash`](https://viem.sh/docs/index.html)\>
|
|
1184
|
-
|
|
1185
|
-
***
|
|
1186
|
-
|
|
1187
|
-
### usedOpHashes()
|
|
1188
|
-
|
|
1189
|
-
> **usedOpHashes**: (`args`) => `Promise`\<`boolean`\>
|
|
1190
|
-
|
|
1191
|
-
Defined in: [packages/core/src/actions/tokens.ts:36](https://github.com/AAStarCommunity/aastar-sdk/blob/f3911a6f6e88b2f77186db63ad0182c2cfe13b9d/packages/core/src/actions/tokens.ts#L36)
|
|
1192
|
-
|
|
1193
|
-
#### Parameters
|
|
1194
|
-
|
|
1195
|
-
##### args
|
|
1196
|
-
|
|
1197
|
-
###### opHash
|
|
1198
|
-
|
|
1199
|
-
[`Hex`](https://viem.sh/docs/index.html)
|
|
1200
|
-
|
|
1201
|
-
###### token
|
|
1202
|
-
|
|
1203
|
-
`Address`
|
|
1204
|
-
|
|
1205
|
-
#### Returns
|
|
1206
|
-
|
|
1207
|
-
`Promise`\<`boolean`\>
|
|
1208
|
-
|
|
1209
|
-
***
|
|
1210
|
-
|
|
1211
|
-
### version()
|
|
1212
|
-
|
|
1213
|
-
> **version**: (`args`) => `Promise`\<`string`\>
|
|
1214
|
-
|
|
1215
|
-
Defined in: [packages/core/src/actions/tokens.ts:56](https://github.com/AAStarCommunity/aastar-sdk/blob/f3911a6f6e88b2f77186db63ad0182c2cfe13b9d/packages/core/src/actions/tokens.ts#L56)
|
|
1216
|
-
|
|
1217
|
-
#### Parameters
|
|
1218
|
-
|
|
1219
|
-
##### args
|
|
1220
|
-
|
|
1221
|
-
###### token
|
|
1222
|
-
|
|
1223
|
-
`Address`
|
|
1224
|
-
|
|
1225
|
-
#### Returns
|
|
1226
|
-
|
|
1227
|
-
`Promise`\<`string`\>
|