@agether/sdk 1.6.1 → 1.6.2
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/cli.d.ts +25 -0
- package/dist/cli.d.ts.map +1 -0
- package/dist/cli.js +348 -0
- package/dist/clients/AgentIdentityClient.d.ts +188 -0
- package/dist/clients/AgentIdentityClient.d.ts.map +1 -0
- package/dist/clients/AgentIdentityClient.js +333 -0
- package/dist/clients/AgetherClient.d.ts +63 -0
- package/dist/clients/AgetherClient.d.ts.map +1 -0
- package/dist/clients/AgetherClient.js +171 -0
- package/dist/clients/MorphoClient.d.ts +287 -0
- package/dist/clients/MorphoClient.d.ts.map +1 -0
- package/dist/clients/MorphoClient.js +951 -0
- package/dist/clients/ScoringClient.d.ts +89 -0
- package/dist/clients/ScoringClient.d.ts.map +1 -0
- package/dist/clients/ScoringClient.js +93 -0
- package/dist/clients/X402Client.d.ts +130 -0
- package/dist/clients/X402Client.d.ts.map +1 -0
- package/dist/clients/X402Client.js +301 -0
- package/dist/index.d.mts +142 -1
- package/dist/index.d.ts +142 -1
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +348 -0
- package/dist/index.mjs +348 -0
- package/dist/types/index.d.ts +121 -0
- package/dist/types/index.d.ts.map +1 -0
- package/dist/types/index.js +43 -0
- package/dist/utils/abis.d.ts +18 -0
- package/dist/utils/abis.d.ts.map +1 -0
- package/dist/utils/abis.js +93 -0
- package/dist/utils/config.d.ts +34 -0
- package/dist/utils/config.d.ts.map +1 -0
- package/dist/utils/config.js +115 -0
- package/dist/utils/format.d.ts +44 -0
- package/dist/utils/format.d.ts.map +1 -0
- package/dist/utils/format.js +75 -0
- package/package.json +1 -1
|
@@ -0,0 +1,287 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* MorphoClient — Direct Morpho Blue lending via AgentAccount.executeBatch
|
|
3
|
+
*
|
|
4
|
+
* Architecture (no intermediary contract):
|
|
5
|
+
* EOA → AgentAccount.executeBatch → Morpho Blue (direct)
|
|
6
|
+
*
|
|
7
|
+
* Batched operations:
|
|
8
|
+
* - depositAndBorrow: [ERC20.approve, Morpho.supplyCollateral, Morpho.borrow]
|
|
9
|
+
* - repay: [ERC20.approve, Morpho.repay]
|
|
10
|
+
* - supplyCollateral: [ERC20.approve, Morpho.supplyCollateral]
|
|
11
|
+
*
|
|
12
|
+
* Market discovery via Morpho GraphQL API (https://api.morpho.org/graphql)
|
|
13
|
+
*/
|
|
14
|
+
import { MorphoMarketParams, MorphoMarketInfo, MorphoPosition, ScoreAttestation, ChainId } from '../types';
|
|
15
|
+
export interface MorphoClientConfig {
|
|
16
|
+
privateKey: string;
|
|
17
|
+
rpcUrl: string;
|
|
18
|
+
agentId?: string;
|
|
19
|
+
chainId?: ChainId;
|
|
20
|
+
contracts?: Partial<{
|
|
21
|
+
accountFactory: string;
|
|
22
|
+
morphoBlue: string;
|
|
23
|
+
usdc: string;
|
|
24
|
+
agentReputation: string;
|
|
25
|
+
identityRegistry: string;
|
|
26
|
+
}>;
|
|
27
|
+
}
|
|
28
|
+
export interface BalancesResult {
|
|
29
|
+
agentId: string;
|
|
30
|
+
address: string;
|
|
31
|
+
eth: string;
|
|
32
|
+
usdc: string;
|
|
33
|
+
collateral: Record<string, string>;
|
|
34
|
+
agentAccount?: {
|
|
35
|
+
address: string;
|
|
36
|
+
eth: string;
|
|
37
|
+
usdc: string;
|
|
38
|
+
collateral: Record<string, string>;
|
|
39
|
+
};
|
|
40
|
+
}
|
|
41
|
+
export interface RegisterResult {
|
|
42
|
+
agentId: string;
|
|
43
|
+
address: string;
|
|
44
|
+
agentAccount: string;
|
|
45
|
+
alreadyRegistered: boolean;
|
|
46
|
+
tx?: string;
|
|
47
|
+
}
|
|
48
|
+
export interface PositionResult {
|
|
49
|
+
marketId: string;
|
|
50
|
+
collateralToken: string;
|
|
51
|
+
collateral: string;
|
|
52
|
+
borrowShares: string;
|
|
53
|
+
supplyShares: string;
|
|
54
|
+
debt: string;
|
|
55
|
+
}
|
|
56
|
+
export interface StatusResult {
|
|
57
|
+
agentId: string;
|
|
58
|
+
agentAccount: string;
|
|
59
|
+
totalDebt: string;
|
|
60
|
+
positions: PositionResult[];
|
|
61
|
+
}
|
|
62
|
+
export interface DepositResult {
|
|
63
|
+
tx: string;
|
|
64
|
+
collateralToken: string;
|
|
65
|
+
amount: string;
|
|
66
|
+
agentAccount: string;
|
|
67
|
+
}
|
|
68
|
+
export interface BorrowResult {
|
|
69
|
+
tx: string;
|
|
70
|
+
amount: string;
|
|
71
|
+
collateralToken: string;
|
|
72
|
+
agentAccount: string;
|
|
73
|
+
}
|
|
74
|
+
export interface DepositAndBorrowResult {
|
|
75
|
+
tx: string;
|
|
76
|
+
collateralToken: string;
|
|
77
|
+
collateralAmount: string;
|
|
78
|
+
borrowAmount: string;
|
|
79
|
+
agentAccount: string;
|
|
80
|
+
}
|
|
81
|
+
export interface RepayResult {
|
|
82
|
+
tx: string;
|
|
83
|
+
amount: string;
|
|
84
|
+
remainingDebt: string;
|
|
85
|
+
}
|
|
86
|
+
export interface WithdrawResult {
|
|
87
|
+
tx: string;
|
|
88
|
+
token: string;
|
|
89
|
+
amount: string;
|
|
90
|
+
remainingCollateral: string;
|
|
91
|
+
destination: string;
|
|
92
|
+
}
|
|
93
|
+
export interface FundResult {
|
|
94
|
+
tx: string;
|
|
95
|
+
amount: string;
|
|
96
|
+
agentAccount: string;
|
|
97
|
+
}
|
|
98
|
+
export declare class MorphoClient {
|
|
99
|
+
private wallet;
|
|
100
|
+
private provider;
|
|
101
|
+
private config;
|
|
102
|
+
private agentId;
|
|
103
|
+
private accountFactory;
|
|
104
|
+
private morphoBlue;
|
|
105
|
+
private agentReputation;
|
|
106
|
+
private identityRegistry;
|
|
107
|
+
private _accountAddress?;
|
|
108
|
+
private _marketCache;
|
|
109
|
+
private _discoveredMarkets?;
|
|
110
|
+
private _discoveredAt;
|
|
111
|
+
constructor(config: MorphoClientConfig);
|
|
112
|
+
/** Resolve the AgentAccount address (cached). */
|
|
113
|
+
getAccountAddress(): Promise<string>;
|
|
114
|
+
getAgentId(): string;
|
|
115
|
+
getWalletAddress(): string;
|
|
116
|
+
/** Mint a new ERC-8004 identity and return the agentId. */
|
|
117
|
+
private _mintNewIdentity;
|
|
118
|
+
/**
|
|
119
|
+
* Register: create ERC-8004 identity + AgentAccount in one flow.
|
|
120
|
+
* If already registered, returns existing state.
|
|
121
|
+
*/
|
|
122
|
+
register(_name?: string): Promise<RegisterResult>;
|
|
123
|
+
/** Get ETH / USDC / collateral balances for EOA and AgentAccount. */
|
|
124
|
+
getBalances(): Promise<BalancesResult>;
|
|
125
|
+
/** Transfer USDC from EOA to AgentAccount. */
|
|
126
|
+
fundAccount(usdcAmount: string): Promise<FundResult>;
|
|
127
|
+
/**
|
|
128
|
+
* Fetch USDC borrow markets on Base from Morpho API.
|
|
129
|
+
* Caches results for 5 minutes.
|
|
130
|
+
*/
|
|
131
|
+
getMarkets(forceRefresh?: boolean): Promise<MorphoMarketInfo[]>;
|
|
132
|
+
/**
|
|
133
|
+
* Get MarketParams for a collateral token.
|
|
134
|
+
* Tries cache → API → on-chain idToMarketParams.
|
|
135
|
+
*/
|
|
136
|
+
findMarketForCollateral(collateralSymbolOrAddress: string): Promise<MorphoMarketParams>;
|
|
137
|
+
/** Read MarketParams on-chain by market ID (bytes32). */
|
|
138
|
+
getMarketParams(marketId: string): Promise<MorphoMarketParams>;
|
|
139
|
+
/** Read on-chain position for a specific market. */
|
|
140
|
+
getPosition(marketId: string): Promise<MorphoPosition>;
|
|
141
|
+
/**
|
|
142
|
+
* Full status: positions across all discovered markets.
|
|
143
|
+
*/
|
|
144
|
+
getStatus(): Promise<StatusResult>;
|
|
145
|
+
/**
|
|
146
|
+
* Get the USDC balance of the AgentAccount.
|
|
147
|
+
* @returns USDC balance in raw units (6 decimals)
|
|
148
|
+
*/
|
|
149
|
+
getUsdcBalance(): Promise<bigint>;
|
|
150
|
+
/**
|
|
151
|
+
* Calculate the maximum additional USDC that can be borrowed
|
|
152
|
+
* given the agent's current collateral and debt across all markets.
|
|
153
|
+
*
|
|
154
|
+
* For each market with collateral deposited:
|
|
155
|
+
* maxBorrow = (collateralValue * LLTV) - currentDebt
|
|
156
|
+
*
|
|
157
|
+
* Uses the Morpho oracle to price collateral → loan token.
|
|
158
|
+
*
|
|
159
|
+
* @returns Maximum additional USDC borrowable (6 decimals)
|
|
160
|
+
*/
|
|
161
|
+
getMaxBorrowable(): Promise<{
|
|
162
|
+
total: bigint;
|
|
163
|
+
byMarket: Array<{
|
|
164
|
+
collateralToken: string;
|
|
165
|
+
maxAdditional: bigint;
|
|
166
|
+
currentDebt: bigint;
|
|
167
|
+
collateralValue: bigint;
|
|
168
|
+
}>;
|
|
169
|
+
}>;
|
|
170
|
+
/**
|
|
171
|
+
* Fetch current supply/borrow APY for a collateral market from Morpho GraphQL API.
|
|
172
|
+
*
|
|
173
|
+
* Note: On Morpho Blue, collateral does NOT earn yield directly. Supply APY
|
|
174
|
+
* is what lenders earn; borrow APY is what borrowers pay.
|
|
175
|
+
*/
|
|
176
|
+
getMarketRates(collateralSymbolOrAddress?: string): Promise<Array<{
|
|
177
|
+
collateralToken: string;
|
|
178
|
+
loanToken: string;
|
|
179
|
+
supplyApy: number;
|
|
180
|
+
borrowApy: number;
|
|
181
|
+
utilization: number;
|
|
182
|
+
totalSupplyUsd: number;
|
|
183
|
+
totalBorrowUsd: number;
|
|
184
|
+
lltv: string;
|
|
185
|
+
marketId: string;
|
|
186
|
+
}>>;
|
|
187
|
+
/**
|
|
188
|
+
* Estimate theoretical yield for a given collateral amount over a period.
|
|
189
|
+
*
|
|
190
|
+
* ⚠️ IMPORTANT: On Morpho Blue, collateral does NOT earn yield directly.
|
|
191
|
+
* This estimates what the collateral WOULD earn if it were instead supplied
|
|
192
|
+
* as a lender (not used as collateral). This is a theoretical upper bound
|
|
193
|
+
* useful for setting spending caps.
|
|
194
|
+
*
|
|
195
|
+
* @param collateralSymbol - e.g. 'WETH'
|
|
196
|
+
* @param amount - collateral amount in human-readable (e.g. '1.5')
|
|
197
|
+
* @param periodDays - estimation period in days (default: 1)
|
|
198
|
+
* @param ethPriceUsd - ETH price in USD for value conversion (if not provided, uses oracle)
|
|
199
|
+
* @returns Estimated yield in USD for the period
|
|
200
|
+
*/
|
|
201
|
+
getYieldEstimate(collateralSymbol: string, amount: string, periodDays?: number, ethPriceUsd?: number): Promise<{
|
|
202
|
+
collateralToken: string;
|
|
203
|
+
amount: string;
|
|
204
|
+
periodDays: number;
|
|
205
|
+
theoreticalSupplyApy: number;
|
|
206
|
+
estimatedYieldUsd: number;
|
|
207
|
+
collateralValueUsd: number;
|
|
208
|
+
disclaimer: string;
|
|
209
|
+
}>;
|
|
210
|
+
/**
|
|
211
|
+
* Deposit collateral into Morpho Blue.
|
|
212
|
+
*
|
|
213
|
+
* Flow:
|
|
214
|
+
* 1. EOA transfers collateral to AgentAccount
|
|
215
|
+
* 2. AgentAccount.executeBatch:
|
|
216
|
+
* [collateral.approve(MorphoBlue), Morpho.supplyCollateral(params)]
|
|
217
|
+
*/
|
|
218
|
+
supplyCollateral(tokenSymbol: string, amount: string, marketParams?: MorphoMarketParams): Promise<DepositResult>;
|
|
219
|
+
/**
|
|
220
|
+
* Borrow USDC against existing collateral.
|
|
221
|
+
*
|
|
222
|
+
* AgentAccount.execute: Morpho.borrow(params, amount, 0, account, account)
|
|
223
|
+
*
|
|
224
|
+
* @param usdcAmount - USDC amount (e.g. '100')
|
|
225
|
+
* @param tokenSymbol - collateral symbol to identify which market (default: first with collateral)
|
|
226
|
+
*/
|
|
227
|
+
borrow(usdcAmount: string, tokenSymbol?: string, marketParams?: MorphoMarketParams): Promise<BorrowResult>;
|
|
228
|
+
/**
|
|
229
|
+
* Deposit collateral AND borrow USDC in one batched transaction.
|
|
230
|
+
*
|
|
231
|
+
* AgentAccount.executeBatch:
|
|
232
|
+
* [collateral.approve, Morpho.supplyCollateral, Morpho.borrow]
|
|
233
|
+
*
|
|
234
|
+
* The collateral must be transferred to AgentAccount first.
|
|
235
|
+
*/
|
|
236
|
+
depositAndBorrow(tokenSymbol: string, collateralAmount: string, borrowUsdcAmount: string, marketParams?: MorphoMarketParams): Promise<DepositAndBorrowResult>;
|
|
237
|
+
/**
|
|
238
|
+
* Repay borrowed USDC from AgentAccount.
|
|
239
|
+
*
|
|
240
|
+
* AgentAccount.executeBatch:
|
|
241
|
+
* [USDC.approve(MorphoBlue), Morpho.repay(params)]
|
|
242
|
+
*/
|
|
243
|
+
repay(usdcAmount: string, tokenSymbol?: string, marketParams?: MorphoMarketParams): Promise<RepayResult>;
|
|
244
|
+
/**
|
|
245
|
+
* Withdraw collateral from Morpho Blue.
|
|
246
|
+
*
|
|
247
|
+
* AgentAccount.execute: Morpho.withdrawCollateral(params, amount, account, receiver)
|
|
248
|
+
*
|
|
249
|
+
* @param receiver - defaults to EOA wallet
|
|
250
|
+
*/
|
|
251
|
+
withdrawCollateral(tokenSymbol: string, amount: string, marketParams?: MorphoMarketParams, receiver?: string): Promise<WithdrawResult>;
|
|
252
|
+
/**
|
|
253
|
+
* Sponsor: transfer collateral to another agent's AgentAccount.
|
|
254
|
+
* (The agent must then supplyCollateral themselves via their own account.)
|
|
255
|
+
*/
|
|
256
|
+
sponsor(target: {
|
|
257
|
+
agentId?: string;
|
|
258
|
+
address?: string;
|
|
259
|
+
}, tokenSymbol: string, amount: string): Promise<{
|
|
260
|
+
tx: string;
|
|
261
|
+
targetAccount: string;
|
|
262
|
+
targetAgentId?: string;
|
|
263
|
+
}>;
|
|
264
|
+
getCreditScore(): Promise<bigint>;
|
|
265
|
+
getAttestation(): Promise<ScoreAttestation>;
|
|
266
|
+
isEligible(minScore?: bigint): Promise<{
|
|
267
|
+
eligible: boolean;
|
|
268
|
+
currentScore: bigint;
|
|
269
|
+
}>;
|
|
270
|
+
isScoreFresh(): Promise<{
|
|
271
|
+
fresh: boolean;
|
|
272
|
+
age: bigint;
|
|
273
|
+
}>;
|
|
274
|
+
/**
|
|
275
|
+
* Execute a single call via AgentAccount.execute.
|
|
276
|
+
*/
|
|
277
|
+
private exec;
|
|
278
|
+
/**
|
|
279
|
+
* Execute multiple calls via AgentAccount.executeBatch.
|
|
280
|
+
*/
|
|
281
|
+
private batch;
|
|
282
|
+
/** Convert MorphoMarketParams to Solidity tuple. */
|
|
283
|
+
private _toTuple;
|
|
284
|
+
/** Find the first market where the agent has collateral deposited. */
|
|
285
|
+
private _findActiveMarket;
|
|
286
|
+
}
|
|
287
|
+
//# sourceMappingURL=MorphoClient.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"MorphoClient.d.ts","sourceRoot":"","sources":["../../src/clients/MorphoClient.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;GAYG;AAIH,OAAO,EAEL,kBAAkB,EAClB,gBAAgB,EAChB,cAAc,EACd,gBAAgB,EAEhB,OAAO,EACR,MAAM,UAAU,CAAC;AAuBlB,MAAM,WAAW,kBAAkB;IACjC,UAAU,EAAE,MAAM,CAAC;IACnB,MAAM,EAAE,MAAM,CAAC;IACf,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,SAAS,CAAC,EAAE,OAAO,CAAC;QAClB,cAAc,EAAE,MAAM,CAAC;QACvB,UAAU,EAAE,MAAM,CAAC;QACnB,IAAI,EAAE,MAAM,CAAC;QACb,eAAe,EAAE,MAAM,CAAC;QACxB,gBAAgB,EAAE,MAAM,CAAC;KAC1B,CAAC,CAAC;CACJ;AAED,MAAM,WAAW,cAAc;IAC7B,OAAO,EAAE,MAAM,CAAC;IAChB,OAAO,EAAE,MAAM,CAAC;IAChB,GAAG,EAAE,MAAM,CAAC;IACZ,IAAI,EAAE,MAAM,CAAC;IACb,UAAU,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IACnC,YAAY,CAAC,EAAE;QACb,OAAO,EAAE,MAAM,CAAC;QAChB,GAAG,EAAE,MAAM,CAAC;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