@pearcurve/sdk 0.1.0 → 0.1.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/README.md +2 -2
- package/dist/abis.js +19 -19
- package/dist/abis.js.map +1 -1
- package/package.json +5 -5
- package/dist/abis/json/collateralTokenRegistry.json +0 -257
- package/dist/abis/json/errors.json +0 -1034
- package/dist/abis/json/feeManager.json +0 -668
- package/dist/abis/json/intentRegistry.json +0 -1169
- package/dist/abis/json/intentRegistryViews.json +0 -958
- package/dist/abis/json/loanAssetRegistry.json +0 -220
- package/dist/abis/json/loanHealthViewer.json +0 -176
- package/dist/abis/json/loanManager.json +0 -1404
- package/dist/abis/json/loanMarketCaps.json +0 -1642
- package/dist/abis/json/loanPositionToken.json +0 -650
- package/dist/abis/json/main.json +0 -1951
- package/dist/abis/json/matchingEngine.json +0 -2060
- package/dist/abis/json/priceOracle.json +0 -453
- package/dist/abis/json/protocolViewer.json +0 -959
- package/dist/abis/json/secondaryMarket.json +0 -1348
- package/dist/abis/json/strategyRegistry.json +0 -237
- package/dist/abis/json/termCurveOracle.json +0 -346
- package/dist/abis/json/yieldSource.json +0 -298
- package/dist/abis/json/yieldSourceRegistry.json +0 -295
- package/src/abis/json/collateralTokenRegistry.json +0 -257
- package/src/abis/json/errors.json +0 -1034
- package/src/abis/json/feeManager.json +0 -668
- package/src/abis/json/intentRegistry.json +0 -1169
- package/src/abis/json/intentRegistryViews.json +0 -958
- package/src/abis/json/loanAssetRegistry.json +0 -220
- package/src/abis/json/loanHealthViewer.json +0 -176
- package/src/abis/json/loanManager.json +0 -1404
- package/src/abis/json/loanMarketCaps.json +0 -1642
- package/src/abis/json/loanPositionToken.json +0 -650
- package/src/abis/json/main.json +0 -1951
- package/src/abis/json/matchingEngine.json +0 -2060
- package/src/abis/json/priceOracle.json +0 -453
- package/src/abis/json/protocolViewer.json +0 -959
- package/src/abis/json/secondaryMarket.json +0 -1348
- package/src/abis/json/strategyRegistry.json +0 -237
- package/src/abis/json/termCurveOracle.json +0 -346
- package/src/abis/json/yieldSource.json +0 -298
- package/src/abis/json/yieldSourceRegistry.json +0 -295
package/README.md
CHANGED
|
@@ -8,7 +8,7 @@ For **reading** protocol state (intent book, loans, health), use the **public re
|
|
|
8
8
|
|
|
9
9
|
## Contents
|
|
10
10
|
|
|
11
|
-
- **ABIs** — `Main`, `MatchingEngine`, `IntentRegistry` (core), **`IntentRegistryViews`**, `YieldSourceRegistry`, `IYieldSource`, and **`Errors.sol
|
|
11
|
+
- **ABIs** — `Main`, `MatchingEngine`, `IntentRegistry` (core), **`IntentRegistryViews`**, `YieldSourceRegistry`, `IYieldSource`, and **`Errors.sol`**, imported from `@pearcurve/contracts`. Bump that dependency after a contracts release.
|
|
12
12
|
- **Custom errors** — `decodeProtocolError` / `formatProtocolError` map revert selectors (`bytes4(keccak256("FillExceedsCapacity()"))`) from `Errors.sol` to human-readable copy. UI, API, and bots should use this instead of scraping wallet text.
|
|
13
13
|
- **Preflight** — `assertLenderSubmitLiquidity(provider, …)` mirrors on-chain checks for `committedCapacity + maxPrincipal` vs yield `balanceOf` or wallet `min(balance, allowance)` before `submitLenderIntent`.
|
|
14
14
|
- **Encoding** — `encodeSubmitLenderIntent`, `encodeMatchBundleOnChain`, etc.
|
|
@@ -75,7 +75,7 @@ Output: `dist/` (TypeScript declarations included).
|
|
|
75
75
|
|
|
76
76
|
## Publish
|
|
77
77
|
|
|
78
|
-
`npm run publish:sdk` publishes this package as `@pearcurve/sdk`. It
|
|
78
|
+
`npm run publish:sdk` publishes this package as `@pearcurve/sdk`. It runs the test suite, then `npm publish --access public`. ABIs are loaded from the `@pearcurve/contracts` dependency. A merge does not publish it.
|
|
79
79
|
|
|
80
80
|
Bump `version` in `package.json` first. npm rejects a second publish of the same version. You need to be logged in as a member of the `pearcurve` npm org.
|
|
81
81
|
|
package/dist/abis.js
CHANGED
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
import collateralTokenRegistryJson from '
|
|
2
|
-
import errorsJson from '
|
|
3
|
-
import feeManagerJson from '
|
|
4
|
-
import intentRegistryJson from '
|
|
5
|
-
import intentRegistryViewsJson from '
|
|
6
|
-
import loanAssetRegistryJson from '
|
|
7
|
-
import loanHealthViewerJson from '
|
|
8
|
-
import protocolViewerJson from '
|
|
9
|
-
import loanManagerJson from '
|
|
10
|
-
import loanMarketCapsJson from '
|
|
11
|
-
import loanPositionTokenJson from '
|
|
12
|
-
import mainJson from '
|
|
13
|
-
import matchingEngineJson from '
|
|
14
|
-
import priceOracleJson from '
|
|
15
|
-
import secondaryMarketJson from '
|
|
16
|
-
import strategyRegistryJson from '
|
|
17
|
-
import termCurveOracleJson from '
|
|
18
|
-
import yieldSourceJson from '
|
|
19
|
-
import yieldSourceRegistryJson from '
|
|
1
|
+
import collateralTokenRegistryJson from '@pearcurve/contracts/collateralTokenRegistry' with { type: 'json' };
|
|
2
|
+
import errorsJson from '@pearcurve/contracts/errors' with { type: 'json' };
|
|
3
|
+
import feeManagerJson from '@pearcurve/contracts/feeManager' with { type: 'json' };
|
|
4
|
+
import intentRegistryJson from '@pearcurve/contracts/intentRegistry' with { type: 'json' };
|
|
5
|
+
import intentRegistryViewsJson from '@pearcurve/contracts/intentRegistryViews' with { type: 'json' };
|
|
6
|
+
import loanAssetRegistryJson from '@pearcurve/contracts/loanAssetRegistry' with { type: 'json' };
|
|
7
|
+
import loanHealthViewerJson from '@pearcurve/contracts/loanHealthViewer' with { type: 'json' };
|
|
8
|
+
import protocolViewerJson from '@pearcurve/contracts/protocolViewer' with { type: 'json' };
|
|
9
|
+
import loanManagerJson from '@pearcurve/contracts/loanManager' with { type: 'json' };
|
|
10
|
+
import loanMarketCapsJson from '@pearcurve/contracts/loanMarketCaps' with { type: 'json' };
|
|
11
|
+
import loanPositionTokenJson from '@pearcurve/contracts/loanPositionToken' with { type: 'json' };
|
|
12
|
+
import mainJson from '@pearcurve/contracts/main' with { type: 'json' };
|
|
13
|
+
import matchingEngineJson from '@pearcurve/contracts/matchingEngine' with { type: 'json' };
|
|
14
|
+
import priceOracleJson from '@pearcurve/contracts/priceOracle' with { type: 'json' };
|
|
15
|
+
import secondaryMarketJson from '@pearcurve/contracts/secondaryMarket' with { type: 'json' };
|
|
16
|
+
import strategyRegistryJson from '@pearcurve/contracts/strategyRegistry' with { type: 'json' };
|
|
17
|
+
import termCurveOracleJson from '@pearcurve/contracts/termCurveOracle' with { type: 'json' };
|
|
18
|
+
import yieldSourceJson from '@pearcurve/contracts/yieldSource' with { type: 'json' };
|
|
19
|
+
import yieldSourceRegistryJson from '@pearcurve/contracts/yieldSourceRegistry' with { type: 'json' };
|
|
20
20
|
export const protocolErrorsAbi = errorsJson;
|
|
21
21
|
export const mainAbi = mainJson;
|
|
22
22
|
export const matchingEngineAbi = matchingEngineJson;
|
package/dist/abis.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"abis.js","sourceRoot":"","sources":["../src/abis.ts"],"names":[],"mappings":"AAEA,OAAO,2BAA2B,MAAM,
|
|
1
|
+
{"version":3,"file":"abis.js","sourceRoot":"","sources":["../src/abis.ts"],"names":[],"mappings":"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"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pearcurve/sdk",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.1",
|
|
4
4
|
"description": "TypeScript SDK for Pearcurve protocol (ethers, calldata helpers)",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE",
|
|
6
6
|
"repository": {
|
|
@@ -17,19 +17,19 @@
|
|
|
17
17
|
}
|
|
18
18
|
},
|
|
19
19
|
"files": [
|
|
20
|
-
"dist"
|
|
21
|
-
"src/abis/json"
|
|
20
|
+
"dist"
|
|
22
21
|
],
|
|
23
22
|
"scripts": {
|
|
24
|
-
"sync-abis": "node ./scripts/sync-abis.mjs",
|
|
25
23
|
"publish:sdk": "node ./scripts/publish-sdk.mjs",
|
|
26
24
|
"sync-deployments": "node ./scripts/sync-deployments.mjs",
|
|
27
|
-
"normalize-abis": "node ./scripts/normalize-abis.mjs",
|
|
28
25
|
"build": "rm -rf dist && tsc",
|
|
29
26
|
"prepack": "npm run build",
|
|
30
27
|
"test": "vitest run",
|
|
31
28
|
"test:watch": "vitest"
|
|
32
29
|
},
|
|
30
|
+
"dependencies": {
|
|
31
|
+
"@pearcurve/contracts": "^0.1.0"
|
|
32
|
+
},
|
|
33
33
|
"peerDependencies": {
|
|
34
34
|
"ethers": "^6.16.0"
|
|
35
35
|
},
|
|
@@ -1,257 +0,0 @@
|
|
|
1
|
-
[
|
|
2
|
-
{
|
|
3
|
-
"type": "constructor",
|
|
4
|
-
"inputs": [
|
|
5
|
-
{
|
|
6
|
-
"name": "governor_",
|
|
7
|
-
"type": "address",
|
|
8
|
-
"internalType": "address"
|
|
9
|
-
},
|
|
10
|
-
{
|
|
11
|
-
"name": "_priceOracle",
|
|
12
|
-
"type": "address",
|
|
13
|
-
"internalType": "address"
|
|
14
|
-
}
|
|
15
|
-
],
|
|
16
|
-
"stateMutability": "nonpayable"
|
|
17
|
-
},
|
|
18
|
-
{
|
|
19
|
-
"type": "function",
|
|
20
|
-
"name": "acceptGovernance",
|
|
21
|
-
"inputs": [],
|
|
22
|
-
"outputs": [],
|
|
23
|
-
"stateMutability": "nonpayable"
|
|
24
|
-
},
|
|
25
|
-
{
|
|
26
|
-
"type": "function",
|
|
27
|
-
"name": "governor",
|
|
28
|
-
"inputs": [],
|
|
29
|
-
"outputs": [
|
|
30
|
-
{
|
|
31
|
-
"name": "",
|
|
32
|
-
"type": "address",
|
|
33
|
-
"internalType": "address"
|
|
34
|
-
}
|
|
35
|
-
],
|
|
36
|
-
"stateMutability": "view"
|
|
37
|
-
},
|
|
38
|
-
{
|
|
39
|
-
"type": "function",
|
|
40
|
-
"name": "isApproved",
|
|
41
|
-
"inputs": [
|
|
42
|
-
{
|
|
43
|
-
"name": "",
|
|
44
|
-
"type": "address",
|
|
45
|
-
"internalType": "address"
|
|
46
|
-
}
|
|
47
|
-
],
|
|
48
|
-
"outputs": [
|
|
49
|
-
{
|
|
50
|
-
"name": "",
|
|
51
|
-
"type": "bool",
|
|
52
|
-
"internalType": "bool"
|
|
53
|
-
}
|
|
54
|
-
],
|
|
55
|
-
"stateMutability": "view"
|
|
56
|
-
},
|
|
57
|
-
{
|
|
58
|
-
"type": "function",
|
|
59
|
-
"name": "listApprovedCollateralTokens",
|
|
60
|
-
"inputs": [],
|
|
61
|
-
"outputs": [
|
|
62
|
-
{
|
|
63
|
-
"name": "",
|
|
64
|
-
"type": "address[]",
|
|
65
|
-
"internalType": "address[]"
|
|
66
|
-
}
|
|
67
|
-
],
|
|
68
|
-
"stateMutability": "view"
|
|
69
|
-
},
|
|
70
|
-
{
|
|
71
|
-
"type": "function",
|
|
72
|
-
"name": "listPricedCollateralTokensForLoanAsset",
|
|
73
|
-
"inputs": [
|
|
74
|
-
{
|
|
75
|
-
"name": "loanAsset",
|
|
76
|
-
"type": "address",
|
|
77
|
-
"internalType": "address"
|
|
78
|
-
}
|
|
79
|
-
],
|
|
80
|
-
"outputs": [
|
|
81
|
-
{
|
|
82
|
-
"name": "",
|
|
83
|
-
"type": "address[]",
|
|
84
|
-
"internalType": "address[]"
|
|
85
|
-
}
|
|
86
|
-
],
|
|
87
|
-
"stateMutability": "view"
|
|
88
|
-
},
|
|
89
|
-
{
|
|
90
|
-
"type": "function",
|
|
91
|
-
"name": "pendingGovernor",
|
|
92
|
-
"inputs": [],
|
|
93
|
-
"outputs": [
|
|
94
|
-
{
|
|
95
|
-
"name": "",
|
|
96
|
-
"type": "address",
|
|
97
|
-
"internalType": "address"
|
|
98
|
-
}
|
|
99
|
-
],
|
|
100
|
-
"stateMutability": "view"
|
|
101
|
-
},
|
|
102
|
-
{
|
|
103
|
-
"type": "function",
|
|
104
|
-
"name": "priceOracle",
|
|
105
|
-
"inputs": [],
|
|
106
|
-
"outputs": [
|
|
107
|
-
{
|
|
108
|
-
"name": "",
|
|
109
|
-
"type": "address",
|
|
110
|
-
"internalType": "address"
|
|
111
|
-
}
|
|
112
|
-
],
|
|
113
|
-
"stateMutability": "view"
|
|
114
|
-
},
|
|
115
|
-
{
|
|
116
|
-
"type": "function",
|
|
117
|
-
"name": "registerCollateral",
|
|
118
|
-
"inputs": [
|
|
119
|
-
{
|
|
120
|
-
"name": "token",
|
|
121
|
-
"type": "address",
|
|
122
|
-
"internalType": "address"
|
|
123
|
-
}
|
|
124
|
-
],
|
|
125
|
-
"outputs": [],
|
|
126
|
-
"stateMutability": "nonpayable"
|
|
127
|
-
},
|
|
128
|
-
{
|
|
129
|
-
"type": "function",
|
|
130
|
-
"name": "removeCollateral",
|
|
131
|
-
"inputs": [
|
|
132
|
-
{
|
|
133
|
-
"name": "token",
|
|
134
|
-
"type": "address",
|
|
135
|
-
"internalType": "address"
|
|
136
|
-
}
|
|
137
|
-
],
|
|
138
|
-
"outputs": [],
|
|
139
|
-
"stateMutability": "nonpayable"
|
|
140
|
-
},
|
|
141
|
-
{
|
|
142
|
-
"type": "function",
|
|
143
|
-
"name": "requireApproved",
|
|
144
|
-
"inputs": [
|
|
145
|
-
{
|
|
146
|
-
"name": "token",
|
|
147
|
-
"type": "address",
|
|
148
|
-
"internalType": "address"
|
|
149
|
-
}
|
|
150
|
-
],
|
|
151
|
-
"outputs": [],
|
|
152
|
-
"stateMutability": "view"
|
|
153
|
-
},
|
|
154
|
-
{
|
|
155
|
-
"type": "function",
|
|
156
|
-
"name": "transferGovernance",
|
|
157
|
-
"inputs": [
|
|
158
|
-
{
|
|
159
|
-
"name": "newGovernor",
|
|
160
|
-
"type": "address",
|
|
161
|
-
"internalType": "address"
|
|
162
|
-
}
|
|
163
|
-
],
|
|
164
|
-
"outputs": [],
|
|
165
|
-
"stateMutability": "nonpayable"
|
|
166
|
-
},
|
|
167
|
-
{
|
|
168
|
-
"type": "event",
|
|
169
|
-
"name": "CollateralRegistered",
|
|
170
|
-
"inputs": [
|
|
171
|
-
{
|
|
172
|
-
"name": "token",
|
|
173
|
-
"type": "address",
|
|
174
|
-
"indexed": true,
|
|
175
|
-
"internalType": "address"
|
|
176
|
-
}
|
|
177
|
-
],
|
|
178
|
-
"anonymous": false
|
|
179
|
-
},
|
|
180
|
-
{
|
|
181
|
-
"type": "event",
|
|
182
|
-
"name": "CollateralRemoved",
|
|
183
|
-
"inputs": [
|
|
184
|
-
{
|
|
185
|
-
"name": "token",
|
|
186
|
-
"type": "address",
|
|
187
|
-
"indexed": true,
|
|
188
|
-
"internalType": "address"
|
|
189
|
-
}
|
|
190
|
-
],
|
|
191
|
-
"anonymous": false
|
|
192
|
-
},
|
|
193
|
-
{
|
|
194
|
-
"type": "event",
|
|
195
|
-
"name": "GovernorTransferInitiated",
|
|
196
|
-
"inputs": [
|
|
197
|
-
{
|
|
198
|
-
"name": "currentGovernor",
|
|
199
|
-
"type": "address",
|
|
200
|
-
"indexed": true,
|
|
201
|
-
"internalType": "address"
|
|
202
|
-
},
|
|
203
|
-
{
|
|
204
|
-
"name": "pendingGovernor_",
|
|
205
|
-
"type": "address",
|
|
206
|
-
"indexed": true,
|
|
207
|
-
"internalType": "address"
|
|
208
|
-
}
|
|
209
|
-
],
|
|
210
|
-
"anonymous": false
|
|
211
|
-
},
|
|
212
|
-
{
|
|
213
|
-
"type": "event",
|
|
214
|
-
"name": "GovernorUpdated",
|
|
215
|
-
"inputs": [
|
|
216
|
-
{
|
|
217
|
-
"name": "oldGovernor",
|
|
218
|
-
"type": "address",
|
|
219
|
-
"indexed": true,
|
|
220
|
-
"internalType": "address"
|
|
221
|
-
},
|
|
222
|
-
{
|
|
223
|
-
"name": "newGovernor",
|
|
224
|
-
"type": "address",
|
|
225
|
-
"indexed": true,
|
|
226
|
-
"internalType": "address"
|
|
227
|
-
}
|
|
228
|
-
],
|
|
229
|
-
"anonymous": false
|
|
230
|
-
},
|
|
231
|
-
{
|
|
232
|
-
"type": "error",
|
|
233
|
-
"name": "CallerIsNotGovernor",
|
|
234
|
-
"inputs": []
|
|
235
|
-
},
|
|
236
|
-
{
|
|
237
|
-
"type": "error",
|
|
238
|
-
"name": "CallerIsNotPendingGovernor",
|
|
239
|
-
"inputs": []
|
|
240
|
-
},
|
|
241
|
-
{
|
|
242
|
-
"type": "error",
|
|
243
|
-
"name": "UnsupportedCollateral",
|
|
244
|
-
"inputs": [
|
|
245
|
-
{
|
|
246
|
-
"name": "token",
|
|
247
|
-
"type": "address",
|
|
248
|
-
"internalType": "address"
|
|
249
|
-
}
|
|
250
|
-
]
|
|
251
|
-
},
|
|
252
|
-
{
|
|
253
|
-
"type": "error",
|
|
254
|
-
"name": "ZeroAddress",
|
|
255
|
-
"inputs": []
|
|
256
|
-
}
|
|
257
|
-
]
|