@aastar/sdk 0.20.9 → 0.21.1
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/dist/UserClient-2JL52CNK.js +6 -0
- package/dist/{UserClient-AIIHB54I.js.map → UserClient-2JL52CNK.js.map} +1 -1
- package/dist/UserClient-QM2CQVRM.cjs +15 -0
- package/dist/{UserClient-2J6XMTNV.cjs.map → UserClient-QM2CQVRM.cjs.map} +1 -1
- package/dist/account.cjs +8 -8
- package/dist/account.js +3 -3
- package/dist/admin.cjs +4 -4
- package/dist/admin.js +3 -3
- package/dist/airaccount.cjs +98 -98
- package/dist/airaccount.js +3 -3
- package/dist/channel.cjs +7 -7
- package/dist/channel.js +3 -3
- package/dist/{chunk-GRDC6ZRA.cjs → chunk-3HZEIFBW.cjs} +5 -5
- package/dist/{chunk-GRDC6ZRA.cjs.map → chunk-3HZEIFBW.cjs.map} +1 -1
- package/dist/{chunk-7ARJ3OSU.js → chunk-57XLR2NT.js} +3 -3
- package/dist/{chunk-7ARJ3OSU.js.map → chunk-57XLR2NT.js.map} +1 -1
- package/dist/{chunk-QLF7N6H7.cjs → chunk-5JFYTJOE.cjs} +4 -4
- package/dist/{chunk-QLF7N6H7.cjs.map → chunk-5JFYTJOE.cjs.map} +1 -1
- package/dist/{chunk-KDH3UPKD.js → chunk-5NKU5NT5.js} +8 -8
- package/dist/{chunk-KDH3UPKD.js.map → chunk-5NKU5NT5.js.map} +1 -1
- package/dist/{chunk-IC3G6YM2.js → chunk-6OWZOTE7.js} +113 -9
- package/dist/chunk-6OWZOTE7.js.map +1 -0
- package/dist/{chunk-FTJD2DWE.cjs → chunk-CIEYY3A6.cjs} +870 -83
- package/dist/chunk-CIEYY3A6.cjs.map +1 -0
- package/dist/{chunk-BN5WY5GM.js → chunk-DQBKE4ND.js} +4 -4
- package/dist/{chunk-BN5WY5GM.js.map → chunk-DQBKE4ND.js.map} +1 -1
- package/dist/{chunk-4EZD7LPE.js → chunk-E4CQFW75.js} +3 -3
- package/dist/{chunk-4EZD7LPE.js.map → chunk-E4CQFW75.js.map} +1 -1
- package/dist/{chunk-LXWIPTPX.js → chunk-ENSMYCU6.js} +3 -3
- package/dist/{chunk-LXWIPTPX.js.map → chunk-ENSMYCU6.js.map} +1 -1
- package/dist/{chunk-FJ7XECC5.js → chunk-EY2AJTGV.js} +3 -3
- package/dist/{chunk-FJ7XECC5.js.map → chunk-EY2AJTGV.js.map} +1 -1
- package/dist/{chunk-WQREDGUF.cjs → chunk-HT6LGLDM.cjs} +26 -26
- package/dist/{chunk-WQREDGUF.cjs.map → chunk-HT6LGLDM.cjs.map} +1 -1
- package/dist/{chunk-MRREGCWN.cjs → chunk-IJN776TA.cjs} +32 -32
- package/dist/{chunk-MRREGCWN.cjs.map → chunk-IJN776TA.cjs.map} +1 -1
- package/dist/{chunk-2RCJBWPO.cjs → chunk-IZN2COBP.cjs} +33 -17
- package/dist/chunk-IZN2COBP.cjs.map +1 -0
- package/dist/{chunk-TENYCMJ3.js → chunk-JYHDAOUT.js} +9 -9
- package/dist/{chunk-TENYCMJ3.js.map → chunk-JYHDAOUT.js.map} +1 -1
- package/dist/{chunk-PKCHRXFR.js → chunk-KZERVPUR.js} +3 -3
- package/dist/{chunk-PKCHRXFR.js.map → chunk-KZERVPUR.js.map} +1 -1
- package/dist/{chunk-6QYXGMCR.js → chunk-M5WFKETT.js} +833 -47
- package/dist/{chunk-FTJD2DWE.cjs.map → chunk-M5WFKETT.js.map} +1 -1
- package/dist/{chunk-HSVQIFIK.cjs → chunk-M7HXR7G5.cjs} +5 -5
- package/dist/{chunk-HSVQIFIK.cjs.map → chunk-M7HXR7G5.cjs.map} +1 -1
- package/dist/{chunk-MVEWJIPY.js → chunk-MKUILC7J.js} +25 -9
- package/dist/chunk-MKUILC7J.js.map +1 -0
- package/dist/{chunk-S5IKOOUR.cjs → chunk-MXJEULSE.cjs} +39 -36
- package/dist/chunk-MXJEULSE.cjs.map +1 -0
- package/dist/{chunk-TFLZETWB.cjs → chunk-OVNOSAL3.cjs} +113 -9
- package/dist/chunk-OVNOSAL3.cjs.map +1 -0
- package/dist/{chunk-GX7NROST.cjs → chunk-PED7PJQZ.cjs} +16 -16
- package/dist/{chunk-GX7NROST.cjs.map → chunk-PED7PJQZ.cjs.map} +1 -1
- package/dist/{chunk-G3UJC4EL.js → chunk-UCLK6LTB.js} +39 -36
- package/dist/chunk-UCLK6LTB.js.map +1 -0
- package/dist/{chunk-PAABYXS6.js → chunk-UP2S7C7R.js} +6 -6
- package/dist/{chunk-PAABYXS6.js.map → chunk-UP2S7C7R.js.map} +1 -1
- package/dist/{chunk-JTWY2XEG.cjs → chunk-WR4OZUXR.cjs} +6 -6
- package/dist/{chunk-JTWY2XEG.cjs.map → chunk-WR4OZUXR.cjs.map} +1 -1
- package/dist/{chunk-NT26BDGN.cjs → chunk-Y4EJX7UA.cjs} +12 -12
- package/dist/{chunk-NT26BDGN.cjs.map → chunk-Y4EJX7UA.cjs.map} +1 -1
- package/dist/{chunk-RNHSA3LO.cjs → chunk-Z4GZ6DQA.cjs} +9 -9
- package/dist/{chunk-RNHSA3LO.cjs.map → chunk-Z4GZ6DQA.cjs.map} +1 -1
- package/dist/{contract-addresses-TANQ5DLX.cjs → contract-addresses-RABD77VP.cjs} +13 -13
- package/dist/{contract-addresses-TANQ5DLX.cjs.map → contract-addresses-RABD77VP.cjs.map} +1 -1
- package/dist/{contract-addresses-N3TOL2WL.js → contract-addresses-TVXSRQ7I.js} +3 -3
- package/dist/{contract-addresses-N3TOL2WL.js.map → contract-addresses-TVXSRQ7I.js.map} +1 -1
- package/dist/core.cjs +227 -223
- package/dist/core.d.cts +130 -12
- package/dist/core.d.ts +130 -12
- package/dist/core.js +2 -2
- package/dist/dapp.cjs +6 -6
- package/dist/dapp.js +3 -3
- package/dist/enduser.cjs +7 -7
- package/dist/enduser.js +4 -4
- package/dist/identity.cjs +6 -6
- package/dist/identity.js +3 -3
- package/dist/index.cjs +340 -336
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +17 -17
- package/dist/kms.cjs +98 -98
- package/dist/kms.d.cts +62 -12
- package/dist/kms.d.ts +62 -12
- package/dist/kms.js +3 -3
- package/dist/operator.cjs +7 -7
- package/dist/operator.js +3 -3
- package/dist/paymaster.cjs +16 -16
- package/dist/paymaster.d.cts +13 -0
- package/dist/paymaster.d.ts +13 -0
- package/dist/paymaster.js +3 -3
- package/dist/{src-X5MIV3EB.js → src-CTYY6FNI.js} +5 -5
- package/dist/src-CTYY6FNI.js.map +1 -0
- package/dist/{src-TQKEO2I4.cjs → src-CUHI6G6W.cjs} +229 -225
- package/dist/src-CUHI6G6W.cjs.map +1 -0
- package/dist/{src-ENPA7D2S.cjs → src-X5IECEPM.cjs} +18 -18
- package/dist/src-X5IECEPM.cjs.map +1 -0
- package/dist/{src-L5SI5WNB.js → src-XCV6BTSV.js} +4 -4
- package/dist/{src-X5MIV3EB.js.map → src-XCV6BTSV.js.map} +1 -1
- package/dist/tokens.cjs +4 -4
- package/dist/tokens.js +3 -3
- package/dist/x402.cjs +26 -26
- package/dist/x402.js +3 -3
- package/package.json +113 -29
- package/dist/UserClient-2J6XMTNV.cjs +0 -15
- package/dist/UserClient-AIIHB54I.js +0 -6
- package/dist/chunk-2RCJBWPO.cjs.map +0 -1
- package/dist/chunk-6QYXGMCR.js.map +0 -1
- package/dist/chunk-G3UJC4EL.js.map +0 -1
- package/dist/chunk-IC3G6YM2.js.map +0 -1
- package/dist/chunk-MVEWJIPY.js.map +0 -1
- package/dist/chunk-S5IKOOUR.cjs.map +0 -1
- package/dist/chunk-TFLZETWB.cjs.map +0 -1
- package/dist/src-ENPA7D2S.cjs.map +0 -1
- package/dist/src-L5SI5WNB.js.map +0 -1
- package/dist/src-TQKEO2I4.cjs.map +0 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkMXJEULSE_cjs = require('./chunk-MXJEULSE.cjs');
|
|
4
4
|
var viem = require('viem');
|
|
5
5
|
var chains = require('viem/chains');
|
|
6
6
|
var nc = require('crypto');
|
|
@@ -60,39 +60,39 @@ var SEPOLIA_CONTRACTS = {
|
|
|
60
60
|
// ========================================
|
|
61
61
|
// Core System (AOA+ Mode)
|
|
62
62
|
// ========================================
|
|
63
|
-
core:
|
|
63
|
+
core: chunkMXJEULSE_cjs.CORE_ADDRESSES,
|
|
64
64
|
// ========================================
|
|
65
65
|
// Token System
|
|
66
66
|
// ========================================
|
|
67
|
-
tokens:
|
|
67
|
+
tokens: chunkMXJEULSE_cjs.TOKEN_ADDRESSES,
|
|
68
68
|
// ========================================
|
|
69
69
|
// Test Tokens (For Development & Testing)
|
|
70
70
|
// ========================================
|
|
71
|
-
testTokens:
|
|
71
|
+
testTokens: chunkMXJEULSE_cjs.TEST_TOKEN_ADDRESSES,
|
|
72
72
|
// ========================================
|
|
73
73
|
// Test Accounts (For Development & Testing)
|
|
74
74
|
// ========================================
|
|
75
|
-
testAccounts:
|
|
75
|
+
testAccounts: chunkMXJEULSE_cjs.TEST_ACCOUNT_ADDRESSES,
|
|
76
76
|
// ========================================
|
|
77
77
|
// Paymaster V4_1 (AOA Mode - Independent Paymaster)
|
|
78
78
|
// ========================================
|
|
79
|
-
paymaster:
|
|
79
|
+
paymaster: chunkMXJEULSE_cjs.PAYMASTER_ADDRESSES,
|
|
80
80
|
// ========================================
|
|
81
81
|
// DVT/BLS Monitoring System
|
|
82
82
|
// ========================================
|
|
83
|
-
monitoring:
|
|
83
|
+
monitoring: chunkMXJEULSE_cjs.MONITORING_ADDRESSES,
|
|
84
84
|
// ========================================
|
|
85
85
|
// Official Dependencies
|
|
86
86
|
// ========================================
|
|
87
|
-
official:
|
|
87
|
+
official: chunkMXJEULSE_cjs.OFFICIAL_ADDRESSES,
|
|
88
88
|
// ========================================
|
|
89
89
|
// Test Communities (For Development & Testing)
|
|
90
90
|
// ========================================
|
|
91
91
|
communities: {
|
|
92
92
|
/** AAStar Community - Test community for development (registered: 2025-11-01) */
|
|
93
93
|
aastar: {
|
|
94
|
-
owner:
|
|
95
|
-
gasToken:
|
|
94
|
+
owner: chunkMXJEULSE_cjs.COMMUNITY_OWNERS.aastarOwner,
|
|
95
|
+
gasToken: chunkMXJEULSE_cjs.TEST_TOKEN_ADDRESSES.aPNTs,
|
|
96
96
|
ensName: "aastar.eth",
|
|
97
97
|
name: "AAStar",
|
|
98
98
|
stake: "50"
|
|
@@ -100,8 +100,8 @@ var SEPOLIA_CONTRACTS = {
|
|
|
100
100
|
},
|
|
101
101
|
/** BreadCommunity - Test community for development (registered: 2025-11-03) */
|
|
102
102
|
breadCommunity: {
|
|
103
|
-
owner:
|
|
104
|
-
gasToken:
|
|
103
|
+
owner: chunkMXJEULSE_cjs.COMMUNITY_OWNERS.breadCommunityOwner,
|
|
104
|
+
gasToken: chunkMXJEULSE_cjs.TEST_TOKEN_ADDRESSES.bPNTs,
|
|
105
105
|
ensName: "bread.eth",
|
|
106
106
|
name: "BreadCommunity",
|
|
107
107
|
stake: "50"
|
|
@@ -221,7 +221,7 @@ var SEPOLIA_V2_VERSIONS = {
|
|
|
221
221
|
version: "2.0.0",
|
|
222
222
|
versionCode: 2e4,
|
|
223
223
|
deployedAt: "2025-11-01",
|
|
224
|
-
address:
|
|
224
|
+
address: chunkMXJEULSE_cjs.CORE_ADDRESSES.gToken,
|
|
225
225
|
features: [
|
|
226
226
|
"VERSION interface",
|
|
227
227
|
"ERC20 governance token",
|
|
@@ -234,7 +234,7 @@ var SEPOLIA_V2_VERSIONS = {
|
|
|
234
234
|
version: "2.3.3",
|
|
235
235
|
versionCode: 20303,
|
|
236
236
|
deployedAt: "2024-11-24",
|
|
237
|
-
address:
|
|
237
|
+
address: chunkMXJEULSE_cjs.CORE_ADDRESSES.superPaymaster,
|
|
238
238
|
features: [
|
|
239
239
|
"VERSION interface",
|
|
240
240
|
"Unified architecture",
|
|
@@ -257,7 +257,7 @@ var SEPOLIA_V2_VERSIONS = {
|
|
|
257
257
|
version: "2.2.1",
|
|
258
258
|
versionCode: 20201,
|
|
259
259
|
deployedAt: "2025-11-09",
|
|
260
|
-
address:
|
|
260
|
+
address: chunkMXJEULSE_cjs.CORE_ADDRESSES.registry,
|
|
261
261
|
features: [
|
|
262
262
|
"VERSION interface",
|
|
263
263
|
"allowPermissionlessMint defaults to true",
|
|
@@ -274,7 +274,7 @@ var SEPOLIA_V2_VERSIONS = {
|
|
|
274
274
|
version: "2.0.1",
|
|
275
275
|
versionCode: 20001,
|
|
276
276
|
deployedAt: "2025-11-05",
|
|
277
|
-
address:
|
|
277
|
+
address: chunkMXJEULSE_cjs.CORE_ADDRESSES.gTokenStaking,
|
|
278
278
|
features: [
|
|
279
279
|
"VERSION interface",
|
|
280
280
|
"User-level slash tracking",
|
|
@@ -291,7 +291,7 @@ var SEPOLIA_V2_VERSIONS = {
|
|
|
291
291
|
version: "1.0.0",
|
|
292
292
|
versionCode: 1e4,
|
|
293
293
|
deployedAt: "2025-11-01",
|
|
294
|
-
address:
|
|
294
|
+
address: chunkMXJEULSE_cjs.CORE_ADDRESSES.paymasterFactory,
|
|
295
295
|
features: [
|
|
296
296
|
"EIP-1167 Minimal Proxy",
|
|
297
297
|
"Version management",
|
|
@@ -310,7 +310,7 @@ var SEPOLIA_V2_VERSIONS = {
|
|
|
310
310
|
version: "2.0.0",
|
|
311
311
|
versionCode: 2e4,
|
|
312
312
|
deployedAt: "2025-11-01",
|
|
313
|
-
address:
|
|
313
|
+
address: chunkMXJEULSE_cjs.TOKEN_ADDRESSES.xPNTsFactory,
|
|
314
314
|
features: [
|
|
315
315
|
"VERSION interface",
|
|
316
316
|
"Unified architecture",
|
|
@@ -324,7 +324,7 @@ var SEPOLIA_V2_VERSIONS = {
|
|
|
324
324
|
version: "2.4.5",
|
|
325
325
|
versionCode: 20405,
|
|
326
326
|
deployedAt: "2024-11-24",
|
|
327
|
-
address:
|
|
327
|
+
address: chunkMXJEULSE_cjs.CORE_ADDRESSES.mySBT,
|
|
328
328
|
features: [
|
|
329
329
|
'IVersioned interface: version() returns 2004005, versionString() returns "v2.4.5"',
|
|
330
330
|
'VERSION constants: VERSION="2.4.5", VERSION_CODE=20405',
|
|
@@ -355,7 +355,7 @@ var SEPOLIA_V2_VERSIONS = {
|
|
|
355
355
|
version: "2.0.0",
|
|
356
356
|
versionCode: 2e4,
|
|
357
357
|
deployedAt: "2025-11-01",
|
|
358
|
-
address:
|
|
358
|
+
address: chunkMXJEULSE_cjs.TEST_TOKEN_ADDRESSES.aPNTs,
|
|
359
359
|
features: [
|
|
360
360
|
"VERSION interface",
|
|
361
361
|
"AAStar community gas token",
|
|
@@ -368,7 +368,7 @@ var SEPOLIA_V2_VERSIONS = {
|
|
|
368
368
|
version: "2.0.0",
|
|
369
369
|
versionCode: 2e4,
|
|
370
370
|
deployedAt: "2025-11-03",
|
|
371
|
-
address:
|
|
371
|
+
address: chunkMXJEULSE_cjs.TEST_TOKEN_ADDRESSES.bPNTs,
|
|
372
372
|
features: [
|
|
373
373
|
"VERSION interface",
|
|
374
374
|
"BreadCommunity gas token",
|
|
@@ -386,7 +386,7 @@ var SEPOLIA_V2_VERSIONS = {
|
|
|
386
386
|
version: "2.0.0",
|
|
387
387
|
versionCode: 2e4,
|
|
388
388
|
deployedAt: "2025-11-01",
|
|
389
|
-
address:
|
|
389
|
+
address: chunkMXJEULSE_cjs.MONITORING_ADDRESSES.dvtValidator,
|
|
390
390
|
features: [
|
|
391
391
|
"VERSION interface",
|
|
392
392
|
"Distributed validator technology",
|
|
@@ -399,7 +399,7 @@ var SEPOLIA_V2_VERSIONS = {
|
|
|
399
399
|
version: "2.0.0",
|
|
400
400
|
versionCode: 2e4,
|
|
401
401
|
deployedAt: "2025-11-01",
|
|
402
|
-
address:
|
|
402
|
+
address: chunkMXJEULSE_cjs.MONITORING_ADDRESSES.blsAggregator,
|
|
403
403
|
features: [
|
|
404
404
|
"VERSION interface",
|
|
405
405
|
"BLS signature aggregation",
|
|
@@ -533,9 +533,9 @@ var NodeType = /* @__PURE__ */ ((NodeType2) => {
|
|
|
533
533
|
var AASTAR_COMMUNITY = {
|
|
534
534
|
name: "AAstar Community",
|
|
535
535
|
ensName: "aastar.eth",
|
|
536
|
-
address:
|
|
537
|
-
xPNTsToken:
|
|
538
|
-
supportedSBTs: [
|
|
536
|
+
address: chunkMXJEULSE_cjs.TEST_COMMUNITIES.aastar,
|
|
537
|
+
xPNTsToken: chunkMXJEULSE_cjs.TEST_TOKEN_ADDRESSES.aPNTs,
|
|
538
|
+
supportedSBTs: [chunkMXJEULSE_cjs.CORE_ADDRESSES.mySBT],
|
|
539
539
|
nodeType: 1 /* PAYMASTER_SUPER */,
|
|
540
540
|
isActive: true,
|
|
541
541
|
allowPermissionlessMint: true,
|
|
@@ -547,9 +547,9 @@ var AASTAR_COMMUNITY = {
|
|
|
547
547
|
var BREAD_COMMUNITY = {
|
|
548
548
|
name: "Bread Community",
|
|
549
549
|
ensName: "bread.eth",
|
|
550
|
-
address:
|
|
551
|
-
xPNTsToken:
|
|
552
|
-
supportedSBTs: [
|
|
550
|
+
address: chunkMXJEULSE_cjs.TEST_COMMUNITIES.bread,
|
|
551
|
+
xPNTsToken: chunkMXJEULSE_cjs.TEST_TOKEN_ADDRESSES.bPNTs,
|
|
552
|
+
supportedSBTs: [chunkMXJEULSE_cjs.CORE_ADDRESSES.mySBT],
|
|
553
553
|
nodeType: 0 /* PAYMASTER_AOA */,
|
|
554
554
|
isActive: true,
|
|
555
555
|
allowPermissionlessMint: false,
|
|
@@ -559,8 +559,8 @@ var BREAD_COMMUNITY = {
|
|
|
559
559
|
// 2025-11-08
|
|
560
560
|
};
|
|
561
561
|
var COMMUNITIES = {
|
|
562
|
-
[
|
|
563
|
-
[
|
|
562
|
+
[chunkMXJEULSE_cjs.TEST_COMMUNITIES.aastar]: AASTAR_COMMUNITY,
|
|
563
|
+
[chunkMXJEULSE_cjs.TEST_COMMUNITIES.bread]: BREAD_COMMUNITY
|
|
564
564
|
};
|
|
565
565
|
function getCommunityConfig(address) {
|
|
566
566
|
return COMMUNITIES[address.toLowerCase()];
|
|
@@ -11472,13 +11472,6 @@ var AAStarAirAccountV7_default = {
|
|
|
11472
11472
|
],
|
|
11473
11473
|
stateMutability: "view"
|
|
11474
11474
|
},
|
|
11475
|
-
{
|
|
11476
|
-
type: "function",
|
|
11477
|
-
name: "approveRecovery",
|
|
11478
|
-
inputs: [],
|
|
11479
|
-
outputs: [],
|
|
11480
|
-
stateMutability: "nonpayable"
|
|
11481
|
-
},
|
|
11482
11475
|
{
|
|
11483
11476
|
type: "function",
|
|
11484
11477
|
name: "approvedAlgorithms",
|
|
@@ -11498,13 +11491,6 @@ var AAStarAirAccountV7_default = {
|
|
|
11498
11491
|
],
|
|
11499
11492
|
stateMutability: "view"
|
|
11500
11493
|
},
|
|
11501
|
-
{
|
|
11502
|
-
type: "function",
|
|
11503
|
-
name: "cancelRecovery",
|
|
11504
|
-
inputs: [],
|
|
11505
|
-
outputs: [],
|
|
11506
|
-
stateMutability: "nonpayable"
|
|
11507
|
-
},
|
|
11508
11494
|
{
|
|
11509
11495
|
type: "function",
|
|
11510
11496
|
name: "entryPoint",
|
|
@@ -11588,13 +11574,6 @@ var AAStarAirAccountV7_default = {
|
|
|
11588
11574
|
],
|
|
11589
11575
|
stateMutability: "nonpayable"
|
|
11590
11576
|
},
|
|
11591
|
-
{
|
|
11592
|
-
type: "function",
|
|
11593
|
-
name: "executeRecovery",
|
|
11594
|
-
inputs: [],
|
|
11595
|
-
outputs: [],
|
|
11596
|
-
stateMutability: "nonpayable"
|
|
11597
|
-
},
|
|
11598
11577
|
{
|
|
11599
11578
|
type: "function",
|
|
11600
11579
|
name: "executeUserOp",
|
|
@@ -11673,6 +11652,19 @@ var AAStarAirAccountV7_default = {
|
|
|
11673
11652
|
],
|
|
11674
11653
|
stateMutability: "view"
|
|
11675
11654
|
},
|
|
11655
|
+
{
|
|
11656
|
+
type: "function",
|
|
11657
|
+
name: "getRecoveryNonce",
|
|
11658
|
+
inputs: [],
|
|
11659
|
+
outputs: [
|
|
11660
|
+
{
|
|
11661
|
+
name: "",
|
|
11662
|
+
type: "uint256",
|
|
11663
|
+
internalType: "uint256"
|
|
11664
|
+
}
|
|
11665
|
+
],
|
|
11666
|
+
stateMutability: "view"
|
|
11667
|
+
},
|
|
11676
11668
|
{
|
|
11677
11669
|
type: "function",
|
|
11678
11670
|
name: "guard",
|
|
@@ -11834,6 +11826,16 @@ var AAStarAirAccountV7_default = {
|
|
|
11834
11826
|
type: "address[3]",
|
|
11835
11827
|
internalType: "address[3]"
|
|
11836
11828
|
},
|
|
11829
|
+
{
|
|
11830
|
+
name: "guardianP256X",
|
|
11831
|
+
type: "bytes32[3]",
|
|
11832
|
+
internalType: "bytes32[3]"
|
|
11833
|
+
},
|
|
11834
|
+
{
|
|
11835
|
+
name: "guardianP256Y",
|
|
11836
|
+
type: "bytes32[3]",
|
|
11837
|
+
internalType: "bytes32[3]"
|
|
11838
|
+
},
|
|
11837
11839
|
{
|
|
11838
11840
|
name: "dailyLimit",
|
|
11839
11841
|
type: "uint256",
|
|
@@ -11911,6 +11913,16 @@ var AAStarAirAccountV7_default = {
|
|
|
11911
11913
|
type: "address[3]",
|
|
11912
11914
|
internalType: "address[3]"
|
|
11913
11915
|
},
|
|
11916
|
+
{
|
|
11917
|
+
name: "guardianP256X",
|
|
11918
|
+
type: "bytes32[3]",
|
|
11919
|
+
internalType: "bytes32[3]"
|
|
11920
|
+
},
|
|
11921
|
+
{
|
|
11922
|
+
name: "guardianP256Y",
|
|
11923
|
+
type: "bytes32[3]",
|
|
11924
|
+
internalType: "bytes32[3]"
|
|
11925
|
+
},
|
|
11914
11926
|
{
|
|
11915
11927
|
name: "dailyLimit",
|
|
11916
11928
|
type: "uint256",
|
|
@@ -11983,6 +11995,16 @@ var AAStarAirAccountV7_default = {
|
|
|
11983
11995
|
type: "address[3]",
|
|
11984
11996
|
internalType: "address[3]"
|
|
11985
11997
|
},
|
|
11998
|
+
{
|
|
11999
|
+
name: "guardianP256X",
|
|
12000
|
+
type: "bytes32[3]",
|
|
12001
|
+
internalType: "bytes32[3]"
|
|
12002
|
+
},
|
|
12003
|
+
{
|
|
12004
|
+
name: "guardianP256Y",
|
|
12005
|
+
type: "bytes32[3]",
|
|
12006
|
+
internalType: "bytes32[3]"
|
|
12007
|
+
},
|
|
11986
12008
|
{
|
|
11987
12009
|
name: "dailyLimit",
|
|
11988
12010
|
type: "uint256",
|
|
@@ -12314,19 +12336,6 @@ var AAStarAirAccountV7_default = {
|
|
|
12314
12336
|
],
|
|
12315
12337
|
stateMutability: "view"
|
|
12316
12338
|
},
|
|
12317
|
-
{
|
|
12318
|
-
type: "function",
|
|
12319
|
-
name: "proposeRecovery",
|
|
12320
|
-
inputs: [
|
|
12321
|
-
{
|
|
12322
|
-
name: "_newOwner",
|
|
12323
|
-
type: "address",
|
|
12324
|
-
internalType: "address"
|
|
12325
|
-
}
|
|
12326
|
-
],
|
|
12327
|
-
outputs: [],
|
|
12328
|
-
stateMutability: "nonpayable"
|
|
12329
|
-
},
|
|
12330
12339
|
{
|
|
12331
12340
|
type: "function",
|
|
12332
12341
|
name: "removeGuardian",
|
|
@@ -12924,6 +12933,31 @@ var AAStarAirAccountV7_default = {
|
|
|
12924
12933
|
],
|
|
12925
12934
|
anonymous: false
|
|
12926
12935
|
},
|
|
12936
|
+
{
|
|
12937
|
+
type: "event",
|
|
12938
|
+
name: "P256GuardianAdded",
|
|
12939
|
+
inputs: [
|
|
12940
|
+
{
|
|
12941
|
+
name: "index",
|
|
12942
|
+
type: "uint8",
|
|
12943
|
+
indexed: true,
|
|
12944
|
+
internalType: "uint8"
|
|
12945
|
+
},
|
|
12946
|
+
{
|
|
12947
|
+
name: "x",
|
|
12948
|
+
type: "bytes32",
|
|
12949
|
+
indexed: false,
|
|
12950
|
+
internalType: "bytes32"
|
|
12951
|
+
},
|
|
12952
|
+
{
|
|
12953
|
+
name: "y",
|
|
12954
|
+
type: "bytes32",
|
|
12955
|
+
indexed: false,
|
|
12956
|
+
internalType: "bytes32"
|
|
12957
|
+
}
|
|
12958
|
+
],
|
|
12959
|
+
anonymous: false
|
|
12960
|
+
},
|
|
12927
12961
|
{
|
|
12928
12962
|
type: "event",
|
|
12929
12963
|
name: "P256KeySet",
|
|
@@ -12977,6 +13011,12 @@ var AAStarAirAccountV7_default = {
|
|
|
12977
13011
|
type: "uint256",
|
|
12978
13012
|
indexed: false,
|
|
12979
13013
|
internalType: "uint256"
|
|
13014
|
+
},
|
|
13015
|
+
{
|
|
13016
|
+
name: "guardianIdx",
|
|
13017
|
+
type: "uint8",
|
|
13018
|
+
indexed: false,
|
|
13019
|
+
internalType: "uint8"
|
|
12980
13020
|
}
|
|
12981
13021
|
],
|
|
12982
13022
|
anonymous: false
|
|
@@ -12996,6 +13036,12 @@ var AAStarAirAccountV7_default = {
|
|
|
12996
13036
|
type: "uint256",
|
|
12997
13037
|
indexed: false,
|
|
12998
13038
|
internalType: "uint256"
|
|
13039
|
+
},
|
|
13040
|
+
{
|
|
13041
|
+
name: "guardianIdx",
|
|
13042
|
+
type: "uint8",
|
|
13043
|
+
indexed: false,
|
|
13044
|
+
internalType: "uint8"
|
|
12999
13045
|
}
|
|
13000
13046
|
],
|
|
13001
13047
|
anonymous: false
|
|
@@ -13040,6 +13086,12 @@ var AAStarAirAccountV7_default = {
|
|
|
13040
13086
|
type: "address",
|
|
13041
13087
|
indexed: true,
|
|
13042
13088
|
internalType: "address"
|
|
13089
|
+
},
|
|
13090
|
+
{
|
|
13091
|
+
name: "guardianIdx",
|
|
13092
|
+
type: "uint8",
|
|
13093
|
+
indexed: false,
|
|
13094
|
+
internalType: "uint8"
|
|
13043
13095
|
}
|
|
13044
13096
|
],
|
|
13045
13097
|
anonymous: false
|
|
@@ -13406,6 +13458,11 @@ var AAStarAirAccountV7_default = {
|
|
|
13406
13458
|
name: "DuplicateGuardianSig",
|
|
13407
13459
|
inputs: []
|
|
13408
13460
|
},
|
|
13461
|
+
{
|
|
13462
|
+
type: "error",
|
|
13463
|
+
name: "DuplicateP256GuardianKey",
|
|
13464
|
+
inputs: []
|
|
13465
|
+
},
|
|
13409
13466
|
{
|
|
13410
13467
|
type: "error",
|
|
13411
13468
|
name: "ECDSAInvalidSignature",
|
|
@@ -13525,6 +13582,22 @@ var AAStarAirAccountV7_default = {
|
|
|
13525
13582
|
name: "InvalidNewOwner",
|
|
13526
13583
|
inputs: []
|
|
13527
13584
|
},
|
|
13585
|
+
{
|
|
13586
|
+
type: "error",
|
|
13587
|
+
name: "InvalidP256GuardianKey",
|
|
13588
|
+
inputs: []
|
|
13589
|
+
},
|
|
13590
|
+
{
|
|
13591
|
+
type: "error",
|
|
13592
|
+
name: "InvalidP256GuardianSignature",
|
|
13593
|
+
inputs: [
|
|
13594
|
+
{
|
|
13595
|
+
name: "gIdx",
|
|
13596
|
+
type: "uint8",
|
|
13597
|
+
internalType: "uint8"
|
|
13598
|
+
}
|
|
13599
|
+
]
|
|
13600
|
+
},
|
|
13528
13601
|
{
|
|
13529
13602
|
type: "error",
|
|
13530
13603
|
name: "InvalidP256Key",
|
|
@@ -13656,6 +13729,11 @@ var AAStarAirAccountV7_default = {
|
|
|
13656
13729
|
name: "UnsupportedInnerSelector",
|
|
13657
13730
|
inputs: []
|
|
13658
13731
|
},
|
|
13732
|
+
{
|
|
13733
|
+
type: "error",
|
|
13734
|
+
name: "UseGuardianConsensus",
|
|
13735
|
+
inputs: []
|
|
13736
|
+
},
|
|
13659
13737
|
{
|
|
13660
13738
|
type: "error",
|
|
13661
13739
|
name: "ValidatorAlreadySet",
|
|
@@ -23050,6 +23128,16 @@ var AAStarAirAccountFactoryV7_default = [
|
|
|
23050
23128
|
type: "address[3]",
|
|
23051
23129
|
internalType: "address[3]"
|
|
23052
23130
|
},
|
|
23131
|
+
{
|
|
23132
|
+
name: "guardianP256X",
|
|
23133
|
+
type: "bytes32[3]",
|
|
23134
|
+
internalType: "bytes32[3]"
|
|
23135
|
+
},
|
|
23136
|
+
{
|
|
23137
|
+
name: "guardianP256Y",
|
|
23138
|
+
type: "bytes32[3]",
|
|
23139
|
+
internalType: "bytes32[3]"
|
|
23140
|
+
},
|
|
23053
23141
|
{
|
|
23054
23142
|
name: "dailyLimit",
|
|
23055
23143
|
type: "uint256",
|
|
@@ -23265,6 +23353,16 @@ var AAStarAirAccountFactoryV7_default = [
|
|
|
23265
23353
|
type: "address[3]",
|
|
23266
23354
|
internalType: "address[3]"
|
|
23267
23355
|
},
|
|
23356
|
+
{
|
|
23357
|
+
name: "guardianP256X",
|
|
23358
|
+
type: "bytes32[3]",
|
|
23359
|
+
internalType: "bytes32[3]"
|
|
23360
|
+
},
|
|
23361
|
+
{
|
|
23362
|
+
name: "guardianP256Y",
|
|
23363
|
+
type: "bytes32[3]",
|
|
23364
|
+
internalType: "bytes32[3]"
|
|
23365
|
+
},
|
|
23268
23366
|
{
|
|
23269
23367
|
name: "dailyLimit",
|
|
23270
23368
|
type: "uint256",
|
|
@@ -23343,6 +23441,16 @@ var AAStarAirAccountFactoryV7_default = [
|
|
|
23343
23441
|
type: "address[3]",
|
|
23344
23442
|
internalType: "address[3]"
|
|
23345
23443
|
},
|
|
23444
|
+
{
|
|
23445
|
+
name: "guardianP256X",
|
|
23446
|
+
type: "bytes32[3]",
|
|
23447
|
+
internalType: "bytes32[3]"
|
|
23448
|
+
},
|
|
23449
|
+
{
|
|
23450
|
+
name: "guardianP256Y",
|
|
23451
|
+
type: "bytes32[3]",
|
|
23452
|
+
internalType: "bytes32[3]"
|
|
23453
|
+
},
|
|
23346
23454
|
{
|
|
23347
23455
|
name: "dailyLimit",
|
|
23348
23456
|
type: "uint256",
|
|
@@ -27904,6 +28012,100 @@ var AirAccountExtension_default = {
|
|
|
27904
28012
|
],
|
|
27905
28013
|
stateMutability: "view"
|
|
27906
28014
|
},
|
|
28015
|
+
{
|
|
28016
|
+
type: "function",
|
|
28017
|
+
name: "addGuardianWithMixedSigs",
|
|
28018
|
+
inputs: [
|
|
28019
|
+
{
|
|
28020
|
+
name: "_guardian",
|
|
28021
|
+
type: "address",
|
|
28022
|
+
internalType: "address"
|
|
28023
|
+
},
|
|
28024
|
+
{
|
|
28025
|
+
name: "signerIdxs",
|
|
28026
|
+
type: "uint8[]",
|
|
28027
|
+
internalType: "uint8[]"
|
|
28028
|
+
},
|
|
28029
|
+
{
|
|
28030
|
+
name: "sigs",
|
|
28031
|
+
type: "bytes[]",
|
|
28032
|
+
internalType: "bytes[]"
|
|
28033
|
+
}
|
|
28034
|
+
],
|
|
28035
|
+
outputs: [],
|
|
28036
|
+
stateMutability: "nonpayable"
|
|
28037
|
+
},
|
|
28038
|
+
{
|
|
28039
|
+
type: "function",
|
|
28040
|
+
name: "addP256Guardian",
|
|
28041
|
+
inputs: [
|
|
28042
|
+
{
|
|
28043
|
+
name: "x",
|
|
28044
|
+
type: "bytes32",
|
|
28045
|
+
internalType: "bytes32"
|
|
28046
|
+
},
|
|
28047
|
+
{
|
|
28048
|
+
name: "y",
|
|
28049
|
+
type: "bytes32",
|
|
28050
|
+
internalType: "bytes32"
|
|
28051
|
+
}
|
|
28052
|
+
],
|
|
28053
|
+
outputs: [],
|
|
28054
|
+
stateMutability: "nonpayable"
|
|
28055
|
+
},
|
|
28056
|
+
{
|
|
28057
|
+
type: "function",
|
|
28058
|
+
name: "addP256GuardianWithMixedSigs",
|
|
28059
|
+
inputs: [
|
|
28060
|
+
{
|
|
28061
|
+
name: "x",
|
|
28062
|
+
type: "bytes32",
|
|
28063
|
+
internalType: "bytes32"
|
|
28064
|
+
},
|
|
28065
|
+
{
|
|
28066
|
+
name: "y",
|
|
28067
|
+
type: "bytes32",
|
|
28068
|
+
internalType: "bytes32"
|
|
28069
|
+
},
|
|
28070
|
+
{
|
|
28071
|
+
name: "signerIdxs",
|
|
28072
|
+
type: "uint8[]",
|
|
28073
|
+
internalType: "uint8[]"
|
|
28074
|
+
},
|
|
28075
|
+
{
|
|
28076
|
+
name: "sigs",
|
|
28077
|
+
type: "bytes[]",
|
|
28078
|
+
internalType: "bytes[]"
|
|
28079
|
+
}
|
|
28080
|
+
],
|
|
28081
|
+
outputs: [],
|
|
28082
|
+
stateMutability: "nonpayable"
|
|
28083
|
+
},
|
|
28084
|
+
{
|
|
28085
|
+
type: "function",
|
|
28086
|
+
name: "approveRecovery",
|
|
28087
|
+
inputs: [],
|
|
28088
|
+
outputs: [],
|
|
28089
|
+
stateMutability: "nonpayable"
|
|
28090
|
+
},
|
|
28091
|
+
{
|
|
28092
|
+
type: "function",
|
|
28093
|
+
name: "approveRecoveryWithSig",
|
|
28094
|
+
inputs: [
|
|
28095
|
+
{
|
|
28096
|
+
name: "gIdx",
|
|
28097
|
+
type: "uint8",
|
|
28098
|
+
internalType: "uint8"
|
|
28099
|
+
},
|
|
28100
|
+
{
|
|
28101
|
+
name: "sig",
|
|
28102
|
+
type: "bytes",
|
|
28103
|
+
internalType: "bytes"
|
|
28104
|
+
}
|
|
28105
|
+
],
|
|
28106
|
+
outputs: [],
|
|
28107
|
+
stateMutability: "nonpayable"
|
|
28108
|
+
},
|
|
27907
28109
|
{
|
|
27908
28110
|
type: "function",
|
|
27909
28111
|
name: "approveWeightChange",
|
|
@@ -27970,6 +28172,31 @@ var AirAccountExtension_default = {
|
|
|
27970
28172
|
outputs: [],
|
|
27971
28173
|
stateMutability: "nonpayable"
|
|
27972
28174
|
},
|
|
28175
|
+
{
|
|
28176
|
+
type: "function",
|
|
28177
|
+
name: "cancelRecovery",
|
|
28178
|
+
inputs: [],
|
|
28179
|
+
outputs: [],
|
|
28180
|
+
stateMutability: "nonpayable"
|
|
28181
|
+
},
|
|
28182
|
+
{
|
|
28183
|
+
type: "function",
|
|
28184
|
+
name: "cancelRecoveryWithSig",
|
|
28185
|
+
inputs: [
|
|
28186
|
+
{
|
|
28187
|
+
name: "gIdx",
|
|
28188
|
+
type: "uint8",
|
|
28189
|
+
internalType: "uint8"
|
|
28190
|
+
},
|
|
28191
|
+
{
|
|
28192
|
+
name: "sig",
|
|
28193
|
+
type: "bytes",
|
|
28194
|
+
internalType: "bytes"
|
|
28195
|
+
}
|
|
28196
|
+
],
|
|
28197
|
+
outputs: [],
|
|
28198
|
+
stateMutability: "nonpayable"
|
|
28199
|
+
},
|
|
27973
28200
|
{
|
|
27974
28201
|
type: "function",
|
|
27975
28202
|
name: "cancelWeightChange",
|
|
@@ -28003,6 +28230,13 @@ var AirAccountExtension_default = {
|
|
|
28003
28230
|
outputs: [],
|
|
28004
28231
|
stateMutability: "nonpayable"
|
|
28005
28232
|
},
|
|
28233
|
+
{
|
|
28234
|
+
type: "function",
|
|
28235
|
+
name: "executeRecovery",
|
|
28236
|
+
inputs: [],
|
|
28237
|
+
outputs: [],
|
|
28238
|
+
stateMutability: "nonpayable"
|
|
28239
|
+
},
|
|
28006
28240
|
{
|
|
28007
28241
|
type: "function",
|
|
28008
28242
|
name: "executeWeightChange",
|
|
@@ -28010,6 +28244,30 @@ var AirAccountExtension_default = {
|
|
|
28010
28244
|
outputs: [],
|
|
28011
28245
|
stateMutability: "nonpayable"
|
|
28012
28246
|
},
|
|
28247
|
+
{
|
|
28248
|
+
type: "function",
|
|
28249
|
+
name: "getGuardianP256Key",
|
|
28250
|
+
inputs: [
|
|
28251
|
+
{
|
|
28252
|
+
name: "index",
|
|
28253
|
+
type: "uint8",
|
|
28254
|
+
internalType: "uint8"
|
|
28255
|
+
}
|
|
28256
|
+
],
|
|
28257
|
+
outputs: [
|
|
28258
|
+
{
|
|
28259
|
+
name: "x",
|
|
28260
|
+
type: "bytes32",
|
|
28261
|
+
internalType: "bytes32"
|
|
28262
|
+
},
|
|
28263
|
+
{
|
|
28264
|
+
name: "y",
|
|
28265
|
+
type: "bytes32",
|
|
28266
|
+
internalType: "bytes32"
|
|
28267
|
+
}
|
|
28268
|
+
],
|
|
28269
|
+
stateMutability: "view"
|
|
28270
|
+
},
|
|
28013
28271
|
{
|
|
28014
28272
|
type: "function",
|
|
28015
28273
|
name: "guard",
|
|
@@ -28047,6 +28305,39 @@ var AirAccountExtension_default = {
|
|
|
28047
28305
|
],
|
|
28048
28306
|
stateMutability: "nonpayable"
|
|
28049
28307
|
},
|
|
28308
|
+
{
|
|
28309
|
+
type: "function",
|
|
28310
|
+
name: "modifyTierLimitsWithMixedGuardians",
|
|
28311
|
+
inputs: [
|
|
28312
|
+
{
|
|
28313
|
+
name: "_tier1",
|
|
28314
|
+
type: "uint256",
|
|
28315
|
+
internalType: "uint256"
|
|
28316
|
+
},
|
|
28317
|
+
{
|
|
28318
|
+
name: "_tier2",
|
|
28319
|
+
type: "uint256",
|
|
28320
|
+
internalType: "uint256"
|
|
28321
|
+
},
|
|
28322
|
+
{
|
|
28323
|
+
name: "deadline",
|
|
28324
|
+
type: "uint256",
|
|
28325
|
+
internalType: "uint256"
|
|
28326
|
+
},
|
|
28327
|
+
{
|
|
28328
|
+
name: "signerIdxs",
|
|
28329
|
+
type: "uint8[]",
|
|
28330
|
+
internalType: "uint8[]"
|
|
28331
|
+
},
|
|
28332
|
+
{
|
|
28333
|
+
name: "sigs",
|
|
28334
|
+
type: "bytes[]",
|
|
28335
|
+
internalType: "bytes[]"
|
|
28336
|
+
}
|
|
28337
|
+
],
|
|
28338
|
+
outputs: [],
|
|
28339
|
+
stateMutability: "nonpayable"
|
|
28340
|
+
},
|
|
28050
28341
|
{
|
|
28051
28342
|
type: "function",
|
|
28052
28343
|
name: "moduleInstallTimelock",
|
|
@@ -28243,6 +28534,42 @@ var AirAccountExtension_default = {
|
|
|
28243
28534
|
outputs: [],
|
|
28244
28535
|
stateMutability: "nonpayable"
|
|
28245
28536
|
},
|
|
28537
|
+
{
|
|
28538
|
+
type: "function",
|
|
28539
|
+
name: "proposeRecovery",
|
|
28540
|
+
inputs: [
|
|
28541
|
+
{
|
|
28542
|
+
name: "newOwner",
|
|
28543
|
+
type: "address",
|
|
28544
|
+
internalType: "address"
|
|
28545
|
+
}
|
|
28546
|
+
],
|
|
28547
|
+
outputs: [],
|
|
28548
|
+
stateMutability: "nonpayable"
|
|
28549
|
+
},
|
|
28550
|
+
{
|
|
28551
|
+
type: "function",
|
|
28552
|
+
name: "proposeRecoveryWithSig",
|
|
28553
|
+
inputs: [
|
|
28554
|
+
{
|
|
28555
|
+
name: "newOwner",
|
|
28556
|
+
type: "address",
|
|
28557
|
+
internalType: "address"
|
|
28558
|
+
},
|
|
28559
|
+
{
|
|
28560
|
+
name: "gIdx",
|
|
28561
|
+
type: "uint8",
|
|
28562
|
+
internalType: "uint8"
|
|
28563
|
+
},
|
|
28564
|
+
{
|
|
28565
|
+
name: "sig",
|
|
28566
|
+
type: "bytes",
|
|
28567
|
+
internalType: "bytes"
|
|
28568
|
+
}
|
|
28569
|
+
],
|
|
28570
|
+
outputs: [],
|
|
28571
|
+
stateMutability: "nonpayable"
|
|
28572
|
+
},
|
|
28246
28573
|
{
|
|
28247
28574
|
type: "function",
|
|
28248
28575
|
name: "proposeWeightChange",
|
|
@@ -28357,6 +28684,29 @@ var AirAccountExtension_default = {
|
|
|
28357
28684
|
],
|
|
28358
28685
|
stateMutability: "view"
|
|
28359
28686
|
},
|
|
28687
|
+
{
|
|
28688
|
+
type: "function",
|
|
28689
|
+
name: "removeGuardianWithMixedSigs",
|
|
28690
|
+
inputs: [
|
|
28691
|
+
{
|
|
28692
|
+
name: "index",
|
|
28693
|
+
type: "uint8",
|
|
28694
|
+
internalType: "uint8"
|
|
28695
|
+
},
|
|
28696
|
+
{
|
|
28697
|
+
name: "signerIdxs",
|
|
28698
|
+
type: "uint8[]",
|
|
28699
|
+
internalType: "uint8[]"
|
|
28700
|
+
},
|
|
28701
|
+
{
|
|
28702
|
+
name: "sigs",
|
|
28703
|
+
type: "bytes[]",
|
|
28704
|
+
internalType: "bytes[]"
|
|
28705
|
+
}
|
|
28706
|
+
],
|
|
28707
|
+
outputs: [],
|
|
28708
|
+
stateMutability: "nonpayable"
|
|
28709
|
+
},
|
|
28360
28710
|
{
|
|
28361
28711
|
type: "function",
|
|
28362
28712
|
name: "setAgentWallet",
|
|
@@ -28724,6 +29074,44 @@ var AirAccountExtension_default = {
|
|
|
28724
29074
|
],
|
|
28725
29075
|
anonymous: false
|
|
28726
29076
|
},
|
|
29077
|
+
{
|
|
29078
|
+
type: "event",
|
|
29079
|
+
name: "GuardianAdded",
|
|
29080
|
+
inputs: [
|
|
29081
|
+
{
|
|
29082
|
+
name: "index",
|
|
29083
|
+
type: "uint8",
|
|
29084
|
+
indexed: true,
|
|
29085
|
+
internalType: "uint8"
|
|
29086
|
+
},
|
|
29087
|
+
{
|
|
29088
|
+
name: "guardian",
|
|
29089
|
+
type: "address",
|
|
29090
|
+
indexed: true,
|
|
29091
|
+
internalType: "address"
|
|
29092
|
+
}
|
|
29093
|
+
],
|
|
29094
|
+
anonymous: false
|
|
29095
|
+
},
|
|
29096
|
+
{
|
|
29097
|
+
type: "event",
|
|
29098
|
+
name: "GuardianRemoved",
|
|
29099
|
+
inputs: [
|
|
29100
|
+
{
|
|
29101
|
+
name: "index",
|
|
29102
|
+
type: "uint8",
|
|
29103
|
+
indexed: true,
|
|
29104
|
+
internalType: "uint8"
|
|
29105
|
+
},
|
|
29106
|
+
{
|
|
29107
|
+
name: "guardian",
|
|
29108
|
+
type: "address",
|
|
29109
|
+
indexed: true,
|
|
29110
|
+
internalType: "address"
|
|
29111
|
+
}
|
|
29112
|
+
],
|
|
29113
|
+
anonymous: false
|
|
29114
|
+
},
|
|
28727
29115
|
{
|
|
28728
29116
|
type: "event",
|
|
28729
29117
|
name: "Initialized",
|
|
@@ -28844,6 +29232,175 @@ var AirAccountExtension_default = {
|
|
|
28844
29232
|
],
|
|
28845
29233
|
anonymous: false
|
|
28846
29234
|
},
|
|
29235
|
+
{
|
|
29236
|
+
type: "event",
|
|
29237
|
+
name: "OwnerChanged",
|
|
29238
|
+
inputs: [
|
|
29239
|
+
{
|
|
29240
|
+
name: "oldOwner",
|
|
29241
|
+
type: "address",
|
|
29242
|
+
indexed: true,
|
|
29243
|
+
internalType: "address"
|
|
29244
|
+
},
|
|
29245
|
+
{
|
|
29246
|
+
name: "newOwner",
|
|
29247
|
+
type: "address",
|
|
29248
|
+
indexed: true,
|
|
29249
|
+
internalType: "address"
|
|
29250
|
+
}
|
|
29251
|
+
],
|
|
29252
|
+
anonymous: false
|
|
29253
|
+
},
|
|
29254
|
+
{
|
|
29255
|
+
type: "event",
|
|
29256
|
+
name: "P256GuardianAdded",
|
|
29257
|
+
inputs: [
|
|
29258
|
+
{
|
|
29259
|
+
name: "index",
|
|
29260
|
+
type: "uint8",
|
|
29261
|
+
indexed: true,
|
|
29262
|
+
internalType: "uint8"
|
|
29263
|
+
},
|
|
29264
|
+
{
|
|
29265
|
+
name: "x",
|
|
29266
|
+
type: "bytes32",
|
|
29267
|
+
indexed: false,
|
|
29268
|
+
internalType: "bytes32"
|
|
29269
|
+
},
|
|
29270
|
+
{
|
|
29271
|
+
name: "y",
|
|
29272
|
+
type: "bytes32",
|
|
29273
|
+
indexed: false,
|
|
29274
|
+
internalType: "bytes32"
|
|
29275
|
+
}
|
|
29276
|
+
],
|
|
29277
|
+
anonymous: false
|
|
29278
|
+
},
|
|
29279
|
+
{
|
|
29280
|
+
type: "event",
|
|
29281
|
+
name: "RecoveryApproved",
|
|
29282
|
+
inputs: [
|
|
29283
|
+
{
|
|
29284
|
+
name: "newOwner",
|
|
29285
|
+
type: "address",
|
|
29286
|
+
indexed: true,
|
|
29287
|
+
internalType: "address"
|
|
29288
|
+
},
|
|
29289
|
+
{
|
|
29290
|
+
name: "approvedBy",
|
|
29291
|
+
type: "address",
|
|
29292
|
+
indexed: true,
|
|
29293
|
+
internalType: "address"
|
|
29294
|
+
},
|
|
29295
|
+
{
|
|
29296
|
+
name: "approvalCount",
|
|
29297
|
+
type: "uint256",
|
|
29298
|
+
indexed: false,
|
|
29299
|
+
internalType: "uint256"
|
|
29300
|
+
},
|
|
29301
|
+
{
|
|
29302
|
+
name: "guardianIdx",
|
|
29303
|
+
type: "uint8",
|
|
29304
|
+
indexed: false,
|
|
29305
|
+
internalType: "uint8"
|
|
29306
|
+
}
|
|
29307
|
+
],
|
|
29308
|
+
anonymous: false
|
|
29309
|
+
},
|
|
29310
|
+
{
|
|
29311
|
+
type: "event",
|
|
29312
|
+
name: "RecoveryCancelVoted",
|
|
29313
|
+
inputs: [
|
|
29314
|
+
{
|
|
29315
|
+
name: "votedBy",
|
|
29316
|
+
type: "address",
|
|
29317
|
+
indexed: true,
|
|
29318
|
+
internalType: "address"
|
|
29319
|
+
},
|
|
29320
|
+
{
|
|
29321
|
+
name: "cancelCount",
|
|
29322
|
+
type: "uint256",
|
|
29323
|
+
indexed: false,
|
|
29324
|
+
internalType: "uint256"
|
|
29325
|
+
},
|
|
29326
|
+
{
|
|
29327
|
+
name: "guardianIdx",
|
|
29328
|
+
type: "uint8",
|
|
29329
|
+
indexed: false,
|
|
29330
|
+
internalType: "uint8"
|
|
29331
|
+
}
|
|
29332
|
+
],
|
|
29333
|
+
anonymous: false
|
|
29334
|
+
},
|
|
29335
|
+
{
|
|
29336
|
+
type: "event",
|
|
29337
|
+
name: "RecoveryCancelled",
|
|
29338
|
+
inputs: [],
|
|
29339
|
+
anonymous: false
|
|
29340
|
+
},
|
|
29341
|
+
{
|
|
29342
|
+
type: "event",
|
|
29343
|
+
name: "RecoveryExecuted",
|
|
29344
|
+
inputs: [
|
|
29345
|
+
{
|
|
29346
|
+
name: "oldOwner",
|
|
29347
|
+
type: "address",
|
|
29348
|
+
indexed: true,
|
|
29349
|
+
internalType: "address"
|
|
29350
|
+
},
|
|
29351
|
+
{
|
|
29352
|
+
name: "newOwner",
|
|
29353
|
+
type: "address",
|
|
29354
|
+
indexed: true,
|
|
29355
|
+
internalType: "address"
|
|
29356
|
+
}
|
|
29357
|
+
],
|
|
29358
|
+
anonymous: false
|
|
29359
|
+
},
|
|
29360
|
+
{
|
|
29361
|
+
type: "event",
|
|
29362
|
+
name: "RecoveryProposed",
|
|
29363
|
+
inputs: [
|
|
29364
|
+
{
|
|
29365
|
+
name: "newOwner",
|
|
29366
|
+
type: "address",
|
|
29367
|
+
indexed: true,
|
|
29368
|
+
internalType: "address"
|
|
29369
|
+
},
|
|
29370
|
+
{
|
|
29371
|
+
name: "proposedBy",
|
|
29372
|
+
type: "address",
|
|
29373
|
+
indexed: true,
|
|
29374
|
+
internalType: "address"
|
|
29375
|
+
},
|
|
29376
|
+
{
|
|
29377
|
+
name: "guardianIdx",
|
|
29378
|
+
type: "uint8",
|
|
29379
|
+
indexed: false,
|
|
29380
|
+
internalType: "uint8"
|
|
29381
|
+
}
|
|
29382
|
+
],
|
|
29383
|
+
anonymous: false
|
|
29384
|
+
},
|
|
29385
|
+
{
|
|
29386
|
+
type: "event",
|
|
29387
|
+
name: "TierLimitsSet",
|
|
29388
|
+
inputs: [
|
|
29389
|
+
{
|
|
29390
|
+
name: "tier1",
|
|
29391
|
+
type: "uint256",
|
|
29392
|
+
indexed: false,
|
|
29393
|
+
internalType: "uint256"
|
|
29394
|
+
},
|
|
29395
|
+
{
|
|
29396
|
+
name: "tier2",
|
|
29397
|
+
type: "uint256",
|
|
29398
|
+
indexed: false,
|
|
29399
|
+
internalType: "uint256"
|
|
29400
|
+
}
|
|
29401
|
+
],
|
|
29402
|
+
anonymous: false
|
|
29403
|
+
},
|
|
28847
29404
|
{
|
|
28848
29405
|
type: "event",
|
|
28849
29406
|
name: "WeightChangeApproved",
|
|
@@ -29133,6 +29690,31 @@ var AirAccountExtension_default = {
|
|
|
29133
29690
|
name: "AgentRegistrationFailed",
|
|
29134
29691
|
inputs: []
|
|
29135
29692
|
},
|
|
29693
|
+
{
|
|
29694
|
+
type: "error",
|
|
29695
|
+
name: "AlreadyApproved",
|
|
29696
|
+
inputs: []
|
|
29697
|
+
},
|
|
29698
|
+
{
|
|
29699
|
+
type: "error",
|
|
29700
|
+
name: "AlreadyCancelVoted",
|
|
29701
|
+
inputs: []
|
|
29702
|
+
},
|
|
29703
|
+
{
|
|
29704
|
+
type: "error",
|
|
29705
|
+
name: "CannotIncreaseTierLimit",
|
|
29706
|
+
inputs: []
|
|
29707
|
+
},
|
|
29708
|
+
{
|
|
29709
|
+
type: "error",
|
|
29710
|
+
name: "DuplicateGuardianSig",
|
|
29711
|
+
inputs: []
|
|
29712
|
+
},
|
|
29713
|
+
{
|
|
29714
|
+
type: "error",
|
|
29715
|
+
name: "DuplicateP256GuardianKey",
|
|
29716
|
+
inputs: []
|
|
29717
|
+
},
|
|
29136
29718
|
{
|
|
29137
29719
|
type: "error",
|
|
29138
29720
|
name: "ECDSAInvalidSignature",
|
|
@@ -29160,6 +29742,11 @@ var AirAccountExtension_default = {
|
|
|
29160
29742
|
}
|
|
29161
29743
|
]
|
|
29162
29744
|
},
|
|
29745
|
+
{
|
|
29746
|
+
type: "error",
|
|
29747
|
+
name: "GuardianAlreadySet",
|
|
29748
|
+
inputs: []
|
|
29749
|
+
},
|
|
29163
29750
|
{
|
|
29164
29751
|
type: "error",
|
|
29165
29752
|
name: "IdentityRegistrationFailed",
|
|
@@ -29175,11 +29762,26 @@ var AirAccountExtension_default = {
|
|
|
29175
29762
|
name: "InstallModuleUnauthorized",
|
|
29176
29763
|
inputs: []
|
|
29177
29764
|
},
|
|
29765
|
+
{
|
|
29766
|
+
type: "error",
|
|
29767
|
+
name: "InsufficientGuardianApprovals",
|
|
29768
|
+
inputs: []
|
|
29769
|
+
},
|
|
29770
|
+
{
|
|
29771
|
+
type: "error",
|
|
29772
|
+
name: "InvalidAuthenticatorData",
|
|
29773
|
+
inputs: []
|
|
29774
|
+
},
|
|
29178
29775
|
{
|
|
29179
29776
|
type: "error",
|
|
29180
29777
|
name: "InvalidGuardian",
|
|
29181
29778
|
inputs: []
|
|
29182
29779
|
},
|
|
29780
|
+
{
|
|
29781
|
+
type: "error",
|
|
29782
|
+
name: "InvalidGuardianSignature",
|
|
29783
|
+
inputs: []
|
|
29784
|
+
},
|
|
29183
29785
|
{
|
|
29184
29786
|
type: "error",
|
|
29185
29787
|
name: "InvalidInitialization",
|
|
@@ -29190,6 +29792,42 @@ var AirAccountExtension_default = {
|
|
|
29190
29792
|
name: "InvalidModuleType",
|
|
29191
29793
|
inputs: []
|
|
29192
29794
|
},
|
|
29795
|
+
{
|
|
29796
|
+
type: "error",
|
|
29797
|
+
name: "InvalidNewOwner",
|
|
29798
|
+
inputs: []
|
|
29799
|
+
},
|
|
29800
|
+
{
|
|
29801
|
+
type: "error",
|
|
29802
|
+
name: "InvalidP256GuardianKey",
|
|
29803
|
+
inputs: []
|
|
29804
|
+
},
|
|
29805
|
+
{
|
|
29806
|
+
type: "error",
|
|
29807
|
+
name: "InvalidP256GuardianSignature",
|
|
29808
|
+
inputs: [
|
|
29809
|
+
{
|
|
29810
|
+
name: "gIdx",
|
|
29811
|
+
type: "uint8",
|
|
29812
|
+
internalType: "uint8"
|
|
29813
|
+
}
|
|
29814
|
+
]
|
|
29815
|
+
},
|
|
29816
|
+
{
|
|
29817
|
+
type: "error",
|
|
29818
|
+
name: "InvalidTierConfig",
|
|
29819
|
+
inputs: []
|
|
29820
|
+
},
|
|
29821
|
+
{
|
|
29822
|
+
type: "error",
|
|
29823
|
+
name: "MaxGuardiansReached",
|
|
29824
|
+
inputs: []
|
|
29825
|
+
},
|
|
29826
|
+
{
|
|
29827
|
+
type: "error",
|
|
29828
|
+
name: "MinGuardianRequired",
|
|
29829
|
+
inputs: []
|
|
29830
|
+
},
|
|
29193
29831
|
{
|
|
29194
29832
|
type: "error",
|
|
29195
29833
|
name: "ModuleAlreadyInstalled",
|
|
@@ -29251,6 +29889,11 @@ var AirAccountExtension_default = {
|
|
|
29251
29889
|
name: "ModuleInvalid",
|
|
29252
29890
|
inputs: []
|
|
29253
29891
|
},
|
|
29892
|
+
{
|
|
29893
|
+
type: "error",
|
|
29894
|
+
name: "NoActiveRecovery",
|
|
29895
|
+
inputs: []
|
|
29896
|
+
},
|
|
29254
29897
|
{
|
|
29255
29898
|
type: "error",
|
|
29256
29899
|
name: "NoModuleInstallProposal",
|
|
@@ -29286,11 +29929,31 @@ var AirAccountExtension_default = {
|
|
|
29286
29929
|
name: "RecoveryAlreadyActive",
|
|
29287
29930
|
inputs: []
|
|
29288
29931
|
},
|
|
29932
|
+
{
|
|
29933
|
+
type: "error",
|
|
29934
|
+
name: "RecoveryAlreadyProposed",
|
|
29935
|
+
inputs: []
|
|
29936
|
+
},
|
|
29937
|
+
{
|
|
29938
|
+
type: "error",
|
|
29939
|
+
name: "RecoveryNotApproved",
|
|
29940
|
+
inputs: []
|
|
29941
|
+
},
|
|
29942
|
+
{
|
|
29943
|
+
type: "error",
|
|
29944
|
+
name: "RecoveryTimelockNotExpired",
|
|
29945
|
+
inputs: []
|
|
29946
|
+
},
|
|
29289
29947
|
{
|
|
29290
29948
|
type: "error",
|
|
29291
29949
|
name: "Reentrancy",
|
|
29292
29950
|
inputs: []
|
|
29293
29951
|
},
|
|
29952
|
+
{
|
|
29953
|
+
type: "error",
|
|
29954
|
+
name: "TierLimitSigExpired",
|
|
29955
|
+
inputs: []
|
|
29956
|
+
},
|
|
29294
29957
|
{
|
|
29295
29958
|
type: "error",
|
|
29296
29959
|
name: "UnauthorizedRegistry",
|
|
@@ -29307,6 +29970,11 @@ var AirAccountExtension_default = {
|
|
|
29307
29970
|
}
|
|
29308
29971
|
]
|
|
29309
29972
|
},
|
|
29973
|
+
{
|
|
29974
|
+
type: "error",
|
|
29975
|
+
name: "UseGuardianConsensus",
|
|
29976
|
+
inputs: []
|
|
29977
|
+
},
|
|
29310
29978
|
{
|
|
29311
29979
|
type: "error",
|
|
29312
29980
|
name: "WeakeningRequiresProposal",
|
|
@@ -41251,6 +41919,27 @@ var airAccountFactoryActions = (address) => (client) => ({
|
|
|
41251
41919
|
throw AAStarError.fromViemError(error, "createAccount");
|
|
41252
41920
|
}
|
|
41253
41921
|
},
|
|
41922
|
+
async createAccountWithDefaults({ owner, salt, guardian1, guardian1Sig, guardian2, guardian2Sig, dailyLimit, account, maxFeePerGas, maxPriorityFeePerGas }) {
|
|
41923
|
+
try {
|
|
41924
|
+
validateAddress(owner, "owner");
|
|
41925
|
+
validateAddress(guardian1, "guardian1");
|
|
41926
|
+
validateRequired(guardian1Sig, "guardian1Sig");
|
|
41927
|
+
validateAddress(guardian2, "guardian2");
|
|
41928
|
+
validateRequired(guardian2Sig, "guardian2Sig");
|
|
41929
|
+
return await client.writeContract({
|
|
41930
|
+
address,
|
|
41931
|
+
abi: ABI3,
|
|
41932
|
+
functionName: "createAccountWithDefaults",
|
|
41933
|
+
args: [owner, salt, guardian1, guardian1Sig, guardian2, guardian2Sig, dailyLimit],
|
|
41934
|
+
account,
|
|
41935
|
+
chain: client.chain,
|
|
41936
|
+
...maxFeePerGas !== void 0 ? { maxFeePerGas } : {},
|
|
41937
|
+
...maxPriorityFeePerGas !== void 0 ? { maxPriorityFeePerGas } : {}
|
|
41938
|
+
});
|
|
41939
|
+
} catch (error) {
|
|
41940
|
+
throw AAStarError.fromViemError(error, "createAccountWithDefaults");
|
|
41941
|
+
}
|
|
41942
|
+
},
|
|
41254
41943
|
async getAddressWithChainId({ owner, salt, config }) {
|
|
41255
41944
|
try {
|
|
41256
41945
|
validateAddress(owner, "owner");
|
|
@@ -41395,6 +42084,72 @@ var airAccountFactoryActions = (address) => (client) => ({
|
|
|
41395
42084
|
}
|
|
41396
42085
|
});
|
|
41397
42086
|
|
|
42087
|
+
// ../core/src/actions/airAccountExtension.ts
|
|
42088
|
+
var V7_ABI = AAStarAirAccountV7ABI;
|
|
42089
|
+
var EXT_ABI = AirAccountExtensionABI;
|
|
42090
|
+
var BATCH2 = (fn) => {
|
|
42091
|
+
throw new AAStarError(
|
|
42092
|
+
"E4001" /* NOT_IMPLEMENTED */,
|
|
42093
|
+
`${fn} is part of the Batch 2 / P-256 (WebAuthn) guardian feature and is not yet wired into the SDK. The v0.20.0 contract supports it (AirAccountExtension, via the account fallback), but the SDK assertion/payload encoders land in Batch 2.`
|
|
42094
|
+
);
|
|
42095
|
+
};
|
|
42096
|
+
var airAccountExtensionActions = (address) => (client) => ({
|
|
42097
|
+
// ── Views ─────────────────────────────────────────────────────────────────
|
|
42098
|
+
async getRecoveryNonce() {
|
|
42099
|
+
try {
|
|
42100
|
+
return await client.readContract({
|
|
42101
|
+
address,
|
|
42102
|
+
abi: V7_ABI,
|
|
42103
|
+
functionName: "getRecoveryNonce",
|
|
42104
|
+
args: []
|
|
42105
|
+
});
|
|
42106
|
+
} catch (error) {
|
|
42107
|
+
throw AAStarError.fromViemError(error, "getRecoveryNonce");
|
|
42108
|
+
}
|
|
42109
|
+
},
|
|
42110
|
+
async getGuardianP256Key({ index }) {
|
|
42111
|
+
try {
|
|
42112
|
+
validateRequired(index, "index");
|
|
42113
|
+
const r = await client.readContract({
|
|
42114
|
+
address,
|
|
42115
|
+
abi: EXT_ABI,
|
|
42116
|
+
functionName: "getGuardianP256Key",
|
|
42117
|
+
args: [index]
|
|
42118
|
+
});
|
|
42119
|
+
return { x: r[0], y: r[1] };
|
|
42120
|
+
} catch (error) {
|
|
42121
|
+
throw AAStarError.fromViemError(error, "getGuardianP256Key");
|
|
42122
|
+
}
|
|
42123
|
+
},
|
|
42124
|
+
// ── Batch 2 stubs ──────────────────────────────────────────────────────────
|
|
42125
|
+
// Each references its ABI functionName so the doc-coverage gate counts the
|
|
42126
|
+
// wrapper while the real encoder is deferred to Batch 2.
|
|
42127
|
+
async addP256Guardian() {
|
|
42128
|
+
return BATCH2("addP256Guardian");
|
|
42129
|
+
},
|
|
42130
|
+
async addP256GuardianWithMixedSigs() {
|
|
42131
|
+
return BATCH2("addP256GuardianWithMixedSigs");
|
|
42132
|
+
},
|
|
42133
|
+
async addGuardianWithMixedSigs() {
|
|
42134
|
+
return BATCH2("addGuardianWithMixedSigs");
|
|
42135
|
+
},
|
|
42136
|
+
async proposeRecoveryWithSig() {
|
|
42137
|
+
return BATCH2("proposeRecoveryWithSig");
|
|
42138
|
+
},
|
|
42139
|
+
async approveRecoveryWithSig() {
|
|
42140
|
+
return BATCH2("approveRecoveryWithSig");
|
|
42141
|
+
},
|
|
42142
|
+
async cancelRecoveryWithSig() {
|
|
42143
|
+
return BATCH2("cancelRecoveryWithSig");
|
|
42144
|
+
},
|
|
42145
|
+
async removeGuardianWithMixedSigs() {
|
|
42146
|
+
return BATCH2("removeGuardianWithMixedSigs");
|
|
42147
|
+
},
|
|
42148
|
+
async modifyTierLimitsWithMixedGuardians() {
|
|
42149
|
+
return BATCH2("modifyTierLimitsWithMixedGuardians");
|
|
42150
|
+
}
|
|
42151
|
+
});
|
|
42152
|
+
|
|
41398
42153
|
// ../core/src/actions/agentRegistry.ts
|
|
41399
42154
|
var ABI4 = AgentRegistryABI;
|
|
41400
42155
|
var agentRegistryActions = (address) => (client) => ({
|
|
@@ -41708,6 +42463,37 @@ var sessionKeyValidatorActions = (address) => (client) => ({
|
|
|
41708
42463
|
} catch (error) {
|
|
41709
42464
|
throw AAStarError.fromViemError(error, "recordCallForVelocity");
|
|
41710
42465
|
}
|
|
42466
|
+
},
|
|
42467
|
+
async buildGrantHash({ account, sessionKey, cfg }) {
|
|
42468
|
+
try {
|
|
42469
|
+
validateAddress(account, "account");
|
|
42470
|
+
validateAddress(sessionKey, "sessionKey");
|
|
42471
|
+
validateRequired(cfg, "cfg");
|
|
42472
|
+
return await client.readContract({
|
|
42473
|
+
address,
|
|
42474
|
+
abi: ABI5,
|
|
42475
|
+
functionName: "buildGrantHash",
|
|
42476
|
+
args: [account, sessionKey, cfg]
|
|
42477
|
+
});
|
|
42478
|
+
} catch (error) {
|
|
42479
|
+
throw AAStarError.fromViemError(error, "buildGrantHash");
|
|
42480
|
+
}
|
|
42481
|
+
},
|
|
42482
|
+
async buildP256GrantHash({ account, p256KeyX, p256KeyY, cfg }) {
|
|
42483
|
+
try {
|
|
42484
|
+
validateAddress(account, "account");
|
|
42485
|
+
validateRequired(p256KeyX, "p256KeyX");
|
|
42486
|
+
validateRequired(p256KeyY, "p256KeyY");
|
|
42487
|
+
validateRequired(cfg, "cfg");
|
|
42488
|
+
return await client.readContract({
|
|
42489
|
+
address,
|
|
42490
|
+
abi: ABI5,
|
|
42491
|
+
functionName: "buildP256GrantHash",
|
|
42492
|
+
args: [account, p256KeyX, p256KeyY, cfg]
|
|
42493
|
+
});
|
|
42494
|
+
} catch (error) {
|
|
42495
|
+
throw AAStarError.fromViemError(error, "buildP256GrantHash");
|
|
42496
|
+
}
|
|
41711
42497
|
}
|
|
41712
42498
|
});
|
|
41713
42499
|
|
|
@@ -42005,7 +42791,7 @@ var RequirementChecker = class {
|
|
|
42005
42791
|
const missingRequirements = [];
|
|
42006
42792
|
let hasRole = false;
|
|
42007
42793
|
if (roleId) {
|
|
42008
|
-
const { CORE_ADDRESSES: CORE_ADDRESSES2 } = await import('./contract-addresses-
|
|
42794
|
+
const { CORE_ADDRESSES: CORE_ADDRESSES2 } = await import('./contract-addresses-RABD77VP.cjs');
|
|
42009
42795
|
hasRole = await this.publicClient.readContract({
|
|
42010
42796
|
address: this.addresses?.registry || CORE_ADDRESSES2.registry,
|
|
42011
42797
|
abi: REGISTRY_ABI,
|
|
@@ -42018,7 +42804,7 @@ var RequirementChecker = class {
|
|
|
42018
42804
|
}
|
|
42019
42805
|
let hasEnoughGToken = true;
|
|
42020
42806
|
if (requiredGToken > 0n) {
|
|
42021
|
-
const { CORE_ADDRESSES: CORE_ADDRESSES2 } = await import('./contract-addresses-
|
|
42807
|
+
const { CORE_ADDRESSES: CORE_ADDRESSES2 } = await import('./contract-addresses-RABD77VP.cjs');
|
|
42022
42808
|
const gtokenBalance = await this.publicClient.readContract({
|
|
42023
42809
|
address: this.addresses?.gtoken || CORE_ADDRESSES2.gToken,
|
|
42024
42810
|
abi: ERC20_ABI,
|
|
@@ -42034,7 +42820,7 @@ var RequirementChecker = class {
|
|
|
42034
42820
|
}
|
|
42035
42821
|
let hasEnoughAPNTs = true;
|
|
42036
42822
|
if (requiredAPNTs > 0n) {
|
|
42037
|
-
const { CORE_ADDRESSES: CORE_ADDRESSES2 } = await import('./contract-addresses-
|
|
42823
|
+
const { CORE_ADDRESSES: CORE_ADDRESSES2 } = await import('./contract-addresses-RABD77VP.cjs');
|
|
42038
42824
|
const apntsBalance = await this.publicClient.readContract({
|
|
42039
42825
|
address: this.addresses?.apnts || CORE_ADDRESSES2.aPNTs,
|
|
42040
42826
|
abi: ERC20_ABI,
|
|
@@ -42050,7 +42836,7 @@ var RequirementChecker = class {
|
|
|
42050
42836
|
}
|
|
42051
42837
|
let hasSBT = false;
|
|
42052
42838
|
if (requireSBT) {
|
|
42053
|
-
const { CORE_ADDRESSES: CORE_ADDRESSES2 } = await import('./contract-addresses-
|
|
42839
|
+
const { CORE_ADDRESSES: CORE_ADDRESSES2 } = await import('./contract-addresses-RABD77VP.cjs');
|
|
42054
42840
|
const sbtBalance = await this.publicClient.readContract({
|
|
42055
42841
|
address: this.addresses?.mysbt || CORE_ADDRESSES2.mySBT,
|
|
42056
42842
|
abi: MYSBT_ABI,
|
|
@@ -42074,7 +42860,7 @@ var RequirementChecker = class {
|
|
|
42074
42860
|
* Check GToken balance only (shortcut)
|
|
42075
42861
|
*/
|
|
42076
42862
|
async checkGTokenBalance(address, required) {
|
|
42077
|
-
const { CORE_ADDRESSES: CORE_ADDRESSES2 } = await import('./contract-addresses-
|
|
42863
|
+
const { CORE_ADDRESSES: CORE_ADDRESSES2 } = await import('./contract-addresses-RABD77VP.cjs');
|
|
42078
42864
|
const balance = await this.publicClient.readContract({
|
|
42079
42865
|
address: this.addresses?.gtoken || CORE_ADDRESSES2.gToken,
|
|
42080
42866
|
abi: ERC20_ABI,
|
|
@@ -42090,7 +42876,7 @@ var RequirementChecker = class {
|
|
|
42090
42876
|
* Check aPNTs balance only (shortcut)
|
|
42091
42877
|
*/
|
|
42092
42878
|
async checkAPNTsBalance(address, required) {
|
|
42093
|
-
const { CORE_ADDRESSES: CORE_ADDRESSES2 } = await import('./contract-addresses-
|
|
42879
|
+
const { CORE_ADDRESSES: CORE_ADDRESSES2 } = await import('./contract-addresses-RABD77VP.cjs');
|
|
42094
42880
|
const balance = await this.publicClient.readContract({
|
|
42095
42881
|
address: this.addresses?.apnts || CORE_ADDRESSES2.aPNTs,
|
|
42096
42882
|
abi: ERC20_ABI,
|
|
@@ -42106,7 +42892,7 @@ var RequirementChecker = class {
|
|
|
42106
42892
|
* Check if user has MySBT (shortcut)
|
|
42107
42893
|
*/
|
|
42108
42894
|
async checkHasSBT(address) {
|
|
42109
|
-
const { CORE_ADDRESSES: CORE_ADDRESSES2 } = await import('./contract-addresses-
|
|
42895
|
+
const { CORE_ADDRESSES: CORE_ADDRESSES2 } = await import('./contract-addresses-RABD77VP.cjs');
|
|
42110
42896
|
const balance = await this.publicClient.readContract({
|
|
42111
42897
|
address: this.addresses?.mysbt || CORE_ADDRESSES2.mySBT,
|
|
42112
42898
|
abi: MYSBT_ABI,
|
|
@@ -42119,7 +42905,7 @@ var RequirementChecker = class {
|
|
|
42119
42905
|
* Check if user has specific role (shortcut)
|
|
42120
42906
|
*/
|
|
42121
42907
|
async checkHasRole(roleId, address) {
|
|
42122
|
-
const { CORE_ADDRESSES: CORE_ADDRESSES2 } = await import('./contract-addresses-
|
|
42908
|
+
const { CORE_ADDRESSES: CORE_ADDRESSES2 } = await import('./contract-addresses-RABD77VP.cjs');
|
|
42123
42909
|
return await this.publicClient.readContract({
|
|
42124
42910
|
address: this.addresses?.registry || CORE_ADDRESSES2.registry,
|
|
42125
42911
|
abi: REGISTRY_ABI,
|
|
@@ -42131,7 +42917,7 @@ var RequirementChecker = class {
|
|
|
42131
42917
|
* Check a user's on-chain role stake (`getRoleStake(roleId, operator)`) (shortcut).
|
|
42132
42918
|
*/
|
|
42133
42919
|
async checkRoleStake(roleId, address, required) {
|
|
42134
|
-
const { CORE_ADDRESSES: CORE_ADDRESSES2 } = await import('./contract-addresses-
|
|
42920
|
+
const { CORE_ADDRESSES: CORE_ADDRESSES2 } = await import('./contract-addresses-RABD77VP.cjs');
|
|
42135
42921
|
const staked = await this.publicClient.readContract({
|
|
42136
42922
|
address: this.addresses?.registry || CORE_ADDRESSES2.registry,
|
|
42137
42923
|
abi: REGISTRY_ABI,
|
|
@@ -42207,13 +42993,13 @@ var ContractConfigManager = class {
|
|
|
42207
42993
|
*/
|
|
42208
42994
|
static getConfig() {
|
|
42209
42995
|
const config = {
|
|
42210
|
-
registry:
|
|
42211
|
-
gToken:
|
|
42212
|
-
gTokenStaking:
|
|
42213
|
-
superPaymaster:
|
|
42214
|
-
paymasterV4:
|
|
42215
|
-
paymasterFactory:
|
|
42216
|
-
entryPoint:
|
|
42996
|
+
registry: chunkMXJEULSE_cjs.CORE_ADDRESSES.registry,
|
|
42997
|
+
gToken: chunkMXJEULSE_cjs.CORE_ADDRESSES.gToken,
|
|
42998
|
+
gTokenStaking: chunkMXJEULSE_cjs.CORE_ADDRESSES.gTokenStaking,
|
|
42999
|
+
superPaymaster: chunkMXJEULSE_cjs.CORE_ADDRESSES.superPaymaster,
|
|
43000
|
+
paymasterV4: chunkMXJEULSE_cjs.CORE_ADDRESSES.paymasterV4,
|
|
43001
|
+
paymasterFactory: chunkMXJEULSE_cjs.CORE_ADDRESSES.paymasterFactory,
|
|
43002
|
+
entryPoint: chunkMXJEULSE_cjs.CORE_ADDRESSES.entryPoint || "0x0000000071727De22E5E9d8BAf0edAc6f37da032"
|
|
42217
43003
|
};
|
|
42218
43004
|
this.validate(config);
|
|
42219
43005
|
return config;
|
|
@@ -42402,6 +43188,7 @@ exports.agentActions = agentActions;
|
|
|
42402
43188
|
exports.agentRegistryActions = agentRegistryActions;
|
|
42403
43189
|
exports.aggregatorActions = aggregatorActions;
|
|
42404
43190
|
exports.airAccountActions = airAccountActions;
|
|
43191
|
+
exports.airAccountExtensionActions = airAccountExtensionActions;
|
|
42405
43192
|
exports.airAccountFactoryActions = airAccountFactoryActions;
|
|
42406
43193
|
exports.blsAlgorithmActions = blsAlgorithmActions;
|
|
42407
43194
|
exports.channelActions = channelActions;
|
|
@@ -42468,5 +43255,5 @@ exports.xPNTsFactoryArtifact = xPNTsFactoryArtifact;
|
|
|
42468
43255
|
exports.xPNTsTokenABI = xPNTsTokenABI;
|
|
42469
43256
|
exports.xPNTsTokenActions = xPNTsTokenActions;
|
|
42470
43257
|
exports.xPNTsTokenArtifact = xPNTsTokenArtifact;
|
|
42471
|
-
//# sourceMappingURL=chunk-
|
|
42472
|
-
//# sourceMappingURL=chunk-
|
|
43258
|
+
//# sourceMappingURL=chunk-CIEYY3A6.cjs.map
|
|
43259
|
+
//# sourceMappingURL=chunk-CIEYY3A6.cjs.map
|