@whitewall-os/sdk 0.2.0 → 0.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/abis.d.ts +33 -0
- package/dist/abis.js +21 -0
- package/dist/addresses.js +5 -5
- package/package.json +1 -1
- package/src/abis.ts +21 -0
- package/src/addresses.ts +5 -5
package/dist/abis.d.ts
CHANGED
|
@@ -385,6 +385,39 @@ export declare const plaidCreditValidatorAbi: readonly [{
|
|
|
385
385
|
}];
|
|
386
386
|
readonly stateMutability: "view";
|
|
387
387
|
readonly type: "function";
|
|
388
|
+
}, {
|
|
389
|
+
readonly anonymous: false;
|
|
390
|
+
readonly inputs: readonly [{
|
|
391
|
+
readonly indexed: true;
|
|
392
|
+
readonly name: "agentId";
|
|
393
|
+
readonly type: "uint256";
|
|
394
|
+
}, {
|
|
395
|
+
readonly indexed: false;
|
|
396
|
+
readonly name: "score";
|
|
397
|
+
readonly type: "uint8";
|
|
398
|
+
}, {
|
|
399
|
+
readonly indexed: false;
|
|
400
|
+
readonly name: "dataHash";
|
|
401
|
+
readonly type: "bytes32";
|
|
402
|
+
}, {
|
|
403
|
+
readonly indexed: false;
|
|
404
|
+
readonly name: "timestamp";
|
|
405
|
+
readonly type: "uint256";
|
|
406
|
+
}];
|
|
407
|
+
readonly name: "CreditScoreSet";
|
|
408
|
+
readonly type: "event";
|
|
409
|
+
}, {
|
|
410
|
+
readonly inputs: readonly [];
|
|
411
|
+
readonly name: "getSgxConfig";
|
|
412
|
+
readonly outputs: readonly [{
|
|
413
|
+
readonly name: "verifier";
|
|
414
|
+
readonly type: "address";
|
|
415
|
+
}, {
|
|
416
|
+
readonly name: "mrEnclave";
|
|
417
|
+
readonly type: "bytes32";
|
|
418
|
+
}];
|
|
419
|
+
readonly stateMutability: "view";
|
|
420
|
+
readonly type: "function";
|
|
388
421
|
}];
|
|
389
422
|
export declare const whitewallConsumerAbi: readonly [{
|
|
390
423
|
readonly anonymous: false;
|
package/dist/abis.js
CHANGED
|
@@ -248,6 +248,27 @@ export const plaidCreditValidatorAbi = [
|
|
|
248
248
|
stateMutability: "view",
|
|
249
249
|
type: "function",
|
|
250
250
|
},
|
|
251
|
+
{
|
|
252
|
+
anonymous: false,
|
|
253
|
+
inputs: [
|
|
254
|
+
{ indexed: true, name: "agentId", type: "uint256" },
|
|
255
|
+
{ indexed: false, name: "score", type: "uint8" },
|
|
256
|
+
{ indexed: false, name: "dataHash", type: "bytes32" },
|
|
257
|
+
{ indexed: false, name: "timestamp", type: "uint256" },
|
|
258
|
+
],
|
|
259
|
+
name: "CreditScoreSet",
|
|
260
|
+
type: "event",
|
|
261
|
+
},
|
|
262
|
+
{
|
|
263
|
+
inputs: [],
|
|
264
|
+
name: "getSgxConfig",
|
|
265
|
+
outputs: [
|
|
266
|
+
{ name: "verifier", type: "address" },
|
|
267
|
+
{ name: "mrEnclave", type: "bytes32" },
|
|
268
|
+
],
|
|
269
|
+
stateMutability: "view",
|
|
270
|
+
type: "function",
|
|
271
|
+
},
|
|
251
272
|
];
|
|
252
273
|
// ── Legacy policy ABIs removed ──
|
|
253
274
|
// KYCPolicy and CreditPolicy replaced by unified TieredPolicy
|
package/dist/addresses.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
export const addresses = {
|
|
2
2
|
baseSepolia: {
|
|
3
|
-
policyEngine: "
|
|
4
|
-
tieredPolicy: "
|
|
5
|
-
whitewallConsumer: "
|
|
6
|
-
stripeKYCValidator: "
|
|
7
|
-
plaidCreditValidator: "
|
|
3
|
+
policyEngine: "0xc7afccc4b97786e34c07e4444496256d2f2b0b9a",
|
|
4
|
+
tieredPolicy: "0xdb20a5d22cc7eb2a43628527667021121e80e30d",
|
|
5
|
+
whitewallConsumer: "0x9670cc85a97c07a1bb6353fb968c6a2c153db99f",
|
|
6
|
+
stripeKYCValidator: "0xebba79075ad00a22c5ff9a1f36a379f577265936",
|
|
7
|
+
plaidCreditValidator: "0x07e8653b55a3cd703106c9726a140755204c1ad5",
|
|
8
8
|
},
|
|
9
9
|
};
|
package/package.json
CHANGED
package/src/abis.ts
CHANGED
|
@@ -259,6 +259,27 @@ export const plaidCreditValidatorAbi = [
|
|
|
259
259
|
stateMutability: "view",
|
|
260
260
|
type: "function",
|
|
261
261
|
},
|
|
262
|
+
{
|
|
263
|
+
anonymous: false,
|
|
264
|
+
inputs: [
|
|
265
|
+
{ indexed: true, name: "agentId", type: "uint256" },
|
|
266
|
+
{ indexed: false, name: "score", type: "uint8" },
|
|
267
|
+
{ indexed: false, name: "dataHash", type: "bytes32" },
|
|
268
|
+
{ indexed: false, name: "timestamp", type: "uint256" },
|
|
269
|
+
],
|
|
270
|
+
name: "CreditScoreSet",
|
|
271
|
+
type: "event",
|
|
272
|
+
},
|
|
273
|
+
{
|
|
274
|
+
inputs: [],
|
|
275
|
+
name: "getSgxConfig",
|
|
276
|
+
outputs: [
|
|
277
|
+
{ name: "verifier", type: "address" },
|
|
278
|
+
{ name: "mrEnclave", type: "bytes32" },
|
|
279
|
+
],
|
|
280
|
+
stateMutability: "view",
|
|
281
|
+
type: "function",
|
|
282
|
+
},
|
|
262
283
|
] as const;
|
|
263
284
|
|
|
264
285
|
// ── Legacy policy ABIs removed ──
|
package/src/addresses.ts
CHANGED
|
@@ -21,10 +21,10 @@ export interface PolicyConfig {
|
|
|
21
21
|
|
|
22
22
|
export const addresses: Record<ChainName, WhitewallOSAddresses> = {
|
|
23
23
|
baseSepolia: {
|
|
24
|
-
policyEngine: "
|
|
25
|
-
tieredPolicy: "
|
|
26
|
-
whitewallConsumer: "
|
|
27
|
-
stripeKYCValidator: "
|
|
28
|
-
plaidCreditValidator: "
|
|
24
|
+
policyEngine: "0xc7afccc4b97786e34c07e4444496256d2f2b0b9a",
|
|
25
|
+
tieredPolicy: "0xdb20a5d22cc7eb2a43628527667021121e80e30d",
|
|
26
|
+
whitewallConsumer: "0x9670cc85a97c07a1bb6353fb968c6a2c153db99f",
|
|
27
|
+
stripeKYCValidator: "0xebba79075ad00a22c5ff9a1f36a379f577265936",
|
|
28
|
+
plaidCreditValidator: "0x07e8653b55a3cd703106c9726a140755204c1ad5",
|
|
29
29
|
},
|
|
30
30
|
} as const;
|