@omegax/protocol-sdk 0.4.3 → 0.5.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/NOTICE +5 -0
- package/README.md +74 -16
- package/dist/claims.d.ts +1 -2
- package/dist/claims.js +85 -153
- package/dist/index.d.ts +1 -0
- package/dist/index.js +1 -0
- package/dist/protocol.d.ts +4 -1
- package/dist/protocol.js +3204 -1163
- package/dist/protocol_seeds.d.ts +81 -29
- package/dist/protocol_seeds.js +174 -43
- package/dist/rpc.js +67 -6
- package/dist/transactions.d.ts +11 -0
- package/dist/transactions.js +121 -0
- package/dist/types.d.ts +858 -300
- package/package.json +11 -3
package/dist/types.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { PublicKey, Connection, Transaction } from '@solana/web3.js';
|
|
1
|
+
import type { PublicKey, Connection, Transaction, TransactionInstruction } from '@solana/web3.js';
|
|
2
2
|
export type ClaimLifecycleStatus = 'prepared' | 'submitted' | 'confirmed' | 'failed' | 'expired';
|
|
3
3
|
export type ClaimFailureCode = 'invalid_claimant_wallet' | 'wallet_mismatch' | 'pool_not_found' | 'pool_not_active' | 'membership_not_active' | 'claim_window_not_set' | 'claim_window_not_open' | 'claim_window_closed' | 'no_passing_outcomes' | 'seeker_rule_misconfigured' | 'seeker_commitment_disabled' | 'intent_expired' | 'intent_message_mismatch' | 'required_signer_mismatch' | 'simulation_failed_insufficient_funds' | 'simulation_failed_pool_paused' | 'simulation_failed_membership_invalid' | 'simulation_failed_unknown' | 'rpc_rejected' | 'rpc_timeout' | 'already_claimed' | 'unknown';
|
|
4
4
|
export interface ClaimFailureDetail {
|
|
@@ -67,31 +67,25 @@ export interface OracleKmsSignerAdapter {
|
|
|
67
67
|
publicKeyBase58: string;
|
|
68
68
|
signWithKms: (message: Uint8Array) => Promise<Uint8Array>;
|
|
69
69
|
}
|
|
70
|
-
export interface BuildUnsignedClaimTxParams {
|
|
71
|
-
intentId: string;
|
|
72
|
-
claimantWallet: string;
|
|
73
|
-
cycleId: string;
|
|
74
|
-
outcomeId: string;
|
|
75
|
-
attestationRefs: string[];
|
|
76
|
-
recentBlockhash: string;
|
|
77
|
-
expiresAtIso: string;
|
|
78
|
-
programId: string;
|
|
79
|
-
poolAddress: string;
|
|
80
|
-
}
|
|
81
70
|
export interface BuildUnsignedRewardClaimTxParams {
|
|
82
71
|
claimantWallet: string;
|
|
83
72
|
member: string;
|
|
84
73
|
poolAddress: string;
|
|
85
|
-
|
|
74
|
+
seriesRefHashHex: string;
|
|
75
|
+
cycleHashHex: string;
|
|
86
76
|
ruleHashHex: string;
|
|
87
77
|
intentHashHex: string;
|
|
88
78
|
payoutAmount: bigint;
|
|
89
79
|
recipient: string;
|
|
90
80
|
recipientSystemAccount: string;
|
|
81
|
+
payoutMint?: string;
|
|
91
82
|
claimDelegate?: string;
|
|
83
|
+
memberCycle?: string;
|
|
84
|
+
cohortSettlementRoot?: string;
|
|
92
85
|
poolAssetVault?: string;
|
|
93
86
|
poolVaultTokenAccount?: string;
|
|
94
87
|
recipientTokenAccount?: string;
|
|
88
|
+
includePoolCompliancePolicy?: boolean;
|
|
95
89
|
recentBlockhash: string;
|
|
96
90
|
programId: string;
|
|
97
91
|
}
|
|
@@ -159,8 +153,14 @@ export type ProtocolMembershipStatus = 'active' | 'revoked' | 'unknown';
|
|
|
159
153
|
export interface ProtocolConfigAccount {
|
|
160
154
|
address: string;
|
|
161
155
|
admin: string;
|
|
156
|
+
governanceAuthority: string;
|
|
157
|
+
governanceRealm: string;
|
|
158
|
+
governanceConfig: string;
|
|
159
|
+
defaultStakeMint: string;
|
|
162
160
|
protocolFeeBps: number;
|
|
161
|
+
minOracleStake: bigint;
|
|
163
162
|
emergencyPaused: boolean;
|
|
163
|
+
allowedPayoutMintsHashHex: string;
|
|
164
164
|
bump: number;
|
|
165
165
|
}
|
|
166
166
|
export interface ProtocolPoolAccount {
|
|
@@ -231,35 +231,28 @@ export interface ProtocolCycleOutcomeAccount {
|
|
|
231
231
|
claimed: boolean;
|
|
232
232
|
bump: number;
|
|
233
233
|
}
|
|
234
|
-
export interface ProtocolCycleWindowAccount {
|
|
235
|
-
address: string;
|
|
236
|
-
pool: string;
|
|
237
|
-
cycleHashHex: string;
|
|
238
|
-
authority: string;
|
|
239
|
-
claimOpenTs: number;
|
|
240
|
-
claimCloseTs: number;
|
|
241
|
-
bump: number;
|
|
242
|
-
}
|
|
243
234
|
export interface ProtocolClaimRecordAccount {
|
|
244
235
|
address: string;
|
|
245
236
|
pool: string;
|
|
237
|
+
seriesRefHashHex: string;
|
|
246
238
|
member: string;
|
|
239
|
+
claimant: string;
|
|
247
240
|
cycleHashHex: string;
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
241
|
+
ruleHashHex: string;
|
|
242
|
+
intentHashHex: string;
|
|
243
|
+
payoutMint: string;
|
|
244
|
+
payoutAmount: bigint;
|
|
245
|
+
recipient: string;
|
|
251
246
|
submittedAt: number;
|
|
252
247
|
bump: number;
|
|
253
248
|
}
|
|
254
249
|
export interface BuildInitializeProtocolTxParams {
|
|
255
250
|
admin: string;
|
|
256
251
|
protocolFeeBps: number;
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
admin: string;
|
|
262
|
-
paused: boolean;
|
|
252
|
+
governanceRealm: string;
|
|
253
|
+
governanceConfig: string;
|
|
254
|
+
defaultStakeMint: string;
|
|
255
|
+
minOracleStake: bigint;
|
|
263
256
|
recentBlockhash: string;
|
|
264
257
|
programId: string;
|
|
265
258
|
}
|
|
@@ -269,9 +262,15 @@ export interface BuildCreatePoolTxParams {
|
|
|
269
262
|
organizationRef: string;
|
|
270
263
|
payoutLamportsPerPass: bigint;
|
|
271
264
|
membershipMode: number;
|
|
272
|
-
tokenGateMint
|
|
273
|
-
tokenGateMinBalance
|
|
274
|
-
inviteIssuer
|
|
265
|
+
tokenGateMint: string;
|
|
266
|
+
tokenGateMinBalance: bigint;
|
|
267
|
+
inviteIssuer: string;
|
|
268
|
+
poolType: number;
|
|
269
|
+
payoutAssetMint: string;
|
|
270
|
+
termsHashHex: string;
|
|
271
|
+
payoutPolicyHashHex: string;
|
|
272
|
+
cycleMode: number;
|
|
273
|
+
metadataUri: string;
|
|
275
274
|
recentBlockhash: string;
|
|
276
275
|
programId: string;
|
|
277
276
|
}
|
|
@@ -282,78 +281,51 @@ export interface BuildSetPoolStatusTxParams {
|
|
|
282
281
|
recentBlockhash: string;
|
|
283
282
|
programId: string;
|
|
284
283
|
}
|
|
285
|
-
export interface
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
poolAddress: string;
|
|
297
|
-
lamports: bigint;
|
|
284
|
+
export interface BuildRegisterOracleTxParams {
|
|
285
|
+
admin: string;
|
|
286
|
+
oraclePubkey: string;
|
|
287
|
+
oracleType: number;
|
|
288
|
+
displayName: string;
|
|
289
|
+
legalName: string;
|
|
290
|
+
websiteUrl: string;
|
|
291
|
+
appUrl: string;
|
|
292
|
+
logoUri: string;
|
|
293
|
+
webhookUrl: string;
|
|
294
|
+
supportedSchemaKeyHashesHex: string[];
|
|
298
295
|
recentBlockhash: string;
|
|
299
296
|
programId: string;
|
|
300
297
|
}
|
|
301
|
-
export interface
|
|
298
|
+
export interface BuildClaimOracleTxParams {
|
|
302
299
|
oracle: string;
|
|
303
|
-
metadataUri: string;
|
|
304
300
|
recentBlockhash: string;
|
|
305
301
|
programId: string;
|
|
306
302
|
}
|
|
307
|
-
export interface
|
|
303
|
+
export interface BuildUpdateOracleProfileTxParams {
|
|
308
304
|
authority: string;
|
|
309
|
-
poolAddress: string;
|
|
310
305
|
oracle: string;
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
inviteCodeHashHex?: string;
|
|
320
|
-
tokenGateAccount?: string;
|
|
321
|
-
inviteIssuer?: string;
|
|
306
|
+
oracleType: number;
|
|
307
|
+
displayName: string;
|
|
308
|
+
legalName: string;
|
|
309
|
+
websiteUrl: string;
|
|
310
|
+
appUrl: string;
|
|
311
|
+
logoUri: string;
|
|
312
|
+
webhookUrl: string;
|
|
313
|
+
supportedSchemaKeyHashesHex: string[];
|
|
322
314
|
recentBlockhash: string;
|
|
323
315
|
programId: string;
|
|
324
316
|
}
|
|
325
|
-
export interface
|
|
317
|
+
export interface BuildSetPoolOracleTxParams {
|
|
326
318
|
authority: string;
|
|
327
319
|
poolAddress: string;
|
|
328
|
-
member: string;
|
|
329
|
-
recentBlockhash: string;
|
|
330
|
-
programId: string;
|
|
331
|
-
}
|
|
332
|
-
export interface BuildSubmitOutcomeAttestationTxParams {
|
|
333
320
|
oracle: string;
|
|
334
|
-
|
|
335
|
-
poolAddress: string;
|
|
336
|
-
cycleId: string;
|
|
337
|
-
outcomeId: string;
|
|
338
|
-
replayKey: string;
|
|
339
|
-
asOfIso: string;
|
|
340
|
-
passed: boolean;
|
|
341
|
-
attestationDigestHex?: string;
|
|
342
|
-
recentBlockhash: string;
|
|
343
|
-
programId: string;
|
|
344
|
-
}
|
|
345
|
-
export interface BuildSubmitClaimTxParams {
|
|
346
|
-
claimant: string;
|
|
347
|
-
poolAddress: string;
|
|
348
|
-
cycleId: string;
|
|
349
|
-
intentId: string;
|
|
321
|
+
active: boolean;
|
|
350
322
|
recentBlockhash: string;
|
|
351
323
|
programId: string;
|
|
352
324
|
}
|
|
353
325
|
export interface ProtocolCycleQuoteFields {
|
|
354
326
|
poolAddress: string;
|
|
355
327
|
member: string;
|
|
356
|
-
|
|
328
|
+
seriesRefHashHex: string;
|
|
357
329
|
paymentMint: string;
|
|
358
330
|
premiumAmountRaw: bigint;
|
|
359
331
|
canonicalPremiumAmount: bigint;
|
|
@@ -367,16 +339,18 @@ export interface ProtocolCycleQuoteFields {
|
|
|
367
339
|
totalAmountRaw: bigint;
|
|
368
340
|
includedShieldCount: number;
|
|
369
341
|
thresholdBps: number;
|
|
342
|
+
outcomeThresholdScore: number;
|
|
343
|
+
cohortHashHex: string;
|
|
370
344
|
expiresAtTs: bigint;
|
|
371
345
|
nonceHashHex: string;
|
|
372
346
|
quoteMetaHashHex: string;
|
|
373
347
|
}
|
|
374
348
|
export interface BuildActivateCycleWithQuoteSolTxParams {
|
|
375
349
|
payer: string;
|
|
376
|
-
member
|
|
350
|
+
member?: string;
|
|
377
351
|
poolAddress: string;
|
|
378
352
|
oracle: string;
|
|
379
|
-
|
|
353
|
+
seriesRefHashHex: string;
|
|
380
354
|
premiumAmountRaw: bigint;
|
|
381
355
|
canonicalPremiumAmount: bigint;
|
|
382
356
|
periodIndex: bigint;
|
|
@@ -389,21 +363,27 @@ export interface BuildActivateCycleWithQuoteSolTxParams {
|
|
|
389
363
|
totalAmountRaw: bigint;
|
|
390
364
|
includedShieldCount: number;
|
|
391
365
|
thresholdBps: number;
|
|
366
|
+
outcomeThresholdScore: number;
|
|
367
|
+
cohortHashHex?: string;
|
|
392
368
|
expiresAtTs: bigint;
|
|
393
369
|
nonceHashHex: string;
|
|
394
370
|
quoteMetaHashHex: string;
|
|
395
|
-
quoteMessage
|
|
396
|
-
oracleSecretKey
|
|
371
|
+
quoteMessage?: Uint8Array;
|
|
372
|
+
oracleSecretKey?: Uint8Array;
|
|
373
|
+
instructionsSysvar?: string;
|
|
374
|
+
quoteVerificationInstruction?: TransactionInstruction;
|
|
375
|
+
computeUnitLimit?: number;
|
|
397
376
|
recentBlockhash: string;
|
|
398
377
|
programId: string;
|
|
399
378
|
}
|
|
400
379
|
export interface BuildActivateCycleWithQuoteSplTxParams {
|
|
401
380
|
payer: string;
|
|
402
|
-
member
|
|
381
|
+
member?: string;
|
|
403
382
|
poolAddress: string;
|
|
404
383
|
oracle: string;
|
|
405
|
-
|
|
384
|
+
seriesRefHashHex: string;
|
|
406
385
|
paymentMint: string;
|
|
386
|
+
payerTokenAccount?: string;
|
|
407
387
|
premiumAmountRaw: bigint;
|
|
408
388
|
canonicalPremiumAmount: bigint;
|
|
409
389
|
periodIndex: bigint;
|
|
@@ -416,36 +396,54 @@ export interface BuildActivateCycleWithQuoteSplTxParams {
|
|
|
416
396
|
totalAmountRaw: bigint;
|
|
417
397
|
includedShieldCount: number;
|
|
418
398
|
thresholdBps: number;
|
|
399
|
+
outcomeThresholdScore: number;
|
|
400
|
+
cohortHashHex?: string;
|
|
419
401
|
expiresAtTs: bigint;
|
|
420
402
|
nonceHashHex: string;
|
|
421
403
|
quoteMetaHashHex: string;
|
|
422
|
-
quoteMessage
|
|
423
|
-
oracleSecretKey
|
|
404
|
+
quoteMessage?: Uint8Array;
|
|
405
|
+
oracleSecretKey?: Uint8Array;
|
|
406
|
+
instructionsSysvar?: string;
|
|
407
|
+
quoteVerificationInstruction?: TransactionInstruction;
|
|
408
|
+
computeUnitLimit?: number;
|
|
424
409
|
recentBlockhash: string;
|
|
425
410
|
programId: string;
|
|
426
411
|
}
|
|
427
412
|
export interface BuildSettleCycleCommitmentTxParams {
|
|
428
|
-
payer: string;
|
|
429
413
|
oracle: string;
|
|
430
414
|
member: string;
|
|
431
415
|
poolAddress: string;
|
|
432
|
-
|
|
416
|
+
seriesRefHashHex: string;
|
|
433
417
|
paymentMint: string;
|
|
434
418
|
periodIndex: bigint;
|
|
435
419
|
passed: boolean;
|
|
436
420
|
shieldConsumed: boolean;
|
|
421
|
+
cohortHashHex?: string;
|
|
422
|
+
settledHealthAlphaScore: number;
|
|
423
|
+
recipientTokenAccount: string;
|
|
437
424
|
recentBlockhash: string;
|
|
438
425
|
programId: string;
|
|
439
426
|
}
|
|
440
427
|
export interface BuildSettleCycleCommitmentSolTxParams {
|
|
441
|
-
payer: string;
|
|
442
428
|
oracle: string;
|
|
443
429
|
member: string;
|
|
444
430
|
poolAddress: string;
|
|
445
|
-
|
|
431
|
+
seriesRefHashHex: string;
|
|
446
432
|
periodIndex: bigint;
|
|
447
433
|
passed: boolean;
|
|
448
434
|
shieldConsumed: boolean;
|
|
435
|
+
cohortHashHex?: string;
|
|
436
|
+
settledHealthAlphaScore: number;
|
|
437
|
+
recipientSystemAccount: string;
|
|
438
|
+
recentBlockhash: string;
|
|
439
|
+
programId: string;
|
|
440
|
+
}
|
|
441
|
+
export interface BuildFinalizeCohortSettlementRootTxParams {
|
|
442
|
+
oracle: string;
|
|
443
|
+
poolAddress: string;
|
|
444
|
+
seriesRefHashHex: string;
|
|
445
|
+
payoutMint: string;
|
|
446
|
+
cohortHashHex: string;
|
|
449
447
|
recentBlockhash: string;
|
|
450
448
|
programId: string;
|
|
451
449
|
}
|
|
@@ -511,22 +509,11 @@ export interface BuildWithdrawPoolOracleFeeSolTxParams {
|
|
|
511
509
|
export interface ProtocolClient {
|
|
512
510
|
connection: Connection;
|
|
513
511
|
programId: PublicKey;
|
|
514
|
-
buildInitializeProtocolTx?: (params: BuildInitializeProtocolTxParams) => Transaction;
|
|
515
|
-
buildSetProtocolPauseTx?: (params: BuildSetProtocolPauseTxParams) => Transaction;
|
|
516
|
-
buildCreatePoolTx?: (params: BuildCreatePoolTxParams) => Transaction;
|
|
517
|
-
buildSetPoolStatusTx?: (params: BuildSetPoolStatusTxParams) => Transaction;
|
|
518
|
-
buildSetCycleWindowTx?: (params: BuildSetCycleWindowTxParams) => Transaction;
|
|
519
|
-
buildFundPoolTx?: (params: BuildFundPoolTxParams) => Transaction;
|
|
520
|
-
buildRegisterOracleTx?: (params: BuildRegisterOracleTxParams) => Transaction;
|
|
521
|
-
buildSetPoolOracleTx?: (params: BuildSetPoolOracleTxParams) => Transaction;
|
|
522
|
-
buildEnrollMemberTx?: (params: BuildEnrollMemberTxParams) => Transaction;
|
|
523
|
-
buildRevokeMemberTx?: (params: BuildRevokeMemberTxParams) => Transaction;
|
|
524
|
-
buildSubmitOutcomeAttestationTx?: (params: BuildSubmitOutcomeAttestationTxParams) => Transaction;
|
|
525
|
-
buildSubmitClaimTx?: (params: BuildSubmitClaimTxParams) => Transaction;
|
|
526
512
|
buildActivateCycleWithQuoteSolTx?: (params: BuildActivateCycleWithQuoteSolTxParams) => Transaction;
|
|
527
513
|
buildActivateCycleWithQuoteSplTx?: (params: BuildActivateCycleWithQuoteSplTxParams) => Transaction;
|
|
528
514
|
buildSettleCycleCommitmentTx?: (params: BuildSettleCycleCommitmentTxParams) => Transaction;
|
|
529
515
|
buildSettleCycleCommitmentSolTx?: (params: BuildSettleCycleCommitmentSolTxParams) => Transaction;
|
|
516
|
+
buildFinalizeCohortSettlementRootTx?: (params: BuildFinalizeCohortSettlementRootTxParams) => Transaction;
|
|
530
517
|
buildWithdrawPoolTreasurySplTx?: (params: BuildWithdrawPoolTreasurySplTxParams) => Transaction;
|
|
531
518
|
buildWithdrawPoolTreasurySolTx?: (params: BuildWithdrawPoolTreasurySolTxParams) => Transaction;
|
|
532
519
|
buildSetPoolCoverageReserveFloorTx?: (params: BuildSetPoolCoverageReserveFloorTxParams) => Transaction;
|
|
@@ -534,48 +521,32 @@ export interface ProtocolClient {
|
|
|
534
521
|
buildWithdrawProtocolFeeSolTx?: (params: BuildWithdrawProtocolFeeSolTxParams) => Transaction;
|
|
535
522
|
buildWithdrawPoolOracleFeeSplTx?: (params: BuildWithdrawPoolOracleFeeSplTxParams) => Transaction;
|
|
536
523
|
buildWithdrawPoolOracleFeeSolTx?: (params: BuildWithdrawPoolOracleFeeSolTxParams) => Transaction;
|
|
537
|
-
|
|
538
|
-
fetchPool?: (poolAddress: string) => Promise<ProtocolPoolAccount | null>;
|
|
539
|
-
fetchOracleRegistryEntry?: (oracle: string) => Promise<ProtocolOracleRegistryEntryAccount | null>;
|
|
540
|
-
fetchPoolOracleApproval?: (params: {
|
|
541
|
-
poolAddress: string;
|
|
542
|
-
oracle: string;
|
|
543
|
-
}) => Promise<ProtocolPoolOracleApprovalAccount | null>;
|
|
544
|
-
fetchMembershipRecord?: (params: {
|
|
545
|
-
poolAddress: string;
|
|
546
|
-
member: string;
|
|
547
|
-
}) => Promise<ProtocolMembershipRecordAccount | null>;
|
|
548
|
-
fetchCycleOutcome?: (params: {
|
|
549
|
-
poolAddress: string;
|
|
550
|
-
member: string;
|
|
551
|
-
cycleId: string;
|
|
552
|
-
}) => Promise<ProtocolCycleOutcomeAccount | null>;
|
|
553
|
-
fetchCycleWindow?: (params: {
|
|
554
|
-
poolAddress: string;
|
|
555
|
-
cycleId: string;
|
|
556
|
-
}) => Promise<ProtocolCycleWindowAccount | null>;
|
|
557
|
-
fetchClaimRecord?: (params: {
|
|
558
|
-
poolAddress: string;
|
|
559
|
-
member: string;
|
|
560
|
-
cycleId: string;
|
|
561
|
-
}) => Promise<ProtocolClaimRecordAccount | null>;
|
|
562
|
-
buildInitializeProtocolV2Tx?: (params: BuildInitializeProtocolV2TxParams) => Transaction;
|
|
524
|
+
buildInitializeProtocolTx?: (params: BuildInitializeProtocolTxParams) => Transaction;
|
|
563
525
|
buildSetProtocolParamsTx?: (params: BuildSetProtocolParamsTxParams) => Transaction;
|
|
564
526
|
buildRotateGovernanceAuthorityTx?: (params: BuildRotateGovernanceAuthorityTxParams) => Transaction;
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
|
|
527
|
+
buildRegisterOracleTx?: (params: BuildRegisterOracleTxParams) => Transaction;
|
|
528
|
+
buildClaimOracleTx?: (params: BuildClaimOracleTxParams) => Transaction;
|
|
529
|
+
buildUpdateOracleProfileTx?: (params: BuildUpdateOracleProfileTxParams) => Transaction;
|
|
568
530
|
buildUpdateOracleMetadataTx?: (params: BuildUpdateOracleMetadataTxParams) => Transaction;
|
|
569
531
|
buildStakeOracleTx?: (params: BuildStakeOracleTxParams) => Transaction;
|
|
570
532
|
buildRequestUnstakeTx?: (params: BuildRequestUnstakeTxParams) => Transaction;
|
|
571
533
|
buildFinalizeUnstakeTx?: (params: BuildFinalizeUnstakeTxParams) => Transaction;
|
|
572
534
|
buildSlashOracleTx?: (params: BuildSlashOracleTxParams) => Transaction;
|
|
573
|
-
|
|
535
|
+
buildCreatePoolTx?: (params: BuildCreatePoolTxParams) => Transaction;
|
|
536
|
+
buildSetPoolStatusTx?: (params: BuildSetPoolStatusTxParams) => Transaction;
|
|
537
|
+
buildSetPoolOracleTx?: (params: BuildSetPoolOracleTxParams) => Transaction;
|
|
574
538
|
buildSetPoolOraclePolicyTx?: (params: BuildSetPoolOraclePolicyTxParams) => Transaction;
|
|
539
|
+
buildSetPoolRiskControlsTx?: (params: BuildSetPoolRiskControlsTxParams) => Transaction;
|
|
540
|
+
buildSetPoolCompliancePolicyTx?: (params: BuildSetPoolCompliancePolicyTxParams) => Transaction;
|
|
541
|
+
buildSetPoolControlAuthoritiesTx?: (params: BuildSetPoolControlAuthoritiesTxParams) => Transaction;
|
|
542
|
+
buildSetPoolAutomationPolicyTx?: (params: BuildSetPoolAutomationPolicyTxParams) => Transaction;
|
|
543
|
+
buildSetPoolOraclePermissionsTx?: (params: BuildSetPoolOraclePermissionsTxParams) => Transaction;
|
|
575
544
|
buildSetPoolTermsHashTx?: (params: BuildSetPoolTermsHashTxParams) => Transaction;
|
|
576
545
|
buildRegisterOutcomeSchemaTx?: (params: BuildRegisterOutcomeSchemaTxParams) => Transaction;
|
|
577
546
|
buildVerifyOutcomeSchemaTx?: (params: BuildVerifyOutcomeSchemaTxParams) => Transaction;
|
|
578
|
-
|
|
547
|
+
buildBackfillSchemaDependencyLedgerTx?: (params: BuildBackfillSchemaDependencyLedgerTxParams) => Transaction;
|
|
548
|
+
buildCloseOutcomeSchemaTx?: (params: BuildCloseOutcomeSchemaTxParams) => Transaction;
|
|
549
|
+
buildSetPolicySeriesOutcomeRuleTx?: (params: BuildSetPoolOutcomeRuleTxParams) => Transaction;
|
|
579
550
|
buildRegisterInviteIssuerTx?: (params: BuildRegisterInviteIssuerTxParams) => Transaction;
|
|
580
551
|
buildEnrollMemberOpenTx?: (params: BuildEnrollMemberOpenTxParams) => Transaction;
|
|
581
552
|
buildEnrollMemberTokenGateTx?: (params: BuildEnrollMemberTokenGateTxParams) => Transaction;
|
|
@@ -583,33 +554,74 @@ export interface ProtocolClient {
|
|
|
583
554
|
buildSetClaimDelegateTx?: (params: BuildSetClaimDelegateTxParams) => Transaction;
|
|
584
555
|
buildFundPoolSolTx?: (params: BuildFundPoolSolTxParams) => Transaction;
|
|
585
556
|
buildFundPoolSplTx?: (params: BuildFundPoolSplTxParams) => Transaction;
|
|
557
|
+
buildInitializePoolLiquiditySolTx?: (params: BuildInitializePoolLiquiditySolTxParams) => Transaction;
|
|
558
|
+
buildInitializePoolLiquiditySplTx?: (params: BuildInitializePoolLiquiditySplTxParams) => Transaction;
|
|
559
|
+
buildSetPoolLiquidityEnabledTx?: (params: BuildSetPoolLiquidityEnabledTxParams) => Transaction;
|
|
560
|
+
buildRegisterPoolCapitalClassTx?: (params: BuildRegisterPoolCapitalClassTxParams) => Transaction;
|
|
561
|
+
buildDepositPoolLiquiditySolTx?: (params: BuildDepositPoolLiquiditySolTxParams) => Transaction;
|
|
562
|
+
buildDepositPoolLiquiditySplTx?: (params: BuildDepositPoolLiquiditySplTxParams) => Transaction;
|
|
563
|
+
buildRedeemPoolLiquiditySolTx?: (params: BuildRedeemPoolLiquiditySolTxParams) => Transaction;
|
|
564
|
+
buildRedeemPoolLiquiditySplTx?: (params: BuildRedeemPoolLiquiditySplTxParams) => Transaction;
|
|
565
|
+
buildRequestPoolLiquidityRedemptionTx?: (params: BuildRequestPoolLiquidityRedemptionTxParams) => Transaction;
|
|
566
|
+
buildSchedulePoolLiquidityRedemptionTx?: (params: BuildSchedulePoolLiquidityRedemptionTxParams) => Transaction;
|
|
567
|
+
buildCancelPoolLiquidityRedemptionTx?: (params: BuildCancelPoolLiquidityRedemptionTxParams) => Transaction;
|
|
568
|
+
buildFailPoolLiquidityRedemptionTx?: (params: BuildFailPoolLiquidityRedemptionTxParams) => Transaction;
|
|
569
|
+
buildFulfillPoolLiquidityRedemptionSolTx?: (params: BuildFulfillPoolLiquidityRedemptionSolTxParams) => Transaction;
|
|
570
|
+
buildFulfillPoolLiquidityRedemptionSplTx?: (params: BuildFulfillPoolLiquidityRedemptionSplTxParams) => Transaction;
|
|
586
571
|
buildSubmitOutcomeAttestationVoteTx?: (params: BuildSubmitOutcomeAttestationVoteTxParams) => Transaction;
|
|
587
572
|
buildFinalizeCycleOutcomeTx?: (params: BuildFinalizeCycleOutcomeTxParams) => Transaction;
|
|
573
|
+
buildOpenCycleOutcomeDisputeTx?: (params: BuildOpenCycleOutcomeDisputeTxParams) => Transaction;
|
|
574
|
+
buildResolveCycleOutcomeDisputeTx?: (params: BuildResolveCycleOutcomeDisputeTxParams) => Transaction;
|
|
588
575
|
buildSubmitRewardClaimTx?: (params: BuildSubmitRewardClaimTxParams) => Transaction;
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
|
|
576
|
+
buildCreatePolicySeriesTx?: (params: BuildCreatePolicySeriesTxParams) => Transaction;
|
|
577
|
+
buildUpdatePolicySeriesTx?: (params: BuildUpdatePolicySeriesTxParams) => Transaction;
|
|
578
|
+
buildUpsertPolicySeriesPaymentOptionTx?: (params: BuildUpsertPolicySeriesPaymentOptionTxParams) => Transaction;
|
|
579
|
+
buildSubscribePolicySeriesTx?: (params: BuildSubscribePolicySeriesTxParams) => Transaction;
|
|
580
|
+
buildIssuePolicyPositionTx?: (params: BuildIssuePolicyPositionTxParams) => Transaction;
|
|
594
581
|
buildMintPolicyNftTx?: (params: BuildMintPolicyNftTxParams) => Transaction;
|
|
595
|
-
|
|
582
|
+
buildPayPremiumSolTx?: (params: BuildPayPremiumSolTxParams) => Transaction;
|
|
583
|
+
buildPayPremiumSplTx?: (params: BuildPayPremiumSplTxParams) => Transaction;
|
|
596
584
|
buildAttestPremiumPaidOffchainTx?: (params: BuildAttestPremiumPaidOffchainTxParams) => Transaction;
|
|
597
585
|
buildSubmitCoverageClaimTx?: (params: BuildSubmitCoverageClaimTxParams) => Transaction;
|
|
586
|
+
buildReviewCoverageClaimTx?: (params: BuildReviewCoverageClaimTxParams) => Transaction;
|
|
587
|
+
buildAttachCoverageClaimDecisionSupportTx?: (params: BuildAttachCoverageClaimDecisionSupportTxParams) => Transaction;
|
|
588
|
+
buildApproveCoverageClaimTx?: (params: BuildApproveCoverageClaimTxParams) => Transaction;
|
|
589
|
+
buildDenyCoverageClaimTx?: (params: BuildDenyCoverageClaimTxParams) => Transaction;
|
|
590
|
+
buildPayCoverageClaimTx?: (params: BuildPayCoverageClaimTxParams) => Transaction;
|
|
591
|
+
buildClaimApprovedCoveragePayoutTx?: (params: BuildClaimApprovedCoveragePayoutTxParams) => Transaction;
|
|
592
|
+
buildCloseCoverageClaimTx?: (params: BuildCloseCoverageClaimTxParams) => Transaction;
|
|
598
593
|
buildSettleCoverageClaimTx?: (params: BuildSettleCoverageClaimTxParams) => Transaction;
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
|
|
594
|
+
fetchProtocolConfig?: () => Promise<ProtocolConfigAccount | null>;
|
|
595
|
+
fetchPool?: (poolAddress: string) => Promise<ProtocolPoolAccount | null>;
|
|
596
|
+
fetchOracleRegistryEntry?: (oracle: string) => Promise<ProtocolOracleRegistryEntryAccount | null>;
|
|
602
597
|
fetchOracleProfile?: (oracle: string) => Promise<ProtocolOracleProfileAccount | null>;
|
|
603
598
|
fetchOracleStakePosition?: (params: {
|
|
604
599
|
oracle: string;
|
|
605
600
|
staker: string;
|
|
606
601
|
}) => Promise<ProtocolOracleStakePositionAccount | null>;
|
|
602
|
+
fetchPoolOracleApproval?: (params: {
|
|
603
|
+
poolAddress: string;
|
|
604
|
+
oracle: string;
|
|
605
|
+
}) => Promise<ProtocolPoolOracleApprovalAccount | null>;
|
|
607
606
|
fetchPoolOraclePolicy?: (poolAddress: string) => Promise<ProtocolPoolOraclePolicyAccount | null>;
|
|
607
|
+
fetchMembershipRecord?: (params: {
|
|
608
|
+
poolAddress: string;
|
|
609
|
+
member: string;
|
|
610
|
+
}) => Promise<ProtocolMembershipRecordAccount | null>;
|
|
608
611
|
fetchPoolTerms?: (poolAddress: string) => Promise<ProtocolPoolTermsAccount | null>;
|
|
609
612
|
fetchPoolAssetVault?: (params: {
|
|
610
613
|
poolAddress: string;
|
|
611
614
|
payoutMint: string;
|
|
612
615
|
}) => Promise<ProtocolPoolAssetVaultAccount | null>;
|
|
616
|
+
fetchPoolLiquidityConfig?: (poolAddress: string) => Promise<ProtocolPoolLiquidityConfigAccount | null>;
|
|
617
|
+
fetchPoolRiskConfig?: (poolAddress: string) => Promise<ProtocolPoolRiskConfigAccount | null>;
|
|
618
|
+
fetchPoolCapitalClass?: (params: {
|
|
619
|
+
poolAddress: string;
|
|
620
|
+
shareMint: string;
|
|
621
|
+
}) => Promise<ProtocolPoolCapitalClassAccount | null>;
|
|
622
|
+
fetchPoolCompliancePolicy?: (poolAddress: string) => Promise<ProtocolPoolCompliancePolicyAccount | null>;
|
|
623
|
+
fetchPoolControlAuthority?: (poolAddress: string) => Promise<ProtocolPoolControlAuthorityAccount | null>;
|
|
624
|
+
fetchPoolAutomationPolicy?: (poolAddress: string) => Promise<ProtocolPoolAutomationPolicyAccount | null>;
|
|
613
625
|
fetchProtocolFeeVault?: (paymentMint: string) => Promise<ProtocolFeeVaultAccount | null>;
|
|
614
626
|
fetchPoolOracleFeeVault?: (params: {
|
|
615
627
|
poolAddress: string;
|
|
@@ -621,15 +633,18 @@ export interface ProtocolClient {
|
|
|
621
633
|
oracle: string;
|
|
622
634
|
}) => Promise<ProtocolPoolOraclePermissionSetAccount | null>;
|
|
623
635
|
fetchOutcomeSchema?: (schemaKeyHashHex: string) => Promise<ProtocolOutcomeSchemaRegistryEntryAccount | null>;
|
|
636
|
+
fetchSchemaDependencyLedger?: (schemaKeyHashHex: string) => Promise<ProtocolSchemaDependencyLedgerAccount | null>;
|
|
624
637
|
fetchPoolOutcomeRule?: (params: {
|
|
625
638
|
poolAddress: string;
|
|
639
|
+
seriesRefHashHex: string;
|
|
626
640
|
ruleHashHex: string;
|
|
627
641
|
}) => Promise<ProtocolPoolOutcomeRuleAccount | null>;
|
|
628
642
|
fetchInviteIssuer?: (issuer: string) => Promise<ProtocolInviteIssuerRegistryEntryAccount | null>;
|
|
629
643
|
fetchCycleOutcomeAggregate?: (params: {
|
|
630
644
|
poolAddress: string;
|
|
645
|
+
seriesRefHashHex: string;
|
|
631
646
|
member: string;
|
|
632
|
-
|
|
647
|
+
cycleHashHex: string;
|
|
633
648
|
ruleHashHex: string;
|
|
634
649
|
}) => Promise<ProtocolCycleOutcomeAggregateAccount | null>;
|
|
635
650
|
fetchEnrollmentPermitReplay?: (params: {
|
|
@@ -639,8 +654,9 @@ export interface ProtocolClient {
|
|
|
639
654
|
}) => Promise<ProtocolEnrollmentPermitReplayAccount | null>;
|
|
640
655
|
fetchAttestationVote?: (params: {
|
|
641
656
|
poolAddress: string;
|
|
657
|
+
seriesRefHashHex: string;
|
|
642
658
|
member: string;
|
|
643
|
-
|
|
659
|
+
cycleHashHex: string;
|
|
644
660
|
ruleHashHex: string;
|
|
645
661
|
oracle: string;
|
|
646
662
|
}) => Promise<ProtocolAttestationVoteAccount | null>;
|
|
@@ -648,31 +664,42 @@ export interface ProtocolClient {
|
|
|
648
664
|
poolAddress: string;
|
|
649
665
|
member: string;
|
|
650
666
|
}) => Promise<ProtocolClaimDelegateAuthorizationAccount | null>;
|
|
651
|
-
|
|
667
|
+
fetchClaimRecord?: (params: {
|
|
652
668
|
poolAddress: string;
|
|
669
|
+
seriesRefHashHex: string;
|
|
653
670
|
member: string;
|
|
654
|
-
|
|
671
|
+
cycleHashHex: string;
|
|
655
672
|
ruleHashHex: string;
|
|
656
|
-
}) => Promise<
|
|
657
|
-
|
|
673
|
+
}) => Promise<ProtocolClaimRecordAccount | null>;
|
|
674
|
+
fetchPolicySeries?: (params: {
|
|
658
675
|
poolAddress: string;
|
|
659
|
-
|
|
660
|
-
}) => Promise<
|
|
661
|
-
|
|
676
|
+
seriesRefHashHex: string;
|
|
677
|
+
}) => Promise<ProtocolPolicySeriesAccount | null>;
|
|
678
|
+
fetchPolicySeriesPaymentOption?: (params: {
|
|
662
679
|
poolAddress: string;
|
|
680
|
+
seriesRefHashHex: string;
|
|
681
|
+
paymentMint: string;
|
|
682
|
+
}) => Promise<ProtocolPolicySeriesPaymentOptionAccount | null>;
|
|
683
|
+
fetchPolicyPosition?: (params: {
|
|
684
|
+
poolAddress: string;
|
|
685
|
+
seriesRefHashHex: string;
|
|
663
686
|
member: string;
|
|
664
|
-
}) => Promise<
|
|
665
|
-
|
|
687
|
+
}) => Promise<ProtocolPolicyPositionAccount | null>;
|
|
688
|
+
fetchPolicyPositionNft?: (params: {
|
|
666
689
|
poolAddress: string;
|
|
690
|
+
seriesRefHashHex: string;
|
|
667
691
|
member: string;
|
|
668
|
-
}) => Promise<
|
|
692
|
+
}) => Promise<ProtocolPolicyPositionNftAccount | null>;
|
|
669
693
|
fetchMemberCycle?: (params: {
|
|
670
694
|
poolAddress: string;
|
|
695
|
+
seriesRefHashHex: string;
|
|
671
696
|
member: string;
|
|
672
697
|
periodIndex: bigint | number;
|
|
673
698
|
}) => Promise<ProtocolMemberCycleAccount | null>;
|
|
699
|
+
fetchMemberCycleByAddress?: (address: string) => Promise<ProtocolMemberCycleAccount | null>;
|
|
674
700
|
fetchCycleQuoteReplay?: (params: {
|
|
675
701
|
poolAddress: string;
|
|
702
|
+
seriesRefHashHex: string;
|
|
676
703
|
member: string;
|
|
677
704
|
nonceHashHex: string;
|
|
678
705
|
}) => Promise<ProtocolCycleQuoteReplayAccount | null>;
|
|
@@ -680,35 +707,35 @@ export interface ProtocolClient {
|
|
|
680
707
|
poolAddress: string;
|
|
681
708
|
paymentMint: string;
|
|
682
709
|
}) => Promise<ProtocolPoolTreasuryReserveAccount | null>;
|
|
710
|
+
fetchRedemptionRequest?: (params: {
|
|
711
|
+
poolAddress: string;
|
|
712
|
+
redeemer: string;
|
|
713
|
+
requestHashHex: string;
|
|
714
|
+
}) => Promise<ProtocolPoolRedemptionRequestAccount | null>;
|
|
715
|
+
fetchCohortSettlementRoot?: (params: {
|
|
716
|
+
poolAddress: string;
|
|
717
|
+
seriesRefHashHex: string;
|
|
718
|
+
cohortHashHex: string;
|
|
719
|
+
}) => Promise<ProtocolCohortSettlementRootAccount | null>;
|
|
683
720
|
fetchPremiumLedger?: (params: {
|
|
684
721
|
poolAddress: string;
|
|
722
|
+
seriesRefHashHex: string;
|
|
685
723
|
member: string;
|
|
686
724
|
}) => Promise<ProtocolPremiumLedgerAccount | null>;
|
|
687
725
|
fetchPremiumAttestationReplay?: (params: {
|
|
688
726
|
poolAddress: string;
|
|
727
|
+
seriesRefHashHex: string;
|
|
689
728
|
member: string;
|
|
690
729
|
replayHashHex: string;
|
|
691
730
|
}) => Promise<ProtocolPremiumAttestationReplayAccount | null>;
|
|
692
731
|
fetchCoverageClaimRecord?: (params: {
|
|
693
732
|
poolAddress: string;
|
|
733
|
+
seriesRefHashHex: string;
|
|
694
734
|
member: string;
|
|
695
735
|
intentHashHex: string;
|
|
696
736
|
}) => Promise<ProtocolCoverageClaimRecordAccount | null>;
|
|
697
737
|
}
|
|
698
738
|
export type ProtocolPoolType = 'reward' | 'coverage' | 'unknown';
|
|
699
|
-
export interface ProtocolConfigV2Account {
|
|
700
|
-
address: string;
|
|
701
|
-
admin: string;
|
|
702
|
-
governanceAuthority: string;
|
|
703
|
-
governanceRealm: string;
|
|
704
|
-
governanceConfig: string;
|
|
705
|
-
defaultStakeMint: string;
|
|
706
|
-
protocolFeeBps: number;
|
|
707
|
-
minOracleStake: bigint;
|
|
708
|
-
emergencyPaused: boolean;
|
|
709
|
-
allowedPayoutMintsHashHex: string;
|
|
710
|
-
bump: number;
|
|
711
|
-
}
|
|
712
739
|
export interface ProtocolOracleStakePositionAccount {
|
|
713
740
|
address: string;
|
|
714
741
|
oracle: string;
|
|
@@ -729,6 +756,7 @@ export interface ProtocolPoolOraclePolicyAccount {
|
|
|
729
756
|
requireVerifiedSchema: boolean;
|
|
730
757
|
oracleFeeBps: number;
|
|
731
758
|
allowDelegateClaim: boolean;
|
|
759
|
+
challengeWindowSecs: number;
|
|
732
760
|
bump: number;
|
|
733
761
|
}
|
|
734
762
|
export interface ProtocolPoolTermsAccount {
|
|
@@ -751,6 +779,83 @@ export interface ProtocolPoolAssetVaultAccount {
|
|
|
751
779
|
active: boolean;
|
|
752
780
|
bump: number;
|
|
753
781
|
}
|
|
782
|
+
export interface ProtocolPoolLiquidityConfigAccount {
|
|
783
|
+
address: string;
|
|
784
|
+
pool: string;
|
|
785
|
+
payoutMint: string;
|
|
786
|
+
shareMint: string;
|
|
787
|
+
depositsEnabled: boolean;
|
|
788
|
+
bump: number;
|
|
789
|
+
}
|
|
790
|
+
export interface ProtocolPoolRiskConfigAccount {
|
|
791
|
+
address: string;
|
|
792
|
+
pool: string;
|
|
793
|
+
redemptionMode: number;
|
|
794
|
+
claimMode: number;
|
|
795
|
+
impaired: boolean;
|
|
796
|
+
updatedBy: string;
|
|
797
|
+
updatedAt: number;
|
|
798
|
+
bump: number;
|
|
799
|
+
}
|
|
800
|
+
export interface ProtocolPoolCapitalClassAccount {
|
|
801
|
+
address: string;
|
|
802
|
+
pool: string;
|
|
803
|
+
shareMint: string;
|
|
804
|
+
payoutMint: string;
|
|
805
|
+
classIdHashHex: string;
|
|
806
|
+
seriesRefHashHex: string;
|
|
807
|
+
complianceProfileHashHex: string;
|
|
808
|
+
classMode: number;
|
|
809
|
+
classPriority: number;
|
|
810
|
+
transferMode: number;
|
|
811
|
+
restricted: boolean;
|
|
812
|
+
redemptionQueueEnabled: boolean;
|
|
813
|
+
ringFenced: boolean;
|
|
814
|
+
lockupSecs: number;
|
|
815
|
+
redemptionNoticeSecs: number;
|
|
816
|
+
vintageIndex: number;
|
|
817
|
+
issuedAt: number;
|
|
818
|
+
updatedAt: number;
|
|
819
|
+
bump: number;
|
|
820
|
+
}
|
|
821
|
+
export interface ProtocolPoolCompliancePolicyAccount {
|
|
822
|
+
address: string;
|
|
823
|
+
pool: string;
|
|
824
|
+
providerRefHashHex: string;
|
|
825
|
+
credentialTypeHashHex: string;
|
|
826
|
+
revocationListHashHex: string;
|
|
827
|
+
actionsMask: number;
|
|
828
|
+
bindingMode: number;
|
|
829
|
+
providerMode: number;
|
|
830
|
+
capitalRailMode: number;
|
|
831
|
+
payoutRailMode: number;
|
|
832
|
+
active: boolean;
|
|
833
|
+
updatedBy: string;
|
|
834
|
+
updatedAt: number;
|
|
835
|
+
bump: number;
|
|
836
|
+
}
|
|
837
|
+
export interface ProtocolPoolControlAuthorityAccount {
|
|
838
|
+
address: string;
|
|
839
|
+
pool: string;
|
|
840
|
+
operatorAuthority: string;
|
|
841
|
+
riskManagerAuthority: string;
|
|
842
|
+
complianceAuthority: string;
|
|
843
|
+
guardianAuthority: string;
|
|
844
|
+
updatedAt: number;
|
|
845
|
+
bump: number;
|
|
846
|
+
}
|
|
847
|
+
export interface ProtocolPoolAutomationPolicyAccount {
|
|
848
|
+
address: string;
|
|
849
|
+
pool: string;
|
|
850
|
+
oracleAutomationMode: number;
|
|
851
|
+
claimAutomationMode: number;
|
|
852
|
+
allowedAiRolesMask: number;
|
|
853
|
+
maxAutoClaimAmount: bigint;
|
|
854
|
+
requiredAttestationProviderRefHashHex: string;
|
|
855
|
+
updatedBy: string;
|
|
856
|
+
updatedAt: number;
|
|
857
|
+
bump: number;
|
|
858
|
+
}
|
|
754
859
|
export interface ProtocolFeeVaultAccount {
|
|
755
860
|
address: string;
|
|
756
861
|
paymentMint: string;
|
|
@@ -775,7 +880,7 @@ export interface ProtocolMemberCycleAccount {
|
|
|
775
880
|
address: string;
|
|
776
881
|
pool: string;
|
|
777
882
|
member: string;
|
|
778
|
-
|
|
883
|
+
seriesRefHashHex: string;
|
|
779
884
|
periodIndex: bigint;
|
|
780
885
|
paymentMint: string;
|
|
781
886
|
premiumAmountRaw: bigint;
|
|
@@ -788,6 +893,9 @@ export interface ProtocolMemberCycleAccount {
|
|
|
788
893
|
canonicalPremiumAmount: bigint;
|
|
789
894
|
commitmentEnabled: boolean;
|
|
790
895
|
thresholdBps: number;
|
|
896
|
+
outcomeThresholdScore: number;
|
|
897
|
+
cohortHashHex: string;
|
|
898
|
+
settledHealthAlphaScore: number;
|
|
791
899
|
includedShieldCount: number;
|
|
792
900
|
shieldConsumed: boolean;
|
|
793
901
|
statusCode: number;
|
|
@@ -801,6 +909,7 @@ export interface ProtocolMemberCycleAccount {
|
|
|
801
909
|
export interface ProtocolCycleQuoteReplayAccount {
|
|
802
910
|
address: string;
|
|
803
911
|
pool: string;
|
|
912
|
+
seriesRefHashHex: string;
|
|
804
913
|
member: string;
|
|
805
914
|
nonceHashHex: string;
|
|
806
915
|
quoteHashHex: string;
|
|
@@ -813,7 +922,30 @@ export interface ProtocolPoolTreasuryReserveAccount {
|
|
|
813
922
|
paymentMint: string;
|
|
814
923
|
reservedRefundAmount: bigint;
|
|
815
924
|
reservedRewardAmount: bigint;
|
|
925
|
+
reservedRedistributionAmount: bigint;
|
|
816
926
|
manualCoverageReserveAmount: bigint;
|
|
927
|
+
reservedCoverageClaimAmount: bigint;
|
|
928
|
+
paidCoverageClaimAmount: bigint;
|
|
929
|
+
recoveredCoverageClaimAmount: bigint;
|
|
930
|
+
impairedAmount: bigint;
|
|
931
|
+
lastLiabilityUpdateTs: number;
|
|
932
|
+
bump: number;
|
|
933
|
+
}
|
|
934
|
+
export interface ProtocolCohortSettlementRootAccount {
|
|
935
|
+
address: string;
|
|
936
|
+
pool: string;
|
|
937
|
+
seriesRefHashHex: string;
|
|
938
|
+
paymentMint: string;
|
|
939
|
+
cohortHashHex: string;
|
|
940
|
+
outcomeThresholdScore: number;
|
|
941
|
+
successfulMemberCount: number;
|
|
942
|
+
successfulHealthAlphaScoreSum: bigint;
|
|
943
|
+
redistributableFailedBondsTotal: bigint;
|
|
944
|
+
redistributionClaimedAmount: bigint;
|
|
945
|
+
successfulClaimCount: number;
|
|
946
|
+
finalized: boolean;
|
|
947
|
+
zeroSuccessReleased: boolean;
|
|
948
|
+
finalizedAt: number;
|
|
817
949
|
bump: number;
|
|
818
950
|
}
|
|
819
951
|
export interface ProtocolOutcomeSchemaRegistryEntryAccount {
|
|
@@ -824,17 +956,32 @@ export interface ProtocolOutcomeSchemaRegistryEntryAccount {
|
|
|
824
956
|
schemaHashHex: string;
|
|
825
957
|
publisher: string;
|
|
826
958
|
verified: boolean;
|
|
959
|
+
schemaFamily: number;
|
|
960
|
+
visibility: number;
|
|
961
|
+
interopProfileHashHex: string;
|
|
962
|
+
codeSystemFamilyHashHex: string;
|
|
963
|
+
mappingVersion: number;
|
|
827
964
|
metadataUri: string;
|
|
828
965
|
bump: number;
|
|
829
966
|
}
|
|
967
|
+
export interface ProtocolSchemaDependencyLedgerAccount {
|
|
968
|
+
address: string;
|
|
969
|
+
schemaKeyHashHex: string;
|
|
970
|
+
activeRuleRefcount: number;
|
|
971
|
+
bump: number;
|
|
972
|
+
}
|
|
830
973
|
export interface ProtocolPoolOutcomeRuleAccount {
|
|
831
974
|
address: string;
|
|
832
975
|
pool: string;
|
|
976
|
+
seriesRefHashHex: string;
|
|
833
977
|
ruleHashHex: string;
|
|
834
978
|
schemaKeyHashHex: string;
|
|
835
979
|
ruleId: string;
|
|
836
980
|
schemaKey: string;
|
|
837
981
|
schemaVersion: number;
|
|
982
|
+
interopProfileHashHex: string;
|
|
983
|
+
codeSystemFamilyHashHex: string;
|
|
984
|
+
mappingVersion: number;
|
|
838
985
|
payoutHashHex: string;
|
|
839
986
|
enabled: boolean;
|
|
840
987
|
bump: number;
|
|
@@ -850,6 +997,7 @@ export interface ProtocolInviteIssuerRegistryEntryAccount {
|
|
|
850
997
|
export interface ProtocolCycleOutcomeAggregateAccount {
|
|
851
998
|
address: string;
|
|
852
999
|
pool: string;
|
|
1000
|
+
seriesRefHashHex: string;
|
|
853
1001
|
member: string;
|
|
854
1002
|
cycleHashHex: string;
|
|
855
1003
|
ruleHashHex: string;
|
|
@@ -861,6 +1009,20 @@ export interface ProtocolCycleOutcomeAggregateAccount {
|
|
|
861
1009
|
passed: boolean;
|
|
862
1010
|
claimed: boolean;
|
|
863
1011
|
rewardLiabilityReserved: boolean;
|
|
1012
|
+
evidenceHashHex: string;
|
|
1013
|
+
externalAttestationRefHashHex: string;
|
|
1014
|
+
reviewStatus: number;
|
|
1015
|
+
challengeWindowEndsAt: number;
|
|
1016
|
+
disputeReasonHashHex: string;
|
|
1017
|
+
disputedBy: string;
|
|
1018
|
+
resolvedBy: string;
|
|
1019
|
+
resolvedAt: number;
|
|
1020
|
+
aiRole: number;
|
|
1021
|
+
automationMode: number;
|
|
1022
|
+
modelVersionHashHex: string;
|
|
1023
|
+
policyVersionHashHex: string;
|
|
1024
|
+
executionEnvironmentHashHex: string;
|
|
1025
|
+
attestationProviderRefHashHex: string;
|
|
864
1026
|
latestAsOfTs: number;
|
|
865
1027
|
bump: number;
|
|
866
1028
|
}
|
|
@@ -873,10 +1035,11 @@ export interface ProtocolClaimDelegateAuthorizationAccount {
|
|
|
873
1035
|
updatedAt: number;
|
|
874
1036
|
bump: number;
|
|
875
1037
|
}
|
|
876
|
-
export interface
|
|
1038
|
+
export interface ProtocolPolicyPositionAccount {
|
|
877
1039
|
address: string;
|
|
878
1040
|
pool: string;
|
|
879
1041
|
member: string;
|
|
1042
|
+
seriesRefHashHex: string;
|
|
880
1043
|
termsHashHex: string;
|
|
881
1044
|
status: number;
|
|
882
1045
|
startsAt: number;
|
|
@@ -890,6 +1053,7 @@ export interface ProtocolCoveragePolicyAccount {
|
|
|
890
1053
|
export interface ProtocolPremiumLedgerAccount {
|
|
891
1054
|
address: string;
|
|
892
1055
|
pool: string;
|
|
1056
|
+
seriesRefHashHex: string;
|
|
893
1057
|
member: string;
|
|
894
1058
|
periodIndex: bigint;
|
|
895
1059
|
amount: bigint;
|
|
@@ -910,6 +1074,7 @@ export interface ProtocolEnrollmentPermitReplayAccount {
|
|
|
910
1074
|
export interface ProtocolAttestationVoteAccount {
|
|
911
1075
|
address: string;
|
|
912
1076
|
pool: string;
|
|
1077
|
+
seriesRefHashHex: string;
|
|
913
1078
|
member: string;
|
|
914
1079
|
cycleHashHex: string;
|
|
915
1080
|
ruleHashHex: string;
|
|
@@ -917,44 +1082,57 @@ export interface ProtocolAttestationVoteAccount {
|
|
|
917
1082
|
passed: boolean;
|
|
918
1083
|
attestationDigestHex: string;
|
|
919
1084
|
observedValueHashHex: string;
|
|
1085
|
+
evidenceHashHex: string;
|
|
1086
|
+
externalAttestationRefHashHex: string;
|
|
1087
|
+
aiRole: number;
|
|
1088
|
+
automationMode: number;
|
|
1089
|
+
modelVersionHashHex: string;
|
|
1090
|
+
policyVersionHashHex: string;
|
|
1091
|
+
executionEnvironmentHashHex: string;
|
|
1092
|
+
attestationProviderRefHashHex: string;
|
|
920
1093
|
asOfTs: number;
|
|
921
1094
|
bump: number;
|
|
922
1095
|
}
|
|
923
|
-
export interface
|
|
1096
|
+
export interface ProtocolPolicySeriesAccount {
|
|
924
1097
|
address: string;
|
|
925
1098
|
pool: string;
|
|
926
|
-
|
|
927
|
-
|
|
928
|
-
|
|
929
|
-
|
|
930
|
-
|
|
931
|
-
|
|
932
|
-
|
|
933
|
-
|
|
934
|
-
|
|
1099
|
+
seriesRefHashHex: string;
|
|
1100
|
+
status: number;
|
|
1101
|
+
planMode: number;
|
|
1102
|
+
sponsorMode: number;
|
|
1103
|
+
displayName: string;
|
|
1104
|
+
metadataUri: string;
|
|
1105
|
+
termsHashHex: string;
|
|
1106
|
+
durationSecs: bigint;
|
|
1107
|
+
premiumDueEverySecs: bigint;
|
|
1108
|
+
premiumGraceSecs: bigint;
|
|
1109
|
+
premiumAmount: bigint;
|
|
1110
|
+
interopProfileHashHex: string;
|
|
1111
|
+
oracleProfileHashHex: string;
|
|
1112
|
+
riskFamilyHashHex: string;
|
|
1113
|
+
issuanceTemplateHashHex: string;
|
|
1114
|
+
comparabilityHashHex: string;
|
|
1115
|
+
renewalOfHashHex: string;
|
|
1116
|
+
termsVersion: number;
|
|
1117
|
+
mappingVersion: number;
|
|
1118
|
+
createdAtTs: bigint;
|
|
1119
|
+
updatedAtTs: bigint;
|
|
935
1120
|
bump: number;
|
|
936
1121
|
}
|
|
937
|
-
export interface
|
|
1122
|
+
export interface ProtocolPolicySeriesPaymentOptionAccount {
|
|
938
1123
|
address: string;
|
|
939
1124
|
pool: string;
|
|
940
|
-
|
|
941
|
-
|
|
1125
|
+
seriesRefHashHex: string;
|
|
1126
|
+
paymentMint: string;
|
|
1127
|
+
paymentAmount: bigint;
|
|
942
1128
|
active: boolean;
|
|
943
|
-
displayName: string;
|
|
944
|
-
metadataUri: string;
|
|
945
|
-
termsHashHex: string;
|
|
946
|
-
durationSecs: number;
|
|
947
|
-
premiumDueEverySecs: number;
|
|
948
|
-
premiumGraceSecs: number;
|
|
949
|
-
premiumAmount: bigint;
|
|
950
|
-
createdAtTs: number;
|
|
951
|
-
updatedAtTs: number;
|
|
952
1129
|
bump: number;
|
|
953
1130
|
}
|
|
954
|
-
export interface
|
|
1131
|
+
export interface ProtocolPolicyPositionNftAccount {
|
|
955
1132
|
address: string;
|
|
956
1133
|
pool: string;
|
|
957
1134
|
member: string;
|
|
1135
|
+
seriesRefHashHex: string;
|
|
958
1136
|
nftMint: string;
|
|
959
1137
|
metadataUri: string;
|
|
960
1138
|
bump: number;
|
|
@@ -962,8 +1140,8 @@ export interface ProtocolCoveragePolicyPositionNftAccount {
|
|
|
962
1140
|
export interface ProtocolPremiumAttestationReplayAccount {
|
|
963
1141
|
address: string;
|
|
964
1142
|
pool: string;
|
|
1143
|
+
seriesRefHashHex: string;
|
|
965
1144
|
member: string;
|
|
966
|
-
periodIndex: bigint;
|
|
967
1145
|
replayHashHex: string;
|
|
968
1146
|
oracle: string;
|
|
969
1147
|
createdAt: number;
|
|
@@ -972,24 +1150,56 @@ export interface ProtocolPremiumAttestationReplayAccount {
|
|
|
972
1150
|
export interface ProtocolCoverageClaimRecordAccount {
|
|
973
1151
|
address: string;
|
|
974
1152
|
pool: string;
|
|
1153
|
+
seriesRefHashHex: string;
|
|
975
1154
|
member: string;
|
|
976
1155
|
claimant: string;
|
|
977
1156
|
intentHashHex: string;
|
|
978
1157
|
eventHashHex: string;
|
|
1158
|
+
evidenceHashHex: string;
|
|
1159
|
+
interopRefHashHex: string;
|
|
1160
|
+
interopProfileHashHex: string;
|
|
1161
|
+
codeSystemFamilyHashHex: string;
|
|
1162
|
+
decisionReasonHashHex: string;
|
|
1163
|
+
adjudicationRefHashHex: string;
|
|
979
1164
|
status: number;
|
|
1165
|
+
claimFamily: number;
|
|
1166
|
+
appealCount: number;
|
|
1167
|
+
requestedAmount: bigint;
|
|
1168
|
+
approvedAmount: bigint;
|
|
1169
|
+
paidAmount: bigint;
|
|
1170
|
+
reservedAmount: bigint;
|
|
1171
|
+
recoveryAmount: bigint;
|
|
1172
|
+
aiDecisionHashHex: string;
|
|
1173
|
+
aiPolicyHashHex: string;
|
|
1174
|
+
aiExecutionEnvironmentHashHex: string;
|
|
1175
|
+
aiAttestationRefHashHex: string;
|
|
1176
|
+
aiAutomationMode: number;
|
|
980
1177
|
submittedAt: number;
|
|
1178
|
+
reviewedAt: number;
|
|
981
1179
|
settledAt: number;
|
|
1180
|
+
closedAt: number;
|
|
982
1181
|
bump: number;
|
|
983
1182
|
}
|
|
984
|
-
export interface
|
|
985
|
-
|
|
986
|
-
|
|
987
|
-
|
|
988
|
-
|
|
989
|
-
|
|
990
|
-
|
|
991
|
-
|
|
992
|
-
|
|
1183
|
+
export interface ProtocolPoolRedemptionRequestAccount {
|
|
1184
|
+
address: string;
|
|
1185
|
+
pool: string;
|
|
1186
|
+
redeemer: string;
|
|
1187
|
+
shareMint: string;
|
|
1188
|
+
payoutMint: string;
|
|
1189
|
+
requestHashHex: string;
|
|
1190
|
+
shareEscrow: string;
|
|
1191
|
+
status: number;
|
|
1192
|
+
sharesRequested: bigint;
|
|
1193
|
+
minAmountOut: bigint;
|
|
1194
|
+
expectedAmountOut: bigint;
|
|
1195
|
+
noticeMaturesAt: number;
|
|
1196
|
+
requestedAt: number;
|
|
1197
|
+
scheduledAt: number;
|
|
1198
|
+
fulfilledAt: number;
|
|
1199
|
+
cancelledAt: number;
|
|
1200
|
+
failedAt: number;
|
|
1201
|
+
failureCode: number;
|
|
1202
|
+
bump: number;
|
|
993
1203
|
}
|
|
994
1204
|
export interface BuildSetProtocolParamsTxParams {
|
|
995
1205
|
governanceAuthority: string;
|
|
@@ -1021,7 +1231,7 @@ export interface BuildRequestUnstakeTxParams {
|
|
|
1021
1231
|
staker: string;
|
|
1022
1232
|
oracle: string;
|
|
1023
1233
|
amount: bigint;
|
|
1024
|
-
cooldownSeconds: number;
|
|
1234
|
+
cooldownSeconds: bigint | number;
|
|
1025
1235
|
recentBlockhash: string;
|
|
1026
1236
|
programId: string;
|
|
1027
1237
|
}
|
|
@@ -1043,44 +1253,12 @@ export interface BuildSlashOracleTxParams {
|
|
|
1043
1253
|
recentBlockhash: string;
|
|
1044
1254
|
programId: string;
|
|
1045
1255
|
}
|
|
1046
|
-
export interface
|
|
1047
|
-
authority: string;
|
|
1048
|
-
poolId: string;
|
|
1049
|
-
organizationRef: string;
|
|
1050
|
-
payoutLamportsPerPass: bigint;
|
|
1051
|
-
membershipMode: number;
|
|
1052
|
-
tokenGateMint: string;
|
|
1053
|
-
tokenGateMinBalance: bigint;
|
|
1054
|
-
inviteIssuer: string;
|
|
1055
|
-
poolType: number;
|
|
1056
|
-
payoutAssetMint: string;
|
|
1057
|
-
termsHashHex: string;
|
|
1058
|
-
payoutPolicyHashHex: string;
|
|
1059
|
-
cycleMode: number;
|
|
1060
|
-
metadataUri: string;
|
|
1061
|
-
recentBlockhash: string;
|
|
1062
|
-
programId: string;
|
|
1063
|
-
}
|
|
1064
|
-
export interface BuildRegisterOracleV2TxParams {
|
|
1065
|
-
admin: string;
|
|
1066
|
-
oraclePubkey: string;
|
|
1067
|
-
oracleType: number;
|
|
1068
|
-
displayName: string;
|
|
1069
|
-
legalName: string;
|
|
1070
|
-
websiteUrl: string;
|
|
1071
|
-
appUrl: string;
|
|
1072
|
-
logoUri: string;
|
|
1073
|
-
webhookUrl: string;
|
|
1074
|
-
supportedSchemaKeyHashesHex: string[];
|
|
1075
|
-
recentBlockhash: string;
|
|
1076
|
-
programId: string;
|
|
1077
|
-
}
|
|
1078
|
-
export interface BuildClaimOracleV2TxParams {
|
|
1256
|
+
export interface BuildClaimOracleTxParams {
|
|
1079
1257
|
oracle: string;
|
|
1080
1258
|
recentBlockhash: string;
|
|
1081
1259
|
programId: string;
|
|
1082
1260
|
}
|
|
1083
|
-
export interface
|
|
1261
|
+
export interface BuildUpdateOracleProfileTxParams {
|
|
1084
1262
|
authority: string;
|
|
1085
1263
|
oracle: string;
|
|
1086
1264
|
oracleType: number;
|
|
@@ -1108,6 +1286,65 @@ export interface BuildSetPoolOraclePolicyTxParams {
|
|
|
1108
1286
|
requireVerifiedSchema: boolean;
|
|
1109
1287
|
oracleFeeBps: number;
|
|
1110
1288
|
allowDelegateClaim: boolean;
|
|
1289
|
+
challengeWindowSecs?: bigint | number;
|
|
1290
|
+
recentBlockhash: string;
|
|
1291
|
+
programId: string;
|
|
1292
|
+
}
|
|
1293
|
+
export interface BuildSetPoolRiskControlsTxParams {
|
|
1294
|
+
authority: string;
|
|
1295
|
+
poolAddress: string;
|
|
1296
|
+
payoutMint: string;
|
|
1297
|
+
redemptionMode: number;
|
|
1298
|
+
claimMode: number;
|
|
1299
|
+
impaired: boolean;
|
|
1300
|
+
impairmentAmount: bigint;
|
|
1301
|
+
includePoolControlAuthority?: boolean;
|
|
1302
|
+
recentBlockhash: string;
|
|
1303
|
+
programId: string;
|
|
1304
|
+
}
|
|
1305
|
+
export interface BuildSetPoolCompliancePolicyTxParams {
|
|
1306
|
+
authority: string;
|
|
1307
|
+
poolAddress: string;
|
|
1308
|
+
providerRefHashHex?: string;
|
|
1309
|
+
credentialTypeHashHex?: string;
|
|
1310
|
+
revocationListHashHex?: string;
|
|
1311
|
+
actionsMask: number;
|
|
1312
|
+
bindingMode: number;
|
|
1313
|
+
providerMode: number;
|
|
1314
|
+
capitalRailMode: number;
|
|
1315
|
+
payoutRailMode: number;
|
|
1316
|
+
active: boolean;
|
|
1317
|
+
includePoolControlAuthority?: boolean;
|
|
1318
|
+
recentBlockhash: string;
|
|
1319
|
+
programId: string;
|
|
1320
|
+
}
|
|
1321
|
+
export interface BuildSetPoolControlAuthoritiesTxParams {
|
|
1322
|
+
authority: string;
|
|
1323
|
+
poolAddress: string;
|
|
1324
|
+
operatorAuthority: string;
|
|
1325
|
+
riskManagerAuthority: string;
|
|
1326
|
+
complianceAuthority: string;
|
|
1327
|
+
guardianAuthority: string;
|
|
1328
|
+
recentBlockhash: string;
|
|
1329
|
+
programId: string;
|
|
1330
|
+
}
|
|
1331
|
+
export interface BuildSetPoolAutomationPolicyTxParams {
|
|
1332
|
+
authority: string;
|
|
1333
|
+
poolAddress: string;
|
|
1334
|
+
oracleAutomationMode: number;
|
|
1335
|
+
claimAutomationMode: number;
|
|
1336
|
+
allowedAiRolesMask: number;
|
|
1337
|
+
maxAutoClaimAmount: bigint;
|
|
1338
|
+
requiredAttestationProviderRefHashHex?: string;
|
|
1339
|
+
includePoolControlAuthority?: boolean;
|
|
1340
|
+
recentBlockhash: string;
|
|
1341
|
+
programId: string;
|
|
1342
|
+
}
|
|
1343
|
+
export interface BuildSetPoolOraclePermissionsTxParams {
|
|
1344
|
+
authority: string;
|
|
1345
|
+
poolAddress: string;
|
|
1346
|
+
oracle: string;
|
|
1347
|
+
permissions: number;
|
|
1111
1348
|
recentBlockhash: string;
|
|
1112
1349
|
programId: string;
|
|
1113
1350
|
}
|
|
@@ -1127,6 +1364,11 @@ export interface BuildRegisterOutcomeSchemaTxParams {
|
|
|
1127
1364
|
schemaKey: string;
|
|
1128
1365
|
version: number;
|
|
1129
1366
|
schemaHashHex: string;
|
|
1367
|
+
schemaFamily?: number;
|
|
1368
|
+
visibility?: number;
|
|
1369
|
+
interopProfileHashHex?: string;
|
|
1370
|
+
codeSystemFamilyHashHex?: string;
|
|
1371
|
+
mappingVersion?: number;
|
|
1130
1372
|
metadataUri: string;
|
|
1131
1373
|
recentBlockhash: string;
|
|
1132
1374
|
programId: string;
|
|
@@ -1138,14 +1380,32 @@ export interface BuildVerifyOutcomeSchemaTxParams {
|
|
|
1138
1380
|
recentBlockhash: string;
|
|
1139
1381
|
programId: string;
|
|
1140
1382
|
}
|
|
1383
|
+
export interface BuildBackfillSchemaDependencyLedgerTxParams {
|
|
1384
|
+
governanceAuthority: string;
|
|
1385
|
+
schemaKeyHashHex: string;
|
|
1386
|
+
poolRuleAddresses?: string[];
|
|
1387
|
+
recentBlockhash: string;
|
|
1388
|
+
programId: string;
|
|
1389
|
+
}
|
|
1390
|
+
export interface BuildCloseOutcomeSchemaTxParams {
|
|
1391
|
+
governanceAuthority: string;
|
|
1392
|
+
schemaKeyHashHex: string;
|
|
1393
|
+
recipientSystemAccount: string;
|
|
1394
|
+
recentBlockhash: string;
|
|
1395
|
+
programId: string;
|
|
1396
|
+
}
|
|
1141
1397
|
export interface BuildSetPoolOutcomeRuleTxParams {
|
|
1142
1398
|
authority: string;
|
|
1143
1399
|
poolAddress: string;
|
|
1400
|
+
seriesRefHashHex: string;
|
|
1144
1401
|
ruleHashHex: string;
|
|
1145
1402
|
schemaKeyHashHex: string;
|
|
1146
1403
|
ruleId: string;
|
|
1147
1404
|
schemaKey: string;
|
|
1148
1405
|
schemaVersion: number;
|
|
1406
|
+
interopProfileHashHex?: string;
|
|
1407
|
+
codeSystemFamilyHashHex?: string;
|
|
1408
|
+
mappingVersion?: number;
|
|
1149
1409
|
payoutHashHex: string;
|
|
1150
1410
|
enabled: boolean;
|
|
1151
1411
|
recentBlockhash: string;
|
|
@@ -1163,6 +1423,7 @@ export interface BuildEnrollMemberOpenTxParams {
|
|
|
1163
1423
|
member: string;
|
|
1164
1424
|
poolAddress: string;
|
|
1165
1425
|
subjectCommitmentHex?: string;
|
|
1426
|
+
includePoolCompliancePolicy?: boolean;
|
|
1166
1427
|
recentBlockhash: string;
|
|
1167
1428
|
programId: string;
|
|
1168
1429
|
}
|
|
@@ -1171,6 +1432,7 @@ export interface BuildEnrollMemberTokenGateTxParams {
|
|
|
1171
1432
|
poolAddress: string;
|
|
1172
1433
|
tokenGateAccount: string;
|
|
1173
1434
|
subjectCommitmentHex?: string;
|
|
1435
|
+
includePoolCompliancePolicy?: boolean;
|
|
1174
1436
|
recentBlockhash: string;
|
|
1175
1437
|
programId: string;
|
|
1176
1438
|
}
|
|
@@ -1182,6 +1444,7 @@ export interface BuildEnrollMemberInvitePermitTxParams {
|
|
|
1182
1444
|
nonceHashHex: string;
|
|
1183
1445
|
inviteIdHashHex: string;
|
|
1184
1446
|
expiresAtTs: number;
|
|
1447
|
+
includePoolCompliancePolicy?: boolean;
|
|
1185
1448
|
recentBlockhash: string;
|
|
1186
1449
|
programId: string;
|
|
1187
1450
|
}
|
|
@@ -1204,85 +1467,262 @@ export interface BuildFundPoolSplTxParams {
|
|
|
1204
1467
|
funder: string;
|
|
1205
1468
|
poolAddress: string;
|
|
1206
1469
|
payoutMint: string;
|
|
1207
|
-
poolVaultTokenAccount: string;
|
|
1208
1470
|
funderTokenAccount: string;
|
|
1209
1471
|
amount: bigint;
|
|
1210
1472
|
recentBlockhash: string;
|
|
1211
1473
|
programId: string;
|
|
1212
1474
|
}
|
|
1475
|
+
export interface BuildInitializePoolLiquiditySolTxParams {
|
|
1476
|
+
authority: string;
|
|
1477
|
+
poolAddress: string;
|
|
1478
|
+
initialLamports: bigint;
|
|
1479
|
+
recentBlockhash: string;
|
|
1480
|
+
programId: string;
|
|
1481
|
+
}
|
|
1482
|
+
export interface BuildInitializePoolLiquiditySplTxParams {
|
|
1483
|
+
authority: string;
|
|
1484
|
+
poolAddress: string;
|
|
1485
|
+
payoutMint: string;
|
|
1486
|
+
authorityPayoutTokenAccount: string;
|
|
1487
|
+
initialAmount: bigint;
|
|
1488
|
+
recentBlockhash: string;
|
|
1489
|
+
programId: string;
|
|
1490
|
+
}
|
|
1491
|
+
export interface BuildSetPoolLiquidityEnabledTxParams {
|
|
1492
|
+
authority: string;
|
|
1493
|
+
poolAddress: string;
|
|
1494
|
+
enabled: boolean;
|
|
1495
|
+
recentBlockhash: string;
|
|
1496
|
+
programId: string;
|
|
1497
|
+
}
|
|
1498
|
+
export interface BuildRegisterPoolCapitalClassTxParams {
|
|
1499
|
+
authority: string;
|
|
1500
|
+
poolAddress: string;
|
|
1501
|
+
classIdHashHex: string;
|
|
1502
|
+
classMode: number;
|
|
1503
|
+
classPriority: number;
|
|
1504
|
+
transferMode: number;
|
|
1505
|
+
restricted: boolean;
|
|
1506
|
+
redemptionQueueEnabled: boolean;
|
|
1507
|
+
ringFenced: boolean;
|
|
1508
|
+
lockupSecs: bigint | number;
|
|
1509
|
+
redemptionNoticeSecs: bigint | number;
|
|
1510
|
+
complianceProfileHashHex?: string;
|
|
1511
|
+
seriesRefHashHex?: string;
|
|
1512
|
+
vintageIndex: number;
|
|
1513
|
+
recentBlockhash: string;
|
|
1514
|
+
programId: string;
|
|
1515
|
+
}
|
|
1516
|
+
export interface BuildDepositPoolLiquiditySolTxParams {
|
|
1517
|
+
depositor: string;
|
|
1518
|
+
poolAddress: string;
|
|
1519
|
+
amountIn: bigint;
|
|
1520
|
+
minSharesOut: bigint;
|
|
1521
|
+
includePoolCapitalClass?: boolean;
|
|
1522
|
+
includePoolCompliancePolicy?: boolean;
|
|
1523
|
+
includeMembership?: boolean;
|
|
1524
|
+
recentBlockhash: string;
|
|
1525
|
+
programId: string;
|
|
1526
|
+
}
|
|
1527
|
+
export interface BuildDepositPoolLiquiditySplTxParams {
|
|
1528
|
+
depositor: string;
|
|
1529
|
+
poolAddress: string;
|
|
1530
|
+
payoutMint: string;
|
|
1531
|
+
depositorPayoutTokenAccount: string;
|
|
1532
|
+
amountIn: bigint;
|
|
1533
|
+
minSharesOut: bigint;
|
|
1534
|
+
includePoolCapitalClass?: boolean;
|
|
1535
|
+
includePoolCompliancePolicy?: boolean;
|
|
1536
|
+
includeMembership?: boolean;
|
|
1537
|
+
recentBlockhash: string;
|
|
1538
|
+
programId: string;
|
|
1539
|
+
}
|
|
1540
|
+
export interface BuildRedeemPoolLiquiditySolTxParams {
|
|
1541
|
+
redeemer: string;
|
|
1542
|
+
poolAddress: string;
|
|
1543
|
+
sharesIn: bigint;
|
|
1544
|
+
minAmountOut: bigint;
|
|
1545
|
+
includePoolCapitalClass?: boolean;
|
|
1546
|
+
includePoolCompliancePolicy?: boolean;
|
|
1547
|
+
includeMembership?: boolean;
|
|
1548
|
+
recentBlockhash: string;
|
|
1549
|
+
programId: string;
|
|
1550
|
+
}
|
|
1551
|
+
export interface BuildRedeemPoolLiquiditySplTxParams {
|
|
1552
|
+
redeemer: string;
|
|
1553
|
+
poolAddress: string;
|
|
1554
|
+
payoutMint: string;
|
|
1555
|
+
redeemerPayoutTokenAccount: string;
|
|
1556
|
+
sharesIn: bigint;
|
|
1557
|
+
minAmountOut: bigint;
|
|
1558
|
+
includePoolCapitalClass?: boolean;
|
|
1559
|
+
includePoolCompliancePolicy?: boolean;
|
|
1560
|
+
includeMembership?: boolean;
|
|
1561
|
+
recentBlockhash: string;
|
|
1562
|
+
programId: string;
|
|
1563
|
+
}
|
|
1564
|
+
export interface BuildRequestPoolLiquidityRedemptionTxParams {
|
|
1565
|
+
redeemer: string;
|
|
1566
|
+
poolAddress: string;
|
|
1567
|
+
payoutMint?: string;
|
|
1568
|
+
requestHashHex: string;
|
|
1569
|
+
sharesIn: bigint;
|
|
1570
|
+
minAmountOut: bigint;
|
|
1571
|
+
redeemerShareTokenAccount?: string;
|
|
1572
|
+
includePoolCapitalClass?: boolean;
|
|
1573
|
+
includePoolCompliancePolicy?: boolean;
|
|
1574
|
+
includeMembership?: boolean;
|
|
1575
|
+
recentBlockhash: string;
|
|
1576
|
+
programId: string;
|
|
1577
|
+
}
|
|
1578
|
+
export interface BuildSchedulePoolLiquidityRedemptionTxParams {
|
|
1579
|
+
authority: string;
|
|
1580
|
+
poolAddress: string;
|
|
1581
|
+
redemptionRequest: string;
|
|
1582
|
+
includePoolControlAuthority?: boolean;
|
|
1583
|
+
recentBlockhash: string;
|
|
1584
|
+
programId: string;
|
|
1585
|
+
}
|
|
1586
|
+
export interface BuildCancelPoolLiquidityRedemptionTxParams {
|
|
1587
|
+
redeemer: string;
|
|
1588
|
+
poolAddress: string;
|
|
1589
|
+
redemptionRequest: string;
|
|
1590
|
+
redeemerShareTokenAccount?: string;
|
|
1591
|
+
recentBlockhash: string;
|
|
1592
|
+
programId: string;
|
|
1593
|
+
}
|
|
1594
|
+
export interface BuildFailPoolLiquidityRedemptionTxParams {
|
|
1595
|
+
authority: string;
|
|
1596
|
+
poolAddress: string;
|
|
1597
|
+
redemptionRequest: string;
|
|
1598
|
+
redeemer: string;
|
|
1599
|
+
failureCode: number;
|
|
1600
|
+
redeemerShareTokenAccount?: string;
|
|
1601
|
+
includePoolControlAuthority?: boolean;
|
|
1602
|
+
recentBlockhash: string;
|
|
1603
|
+
programId: string;
|
|
1604
|
+
}
|
|
1605
|
+
export interface BuildFulfillPoolLiquidityRedemptionSolTxParams {
|
|
1606
|
+
authority: string;
|
|
1607
|
+
poolAddress: string;
|
|
1608
|
+
redemptionRequest: string;
|
|
1609
|
+
redeemerSystemAccount: string;
|
|
1610
|
+
includePoolControlAuthority?: boolean;
|
|
1611
|
+
recentBlockhash: string;
|
|
1612
|
+
programId: string;
|
|
1613
|
+
}
|
|
1614
|
+
export interface BuildFulfillPoolLiquidityRedemptionSplTxParams {
|
|
1615
|
+
authority: string;
|
|
1616
|
+
poolAddress: string;
|
|
1617
|
+
payoutMint: string;
|
|
1618
|
+
redemptionRequest: string;
|
|
1619
|
+
redeemerPayoutTokenAccount: string;
|
|
1620
|
+
includePoolControlAuthority?: boolean;
|
|
1621
|
+
recentBlockhash: string;
|
|
1622
|
+
programId: string;
|
|
1623
|
+
}
|
|
1213
1624
|
export interface BuildSubmitOutcomeAttestationVoteTxParams {
|
|
1214
1625
|
oracle: string;
|
|
1215
1626
|
poolAddress: string;
|
|
1627
|
+
seriesRefHashHex: string;
|
|
1216
1628
|
member: string;
|
|
1217
|
-
|
|
1629
|
+
cycleHashHex: string;
|
|
1218
1630
|
ruleHashHex: string;
|
|
1219
1631
|
schemaKeyHashHex: string;
|
|
1220
1632
|
payoutMint: string;
|
|
1221
1633
|
attestationDigestHex: string;
|
|
1222
1634
|
observedValueHashHex: string;
|
|
1635
|
+
evidenceHashHex?: string;
|
|
1636
|
+
externalAttestationRefHashHex?: string;
|
|
1637
|
+
aiRole?: number;
|
|
1638
|
+
automationMode?: number;
|
|
1639
|
+
modelVersionHashHex?: string;
|
|
1640
|
+
policyVersionHashHex?: string;
|
|
1641
|
+
executionEnvironmentHashHex?: string;
|
|
1642
|
+
attestationProviderRefHashHex?: string;
|
|
1643
|
+
includePoolAutomationPolicy?: boolean;
|
|
1223
1644
|
asOfTs: number;
|
|
1224
1645
|
passed: boolean;
|
|
1225
1646
|
recentBlockhash: string;
|
|
1226
1647
|
programId: string;
|
|
1227
1648
|
}
|
|
1228
1649
|
export interface BuildFinalizeCycleOutcomeTxParams {
|
|
1650
|
+
feePayer: string;
|
|
1229
1651
|
poolAddress: string;
|
|
1652
|
+
seriesRefHashHex: string;
|
|
1230
1653
|
member: string;
|
|
1231
|
-
|
|
1654
|
+
cycleHashHex: string;
|
|
1232
1655
|
ruleHashHex: string;
|
|
1233
1656
|
payoutMint: string;
|
|
1234
1657
|
recentBlockhash: string;
|
|
1235
|
-
|
|
1658
|
+
programId: string;
|
|
1659
|
+
}
|
|
1660
|
+
export interface BuildOpenCycleOutcomeDisputeTxParams {
|
|
1661
|
+
authority: string;
|
|
1662
|
+
poolAddress: string;
|
|
1663
|
+
aggregate: string;
|
|
1664
|
+
disputeReasonHashHex: string;
|
|
1665
|
+
recentBlockhash: string;
|
|
1666
|
+
programId: string;
|
|
1667
|
+
}
|
|
1668
|
+
export interface BuildResolveCycleOutcomeDisputeTxParams {
|
|
1669
|
+
governanceAuthority: string;
|
|
1670
|
+
poolAddress: string;
|
|
1671
|
+
payoutMint: string;
|
|
1672
|
+
aggregate: string;
|
|
1673
|
+
sustainOriginalOutcome: boolean;
|
|
1674
|
+
recentBlockhash: string;
|
|
1236
1675
|
programId: string;
|
|
1237
1676
|
}
|
|
1238
1677
|
export interface BuildSubmitRewardClaimTxParams {
|
|
1239
1678
|
claimant: string;
|
|
1240
1679
|
poolAddress: string;
|
|
1241
1680
|
member: string;
|
|
1242
|
-
|
|
1681
|
+
seriesRefHashHex: string;
|
|
1682
|
+
cycleHashHex: string;
|
|
1243
1683
|
ruleHashHex: string;
|
|
1244
1684
|
intentHashHex: string;
|
|
1245
1685
|
payoutAmount: bigint;
|
|
1246
|
-
payoutMint: string;
|
|
1247
1686
|
recipient: string;
|
|
1248
1687
|
recipientSystemAccount: string;
|
|
1688
|
+
payoutMint?: string;
|
|
1249
1689
|
claimDelegate?: string;
|
|
1690
|
+
memberCycle?: string;
|
|
1691
|
+
cohortSettlementRoot?: string;
|
|
1250
1692
|
poolAssetVault?: string;
|
|
1251
1693
|
poolVaultTokenAccount?: string;
|
|
1252
1694
|
recipientTokenAccount?: string;
|
|
1695
|
+
includePoolCompliancePolicy?: boolean;
|
|
1253
1696
|
recentBlockhash: string;
|
|
1254
1697
|
programId: string;
|
|
1255
1698
|
}
|
|
1256
|
-
export interface
|
|
1699
|
+
export interface BuildMintPolicyNftTxParams {
|
|
1257
1700
|
authority: string;
|
|
1258
1701
|
poolAddress: string;
|
|
1259
1702
|
member: string;
|
|
1260
|
-
|
|
1261
|
-
|
|
1262
|
-
|
|
1263
|
-
premiumDueEverySecs: number;
|
|
1264
|
-
premiumGraceSecs: number;
|
|
1703
|
+
seriesRefHashHex: string;
|
|
1704
|
+
nftMint: string;
|
|
1705
|
+
metadataUri: string;
|
|
1265
1706
|
recentBlockhash: string;
|
|
1266
1707
|
programId: string;
|
|
1267
1708
|
}
|
|
1268
|
-
export interface
|
|
1269
|
-
|
|
1709
|
+
export interface BuildPayPremiumSolTxParams {
|
|
1710
|
+
payer: string;
|
|
1270
1711
|
poolAddress: string;
|
|
1271
1712
|
member: string;
|
|
1272
|
-
|
|
1273
|
-
|
|
1713
|
+
seriesRefHashHex: string;
|
|
1714
|
+
periodIndex: bigint;
|
|
1274
1715
|
recentBlockhash: string;
|
|
1275
1716
|
programId: string;
|
|
1276
1717
|
}
|
|
1277
|
-
export interface
|
|
1718
|
+
export interface BuildPayPremiumSplTxParams {
|
|
1278
1719
|
payer: string;
|
|
1279
1720
|
poolAddress: string;
|
|
1280
1721
|
member: string;
|
|
1281
|
-
|
|
1282
|
-
|
|
1283
|
-
amount: bigint;
|
|
1722
|
+
seriesRefHashHex: string;
|
|
1723
|
+
paymentMint: string;
|
|
1284
1724
|
payerTokenAccount: string;
|
|
1285
|
-
|
|
1725
|
+
periodIndex: bigint;
|
|
1286
1726
|
recentBlockhash: string;
|
|
1287
1727
|
programId: string;
|
|
1288
1728
|
}
|
|
@@ -1290,6 +1730,7 @@ export interface BuildAttestPremiumPaidOffchainTxParams {
|
|
|
1290
1730
|
oracle: string;
|
|
1291
1731
|
poolAddress: string;
|
|
1292
1732
|
member: string;
|
|
1733
|
+
seriesRefHashHex: string;
|
|
1293
1734
|
periodIndex: bigint;
|
|
1294
1735
|
replayHashHex: string;
|
|
1295
1736
|
amount: bigint;
|
|
@@ -1301,88 +1742,205 @@ export interface BuildSubmitCoverageClaimTxParams {
|
|
|
1301
1742
|
claimant: string;
|
|
1302
1743
|
poolAddress: string;
|
|
1303
1744
|
member: string;
|
|
1745
|
+
seriesRefHashHex: string;
|
|
1304
1746
|
intentHashHex: string;
|
|
1305
1747
|
eventHashHex: string;
|
|
1306
1748
|
claimDelegate?: string;
|
|
1749
|
+
includePoolCompliancePolicy?: boolean;
|
|
1307
1750
|
recentBlockhash: string;
|
|
1308
1751
|
programId: string;
|
|
1309
1752
|
}
|
|
1310
|
-
export interface
|
|
1753
|
+
export interface BuildReviewCoverageClaimTxParams {
|
|
1754
|
+
oracle: string;
|
|
1755
|
+
poolAddress: string;
|
|
1756
|
+
member: string;
|
|
1757
|
+
seriesRefHashHex: string;
|
|
1758
|
+
intentHashHex: string;
|
|
1759
|
+
requestedAmount: bigint;
|
|
1760
|
+
evidenceHashHex: string;
|
|
1761
|
+
interopRefHashHex: string;
|
|
1762
|
+
claimFamily: number;
|
|
1763
|
+
interopProfileHashHex?: string;
|
|
1764
|
+
codeSystemFamilyHashHex?: string;
|
|
1765
|
+
recentBlockhash: string;
|
|
1766
|
+
programId: string;
|
|
1767
|
+
}
|
|
1768
|
+
export interface BuildAttachCoverageClaimDecisionSupportTxParams {
|
|
1769
|
+
oracle: string;
|
|
1770
|
+
poolAddress: string;
|
|
1771
|
+
member: string;
|
|
1772
|
+
seriesRefHashHex: string;
|
|
1773
|
+
intentHashHex: string;
|
|
1774
|
+
aiDecisionHashHex?: string;
|
|
1775
|
+
aiPolicyHashHex?: string;
|
|
1776
|
+
aiExecutionEnvironmentHashHex?: string;
|
|
1777
|
+
aiAttestationRefHashHex?: string;
|
|
1778
|
+
aiRole?: number;
|
|
1779
|
+
automationMode?: number;
|
|
1780
|
+
recentBlockhash: string;
|
|
1781
|
+
programId: string;
|
|
1782
|
+
}
|
|
1783
|
+
export interface BuildApproveCoverageClaimTxParams {
|
|
1784
|
+
oracle: string;
|
|
1785
|
+
poolAddress: string;
|
|
1786
|
+
member: string;
|
|
1787
|
+
seriesRefHashHex: string;
|
|
1788
|
+
intentHashHex: string;
|
|
1789
|
+
approvedAmount: bigint;
|
|
1790
|
+
payoutMint: string;
|
|
1791
|
+
poolAssetVault: string;
|
|
1792
|
+
poolVaultTokenAccount: string;
|
|
1793
|
+
decisionReasonHashHex: string;
|
|
1794
|
+
adjudicationRefHashHex?: string;
|
|
1795
|
+
recentBlockhash: string;
|
|
1796
|
+
programId: string;
|
|
1797
|
+
}
|
|
1798
|
+
export interface BuildDenyCoverageClaimTxParams {
|
|
1799
|
+
oracle: string;
|
|
1800
|
+
poolAddress: string;
|
|
1801
|
+
member: string;
|
|
1802
|
+
seriesRefHashHex: string;
|
|
1803
|
+
intentHashHex: string;
|
|
1804
|
+
payoutMint: string;
|
|
1805
|
+
decisionReasonHashHex: string;
|
|
1806
|
+
adjudicationRefHashHex?: string;
|
|
1807
|
+
recentBlockhash: string;
|
|
1808
|
+
programId: string;
|
|
1809
|
+
}
|
|
1810
|
+
export interface BuildPayCoverageClaimTxParams {
|
|
1311
1811
|
authority: string;
|
|
1312
1812
|
claimant: string;
|
|
1313
1813
|
poolAddress: string;
|
|
1314
1814
|
member: string;
|
|
1815
|
+
seriesRefHashHex: string;
|
|
1816
|
+
intentHashHex: string;
|
|
1817
|
+
payoutAmount: bigint;
|
|
1818
|
+
payoutMint: string;
|
|
1819
|
+
recipientSystemAccount: string;
|
|
1820
|
+
poolAssetVault: string;
|
|
1821
|
+
poolVaultTokenAccount: string;
|
|
1822
|
+
recipientTokenAccount: string;
|
|
1823
|
+
recentBlockhash: string;
|
|
1824
|
+
programId: string;
|
|
1825
|
+
}
|
|
1826
|
+
export interface BuildClaimApprovedCoveragePayoutTxParams {
|
|
1827
|
+
claimSigner: string;
|
|
1828
|
+
claimant: string;
|
|
1829
|
+
poolAddress: string;
|
|
1830
|
+
member: string;
|
|
1831
|
+
seriesRefHashHex: string;
|
|
1315
1832
|
intentHashHex: string;
|
|
1316
1833
|
payoutAmount: bigint;
|
|
1834
|
+
payoutMint: string;
|
|
1317
1835
|
recipientSystemAccount: string;
|
|
1318
1836
|
poolAssetVault: string;
|
|
1319
1837
|
poolVaultTokenAccount: string;
|
|
1320
1838
|
recipientTokenAccount: string;
|
|
1839
|
+
claimDelegate?: string;
|
|
1321
1840
|
recentBlockhash: string;
|
|
1322
1841
|
programId: string;
|
|
1323
1842
|
}
|
|
1324
|
-
export interface
|
|
1843
|
+
export interface BuildCloseCoverageClaimTxParams {
|
|
1325
1844
|
authority: string;
|
|
1326
1845
|
poolAddress: string;
|
|
1327
|
-
|
|
1328
|
-
|
|
1329
|
-
|
|
1330
|
-
|
|
1331
|
-
|
|
1332
|
-
premiumDueEverySecs: number;
|
|
1333
|
-
premiumGraceSecs: number;
|
|
1334
|
-
premiumAmount: bigint;
|
|
1335
|
-
active: boolean;
|
|
1846
|
+
member: string;
|
|
1847
|
+
seriesRefHashHex: string;
|
|
1848
|
+
intentHashHex: string;
|
|
1849
|
+
payoutMint: string;
|
|
1850
|
+
recoveryAmount: bigint;
|
|
1336
1851
|
recentBlockhash: string;
|
|
1337
1852
|
programId: string;
|
|
1338
1853
|
}
|
|
1339
|
-
export interface
|
|
1854
|
+
export interface BuildSettleCoverageClaimTxParams {
|
|
1855
|
+
oracle: string;
|
|
1856
|
+
claimant: string;
|
|
1857
|
+
poolAddress: string;
|
|
1858
|
+
member: string;
|
|
1859
|
+
seriesRefHashHex: string;
|
|
1860
|
+
intentHashHex: string;
|
|
1861
|
+
payoutAmount: bigint;
|
|
1862
|
+
payoutMint: string;
|
|
1863
|
+
recipientSystemAccount: string;
|
|
1864
|
+
poolAssetVault: string;
|
|
1865
|
+
poolVaultTokenAccount: string;
|
|
1866
|
+
recipientTokenAccount: string;
|
|
1867
|
+
recentBlockhash: string;
|
|
1868
|
+
programId: string;
|
|
1869
|
+
}
|
|
1870
|
+
export interface BuildCreatePolicySeriesTxParams {
|
|
1340
1871
|
authority: string;
|
|
1341
1872
|
poolAddress: string;
|
|
1342
|
-
|
|
1873
|
+
seriesRefHashHex: string;
|
|
1874
|
+
status: number;
|
|
1875
|
+
planMode: number;
|
|
1876
|
+
sponsorMode: number;
|
|
1343
1877
|
displayName: string;
|
|
1344
1878
|
metadataUri: string;
|
|
1345
1879
|
termsHashHex: string;
|
|
1346
|
-
durationSecs: number;
|
|
1347
|
-
premiumDueEverySecs: number;
|
|
1348
|
-
premiumGraceSecs: number;
|
|
1880
|
+
durationSecs: bigint | number;
|
|
1881
|
+
premiumDueEverySecs: bigint | number;
|
|
1882
|
+
premiumGraceSecs: bigint | number;
|
|
1349
1883
|
premiumAmount: bigint;
|
|
1350
|
-
|
|
1884
|
+
interopProfileHashHex?: string;
|
|
1885
|
+
oracleProfileHashHex?: string;
|
|
1886
|
+
riskFamilyHashHex?: string;
|
|
1887
|
+
issuanceTemplateHashHex?: string;
|
|
1888
|
+
comparabilityHashHex?: string;
|
|
1889
|
+
renewalOfHashHex?: string;
|
|
1890
|
+
termsVersion: number;
|
|
1891
|
+
mappingVersion: number;
|
|
1351
1892
|
recentBlockhash: string;
|
|
1352
1893
|
programId: string;
|
|
1353
1894
|
}
|
|
1354
|
-
export interface
|
|
1355
|
-
|
|
1895
|
+
export interface BuildUpsertPolicySeriesPaymentOptionTxParams {
|
|
1896
|
+
authority: string;
|
|
1356
1897
|
poolAddress: string;
|
|
1357
|
-
|
|
1358
|
-
|
|
1898
|
+
seriesRefHashHex: string;
|
|
1899
|
+
paymentMint: string;
|
|
1900
|
+
paymentAmount: bigint;
|
|
1901
|
+
active: boolean;
|
|
1359
1902
|
recentBlockhash: string;
|
|
1360
1903
|
programId: string;
|
|
1361
1904
|
}
|
|
1362
|
-
export interface
|
|
1905
|
+
export interface BuildUpdatePolicySeriesTxParams {
|
|
1363
1906
|
authority: string;
|
|
1364
1907
|
poolAddress: string;
|
|
1365
|
-
|
|
1366
|
-
|
|
1367
|
-
|
|
1908
|
+
seriesRefHashHex: string;
|
|
1909
|
+
status: number;
|
|
1910
|
+
planMode: number;
|
|
1911
|
+
sponsorMode: number;
|
|
1912
|
+
displayName: string;
|
|
1913
|
+
metadataUri: string;
|
|
1914
|
+
termsHashHex: string;
|
|
1915
|
+
durationSecs: bigint | number;
|
|
1916
|
+
premiumDueEverySecs: bigint | number;
|
|
1917
|
+
premiumGraceSecs: bigint | number;
|
|
1918
|
+
premiumAmount: bigint;
|
|
1919
|
+
interopProfileHashHex?: string;
|
|
1920
|
+
oracleProfileHashHex?: string;
|
|
1921
|
+
riskFamilyHashHex?: string;
|
|
1922
|
+
issuanceTemplateHashHex?: string;
|
|
1923
|
+
comparabilityHashHex?: string;
|
|
1924
|
+
renewalOfHashHex?: string;
|
|
1925
|
+
termsVersion: number;
|
|
1926
|
+
mappingVersion: number;
|
|
1368
1927
|
recentBlockhash: string;
|
|
1369
1928
|
programId: string;
|
|
1370
1929
|
}
|
|
1371
|
-
export interface
|
|
1372
|
-
|
|
1930
|
+
export interface BuildSubscribePolicySeriesTxParams {
|
|
1931
|
+
member: string;
|
|
1373
1932
|
poolAddress: string;
|
|
1374
|
-
|
|
1375
|
-
|
|
1376
|
-
termsHashHex: string;
|
|
1377
|
-
payoutPolicyHashHex: string;
|
|
1378
|
-
cycleMode: number;
|
|
1379
|
-
metadataUri: string;
|
|
1933
|
+
seriesRefHashHex: string;
|
|
1934
|
+
startsAtTs: bigint | number;
|
|
1380
1935
|
recentBlockhash: string;
|
|
1381
1936
|
programId: string;
|
|
1382
1937
|
}
|
|
1383
|
-
export interface
|
|
1384
|
-
|
|
1938
|
+
export interface BuildIssuePolicyPositionTxParams {
|
|
1939
|
+
authority: string;
|
|
1385
1940
|
poolAddress: string;
|
|
1941
|
+
member: string;
|
|
1942
|
+
seriesRefHashHex: string;
|
|
1943
|
+
startsAtTs: bigint | number;
|
|
1386
1944
|
recentBlockhash: string;
|
|
1387
1945
|
programId: string;
|
|
1388
1946
|
}
|