@veridex/sdk 1.0.0-beta.17 → 1.0.0-beta.20
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +416 -117
- package/dist/auth/prepareAuth.d.mts +25 -0
- package/dist/auth/prepareAuth.d.ts +25 -0
- package/dist/auth/prepareAuth.js +1553 -0
- package/dist/auth/prepareAuth.js.map +1 -0
- package/dist/auth/prepareAuth.mjs +1530 -0
- package/dist/auth/prepareAuth.mjs.map +1 -0
- package/dist/chains/aptos/index.d.mts +1 -1
- package/dist/chains/aptos/index.d.ts +1 -1
- package/dist/chains/evm/index.d.mts +2 -2
- package/dist/chains/evm/index.d.ts +2 -2
- package/dist/chains/solana/index.d.mts +1 -1
- package/dist/chains/solana/index.d.ts +1 -1
- package/dist/chains/stacks/index.d.mts +1 -1
- package/dist/chains/stacks/index.d.ts +1 -1
- package/dist/chains/starknet/index.d.mts +1 -1
- package/dist/chains/starknet/index.d.ts +1 -1
- package/dist/chains/sui/index.d.mts +1 -1
- package/dist/chains/sui/index.d.ts +1 -1
- package/dist/{index-CYOyIE3b.d.mts → index-Dy29mvBf.d.mts} +1 -1
- package/dist/{index-BXcR_ypI.d.ts → index-eXXqodd0.d.ts} +1 -1
- package/dist/index.d.mts +103 -25
- package/dist/index.d.ts +103 -25
- package/dist/index.js +198 -25
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +185 -17
- package/dist/index.mjs.map +1 -1
- package/dist/queries/index.js +36 -1
- package/dist/queries/index.js.map +1 -1
- package/dist/queries/index.mjs +36 -1
- package/dist/queries/index.mjs.map +1 -1
- package/dist/{types-DE2ICQik.d.mts → types-DakHNZIP.d.mts} +2 -0
- package/dist/{types-DE2ICQik.d.ts → types-DakHNZIP.d.ts} +2 -0
- package/dist/types.d.mts +2 -0
- package/dist/types.d.ts +2 -0
- package/dist/types.js.map +1 -1
- package/package.json +6 -1
package/dist/index.js
CHANGED
|
@@ -52,6 +52,11 @@ __export(src_exports, {
|
|
|
52
52
|
DEFAULT_REFRESH_BUFFER: () => DEFAULT_REFRESH_BUFFER,
|
|
53
53
|
DEFAULT_RELAYER_URL: () => DEFAULT_RELAYER_URL,
|
|
54
54
|
DEFAULT_SESSION_DURATION: () => DEFAULT_SESSION_DURATION,
|
|
55
|
+
ERC8004_CHAINS: () => ERC8004_CHAINS,
|
|
56
|
+
ERC8004_MAINNET_IDENTITY: () => ERC8004_MAINNET_IDENTITY,
|
|
57
|
+
ERC8004_MAINNET_REPUTATION: () => ERC8004_MAINNET_REPUTATION,
|
|
58
|
+
ERC8004_TESTNET_IDENTITY: () => ERC8004_TESTNET_IDENTITY,
|
|
59
|
+
ERC8004_TESTNET_REPUTATION: () => ERC8004_TESTNET_REPUTATION,
|
|
55
60
|
ERROR_MESSAGES: () => ERROR_MESSAGES,
|
|
56
61
|
ERROR_RANGES: () => ERROR_RANGES,
|
|
57
62
|
ETHEREUM_SEPOLIA_TOKENS: () => ETHEREUM_SEPOLIA_TOKENS,
|
|
@@ -61,18 +66,21 @@ __export(src_exports, {
|
|
|
61
66
|
GUARDIAN_CONFIG: () => GUARDIAN_CONFIG,
|
|
62
67
|
GasSponsor: () => GasSponsor,
|
|
63
68
|
HUB_ABI: () => HUB_ABI,
|
|
69
|
+
IDENTITY_REGISTRY_ABI: () => IDENTITY_REGISTRY_ABI,
|
|
70
|
+
IDENTITY_REGISTRY_READ_ABI: () => IDENTITY_REGISTRY_READ_ABI,
|
|
64
71
|
IndexedDBSessionStorage: () => IndexedDBSessionStorage,
|
|
65
72
|
LIMIT_PRESETS: () => LIMIT_PRESETS,
|
|
66
73
|
LocalStorageSessionStorage: () => LocalStorageSessionStorage,
|
|
67
74
|
MAINNET_CHAINS: () => MAINNET_CHAINS,
|
|
68
75
|
MAX_SESSION_DURATION: () => MAX_SESSION_DURATION,
|
|
69
76
|
MIN_SESSION_DURATION: () => MIN_SESSION_DURATION,
|
|
77
|
+
MONAD_TESTNET_TOKENS: () => MONAD_TESTNET_TOKENS,
|
|
70
78
|
NATIVE_TOKEN_ADDRESS: () => NATIVE_TOKEN_ADDRESS,
|
|
71
79
|
OPTIMISM_SEPOLIA_TOKENS: () => OPTIMISM_SEPOLIA_TOKENS,
|
|
72
80
|
PROTOCOL_VERSION: () => PROTOCOL_VERSION,
|
|
73
81
|
PasskeyManager: () => PasskeyManager,
|
|
74
|
-
|
|
75
|
-
|
|
82
|
+
REPUTATION_REGISTRY_ABI: () => REPUTATION_REGISTRY_ABI,
|
|
83
|
+
REPUTATION_REGISTRY_READ_ABI: () => REPUTATION_REGISTRY_READ_ABI,
|
|
76
84
|
RelayerClient: () => RelayerClient,
|
|
77
85
|
STACKS_ACTION_TYPES: () => STACKS_ACTION_TYPES,
|
|
78
86
|
SessionError: () => SessionError,
|
|
@@ -86,6 +94,7 @@ __export(src_exports, {
|
|
|
86
94
|
TOKEN_REGISTRY: () => TOKEN_REGISTRY,
|
|
87
95
|
TransactionParser: () => TransactionParser,
|
|
88
96
|
TransactionTracker: () => TransactionTracker,
|
|
97
|
+
VALIDATION_REGISTRY_ABI: () => VALIDATION_REGISTRY_ABI,
|
|
89
98
|
VAULT_ABI: () => VAULT_ABI,
|
|
90
99
|
VAULT_FACTORY_ABI: () => VAULT_FACTORY_ABI,
|
|
91
100
|
VERIDEX_ERRORS: () => VERIDEX_ERRORS,
|
|
@@ -94,11 +103,7 @@ __export(src_exports, {
|
|
|
94
103
|
WORMHOLE_API: () => WORMHOLE_API,
|
|
95
104
|
WORMHOLE_CHAIN_IDS: () => WORMHOLE_CHAIN_IDS,
|
|
96
105
|
WORMHOLE_CHAIN_IDS_FLAT: () => WORMHOLE_CHAIN_IDS_FLAT,
|
|
97
|
-
WORMHOLE_QUERY_CHAIN_IDS: () => WORMHOLE_QUERY_CHAIN_IDS,
|
|
98
|
-
WORMHOLE_QUERY_PROXY_URLS: () => WORMHOLE_QUERY_PROXY_URLS,
|
|
99
|
-
WORMHOLE_QUERY_RATE_LIMIT_PER_SECOND: () => WORMHOLE_QUERY_RATE_LIMIT_PER_SECOND,
|
|
100
106
|
WalletManager: () => WalletManager,
|
|
101
|
-
authenticateAndPrepare: () => authenticateAndPrepare,
|
|
102
107
|
base64URLDecode: () => base64URLDecode,
|
|
103
108
|
base64URLEncode: () => base64URLEncode,
|
|
104
109
|
buildChallenge: () => buildChallenge,
|
|
@@ -167,6 +172,7 @@ __export(src_exports, {
|
|
|
167
172
|
getChainPreset: () => getChainPreset,
|
|
168
173
|
getConfigTypeName: () => getConfigTypeName,
|
|
169
174
|
getDefaultHub: () => getDefaultHub,
|
|
175
|
+
getERC8004Addresses: () => getERC8004Addresses,
|
|
170
176
|
getErrorCategory: () => getErrorCategory,
|
|
171
177
|
getErrorMessage: () => getErrorMessage,
|
|
172
178
|
getExplorerUrl: () => getExplorerUrl,
|
|
@@ -191,6 +197,7 @@ __export(src_exports, {
|
|
|
191
197
|
isAbiError: () => isAbiError,
|
|
192
198
|
isChainSupported: () => isChainSupported,
|
|
193
199
|
isCoreError: () => isCoreError,
|
|
200
|
+
isERC8004Chain: () => isERC8004Chain,
|
|
194
201
|
isEvmChain: () => isEvmChain,
|
|
195
202
|
isNativeToken: () => isNativeToken,
|
|
196
203
|
isQueryError: () => isQueryError,
|
|
@@ -214,8 +221,6 @@ __export(src_exports, {
|
|
|
214
221
|
parseVAABytes: () => parseVAABytes,
|
|
215
222
|
parseVeridexError: () => parseVeridexError,
|
|
216
223
|
parseVeridexPayload: () => parseVeridexPayload,
|
|
217
|
-
queryHubState: () => queryHubState,
|
|
218
|
-
queryPortfolio: () => queryPortfolio,
|
|
219
224
|
retryWithBackoff: () => retryWithBackoff,
|
|
220
225
|
sendAuthError: () => sendAuthError,
|
|
221
226
|
sendAuthResponse: () => sendAuthResponse,
|
|
@@ -1926,11 +1931,46 @@ var ETHEREUM_SEPOLIA_TOKENS = {
|
|
|
1926
1931
|
}
|
|
1927
1932
|
]
|
|
1928
1933
|
};
|
|
1934
|
+
var MONAD_TESTNET_TOKENS = {
|
|
1935
|
+
wormholeChainId: 10048,
|
|
1936
|
+
chainName: "Monad Testnet",
|
|
1937
|
+
nativeToken: {
|
|
1938
|
+
symbol: "MON",
|
|
1939
|
+
name: "Monad",
|
|
1940
|
+
decimals: 18,
|
|
1941
|
+
address: NATIVE_TOKEN_ADDRESS,
|
|
1942
|
+
isNative: true
|
|
1943
|
+
},
|
|
1944
|
+
tokens: [
|
|
1945
|
+
{
|
|
1946
|
+
symbol: "USDC",
|
|
1947
|
+
name: "USD Coin",
|
|
1948
|
+
decimals: 6,
|
|
1949
|
+
address: "0x754704Bc059F8C67012fEd69BC8A327a5aafb603",
|
|
1950
|
+
isNative: false
|
|
1951
|
+
},
|
|
1952
|
+
{
|
|
1953
|
+
symbol: "AUSD",
|
|
1954
|
+
name: "Agora Dollar",
|
|
1955
|
+
decimals: 18,
|
|
1956
|
+
address: "0x00000000eFE302BEAA2b3e6e1b18d08D69a9012a",
|
|
1957
|
+
isNative: false
|
|
1958
|
+
},
|
|
1959
|
+
{
|
|
1960
|
+
symbol: "WMON",
|
|
1961
|
+
name: "Wrapped MON",
|
|
1962
|
+
decimals: 18,
|
|
1963
|
+
address: "0x3bd359C1119dA7Da1D913D1C4D2B7c461115433A",
|
|
1964
|
+
isNative: false
|
|
1965
|
+
}
|
|
1966
|
+
]
|
|
1967
|
+
};
|
|
1929
1968
|
var TOKEN_REGISTRY = {
|
|
1930
1969
|
10004: BASE_SEPOLIA_TOKENS,
|
|
1931
1970
|
10005: OPTIMISM_SEPOLIA_TOKENS,
|
|
1932
1971
|
10003: ARBITRUM_SEPOLIA_TOKENS,
|
|
1933
|
-
10002: ETHEREUM_SEPOLIA_TOKENS
|
|
1972
|
+
10002: ETHEREUM_SEPOLIA_TOKENS,
|
|
1973
|
+
10048: MONAD_TESTNET_TOKENS
|
|
1934
1974
|
};
|
|
1935
1975
|
function getTokenList(wormholeChainId) {
|
|
1936
1976
|
return TOKEN_REGISTRY[wormholeChainId] ?? null;
|
|
@@ -6922,14 +6962,6 @@ var WORMHOLE_QUERY_PROXY_URLS = {
|
|
|
6922
6962
|
mainnet: "https://query.wormhole.com/v1/query",
|
|
6923
6963
|
testnet: "https://testnet.query.wormhole.com/v1/query"
|
|
6924
6964
|
};
|
|
6925
|
-
var WORMHOLE_QUERY_RATE_LIMIT_PER_SECOND = 6;
|
|
6926
|
-
var WORMHOLE_QUERY_CHAIN_IDS = {
|
|
6927
|
-
ETHEREUM: 2,
|
|
6928
|
-
POLYGON: 5,
|
|
6929
|
-
ARBITRUM: 23,
|
|
6930
|
-
OPTIMISM: 24,
|
|
6931
|
-
BASE: 30
|
|
6932
|
-
};
|
|
6933
6965
|
|
|
6934
6966
|
// src/queries/hubState.ts
|
|
6935
6967
|
var QueryHubStateError = class extends Error {
|
|
@@ -12277,6 +12309,8 @@ var CHAIN_NAMES = {
|
|
|
12277
12309
|
FANTOM: "fantom",
|
|
12278
12310
|
CELO: "celo",
|
|
12279
12311
|
MOONBEAM: "moonbeam",
|
|
12312
|
+
// EVM L1s (High Performance)
|
|
12313
|
+
MONAD: "monad",
|
|
12280
12314
|
// Non-EVM
|
|
12281
12315
|
SOLANA: "solana",
|
|
12282
12316
|
APTOS: "aptos",
|
|
@@ -12714,6 +12748,45 @@ var CHAIN_PRESETS = {
|
|
|
12714
12748
|
}
|
|
12715
12749
|
},
|
|
12716
12750
|
// ────────────────────────────────────────────────────────────────────────
|
|
12751
|
+
// MONAD - High-Performance L1 with EIP-7951 P256 + Agent Gateway
|
|
12752
|
+
// ────────────────────────────────────────────────────────────────────────
|
|
12753
|
+
monad: {
|
|
12754
|
+
displayName: "Monad",
|
|
12755
|
+
type: "evm",
|
|
12756
|
+
canBeHub: true,
|
|
12757
|
+
// Has native P-256 precompile (EIP-7951)
|
|
12758
|
+
testnet: {
|
|
12759
|
+
name: "Monad Testnet",
|
|
12760
|
+
chainId: 10143,
|
|
12761
|
+
wormholeChainId: 10048,
|
|
12762
|
+
rpcUrl: "https://testnet-rpc.monad.xyz",
|
|
12763
|
+
explorerUrl: "https://testnet.monadvision.com",
|
|
12764
|
+
isEvm: true,
|
|
12765
|
+
contracts: {
|
|
12766
|
+
vaultFactory: "0x07F608AFf6d63b68029488b726d895c4Bb593038",
|
|
12767
|
+
vaultImplementation: "0xD66153fccFB6731fB6c4944FbD607ba86A76a1f6",
|
|
12768
|
+
wormholeCoreBridge: "0xBB73cB66C26740F31d1FabDC6b7A46a038A300dd",
|
|
12769
|
+
// Agent Gateway contracts
|
|
12770
|
+
serviceDirectory: "0x0D2B4193e78107678a5aC29d795e0EcD361aE3A7"
|
|
12771
|
+
},
|
|
12772
|
+
hubChainId: 10004
|
|
12773
|
+
// Base Sepolia
|
|
12774
|
+
},
|
|
12775
|
+
mainnet: {
|
|
12776
|
+
name: "Monad",
|
|
12777
|
+
chainId: 143,
|
|
12778
|
+
wormholeChainId: 0,
|
|
12779
|
+
// TBD
|
|
12780
|
+
rpcUrl: "https://rpc.monad.xyz",
|
|
12781
|
+
explorerUrl: "https://monadscan.com",
|
|
12782
|
+
isEvm: true,
|
|
12783
|
+
contracts: {
|
|
12784
|
+
wormholeCoreBridge: "0x194B123c5E96B9b2E49763619985790Dc241CAC0",
|
|
12785
|
+
tokenBridge: "0x0B2719cdA2F10595369e6673ceA3Ee2EDFa13BA7"
|
|
12786
|
+
}
|
|
12787
|
+
}
|
|
12788
|
+
},
|
|
12789
|
+
// ────────────────────────────────────────────────────────────────────────
|
|
12717
12790
|
// SEI
|
|
12718
12791
|
// ────────────────────────────────────────────────────────────────────────
|
|
12719
12792
|
sei: {
|
|
@@ -14746,6 +14819,101 @@ function getSuggestedAction(code) {
|
|
|
14746
14819
|
return "An error occurred. Please try again or contact support.";
|
|
14747
14820
|
}
|
|
14748
14821
|
}
|
|
14822
|
+
|
|
14823
|
+
// src/erc8004/contracts.ts
|
|
14824
|
+
var ERC8004_MAINNET_IDENTITY = "0x8004A169FB4a3325136EB29fA0ceB6D2e539a432";
|
|
14825
|
+
var ERC8004_MAINNET_REPUTATION = "0x8004BAa17C55a88189AE136b182e5fdA19dE9b63";
|
|
14826
|
+
var ERC8004_TESTNET_IDENTITY = "0x8004A818BFB912233c491871b3d84c89A494BD9e";
|
|
14827
|
+
var ERC8004_TESTNET_REPUTATION = "0x8004B663056A597Dffe9eCcC1965A193B7388713";
|
|
14828
|
+
function getERC8004Addresses(testnet) {
|
|
14829
|
+
return {
|
|
14830
|
+
identityRegistry: testnet ? ERC8004_TESTNET_IDENTITY : ERC8004_MAINNET_IDENTITY,
|
|
14831
|
+
reputationRegistry: testnet ? ERC8004_TESTNET_REPUTATION : ERC8004_MAINNET_REPUTATION
|
|
14832
|
+
};
|
|
14833
|
+
}
|
|
14834
|
+
function isERC8004Chain(chainName) {
|
|
14835
|
+
return ERC8004_CHAINS.mainnet.includes(chainName) || ERC8004_CHAINS.testnet.includes(chainName);
|
|
14836
|
+
}
|
|
14837
|
+
var ERC8004_CHAINS = {
|
|
14838
|
+
mainnet: [
|
|
14839
|
+
"ethereum",
|
|
14840
|
+
"base",
|
|
14841
|
+
"polygon",
|
|
14842
|
+
"arbitrum",
|
|
14843
|
+
"optimism",
|
|
14844
|
+
"linea",
|
|
14845
|
+
"megaeth",
|
|
14846
|
+
"monad"
|
|
14847
|
+
],
|
|
14848
|
+
testnet: [
|
|
14849
|
+
"ethereum-sepolia",
|
|
14850
|
+
"base-sepolia",
|
|
14851
|
+
"polygon-amoy",
|
|
14852
|
+
"arbitrum-sepolia",
|
|
14853
|
+
"optimism-sepolia",
|
|
14854
|
+
"monad-testnet"
|
|
14855
|
+
]
|
|
14856
|
+
};
|
|
14857
|
+
var IDENTITY_REGISTRY_READ_ABI = [
|
|
14858
|
+
"function ownerOf(uint256 tokenId) view returns (address)",
|
|
14859
|
+
"function balanceOf(address owner) view returns (uint256)",
|
|
14860
|
+
"function totalSupply() view returns (uint256)",
|
|
14861
|
+
"function agentURI(uint256 agentId) view returns (string)",
|
|
14862
|
+
"function agentWallet(uint256 agentId) view returns (address)",
|
|
14863
|
+
"function getMetadata(uint256 agentId, string key) view returns (string)"
|
|
14864
|
+
];
|
|
14865
|
+
var REPUTATION_REGISTRY_READ_ABI = [
|
|
14866
|
+
"function getSummary(uint256 agentId, address[] clientAddresses, string tag1, string tag2) view returns (uint256 count, int128 summaryValue, uint8 summaryValueDecimals)",
|
|
14867
|
+
"function readFeedback(uint256 agentId, address clientAddress, uint256 feedbackIndex) view returns (int128 value, uint8 valueDecimals, string tag1, string tag2, bool isRevoked)",
|
|
14868
|
+
"function getClients(uint256 agentId) view returns (address[])",
|
|
14869
|
+
"function getLastIndex(uint256 agentId, address clientAddress) view returns (uint256)"
|
|
14870
|
+
];
|
|
14871
|
+
var IDENTITY_REGISTRY_ABI = [
|
|
14872
|
+
// Registration
|
|
14873
|
+
"function register(string agentURI) returns (uint256)",
|
|
14874
|
+
"function register(string agentURI, tuple(string key, string value)[] metadata) returns (uint256)",
|
|
14875
|
+
// Read — ERC-721 standard
|
|
14876
|
+
"function ownerOf(uint256 tokenId) view returns (address)",
|
|
14877
|
+
"function balanceOf(address owner) view returns (uint256)",
|
|
14878
|
+
"function totalSupply() view returns (uint256)",
|
|
14879
|
+
// Read — ERC-8004 specific
|
|
14880
|
+
"function agentURI(uint256 agentId) view returns (string)",
|
|
14881
|
+
"function agentWallet(uint256 agentId) view returns (address)",
|
|
14882
|
+
"function getMetadata(uint256 agentId, string key) view returns (string)",
|
|
14883
|
+
// Write — URI and wallet management
|
|
14884
|
+
"function setAgentURI(uint256 agentId, string newURI)",
|
|
14885
|
+
"function setAgentWallet(uint256 agentId, address wallet, uint256 deadline, bytes signature)",
|
|
14886
|
+
"function unsetAgentWallet(uint256 agentId)",
|
|
14887
|
+
"function setMetadata(uint256 agentId, string key, string value)",
|
|
14888
|
+
// Events
|
|
14889
|
+
"event Transfer(address indexed from, address indexed to, uint256 indexed tokenId)",
|
|
14890
|
+
"event AgentURIUpdated(uint256 indexed agentId, string newURI)",
|
|
14891
|
+
"event AgentWalletSet(uint256 indexed agentId, address wallet)",
|
|
14892
|
+
"event AgentWalletUnset(uint256 indexed agentId)",
|
|
14893
|
+
"event MetadataUpdated(uint256 indexed agentId, string key, string value)"
|
|
14894
|
+
];
|
|
14895
|
+
var REPUTATION_REGISTRY_ABI = [
|
|
14896
|
+
// Write
|
|
14897
|
+
"function giveFeedback(uint256 agentId, int128 value, uint8 valueDecimals, string tag1, string tag2)",
|
|
14898
|
+
"function giveFeedback(uint256 agentId, int128 value, uint8 valueDecimals, string tag1, string tag2, string endpointURI, string feedbackURI, bytes32 feedbackHash)",
|
|
14899
|
+
"function revokeFeedback(uint256 agentId, uint256 feedbackIndex)",
|
|
14900
|
+
"function appendResponse(uint256 agentId, address clientAddress, uint256 feedbackIndex, string responseURI, bytes32 responseHash)",
|
|
14901
|
+
// Read
|
|
14902
|
+
"function getSummary(uint256 agentId, address[] clientAddresses, string tag1, string tag2) view returns (uint256 count, int128 summaryValue, uint8 summaryValueDecimals)",
|
|
14903
|
+
"function readFeedback(uint256 agentId, address clientAddress, uint256 feedbackIndex) view returns (int128 value, uint8 valueDecimals, string tag1, string tag2, bool isRevoked)",
|
|
14904
|
+
"function getClients(uint256 agentId) view returns (address[])",
|
|
14905
|
+
"function getLastIndex(uint256 agentId, address clientAddress) view returns (uint256)",
|
|
14906
|
+
// Events
|
|
14907
|
+
"event FeedbackGiven(uint256 indexed agentId, address indexed client, int128 value, uint8 valueDecimals)",
|
|
14908
|
+
"event FeedbackRevoked(uint256 indexed agentId, address indexed client, uint256 feedbackIndex)",
|
|
14909
|
+
"event ResponseAppended(uint256 indexed agentId, address indexed client, uint256 feedbackIndex)"
|
|
14910
|
+
];
|
|
14911
|
+
var VALIDATION_REGISTRY_ABI = [
|
|
14912
|
+
"function validationRequest(address validatorAddress, uint256 agentId, string requestURI, bytes32 requestHash) returns (bytes32)",
|
|
14913
|
+
"function getValidationStatus(bytes32 requestHash) view returns (address validatorAddress, uint256 agentId, uint8 response, bytes32 responseHash, string tag, uint256 lastUpdate)",
|
|
14914
|
+
"function getSummary(uint256 agentId, address[] validatorAddresses, string tag) view returns (uint256 count, uint256 averageResponse)",
|
|
14915
|
+
"function getAgentValidations(uint256 agentId) view returns (bytes32[])"
|
|
14916
|
+
];
|
|
14749
14917
|
// Annotate the CommonJS export names for ESM import in node:
|
|
14750
14918
|
0 && (module.exports = {
|
|
14751
14919
|
ACTION_BRIDGE,
|
|
@@ -14770,6 +14938,11 @@ function getSuggestedAction(code) {
|
|
|
14770
14938
|
DEFAULT_REFRESH_BUFFER,
|
|
14771
14939
|
DEFAULT_RELAYER_URL,
|
|
14772
14940
|
DEFAULT_SESSION_DURATION,
|
|
14941
|
+
ERC8004_CHAINS,
|
|
14942
|
+
ERC8004_MAINNET_IDENTITY,
|
|
14943
|
+
ERC8004_MAINNET_REPUTATION,
|
|
14944
|
+
ERC8004_TESTNET_IDENTITY,
|
|
14945
|
+
ERC8004_TESTNET_REPUTATION,
|
|
14773
14946
|
ERROR_MESSAGES,
|
|
14774
14947
|
ERROR_RANGES,
|
|
14775
14948
|
ETHEREUM_SEPOLIA_TOKENS,
|
|
@@ -14779,18 +14952,21 @@ function getSuggestedAction(code) {
|
|
|
14779
14952
|
GUARDIAN_CONFIG,
|
|
14780
14953
|
GasSponsor,
|
|
14781
14954
|
HUB_ABI,
|
|
14955
|
+
IDENTITY_REGISTRY_ABI,
|
|
14956
|
+
IDENTITY_REGISTRY_READ_ABI,
|
|
14782
14957
|
IndexedDBSessionStorage,
|
|
14783
14958
|
LIMIT_PRESETS,
|
|
14784
14959
|
LocalStorageSessionStorage,
|
|
14785
14960
|
MAINNET_CHAINS,
|
|
14786
14961
|
MAX_SESSION_DURATION,
|
|
14787
14962
|
MIN_SESSION_DURATION,
|
|
14963
|
+
MONAD_TESTNET_TOKENS,
|
|
14788
14964
|
NATIVE_TOKEN_ADDRESS,
|
|
14789
14965
|
OPTIMISM_SEPOLIA_TOKENS,
|
|
14790
14966
|
PROTOCOL_VERSION,
|
|
14791
14967
|
PasskeyManager,
|
|
14792
|
-
|
|
14793
|
-
|
|
14968
|
+
REPUTATION_REGISTRY_ABI,
|
|
14969
|
+
REPUTATION_REGISTRY_READ_ABI,
|
|
14794
14970
|
RelayerClient,
|
|
14795
14971
|
STACKS_ACTION_TYPES,
|
|
14796
14972
|
SessionError,
|
|
@@ -14804,6 +14980,7 @@ function getSuggestedAction(code) {
|
|
|
14804
14980
|
TOKEN_REGISTRY,
|
|
14805
14981
|
TransactionParser,
|
|
14806
14982
|
TransactionTracker,
|
|
14983
|
+
VALIDATION_REGISTRY_ABI,
|
|
14807
14984
|
VAULT_ABI,
|
|
14808
14985
|
VAULT_FACTORY_ABI,
|
|
14809
14986
|
VERIDEX_ERRORS,
|
|
@@ -14812,11 +14989,7 @@ function getSuggestedAction(code) {
|
|
|
14812
14989
|
WORMHOLE_API,
|
|
14813
14990
|
WORMHOLE_CHAIN_IDS,
|
|
14814
14991
|
WORMHOLE_CHAIN_IDS_FLAT,
|
|
14815
|
-
WORMHOLE_QUERY_CHAIN_IDS,
|
|
14816
|
-
WORMHOLE_QUERY_PROXY_URLS,
|
|
14817
|
-
WORMHOLE_QUERY_RATE_LIMIT_PER_SECOND,
|
|
14818
14992
|
WalletManager,
|
|
14819
|
-
authenticateAndPrepare,
|
|
14820
14993
|
base64URLDecode,
|
|
14821
14994
|
base64URLEncode,
|
|
14822
14995
|
buildChallenge,
|
|
@@ -14884,6 +15057,7 @@ function getSuggestedAction(code) {
|
|
|
14884
15057
|
getChainPreset,
|
|
14885
15058
|
getConfigTypeName,
|
|
14886
15059
|
getDefaultHub,
|
|
15060
|
+
getERC8004Addresses,
|
|
14887
15061
|
getErrorCategory,
|
|
14888
15062
|
getErrorMessage,
|
|
14889
15063
|
getExplorerUrl,
|
|
@@ -14908,6 +15082,7 @@ function getSuggestedAction(code) {
|
|
|
14908
15082
|
isAbiError,
|
|
14909
15083
|
isChainSupported,
|
|
14910
15084
|
isCoreError,
|
|
15085
|
+
isERC8004Chain,
|
|
14911
15086
|
isEvmChain,
|
|
14912
15087
|
isNativeToken,
|
|
14913
15088
|
isQueryError,
|
|
@@ -14931,8 +15106,6 @@ function getSuggestedAction(code) {
|
|
|
14931
15106
|
parseVAABytes,
|
|
14932
15107
|
parseVeridexError,
|
|
14933
15108
|
parseVeridexPayload,
|
|
14934
|
-
queryHubState,
|
|
14935
|
-
queryPortfolio,
|
|
14936
15109
|
retryWithBackoff,
|
|
14937
15110
|
sendAuthError,
|
|
14938
15111
|
sendAuthResponse,
|