@omegax/protocol-sdk 0.4.4 → 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 +71 -131
- package/dist/protocol.js +3133 -1245
- package/dist/protocol_seeds.d.ts +78 -33
- package/dist/protocol_seeds.js +171 -52
- package/dist/rpc.js +65 -5
- package/dist/transactions.d.ts +1 -0
- package/dist/transactions.js +17 -0
- package/dist/types.d.ts +837 -315
- package/package.json +10 -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,22 +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;
|
|
397
375
|
computeUnitLimit?: number;
|
|
398
376
|
recentBlockhash: string;
|
|
399
377
|
programId: string;
|
|
400
378
|
}
|
|
401
379
|
export interface BuildActivateCycleWithQuoteSplTxParams {
|
|
402
380
|
payer: string;
|
|
403
|
-
member
|
|
381
|
+
member?: string;
|
|
404
382
|
poolAddress: string;
|
|
405
383
|
oracle: string;
|
|
406
|
-
|
|
384
|
+
seriesRefHashHex: string;
|
|
407
385
|
paymentMint: string;
|
|
386
|
+
payerTokenAccount?: string;
|
|
408
387
|
premiumAmountRaw: bigint;
|
|
409
388
|
canonicalPremiumAmount: bigint;
|
|
410
389
|
periodIndex: bigint;
|
|
@@ -417,37 +396,54 @@ export interface BuildActivateCycleWithQuoteSplTxParams {
|
|
|
417
396
|
totalAmountRaw: bigint;
|
|
418
397
|
includedShieldCount: number;
|
|
419
398
|
thresholdBps: number;
|
|
399
|
+
outcomeThresholdScore: number;
|
|
400
|
+
cohortHashHex?: string;
|
|
420
401
|
expiresAtTs: bigint;
|
|
421
402
|
nonceHashHex: string;
|
|
422
403
|
quoteMetaHashHex: string;
|
|
423
|
-
quoteMessage
|
|
424
|
-
oracleSecretKey
|
|
404
|
+
quoteMessage?: Uint8Array;
|
|
405
|
+
oracleSecretKey?: Uint8Array;
|
|
406
|
+
instructionsSysvar?: string;
|
|
407
|
+
quoteVerificationInstruction?: TransactionInstruction;
|
|
425
408
|
computeUnitLimit?: number;
|
|
426
409
|
recentBlockhash: string;
|
|
427
410
|
programId: string;
|
|
428
411
|
}
|
|
429
412
|
export interface BuildSettleCycleCommitmentTxParams {
|
|
430
|
-
payer: string;
|
|
431
413
|
oracle: string;
|
|
432
414
|
member: string;
|
|
433
415
|
poolAddress: string;
|
|
434
|
-
|
|
416
|
+
seriesRefHashHex: string;
|
|
435
417
|
paymentMint: string;
|
|
436
418
|
periodIndex: bigint;
|
|
437
419
|
passed: boolean;
|
|
438
420
|
shieldConsumed: boolean;
|
|
421
|
+
cohortHashHex?: string;
|
|
422
|
+
settledHealthAlphaScore: number;
|
|
423
|
+
recipientTokenAccount: string;
|
|
439
424
|
recentBlockhash: string;
|
|
440
425
|
programId: string;
|
|
441
426
|
}
|
|
442
427
|
export interface BuildSettleCycleCommitmentSolTxParams {
|
|
443
|
-
payer: string;
|
|
444
428
|
oracle: string;
|
|
445
429
|
member: string;
|
|
446
430
|
poolAddress: string;
|
|
447
|
-
|
|
431
|
+
seriesRefHashHex: string;
|
|
448
432
|
periodIndex: bigint;
|
|
449
433
|
passed: boolean;
|
|
450
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;
|
|
451
447
|
recentBlockhash: string;
|
|
452
448
|
programId: string;
|
|
453
449
|
}
|
|
@@ -513,22 +509,11 @@ export interface BuildWithdrawPoolOracleFeeSolTxParams {
|
|
|
513
509
|
export interface ProtocolClient {
|
|
514
510
|
connection: Connection;
|
|
515
511
|
programId: PublicKey;
|
|
516
|
-
buildInitializeProtocolTx?: (params: BuildInitializeProtocolTxParams) => Transaction;
|
|
517
|
-
buildSetProtocolPauseTx?: (params: BuildSetProtocolPauseTxParams) => Transaction;
|
|
518
|
-
buildCreatePoolTx?: (params: BuildCreatePoolTxParams) => Transaction;
|
|
519
|
-
buildSetPoolStatusTx?: (params: BuildSetPoolStatusTxParams) => Transaction;
|
|
520
|
-
buildSetCycleWindowTx?: (params: BuildSetCycleWindowTxParams) => Transaction;
|
|
521
|
-
buildFundPoolTx?: (params: BuildFundPoolTxParams) => Transaction;
|
|
522
|
-
buildRegisterOracleTx?: (params: BuildRegisterOracleTxParams) => Transaction;
|
|
523
|
-
buildSetPoolOracleTx?: (params: BuildSetPoolOracleTxParams) => Transaction;
|
|
524
|
-
buildEnrollMemberTx?: (params: BuildEnrollMemberTxParams) => Transaction;
|
|
525
|
-
buildRevokeMemberTx?: (params: BuildRevokeMemberTxParams) => Transaction;
|
|
526
|
-
buildSubmitOutcomeAttestationTx?: (params: BuildSubmitOutcomeAttestationTxParams) => Transaction;
|
|
527
|
-
buildSubmitClaimTx?: (params: BuildSubmitClaimTxParams) => Transaction;
|
|
528
512
|
buildActivateCycleWithQuoteSolTx?: (params: BuildActivateCycleWithQuoteSolTxParams) => Transaction;
|
|
529
513
|
buildActivateCycleWithQuoteSplTx?: (params: BuildActivateCycleWithQuoteSplTxParams) => Transaction;
|
|
530
514
|
buildSettleCycleCommitmentTx?: (params: BuildSettleCycleCommitmentTxParams) => Transaction;
|
|
531
515
|
buildSettleCycleCommitmentSolTx?: (params: BuildSettleCycleCommitmentSolTxParams) => Transaction;
|
|
516
|
+
buildFinalizeCohortSettlementRootTx?: (params: BuildFinalizeCohortSettlementRootTxParams) => Transaction;
|
|
532
517
|
buildWithdrawPoolTreasurySplTx?: (params: BuildWithdrawPoolTreasurySplTxParams) => Transaction;
|
|
533
518
|
buildWithdrawPoolTreasurySolTx?: (params: BuildWithdrawPoolTreasurySolTxParams) => Transaction;
|
|
534
519
|
buildSetPoolCoverageReserveFloorTx?: (params: BuildSetPoolCoverageReserveFloorTxParams) => Transaction;
|
|
@@ -536,49 +521,32 @@ export interface ProtocolClient {
|
|
|
536
521
|
buildWithdrawProtocolFeeSolTx?: (params: BuildWithdrawProtocolFeeSolTxParams) => Transaction;
|
|
537
522
|
buildWithdrawPoolOracleFeeSplTx?: (params: BuildWithdrawPoolOracleFeeSplTxParams) => Transaction;
|
|
538
523
|
buildWithdrawPoolOracleFeeSolTx?: (params: BuildWithdrawPoolOracleFeeSolTxParams) => Transaction;
|
|
539
|
-
|
|
540
|
-
fetchPool?: (poolAddress: string) => Promise<ProtocolPoolAccount | null>;
|
|
541
|
-
fetchOracleRegistryEntry?: (oracle: string) => Promise<ProtocolOracleRegistryEntryAccount | null>;
|
|
542
|
-
fetchPoolOracleApproval?: (params: {
|
|
543
|
-
poolAddress: string;
|
|
544
|
-
oracle: string;
|
|
545
|
-
}) => Promise<ProtocolPoolOracleApprovalAccount | null>;
|
|
546
|
-
fetchMembershipRecord?: (params: {
|
|
547
|
-
poolAddress: string;
|
|
548
|
-
member: string;
|
|
549
|
-
}) => Promise<ProtocolMembershipRecordAccount | null>;
|
|
550
|
-
fetchCycleOutcome?: (params: {
|
|
551
|
-
poolAddress: string;
|
|
552
|
-
member: string;
|
|
553
|
-
cycleId: string;
|
|
554
|
-
}) => Promise<ProtocolCycleOutcomeAccount | null>;
|
|
555
|
-
fetchCycleWindow?: (params: {
|
|
556
|
-
poolAddress: string;
|
|
557
|
-
cycleId: string;
|
|
558
|
-
}) => Promise<ProtocolCycleWindowAccount | null>;
|
|
559
|
-
fetchClaimRecord?: (params: {
|
|
560
|
-
poolAddress: string;
|
|
561
|
-
member: string;
|
|
562
|
-
cycleId: string;
|
|
563
|
-
}) => Promise<ProtocolClaimRecordAccount | null>;
|
|
564
|
-
buildInitializeProtocolV2Tx?: (params: BuildInitializeProtocolV2TxParams) => Transaction;
|
|
524
|
+
buildInitializeProtocolTx?: (params: BuildInitializeProtocolTxParams) => Transaction;
|
|
565
525
|
buildSetProtocolParamsTx?: (params: BuildSetProtocolParamsTxParams) => Transaction;
|
|
566
526
|
buildRotateGovernanceAuthorityTx?: (params: BuildRotateGovernanceAuthorityTxParams) => Transaction;
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
527
|
+
buildRegisterOracleTx?: (params: BuildRegisterOracleTxParams) => Transaction;
|
|
528
|
+
buildClaimOracleTx?: (params: BuildClaimOracleTxParams) => Transaction;
|
|
529
|
+
buildUpdateOracleProfileTx?: (params: BuildUpdateOracleProfileTxParams) => Transaction;
|
|
570
530
|
buildUpdateOracleMetadataTx?: (params: BuildUpdateOracleMetadataTxParams) => Transaction;
|
|
571
531
|
buildStakeOracleTx?: (params: BuildStakeOracleTxParams) => Transaction;
|
|
572
532
|
buildRequestUnstakeTx?: (params: BuildRequestUnstakeTxParams) => Transaction;
|
|
573
533
|
buildFinalizeUnstakeTx?: (params: BuildFinalizeUnstakeTxParams) => Transaction;
|
|
574
534
|
buildSlashOracleTx?: (params: BuildSlashOracleTxParams) => Transaction;
|
|
575
|
-
|
|
535
|
+
buildCreatePoolTx?: (params: BuildCreatePoolTxParams) => Transaction;
|
|
536
|
+
buildSetPoolStatusTx?: (params: BuildSetPoolStatusTxParams) => Transaction;
|
|
537
|
+
buildSetPoolOracleTx?: (params: BuildSetPoolOracleTxParams) => Transaction;
|
|
576
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;
|
|
577
543
|
buildSetPoolOraclePermissionsTx?: (params: BuildSetPoolOraclePermissionsTxParams) => Transaction;
|
|
578
544
|
buildSetPoolTermsHashTx?: (params: BuildSetPoolTermsHashTxParams) => Transaction;
|
|
579
545
|
buildRegisterOutcomeSchemaTx?: (params: BuildRegisterOutcomeSchemaTxParams) => Transaction;
|
|
580
546
|
buildVerifyOutcomeSchemaTx?: (params: BuildVerifyOutcomeSchemaTxParams) => Transaction;
|
|
581
|
-
|
|
547
|
+
buildBackfillSchemaDependencyLedgerTx?: (params: BuildBackfillSchemaDependencyLedgerTxParams) => Transaction;
|
|
548
|
+
buildCloseOutcomeSchemaTx?: (params: BuildCloseOutcomeSchemaTxParams) => Transaction;
|
|
549
|
+
buildSetPolicySeriesOutcomeRuleTx?: (params: BuildSetPoolOutcomeRuleTxParams) => Transaction;
|
|
582
550
|
buildRegisterInviteIssuerTx?: (params: BuildRegisterInviteIssuerTxParams) => Transaction;
|
|
583
551
|
buildEnrollMemberOpenTx?: (params: BuildEnrollMemberOpenTxParams) => Transaction;
|
|
584
552
|
buildEnrollMemberTokenGateTx?: (params: BuildEnrollMemberTokenGateTxParams) => Transaction;
|
|
@@ -586,34 +554,74 @@ export interface ProtocolClient {
|
|
|
586
554
|
buildSetClaimDelegateTx?: (params: BuildSetClaimDelegateTxParams) => Transaction;
|
|
587
555
|
buildFundPoolSolTx?: (params: BuildFundPoolSolTxParams) => Transaction;
|
|
588
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;
|
|
589
571
|
buildSubmitOutcomeAttestationVoteTx?: (params: BuildSubmitOutcomeAttestationVoteTxParams) => Transaction;
|
|
590
572
|
buildFinalizeCycleOutcomeTx?: (params: BuildFinalizeCycleOutcomeTxParams) => Transaction;
|
|
573
|
+
buildOpenCycleOutcomeDisputeTx?: (params: BuildOpenCycleOutcomeDisputeTxParams) => Transaction;
|
|
574
|
+
buildResolveCycleOutcomeDisputeTx?: (params: BuildResolveCycleOutcomeDisputeTxParams) => Transaction;
|
|
591
575
|
buildSubmitRewardClaimTx?: (params: BuildSubmitRewardClaimTxParams) => Transaction;
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
buildCreateCoveragePolicyTx?: (params: BuildCreateCoveragePolicyTxParams) => Transaction;
|
|
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;
|
|
598
581
|
buildMintPolicyNftTx?: (params: BuildMintPolicyNftTxParams) => Transaction;
|
|
599
|
-
|
|
582
|
+
buildPayPremiumSolTx?: (params: BuildPayPremiumSolTxParams) => Transaction;
|
|
583
|
+
buildPayPremiumSplTx?: (params: BuildPayPremiumSplTxParams) => Transaction;
|
|
600
584
|
buildAttestPremiumPaidOffchainTx?: (params: BuildAttestPremiumPaidOffchainTxParams) => Transaction;
|
|
601
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;
|
|
602
593
|
buildSettleCoverageClaimTx?: (params: BuildSettleCoverageClaimTxParams) => Transaction;
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
|
|
594
|
+
fetchProtocolConfig?: () => Promise<ProtocolConfigAccount | null>;
|
|
595
|
+
fetchPool?: (poolAddress: string) => Promise<ProtocolPoolAccount | null>;
|
|
596
|
+
fetchOracleRegistryEntry?: (oracle: string) => Promise<ProtocolOracleRegistryEntryAccount | null>;
|
|
606
597
|
fetchOracleProfile?: (oracle: string) => Promise<ProtocolOracleProfileAccount | null>;
|
|
607
598
|
fetchOracleStakePosition?: (params: {
|
|
608
599
|
oracle: string;
|
|
609
600
|
staker: string;
|
|
610
601
|
}) => Promise<ProtocolOracleStakePositionAccount | null>;
|
|
602
|
+
fetchPoolOracleApproval?: (params: {
|
|
603
|
+
poolAddress: string;
|
|
604
|
+
oracle: string;
|
|
605
|
+
}) => Promise<ProtocolPoolOracleApprovalAccount | null>;
|
|
611
606
|
fetchPoolOraclePolicy?: (poolAddress: string) => Promise<ProtocolPoolOraclePolicyAccount | null>;
|
|
607
|
+
fetchMembershipRecord?: (params: {
|
|
608
|
+
poolAddress: string;
|
|
609
|
+
member: string;
|
|
610
|
+
}) => Promise<ProtocolMembershipRecordAccount | null>;
|
|
612
611
|
fetchPoolTerms?: (poolAddress: string) => Promise<ProtocolPoolTermsAccount | null>;
|
|
613
612
|
fetchPoolAssetVault?: (params: {
|
|
614
613
|
poolAddress: string;
|
|
615
614
|
payoutMint: string;
|
|
616
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>;
|
|
617
625
|
fetchProtocolFeeVault?: (paymentMint: string) => Promise<ProtocolFeeVaultAccount | null>;
|
|
618
626
|
fetchPoolOracleFeeVault?: (params: {
|
|
619
627
|
poolAddress: string;
|
|
@@ -625,15 +633,18 @@ export interface ProtocolClient {
|
|
|
625
633
|
oracle: string;
|
|
626
634
|
}) => Promise<ProtocolPoolOraclePermissionSetAccount | null>;
|
|
627
635
|
fetchOutcomeSchema?: (schemaKeyHashHex: string) => Promise<ProtocolOutcomeSchemaRegistryEntryAccount | null>;
|
|
636
|
+
fetchSchemaDependencyLedger?: (schemaKeyHashHex: string) => Promise<ProtocolSchemaDependencyLedgerAccount | null>;
|
|
628
637
|
fetchPoolOutcomeRule?: (params: {
|
|
629
638
|
poolAddress: string;
|
|
639
|
+
seriesRefHashHex: string;
|
|
630
640
|
ruleHashHex: string;
|
|
631
641
|
}) => Promise<ProtocolPoolOutcomeRuleAccount | null>;
|
|
632
642
|
fetchInviteIssuer?: (issuer: string) => Promise<ProtocolInviteIssuerRegistryEntryAccount | null>;
|
|
633
643
|
fetchCycleOutcomeAggregate?: (params: {
|
|
634
644
|
poolAddress: string;
|
|
645
|
+
seriesRefHashHex: string;
|
|
635
646
|
member: string;
|
|
636
|
-
|
|
647
|
+
cycleHashHex: string;
|
|
637
648
|
ruleHashHex: string;
|
|
638
649
|
}) => Promise<ProtocolCycleOutcomeAggregateAccount | null>;
|
|
639
650
|
fetchEnrollmentPermitReplay?: (params: {
|
|
@@ -643,8 +654,9 @@ export interface ProtocolClient {
|
|
|
643
654
|
}) => Promise<ProtocolEnrollmentPermitReplayAccount | null>;
|
|
644
655
|
fetchAttestationVote?: (params: {
|
|
645
656
|
poolAddress: string;
|
|
657
|
+
seriesRefHashHex: string;
|
|
646
658
|
member: string;
|
|
647
|
-
|
|
659
|
+
cycleHashHex: string;
|
|
648
660
|
ruleHashHex: string;
|
|
649
661
|
oracle: string;
|
|
650
662
|
}) => Promise<ProtocolAttestationVoteAccount | null>;
|
|
@@ -652,36 +664,42 @@ export interface ProtocolClient {
|
|
|
652
664
|
poolAddress: string;
|
|
653
665
|
member: string;
|
|
654
666
|
}) => Promise<ProtocolClaimDelegateAuthorizationAccount | null>;
|
|
655
|
-
|
|
667
|
+
fetchClaimRecord?: (params: {
|
|
656
668
|
poolAddress: string;
|
|
669
|
+
seriesRefHashHex: string;
|
|
657
670
|
member: string;
|
|
658
|
-
|
|
671
|
+
cycleHashHex: string;
|
|
659
672
|
ruleHashHex: string;
|
|
660
|
-
}) => Promise<
|
|
661
|
-
|
|
673
|
+
}) => Promise<ProtocolClaimRecordAccount | null>;
|
|
674
|
+
fetchPolicySeries?: (params: {
|
|
662
675
|
poolAddress: string;
|
|
663
|
-
|
|
664
|
-
}) => Promise<
|
|
665
|
-
|
|
676
|
+
seriesRefHashHex: string;
|
|
677
|
+
}) => Promise<ProtocolPolicySeriesAccount | null>;
|
|
678
|
+
fetchPolicySeriesPaymentOption?: (params: {
|
|
666
679
|
poolAddress: string;
|
|
667
|
-
|
|
680
|
+
seriesRefHashHex: string;
|
|
668
681
|
paymentMint: string;
|
|
669
|
-
}) => Promise<
|
|
670
|
-
|
|
682
|
+
}) => Promise<ProtocolPolicySeriesPaymentOptionAccount | null>;
|
|
683
|
+
fetchPolicyPosition?: (params: {
|
|
671
684
|
poolAddress: string;
|
|
685
|
+
seriesRefHashHex: string;
|
|
672
686
|
member: string;
|
|
673
|
-
}) => Promise<
|
|
674
|
-
|
|
687
|
+
}) => Promise<ProtocolPolicyPositionAccount | null>;
|
|
688
|
+
fetchPolicyPositionNft?: (params: {
|
|
675
689
|
poolAddress: string;
|
|
690
|
+
seriesRefHashHex: string;
|
|
676
691
|
member: string;
|
|
677
|
-
}) => Promise<
|
|
692
|
+
}) => Promise<ProtocolPolicyPositionNftAccount | null>;
|
|
678
693
|
fetchMemberCycle?: (params: {
|
|
679
694
|
poolAddress: string;
|
|
695
|
+
seriesRefHashHex: string;
|
|
680
696
|
member: string;
|
|
681
697
|
periodIndex: bigint | number;
|
|
682
698
|
}) => Promise<ProtocolMemberCycleAccount | null>;
|
|
699
|
+
fetchMemberCycleByAddress?: (address: string) => Promise<ProtocolMemberCycleAccount | null>;
|
|
683
700
|
fetchCycleQuoteReplay?: (params: {
|
|
684
701
|
poolAddress: string;
|
|
702
|
+
seriesRefHashHex: string;
|
|
685
703
|
member: string;
|
|
686
704
|
nonceHashHex: string;
|
|
687
705
|
}) => Promise<ProtocolCycleQuoteReplayAccount | null>;
|
|
@@ -689,35 +707,35 @@ export interface ProtocolClient {
|
|
|
689
707
|
poolAddress: string;
|
|
690
708
|
paymentMint: string;
|
|
691
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>;
|
|
692
720
|
fetchPremiumLedger?: (params: {
|
|
693
721
|
poolAddress: string;
|
|
722
|
+
seriesRefHashHex: string;
|
|
694
723
|
member: string;
|
|
695
724
|
}) => Promise<ProtocolPremiumLedgerAccount | null>;
|
|
696
725
|
fetchPremiumAttestationReplay?: (params: {
|
|
697
726
|
poolAddress: string;
|
|
727
|
+
seriesRefHashHex: string;
|
|
698
728
|
member: string;
|
|
699
729
|
replayHashHex: string;
|
|
700
730
|
}) => Promise<ProtocolPremiumAttestationReplayAccount | null>;
|
|
701
731
|
fetchCoverageClaimRecord?: (params: {
|
|
702
732
|
poolAddress: string;
|
|
733
|
+
seriesRefHashHex: string;
|
|
703
734
|
member: string;
|
|
704
735
|
intentHashHex: string;
|
|
705
736
|
}) => Promise<ProtocolCoverageClaimRecordAccount | null>;
|
|
706
737
|
}
|
|
707
738
|
export type ProtocolPoolType = 'reward' | 'coverage' | 'unknown';
|
|
708
|
-
export interface ProtocolConfigV2Account {
|
|
709
|
-
address: string;
|
|
710
|
-
admin: string;
|
|
711
|
-
governanceAuthority: string;
|
|
712
|
-
governanceRealm: string;
|
|
713
|
-
governanceConfig: string;
|
|
714
|
-
defaultStakeMint: string;
|
|
715
|
-
protocolFeeBps: number;
|
|
716
|
-
minOracleStake: bigint;
|
|
717
|
-
emergencyPaused: boolean;
|
|
718
|
-
allowedPayoutMintsHashHex: string;
|
|
719
|
-
bump: number;
|
|
720
|
-
}
|
|
721
739
|
export interface ProtocolOracleStakePositionAccount {
|
|
722
740
|
address: string;
|
|
723
741
|
oracle: string;
|
|
@@ -738,6 +756,7 @@ export interface ProtocolPoolOraclePolicyAccount {
|
|
|
738
756
|
requireVerifiedSchema: boolean;
|
|
739
757
|
oracleFeeBps: number;
|
|
740
758
|
allowDelegateClaim: boolean;
|
|
759
|
+
challengeWindowSecs: number;
|
|
741
760
|
bump: number;
|
|
742
761
|
}
|
|
743
762
|
export interface ProtocolPoolTermsAccount {
|
|
@@ -760,6 +779,83 @@ export interface ProtocolPoolAssetVaultAccount {
|
|
|
760
779
|
active: boolean;
|
|
761
780
|
bump: number;
|
|
762
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
|
+
}
|
|
763
859
|
export interface ProtocolFeeVaultAccount {
|
|
764
860
|
address: string;
|
|
765
861
|
paymentMint: string;
|
|
@@ -784,7 +880,7 @@ export interface ProtocolMemberCycleAccount {
|
|
|
784
880
|
address: string;
|
|
785
881
|
pool: string;
|
|
786
882
|
member: string;
|
|
787
|
-
|
|
883
|
+
seriesRefHashHex: string;
|
|
788
884
|
periodIndex: bigint;
|
|
789
885
|
paymentMint: string;
|
|
790
886
|
premiumAmountRaw: bigint;
|
|
@@ -797,6 +893,9 @@ export interface ProtocolMemberCycleAccount {
|
|
|
797
893
|
canonicalPremiumAmount: bigint;
|
|
798
894
|
commitmentEnabled: boolean;
|
|
799
895
|
thresholdBps: number;
|
|
896
|
+
outcomeThresholdScore: number;
|
|
897
|
+
cohortHashHex: string;
|
|
898
|
+
settledHealthAlphaScore: number;
|
|
800
899
|
includedShieldCount: number;
|
|
801
900
|
shieldConsumed: boolean;
|
|
802
901
|
statusCode: number;
|
|
@@ -810,6 +909,7 @@ export interface ProtocolMemberCycleAccount {
|
|
|
810
909
|
export interface ProtocolCycleQuoteReplayAccount {
|
|
811
910
|
address: string;
|
|
812
911
|
pool: string;
|
|
912
|
+
seriesRefHashHex: string;
|
|
813
913
|
member: string;
|
|
814
914
|
nonceHashHex: string;
|
|
815
915
|
quoteHashHex: string;
|
|
@@ -822,7 +922,30 @@ export interface ProtocolPoolTreasuryReserveAccount {
|
|
|
822
922
|
paymentMint: string;
|
|
823
923
|
reservedRefundAmount: bigint;
|
|
824
924
|
reservedRewardAmount: bigint;
|
|
925
|
+
reservedRedistributionAmount: bigint;
|
|
825
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;
|
|
826
949
|
bump: number;
|
|
827
950
|
}
|
|
828
951
|
export interface ProtocolOutcomeSchemaRegistryEntryAccount {
|
|
@@ -833,17 +956,32 @@ export interface ProtocolOutcomeSchemaRegistryEntryAccount {
|
|
|
833
956
|
schemaHashHex: string;
|
|
834
957
|
publisher: string;
|
|
835
958
|
verified: boolean;
|
|
959
|
+
schemaFamily: number;
|
|
960
|
+
visibility: number;
|
|
961
|
+
interopProfileHashHex: string;
|
|
962
|
+
codeSystemFamilyHashHex: string;
|
|
963
|
+
mappingVersion: number;
|
|
836
964
|
metadataUri: string;
|
|
837
965
|
bump: number;
|
|
838
966
|
}
|
|
967
|
+
export interface ProtocolSchemaDependencyLedgerAccount {
|
|
968
|
+
address: string;
|
|
969
|
+
schemaKeyHashHex: string;
|
|
970
|
+
activeRuleRefcount: number;
|
|
971
|
+
bump: number;
|
|
972
|
+
}
|
|
839
973
|
export interface ProtocolPoolOutcomeRuleAccount {
|
|
840
974
|
address: string;
|
|
841
975
|
pool: string;
|
|
976
|
+
seriesRefHashHex: string;
|
|
842
977
|
ruleHashHex: string;
|
|
843
978
|
schemaKeyHashHex: string;
|
|
844
979
|
ruleId: string;
|
|
845
980
|
schemaKey: string;
|
|
846
981
|
schemaVersion: number;
|
|
982
|
+
interopProfileHashHex: string;
|
|
983
|
+
codeSystemFamilyHashHex: string;
|
|
984
|
+
mappingVersion: number;
|
|
847
985
|
payoutHashHex: string;
|
|
848
986
|
enabled: boolean;
|
|
849
987
|
bump: number;
|
|
@@ -859,6 +997,7 @@ export interface ProtocolInviteIssuerRegistryEntryAccount {
|
|
|
859
997
|
export interface ProtocolCycleOutcomeAggregateAccount {
|
|
860
998
|
address: string;
|
|
861
999
|
pool: string;
|
|
1000
|
+
seriesRefHashHex: string;
|
|
862
1001
|
member: string;
|
|
863
1002
|
cycleHashHex: string;
|
|
864
1003
|
ruleHashHex: string;
|
|
@@ -870,6 +1009,20 @@ export interface ProtocolCycleOutcomeAggregateAccount {
|
|
|
870
1009
|
passed: boolean;
|
|
871
1010
|
claimed: boolean;
|
|
872
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;
|
|
873
1026
|
latestAsOfTs: number;
|
|
874
1027
|
bump: number;
|
|
875
1028
|
}
|
|
@@ -882,10 +1035,11 @@ export interface ProtocolClaimDelegateAuthorizationAccount {
|
|
|
882
1035
|
updatedAt: number;
|
|
883
1036
|
bump: number;
|
|
884
1037
|
}
|
|
885
|
-
export interface
|
|
1038
|
+
export interface ProtocolPolicyPositionAccount {
|
|
886
1039
|
address: string;
|
|
887
1040
|
pool: string;
|
|
888
1041
|
member: string;
|
|
1042
|
+
seriesRefHashHex: string;
|
|
889
1043
|
termsHashHex: string;
|
|
890
1044
|
status: number;
|
|
891
1045
|
startsAt: number;
|
|
@@ -899,6 +1053,7 @@ export interface ProtocolCoveragePolicyAccount {
|
|
|
899
1053
|
export interface ProtocolPremiumLedgerAccount {
|
|
900
1054
|
address: string;
|
|
901
1055
|
pool: string;
|
|
1056
|
+
seriesRefHashHex: string;
|
|
902
1057
|
member: string;
|
|
903
1058
|
periodIndex: bigint;
|
|
904
1059
|
amount: bigint;
|
|
@@ -919,6 +1074,7 @@ export interface ProtocolEnrollmentPermitReplayAccount {
|
|
|
919
1074
|
export interface ProtocolAttestationVoteAccount {
|
|
920
1075
|
address: string;
|
|
921
1076
|
pool: string;
|
|
1077
|
+
seriesRefHashHex: string;
|
|
922
1078
|
member: string;
|
|
923
1079
|
cycleHashHex: string;
|
|
924
1080
|
ruleHashHex: string;
|
|
@@ -926,53 +1082,57 @@ export interface ProtocolAttestationVoteAccount {
|
|
|
926
1082
|
passed: boolean;
|
|
927
1083
|
attestationDigestHex: string;
|
|
928
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;
|
|
929
1093
|
asOfTs: number;
|
|
930
1094
|
bump: number;
|
|
931
1095
|
}
|
|
932
|
-
export interface
|
|
933
|
-
address: string;
|
|
934
|
-
pool: string;
|
|
935
|
-
member: string;
|
|
936
|
-
claimant: string;
|
|
937
|
-
cycleHashHex: string;
|
|
938
|
-
ruleHashHex: string;
|
|
939
|
-
intentHashHex: string;
|
|
940
|
-
payoutMint: string;
|
|
941
|
-
payoutAmount: bigint;
|
|
942
|
-
recipient: string;
|
|
943
|
-
submittedAt: number;
|
|
944
|
-
bump: number;
|
|
945
|
-
}
|
|
946
|
-
export interface ProtocolCoverageProductAccount {
|
|
1096
|
+
export interface ProtocolPolicySeriesAccount {
|
|
947
1097
|
address: string;
|
|
948
1098
|
pool: string;
|
|
949
|
-
|
|
950
|
-
|
|
951
|
-
|
|
1099
|
+
seriesRefHashHex: string;
|
|
1100
|
+
status: number;
|
|
1101
|
+
planMode: number;
|
|
1102
|
+
sponsorMode: number;
|
|
952
1103
|
displayName: string;
|
|
953
1104
|
metadataUri: string;
|
|
954
1105
|
termsHashHex: string;
|
|
955
|
-
durationSecs:
|
|
956
|
-
premiumDueEverySecs:
|
|
957
|
-
premiumGraceSecs:
|
|
1106
|
+
durationSecs: bigint;
|
|
1107
|
+
premiumDueEverySecs: bigint;
|
|
1108
|
+
premiumGraceSecs: bigint;
|
|
958
1109
|
premiumAmount: bigint;
|
|
959
|
-
|
|
960
|
-
|
|
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;
|
|
961
1120
|
bump: number;
|
|
962
1121
|
}
|
|
963
|
-
export interface
|
|
1122
|
+
export interface ProtocolPolicySeriesPaymentOptionAccount {
|
|
964
1123
|
address: string;
|
|
965
1124
|
pool: string;
|
|
966
|
-
|
|
1125
|
+
seriesRefHashHex: string;
|
|
967
1126
|
paymentMint: string;
|
|
968
1127
|
paymentAmount: bigint;
|
|
969
1128
|
active: boolean;
|
|
970
1129
|
bump: number;
|
|
971
1130
|
}
|
|
972
|
-
export interface
|
|
1131
|
+
export interface ProtocolPolicyPositionNftAccount {
|
|
973
1132
|
address: string;
|
|
974
1133
|
pool: string;
|
|
975
1134
|
member: string;
|
|
1135
|
+
seriesRefHashHex: string;
|
|
976
1136
|
nftMint: string;
|
|
977
1137
|
metadataUri: string;
|
|
978
1138
|
bump: number;
|
|
@@ -980,8 +1140,8 @@ export interface ProtocolCoveragePolicyPositionNftAccount {
|
|
|
980
1140
|
export interface ProtocolPremiumAttestationReplayAccount {
|
|
981
1141
|
address: string;
|
|
982
1142
|
pool: string;
|
|
1143
|
+
seriesRefHashHex: string;
|
|
983
1144
|
member: string;
|
|
984
|
-
periodIndex: bigint;
|
|
985
1145
|
replayHashHex: string;
|
|
986
1146
|
oracle: string;
|
|
987
1147
|
createdAt: number;
|
|
@@ -990,24 +1150,56 @@ export interface ProtocolPremiumAttestationReplayAccount {
|
|
|
990
1150
|
export interface ProtocolCoverageClaimRecordAccount {
|
|
991
1151
|
address: string;
|
|
992
1152
|
pool: string;
|
|
1153
|
+
seriesRefHashHex: string;
|
|
993
1154
|
member: string;
|
|
994
1155
|
claimant: string;
|
|
995
1156
|
intentHashHex: string;
|
|
996
1157
|
eventHashHex: string;
|
|
1158
|
+
evidenceHashHex: string;
|
|
1159
|
+
interopRefHashHex: string;
|
|
1160
|
+
interopProfileHashHex: string;
|
|
1161
|
+
codeSystemFamilyHashHex: string;
|
|
1162
|
+
decisionReasonHashHex: string;
|
|
1163
|
+
adjudicationRefHashHex: string;
|
|
997
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;
|
|
998
1177
|
submittedAt: number;
|
|
1178
|
+
reviewedAt: number;
|
|
999
1179
|
settledAt: number;
|
|
1180
|
+
closedAt: number;
|
|
1000
1181
|
bump: number;
|
|
1001
1182
|
}
|
|
1002
|
-
export interface
|
|
1003
|
-
|
|
1004
|
-
|
|
1005
|
-
|
|
1006
|
-
|
|
1007
|
-
|
|
1008
|
-
|
|
1009
|
-
|
|
1010
|
-
|
|
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;
|
|
1011
1203
|
}
|
|
1012
1204
|
export interface BuildSetProtocolParamsTxParams {
|
|
1013
1205
|
governanceAuthority: string;
|
|
@@ -1039,7 +1231,7 @@ export interface BuildRequestUnstakeTxParams {
|
|
|
1039
1231
|
staker: string;
|
|
1040
1232
|
oracle: string;
|
|
1041
1233
|
amount: bigint;
|
|
1042
|
-
cooldownSeconds: number;
|
|
1234
|
+
cooldownSeconds: bigint | number;
|
|
1043
1235
|
recentBlockhash: string;
|
|
1044
1236
|
programId: string;
|
|
1045
1237
|
}
|
|
@@ -1061,44 +1253,12 @@ export interface BuildSlashOracleTxParams {
|
|
|
1061
1253
|
recentBlockhash: string;
|
|
1062
1254
|
programId: string;
|
|
1063
1255
|
}
|
|
1064
|
-
export interface
|
|
1065
|
-
|
|
1066
|
-
|
|
1067
|
-
|
|
1068
|
-
|
|
1069
|
-
|
|
1070
|
-
tokenGateMint: string;
|
|
1071
|
-
tokenGateMinBalance: bigint;
|
|
1072
|
-
inviteIssuer: string;
|
|
1073
|
-
poolType: number;
|
|
1074
|
-
payoutAssetMint: string;
|
|
1075
|
-
termsHashHex: string;
|
|
1076
|
-
payoutPolicyHashHex: string;
|
|
1077
|
-
cycleMode: number;
|
|
1078
|
-
metadataUri: string;
|
|
1079
|
-
recentBlockhash: string;
|
|
1080
|
-
programId: string;
|
|
1081
|
-
}
|
|
1082
|
-
export interface BuildRegisterOracleV2TxParams {
|
|
1083
|
-
admin: string;
|
|
1084
|
-
oraclePubkey: string;
|
|
1085
|
-
oracleType: number;
|
|
1086
|
-
displayName: string;
|
|
1087
|
-
legalName: string;
|
|
1088
|
-
websiteUrl: string;
|
|
1089
|
-
appUrl: string;
|
|
1090
|
-
logoUri: string;
|
|
1091
|
-
webhookUrl: string;
|
|
1092
|
-
supportedSchemaKeyHashesHex: string[];
|
|
1093
|
-
recentBlockhash: string;
|
|
1094
|
-
programId: string;
|
|
1095
|
-
}
|
|
1096
|
-
export interface BuildClaimOracleV2TxParams {
|
|
1097
|
-
oracle: string;
|
|
1098
|
-
recentBlockhash: string;
|
|
1099
|
-
programId: string;
|
|
1100
|
-
}
|
|
1101
|
-
export interface BuildUpdateOracleProfileV2TxParams {
|
|
1256
|
+
export interface BuildClaimOracleTxParams {
|
|
1257
|
+
oracle: string;
|
|
1258
|
+
recentBlockhash: string;
|
|
1259
|
+
programId: string;
|
|
1260
|
+
}
|
|
1261
|
+
export interface BuildUpdateOracleProfileTxParams {
|
|
1102
1262
|
authority: string;
|
|
1103
1263
|
oracle: string;
|
|
1104
1264
|
oracleType: number;
|
|
@@ -1126,6 +1286,57 @@ export interface BuildSetPoolOraclePolicyTxParams {
|
|
|
1126
1286
|
requireVerifiedSchema: boolean;
|
|
1127
1287
|
oracleFeeBps: number;
|
|
1128
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;
|
|
1129
1340
|
recentBlockhash: string;
|
|
1130
1341
|
programId: string;
|
|
1131
1342
|
}
|
|
@@ -1153,6 +1364,11 @@ export interface BuildRegisterOutcomeSchemaTxParams {
|
|
|
1153
1364
|
schemaKey: string;
|
|
1154
1365
|
version: number;
|
|
1155
1366
|
schemaHashHex: string;
|
|
1367
|
+
schemaFamily?: number;
|
|
1368
|
+
visibility?: number;
|
|
1369
|
+
interopProfileHashHex?: string;
|
|
1370
|
+
codeSystemFamilyHashHex?: string;
|
|
1371
|
+
mappingVersion?: number;
|
|
1156
1372
|
metadataUri: string;
|
|
1157
1373
|
recentBlockhash: string;
|
|
1158
1374
|
programId: string;
|
|
@@ -1164,14 +1380,32 @@ export interface BuildVerifyOutcomeSchemaTxParams {
|
|
|
1164
1380
|
recentBlockhash: string;
|
|
1165
1381
|
programId: string;
|
|
1166
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
|
+
}
|
|
1167
1397
|
export interface BuildSetPoolOutcomeRuleTxParams {
|
|
1168
1398
|
authority: string;
|
|
1169
1399
|
poolAddress: string;
|
|
1400
|
+
seriesRefHashHex: string;
|
|
1170
1401
|
ruleHashHex: string;
|
|
1171
1402
|
schemaKeyHashHex: string;
|
|
1172
1403
|
ruleId: string;
|
|
1173
1404
|
schemaKey: string;
|
|
1174
1405
|
schemaVersion: number;
|
|
1406
|
+
interopProfileHashHex?: string;
|
|
1407
|
+
codeSystemFamilyHashHex?: string;
|
|
1408
|
+
mappingVersion?: number;
|
|
1175
1409
|
payoutHashHex: string;
|
|
1176
1410
|
enabled: boolean;
|
|
1177
1411
|
recentBlockhash: string;
|
|
@@ -1189,6 +1423,7 @@ export interface BuildEnrollMemberOpenTxParams {
|
|
|
1189
1423
|
member: string;
|
|
1190
1424
|
poolAddress: string;
|
|
1191
1425
|
subjectCommitmentHex?: string;
|
|
1426
|
+
includePoolCompliancePolicy?: boolean;
|
|
1192
1427
|
recentBlockhash: string;
|
|
1193
1428
|
programId: string;
|
|
1194
1429
|
}
|
|
@@ -1197,6 +1432,7 @@ export interface BuildEnrollMemberTokenGateTxParams {
|
|
|
1197
1432
|
poolAddress: string;
|
|
1198
1433
|
tokenGateAccount: string;
|
|
1199
1434
|
subjectCommitmentHex?: string;
|
|
1435
|
+
includePoolCompliancePolicy?: boolean;
|
|
1200
1436
|
recentBlockhash: string;
|
|
1201
1437
|
programId: string;
|
|
1202
1438
|
}
|
|
@@ -1208,6 +1444,7 @@ export interface BuildEnrollMemberInvitePermitTxParams {
|
|
|
1208
1444
|
nonceHashHex: string;
|
|
1209
1445
|
inviteIdHashHex: string;
|
|
1210
1446
|
expiresAtTs: number;
|
|
1447
|
+
includePoolCompliancePolicy?: boolean;
|
|
1211
1448
|
recentBlockhash: string;
|
|
1212
1449
|
programId: string;
|
|
1213
1450
|
}
|
|
@@ -1230,85 +1467,262 @@ export interface BuildFundPoolSplTxParams {
|
|
|
1230
1467
|
funder: string;
|
|
1231
1468
|
poolAddress: string;
|
|
1232
1469
|
payoutMint: string;
|
|
1233
|
-
poolVaultTokenAccount: string;
|
|
1234
1470
|
funderTokenAccount: string;
|
|
1235
1471
|
amount: bigint;
|
|
1236
1472
|
recentBlockhash: string;
|
|
1237
1473
|
programId: string;
|
|
1238
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
|
+
}
|
|
1239
1624
|
export interface BuildSubmitOutcomeAttestationVoteTxParams {
|
|
1240
1625
|
oracle: string;
|
|
1241
1626
|
poolAddress: string;
|
|
1627
|
+
seriesRefHashHex: string;
|
|
1242
1628
|
member: string;
|
|
1243
|
-
|
|
1629
|
+
cycleHashHex: string;
|
|
1244
1630
|
ruleHashHex: string;
|
|
1245
1631
|
schemaKeyHashHex: string;
|
|
1246
1632
|
payoutMint: string;
|
|
1247
1633
|
attestationDigestHex: string;
|
|
1248
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;
|
|
1249
1644
|
asOfTs: number;
|
|
1250
1645
|
passed: boolean;
|
|
1251
1646
|
recentBlockhash: string;
|
|
1252
1647
|
programId: string;
|
|
1253
1648
|
}
|
|
1254
1649
|
export interface BuildFinalizeCycleOutcomeTxParams {
|
|
1650
|
+
feePayer: string;
|
|
1255
1651
|
poolAddress: string;
|
|
1652
|
+
seriesRefHashHex: string;
|
|
1256
1653
|
member: string;
|
|
1257
|
-
|
|
1654
|
+
cycleHashHex: string;
|
|
1258
1655
|
ruleHashHex: string;
|
|
1259
1656
|
payoutMint: string;
|
|
1260
1657
|
recentBlockhash: string;
|
|
1261
|
-
|
|
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;
|
|
1262
1675
|
programId: string;
|
|
1263
1676
|
}
|
|
1264
1677
|
export interface BuildSubmitRewardClaimTxParams {
|
|
1265
1678
|
claimant: string;
|
|
1266
1679
|
poolAddress: string;
|
|
1267
1680
|
member: string;
|
|
1268
|
-
|
|
1681
|
+
seriesRefHashHex: string;
|
|
1682
|
+
cycleHashHex: string;
|
|
1269
1683
|
ruleHashHex: string;
|
|
1270
1684
|
intentHashHex: string;
|
|
1271
1685
|
payoutAmount: bigint;
|
|
1272
|
-
payoutMint: string;
|
|
1273
1686
|
recipient: string;
|
|
1274
1687
|
recipientSystemAccount: string;
|
|
1688
|
+
payoutMint?: string;
|
|
1275
1689
|
claimDelegate?: string;
|
|
1690
|
+
memberCycle?: string;
|
|
1691
|
+
cohortSettlementRoot?: string;
|
|
1276
1692
|
poolAssetVault?: string;
|
|
1277
1693
|
poolVaultTokenAccount?: string;
|
|
1278
1694
|
recipientTokenAccount?: string;
|
|
1695
|
+
includePoolCompliancePolicy?: boolean;
|
|
1279
1696
|
recentBlockhash: string;
|
|
1280
1697
|
programId: string;
|
|
1281
1698
|
}
|
|
1282
|
-
export interface
|
|
1699
|
+
export interface BuildMintPolicyNftTxParams {
|
|
1283
1700
|
authority: string;
|
|
1284
1701
|
poolAddress: string;
|
|
1285
1702
|
member: string;
|
|
1286
|
-
|
|
1287
|
-
|
|
1288
|
-
|
|
1289
|
-
premiumDueEverySecs: number;
|
|
1290
|
-
premiumGraceSecs: number;
|
|
1703
|
+
seriesRefHashHex: string;
|
|
1704
|
+
nftMint: string;
|
|
1705
|
+
metadataUri: string;
|
|
1291
1706
|
recentBlockhash: string;
|
|
1292
1707
|
programId: string;
|
|
1293
1708
|
}
|
|
1294
|
-
export interface
|
|
1295
|
-
|
|
1709
|
+
export interface BuildPayPremiumSolTxParams {
|
|
1710
|
+
payer: string;
|
|
1296
1711
|
poolAddress: string;
|
|
1297
1712
|
member: string;
|
|
1298
|
-
|
|
1299
|
-
|
|
1713
|
+
seriesRefHashHex: string;
|
|
1714
|
+
periodIndex: bigint;
|
|
1300
1715
|
recentBlockhash: string;
|
|
1301
1716
|
programId: string;
|
|
1302
1717
|
}
|
|
1303
|
-
export interface
|
|
1718
|
+
export interface BuildPayPremiumSplTxParams {
|
|
1304
1719
|
payer: string;
|
|
1305
1720
|
poolAddress: string;
|
|
1306
1721
|
member: string;
|
|
1307
|
-
|
|
1308
|
-
|
|
1309
|
-
amount: bigint;
|
|
1722
|
+
seriesRefHashHex: string;
|
|
1723
|
+
paymentMint: string;
|
|
1310
1724
|
payerTokenAccount: string;
|
|
1311
|
-
|
|
1725
|
+
periodIndex: bigint;
|
|
1312
1726
|
recentBlockhash: string;
|
|
1313
1727
|
programId: string;
|
|
1314
1728
|
}
|
|
@@ -1316,6 +1730,7 @@ export interface BuildAttestPremiumPaidOffchainTxParams {
|
|
|
1316
1730
|
oracle: string;
|
|
1317
1731
|
poolAddress: string;
|
|
1318
1732
|
member: string;
|
|
1733
|
+
seriesRefHashHex: string;
|
|
1319
1734
|
periodIndex: bigint;
|
|
1320
1735
|
replayHashHex: string;
|
|
1321
1736
|
amount: bigint;
|
|
@@ -1327,98 +1742,205 @@ export interface BuildSubmitCoverageClaimTxParams {
|
|
|
1327
1742
|
claimant: string;
|
|
1328
1743
|
poolAddress: string;
|
|
1329
1744
|
member: string;
|
|
1745
|
+
seriesRefHashHex: string;
|
|
1330
1746
|
intentHashHex: string;
|
|
1331
1747
|
eventHashHex: string;
|
|
1332
1748
|
claimDelegate?: string;
|
|
1749
|
+
includePoolCompliancePolicy?: boolean;
|
|
1333
1750
|
recentBlockhash: string;
|
|
1334
1751
|
programId: string;
|
|
1335
1752
|
}
|
|
1336
|
-
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 {
|
|
1337
1811
|
authority: string;
|
|
1338
1812
|
claimant: string;
|
|
1339
1813
|
poolAddress: string;
|
|
1340
1814
|
member: string;
|
|
1815
|
+
seriesRefHashHex: string;
|
|
1341
1816
|
intentHashHex: string;
|
|
1342
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;
|
|
1832
|
+
intentHashHex: string;
|
|
1833
|
+
payoutAmount: bigint;
|
|
1834
|
+
payoutMint: string;
|
|
1343
1835
|
recipientSystemAccount: string;
|
|
1344
1836
|
poolAssetVault: string;
|
|
1345
1837
|
poolVaultTokenAccount: string;
|
|
1346
1838
|
recipientTokenAccount: string;
|
|
1839
|
+
claimDelegate?: string;
|
|
1347
1840
|
recentBlockhash: string;
|
|
1348
1841
|
programId: string;
|
|
1349
1842
|
}
|
|
1350
|
-
export interface
|
|
1843
|
+
export interface BuildCloseCoverageClaimTxParams {
|
|
1351
1844
|
authority: string;
|
|
1352
1845
|
poolAddress: string;
|
|
1353
|
-
|
|
1846
|
+
member: string;
|
|
1847
|
+
seriesRefHashHex: string;
|
|
1848
|
+
intentHashHex: string;
|
|
1849
|
+
payoutMint: string;
|
|
1850
|
+
recoveryAmount: bigint;
|
|
1851
|
+
recentBlockhash: string;
|
|
1852
|
+
programId: string;
|
|
1853
|
+
}
|
|
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 {
|
|
1871
|
+
authority: string;
|
|
1872
|
+
poolAddress: string;
|
|
1873
|
+
seriesRefHashHex: string;
|
|
1874
|
+
status: number;
|
|
1875
|
+
planMode: number;
|
|
1876
|
+
sponsorMode: number;
|
|
1354
1877
|
displayName: string;
|
|
1355
1878
|
metadataUri: string;
|
|
1356
1879
|
termsHashHex: string;
|
|
1357
|
-
durationSecs: number;
|
|
1358
|
-
premiumDueEverySecs: number;
|
|
1359
|
-
premiumGraceSecs: number;
|
|
1880
|
+
durationSecs: bigint | number;
|
|
1881
|
+
premiumDueEverySecs: bigint | number;
|
|
1882
|
+
premiumGraceSecs: bigint | number;
|
|
1360
1883
|
premiumAmount: bigint;
|
|
1361
|
-
|
|
1884
|
+
interopProfileHashHex?: string;
|
|
1885
|
+
oracleProfileHashHex?: string;
|
|
1886
|
+
riskFamilyHashHex?: string;
|
|
1887
|
+
issuanceTemplateHashHex?: string;
|
|
1888
|
+
comparabilityHashHex?: string;
|
|
1889
|
+
renewalOfHashHex?: string;
|
|
1890
|
+
termsVersion: number;
|
|
1891
|
+
mappingVersion: number;
|
|
1362
1892
|
recentBlockhash: string;
|
|
1363
1893
|
programId: string;
|
|
1364
1894
|
}
|
|
1365
|
-
export interface
|
|
1895
|
+
export interface BuildUpsertPolicySeriesPaymentOptionTxParams {
|
|
1366
1896
|
authority: string;
|
|
1367
1897
|
poolAddress: string;
|
|
1368
|
-
|
|
1898
|
+
seriesRefHashHex: string;
|
|
1369
1899
|
paymentMint: string;
|
|
1370
1900
|
paymentAmount: bigint;
|
|
1371
1901
|
active: boolean;
|
|
1372
1902
|
recentBlockhash: string;
|
|
1373
1903
|
programId: string;
|
|
1374
1904
|
}
|
|
1375
|
-
export interface
|
|
1905
|
+
export interface BuildUpdatePolicySeriesTxParams {
|
|
1376
1906
|
authority: string;
|
|
1377
1907
|
poolAddress: string;
|
|
1378
|
-
|
|
1908
|
+
seriesRefHashHex: string;
|
|
1909
|
+
status: number;
|
|
1910
|
+
planMode: number;
|
|
1911
|
+
sponsorMode: number;
|
|
1379
1912
|
displayName: string;
|
|
1380
1913
|
metadataUri: string;
|
|
1381
1914
|
termsHashHex: string;
|
|
1382
|
-
durationSecs: number;
|
|
1383
|
-
premiumDueEverySecs: number;
|
|
1384
|
-
premiumGraceSecs: number;
|
|
1915
|
+
durationSecs: bigint | number;
|
|
1916
|
+
premiumDueEverySecs: bigint | number;
|
|
1917
|
+
premiumGraceSecs: bigint | number;
|
|
1385
1918
|
premiumAmount: bigint;
|
|
1386
|
-
|
|
1919
|
+
interopProfileHashHex?: string;
|
|
1920
|
+
oracleProfileHashHex?: string;
|
|
1921
|
+
riskFamilyHashHex?: string;
|
|
1922
|
+
issuanceTemplateHashHex?: string;
|
|
1923
|
+
comparabilityHashHex?: string;
|
|
1924
|
+
renewalOfHashHex?: string;
|
|
1925
|
+
termsVersion: number;
|
|
1926
|
+
mappingVersion: number;
|
|
1387
1927
|
recentBlockhash: string;
|
|
1388
1928
|
programId: string;
|
|
1389
1929
|
}
|
|
1390
|
-
export interface
|
|
1930
|
+
export interface BuildSubscribePolicySeriesTxParams {
|
|
1391
1931
|
member: string;
|
|
1392
1932
|
poolAddress: string;
|
|
1393
|
-
|
|
1394
|
-
|
|
1933
|
+
seriesRefHashHex: string;
|
|
1934
|
+
startsAtTs: bigint | number;
|
|
1395
1935
|
recentBlockhash: string;
|
|
1396
1936
|
programId: string;
|
|
1397
1937
|
}
|
|
1398
|
-
export interface
|
|
1938
|
+
export interface BuildIssuePolicyPositionTxParams {
|
|
1399
1939
|
authority: string;
|
|
1400
1940
|
poolAddress: string;
|
|
1401
1941
|
member: string;
|
|
1402
|
-
|
|
1403
|
-
|
|
1404
|
-
recentBlockhash: string;
|
|
1405
|
-
programId: string;
|
|
1406
|
-
}
|
|
1407
|
-
export interface BuildMigratePoolV1ToV2TxParams {
|
|
1408
|
-
authority: string;
|
|
1409
|
-
poolAddress: string;
|
|
1410
|
-
poolType: number;
|
|
1411
|
-
payoutAssetMint: string;
|
|
1412
|
-
termsHashHex: string;
|
|
1413
|
-
payoutPolicyHashHex: string;
|
|
1414
|
-
cycleMode: number;
|
|
1415
|
-
metadataUri: string;
|
|
1416
|
-
recentBlockhash: string;
|
|
1417
|
-
programId: string;
|
|
1418
|
-
}
|
|
1419
|
-
export interface BuildMigrateMembershipV1ToV2TxParams {
|
|
1420
|
-
member: string;
|
|
1421
|
-
poolAddress: string;
|
|
1942
|
+
seriesRefHashHex: string;
|
|
1943
|
+
startsAtTs: bigint | number;
|
|
1422
1944
|
recentBlockhash: string;
|
|
1423
1945
|
programId: string;
|
|
1424
1946
|
}
|