@aastar/sdk 0.22.0 → 0.24.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (108) hide show
  1. package/dist/UserClient-KYDCMAIU.js +6 -0
  2. package/dist/{UserClient-Y65JLJ23.js.map → UserClient-KYDCMAIU.js.map} +1 -1
  3. package/dist/UserClient-S6LS3CB6.cjs +15 -0
  4. package/dist/{UserClient-AJOGJXOC.cjs.map → UserClient-S6LS3CB6.cjs.map} +1 -1
  5. package/dist/account.cjs +7 -7
  6. package/dist/account.js +2 -2
  7. package/dist/admin.cjs +3 -3
  8. package/dist/admin.js +2 -2
  9. package/dist/airaccount.cjs +117 -97
  10. package/dist/airaccount.d.cts +2 -1
  11. package/dist/airaccount.d.ts +2 -1
  12. package/dist/airaccount.js +2 -2
  13. package/dist/channel.cjs +6 -6
  14. package/dist/channel.js +2 -2
  15. package/dist/{chunk-RF3MSLRW.cjs → chunk-5PH5CSM7.cjs} +16 -16
  16. package/dist/{chunk-RF3MSLRW.cjs.map → chunk-5PH5CSM7.cjs.map} +1 -1
  17. package/dist/{chunk-LKSQASFZ.js → chunk-654GQ7G7.js} +3 -3
  18. package/dist/{chunk-LKSQASFZ.js.map → chunk-654GQ7G7.js.map} +1 -1
  19. package/dist/{chunk-3OIVYXUG.cjs → chunk-72JZKARR.cjs} +6 -6
  20. package/dist/{chunk-3OIVYXUG.cjs.map → chunk-72JZKARR.cjs.map} +1 -1
  21. package/dist/{chunk-JCK7VAZF.js → chunk-7RVONA2R.js} +8 -8
  22. package/dist/{chunk-JCK7VAZF.js.map → chunk-7RVONA2R.js.map} +1 -1
  23. package/dist/{chunk-MG72SGVS.cjs → chunk-A4ICWCHR.cjs} +5 -5
  24. package/dist/{chunk-MG72SGVS.cjs.map → chunk-A4ICWCHR.cjs.map} +1 -1
  25. package/dist/{chunk-6ISQM3SF.cjs → chunk-BOVDJSMK.cjs} +26 -26
  26. package/dist/{chunk-6ISQM3SF.cjs.map → chunk-BOVDJSMK.cjs.map} +1 -1
  27. package/dist/{chunk-2TS6T2WY.js → chunk-BYVG7MO7.js} +35 -4
  28. package/dist/chunk-BYVG7MO7.js.map +1 -0
  29. package/dist/{chunk-7RNOKMAJ.cjs → chunk-D667CUUS.cjs} +9 -9
  30. package/dist/{chunk-7RNOKMAJ.cjs.map → chunk-D667CUUS.cjs.map} +1 -1
  31. package/dist/{chunk-XZDMKHKG.js → chunk-DAMWXGKD.js} +3 -3
  32. package/dist/{chunk-XZDMKHKG.js.map → chunk-DAMWXGKD.js.map} +1 -1
  33. package/dist/{chunk-BLA57KBS.cjs → chunk-GDH4DSVM.cjs} +12 -12
  34. package/dist/{chunk-BLA57KBS.cjs.map → chunk-GDH4DSVM.cjs.map} +1 -1
  35. package/dist/{chunk-FZLBMUPN.cjs → chunk-HNJBQR5U.cjs} +5 -5
  36. package/dist/{chunk-FZLBMUPN.cjs.map → chunk-HNJBQR5U.cjs.map} +1 -1
  37. package/dist/{chunk-VUNNHEND.js → chunk-JMW5AHLC.js} +9 -9
  38. package/dist/{chunk-VUNNHEND.js.map → chunk-JMW5AHLC.js.map} +1 -1
  39. package/dist/{chunk-SNVHOCU6.js → chunk-LDARLWS3.js} +3 -3
  40. package/dist/{chunk-SNVHOCU6.js.map → chunk-LDARLWS3.js.map} +1 -1
  41. package/dist/{chunk-TS5CXRNI.cjs → chunk-MOJJ7QF6.cjs} +40 -3
  42. package/dist/{chunk-TS5CXRNI.cjs.map → chunk-MOJJ7QF6.cjs.map} +1 -1
  43. package/dist/{chunk-BBZAD5G2.cjs → chunk-NVYVTCHJ.cjs} +11 -11
  44. package/dist/{chunk-BBZAD5G2.cjs.map → chunk-NVYVTCHJ.cjs.map} +1 -1
  45. package/dist/{chunk-MQMTICTP.js → chunk-PNBK2CLK.js} +3 -3
  46. package/dist/{chunk-MQMTICTP.js.map → chunk-PNBK2CLK.js.map} +1 -1
  47. package/dist/{chunk-T2GF4S3E.js → chunk-PXQDAFXD.js} +6 -6
  48. package/dist/{chunk-T2GF4S3E.js.map → chunk-PXQDAFXD.js.map} +1 -1
  49. package/dist/{chunk-XTF6MNIK.js → chunk-RZ2M2RVP.js} +3 -3
  50. package/dist/{chunk-XTF6MNIK.js.map → chunk-RZ2M2RVP.js.map} +1 -1
  51. package/dist/{chunk-7HO4IUHZ.cjs → chunk-VHY6R2PI.cjs} +32 -32
  52. package/dist/{chunk-7HO4IUHZ.cjs.map → chunk-VHY6R2PI.cjs.map} +1 -1
  53. package/dist/{chunk-R3N7L7RE.js → chunk-WC25H5VG.js} +4 -4
  54. package/dist/{chunk-R3N7L7RE.js.map → chunk-WC25H5VG.js.map} +1 -1
  55. package/dist/{chunk-UUT246S2.js → chunk-WVJ4LQVB.js} +3 -3
  56. package/dist/{chunk-UUT246S2.js.map → chunk-WVJ4LQVB.js.map} +1 -1
  57. package/dist/{chunk-DOVGH7HB.cjs → chunk-WVOJV4Q5.cjs} +4 -4
  58. package/dist/{chunk-DOVGH7HB.cjs.map → chunk-WVOJV4Q5.cjs.map} +1 -1
  59. package/dist/{chunk-OVNOSAL3.cjs → chunk-Y5U7URNZ.cjs} +260 -6
  60. package/dist/chunk-Y5U7URNZ.cjs.map +1 -0
  61. package/dist/{chunk-6OWZOTE7.js → chunk-YUFQIYLR.js} +258 -9
  62. package/dist/chunk-YUFQIYLR.js.map +1 -0
  63. package/dist/core.cjs +226 -202
  64. package/dist/core.d.cts +100 -513
  65. package/dist/core.d.ts +100 -513
  66. package/dist/core.js +1 -1
  67. package/dist/dapp.cjs +5 -5
  68. package/dist/dapp.js +2 -2
  69. package/dist/enduser.cjs +6 -6
  70. package/dist/enduser.js +3 -3
  71. package/dist/identity.cjs +5 -5
  72. package/dist/identity.js +2 -2
  73. package/dist/index.cjs +327 -303
  74. package/dist/index.d.cts +4 -2
  75. package/dist/index.d.ts +4 -2
  76. package/dist/index.js +15 -15
  77. package/dist/initConfig-D8jgrcDb.d.cts +518 -0
  78. package/dist/initConfig-D8jgrcDb.d.ts +518 -0
  79. package/dist/kms.cjs +117 -97
  80. package/dist/kms.d.cts +223 -3
  81. package/dist/kms.d.ts +223 -3
  82. package/dist/kms.js +2 -2
  83. package/dist/operator.cjs +6 -6
  84. package/dist/operator.js +2 -2
  85. package/dist/paymaster.cjs +15 -15
  86. package/dist/paymaster.js +2 -2
  87. package/dist/src-5URXSFKD.js +5 -0
  88. package/dist/src-5URXSFKD.js.map +1 -0
  89. package/dist/{src-WGYHZSLY.cjs → src-72GWEAPA.cjs} +17 -17
  90. package/dist/src-72GWEAPA.cjs.map +1 -0
  91. package/dist/{src-UQ4RDCJG.cjs → src-N72HAQXS.cjs} +228 -204
  92. package/dist/src-N72HAQXS.cjs.map +1 -0
  93. package/dist/{src-MDGW57S5.js → src-UNS5B7FX.js} +4 -4
  94. package/dist/{src-UQ4RDCJG.cjs.map → src-UNS5B7FX.js.map} +1 -1
  95. package/dist/tokens.cjs +3 -3
  96. package/dist/tokens.js +2 -2
  97. package/dist/x402.cjs +25 -25
  98. package/dist/x402.js +2 -2
  99. package/package.json +1 -1
  100. package/dist/UserClient-AJOGJXOC.cjs +0 -15
  101. package/dist/UserClient-Y65JLJ23.js +0 -6
  102. package/dist/chunk-2TS6T2WY.js.map +0 -1
  103. package/dist/chunk-6OWZOTE7.js.map +0 -1
  104. package/dist/chunk-OVNOSAL3.cjs.map +0 -1
  105. package/dist/src-MDGW57S5.js.map +0 -1
  106. package/dist/src-SCR3OCME.js +0 -5
  107. package/dist/src-SCR3OCME.js.map +0 -1
  108. package/dist/src-WGYHZSLY.cjs.map +0 -1
package/dist/core.d.ts CHANGED
@@ -2,6 +2,8 @@ import { Address, Chain, Hex, Account, Hash, BlockNumber, BlockTag, PublicClient
2
2
  import { P as PublicClient } from './doc-types-471vSmPO.js';
3
3
  export { W as WalletClient } from './doc-types-471vSmPO.js';
4
4
  export { a as BaseClient, B as BusinessResult, C as ClientConfig, T as TransactionOptions } from './BaseClient-BjbYP0cf.js';
5
+ import { I as InitConfig } from './initConfig-D8jgrcDb.js';
6
+ export { A as AirAccountActions, B as BuildInitConfigParams, D as DryRunValidationResult, G as GuardianSpec, O as OperatorConfig, d as PackedUserOperation, P as PendingModuleInstall, R as ResolvedAPNTsToken, a as SlashRecord, S as SuperPaymasterActions, T as TokenConfig, b as airAccountActions, c as buildInitConfig, s as superPaymasterActions } from './initConfig-D8jgrcDb.js';
5
7
  export { a as ChannelActions, C as ChannelState, c as channelActions } from './channel-CkRRbzT8.js';
6
8
  import * as node_modules_viem__types from 'node_modules/viem/_types';
7
9
 
@@ -3959,356 +3961,6 @@ type SBTActions = {
3959
3961
  };
3960
3962
  declare const sbtActions: (address: Address) => (client: PublicClient$1 | WalletClient) => SBTActions;
3961
3963
 
3962
- /**
3963
- * ERC-4337 v0.7 PackedUserOperation tuple, matching the `struct PackedUserOperation`
3964
- * input of `dryRunValidation` / `validatePaymasterUserOp` in the SuperPaymaster ABI.
3965
- * Field order is load-bearing: viem encodes the tuple positionally from this shape.
3966
- */
3967
- type PackedUserOperation = {
3968
- sender: Address;
3969
- nonce: bigint;
3970
- initCode: Hex;
3971
- callData: Hex;
3972
- accountGasLimits: Hex;
3973
- preVerificationGas: bigint;
3974
- gasFees: Hex;
3975
- paymasterAndData: Hex;
3976
- signature: Hex;
3977
- };
3978
- /**
3979
- * Result of an off-chain `dryRunValidation` pre-flight check.
3980
- * `ok` mirrors whether the paymaster would accept the UserOp; `reasonCode` is a
3981
- * bytes32 machine-readable rejection code (zero when `ok` is true).
3982
- */
3983
- type DryRunValidationResult = {
3984
- ok: boolean;
3985
- reasonCode: Hex;
3986
- };
3987
- type SlashRecord = {
3988
- timestamp: bigint;
3989
- amount: bigint;
3990
- reputationLoss: bigint;
3991
- reason: string;
3992
- level: number;
3993
- };
3994
- type OperatorConfig = {
3995
- aPNTsBalance: bigint;
3996
- isConfigured: boolean;
3997
- isPaused: boolean;
3998
- xPNTsToken: Address;
3999
- reputation: number;
4000
- minTxInterval: number;
4001
- treasury: Address;
4002
- totalSpent: bigint;
4003
- totalTxSponsored: bigint;
4004
- };
4005
- /**
4006
- * Runtime-resolved aPNTs token state read live from the SuperPaymaster contract.
4007
- *
4008
- * The contract exposes the currently active token via `APNTS_TOKEN()` and an
4009
- * upcoming (timelocked) token via `pendingAPNTsToken()` / `pendingAPNTsTokenEta()`.
4010
- * Consumers should prefer `active` and may surface `pending` to warn about an
4011
- * upcoming migration.
4012
- */
4013
- type ResolvedAPNTsToken = {
4014
- /** Currently active aPNTs token address, read from `APNTS_TOKEN()`. */
4015
- active: Address;
4016
- /** aPNTs token queued for migration; `zeroAddress` when none is queued. */
4017
- pending: Address;
4018
- /** Unix-second ETA when the pending change becomes executable; `0n` when none is queued. */
4019
- pendingEta: bigint;
4020
- /** True only when `active` came from the explicit `fallback` option after a failed chain read. */
4021
- fallbackUsed: boolean;
4022
- };
4023
- type SuperPaymasterActions = {
4024
- deposit: (args: {
4025
- amount: bigint;
4026
- account?: Account | Address;
4027
- }) => Promise<Hash>;
4028
- depositETH: (args: {
4029
- value: bigint;
4030
- account?: Account | Address;
4031
- }) => Promise<Hash>;
4032
- depositFor: (args: {
4033
- targetOperator: Address;
4034
- amount: bigint;
4035
- account?: Account | Address;
4036
- }) => Promise<Hash>;
4037
- withdrawTo: (args: {
4038
- to: Address;
4039
- amount: bigint;
4040
- account?: Account | Address;
4041
- }) => Promise<Hash>;
4042
- withdraw: (args: {
4043
- amount: bigint;
4044
- account?: Account | Address;
4045
- }) => Promise<Hash>;
4046
- addStake: (args: {
4047
- unstakeDelaySec: number;
4048
- value: bigint;
4049
- account?: Account | Address;
4050
- }) => Promise<Hash>;
4051
- unlockStake: (args: {
4052
- account?: Account | Address;
4053
- }) => Promise<Hash>;
4054
- withdrawStake: (args: {
4055
- to: Address;
4056
- account?: Account | Address;
4057
- }) => Promise<Hash>;
4058
- configureOperator: (args: {
4059
- xPNTsToken: Address;
4060
- opTreasury: Address;
4061
- account?: Account | Address;
4062
- }) => Promise<Hash>;
4063
- setOperatorPaused: (args: {
4064
- operator: Address;
4065
- paused: boolean;
4066
- account?: Account | Address;
4067
- }) => Promise<Hash>;
4068
- setOperatorLimits: (args: {
4069
- minTxInterval: number;
4070
- account?: Account | Address;
4071
- }) => Promise<Hash>;
4072
- updateReputation: (args: {
4073
- operator: Address;
4074
- newScore: bigint;
4075
- account?: Account | Address;
4076
- }) => Promise<Hash>;
4077
- executeSlashWithBLS: (args: {
4078
- operator: Address;
4079
- level: number;
4080
- proof: Hex;
4081
- account?: Account | Address;
4082
- }) => Promise<Hash>;
4083
- slashOperator: (args: {
4084
- operator: Address;
4085
- level: number;
4086
- penaltyAmount: bigint;
4087
- reason: string;
4088
- account?: Account | Address;
4089
- }) => Promise<Hash>;
4090
- updateBlockedStatus: (args: {
4091
- operator: Address;
4092
- users: Address[];
4093
- statuses: boolean[];
4094
- account?: Account | Address;
4095
- }) => Promise<Hash>;
4096
- updateSBTStatus: (args: {
4097
- user: Address;
4098
- status: boolean;
4099
- account?: Account | Address;
4100
- }) => Promise<Hash>;
4101
- /** Read the unrecovered debt recorded for a user after a failed burn/recordDebt. */
4102
- pendingDebts: (args: {
4103
- token: Address;
4104
- user: Address;
4105
- }) => Promise<bigint>;
4106
- /** Operator retries recovering up to `amount` of the user's pending debt. */
4107
- retryPendingDebt: (args: {
4108
- token: Address;
4109
- user: Address;
4110
- amount: bigint;
4111
- account?: Account | Address;
4112
- }) => Promise<Hash>;
4113
- /** Operator force-clears the user's pending-debt entry without recording it. */
4114
- clearPendingDebt: (args: {
4115
- token: Address;
4116
- user: Address;
4117
- account?: Account | Address;
4118
- }) => Promise<Hash>;
4119
- setAPNTSPrice: (args: {
4120
- newPrice: bigint;
4121
- account?: Account | Address;
4122
- }) => Promise<Hash>;
4123
- updatePrice: (args: {
4124
- account?: Account | Address;
4125
- }) => Promise<Hash>;
4126
- updatePriceDVT: (args: {
4127
- price: bigint;
4128
- updatedAt: bigint;
4129
- proof: Hex;
4130
- account?: Account | Address;
4131
- }) => Promise<Hash>;
4132
- setProtocolFee: (args: {
4133
- newFeeBPS: bigint;
4134
- account?: Account | Address;
4135
- }) => Promise<Hash>;
4136
- setTreasury: (args: {
4137
- treasury: Address;
4138
- account?: Account | Address;
4139
- }) => Promise<Hash>;
4140
- setXPNTsFactory: (args: {
4141
- factory: Address;
4142
- account?: Account | Address;
4143
- }) => Promise<Hash>;
4144
- setAPNTsToken: (args: {
4145
- token: Address;
4146
- account?: Account | Address;
4147
- }) => Promise<Hash>;
4148
- /** @deprecated The deployed SuperPaymaster ABI has no direct `setBLSAggregator` — the aggregator change is timelocked via {@link queueBLSAggregator} + {@link applyBLSAggregator}. Throws {@link ErrorCode.NOT_IMPLEMENTED}. */
4149
- setBLSAggregator: (args: {
4150
- aggregator: Address;
4151
- account?: Account | Address;
4152
- }) => Promise<Hash>;
4153
- withdrawProtocolRevenue: (args: {
4154
- to: Address;
4155
- amount: bigint;
4156
- account?: Account | Address;
4157
- }) => Promise<Hash>;
4158
- executeAPNTsTokenChange: (args: {
4159
- account?: Account | Address;
4160
- }) => Promise<Hash>;
4161
- cancelAPNTsTokenChange: (args: {
4162
- account?: Account | Address;
4163
- }) => Promise<Hash>;
4164
- pendingAPNTsToken: () => Promise<Address>;
4165
- pendingAPNTsTokenEta: () => Promise<bigint>;
4166
- /**
4167
- * Resolve the live aPNTs token address from chain instead of relying on a static constant.
4168
- *
4169
- * Reads `APNTS_TOKEN()` (active), `pendingAPNTsToken()` and `pendingAPNTsTokenEta()`
4170
- * in parallel and returns them as a structured result. Prefer `active` for runtime use.
4171
- *
4172
- * If `fallback` is supplied and the chain reads fail, the static `fallback` address is
4173
- * returned with `fallbackUsed: true` (pending fields zeroed). Without a `fallback` the
4174
- * underlying error is re-thrown rather than silently masked.
4175
- */
4176
- resolveAPNTsToken: (args?: {
4177
- fallback?: Address;
4178
- }) => Promise<ResolvedAPNTsToken>;
4179
- emergencySetPrice: (args: {
4180
- newPrice: bigint;
4181
- account?: Account | Address;
4182
- }) => Promise<Hash>;
4183
- executeEmergencyPrice: (args: {
4184
- account?: Account | Address;
4185
- }) => Promise<Hash>;
4186
- cancelEmergencyPrice: (args: {
4187
- account?: Account | Address;
4188
- }) => Promise<Hash>;
4189
- emergencyPendingPrice: () => Promise<bigint>;
4190
- emergencyActivatedAt: () => Promise<bigint>;
4191
- emergencyQueuedAt: () => Promise<bigint>;
4192
- EMERGENCY_TIMELOCK: () => Promise<bigint>;
4193
- queueBLSAggregator: (args: {
4194
- aggregator: Address;
4195
- account?: Account | Address;
4196
- }) => Promise<Hash>;
4197
- applyBLSAggregator: (args: {
4198
- account?: Account | Address;
4199
- }) => Promise<Hash>;
4200
- onTransferReceived: (args: {
4201
- operator: Address;
4202
- from: Address;
4203
- value: bigint;
4204
- data: Hex;
4205
- }) => Promise<Hex>;
4206
- validatePaymasterUserOp: (args: {
4207
- userOp: any;
4208
- userOpHash: Hex;
4209
- maxCost: bigint;
4210
- }) => Promise<{
4211
- context: Hex;
4212
- validationData: bigint;
4213
- }>;
4214
- /**
4215
- * Off-chain pre-flight validation of a UserOp against this paymaster.
4216
- * Returns `{ ok, reasonCode }` so callers can detect AA34-style rejections
4217
- * before submitting the UserOp on-chain. View call; never mutates state.
4218
- */
4219
- dryRunValidation: (args: {
4220
- userOp: PackedUserOperation;
4221
- maxCost: bigint;
4222
- }) => Promise<DryRunValidationResult>;
4223
- operators: (args: {
4224
- operator: Address;
4225
- }) => Promise<OperatorConfig>;
4226
- getAvailableCredit: (args: {
4227
- user: Address;
4228
- token: Address;
4229
- }) => Promise<bigint>;
4230
- getDeposit: () => Promise<bigint>;
4231
- getLatestSlash: (args: {
4232
- operator: Address;
4233
- }) => Promise<SlashRecord>;
4234
- getSlashCount: (args: {
4235
- operator: Address;
4236
- }) => Promise<bigint>;
4237
- getSlashHistory: (args: {
4238
- operator: Address;
4239
- }) => Promise<SlashRecord[]>;
4240
- slashHistory: (args: {
4241
- operator: Address;
4242
- index: bigint;
4243
- }) => Promise<SlashRecord>;
4244
- userOpState: (args: {
4245
- user: Address;
4246
- operator: Address;
4247
- }) => Promise<{
4248
- lastTimestamp: number;
4249
- isBlocked: boolean;
4250
- }>;
4251
- cachedPrice: () => Promise<{
4252
- price: bigint;
4253
- updatedAt: bigint;
4254
- roundId: bigint;
4255
- decimals: number;
4256
- }>;
4257
- aPNTsPriceUSD: () => Promise<bigint>;
4258
- protocolFeeBPS: () => Promise<bigint>;
4259
- protocolRevenue: () => Promise<bigint>;
4260
- totalTrackedBalance: () => Promise<bigint>;
4261
- priceStalenessThreshold: () => Promise<bigint>;
4262
- sbtHolders: (args: {
4263
- user: Address;
4264
- }) => Promise<boolean>;
4265
- /** True when the Chainlink ETH/USD feed is considered stale by the contract. */
4266
- isChainlinkStale: () => Promise<boolean>;
4267
- /** Current pricing mode (uint8 enum on the contract). */
4268
- priceMode: () => Promise<number>;
4269
- /** Unix-second timestamp until which the cached price remains valid (uint48). */
4270
- priceValidUntil: () => Promise<bigint>;
4271
- /** Address of the BLS aggregator pending the timelock (`zeroAddress` if none queued). */
4272
- pendingBLSAgg: () => Promise<Address>;
4273
- /** Unix-second ETA at which the pending BLS aggregator change becomes executable (uint48). */
4274
- pendingBLSAggEta: () => Promise<bigint>;
4275
- APNTS_TOKEN: () => Promise<Address>;
4276
- REGISTRY: () => Promise<Address>;
4277
- BLS_AGGREGATOR: () => Promise<Address>;
4278
- ETH_USD_PRICE_FEED: () => Promise<Address>;
4279
- treasury: () => Promise<Address>;
4280
- xpntsFactory: () => Promise<Address>;
4281
- entryPoint: () => Promise<Address>;
4282
- /** @deprecated Removed in the v5.x contract refactor — not in the deployed SuperPaymaster ABI. Throws {@link ErrorCode.NOT_IMPLEMENTED}. */
4283
- MAX_PROTOCOL_FEE: () => Promise<bigint>;
4284
- /** @deprecated Removed from SuperPaymaster in the v5.x refactor (this bound belongs to the standalone Paymaster contract). Throws {@link ErrorCode.NOT_IMPLEMENTED}. */
4285
- MAX_ETH_USD_PRICE: () => Promise<bigint>;
4286
- /** @deprecated Removed from SuperPaymaster in the v5.x refactor (this bound belongs to the standalone Paymaster contract). Throws {@link ErrorCode.NOT_IMPLEMENTED}. */
4287
- MIN_ETH_USD_PRICE: () => Promise<bigint>;
4288
- /** @deprecated Removed in the v5.x contract refactor — not in the deployed SuperPaymaster ABI. Throws {@link ErrorCode.NOT_IMPLEMENTED}. */
4289
- PAYMASTER_DATA_OFFSET: () => Promise<bigint>;
4290
- /** @deprecated Removed in the v5.x contract refactor — not in the deployed SuperPaymaster ABI. Throws {@link ErrorCode.NOT_IMPLEMENTED}. */
4291
- PRICE_CACHE_DURATION: () => Promise<bigint>;
4292
- /** @deprecated Removed in the v5.x contract refactor — not in the deployed SuperPaymaster ABI. Throws {@link ErrorCode.NOT_IMPLEMENTED}. */
4293
- RATE_OFFSET: () => Promise<bigint>;
4294
- /** @deprecated Removed in the v5.x contract refactor — not in the deployed SuperPaymaster ABI. Throws {@link ErrorCode.NOT_IMPLEMENTED}. */
4295
- VALIDATION_BUFFER_BPS: () => Promise<bigint>;
4296
- /** @deprecated Removed in the v5.x contract refactor — not in the deployed SuperPaymaster ABI. Throws {@link ErrorCode.NOT_IMPLEMENTED}. */
4297
- BPS_DENOMINATOR: () => Promise<bigint>;
4298
- /** Duration (seconds) of the aPNTs-token-change timelock. */
4299
- APNTS_TOKEN_TIMELOCK: () => Promise<bigint>;
4300
- owner: () => Promise<Address>;
4301
- transferOwnership: (args: {
4302
- newOwner: Address;
4303
- account?: Account | Address;
4304
- }) => Promise<Hash>;
4305
- renounceOwnership: (args: {
4306
- account?: Account | Address;
4307
- }) => Promise<Hash>;
4308
- version: () => Promise<string>;
4309
- };
4310
- declare const superPaymasterActions: (address: Address) => (client: PublicClient$1 | WalletClient) => SuperPaymasterActions;
4311
-
4312
3964
  type PaymasterActions = {
4313
3965
  depositFor: (args: {
4314
3966
  user: Address;
@@ -5921,136 +5573,6 @@ type GTokenAuthorizationActions = GTokenActions & {
5921
5573
  };
5922
5574
  declare const gTokenAuthorizationActions: (client: PublicClient$1 | WalletClient) => GTokenAuthorizationActions;
5923
5575
 
5924
- type TokenConfig = {
5925
- tier1Limit: bigint;
5926
- tier2Limit: bigint;
5927
- dailyLimit: bigint;
5928
- };
5929
- type InitConfig = {
5930
- guardians: readonly [Address, Address, Address];
5931
- guardianP256X: readonly [Hex, Hex, Hex];
5932
- guardianP256Y: readonly [Hex, Hex, Hex];
5933
- dailyLimit: bigint;
5934
- approvedAlgIds: readonly number[];
5935
- minDailyLimit: bigint;
5936
- initialTokens: readonly Address[];
5937
- initialTokenConfigs: readonly TokenConfig[];
5938
- };
5939
- type PendingModuleInstall = {
5940
- module: Address;
5941
- moduleTypeId: number;
5942
- proposedAt: number;
5943
- executeAfter: number;
5944
- initDataHash: Hex;
5945
- };
5946
- type AirAccountActions = {
5947
- owner: () => Promise<Address>;
5948
- guardianCount: () => Promise<number>;
5949
- guardians: (args: {
5950
- index: bigint | number;
5951
- }) => Promise<Address>;
5952
- accountId: () => Promise<string>;
5953
- isValidSignature: (args: {
5954
- hash: Hex;
5955
- sig: Hex;
5956
- }) => Promise<Hex>;
5957
- requiredTier: (args: {
5958
- txValue: bigint;
5959
- }) => Promise<number>;
5960
- supportsModule: (args: {
5961
- moduleTypeId: bigint;
5962
- }) => Promise<boolean>;
5963
- p256KeyX: () => Promise<Hex>;
5964
- p256KeyY: () => Promise<Hex>;
5965
- parserRegistry: () => Promise<Address>;
5966
- moduleManagementNonce: () => Promise<bigint>;
5967
- moduleInstallTimelock: () => Promise<bigint>;
5968
- pendingModuleInstall: () => Promise<PendingModuleInstall>;
5969
- setP256Key: (args: {
5970
- x: Hex;
5971
- y: Hex;
5972
- account?: Account | Address;
5973
- }) => Promise<Hash>;
5974
- setTierLimits: (args: {
5975
- tier1: bigint;
5976
- tier2: bigint;
5977
- account?: Account | Address;
5978
- }) => Promise<Hash>;
5979
- setValidator: (args: {
5980
- validator: Address;
5981
- account?: Account | Address;
5982
- }) => Promise<Hash>;
5983
- setParserRegistry: (args: {
5984
- registry: Address;
5985
- account?: Account | Address;
5986
- }) => Promise<Hash>;
5987
- /**
5988
- * Execute calls via an installed executor module (ERC-7579 `executeFromExecutor`).
5989
- * NOTE: this is a state-changing tx, so it resolves to the transaction `Hash` — the
5990
- * on-chain `bytes[] returnData` is NOT recoverable from a write. If you need the
5991
- * decoded return data, `simulateContract`/`call` the same function separately.
5992
- */
5993
- executeFromExecutor: (args: {
5994
- mode: Hex;
5995
- executionCalldata: Hex;
5996
- account?: Account | Address;
5997
- }) => Promise<Hash>;
5998
- validateUserOp: (args: {
5999
- userOp: PackedUserOperation;
6000
- userOpHash: Hex;
6001
- missingAccountFunds: bigint;
6002
- account?: Account | Address;
6003
- }) => Promise<Hash>;
6004
- initializeAgentAccount: (args: {
6005
- entryPoint: Address;
6006
- owner: Address;
6007
- config: InitConfig;
6008
- guardAddr: Address;
6009
- account?: Account | Address;
6010
- }) => Promise<Hash>;
6011
- guardAddTokenConfig: (args: {
6012
- token: Address;
6013
- config: TokenConfig;
6014
- account?: Account | Address;
6015
- }) => Promise<Hash>;
6016
- guardApproveAlgorithm: (args: {
6017
- algId: number;
6018
- account?: Account | Address;
6019
- }) => Promise<Hash>;
6020
- guardDecreaseDailyLimit: (args: {
6021
- newLimit: bigint;
6022
- account?: Account | Address;
6023
- }) => Promise<Hash>;
6024
- guardDecreaseTokenDailyLimit: (args: {
6025
- token: Address;
6026
- newLimit: bigint;
6027
- account?: Account | Address;
6028
- }) => Promise<Hash>;
6029
- guardSetStrictMode: (args: {
6030
- enabled: boolean;
6031
- account?: Account | Address;
6032
- }) => Promise<Hash>;
6033
- proposeModuleInstall: (args: {
6034
- moduleTypeId: bigint;
6035
- module: Address;
6036
- initData: Hex;
6037
- account?: Account | Address;
6038
- }) => Promise<Hash>;
6039
- executeModuleInstall: (args: {
6040
- moduleInitData: Hex;
6041
- account?: Account | Address;
6042
- }) => Promise<Hash>;
6043
- cancelModuleInstall: (args: {
6044
- account?: Account | Address;
6045
- }) => Promise<Hash>;
6046
- setModuleInstallTimelock: (args: {
6047
- newTimelock: bigint;
6048
- guardianSigs: Hex;
6049
- account?: Account | Address;
6050
- }) => Promise<Hash>;
6051
- };
6052
- declare const airAccountActions: (address: Address) => (client: PublicClient$1 | WalletClient) => AirAccountActions;
6053
-
6054
5576
  type AirAccountFactoryActions = {
6055
5577
  getAddressWithChainId: (args: {
6056
5578
  owner: Address;
@@ -6271,40 +5793,39 @@ type AirAccountExtensionActions = {
6271
5793
  };
6272
5794
  declare const airAccountExtensionActions: (address: Address) => (client: PublicClient$1 | WalletClient) => AirAccountExtensionActions;
6273
5795
 
6274
- /** One guardian slot for {@link buildInitConfig}: supply EXACTLY one of `ecdsa` or `p256`. */
6275
- interface GuardianSpec {
6276
- /** An ECDSA (EOA / Safe) guardian address. Mutually exclusive with `p256`. */
6277
- ecdsa?: Address;
6278
- /** A P-256 (WebAuthn passkey) guardian public key (x, y, each bytes32). Mutually exclusive with `ecdsa`. */
6279
- p256?: {
6280
- x: Hex;
6281
- y: Hex;
6282
- };
6283
- }
6284
- /** Parameters for {@link buildInitConfig}. */
6285
- interface BuildInitConfigParams {
6286
- /** Up to 3 guardian slots (ECDSA and/or P-256, freely mixed). Empty/omitted ⇒ no guardians. */
6287
- guardians?: readonly GuardianSpec[];
6288
- /** Per-account daily spend limit (wei). Must be > 0 to enable the on-chain GUARD. */
6289
- dailyLimit: bigint;
6290
- /**
6291
- * Validator algorithm ids approved at init (e.g. 2 = ECDSA, 1 = P-256/passkey). If omitted,
6292
- * derived from the owner/guardian mix is NOT possible (owner alg is separate), so it defaults
6293
- * to `[2]` (ECDSA) plus `1` (P-256) when any P-256 guardian is present.
6294
- */
6295
- approvedAlgIds?: readonly number[];
6296
- /** Floor the daily limit can be decreased to via the guard. Defaults to 0. */
6297
- minDailyLimit?: bigint;
6298
- /** ERC-20 tokens to pre-register with the guard. Defaults to none. */
6299
- initialTokens?: readonly Address[];
6300
- /** Per-token tier configs, index-aligned with `initialTokens`. Defaults to none. */
6301
- initialTokenConfigs?: readonly TokenConfig[];
6302
- }
6303
5796
  /**
6304
- * Build a v0.20.0 `InitConfig` with mixed ECDSA + P-256 guardians.
6305
- * @throws {AAStarError} if any slot is ambiguous, the sentinel is misused, or > 3 guardians are given.
5797
+ * Validator-router gating for AAStarAirAccount signature algorithms.
5798
+ *
5799
+ * Background (root-caused on-chain, v0.20.0): an AirAccount validates a signature
5800
+ * algorithm in one of two ways:
5801
+ *
5802
+ * - INLINE — handled directly by `AAStarAirAccountBase` itself: ECDSA (0x02),
5803
+ * P256 / passkey (0x03), and COMBINED_T1 (0x06). No external validator needed.
5804
+ * - ROUTER-DELEGATED — every other algId (BLS 0x01, cumulative T2 0x04, T3 0x05,
5805
+ * weighted 0x07, session 0x08, ...) is forwarded to the account's validator
5806
+ * router. Until the router is wired, `_validateTripleSignature` / `_callBLSValidator`
5807
+ * return `1` (validation FAIL) because `validator() == address(0)`.
5808
+ *
5809
+ * The factory does NOT auto-wire the router, so an account that approved any
5810
+ * router-delegated algId is non-functional for that algId until the owner calls
5811
+ * `setValidator(router)` (onlyOwner, SET-ONCE). This module decides, from the set of
5812
+ * approved algIds, whether that wiring step is required.
5813
+ */
5814
+ /**
5815
+ * algIds handled INLINE by `AAStarAirAccountBase` — these need NO validator router.
5816
+ * 0x02 = ECDSA, 0x03 = P256 (passkey), 0x06 = COMBINED_T1.
6306
5817
  */
6307
- declare function buildInitConfig(params: BuildInitConfigParams): InitConfig;
5818
+ declare const INLINE_ALG_IDS: readonly number[];
5819
+ /**
5820
+ * True when AT LEAST ONE approved algId is router-delegated (i.e. NOT inline), meaning
5821
+ * the account cannot validate that algorithm until `setValidator(router)` is wired.
5822
+ *
5823
+ * An empty list (no algorithms approved) returns `false` — nothing to route.
5824
+ *
5825
+ * @param approvedAlgIds - the algIds approved on the account (e.g. the account record's
5826
+ * `approvedAlgIds`, or the InitConfig's `approvedAlgIds`).
5827
+ */
5828
+ declare function needsValidatorRouter(approvedAlgIds: readonly number[]): boolean;
6308
5829
 
6309
5830
  type AgentRegistryActions = {
6310
5831
  deployer: () => Promise<Address>;
@@ -6542,6 +6063,40 @@ declare const BLSHelpers: {
6542
6063
  encodeReputationProof(signature: Hex, publicKey: Hex, signerMask: bigint): Hex;
6543
6064
  };
6544
6065
 
6066
+ /**
6067
+ * A DVT signer node: its public `/signature/sign` endpoint and its on-chain-registered
6068
+ * `bytes32` nodeId (registered on the chain's `AAStarBLSAlgorithm` verifier).
6069
+ *
6070
+ * @module
6071
+ */
6072
+ interface DVTNode {
6073
+ /** Base URL of the node (POST `{url}/signature/sign` with `{ userOp, ownerAuth }`). */
6074
+ url: string;
6075
+ /** The node's `bytes32` nodeId, as registered on the validator's `AAStarBLSAlgorithm`. */
6076
+ nodeId: Hex;
6077
+ }
6078
+ /**
6079
+ * AAStar's default, always-on **testnet** DVT signer nodes, keyed by chainId.
6080
+ *
6081
+ * Sepolia (11155111): the 3 production-key nodes behind AAStar's Cloudflare named tunnel,
6082
+ * each registered on the v0.20.0 validator `AAStarBLSAlgorithm`
6083
+ * (`0xAF525A161CB17e0A1b6254ef0B8d8473bdA05174` = `CANONICAL_ADDRESSES[11155111].aaStarBLSAlgorithm`).
6084
+ * These are AAStar's **beta-test** nodes with INDEPENDENT secret keys (NOT the public `BLS_TEST`
6085
+ * fixtures). On-chain verified: a 3-node co-sign → `validate(userOpHash, proof) === 0`, with
6086
+ * fail-closed `403` on a bad `ownerAuth`. Source of truth:
6087
+ * `YetAnotherAA-Validator/deploy/sdk-dvt-config.testnet.json`.
6088
+ *
6089
+ * Conventions for these nodes: `userOpHash = EntryPoint.getUserOpHash(PackedUserOp)`;
6090
+ * `ownerAuth = owner EIP-191 ECDSA over userOpHash`; proof wire = EIP-2537 (matches {@link encodeDVTVerifierProof}).
6091
+ * Mandatory-BLS account: guard-enabled + `approvedAlgIds = [0x01]`.
6092
+ */
6093
+ declare const DEFAULT_DVT_NODES: Readonly<Record<number, readonly DVTNode[]>>;
6094
+ /**
6095
+ * The default always-on DVT signer nodes for a chain, or an empty array if none are published
6096
+ * for that chainId. Sepolia (11155111) returns AAStar's 3 beta-test nodes.
6097
+ */
6098
+ declare function getDefaultDvtNodes(chainId: number): readonly DVTNode[];
6099
+
6545
6100
  /**
6546
6101
  * DVT combined-signature wire encoders — airaccount-contract #110 authoritative,
6547
6102
  * LIVE-verified format (deployed `AAStarBLSAlgorithm` beta.2 `0xA9EE4f8A…` on Sepolia).
@@ -6585,6 +6140,12 @@ declare const DVT_TIER_T2: 4;
6585
6140
  declare const DVT_TIER_T3: 5;
6586
6141
  /** A DVT account-signature tier byte. */
6587
6142
  type DVTTier = typeof DVT_TIER_T2 | typeof DVT_TIER_T3;
6143
+ /**
6144
+ * Account-signature algId byte for the `ALG_BLS` "legacy triple": a DVT BLS aggregate co-sign
6145
+ * PLUS a trailing owner-ECDSA factor (airaccount-contract `_validateTripleSignature`). Note this
6146
+ * is NOT a BLS-only path — the contract requires the owner signature too.
6147
+ */
6148
+ declare const ALG_BLS: 1;
6588
6149
  /**
6589
6150
  * Produce the canonical 256-byte EIP-2537 G2 layout for a BLS aggregate signature,
6590
6151
  * byte-identical to the DVT node's `encodeG2Point` (YetAnotherAA-Validator
@@ -6639,6 +6200,32 @@ interface DVTAccountSignatureParams {
6639
6200
  * `nodeIdsLength` is a 32-byte big-endian `uint256` count of `nodeIds`.
6640
6201
  */
6641
6202
  declare function encodeDVTAccountSignature(params: DVTAccountSignatureParams): Hex;
6203
+ /** Parameters for {@link encodeBLSAccountSignature}. */
6204
+ interface BLSAccountSignatureParams {
6205
+ /** Explicit `bytes32` node IDs of the contributing signers, in signing/aggregation order. */
6206
+ nodeIds: Hex[];
6207
+ /** Aggregate BLS G2 signature (256-byte EIP-2537, or 96/192-byte zkcrypto). */
6208
+ blsSig: Hex | Uint8Array;
6209
+ /**
6210
+ * The trailing 65-byte OWNER ECDSA signature over `toEthSignedMessageHash(userOpHash)`
6211
+ * (EIP-191). The contract recovers it and requires `recovered == owner`.
6212
+ */
6213
+ ownerSig: Hex;
6214
+ }
6215
+ /**
6216
+ * Encode the ACCOUNT-LEVEL `ALG_BLS` (0x01) signature that goes into
6217
+ * `PackedUserOperation.signature` for an `EntryPoint.handleOps` BLS UserOp, per
6218
+ * airaccount-contract `AAStarAirAccountBase._validateTripleSignature`:
6219
+ * ```
6220
+ * [0x01][nodeIdsLength(32)][nodeIds(N×32)][blsSig(256)][ownerECDSA(65)]
6221
+ * ```
6222
+ * `nodeIdsLength` is a 32-byte big-endian `uint256` count. The BLS payload `[nodeIds][blsSig]`
6223
+ * (no length prefix) is the same blob {@link encodeDVTVerifierProof} hands to the verifier's
6224
+ * `validate(userOpHash, …)`; the account additionally binds the owner ECDSA over the
6225
+ * eth-signed `userOpHash`. (So `ALG_BLS` is a 2-factor BLS+owner path, not BLS-only —
6226
+ * it is distinct from the verifier-level `validate` which checks the aggregate alone.)
6227
+ */
6228
+ declare function encodeBLSAccountSignature(params: BLSAccountSignatureParams): Hex;
6642
6229
 
6643
6230
  /**
6644
6231
  * Frozen cross-repo DST (Domain Separation Tag) for the BLS-signature
@@ -7380,4 +6967,4 @@ declare function resolveEnsVerified(name: string, options?: EnsOptions): Promise
7380
6967
  verified: boolean;
7381
6968
  }>;
7382
6969
 
7383
- export { AASTAR_COMMUNITY, AAStarAirAccountFactoryV7ABI, AAStarAirAccountFactoryV7Artifact, AAStarAirAccountV7ABI, AAStarAirAccountV7Artifact, AAStarBLSAggregatorABI, AAStarBLSAggregatorArtifact, AAStarBLSAlgorithmABI, AAStarBLSAlgorithmArtifact, AAStarValidatorABI, AAStarValidatorArtifact, AGENT_IDENTITY_REGISTRY_ADDRESS, AGENT_REPUTATION_REGISTRY_ADDRESS, ALL_ADDRESSES, ALL_ROLES, APNTS_ADDRESS, type AccountActions, type AccountBalance, type AccountFactoryActions, type AgentActions, AgentRegistryABI, type AgentRegistryActions, AgentRegistryArtifact, type AgentSponsorshipPolicy, type AggregatorActions, type AirAccountActions, AirAccountDelegateABI, AirAccountDelegateArtifact, AirAccountExtensionABI, type AirAccountExtensionActions, AirAccountExtensionArtifact, type AirAccountFactoryActions, type AssetPolicy, type AssetPolicyInput, AuthorizationState, BLSAggregatorABI, BLSAggregatorArtifact, type BLSAlgorithmActions, type BLSG1Point, BLSHelpers, BLSSigner, BLSValidatorABI, BLSValidatorArtifact, BLS_AGGREGATOR_ADDRESS, BLS_POP_DST, BLS_VALIDATOR_ADDRESS, BPS_DENOMINATOR, BRANDING, BREAD_COMMUNITY, type BalanceValidationParams, type BatchMintResult, type BuildInitConfigParams, type BuildP256GuardianChallengeParams, BundlerClient, type BundlerResponse, CANONICAL_ADDRESSES, CHAIN_MAINNET, CHAIN_SEPOLIA, COMMUNITIES, COMMUNITY_OWNERS, CONTRACTS, CONTRACT_METADATA, CONTRACT_SRC_HASH, CORE_ADDRESSES, CalldataParserRegistryABI, CalldataParserRegistryArtifact, type CanonicalAddresses, type CheckResourcesOptions, type CommunityConfig, type CommunityProfile, type ContractCategory, ContractConfigManager, type ContractNetwork, type ContractScope, type ContractScopeInput, type ContractVersion, DEFAULT_ADMIN_ROLE, DEFAULT_APNTS_PRICE_USD, DEFAULT_CALL_GAS_LIMIT, DEFAULT_GAS_TOKEN_MINT_AMOUNT, DEFAULT_PRE_VERIFICATION_GAS, DEFAULT_TIMEOUT_MS, DEFAULT_TOKEN_NAME, DEFAULT_TOKEN_SYMBOL, DEFAULT_USDT_MINT_AMOUNT, DEFAULT_VERIFICATION_GAS_LIMIT, type DVTAccountSignatureParams, type DVTActions, type DVTTier, DVTValidatorABI, DVTValidatorArtifact, DVT_TIER_T2, DVT_TIER_T3, DVT_VALIDATOR_ADDRESS, type DecodedWebAuthnAssertion, type DeploymentValidationParams, type DryRunValidationResult, ENTRY_POINT_ADDRESS, type ERC20Actions, type EncodeWebAuthnAssertionParams, type EnsOptions, EntryPointABI, type EntryPointActions, EntryPointArtifact, EntryPointVersion, FAUCET_API_URL, type FaucetConfig, type FaucetPreparationResult, type ForceExitActions, ForceExitModuleABI, ForceExitModuleArtifact, GTOKEN_ADDRESS, GTOKEN_STAKING_ADDRESS, GTokenABI, type GTokenActions, GTokenArtifact, GTokenAuthorizationABI, type GTokenAuthorizationActions, GTokenAuthorizationArtifact, GTokenStakingABI, GTokenStakingArtifact, GUARDIAN_ADDITION_NONCE_SLOT, GUARDIAN_REMOVAL_NONCE_SLOT, GUARDIAN_SIG_VERSION, type GuardianOpLabel, type GuardianSpec, type HashToFieldU0U1, type HeliosTransportConfig, INITIAL_ROLE_STAKES, type InitConfig, LINKS, MAX_GUARDIAN_SLOT, MAX_SERVICE_FEE, MICRO_PAYMENT_CHANNEL_ADDRESS, MONITORING_ADDRESSES, MicroPaymentChannelABI, MicroPaymentChannelArtifact, MySBTABI, MySBTArtifact, NETWORKS, NODE_STAKE_AMOUNTS, type NetworkContracts, NodeType, OFFICIAL_ADDRESSES, type OperatorConfig, type OperatorMode, type P256SessionState, P256_GUARDIAN_DOMAIN, P256_GUARDIAN_SENTINEL, PAYMASTER_ADDRESSES, PAYMASTER_FACTORY_ADDRESS, PAYMASTER_V4_ADDRESS, PAYMASTER_V4_IMPL_ADDRESS, type PackedUserOperation, PaymasterABI, type PaymasterActions, PaymasterArtifact, PaymasterFactoryABI, type PaymasterFactoryActions, PaymasterFactoryArtifact, type PendingExit, type PendingModuleInstall, PolicyDecision, PolicyRegistryABI, type PolicyRegistryActions, PolicyRegistryArtifact, PublicClient, RECOVERY_NONCE_SLOT, REGISTRY_ADDRESS, REPUTATION_SYSTEM_ADDRESS, ROLE_ANODE, ROLE_COMMUNITY, ROLE_DVT, ROLE_ENDUSER, ROLE_KMS, ROLE_NAMES, ROLE_PAYMASTER_AOA, ROLE_PAYMASTER_SUPER, ROLE_PERMISSION_LEVELS, RegistryABI, type RegistryActions, RegistryArtifact, type ReputationActions, type ReputationBreakdown, type ReputationRule, ReputationSystemABI, ReputationSystemArtifact, RequirementChecker, type ResolvedAPNTsToken, type ResourceBoolCheck, type ResourceReport, type ResourceStakeCheck, type RoleConfig, type RoleConfigDetailed, RolePermissionLevel, type RoleRequirement, type RoleValidationParams, type SBTActions, type SBTData, type SBTMembership, SBT_ADDRESS, SECP256R1_N, SECP256R1_N_OVER_2, SEPOLIA_CONTRACTS, SEPOLIA_V2_VERSIONS, SERVICE_FEE_RATE, SUPER_PAYMASTER_ADDRESS, type ScalarLike, SepoliaFaucetAPI, type SessionConfig, SessionKeyValidatorABI, type SessionKeyValidatorActions, SessionKeyValidatorArtifact, type SignP256GuardianAssertionParams, type SignedP256GuardianAssertion, SimpleAccountABI, SimpleAccountArtifact, SimpleAccountFactoryABI, SimpleAccountFactoryArtifact, type SlashRecord, type SpendCounter, type StakingActions, StateValidator, SuperPaymasterABI, type SuperPaymasterActions, SuperPaymasterArtifact, type SuperPaymasterConfig, type SupportedChainId, type SupportedNetwork, TEST_ACCOUNT_ADDRESSES, TEST_ACCOUNT_POOL_SIZE, TEST_COMMUNITIES, TEST_TOKEN_ADDRESSES, TIER_LIMIT_NONCE_SLOT, TOKEN_ADDRESSES, type TokenActions, type TokenBalanceValidationParams, type TokenConfig, type UserOperationV07, V2_SUMMARY, type ValidationParams, type ValidationResult, WEBAUTHN_GET_CHALLENGE_PREFIX, type X402Actions, X402FacilitatorABI, X402FacilitatorArtifact, XPNTS_FACTORY_ADDRESS, type XPNTsFactoryActions, type XPNTsTokenActions, accountActions, accountFactoryActions, agentActions, agentRegistryActions, aggregatorActions, airAccountActions, airAccountExtensionActions, airAccountFactoryActions, applyConfig, base64UrlEncode, blsAlgorithmActions, buildAddGuardianChallenge, buildAddP256GuardianChallenge, buildApproveRecoveryChallenge, buildCancelRecoveryChallenge, buildInitConfig, buildModifyTierLimitsChallenge, buildP256GuardianChallenge, buildProposeRecoveryChallenge, buildRemoveGuardianChallenge, coseToP256XY, createAAStarPublicClient, createHeliosTransport, decodeWebAuthnAssertion, describeSupportedChains, dvtActions, encodeDVTAccountSignature, encodeDVTVerifierProof, encodeG2Point, encodeWebAuthnAssertion, entryPointActions, forceExitActions, gTokenActions, gTokenAuthorizationActions, getAddressUrl, getAllCommunityConfigs, getAllV2Contracts, getBlockExplorer, getCanonicalAddresses, getChainId, getCommunities, getCommunity, getCommunityConfig, getContract, getContractNetworks, getContracts, getCoreContracts, getDeploymentDate, getEntryPoint, getNetwork, getPaymasterV4_1, getRoleName, getRpcUrl, getSimpleAccountFactory, getSuperPaymasterV2, getTestAccounts, getTestTokenContracts, getTokenContracts, getTxUrl, getV2ContractByAddress, getV2ContractByName, getV2ContractsByDate, hashToFieldU0U1, isContractNetworkSupported, isRegisteredCommunity, isSupportedChainId, isV2Contract, listSupportedChainIds, lookupAddress, opDataAddGuardian, opDataAddP256Guardian, opDataModifyTierLimits, opDataRecovery, opDataRemoveGuardian, p256GuardianPublicKey, paymasterActions, paymasterFactoryActions, policyRegistryActions, registryActions, reputationActions, resolveEns, resolveEnsVerified, sbtActions, sessionKeyValidatorActions, signP256GuardianAssertion, stakingActions, superPaymasterActions, tokenActions, x402Actions, x402IsNonceUsed, x402NonceKey, xPNTsFactoryABI, xPNTsFactoryActions, xPNTsFactoryArtifact, xPNTsTokenABI, xPNTsTokenActions, xPNTsTokenArtifact };
6970
+ export { AASTAR_COMMUNITY, AAStarAirAccountFactoryV7ABI, AAStarAirAccountFactoryV7Artifact, AAStarAirAccountV7ABI, AAStarAirAccountV7Artifact, AAStarBLSAggregatorABI, AAStarBLSAggregatorArtifact, AAStarBLSAlgorithmABI, AAStarBLSAlgorithmArtifact, AAStarValidatorABI, AAStarValidatorArtifact, AGENT_IDENTITY_REGISTRY_ADDRESS, AGENT_REPUTATION_REGISTRY_ADDRESS, ALG_BLS, ALL_ADDRESSES, ALL_ROLES, APNTS_ADDRESS, type AccountActions, type AccountBalance, type AccountFactoryActions, type AgentActions, AgentRegistryABI, type AgentRegistryActions, AgentRegistryArtifact, type AgentSponsorshipPolicy, type AggregatorActions, AirAccountDelegateABI, AirAccountDelegateArtifact, AirAccountExtensionABI, type AirAccountExtensionActions, AirAccountExtensionArtifact, type AirAccountFactoryActions, type AssetPolicy, type AssetPolicyInput, AuthorizationState, type BLSAccountSignatureParams, BLSAggregatorABI, BLSAggregatorArtifact, type BLSAlgorithmActions, type BLSG1Point, BLSHelpers, BLSSigner, BLSValidatorABI, BLSValidatorArtifact, BLS_AGGREGATOR_ADDRESS, BLS_POP_DST, BLS_VALIDATOR_ADDRESS, BPS_DENOMINATOR, BRANDING, BREAD_COMMUNITY, type BalanceValidationParams, type BatchMintResult, type BuildP256GuardianChallengeParams, BundlerClient, type BundlerResponse, CANONICAL_ADDRESSES, CHAIN_MAINNET, CHAIN_SEPOLIA, COMMUNITIES, COMMUNITY_OWNERS, CONTRACTS, CONTRACT_METADATA, CONTRACT_SRC_HASH, CORE_ADDRESSES, CalldataParserRegistryABI, CalldataParserRegistryArtifact, type CanonicalAddresses, type CheckResourcesOptions, type CommunityConfig, type CommunityProfile, type ContractCategory, ContractConfigManager, type ContractNetwork, type ContractScope, type ContractScopeInput, type ContractVersion, DEFAULT_ADMIN_ROLE, DEFAULT_APNTS_PRICE_USD, DEFAULT_CALL_GAS_LIMIT, DEFAULT_DVT_NODES, DEFAULT_GAS_TOKEN_MINT_AMOUNT, DEFAULT_PRE_VERIFICATION_GAS, DEFAULT_TIMEOUT_MS, DEFAULT_TOKEN_NAME, DEFAULT_TOKEN_SYMBOL, DEFAULT_USDT_MINT_AMOUNT, DEFAULT_VERIFICATION_GAS_LIMIT, type DVTAccountSignatureParams, type DVTActions, type DVTNode, type DVTTier, DVTValidatorABI, DVTValidatorArtifact, DVT_TIER_T2, DVT_TIER_T3, DVT_VALIDATOR_ADDRESS, type DecodedWebAuthnAssertion, type DeploymentValidationParams, ENTRY_POINT_ADDRESS, type ERC20Actions, type EncodeWebAuthnAssertionParams, type EnsOptions, EntryPointABI, type EntryPointActions, EntryPointArtifact, EntryPointVersion, FAUCET_API_URL, type FaucetConfig, type FaucetPreparationResult, type ForceExitActions, ForceExitModuleABI, ForceExitModuleArtifact, GTOKEN_ADDRESS, GTOKEN_STAKING_ADDRESS, GTokenABI, type GTokenActions, GTokenArtifact, GTokenAuthorizationABI, type GTokenAuthorizationActions, GTokenAuthorizationArtifact, GTokenStakingABI, GTokenStakingArtifact, GUARDIAN_ADDITION_NONCE_SLOT, GUARDIAN_REMOVAL_NONCE_SLOT, GUARDIAN_SIG_VERSION, type GuardianOpLabel, type HashToFieldU0U1, type HeliosTransportConfig, INITIAL_ROLE_STAKES, INLINE_ALG_IDS, InitConfig, LINKS, MAX_GUARDIAN_SLOT, MAX_SERVICE_FEE, MICRO_PAYMENT_CHANNEL_ADDRESS, MONITORING_ADDRESSES, MicroPaymentChannelABI, MicroPaymentChannelArtifact, MySBTABI, MySBTArtifact, NETWORKS, NODE_STAKE_AMOUNTS, type NetworkContracts, NodeType, OFFICIAL_ADDRESSES, type OperatorMode, type P256SessionState, P256_GUARDIAN_DOMAIN, P256_GUARDIAN_SENTINEL, PAYMASTER_ADDRESSES, PAYMASTER_FACTORY_ADDRESS, PAYMASTER_V4_ADDRESS, PAYMASTER_V4_IMPL_ADDRESS, PaymasterABI, type PaymasterActions, PaymasterArtifact, PaymasterFactoryABI, type PaymasterFactoryActions, PaymasterFactoryArtifact, type PendingExit, PolicyDecision, PolicyRegistryABI, type PolicyRegistryActions, PolicyRegistryArtifact, PublicClient, RECOVERY_NONCE_SLOT, REGISTRY_ADDRESS, REPUTATION_SYSTEM_ADDRESS, ROLE_ANODE, ROLE_COMMUNITY, ROLE_DVT, ROLE_ENDUSER, ROLE_KMS, ROLE_NAMES, ROLE_PAYMASTER_AOA, ROLE_PAYMASTER_SUPER, ROLE_PERMISSION_LEVELS, RegistryABI, type RegistryActions, RegistryArtifact, type ReputationActions, type ReputationBreakdown, type ReputationRule, ReputationSystemABI, ReputationSystemArtifact, RequirementChecker, type ResourceBoolCheck, type ResourceReport, type ResourceStakeCheck, type RoleConfig, type RoleConfigDetailed, RolePermissionLevel, type RoleRequirement, type RoleValidationParams, type SBTActions, type SBTData, type SBTMembership, SBT_ADDRESS, SECP256R1_N, SECP256R1_N_OVER_2, SEPOLIA_CONTRACTS, SEPOLIA_V2_VERSIONS, SERVICE_FEE_RATE, SUPER_PAYMASTER_ADDRESS, type ScalarLike, SepoliaFaucetAPI, type SessionConfig, SessionKeyValidatorABI, type SessionKeyValidatorActions, SessionKeyValidatorArtifact, type SignP256GuardianAssertionParams, type SignedP256GuardianAssertion, SimpleAccountABI, SimpleAccountArtifact, SimpleAccountFactoryABI, SimpleAccountFactoryArtifact, type SpendCounter, type StakingActions, StateValidator, SuperPaymasterABI, SuperPaymasterArtifact, type SuperPaymasterConfig, type SupportedChainId, type SupportedNetwork, TEST_ACCOUNT_ADDRESSES, TEST_ACCOUNT_POOL_SIZE, TEST_COMMUNITIES, TEST_TOKEN_ADDRESSES, TIER_LIMIT_NONCE_SLOT, TOKEN_ADDRESSES, type TokenActions, type TokenBalanceValidationParams, type UserOperationV07, V2_SUMMARY, type ValidationParams, type ValidationResult, WEBAUTHN_GET_CHALLENGE_PREFIX, type X402Actions, X402FacilitatorABI, X402FacilitatorArtifact, XPNTS_FACTORY_ADDRESS, type XPNTsFactoryActions, type XPNTsTokenActions, accountActions, accountFactoryActions, agentActions, agentRegistryActions, aggregatorActions, airAccountExtensionActions, airAccountFactoryActions, applyConfig, base64UrlEncode, blsAlgorithmActions, buildAddGuardianChallenge, buildAddP256GuardianChallenge, buildApproveRecoveryChallenge, buildCancelRecoveryChallenge, buildModifyTierLimitsChallenge, buildP256GuardianChallenge, buildProposeRecoveryChallenge, buildRemoveGuardianChallenge, coseToP256XY, createAAStarPublicClient, createHeliosTransport, decodeWebAuthnAssertion, describeSupportedChains, dvtActions, encodeBLSAccountSignature, encodeDVTAccountSignature, encodeDVTVerifierProof, encodeG2Point, encodeWebAuthnAssertion, entryPointActions, forceExitActions, gTokenActions, gTokenAuthorizationActions, getAddressUrl, getAllCommunityConfigs, getAllV2Contracts, getBlockExplorer, getCanonicalAddresses, getChainId, getCommunities, getCommunity, getCommunityConfig, getContract, getContractNetworks, getContracts, getCoreContracts, getDefaultDvtNodes, getDeploymentDate, getEntryPoint, getNetwork, getPaymasterV4_1, getRoleName, getRpcUrl, getSimpleAccountFactory, getSuperPaymasterV2, getTestAccounts, getTestTokenContracts, getTokenContracts, getTxUrl, getV2ContractByAddress, getV2ContractByName, getV2ContractsByDate, hashToFieldU0U1, isContractNetworkSupported, isRegisteredCommunity, isSupportedChainId, isV2Contract, listSupportedChainIds, lookupAddress, needsValidatorRouter, opDataAddGuardian, opDataAddP256Guardian, opDataModifyTierLimits, opDataRecovery, opDataRemoveGuardian, p256GuardianPublicKey, paymasterActions, paymasterFactoryActions, policyRegistryActions, registryActions, reputationActions, resolveEns, resolveEnsVerified, sbtActions, sessionKeyValidatorActions, signP256GuardianAssertion, stakingActions, tokenActions, x402Actions, x402IsNonceUsed, x402NonceKey, xPNTsFactoryABI, xPNTsFactoryActions, xPNTsFactoryArtifact, xPNTsTokenABI, xPNTsTokenActions, xPNTsTokenArtifact };