@bench.games/opportunity-markets 0.2.11 → 0.2.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/browser/index.js +3740 -2323
- package/dist/index.cjs +3651 -2280
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +592 -154
- package/dist/index.d.ts +592 -154
- package/dist/index.js +3740 -2323
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ReadonlyUint8Array, EncodedAccount, Account, MaybeEncodedAccount, MaybeAccount, fetchEncodedAccounts, Address, FetchAccountsConfig, fetchEncodedAccount, FetchAccountConfig, FixedSizeCodec, FixedSizeDecoder, FixedSizeEncoder,
|
|
1
|
+
import { ReadonlyUint8Array, EncodedAccount, Account, MaybeEncodedAccount, MaybeAccount, fetchEncodedAccounts, Address, FetchAccountsConfig, fetchEncodedAccount, FetchAccountConfig, FixedSizeCodec, FixedSizeDecoder, FixedSizeEncoder, Codec, Decoder, Encoder, GetDiscriminatedUnionVariantContent, GetDiscriminatedUnionVariant, Option, OptionOrNullable, SolanaError, SOLANA_ERROR__INSTRUCTION_ERROR__CUSTOM, TransactionSigner, AccountMeta, Instruction, InstructionWithData, InstructionWithAccounts, WritableSignerAccount, AccountSignerMeta, WritableAccount, ReadonlyAccount, ReadonlySignerAccount, Rpc, SolanaRpcApi, ProgramDerivedAddress } from '@solana/kit';
|
|
2
2
|
import * as _solana_accounts from '@solana/accounts';
|
|
3
3
|
import { RescueCipher } from '@arcium-hq/client';
|
|
4
4
|
|
|
@@ -42,17 +42,17 @@ declare function getCentralStateDiscriminatorBytes(): ReadonlyUint8Array<ArrayBu
|
|
|
42
42
|
type CentralState = {
|
|
43
43
|
discriminator: ReadonlyUint8Array;
|
|
44
44
|
bump: number;
|
|
45
|
-
|
|
45
|
+
updateAuthority: Address;
|
|
46
46
|
protocolFeeBp: number;
|
|
47
|
-
|
|
47
|
+
feeClaimer: Address;
|
|
48
48
|
/** Reserved for future use */
|
|
49
49
|
reserved: Array<number>;
|
|
50
50
|
};
|
|
51
51
|
type CentralStateArgs = {
|
|
52
52
|
bump: number;
|
|
53
|
-
|
|
53
|
+
updateAuthority: Address;
|
|
54
54
|
protocolFeeBp: number;
|
|
55
|
-
|
|
55
|
+
feeClaimer: Address;
|
|
56
56
|
/** Reserved for future use */
|
|
57
57
|
reserved: Array<number>;
|
|
58
58
|
};
|
|
@@ -66,6 +66,86 @@ declare function fetchMaybeCentralState<TAddress extends string = string>(rpc: P
|
|
|
66
66
|
declare function fetchAllCentralState(rpc: Parameters<typeof fetchEncodedAccounts>[0], addresses: Array<Address>, config?: FetchAccountsConfig): Promise<Account<CentralState>[]>;
|
|
67
67
|
declare function fetchAllMaybeCentralState(rpc: Parameters<typeof fetchEncodedAccounts>[0], addresses: Array<Address>, config?: FetchAccountsConfig): Promise<MaybeAccount<CentralState>[]>;
|
|
68
68
|
|
|
69
|
+
/**
|
|
70
|
+
* This code was AUTOGENERATED using the Codama library.
|
|
71
|
+
* Please DO NOT EDIT THIS FILE, instead use visitors
|
|
72
|
+
* to add features, then rerun Codama to update it.
|
|
73
|
+
*
|
|
74
|
+
* @see https://github.com/codama-idl/codama
|
|
75
|
+
*/
|
|
76
|
+
|
|
77
|
+
type AccountChangeCancelledEvent = {
|
|
78
|
+
centralState: Address;
|
|
79
|
+
changeType: string;
|
|
80
|
+
cancelledBy: Address;
|
|
81
|
+
proposedValue: Address;
|
|
82
|
+
timestamp: bigint;
|
|
83
|
+
};
|
|
84
|
+
type AccountChangeCancelledEventArgs = {
|
|
85
|
+
centralState: Address;
|
|
86
|
+
changeType: string;
|
|
87
|
+
cancelledBy: Address;
|
|
88
|
+
proposedValue: Address;
|
|
89
|
+
timestamp: number | bigint;
|
|
90
|
+
};
|
|
91
|
+
declare function getAccountChangeCancelledEventEncoder(): Encoder<AccountChangeCancelledEventArgs>;
|
|
92
|
+
declare function getAccountChangeCancelledEventDecoder(): Decoder<AccountChangeCancelledEvent>;
|
|
93
|
+
declare function getAccountChangeCancelledEventCodec(): Codec<AccountChangeCancelledEventArgs, AccountChangeCancelledEvent>;
|
|
94
|
+
|
|
95
|
+
/**
|
|
96
|
+
* This code was AUTOGENERATED using the Codama library.
|
|
97
|
+
* Please DO NOT EDIT THIS FILE, instead use visitors
|
|
98
|
+
* to add features, then rerun Codama to update it.
|
|
99
|
+
*
|
|
100
|
+
* @see https://github.com/codama-idl/codama
|
|
101
|
+
*/
|
|
102
|
+
|
|
103
|
+
type AccountChangeFinalizedEvent = {
|
|
104
|
+
centralState: Address;
|
|
105
|
+
changeType: string;
|
|
106
|
+
oldValue: Address;
|
|
107
|
+
newValue: Address;
|
|
108
|
+
timestamp: bigint;
|
|
109
|
+
};
|
|
110
|
+
type AccountChangeFinalizedEventArgs = {
|
|
111
|
+
centralState: Address;
|
|
112
|
+
changeType: string;
|
|
113
|
+
oldValue: Address;
|
|
114
|
+
newValue: Address;
|
|
115
|
+
timestamp: number | bigint;
|
|
116
|
+
};
|
|
117
|
+
declare function getAccountChangeFinalizedEventEncoder(): Encoder<AccountChangeFinalizedEventArgs>;
|
|
118
|
+
declare function getAccountChangeFinalizedEventDecoder(): Decoder<AccountChangeFinalizedEvent>;
|
|
119
|
+
declare function getAccountChangeFinalizedEventCodec(): Codec<AccountChangeFinalizedEventArgs, AccountChangeFinalizedEvent>;
|
|
120
|
+
|
|
121
|
+
/**
|
|
122
|
+
* This code was AUTOGENERATED using the Codama library.
|
|
123
|
+
* Please DO NOT EDIT THIS FILE, instead use visitors
|
|
124
|
+
* to add features, then rerun Codama to update it.
|
|
125
|
+
*
|
|
126
|
+
* @see https://github.com/codama-idl/codama
|
|
127
|
+
*/
|
|
128
|
+
|
|
129
|
+
type AccountChangeProposedEvent = {
|
|
130
|
+
centralState: Address;
|
|
131
|
+
changeType: string;
|
|
132
|
+
currentValue: Address;
|
|
133
|
+
proposedValue: Address;
|
|
134
|
+
executeAfter: bigint;
|
|
135
|
+
timestamp: bigint;
|
|
136
|
+
};
|
|
137
|
+
type AccountChangeProposedEventArgs = {
|
|
138
|
+
centralState: Address;
|
|
139
|
+
changeType: string;
|
|
140
|
+
currentValue: Address;
|
|
141
|
+
proposedValue: Address;
|
|
142
|
+
executeAfter: number | bigint;
|
|
143
|
+
timestamp: number | bigint;
|
|
144
|
+
};
|
|
145
|
+
declare function getAccountChangeProposedEventEncoder(): Encoder<AccountChangeProposedEventArgs>;
|
|
146
|
+
declare function getAccountChangeProposedEventDecoder(): Decoder<AccountChangeProposedEvent>;
|
|
147
|
+
declare function getAccountChangeProposedEventCodec(): Codec<AccountChangeProposedEventArgs, AccountChangeProposedEvent>;
|
|
148
|
+
|
|
69
149
|
/**
|
|
70
150
|
* This code was AUTOGENERATED using the Codama library.
|
|
71
151
|
* Please DO NOT EDIT THIS FILE, instead use visitors
|
|
@@ -206,14 +286,14 @@ declare function getEpochCodec(): FixedSizeCodec<EpochArgs, Epoch>;
|
|
|
206
286
|
type FeesClaimedEvent = {
|
|
207
287
|
tokenVault: Address;
|
|
208
288
|
mint: Address;
|
|
209
|
-
|
|
289
|
+
destination: Address;
|
|
210
290
|
amount: bigint;
|
|
211
291
|
timestamp: bigint;
|
|
212
292
|
};
|
|
213
293
|
type FeesClaimedEventArgs = {
|
|
214
294
|
tokenVault: Address;
|
|
215
295
|
mint: Address;
|
|
216
|
-
|
|
296
|
+
destination: Address;
|
|
217
297
|
amount: number | bigint;
|
|
218
298
|
timestamp: number | bigint;
|
|
219
299
|
};
|
|
@@ -1463,6 +1543,39 @@ declare function fetchMaybeStakeAccount<TAddress extends string = string>(rpc: P
|
|
|
1463
1543
|
declare function fetchAllStakeAccount(rpc: Parameters<typeof fetchEncodedAccounts>[0], addresses: Array<Address>, config?: FetchAccountsConfig): Promise<Account<StakeAccount>[]>;
|
|
1464
1544
|
declare function fetchAllMaybeStakeAccount(rpc: Parameters<typeof fetchEncodedAccounts>[0], addresses: Array<Address>, config?: FetchAccountsConfig): Promise<MaybeAccount<StakeAccount>[]>;
|
|
1465
1545
|
|
|
1546
|
+
/**
|
|
1547
|
+
* This code was AUTOGENERATED using the Codama library.
|
|
1548
|
+
* Please DO NOT EDIT THIS FILE, instead use visitors
|
|
1549
|
+
* to add features, then rerun Codama to update it.
|
|
1550
|
+
*
|
|
1551
|
+
* @see https://github.com/codama-idl/codama
|
|
1552
|
+
*/
|
|
1553
|
+
|
|
1554
|
+
declare const TIMELOCKED_ACCOUNT_CHANGE_DISCRIMINATOR: Uint8Array<ArrayBuffer>;
|
|
1555
|
+
declare function getTimelockedAccountChangeDiscriminatorBytes(): ReadonlyUint8Array<ArrayBuffer>;
|
|
1556
|
+
type TimelockedAccountChange = {
|
|
1557
|
+
discriminator: ReadonlyUint8Array;
|
|
1558
|
+
bump: number;
|
|
1559
|
+
currentValue: Address;
|
|
1560
|
+
proposedValue: Address;
|
|
1561
|
+
executeAfter: bigint;
|
|
1562
|
+
};
|
|
1563
|
+
type TimelockedAccountChangeArgs = {
|
|
1564
|
+
bump: number;
|
|
1565
|
+
currentValue: Address;
|
|
1566
|
+
proposedValue: Address;
|
|
1567
|
+
executeAfter: number | bigint;
|
|
1568
|
+
};
|
|
1569
|
+
declare function getTimelockedAccountChangeEncoder(): FixedSizeEncoder<TimelockedAccountChangeArgs>;
|
|
1570
|
+
declare function getTimelockedAccountChangeDecoder(): FixedSizeDecoder<TimelockedAccountChange>;
|
|
1571
|
+
declare function getTimelockedAccountChangeCodec(): FixedSizeCodec<TimelockedAccountChangeArgs, TimelockedAccountChange>;
|
|
1572
|
+
declare function decodeTimelockedAccountChange<TAddress extends string = string>(encodedAccount: EncodedAccount<TAddress>): Account<TimelockedAccountChange, TAddress>;
|
|
1573
|
+
declare function decodeTimelockedAccountChange<TAddress extends string = string>(encodedAccount: MaybeEncodedAccount<TAddress>): MaybeAccount<TimelockedAccountChange, TAddress>;
|
|
1574
|
+
declare function fetchTimelockedAccountChange<TAddress extends string = string>(rpc: Parameters<typeof fetchEncodedAccount>[0], address: Address<TAddress>, config?: FetchAccountConfig): Promise<Account<TimelockedAccountChange, TAddress>>;
|
|
1575
|
+
declare function fetchMaybeTimelockedAccountChange<TAddress extends string = string>(rpc: Parameters<typeof fetchEncodedAccount>[0], address: Address<TAddress>, config?: FetchAccountConfig): Promise<MaybeAccount<TimelockedAccountChange, TAddress>>;
|
|
1576
|
+
declare function fetchAllTimelockedAccountChange(rpc: Parameters<typeof fetchEncodedAccounts>[0], addresses: Array<Address>, config?: FetchAccountsConfig): Promise<Account<TimelockedAccountChange>[]>;
|
|
1577
|
+
declare function fetchAllMaybeTimelockedAccountChange(rpc: Parameters<typeof fetchEncodedAccounts>[0], addresses: Array<Address>, config?: FetchAccountsConfig): Promise<MaybeAccount<TimelockedAccountChange>[]>;
|
|
1578
|
+
|
|
1466
1579
|
/**
|
|
1467
1580
|
* This code was AUTOGENERATED using the Codama library.
|
|
1468
1581
|
* Please DO NOT EDIT THIS FILE, instead use visitors
|
|
@@ -1478,7 +1591,6 @@ type TokenVault = {
|
|
|
1478
1591
|
bump: number;
|
|
1479
1592
|
mint: Address;
|
|
1480
1593
|
collectedFees: bigint;
|
|
1481
|
-
protocolFeeBp: number;
|
|
1482
1594
|
/** Reserved for future use */
|
|
1483
1595
|
reserved: Array<number>;
|
|
1484
1596
|
};
|
|
@@ -1486,7 +1598,6 @@ type TokenVaultArgs = {
|
|
|
1486
1598
|
bump: number;
|
|
1487
1599
|
mint: Address;
|
|
1488
1600
|
collectedFees: number | bigint;
|
|
1489
|
-
protocolFeeBp: number;
|
|
1490
1601
|
/** Reserved for future use */
|
|
1491
1602
|
reserved: Array<number>;
|
|
1492
1603
|
};
|
|
@@ -1576,7 +1687,9 @@ declare const OPPORTUNITY_MARKET_ERROR__MARKET_PAUSED = 6031;
|
|
|
1576
1687
|
declare const OPPORTUNITY_MARKET_ERROR__MARKET_NOT_PAUSED = 6032;
|
|
1577
1688
|
/** EarlinessCutoffTooLarge: Earliness cutoff exceeds staking period */
|
|
1578
1689
|
declare const OPPORTUNITY_MARKET_ERROR__EARLINESS_CUTOFF_TOO_LARGE = 6033;
|
|
1579
|
-
|
|
1690
|
+
/** TimelockNotElapsed: Timelock period has not elapsed yet */
|
|
1691
|
+
declare const OPPORTUNITY_MARKET_ERROR__TIMELOCK_NOT_ELAPSED = 6034;
|
|
1692
|
+
type OpportunityMarketError = typeof OPPORTUNITY_MARKET_ERROR__ABORTED_COMPUTATION | typeof OPPORTUNITY_MARKET_ERROR__ADD_OPTION_STAKE_FAILED | typeof OPPORTUNITY_MARKET_ERROR__ALREADY_REVEALED | typeof OPPORTUNITY_MARKET_ERROR__ALREADY_STAKED | typeof OPPORTUNITY_MARKET_ERROR__ALREADY_UNSTAKED | typeof OPPORTUNITY_MARKET_ERROR__CLOSING_EARLY_NOT_ALLOWED | typeof OPPORTUNITY_MARKET_ERROR__CLUSTER_NOT_SET | typeof OPPORTUNITY_MARKET_ERROR__DEPOSIT_BELOW_MINIMUM | typeof OPPORTUNITY_MARKET_ERROR__EARLINESS_CUTOFF_TOO_LARGE | typeof OPPORTUNITY_MARKET_ERROR__INSUFFICIENT_BALANCE | typeof OPPORTUNITY_MARKET_ERROR__INSUFFICIENT_REWARD_FUNDING | typeof OPPORTUNITY_MARKET_ERROR__INVALID_ACCOUNT_STATE | typeof OPPORTUNITY_MARKET_ERROR__INVALID_MINT | typeof OPPORTUNITY_MARKET_ERROR__INVALID_OPTION_ID | typeof OPPORTUNITY_MARKET_ERROR__INVALID_TIMESTAMP | typeof OPPORTUNITY_MARKET_ERROR__INVALID_WINNING_OPTIONS_INPUT | typeof OPPORTUNITY_MARKET_ERROR__LOCKED | typeof OPPORTUNITY_MARKET_ERROR__MARKET_ALREADY_OPEN | typeof OPPORTUNITY_MARKET_ERROR__MARKET_NOT_OPEN | typeof OPPORTUNITY_MARKET_ERROR__MARKET_NOT_PAUSED | typeof OPPORTUNITY_MARKET_ERROR__MARKET_NOT_RESOLVED | typeof OPPORTUNITY_MARKET_ERROR__MARKET_PAUSED | typeof OPPORTUNITY_MARKET_ERROR__NO_FEES_TO_CLAIM | typeof OPPORTUNITY_MARKET_ERROR__NOT_REVEALED | typeof OPPORTUNITY_MARKET_ERROR__OVERFLOW | typeof OPPORTUNITY_MARKET_ERROR__PROTOCOL_FEE_TOO_HIGH | typeof OPPORTUNITY_MARKET_ERROR__REVEAL_PERIOD_ENDED | typeof OPPORTUNITY_MARKET_ERROR__STAKE_NOT_STUCK | typeof OPPORTUNITY_MARKET_ERROR__STAKING_NOT_ACTIVE | typeof OPPORTUNITY_MARKET_ERROR__TALLY_ALREADY_INCREMENTED | typeof OPPORTUNITY_MARKET_ERROR__TIMELOCK_NOT_ELAPSED | typeof OPPORTUNITY_MARKET_ERROR__UNAUTHORIZED | typeof OPPORTUNITY_MARKET_ERROR__UNSTAKE_DELAY_NOT_MET | typeof OPPORTUNITY_MARKET_ERROR__UNSTAKE_NOT_INITIATED | typeof OPPORTUNITY_MARKET_ERROR__WINNER_ALREADY_SELECTED;
|
|
1580
1693
|
declare function getOpportunityMarketErrorMessage(code: OpportunityMarketError): string;
|
|
1581
1694
|
declare function isOpportunityMarketError<TProgramErrorCode extends OpportunityMarketError>(error: unknown, transactionMessage: {
|
|
1582
1695
|
instructions: Record<number, {
|
|
@@ -1596,7 +1709,7 @@ declare function isOpportunityMarketError<TProgramErrorCode extends OpportunityM
|
|
|
1596
1709
|
* @see https://github.com/codama-idl/codama
|
|
1597
1710
|
*/
|
|
1598
1711
|
|
|
1599
|
-
declare const OPPORTUNITY_MARKET_PROGRAM_ADDRESS: Address<"
|
|
1712
|
+
declare const OPPORTUNITY_MARKET_PROGRAM_ADDRESS: Address<"B3NCHsGBkdZrPYPJY2rjg4UwmyRotMmFWhxa5hMHwLeg">;
|
|
1600
1713
|
declare enum OpportunityMarketAccount {
|
|
1601
1714
|
ArciumSignerAccount = 0,
|
|
1602
1715
|
CentralState = 1,
|
|
@@ -1609,7 +1722,8 @@ declare enum OpportunityMarketAccount {
|
|
|
1609
1722
|
OpportunityMarketOption = 8,
|
|
1610
1723
|
OpportunityMarketSponsor = 9,
|
|
1611
1724
|
StakeAccount = 10,
|
|
1612
|
-
|
|
1725
|
+
TimelockedAccountChange = 11,
|
|
1726
|
+
TokenVault = 12
|
|
1613
1727
|
}
|
|
1614
1728
|
declare function identifyOpportunityMarketAccount(account: {
|
|
1615
1729
|
data: ReadonlyUint8Array;
|
|
@@ -1617,40 +1731,49 @@ declare function identifyOpportunityMarketAccount(account: {
|
|
|
1617
1731
|
declare enum OpportunityMarketInstruction {
|
|
1618
1732
|
AddMarketOption = 0,
|
|
1619
1733
|
AddReward = 1,
|
|
1620
|
-
|
|
1621
|
-
|
|
1622
|
-
|
|
1623
|
-
|
|
1624
|
-
|
|
1625
|
-
|
|
1626
|
-
|
|
1627
|
-
|
|
1628
|
-
|
|
1629
|
-
|
|
1630
|
-
|
|
1631
|
-
|
|
1632
|
-
|
|
1633
|
-
|
|
1634
|
-
|
|
1635
|
-
|
|
1636
|
-
|
|
1637
|
-
|
|
1638
|
-
|
|
1639
|
-
|
|
1640
|
-
|
|
1641
|
-
|
|
1642
|
-
|
|
1643
|
-
|
|
1644
|
-
|
|
1734
|
+
CancelFeeClaimerChange = 2,
|
|
1735
|
+
CancelUpdateAuthorityChange = 3,
|
|
1736
|
+
ClaimFees = 4,
|
|
1737
|
+
CloseStakeAccount = 5,
|
|
1738
|
+
CloseStuckStakeAccount = 6,
|
|
1739
|
+
CreateMarket = 7,
|
|
1740
|
+
DoUnstakeEarly = 8,
|
|
1741
|
+
EndRevealPeriod = 9,
|
|
1742
|
+
FinalizeNewFeeClaimer = 10,
|
|
1743
|
+
FinalizeNewUpdateAuthority = 11,
|
|
1744
|
+
IncrementOptionTally = 12,
|
|
1745
|
+
InitCentralState = 13,
|
|
1746
|
+
InitStakeAccount = 14,
|
|
1747
|
+
InitTokenVault = 15,
|
|
1748
|
+
OpenMarket = 16,
|
|
1749
|
+
PauseMarket = 17,
|
|
1750
|
+
ProposeNewFeeClaimer = 18,
|
|
1751
|
+
ProposeNewUpdateAuthority = 19,
|
|
1752
|
+
ReclaimStake = 20,
|
|
1753
|
+
ResumeMarket = 21,
|
|
1754
|
+
RevealStake = 22,
|
|
1755
|
+
RevealStakeCallback = 23,
|
|
1756
|
+
RevealStakeCompDef = 24,
|
|
1757
|
+
SelectWinningOptions = 25,
|
|
1758
|
+
Stake = 26,
|
|
1759
|
+
StakeCallback = 27,
|
|
1760
|
+
StakeCompDef = 28,
|
|
1761
|
+
UnstakeEarly = 29,
|
|
1762
|
+
UpdateCentralState = 30,
|
|
1763
|
+
WithdrawReward = 31
|
|
1645
1764
|
}
|
|
1646
1765
|
declare function identifyOpportunityMarketInstruction(instruction: {
|
|
1647
1766
|
data: ReadonlyUint8Array;
|
|
1648
1767
|
} | ReadonlyUint8Array): OpportunityMarketInstruction;
|
|
1649
|
-
type ParsedOpportunityMarketInstruction<TProgram extends string = '
|
|
1768
|
+
type ParsedOpportunityMarketInstruction<TProgram extends string = 'B3NCHsGBkdZrPYPJY2rjg4UwmyRotMmFWhxa5hMHwLeg'> = ({
|
|
1650
1769
|
instructionType: OpportunityMarketInstruction.AddMarketOption;
|
|
1651
1770
|
} & ParsedAddMarketOptionInstruction<TProgram>) | ({
|
|
1652
1771
|
instructionType: OpportunityMarketInstruction.AddReward;
|
|
1653
1772
|
} & ParsedAddRewardInstruction<TProgram>) | ({
|
|
1773
|
+
instructionType: OpportunityMarketInstruction.CancelFeeClaimerChange;
|
|
1774
|
+
} & ParsedCancelFeeClaimerChangeInstruction<TProgram>) | ({
|
|
1775
|
+
instructionType: OpportunityMarketInstruction.CancelUpdateAuthorityChange;
|
|
1776
|
+
} & ParsedCancelUpdateAuthorityChangeInstruction<TProgram>) | ({
|
|
1654
1777
|
instructionType: OpportunityMarketInstruction.ClaimFees;
|
|
1655
1778
|
} & ParsedClaimFeesInstruction<TProgram>) | ({
|
|
1656
1779
|
instructionType: OpportunityMarketInstruction.CloseStakeAccount;
|
|
@@ -1663,6 +1786,10 @@ type ParsedOpportunityMarketInstruction<TProgram extends string = 'BenchJHrXbW61
|
|
|
1663
1786
|
} & ParsedDoUnstakeEarlyInstruction<TProgram>) | ({
|
|
1664
1787
|
instructionType: OpportunityMarketInstruction.EndRevealPeriod;
|
|
1665
1788
|
} & ParsedEndRevealPeriodInstruction<TProgram>) | ({
|
|
1789
|
+
instructionType: OpportunityMarketInstruction.FinalizeNewFeeClaimer;
|
|
1790
|
+
} & ParsedFinalizeNewFeeClaimerInstruction<TProgram>) | ({
|
|
1791
|
+
instructionType: OpportunityMarketInstruction.FinalizeNewUpdateAuthority;
|
|
1792
|
+
} & ParsedFinalizeNewUpdateAuthorityInstruction<TProgram>) | ({
|
|
1666
1793
|
instructionType: OpportunityMarketInstruction.IncrementOptionTally;
|
|
1667
1794
|
} & ParsedIncrementOptionTallyInstruction<TProgram>) | ({
|
|
1668
1795
|
instructionType: OpportunityMarketInstruction.InitCentralState;
|
|
@@ -1675,6 +1802,10 @@ type ParsedOpportunityMarketInstruction<TProgram extends string = 'BenchJHrXbW61
|
|
|
1675
1802
|
} & ParsedOpenMarketInstruction<TProgram>) | ({
|
|
1676
1803
|
instructionType: OpportunityMarketInstruction.PauseMarket;
|
|
1677
1804
|
} & ParsedPauseMarketInstruction<TProgram>) | ({
|
|
1805
|
+
instructionType: OpportunityMarketInstruction.ProposeNewFeeClaimer;
|
|
1806
|
+
} & ParsedProposeNewFeeClaimerInstruction<TProgram>) | ({
|
|
1807
|
+
instructionType: OpportunityMarketInstruction.ProposeNewUpdateAuthority;
|
|
1808
|
+
} & ParsedProposeNewUpdateAuthorityInstruction<TProgram>) | ({
|
|
1678
1809
|
instructionType: OpportunityMarketInstruction.ReclaimStake;
|
|
1679
1810
|
} & ParsedReclaimStakeInstruction<TProgram>) | ({
|
|
1680
1811
|
instructionType: OpportunityMarketInstruction.ResumeMarket;
|
|
@@ -1693,8 +1824,6 @@ type ParsedOpportunityMarketInstruction<TProgram extends string = 'BenchJHrXbW61
|
|
|
1693
1824
|
} & ParsedStakeCallbackInstruction<TProgram>) | ({
|
|
1694
1825
|
instructionType: OpportunityMarketInstruction.StakeCompDef;
|
|
1695
1826
|
} & ParsedStakeCompDefInstruction<TProgram>) | ({
|
|
1696
|
-
instructionType: OpportunityMarketInstruction.TransferCentralStateAuthority;
|
|
1697
|
-
} & ParsedTransferCentralStateAuthorityInstruction<TProgram>) | ({
|
|
1698
1827
|
instructionType: OpportunityMarketInstruction.UnstakeEarly;
|
|
1699
1828
|
} & ParsedUnstakeEarlyInstruction<TProgram>) | ({
|
|
1700
1829
|
instructionType: OpportunityMarketInstruction.UpdateCentralState;
|
|
@@ -1843,6 +1972,106 @@ type ParsedAddRewardInstruction<TProgram extends string = typeof OPPORTUNITY_MAR
|
|
|
1843
1972
|
};
|
|
1844
1973
|
declare function parseAddRewardInstruction<TProgram extends string, TAccountMetas extends readonly AccountMeta[]>(instruction: Instruction<TProgram> & InstructionWithAccounts<TAccountMetas> & InstructionWithData<ReadonlyUint8Array>): ParsedAddRewardInstruction<TProgram, TAccountMetas>;
|
|
1845
1974
|
|
|
1975
|
+
/**
|
|
1976
|
+
* This code was AUTOGENERATED using the Codama library.
|
|
1977
|
+
* Please DO NOT EDIT THIS FILE, instead use visitors
|
|
1978
|
+
* to add features, then rerun Codama to update it.
|
|
1979
|
+
*
|
|
1980
|
+
* @see https://github.com/codama-idl/codama
|
|
1981
|
+
*/
|
|
1982
|
+
|
|
1983
|
+
declare const CANCEL_FEE_CLAIMER_CHANGE_DISCRIMINATOR: Uint8Array<ArrayBuffer>;
|
|
1984
|
+
declare function getCancelFeeClaimerChangeDiscriminatorBytes(): ReadonlyUint8Array<ArrayBuffer>;
|
|
1985
|
+
type CancelFeeClaimerChangeInstruction<TProgram extends string = typeof OPPORTUNITY_MARKET_PROGRAM_ADDRESS, TAccountSigner extends string | AccountMeta<string> = string, TAccountCentralState extends string | AccountMeta<string> = string, TAccountTimelockedChange extends string | AccountMeta<string> = string, TRemainingAccounts extends readonly AccountMeta<string>[] = []> = Instruction<TProgram> & InstructionWithData<ReadonlyUint8Array> & InstructionWithAccounts<[
|
|
1986
|
+
TAccountSigner extends string ? WritableSignerAccount<TAccountSigner> & AccountSignerMeta<TAccountSigner> : TAccountSigner,
|
|
1987
|
+
TAccountCentralState extends string ? ReadonlyAccount<TAccountCentralState> : TAccountCentralState,
|
|
1988
|
+
TAccountTimelockedChange extends string ? WritableAccount<TAccountTimelockedChange> : TAccountTimelockedChange,
|
|
1989
|
+
...TRemainingAccounts
|
|
1990
|
+
]>;
|
|
1991
|
+
type CancelFeeClaimerChangeInstructionData = {
|
|
1992
|
+
discriminator: ReadonlyUint8Array;
|
|
1993
|
+
};
|
|
1994
|
+
type CancelFeeClaimerChangeInstructionDataArgs = {};
|
|
1995
|
+
declare function getCancelFeeClaimerChangeInstructionDataEncoder(): FixedSizeEncoder<CancelFeeClaimerChangeInstructionDataArgs>;
|
|
1996
|
+
declare function getCancelFeeClaimerChangeInstructionDataDecoder(): FixedSizeDecoder<CancelFeeClaimerChangeInstructionData>;
|
|
1997
|
+
declare function getCancelFeeClaimerChangeInstructionDataCodec(): FixedSizeCodec<CancelFeeClaimerChangeInstructionDataArgs, CancelFeeClaimerChangeInstructionData>;
|
|
1998
|
+
type CancelFeeClaimerChangeAsyncInput<TAccountSigner extends string = string, TAccountCentralState extends string = string, TAccountTimelockedChange extends string = string> = {
|
|
1999
|
+
signer: TransactionSigner<TAccountSigner>;
|
|
2000
|
+
centralState?: Address<TAccountCentralState>;
|
|
2001
|
+
timelockedChange?: Address<TAccountTimelockedChange>;
|
|
2002
|
+
};
|
|
2003
|
+
declare function getCancelFeeClaimerChangeInstructionAsync<TAccountSigner extends string, TAccountCentralState extends string, TAccountTimelockedChange extends string, TProgramAddress extends Address = typeof OPPORTUNITY_MARKET_PROGRAM_ADDRESS>(input: CancelFeeClaimerChangeAsyncInput<TAccountSigner, TAccountCentralState, TAccountTimelockedChange>, config?: {
|
|
2004
|
+
programAddress?: TProgramAddress;
|
|
2005
|
+
}): Promise<CancelFeeClaimerChangeInstruction<TProgramAddress, TAccountSigner, TAccountCentralState, TAccountTimelockedChange>>;
|
|
2006
|
+
type CancelFeeClaimerChangeInput<TAccountSigner extends string = string, TAccountCentralState extends string = string, TAccountTimelockedChange extends string = string> = {
|
|
2007
|
+
signer: TransactionSigner<TAccountSigner>;
|
|
2008
|
+
centralState: Address<TAccountCentralState>;
|
|
2009
|
+
timelockedChange: Address<TAccountTimelockedChange>;
|
|
2010
|
+
};
|
|
2011
|
+
declare function getCancelFeeClaimerChangeInstruction<TAccountSigner extends string, TAccountCentralState extends string, TAccountTimelockedChange extends string, TProgramAddress extends Address = typeof OPPORTUNITY_MARKET_PROGRAM_ADDRESS>(input: CancelFeeClaimerChangeInput<TAccountSigner, TAccountCentralState, TAccountTimelockedChange>, config?: {
|
|
2012
|
+
programAddress?: TProgramAddress;
|
|
2013
|
+
}): CancelFeeClaimerChangeInstruction<TProgramAddress, TAccountSigner, TAccountCentralState, TAccountTimelockedChange>;
|
|
2014
|
+
type ParsedCancelFeeClaimerChangeInstruction<TProgram extends string = typeof OPPORTUNITY_MARKET_PROGRAM_ADDRESS, TAccountMetas extends readonly AccountMeta[] = readonly AccountMeta[]> = {
|
|
2015
|
+
programAddress: Address<TProgram>;
|
|
2016
|
+
accounts: {
|
|
2017
|
+
signer: TAccountMetas[0];
|
|
2018
|
+
centralState: TAccountMetas[1];
|
|
2019
|
+
timelockedChange: TAccountMetas[2];
|
|
2020
|
+
};
|
|
2021
|
+
data: CancelFeeClaimerChangeInstructionData;
|
|
2022
|
+
};
|
|
2023
|
+
declare function parseCancelFeeClaimerChangeInstruction<TProgram extends string, TAccountMetas extends readonly AccountMeta[]>(instruction: Instruction<TProgram> & InstructionWithAccounts<TAccountMetas> & InstructionWithData<ReadonlyUint8Array>): ParsedCancelFeeClaimerChangeInstruction<TProgram, TAccountMetas>;
|
|
2024
|
+
|
|
2025
|
+
/**
|
|
2026
|
+
* This code was AUTOGENERATED using the Codama library.
|
|
2027
|
+
* Please DO NOT EDIT THIS FILE, instead use visitors
|
|
2028
|
+
* to add features, then rerun Codama to update it.
|
|
2029
|
+
*
|
|
2030
|
+
* @see https://github.com/codama-idl/codama
|
|
2031
|
+
*/
|
|
2032
|
+
|
|
2033
|
+
declare const CANCEL_UPDATE_AUTHORITY_CHANGE_DISCRIMINATOR: Uint8Array<ArrayBuffer>;
|
|
2034
|
+
declare function getCancelUpdateAuthorityChangeDiscriminatorBytes(): ReadonlyUint8Array<ArrayBuffer>;
|
|
2035
|
+
type CancelUpdateAuthorityChangeInstruction<TProgram extends string = typeof OPPORTUNITY_MARKET_PROGRAM_ADDRESS, TAccountSigner extends string | AccountMeta<string> = string, TAccountCentralState extends string | AccountMeta<string> = string, TAccountTimelockedChange extends string | AccountMeta<string> = string, TRemainingAccounts extends readonly AccountMeta<string>[] = []> = Instruction<TProgram> & InstructionWithData<ReadonlyUint8Array> & InstructionWithAccounts<[
|
|
2036
|
+
TAccountSigner extends string ? WritableSignerAccount<TAccountSigner> & AccountSignerMeta<TAccountSigner> : TAccountSigner,
|
|
2037
|
+
TAccountCentralState extends string ? ReadonlyAccount<TAccountCentralState> : TAccountCentralState,
|
|
2038
|
+
TAccountTimelockedChange extends string ? WritableAccount<TAccountTimelockedChange> : TAccountTimelockedChange,
|
|
2039
|
+
...TRemainingAccounts
|
|
2040
|
+
]>;
|
|
2041
|
+
type CancelUpdateAuthorityChangeInstructionData = {
|
|
2042
|
+
discriminator: ReadonlyUint8Array;
|
|
2043
|
+
};
|
|
2044
|
+
type CancelUpdateAuthorityChangeInstructionDataArgs = {};
|
|
2045
|
+
declare function getCancelUpdateAuthorityChangeInstructionDataEncoder(): FixedSizeEncoder<CancelUpdateAuthorityChangeInstructionDataArgs>;
|
|
2046
|
+
declare function getCancelUpdateAuthorityChangeInstructionDataDecoder(): FixedSizeDecoder<CancelUpdateAuthorityChangeInstructionData>;
|
|
2047
|
+
declare function getCancelUpdateAuthorityChangeInstructionDataCodec(): FixedSizeCodec<CancelUpdateAuthorityChangeInstructionDataArgs, CancelUpdateAuthorityChangeInstructionData>;
|
|
2048
|
+
type CancelUpdateAuthorityChangeAsyncInput<TAccountSigner extends string = string, TAccountCentralState extends string = string, TAccountTimelockedChange extends string = string> = {
|
|
2049
|
+
signer: TransactionSigner<TAccountSigner>;
|
|
2050
|
+
centralState?: Address<TAccountCentralState>;
|
|
2051
|
+
timelockedChange?: Address<TAccountTimelockedChange>;
|
|
2052
|
+
};
|
|
2053
|
+
declare function getCancelUpdateAuthorityChangeInstructionAsync<TAccountSigner extends string, TAccountCentralState extends string, TAccountTimelockedChange extends string, TProgramAddress extends Address = typeof OPPORTUNITY_MARKET_PROGRAM_ADDRESS>(input: CancelUpdateAuthorityChangeAsyncInput<TAccountSigner, TAccountCentralState, TAccountTimelockedChange>, config?: {
|
|
2054
|
+
programAddress?: TProgramAddress;
|
|
2055
|
+
}): Promise<CancelUpdateAuthorityChangeInstruction<TProgramAddress, TAccountSigner, TAccountCentralState, TAccountTimelockedChange>>;
|
|
2056
|
+
type CancelUpdateAuthorityChangeInput<TAccountSigner extends string = string, TAccountCentralState extends string = string, TAccountTimelockedChange extends string = string> = {
|
|
2057
|
+
signer: TransactionSigner<TAccountSigner>;
|
|
2058
|
+
centralState: Address<TAccountCentralState>;
|
|
2059
|
+
timelockedChange: Address<TAccountTimelockedChange>;
|
|
2060
|
+
};
|
|
2061
|
+
declare function getCancelUpdateAuthorityChangeInstruction<TAccountSigner extends string, TAccountCentralState extends string, TAccountTimelockedChange extends string, TProgramAddress extends Address = typeof OPPORTUNITY_MARKET_PROGRAM_ADDRESS>(input: CancelUpdateAuthorityChangeInput<TAccountSigner, TAccountCentralState, TAccountTimelockedChange>, config?: {
|
|
2062
|
+
programAddress?: TProgramAddress;
|
|
2063
|
+
}): CancelUpdateAuthorityChangeInstruction<TProgramAddress, TAccountSigner, TAccountCentralState, TAccountTimelockedChange>;
|
|
2064
|
+
type ParsedCancelUpdateAuthorityChangeInstruction<TProgram extends string = typeof OPPORTUNITY_MARKET_PROGRAM_ADDRESS, TAccountMetas extends readonly AccountMeta[] = readonly AccountMeta[]> = {
|
|
2065
|
+
programAddress: Address<TProgram>;
|
|
2066
|
+
accounts: {
|
|
2067
|
+
signer: TAccountMetas[0];
|
|
2068
|
+
centralState: TAccountMetas[1];
|
|
2069
|
+
timelockedChange: TAccountMetas[2];
|
|
2070
|
+
};
|
|
2071
|
+
data: CancelUpdateAuthorityChangeInstructionData;
|
|
2072
|
+
};
|
|
2073
|
+
declare function parseCancelUpdateAuthorityChangeInstruction<TProgram extends string, TAccountMetas extends readonly AccountMeta[]>(instruction: Instruction<TProgram> & InstructionWithAccounts<TAccountMetas> & InstructionWithData<ReadonlyUint8Array>): ParsedCancelUpdateAuthorityChangeInstruction<TProgram, TAccountMetas>;
|
|
2074
|
+
|
|
1846
2075
|
/**
|
|
1847
2076
|
* This code was AUTOGENERATED using the Codama library.
|
|
1848
2077
|
* Please DO NOT EDIT THIS FILE, instead use visitors
|
|
@@ -1853,13 +2082,13 @@ declare function parseAddRewardInstruction<TProgram extends string, TAccountMeta
|
|
|
1853
2082
|
|
|
1854
2083
|
declare const CLAIM_FEES_DISCRIMINATOR: Uint8Array<ArrayBuffer>;
|
|
1855
2084
|
declare function getClaimFeesDiscriminatorBytes(): ReadonlyUint8Array<ArrayBuffer>;
|
|
1856
|
-
type ClaimFeesInstruction<TProgram extends string = typeof OPPORTUNITY_MARKET_PROGRAM_ADDRESS, TAccountSigner extends string | AccountMeta<string> = string, TAccountCentralState extends string | AccountMeta<string> = string, TAccountTokenMint extends string | AccountMeta<string> = string, TAccountTokenVault extends string | AccountMeta<string> = string, TAccountTokenVaultAta extends string | AccountMeta<string> = string,
|
|
2085
|
+
type ClaimFeesInstruction<TProgram extends string = typeof OPPORTUNITY_MARKET_PROGRAM_ADDRESS, TAccountSigner extends string | AccountMeta<string> = string, TAccountCentralState extends string | AccountMeta<string> = string, TAccountTokenMint extends string | AccountMeta<string> = string, TAccountTokenVault extends string | AccountMeta<string> = string, TAccountTokenVaultAta extends string | AccountMeta<string> = string, TAccountDestinationTokenAccount extends string | AccountMeta<string> = string, TAccountTokenProgram extends string | AccountMeta<string> = string, TRemainingAccounts extends readonly AccountMeta<string>[] = []> = Instruction<TProgram> & InstructionWithData<ReadonlyUint8Array> & InstructionWithAccounts<[
|
|
1857
2086
|
TAccountSigner extends string ? ReadonlySignerAccount<TAccountSigner> & AccountSignerMeta<TAccountSigner> : TAccountSigner,
|
|
1858
2087
|
TAccountCentralState extends string ? ReadonlyAccount<TAccountCentralState> : TAccountCentralState,
|
|
1859
2088
|
TAccountTokenMint extends string ? ReadonlyAccount<TAccountTokenMint> : TAccountTokenMint,
|
|
1860
2089
|
TAccountTokenVault extends string ? WritableAccount<TAccountTokenVault> : TAccountTokenVault,
|
|
1861
2090
|
TAccountTokenVaultAta extends string ? WritableAccount<TAccountTokenVaultAta> : TAccountTokenVaultAta,
|
|
1862
|
-
|
|
2091
|
+
TAccountDestinationTokenAccount extends string ? WritableAccount<TAccountDestinationTokenAccount> : TAccountDestinationTokenAccount,
|
|
1863
2092
|
TAccountTokenProgram extends string ? ReadonlyAccount<TAccountTokenProgram> : TAccountTokenProgram,
|
|
1864
2093
|
...TRemainingAccounts
|
|
1865
2094
|
]>;
|
|
@@ -1870,30 +2099,30 @@ type ClaimFeesInstructionDataArgs = {};
|
|
|
1870
2099
|
declare function getClaimFeesInstructionDataEncoder(): FixedSizeEncoder<ClaimFeesInstructionDataArgs>;
|
|
1871
2100
|
declare function getClaimFeesInstructionDataDecoder(): FixedSizeDecoder<ClaimFeesInstructionData>;
|
|
1872
2101
|
declare function getClaimFeesInstructionDataCodec(): FixedSizeCodec<ClaimFeesInstructionDataArgs, ClaimFeesInstructionData>;
|
|
1873
|
-
type ClaimFeesAsyncInput<TAccountSigner extends string = string, TAccountCentralState extends string = string, TAccountTokenMint extends string = string, TAccountTokenVault extends string = string, TAccountTokenVaultAta extends string = string,
|
|
2102
|
+
type ClaimFeesAsyncInput<TAccountSigner extends string = string, TAccountCentralState extends string = string, TAccountTokenMint extends string = string, TAccountTokenVault extends string = string, TAccountTokenVaultAta extends string = string, TAccountDestinationTokenAccount extends string = string, TAccountTokenProgram extends string = string> = {
|
|
1874
2103
|
signer: TransactionSigner<TAccountSigner>;
|
|
1875
2104
|
centralState?: Address<TAccountCentralState>;
|
|
1876
2105
|
tokenMint: Address<TAccountTokenMint>;
|
|
1877
2106
|
tokenVault?: Address<TAccountTokenVault>;
|
|
1878
2107
|
tokenVaultAta?: Address<TAccountTokenVaultAta>;
|
|
1879
|
-
|
|
2108
|
+
destinationTokenAccount: Address<TAccountDestinationTokenAccount>;
|
|
1880
2109
|
tokenProgram: Address<TAccountTokenProgram>;
|
|
1881
2110
|
};
|
|
1882
|
-
declare function getClaimFeesInstructionAsync<TAccountSigner extends string, TAccountCentralState extends string, TAccountTokenMint extends string, TAccountTokenVault extends string, TAccountTokenVaultAta extends string,
|
|
2111
|
+
declare function getClaimFeesInstructionAsync<TAccountSigner extends string, TAccountCentralState extends string, TAccountTokenMint extends string, TAccountTokenVault extends string, TAccountTokenVaultAta extends string, TAccountDestinationTokenAccount extends string, TAccountTokenProgram extends string, TProgramAddress extends Address = typeof OPPORTUNITY_MARKET_PROGRAM_ADDRESS>(input: ClaimFeesAsyncInput<TAccountSigner, TAccountCentralState, TAccountTokenMint, TAccountTokenVault, TAccountTokenVaultAta, TAccountDestinationTokenAccount, TAccountTokenProgram>, config?: {
|
|
1883
2112
|
programAddress?: TProgramAddress;
|
|
1884
|
-
}): Promise<ClaimFeesInstruction<TProgramAddress, TAccountSigner, TAccountCentralState, TAccountTokenMint, TAccountTokenVault, TAccountTokenVaultAta,
|
|
1885
|
-
type ClaimFeesInput<TAccountSigner extends string = string, TAccountCentralState extends string = string, TAccountTokenMint extends string = string, TAccountTokenVault extends string = string, TAccountTokenVaultAta extends string = string,
|
|
2113
|
+
}): Promise<ClaimFeesInstruction<TProgramAddress, TAccountSigner, TAccountCentralState, TAccountTokenMint, TAccountTokenVault, TAccountTokenVaultAta, TAccountDestinationTokenAccount, TAccountTokenProgram>>;
|
|
2114
|
+
type ClaimFeesInput<TAccountSigner extends string = string, TAccountCentralState extends string = string, TAccountTokenMint extends string = string, TAccountTokenVault extends string = string, TAccountTokenVaultAta extends string = string, TAccountDestinationTokenAccount extends string = string, TAccountTokenProgram extends string = string> = {
|
|
1886
2115
|
signer: TransactionSigner<TAccountSigner>;
|
|
1887
2116
|
centralState: Address<TAccountCentralState>;
|
|
1888
2117
|
tokenMint: Address<TAccountTokenMint>;
|
|
1889
2118
|
tokenVault: Address<TAccountTokenVault>;
|
|
1890
2119
|
tokenVaultAta: Address<TAccountTokenVaultAta>;
|
|
1891
|
-
|
|
2120
|
+
destinationTokenAccount: Address<TAccountDestinationTokenAccount>;
|
|
1892
2121
|
tokenProgram: Address<TAccountTokenProgram>;
|
|
1893
2122
|
};
|
|
1894
|
-
declare function getClaimFeesInstruction<TAccountSigner extends string, TAccountCentralState extends string, TAccountTokenMint extends string, TAccountTokenVault extends string, TAccountTokenVaultAta extends string,
|
|
2123
|
+
declare function getClaimFeesInstruction<TAccountSigner extends string, TAccountCentralState extends string, TAccountTokenMint extends string, TAccountTokenVault extends string, TAccountTokenVaultAta extends string, TAccountDestinationTokenAccount extends string, TAccountTokenProgram extends string, TProgramAddress extends Address = typeof OPPORTUNITY_MARKET_PROGRAM_ADDRESS>(input: ClaimFeesInput<TAccountSigner, TAccountCentralState, TAccountTokenMint, TAccountTokenVault, TAccountTokenVaultAta, TAccountDestinationTokenAccount, TAccountTokenProgram>, config?: {
|
|
1895
2124
|
programAddress?: TProgramAddress;
|
|
1896
|
-
}): ClaimFeesInstruction<TProgramAddress, TAccountSigner, TAccountCentralState, TAccountTokenMint, TAccountTokenVault, TAccountTokenVaultAta,
|
|
2125
|
+
}): ClaimFeesInstruction<TProgramAddress, TAccountSigner, TAccountCentralState, TAccountTokenMint, TAccountTokenVault, TAccountTokenVaultAta, TAccountDestinationTokenAccount, TAccountTokenProgram>;
|
|
1897
2126
|
type ParsedClaimFeesInstruction<TProgram extends string = typeof OPPORTUNITY_MARKET_PROGRAM_ADDRESS, TAccountMetas extends readonly AccountMeta[] = readonly AccountMeta[]> = {
|
|
1898
2127
|
programAddress: Address<TProgram>;
|
|
1899
2128
|
accounts: {
|
|
@@ -1902,7 +2131,7 @@ type ParsedClaimFeesInstruction<TProgram extends string = typeof OPPORTUNITY_MAR
|
|
|
1902
2131
|
tokenMint: TAccountMetas[2];
|
|
1903
2132
|
tokenVault: TAccountMetas[3];
|
|
1904
2133
|
tokenVaultAta: TAccountMetas[4];
|
|
1905
|
-
|
|
2134
|
+
destinationTokenAccount: TAccountMetas[5];
|
|
1906
2135
|
tokenProgram: TAccountMetas[6];
|
|
1907
2136
|
};
|
|
1908
2137
|
data: ClaimFeesInstructionData;
|
|
@@ -2320,6 +2549,120 @@ type ParsedEndRevealPeriodInstruction<TProgram extends string = typeof OPPORTUNI
|
|
|
2320
2549
|
};
|
|
2321
2550
|
declare function parseEndRevealPeriodInstruction<TProgram extends string, TAccountMetas extends readonly AccountMeta[]>(instruction: Instruction<TProgram> & InstructionWithAccounts<TAccountMetas> & InstructionWithData<ReadonlyUint8Array>): ParsedEndRevealPeriodInstruction<TProgram, TAccountMetas>;
|
|
2322
2551
|
|
|
2552
|
+
/**
|
|
2553
|
+
* This code was AUTOGENERATED using the Codama library.
|
|
2554
|
+
* Please DO NOT EDIT THIS FILE, instead use visitors
|
|
2555
|
+
* to add features, then rerun Codama to update it.
|
|
2556
|
+
*
|
|
2557
|
+
* @see https://github.com/codama-idl/codama
|
|
2558
|
+
*/
|
|
2559
|
+
|
|
2560
|
+
declare const FINALIZE_NEW_FEE_CLAIMER_DISCRIMINATOR: Uint8Array<ArrayBuffer>;
|
|
2561
|
+
declare function getFinalizeNewFeeClaimerDiscriminatorBytes(): ReadonlyUint8Array<ArrayBuffer>;
|
|
2562
|
+
type FinalizeNewFeeClaimerInstruction<TProgram extends string = typeof OPPORTUNITY_MARKET_PROGRAM_ADDRESS, TAccountUpdateAuthority extends string | AccountMeta<string> = string, TAccountProposedFeeClaimer extends string | AccountMeta<string> = string, TAccountCentralState extends string | AccountMeta<string> = string, TAccountTimelockedChange extends string | AccountMeta<string> = string, TRemainingAccounts extends readonly AccountMeta<string>[] = []> = Instruction<TProgram> & InstructionWithData<ReadonlyUint8Array> & InstructionWithAccounts<[
|
|
2563
|
+
TAccountUpdateAuthority extends string ? WritableSignerAccount<TAccountUpdateAuthority> & AccountSignerMeta<TAccountUpdateAuthority> : TAccountUpdateAuthority,
|
|
2564
|
+
TAccountProposedFeeClaimer extends string ? ReadonlySignerAccount<TAccountProposedFeeClaimer> & AccountSignerMeta<TAccountProposedFeeClaimer> : TAccountProposedFeeClaimer,
|
|
2565
|
+
TAccountCentralState extends string ? WritableAccount<TAccountCentralState> : TAccountCentralState,
|
|
2566
|
+
TAccountTimelockedChange extends string ? WritableAccount<TAccountTimelockedChange> : TAccountTimelockedChange,
|
|
2567
|
+
...TRemainingAccounts
|
|
2568
|
+
]>;
|
|
2569
|
+
type FinalizeNewFeeClaimerInstructionData = {
|
|
2570
|
+
discriminator: ReadonlyUint8Array;
|
|
2571
|
+
};
|
|
2572
|
+
type FinalizeNewFeeClaimerInstructionDataArgs = {};
|
|
2573
|
+
declare function getFinalizeNewFeeClaimerInstructionDataEncoder(): FixedSizeEncoder<FinalizeNewFeeClaimerInstructionDataArgs>;
|
|
2574
|
+
declare function getFinalizeNewFeeClaimerInstructionDataDecoder(): FixedSizeDecoder<FinalizeNewFeeClaimerInstructionData>;
|
|
2575
|
+
declare function getFinalizeNewFeeClaimerInstructionDataCodec(): FixedSizeCodec<FinalizeNewFeeClaimerInstructionDataArgs, FinalizeNewFeeClaimerInstructionData>;
|
|
2576
|
+
type FinalizeNewFeeClaimerAsyncInput<TAccountUpdateAuthority extends string = string, TAccountProposedFeeClaimer extends string = string, TAccountCentralState extends string = string, TAccountTimelockedChange extends string = string> = {
|
|
2577
|
+
updateAuthority: TransactionSigner<TAccountUpdateAuthority>;
|
|
2578
|
+
/** The proposed new fee claimer must co-sign to prevent fat-finger mistakes. */
|
|
2579
|
+
proposedFeeClaimer: TransactionSigner<TAccountProposedFeeClaimer>;
|
|
2580
|
+
centralState?: Address<TAccountCentralState>;
|
|
2581
|
+
timelockedChange?: Address<TAccountTimelockedChange>;
|
|
2582
|
+
};
|
|
2583
|
+
declare function getFinalizeNewFeeClaimerInstructionAsync<TAccountUpdateAuthority extends string, TAccountProposedFeeClaimer extends string, TAccountCentralState extends string, TAccountTimelockedChange extends string, TProgramAddress extends Address = typeof OPPORTUNITY_MARKET_PROGRAM_ADDRESS>(input: FinalizeNewFeeClaimerAsyncInput<TAccountUpdateAuthority, TAccountProposedFeeClaimer, TAccountCentralState, TAccountTimelockedChange>, config?: {
|
|
2584
|
+
programAddress?: TProgramAddress;
|
|
2585
|
+
}): Promise<FinalizeNewFeeClaimerInstruction<TProgramAddress, TAccountUpdateAuthority, TAccountProposedFeeClaimer, TAccountCentralState, TAccountTimelockedChange>>;
|
|
2586
|
+
type FinalizeNewFeeClaimerInput<TAccountUpdateAuthority extends string = string, TAccountProposedFeeClaimer extends string = string, TAccountCentralState extends string = string, TAccountTimelockedChange extends string = string> = {
|
|
2587
|
+
updateAuthority: TransactionSigner<TAccountUpdateAuthority>;
|
|
2588
|
+
/** The proposed new fee claimer must co-sign to prevent fat-finger mistakes. */
|
|
2589
|
+
proposedFeeClaimer: TransactionSigner<TAccountProposedFeeClaimer>;
|
|
2590
|
+
centralState: Address<TAccountCentralState>;
|
|
2591
|
+
timelockedChange: Address<TAccountTimelockedChange>;
|
|
2592
|
+
};
|
|
2593
|
+
declare function getFinalizeNewFeeClaimerInstruction<TAccountUpdateAuthority extends string, TAccountProposedFeeClaimer extends string, TAccountCentralState extends string, TAccountTimelockedChange extends string, TProgramAddress extends Address = typeof OPPORTUNITY_MARKET_PROGRAM_ADDRESS>(input: FinalizeNewFeeClaimerInput<TAccountUpdateAuthority, TAccountProposedFeeClaimer, TAccountCentralState, TAccountTimelockedChange>, config?: {
|
|
2594
|
+
programAddress?: TProgramAddress;
|
|
2595
|
+
}): FinalizeNewFeeClaimerInstruction<TProgramAddress, TAccountUpdateAuthority, TAccountProposedFeeClaimer, TAccountCentralState, TAccountTimelockedChange>;
|
|
2596
|
+
type ParsedFinalizeNewFeeClaimerInstruction<TProgram extends string = typeof OPPORTUNITY_MARKET_PROGRAM_ADDRESS, TAccountMetas extends readonly AccountMeta[] = readonly AccountMeta[]> = {
|
|
2597
|
+
programAddress: Address<TProgram>;
|
|
2598
|
+
accounts: {
|
|
2599
|
+
updateAuthority: TAccountMetas[0];
|
|
2600
|
+
/** The proposed new fee claimer must co-sign to prevent fat-finger mistakes. */
|
|
2601
|
+
proposedFeeClaimer: TAccountMetas[1];
|
|
2602
|
+
centralState: TAccountMetas[2];
|
|
2603
|
+
timelockedChange: TAccountMetas[3];
|
|
2604
|
+
};
|
|
2605
|
+
data: FinalizeNewFeeClaimerInstructionData;
|
|
2606
|
+
};
|
|
2607
|
+
declare function parseFinalizeNewFeeClaimerInstruction<TProgram extends string, TAccountMetas extends readonly AccountMeta[]>(instruction: Instruction<TProgram> & InstructionWithAccounts<TAccountMetas> & InstructionWithData<ReadonlyUint8Array>): ParsedFinalizeNewFeeClaimerInstruction<TProgram, TAccountMetas>;
|
|
2608
|
+
|
|
2609
|
+
/**
|
|
2610
|
+
* This code was AUTOGENERATED using the Codama library.
|
|
2611
|
+
* Please DO NOT EDIT THIS FILE, instead use visitors
|
|
2612
|
+
* to add features, then rerun Codama to update it.
|
|
2613
|
+
*
|
|
2614
|
+
* @see https://github.com/codama-idl/codama
|
|
2615
|
+
*/
|
|
2616
|
+
|
|
2617
|
+
declare const FINALIZE_NEW_UPDATE_AUTHORITY_DISCRIMINATOR: Uint8Array<ArrayBuffer>;
|
|
2618
|
+
declare function getFinalizeNewUpdateAuthorityDiscriminatorBytes(): ReadonlyUint8Array<ArrayBuffer>;
|
|
2619
|
+
type FinalizeNewUpdateAuthorityInstruction<TProgram extends string = typeof OPPORTUNITY_MARKET_PROGRAM_ADDRESS, TAccountUpdateAuthority extends string | AccountMeta<string> = string, TAccountProposedAuthority extends string | AccountMeta<string> = string, TAccountCentralState extends string | AccountMeta<string> = string, TAccountTimelockedChange extends string | AccountMeta<string> = string, TRemainingAccounts extends readonly AccountMeta<string>[] = []> = Instruction<TProgram> & InstructionWithData<ReadonlyUint8Array> & InstructionWithAccounts<[
|
|
2620
|
+
TAccountUpdateAuthority extends string ? WritableSignerAccount<TAccountUpdateAuthority> & AccountSignerMeta<TAccountUpdateAuthority> : TAccountUpdateAuthority,
|
|
2621
|
+
TAccountProposedAuthority extends string ? ReadonlySignerAccount<TAccountProposedAuthority> & AccountSignerMeta<TAccountProposedAuthority> : TAccountProposedAuthority,
|
|
2622
|
+
TAccountCentralState extends string ? WritableAccount<TAccountCentralState> : TAccountCentralState,
|
|
2623
|
+
TAccountTimelockedChange extends string ? WritableAccount<TAccountTimelockedChange> : TAccountTimelockedChange,
|
|
2624
|
+
...TRemainingAccounts
|
|
2625
|
+
]>;
|
|
2626
|
+
type FinalizeNewUpdateAuthorityInstructionData = {
|
|
2627
|
+
discriminator: ReadonlyUint8Array;
|
|
2628
|
+
};
|
|
2629
|
+
type FinalizeNewUpdateAuthorityInstructionDataArgs = {};
|
|
2630
|
+
declare function getFinalizeNewUpdateAuthorityInstructionDataEncoder(): FixedSizeEncoder<FinalizeNewUpdateAuthorityInstructionDataArgs>;
|
|
2631
|
+
declare function getFinalizeNewUpdateAuthorityInstructionDataDecoder(): FixedSizeDecoder<FinalizeNewUpdateAuthorityInstructionData>;
|
|
2632
|
+
declare function getFinalizeNewUpdateAuthorityInstructionDataCodec(): FixedSizeCodec<FinalizeNewUpdateAuthorityInstructionDataArgs, FinalizeNewUpdateAuthorityInstructionData>;
|
|
2633
|
+
type FinalizeNewUpdateAuthorityAsyncInput<TAccountUpdateAuthority extends string = string, TAccountProposedAuthority extends string = string, TAccountCentralState extends string = string, TAccountTimelockedChange extends string = string> = {
|
|
2634
|
+
updateAuthority: TransactionSigner<TAccountUpdateAuthority>;
|
|
2635
|
+
/** The proposed new authority must co-sign to prevent fat-finger mistakes. */
|
|
2636
|
+
proposedAuthority: TransactionSigner<TAccountProposedAuthority>;
|
|
2637
|
+
centralState?: Address<TAccountCentralState>;
|
|
2638
|
+
timelockedChange?: Address<TAccountTimelockedChange>;
|
|
2639
|
+
};
|
|
2640
|
+
declare function getFinalizeNewUpdateAuthorityInstructionAsync<TAccountUpdateAuthority extends string, TAccountProposedAuthority extends string, TAccountCentralState extends string, TAccountTimelockedChange extends string, TProgramAddress extends Address = typeof OPPORTUNITY_MARKET_PROGRAM_ADDRESS>(input: FinalizeNewUpdateAuthorityAsyncInput<TAccountUpdateAuthority, TAccountProposedAuthority, TAccountCentralState, TAccountTimelockedChange>, config?: {
|
|
2641
|
+
programAddress?: TProgramAddress;
|
|
2642
|
+
}): Promise<FinalizeNewUpdateAuthorityInstruction<TProgramAddress, TAccountUpdateAuthority, TAccountProposedAuthority, TAccountCentralState, TAccountTimelockedChange>>;
|
|
2643
|
+
type FinalizeNewUpdateAuthorityInput<TAccountUpdateAuthority extends string = string, TAccountProposedAuthority extends string = string, TAccountCentralState extends string = string, TAccountTimelockedChange extends string = string> = {
|
|
2644
|
+
updateAuthority: TransactionSigner<TAccountUpdateAuthority>;
|
|
2645
|
+
/** The proposed new authority must co-sign to prevent fat-finger mistakes. */
|
|
2646
|
+
proposedAuthority: TransactionSigner<TAccountProposedAuthority>;
|
|
2647
|
+
centralState: Address<TAccountCentralState>;
|
|
2648
|
+
timelockedChange: Address<TAccountTimelockedChange>;
|
|
2649
|
+
};
|
|
2650
|
+
declare function getFinalizeNewUpdateAuthorityInstruction<TAccountUpdateAuthority extends string, TAccountProposedAuthority extends string, TAccountCentralState extends string, TAccountTimelockedChange extends string, TProgramAddress extends Address = typeof OPPORTUNITY_MARKET_PROGRAM_ADDRESS>(input: FinalizeNewUpdateAuthorityInput<TAccountUpdateAuthority, TAccountProposedAuthority, TAccountCentralState, TAccountTimelockedChange>, config?: {
|
|
2651
|
+
programAddress?: TProgramAddress;
|
|
2652
|
+
}): FinalizeNewUpdateAuthorityInstruction<TProgramAddress, TAccountUpdateAuthority, TAccountProposedAuthority, TAccountCentralState, TAccountTimelockedChange>;
|
|
2653
|
+
type ParsedFinalizeNewUpdateAuthorityInstruction<TProgram extends string = typeof OPPORTUNITY_MARKET_PROGRAM_ADDRESS, TAccountMetas extends readonly AccountMeta[] = readonly AccountMeta[]> = {
|
|
2654
|
+
programAddress: Address<TProgram>;
|
|
2655
|
+
accounts: {
|
|
2656
|
+
updateAuthority: TAccountMetas[0];
|
|
2657
|
+
/** The proposed new authority must co-sign to prevent fat-finger mistakes. */
|
|
2658
|
+
proposedAuthority: TAccountMetas[1];
|
|
2659
|
+
centralState: TAccountMetas[2];
|
|
2660
|
+
timelockedChange: TAccountMetas[3];
|
|
2661
|
+
};
|
|
2662
|
+
data: FinalizeNewUpdateAuthorityInstructionData;
|
|
2663
|
+
};
|
|
2664
|
+
declare function parseFinalizeNewUpdateAuthorityInstruction<TProgram extends string, TAccountMetas extends readonly AccountMeta[]>(instruction: Instruction<TProgram> & InstructionWithAccounts<TAccountMetas> & InstructionWithData<ReadonlyUint8Array>): ParsedFinalizeNewUpdateAuthorityInstruction<TProgram, TAccountMetas>;
|
|
2665
|
+
|
|
2323
2666
|
/**
|
|
2324
2667
|
* This code was AUTOGENERATED using the Codama library.
|
|
2325
2668
|
* Please DO NOT EDIT THIS FILE, instead use visitors
|
|
@@ -2410,11 +2753,11 @@ type InitCentralStateInstruction<TProgram extends string = typeof OPPORTUNITY_MA
|
|
|
2410
2753
|
type InitCentralStateInstructionData = {
|
|
2411
2754
|
discriminator: ReadonlyUint8Array;
|
|
2412
2755
|
protocolFeeBp: number;
|
|
2413
|
-
|
|
2756
|
+
feeClaimer: Address;
|
|
2414
2757
|
};
|
|
2415
2758
|
type InitCentralStateInstructionDataArgs = {
|
|
2416
2759
|
protocolFeeBp: number;
|
|
2417
|
-
|
|
2760
|
+
feeClaimer: Address;
|
|
2418
2761
|
};
|
|
2419
2762
|
declare function getInitCentralStateInstructionDataEncoder(): FixedSizeEncoder<InitCentralStateInstructionDataArgs>;
|
|
2420
2763
|
declare function getInitCentralStateInstructionDataDecoder(): FixedSizeDecoder<InitCentralStateInstructionData>;
|
|
@@ -2424,7 +2767,7 @@ type InitCentralStateAsyncInput<TAccountPayer extends string = string, TAccountC
|
|
|
2424
2767
|
centralState?: Address<TAccountCentralState>;
|
|
2425
2768
|
systemProgram?: Address<TAccountSystemProgram>;
|
|
2426
2769
|
protocolFeeBp: InitCentralStateInstructionDataArgs['protocolFeeBp'];
|
|
2427
|
-
|
|
2770
|
+
feeClaimer: InitCentralStateInstructionDataArgs['feeClaimer'];
|
|
2428
2771
|
};
|
|
2429
2772
|
declare function getInitCentralStateInstructionAsync<TAccountPayer extends string, TAccountCentralState extends string, TAccountSystemProgram extends string, TProgramAddress extends Address = typeof OPPORTUNITY_MARKET_PROGRAM_ADDRESS>(input: InitCentralStateAsyncInput<TAccountPayer, TAccountCentralState, TAccountSystemProgram>, config?: {
|
|
2430
2773
|
programAddress?: TProgramAddress;
|
|
@@ -2434,7 +2777,7 @@ type InitCentralStateInput<TAccountPayer extends string = string, TAccountCentra
|
|
|
2434
2777
|
centralState: Address<TAccountCentralState>;
|
|
2435
2778
|
systemProgram?: Address<TAccountSystemProgram>;
|
|
2436
2779
|
protocolFeeBp: InitCentralStateInstructionDataArgs['protocolFeeBp'];
|
|
2437
|
-
|
|
2780
|
+
feeClaimer: InitCentralStateInstructionDataArgs['feeClaimer'];
|
|
2438
2781
|
};
|
|
2439
2782
|
declare function getInitCentralStateInstruction<TAccountPayer extends string, TAccountCentralState extends string, TAccountSystemProgram extends string, TProgramAddress extends Address = typeof OPPORTUNITY_MARKET_PROGRAM_ADDRESS>(input: InitCentralStateInput<TAccountPayer, TAccountCentralState, TAccountSystemProgram>, config?: {
|
|
2440
2783
|
programAddress?: TProgramAddress;
|
|
@@ -2523,11 +2866,10 @@ declare function parseInitStakeAccountInstruction<TProgram extends string, TAcco
|
|
|
2523
2866
|
|
|
2524
2867
|
declare const INIT_TOKEN_VAULT_DISCRIMINATOR: Uint8Array<ArrayBuffer>;
|
|
2525
2868
|
declare function getInitTokenVaultDiscriminatorBytes(): ReadonlyUint8Array<ArrayBuffer>;
|
|
2526
|
-
type InitTokenVaultInstruction<TProgram extends string = typeof OPPORTUNITY_MARKET_PROGRAM_ADDRESS, TAccountPayer extends string | AccountMeta<string> = string, TAccountTokenMint extends string | AccountMeta<string> = string, TAccountTokenVault extends string | AccountMeta<string> = string,
|
|
2869
|
+
type InitTokenVaultInstruction<TProgram extends string = typeof OPPORTUNITY_MARKET_PROGRAM_ADDRESS, TAccountPayer extends string | AccountMeta<string> = string, TAccountTokenMint extends string | AccountMeta<string> = string, TAccountTokenVault extends string | AccountMeta<string> = string, TAccountSystemProgram extends string | AccountMeta<string> = '11111111111111111111111111111111', TRemainingAccounts extends readonly AccountMeta<string>[] = []> = Instruction<TProgram> & InstructionWithData<ReadonlyUint8Array> & InstructionWithAccounts<[
|
|
2527
2870
|
TAccountPayer extends string ? WritableSignerAccount<TAccountPayer> & AccountSignerMeta<TAccountPayer> : TAccountPayer,
|
|
2528
2871
|
TAccountTokenMint extends string ? ReadonlyAccount<TAccountTokenMint> : TAccountTokenMint,
|
|
2529
2872
|
TAccountTokenVault extends string ? WritableAccount<TAccountTokenVault> : TAccountTokenVault,
|
|
2530
|
-
TAccountCentralState extends string ? ReadonlyAccount<TAccountCentralState> : TAccountCentralState,
|
|
2531
2873
|
TAccountSystemProgram extends string ? ReadonlyAccount<TAccountSystemProgram> : TAccountSystemProgram,
|
|
2532
2874
|
...TRemainingAccounts
|
|
2533
2875
|
]>;
|
|
@@ -2538,34 +2880,31 @@ type InitTokenVaultInstructionDataArgs = {};
|
|
|
2538
2880
|
declare function getInitTokenVaultInstructionDataEncoder(): FixedSizeEncoder<InitTokenVaultInstructionDataArgs>;
|
|
2539
2881
|
declare function getInitTokenVaultInstructionDataDecoder(): FixedSizeDecoder<InitTokenVaultInstructionData>;
|
|
2540
2882
|
declare function getInitTokenVaultInstructionDataCodec(): FixedSizeCodec<InitTokenVaultInstructionDataArgs, InitTokenVaultInstructionData>;
|
|
2541
|
-
type InitTokenVaultAsyncInput<TAccountPayer extends string = string, TAccountTokenMint extends string = string, TAccountTokenVault extends string = string,
|
|
2883
|
+
type InitTokenVaultAsyncInput<TAccountPayer extends string = string, TAccountTokenMint extends string = string, TAccountTokenVault extends string = string, TAccountSystemProgram extends string = string> = {
|
|
2542
2884
|
payer: TransactionSigner<TAccountPayer>;
|
|
2543
2885
|
tokenMint: Address<TAccountTokenMint>;
|
|
2544
2886
|
tokenVault?: Address<TAccountTokenVault>;
|
|
2545
|
-
centralState?: Address<TAccountCentralState>;
|
|
2546
2887
|
systemProgram?: Address<TAccountSystemProgram>;
|
|
2547
2888
|
};
|
|
2548
|
-
declare function getInitTokenVaultInstructionAsync<TAccountPayer extends string, TAccountTokenMint extends string, TAccountTokenVault extends string,
|
|
2889
|
+
declare function getInitTokenVaultInstructionAsync<TAccountPayer extends string, TAccountTokenMint extends string, TAccountTokenVault extends string, TAccountSystemProgram extends string, TProgramAddress extends Address = typeof OPPORTUNITY_MARKET_PROGRAM_ADDRESS>(input: InitTokenVaultAsyncInput<TAccountPayer, TAccountTokenMint, TAccountTokenVault, TAccountSystemProgram>, config?: {
|
|
2549
2890
|
programAddress?: TProgramAddress;
|
|
2550
|
-
}): Promise<InitTokenVaultInstruction<TProgramAddress, TAccountPayer, TAccountTokenMint, TAccountTokenVault,
|
|
2551
|
-
type InitTokenVaultInput<TAccountPayer extends string = string, TAccountTokenMint extends string = string, TAccountTokenVault extends string = string,
|
|
2891
|
+
}): Promise<InitTokenVaultInstruction<TProgramAddress, TAccountPayer, TAccountTokenMint, TAccountTokenVault, TAccountSystemProgram>>;
|
|
2892
|
+
type InitTokenVaultInput<TAccountPayer extends string = string, TAccountTokenMint extends string = string, TAccountTokenVault extends string = string, TAccountSystemProgram extends string = string> = {
|
|
2552
2893
|
payer: TransactionSigner<TAccountPayer>;
|
|
2553
2894
|
tokenMint: Address<TAccountTokenMint>;
|
|
2554
2895
|
tokenVault: Address<TAccountTokenVault>;
|
|
2555
|
-
centralState: Address<TAccountCentralState>;
|
|
2556
2896
|
systemProgram?: Address<TAccountSystemProgram>;
|
|
2557
2897
|
};
|
|
2558
|
-
declare function getInitTokenVaultInstruction<TAccountPayer extends string, TAccountTokenMint extends string, TAccountTokenVault extends string,
|
|
2898
|
+
declare function getInitTokenVaultInstruction<TAccountPayer extends string, TAccountTokenMint extends string, TAccountTokenVault extends string, TAccountSystemProgram extends string, TProgramAddress extends Address = typeof OPPORTUNITY_MARKET_PROGRAM_ADDRESS>(input: InitTokenVaultInput<TAccountPayer, TAccountTokenMint, TAccountTokenVault, TAccountSystemProgram>, config?: {
|
|
2559
2899
|
programAddress?: TProgramAddress;
|
|
2560
|
-
}): InitTokenVaultInstruction<TProgramAddress, TAccountPayer, TAccountTokenMint, TAccountTokenVault,
|
|
2900
|
+
}): InitTokenVaultInstruction<TProgramAddress, TAccountPayer, TAccountTokenMint, TAccountTokenVault, TAccountSystemProgram>;
|
|
2561
2901
|
type ParsedInitTokenVaultInstruction<TProgram extends string = typeof OPPORTUNITY_MARKET_PROGRAM_ADDRESS, TAccountMetas extends readonly AccountMeta[] = readonly AccountMeta[]> = {
|
|
2562
2902
|
programAddress: Address<TProgram>;
|
|
2563
2903
|
accounts: {
|
|
2564
2904
|
payer: TAccountMetas[0];
|
|
2565
2905
|
tokenMint: TAccountMetas[1];
|
|
2566
2906
|
tokenVault: TAccountMetas[2];
|
|
2567
|
-
|
|
2568
|
-
systemProgram: TAccountMetas[4];
|
|
2907
|
+
systemProgram: TAccountMetas[3];
|
|
2569
2908
|
};
|
|
2570
2909
|
data: InitTokenVaultInstructionData;
|
|
2571
2910
|
};
|
|
@@ -2653,6 +2992,122 @@ type ParsedPauseMarketInstruction<TProgram extends string = typeof OPPORTUNITY_M
|
|
|
2653
2992
|
};
|
|
2654
2993
|
declare function parsePauseMarketInstruction<TProgram extends string, TAccountMetas extends readonly AccountMeta[]>(instruction: Instruction<TProgram> & InstructionWithAccounts<TAccountMetas> & InstructionWithData<ReadonlyUint8Array>): ParsedPauseMarketInstruction<TProgram, TAccountMetas>;
|
|
2655
2994
|
|
|
2995
|
+
/**
|
|
2996
|
+
* This code was AUTOGENERATED using the Codama library.
|
|
2997
|
+
* Please DO NOT EDIT THIS FILE, instead use visitors
|
|
2998
|
+
* to add features, then rerun Codama to update it.
|
|
2999
|
+
*
|
|
3000
|
+
* @see https://github.com/codama-idl/codama
|
|
3001
|
+
*/
|
|
3002
|
+
|
|
3003
|
+
declare const PROPOSE_NEW_FEE_CLAIMER_DISCRIMINATOR: Uint8Array<ArrayBuffer>;
|
|
3004
|
+
declare function getProposeNewFeeClaimerDiscriminatorBytes(): ReadonlyUint8Array<ArrayBuffer>;
|
|
3005
|
+
type ProposeNewFeeClaimerInstruction<TProgram extends string = typeof OPPORTUNITY_MARKET_PROGRAM_ADDRESS, TAccountUpdateAuthority extends string | AccountMeta<string> = string, TAccountCentralState extends string | AccountMeta<string> = string, TAccountProposedFeeClaimer extends string | AccountMeta<string> = string, TAccountTimelockedChange extends string | AccountMeta<string> = string, TAccountSystemProgram extends string | AccountMeta<string> = '11111111111111111111111111111111', TRemainingAccounts extends readonly AccountMeta<string>[] = []> = Instruction<TProgram> & InstructionWithData<ReadonlyUint8Array> & InstructionWithAccounts<[
|
|
3006
|
+
TAccountUpdateAuthority extends string ? WritableSignerAccount<TAccountUpdateAuthority> & AccountSignerMeta<TAccountUpdateAuthority> : TAccountUpdateAuthority,
|
|
3007
|
+
TAccountCentralState extends string ? ReadonlyAccount<TAccountCentralState> : TAccountCentralState,
|
|
3008
|
+
TAccountProposedFeeClaimer extends string ? ReadonlyAccount<TAccountProposedFeeClaimer> : TAccountProposedFeeClaimer,
|
|
3009
|
+
TAccountTimelockedChange extends string ? WritableAccount<TAccountTimelockedChange> : TAccountTimelockedChange,
|
|
3010
|
+
TAccountSystemProgram extends string ? ReadonlyAccount<TAccountSystemProgram> : TAccountSystemProgram,
|
|
3011
|
+
...TRemainingAccounts
|
|
3012
|
+
]>;
|
|
3013
|
+
type ProposeNewFeeClaimerInstructionData = {
|
|
3014
|
+
discriminator: ReadonlyUint8Array;
|
|
3015
|
+
};
|
|
3016
|
+
type ProposeNewFeeClaimerInstructionDataArgs = {};
|
|
3017
|
+
declare function getProposeNewFeeClaimerInstructionDataEncoder(): FixedSizeEncoder<ProposeNewFeeClaimerInstructionDataArgs>;
|
|
3018
|
+
declare function getProposeNewFeeClaimerInstructionDataDecoder(): FixedSizeDecoder<ProposeNewFeeClaimerInstructionData>;
|
|
3019
|
+
declare function getProposeNewFeeClaimerInstructionDataCodec(): FixedSizeCodec<ProposeNewFeeClaimerInstructionDataArgs, ProposeNewFeeClaimerInstructionData>;
|
|
3020
|
+
type ProposeNewFeeClaimerAsyncInput<TAccountUpdateAuthority extends string = string, TAccountCentralState extends string = string, TAccountProposedFeeClaimer extends string = string, TAccountTimelockedChange extends string = string, TAccountSystemProgram extends string = string> = {
|
|
3021
|
+
updateAuthority: TransactionSigner<TAccountUpdateAuthority>;
|
|
3022
|
+
centralState?: Address<TAccountCentralState>;
|
|
3023
|
+
proposedFeeClaimer: Address<TAccountProposedFeeClaimer>;
|
|
3024
|
+
timelockedChange?: Address<TAccountTimelockedChange>;
|
|
3025
|
+
systemProgram?: Address<TAccountSystemProgram>;
|
|
3026
|
+
};
|
|
3027
|
+
declare function getProposeNewFeeClaimerInstructionAsync<TAccountUpdateAuthority extends string, TAccountCentralState extends string, TAccountProposedFeeClaimer extends string, TAccountTimelockedChange extends string, TAccountSystemProgram extends string, TProgramAddress extends Address = typeof OPPORTUNITY_MARKET_PROGRAM_ADDRESS>(input: ProposeNewFeeClaimerAsyncInput<TAccountUpdateAuthority, TAccountCentralState, TAccountProposedFeeClaimer, TAccountTimelockedChange, TAccountSystemProgram>, config?: {
|
|
3028
|
+
programAddress?: TProgramAddress;
|
|
3029
|
+
}): Promise<ProposeNewFeeClaimerInstruction<TProgramAddress, TAccountUpdateAuthority, TAccountCentralState, TAccountProposedFeeClaimer, TAccountTimelockedChange, TAccountSystemProgram>>;
|
|
3030
|
+
type ProposeNewFeeClaimerInput<TAccountUpdateAuthority extends string = string, TAccountCentralState extends string = string, TAccountProposedFeeClaimer extends string = string, TAccountTimelockedChange extends string = string, TAccountSystemProgram extends string = string> = {
|
|
3031
|
+
updateAuthority: TransactionSigner<TAccountUpdateAuthority>;
|
|
3032
|
+
centralState: Address<TAccountCentralState>;
|
|
3033
|
+
proposedFeeClaimer: Address<TAccountProposedFeeClaimer>;
|
|
3034
|
+
timelockedChange: Address<TAccountTimelockedChange>;
|
|
3035
|
+
systemProgram?: Address<TAccountSystemProgram>;
|
|
3036
|
+
};
|
|
3037
|
+
declare function getProposeNewFeeClaimerInstruction<TAccountUpdateAuthority extends string, TAccountCentralState extends string, TAccountProposedFeeClaimer extends string, TAccountTimelockedChange extends string, TAccountSystemProgram extends string, TProgramAddress extends Address = typeof OPPORTUNITY_MARKET_PROGRAM_ADDRESS>(input: ProposeNewFeeClaimerInput<TAccountUpdateAuthority, TAccountCentralState, TAccountProposedFeeClaimer, TAccountTimelockedChange, TAccountSystemProgram>, config?: {
|
|
3038
|
+
programAddress?: TProgramAddress;
|
|
3039
|
+
}): ProposeNewFeeClaimerInstruction<TProgramAddress, TAccountUpdateAuthority, TAccountCentralState, TAccountProposedFeeClaimer, TAccountTimelockedChange, TAccountSystemProgram>;
|
|
3040
|
+
type ParsedProposeNewFeeClaimerInstruction<TProgram extends string = typeof OPPORTUNITY_MARKET_PROGRAM_ADDRESS, TAccountMetas extends readonly AccountMeta[] = readonly AccountMeta[]> = {
|
|
3041
|
+
programAddress: Address<TProgram>;
|
|
3042
|
+
accounts: {
|
|
3043
|
+
updateAuthority: TAccountMetas[0];
|
|
3044
|
+
centralState: TAccountMetas[1];
|
|
3045
|
+
proposedFeeClaimer: TAccountMetas[2];
|
|
3046
|
+
timelockedChange: TAccountMetas[3];
|
|
3047
|
+
systemProgram: TAccountMetas[4];
|
|
3048
|
+
};
|
|
3049
|
+
data: ProposeNewFeeClaimerInstructionData;
|
|
3050
|
+
};
|
|
3051
|
+
declare function parseProposeNewFeeClaimerInstruction<TProgram extends string, TAccountMetas extends readonly AccountMeta[]>(instruction: Instruction<TProgram> & InstructionWithAccounts<TAccountMetas> & InstructionWithData<ReadonlyUint8Array>): ParsedProposeNewFeeClaimerInstruction<TProgram, TAccountMetas>;
|
|
3052
|
+
|
|
3053
|
+
/**
|
|
3054
|
+
* This code was AUTOGENERATED using the Codama library.
|
|
3055
|
+
* Please DO NOT EDIT THIS FILE, instead use visitors
|
|
3056
|
+
* to add features, then rerun Codama to update it.
|
|
3057
|
+
*
|
|
3058
|
+
* @see https://github.com/codama-idl/codama
|
|
3059
|
+
*/
|
|
3060
|
+
|
|
3061
|
+
declare const PROPOSE_NEW_UPDATE_AUTHORITY_DISCRIMINATOR: Uint8Array<ArrayBuffer>;
|
|
3062
|
+
declare function getProposeNewUpdateAuthorityDiscriminatorBytes(): ReadonlyUint8Array<ArrayBuffer>;
|
|
3063
|
+
type ProposeNewUpdateAuthorityInstruction<TProgram extends string = typeof OPPORTUNITY_MARKET_PROGRAM_ADDRESS, TAccountUpdateAuthority extends string | AccountMeta<string> = string, TAccountCentralState extends string | AccountMeta<string> = string, TAccountProposedAuthority extends string | AccountMeta<string> = string, TAccountTimelockedChange extends string | AccountMeta<string> = string, TAccountSystemProgram extends string | AccountMeta<string> = '11111111111111111111111111111111', TRemainingAccounts extends readonly AccountMeta<string>[] = []> = Instruction<TProgram> & InstructionWithData<ReadonlyUint8Array> & InstructionWithAccounts<[
|
|
3064
|
+
TAccountUpdateAuthority extends string ? WritableSignerAccount<TAccountUpdateAuthority> & AccountSignerMeta<TAccountUpdateAuthority> : TAccountUpdateAuthority,
|
|
3065
|
+
TAccountCentralState extends string ? ReadonlyAccount<TAccountCentralState> : TAccountCentralState,
|
|
3066
|
+
TAccountProposedAuthority extends string ? ReadonlyAccount<TAccountProposedAuthority> : TAccountProposedAuthority,
|
|
3067
|
+
TAccountTimelockedChange extends string ? WritableAccount<TAccountTimelockedChange> : TAccountTimelockedChange,
|
|
3068
|
+
TAccountSystemProgram extends string ? ReadonlyAccount<TAccountSystemProgram> : TAccountSystemProgram,
|
|
3069
|
+
...TRemainingAccounts
|
|
3070
|
+
]>;
|
|
3071
|
+
type ProposeNewUpdateAuthorityInstructionData = {
|
|
3072
|
+
discriminator: ReadonlyUint8Array;
|
|
3073
|
+
};
|
|
3074
|
+
type ProposeNewUpdateAuthorityInstructionDataArgs = {};
|
|
3075
|
+
declare function getProposeNewUpdateAuthorityInstructionDataEncoder(): FixedSizeEncoder<ProposeNewUpdateAuthorityInstructionDataArgs>;
|
|
3076
|
+
declare function getProposeNewUpdateAuthorityInstructionDataDecoder(): FixedSizeDecoder<ProposeNewUpdateAuthorityInstructionData>;
|
|
3077
|
+
declare function getProposeNewUpdateAuthorityInstructionDataCodec(): FixedSizeCodec<ProposeNewUpdateAuthorityInstructionDataArgs, ProposeNewUpdateAuthorityInstructionData>;
|
|
3078
|
+
type ProposeNewUpdateAuthorityAsyncInput<TAccountUpdateAuthority extends string = string, TAccountCentralState extends string = string, TAccountProposedAuthority extends string = string, TAccountTimelockedChange extends string = string, TAccountSystemProgram extends string = string> = {
|
|
3079
|
+
updateAuthority: TransactionSigner<TAccountUpdateAuthority>;
|
|
3080
|
+
centralState?: Address<TAccountCentralState>;
|
|
3081
|
+
proposedAuthority: Address<TAccountProposedAuthority>;
|
|
3082
|
+
timelockedChange?: Address<TAccountTimelockedChange>;
|
|
3083
|
+
systemProgram?: Address<TAccountSystemProgram>;
|
|
3084
|
+
};
|
|
3085
|
+
declare function getProposeNewUpdateAuthorityInstructionAsync<TAccountUpdateAuthority extends string, TAccountCentralState extends string, TAccountProposedAuthority extends string, TAccountTimelockedChange extends string, TAccountSystemProgram extends string, TProgramAddress extends Address = typeof OPPORTUNITY_MARKET_PROGRAM_ADDRESS>(input: ProposeNewUpdateAuthorityAsyncInput<TAccountUpdateAuthority, TAccountCentralState, TAccountProposedAuthority, TAccountTimelockedChange, TAccountSystemProgram>, config?: {
|
|
3086
|
+
programAddress?: TProgramAddress;
|
|
3087
|
+
}): Promise<ProposeNewUpdateAuthorityInstruction<TProgramAddress, TAccountUpdateAuthority, TAccountCentralState, TAccountProposedAuthority, TAccountTimelockedChange, TAccountSystemProgram>>;
|
|
3088
|
+
type ProposeNewUpdateAuthorityInput<TAccountUpdateAuthority extends string = string, TAccountCentralState extends string = string, TAccountProposedAuthority extends string = string, TAccountTimelockedChange extends string = string, TAccountSystemProgram extends string = string> = {
|
|
3089
|
+
updateAuthority: TransactionSigner<TAccountUpdateAuthority>;
|
|
3090
|
+
centralState: Address<TAccountCentralState>;
|
|
3091
|
+
proposedAuthority: Address<TAccountProposedAuthority>;
|
|
3092
|
+
timelockedChange: Address<TAccountTimelockedChange>;
|
|
3093
|
+
systemProgram?: Address<TAccountSystemProgram>;
|
|
3094
|
+
};
|
|
3095
|
+
declare function getProposeNewUpdateAuthorityInstruction<TAccountUpdateAuthority extends string, TAccountCentralState extends string, TAccountProposedAuthority extends string, TAccountTimelockedChange extends string, TAccountSystemProgram extends string, TProgramAddress extends Address = typeof OPPORTUNITY_MARKET_PROGRAM_ADDRESS>(input: ProposeNewUpdateAuthorityInput<TAccountUpdateAuthority, TAccountCentralState, TAccountProposedAuthority, TAccountTimelockedChange, TAccountSystemProgram>, config?: {
|
|
3096
|
+
programAddress?: TProgramAddress;
|
|
3097
|
+
}): ProposeNewUpdateAuthorityInstruction<TProgramAddress, TAccountUpdateAuthority, TAccountCentralState, TAccountProposedAuthority, TAccountTimelockedChange, TAccountSystemProgram>;
|
|
3098
|
+
type ParsedProposeNewUpdateAuthorityInstruction<TProgram extends string = typeof OPPORTUNITY_MARKET_PROGRAM_ADDRESS, TAccountMetas extends readonly AccountMeta[] = readonly AccountMeta[]> = {
|
|
3099
|
+
programAddress: Address<TProgram>;
|
|
3100
|
+
accounts: {
|
|
3101
|
+
updateAuthority: TAccountMetas[0];
|
|
3102
|
+
centralState: TAccountMetas[1];
|
|
3103
|
+
proposedAuthority: TAccountMetas[2];
|
|
3104
|
+
timelockedChange: TAccountMetas[3];
|
|
3105
|
+
systemProgram: TAccountMetas[4];
|
|
3106
|
+
};
|
|
3107
|
+
data: ProposeNewUpdateAuthorityInstructionData;
|
|
3108
|
+
};
|
|
3109
|
+
declare function parseProposeNewUpdateAuthorityInstruction<TProgram extends string, TAccountMetas extends readonly AccountMeta[]>(instruction: Instruction<TProgram> & InstructionWithAccounts<TAccountMetas> & InstructionWithData<ReadonlyUint8Array>): ParsedProposeNewUpdateAuthorityInstruction<TProgram, TAccountMetas>;
|
|
3110
|
+
|
|
2656
3111
|
/**
|
|
2657
3112
|
* This code was AUTOGENERATED using the Codama library.
|
|
2658
3113
|
* Please DO NOT EDIT THIS FILE, instead use visitors
|
|
@@ -3065,7 +3520,7 @@ declare function parseSelectWinningOptionsInstruction<TProgram extends string, T
|
|
|
3065
3520
|
|
|
3066
3521
|
declare const STAKE_DISCRIMINATOR: Uint8Array<ArrayBuffer>;
|
|
3067
3522
|
declare function getStakeDiscriminatorBytes(): ReadonlyUint8Array<ArrayBuffer>;
|
|
3068
|
-
type StakeInstruction<TProgram extends string = typeof OPPORTUNITY_MARKET_PROGRAM_ADDRESS, TAccountSigner extends string | AccountMeta<string> = string, TAccountPayer extends string | AccountMeta<string> = string, TAccountMarket extends string | AccountMeta<string> = string, TAccountStakeAccount extends string | AccountMeta<string> = string, TAccountTokenMint extends string | AccountMeta<string> = string, TAccountSignerTokenAccount extends string | AccountMeta<string> = string, TAccountMarketTokenAta extends string | AccountMeta<string> = string, TAccountTokenVault extends string | AccountMeta<string> = string, TAccountTokenVaultAta extends string | AccountMeta<string> = string, TAccountTokenProgram extends string | AccountMeta<string> = string, TAccountSignPdaAccount extends string | AccountMeta<string> = string, TAccountMxeAccount extends string | AccountMeta<string> = string, TAccountMempoolAccount extends string | AccountMeta<string> = string, TAccountExecutingPool extends string | AccountMeta<string> = string, TAccountComputationAccount extends string | AccountMeta<string> = string, TAccountCompDefAccount extends string | AccountMeta<string> = string, TAccountClusterAccount extends string | AccountMeta<string> = string, TAccountPoolAccount extends string | AccountMeta<string> = 'G2sRWJvi3xoyh5k2gY49eG9L8YhAEWQPtNb1zb1GXTtC', TAccountClockAccount extends string | AccountMeta<string> = '7EbMUTLo5DjdzbN7s8BXeZwXzEwNQb1hScfRvWg8a6ot', TAccountSystemProgram extends string | AccountMeta<string> = '11111111111111111111111111111111', TAccountArciumProgram extends string | AccountMeta<string> = 'Arcj82pX7HxYKLR92qvgZUAd7vGS1k4hQvAFcPATFdEQ', TRemainingAccounts extends readonly AccountMeta<string>[] = []> = Instruction<TProgram> & InstructionWithData<ReadonlyUint8Array> & InstructionWithAccounts<[
|
|
3523
|
+
type StakeInstruction<TProgram extends string = typeof OPPORTUNITY_MARKET_PROGRAM_ADDRESS, TAccountSigner extends string | AccountMeta<string> = string, TAccountPayer extends string | AccountMeta<string> = string, TAccountMarket extends string | AccountMeta<string> = string, TAccountStakeAccount extends string | AccountMeta<string> = string, TAccountTokenMint extends string | AccountMeta<string> = string, TAccountSignerTokenAccount extends string | AccountMeta<string> = string, TAccountMarketTokenAta extends string | AccountMeta<string> = string, TAccountTokenVault extends string | AccountMeta<string> = string, TAccountTokenVaultAta extends string | AccountMeta<string> = string, TAccountCentralState extends string | AccountMeta<string> = string, TAccountTokenProgram extends string | AccountMeta<string> = string, TAccountSignPdaAccount extends string | AccountMeta<string> = string, TAccountMxeAccount extends string | AccountMeta<string> = string, TAccountMempoolAccount extends string | AccountMeta<string> = string, TAccountExecutingPool extends string | AccountMeta<string> = string, TAccountComputationAccount extends string | AccountMeta<string> = string, TAccountCompDefAccount extends string | AccountMeta<string> = string, TAccountClusterAccount extends string | AccountMeta<string> = string, TAccountPoolAccount extends string | AccountMeta<string> = 'G2sRWJvi3xoyh5k2gY49eG9L8YhAEWQPtNb1zb1GXTtC', TAccountClockAccount extends string | AccountMeta<string> = '7EbMUTLo5DjdzbN7s8BXeZwXzEwNQb1hScfRvWg8a6ot', TAccountSystemProgram extends string | AccountMeta<string> = '11111111111111111111111111111111', TAccountArciumProgram extends string | AccountMeta<string> = 'Arcj82pX7HxYKLR92qvgZUAd7vGS1k4hQvAFcPATFdEQ', TRemainingAccounts extends readonly AccountMeta<string>[] = []> = Instruction<TProgram> & InstructionWithData<ReadonlyUint8Array> & InstructionWithAccounts<[
|
|
3069
3524
|
TAccountSigner extends string ? ReadonlySignerAccount<TAccountSigner> & AccountSignerMeta<TAccountSigner> : TAccountSigner,
|
|
3070
3525
|
TAccountPayer extends string ? WritableSignerAccount<TAccountPayer> & AccountSignerMeta<TAccountPayer> : TAccountPayer,
|
|
3071
3526
|
TAccountMarket extends string ? ReadonlyAccount<TAccountMarket> : TAccountMarket,
|
|
@@ -3075,6 +3530,7 @@ type StakeInstruction<TProgram extends string = typeof OPPORTUNITY_MARKET_PROGRA
|
|
|
3075
3530
|
TAccountMarketTokenAta extends string ? WritableAccount<TAccountMarketTokenAta> : TAccountMarketTokenAta,
|
|
3076
3531
|
TAccountTokenVault extends string ? WritableAccount<TAccountTokenVault> : TAccountTokenVault,
|
|
3077
3532
|
TAccountTokenVaultAta extends string ? WritableAccount<TAccountTokenVaultAta> : TAccountTokenVaultAta,
|
|
3533
|
+
TAccountCentralState extends string ? ReadonlyAccount<TAccountCentralState> : TAccountCentralState,
|
|
3078
3534
|
TAccountTokenProgram extends string ? ReadonlyAccount<TAccountTokenProgram> : TAccountTokenProgram,
|
|
3079
3535
|
TAccountSignPdaAccount extends string ? WritableAccount<TAccountSignPdaAccount> : TAccountSignPdaAccount,
|
|
3080
3536
|
TAccountMxeAccount extends string ? ReadonlyAccount<TAccountMxeAccount> : TAccountMxeAccount,
|
|
@@ -3111,7 +3567,7 @@ type StakeInstructionDataArgs = {
|
|
|
3111
3567
|
declare function getStakeInstructionDataEncoder(): FixedSizeEncoder<StakeInstructionDataArgs>;
|
|
3112
3568
|
declare function getStakeInstructionDataDecoder(): FixedSizeDecoder<StakeInstructionData>;
|
|
3113
3569
|
declare function getStakeInstructionDataCodec(): FixedSizeCodec<StakeInstructionDataArgs, StakeInstructionData>;
|
|
3114
|
-
type StakeAsyncInput<TAccountSigner extends string = string, TAccountPayer extends string = string, TAccountMarket extends string = string, TAccountStakeAccount extends string = string, TAccountTokenMint extends string = string, TAccountSignerTokenAccount extends string = string, TAccountMarketTokenAta extends string = string, TAccountTokenVault extends string = string, TAccountTokenVaultAta extends string = string, TAccountTokenProgram extends string = string, TAccountSignPdaAccount extends string = string, TAccountMxeAccount extends string = string, TAccountMempoolAccount extends string = string, TAccountExecutingPool extends string = string, TAccountComputationAccount extends string = string, TAccountCompDefAccount extends string = string, TAccountClusterAccount extends string = string, TAccountPoolAccount extends string = string, TAccountClockAccount extends string = string, TAccountSystemProgram extends string = string, TAccountArciumProgram extends string = string> = {
|
|
3570
|
+
type StakeAsyncInput<TAccountSigner extends string = string, TAccountPayer extends string = string, TAccountMarket extends string = string, TAccountStakeAccount extends string = string, TAccountTokenMint extends string = string, TAccountSignerTokenAccount extends string = string, TAccountMarketTokenAta extends string = string, TAccountTokenVault extends string = string, TAccountTokenVaultAta extends string = string, TAccountCentralState extends string = string, TAccountTokenProgram extends string = string, TAccountSignPdaAccount extends string = string, TAccountMxeAccount extends string = string, TAccountMempoolAccount extends string = string, TAccountExecutingPool extends string = string, TAccountComputationAccount extends string = string, TAccountCompDefAccount extends string = string, TAccountClusterAccount extends string = string, TAccountPoolAccount extends string = string, TAccountClockAccount extends string = string, TAccountSystemProgram extends string = string, TAccountArciumProgram extends string = string> = {
|
|
3115
3571
|
signer: TransactionSigner<TAccountSigner>;
|
|
3116
3572
|
payer: TransactionSigner<TAccountPayer>;
|
|
3117
3573
|
market: Address<TAccountMarket>;
|
|
@@ -3124,6 +3580,7 @@ type StakeAsyncInput<TAccountSigner extends string = string, TAccountPayer exten
|
|
|
3124
3580
|
tokenVault?: Address<TAccountTokenVault>;
|
|
3125
3581
|
/** Token vault ATA for fee tokens */
|
|
3126
3582
|
tokenVaultAta?: Address<TAccountTokenVaultAta>;
|
|
3583
|
+
centralState?: Address<TAccountCentralState>;
|
|
3127
3584
|
tokenProgram: Address<TAccountTokenProgram>;
|
|
3128
3585
|
signPdaAccount?: Address<TAccountSignPdaAccount>;
|
|
3129
3586
|
mxeAccount: Address<TAccountMxeAccount>;
|
|
@@ -3144,10 +3601,10 @@ type StakeAsyncInput<TAccountSigner extends string = string, TAccountPayer exten
|
|
|
3144
3601
|
authorizedReaderNonce: StakeInstructionDataArgs['authorizedReaderNonce'];
|
|
3145
3602
|
userPubkey: StakeInstructionDataArgs['userPubkey'];
|
|
3146
3603
|
};
|
|
3147
|
-
declare function getStakeInstructionAsync<TAccountSigner extends string, TAccountPayer extends string, TAccountMarket extends string, TAccountStakeAccount extends string, TAccountTokenMint extends string, TAccountSignerTokenAccount extends string, TAccountMarketTokenAta extends string, TAccountTokenVault extends string, TAccountTokenVaultAta extends string, TAccountTokenProgram extends string, TAccountSignPdaAccount extends string, TAccountMxeAccount extends string, TAccountMempoolAccount extends string, TAccountExecutingPool extends string, TAccountComputationAccount extends string, TAccountCompDefAccount extends string, TAccountClusterAccount extends string, TAccountPoolAccount extends string, TAccountClockAccount extends string, TAccountSystemProgram extends string, TAccountArciumProgram extends string, TProgramAddress extends Address = typeof OPPORTUNITY_MARKET_PROGRAM_ADDRESS>(input: StakeAsyncInput<TAccountSigner, TAccountPayer, TAccountMarket, TAccountStakeAccount, TAccountTokenMint, TAccountSignerTokenAccount, TAccountMarketTokenAta, TAccountTokenVault, TAccountTokenVaultAta, TAccountTokenProgram, TAccountSignPdaAccount, TAccountMxeAccount, TAccountMempoolAccount, TAccountExecutingPool, TAccountComputationAccount, TAccountCompDefAccount, TAccountClusterAccount, TAccountPoolAccount, TAccountClockAccount, TAccountSystemProgram, TAccountArciumProgram>, config?: {
|
|
3604
|
+
declare function getStakeInstructionAsync<TAccountSigner extends string, TAccountPayer extends string, TAccountMarket extends string, TAccountStakeAccount extends string, TAccountTokenMint extends string, TAccountSignerTokenAccount extends string, TAccountMarketTokenAta extends string, TAccountTokenVault extends string, TAccountTokenVaultAta extends string, TAccountCentralState extends string, TAccountTokenProgram extends string, TAccountSignPdaAccount extends string, TAccountMxeAccount extends string, TAccountMempoolAccount extends string, TAccountExecutingPool extends string, TAccountComputationAccount extends string, TAccountCompDefAccount extends string, TAccountClusterAccount extends string, TAccountPoolAccount extends string, TAccountClockAccount extends string, TAccountSystemProgram extends string, TAccountArciumProgram extends string, TProgramAddress extends Address = typeof OPPORTUNITY_MARKET_PROGRAM_ADDRESS>(input: StakeAsyncInput<TAccountSigner, TAccountPayer, TAccountMarket, TAccountStakeAccount, TAccountTokenMint, TAccountSignerTokenAccount, TAccountMarketTokenAta, TAccountTokenVault, TAccountTokenVaultAta, TAccountCentralState, TAccountTokenProgram, TAccountSignPdaAccount, TAccountMxeAccount, TAccountMempoolAccount, TAccountExecutingPool, TAccountComputationAccount, TAccountCompDefAccount, TAccountClusterAccount, TAccountPoolAccount, TAccountClockAccount, TAccountSystemProgram, TAccountArciumProgram>, config?: {
|
|
3148
3605
|
programAddress?: TProgramAddress;
|
|
3149
|
-
}): Promise<StakeInstruction<TProgramAddress, TAccountSigner, TAccountPayer, TAccountMarket, TAccountStakeAccount, TAccountTokenMint, TAccountSignerTokenAccount, TAccountMarketTokenAta, TAccountTokenVault, TAccountTokenVaultAta, TAccountTokenProgram, TAccountSignPdaAccount, TAccountMxeAccount, TAccountMempoolAccount, TAccountExecutingPool, TAccountComputationAccount, TAccountCompDefAccount, TAccountClusterAccount, TAccountPoolAccount, TAccountClockAccount, TAccountSystemProgram, TAccountArciumProgram>>;
|
|
3150
|
-
type StakeInput<TAccountSigner extends string = string, TAccountPayer extends string = string, TAccountMarket extends string = string, TAccountStakeAccount extends string = string, TAccountTokenMint extends string = string, TAccountSignerTokenAccount extends string = string, TAccountMarketTokenAta extends string = string, TAccountTokenVault extends string = string, TAccountTokenVaultAta extends string = string, TAccountTokenProgram extends string = string, TAccountSignPdaAccount extends string = string, TAccountMxeAccount extends string = string, TAccountMempoolAccount extends string = string, TAccountExecutingPool extends string = string, TAccountComputationAccount extends string = string, TAccountCompDefAccount extends string = string, TAccountClusterAccount extends string = string, TAccountPoolAccount extends string = string, TAccountClockAccount extends string = string, TAccountSystemProgram extends string = string, TAccountArciumProgram extends string = string> = {
|
|
3606
|
+
}): Promise<StakeInstruction<TProgramAddress, TAccountSigner, TAccountPayer, TAccountMarket, TAccountStakeAccount, TAccountTokenMint, TAccountSignerTokenAccount, TAccountMarketTokenAta, TAccountTokenVault, TAccountTokenVaultAta, TAccountCentralState, TAccountTokenProgram, TAccountSignPdaAccount, TAccountMxeAccount, TAccountMempoolAccount, TAccountExecutingPool, TAccountComputationAccount, TAccountCompDefAccount, TAccountClusterAccount, TAccountPoolAccount, TAccountClockAccount, TAccountSystemProgram, TAccountArciumProgram>>;
|
|
3607
|
+
type StakeInput<TAccountSigner extends string = string, TAccountPayer extends string = string, TAccountMarket extends string = string, TAccountStakeAccount extends string = string, TAccountTokenMint extends string = string, TAccountSignerTokenAccount extends string = string, TAccountMarketTokenAta extends string = string, TAccountTokenVault extends string = string, TAccountTokenVaultAta extends string = string, TAccountCentralState extends string = string, TAccountTokenProgram extends string = string, TAccountSignPdaAccount extends string = string, TAccountMxeAccount extends string = string, TAccountMempoolAccount extends string = string, TAccountExecutingPool extends string = string, TAccountComputationAccount extends string = string, TAccountCompDefAccount extends string = string, TAccountClusterAccount extends string = string, TAccountPoolAccount extends string = string, TAccountClockAccount extends string = string, TAccountSystemProgram extends string = string, TAccountArciumProgram extends string = string> = {
|
|
3151
3608
|
signer: TransactionSigner<TAccountSigner>;
|
|
3152
3609
|
payer: TransactionSigner<TAccountPayer>;
|
|
3153
3610
|
market: Address<TAccountMarket>;
|
|
@@ -3160,6 +3617,7 @@ type StakeInput<TAccountSigner extends string = string, TAccountPayer extends st
|
|
|
3160
3617
|
tokenVault: Address<TAccountTokenVault>;
|
|
3161
3618
|
/** Token vault ATA for fee tokens */
|
|
3162
3619
|
tokenVaultAta: Address<TAccountTokenVaultAta>;
|
|
3620
|
+
centralState: Address<TAccountCentralState>;
|
|
3163
3621
|
tokenProgram: Address<TAccountTokenProgram>;
|
|
3164
3622
|
signPdaAccount: Address<TAccountSignPdaAccount>;
|
|
3165
3623
|
mxeAccount: Address<TAccountMxeAccount>;
|
|
@@ -3180,9 +3638,9 @@ type StakeInput<TAccountSigner extends string = string, TAccountPayer extends st
|
|
|
3180
3638
|
authorizedReaderNonce: StakeInstructionDataArgs['authorizedReaderNonce'];
|
|
3181
3639
|
userPubkey: StakeInstructionDataArgs['userPubkey'];
|
|
3182
3640
|
};
|
|
3183
|
-
declare function getStakeInstruction<TAccountSigner extends string, TAccountPayer extends string, TAccountMarket extends string, TAccountStakeAccount extends string, TAccountTokenMint extends string, TAccountSignerTokenAccount extends string, TAccountMarketTokenAta extends string, TAccountTokenVault extends string, TAccountTokenVaultAta extends string, TAccountTokenProgram extends string, TAccountSignPdaAccount extends string, TAccountMxeAccount extends string, TAccountMempoolAccount extends string, TAccountExecutingPool extends string, TAccountComputationAccount extends string, TAccountCompDefAccount extends string, TAccountClusterAccount extends string, TAccountPoolAccount extends string, TAccountClockAccount extends string, TAccountSystemProgram extends string, TAccountArciumProgram extends string, TProgramAddress extends Address = typeof OPPORTUNITY_MARKET_PROGRAM_ADDRESS>(input: StakeInput<TAccountSigner, TAccountPayer, TAccountMarket, TAccountStakeAccount, TAccountTokenMint, TAccountSignerTokenAccount, TAccountMarketTokenAta, TAccountTokenVault, TAccountTokenVaultAta, TAccountTokenProgram, TAccountSignPdaAccount, TAccountMxeAccount, TAccountMempoolAccount, TAccountExecutingPool, TAccountComputationAccount, TAccountCompDefAccount, TAccountClusterAccount, TAccountPoolAccount, TAccountClockAccount, TAccountSystemProgram, TAccountArciumProgram>, config?: {
|
|
3641
|
+
declare function getStakeInstruction<TAccountSigner extends string, TAccountPayer extends string, TAccountMarket extends string, TAccountStakeAccount extends string, TAccountTokenMint extends string, TAccountSignerTokenAccount extends string, TAccountMarketTokenAta extends string, TAccountTokenVault extends string, TAccountTokenVaultAta extends string, TAccountCentralState extends string, TAccountTokenProgram extends string, TAccountSignPdaAccount extends string, TAccountMxeAccount extends string, TAccountMempoolAccount extends string, TAccountExecutingPool extends string, TAccountComputationAccount extends string, TAccountCompDefAccount extends string, TAccountClusterAccount extends string, TAccountPoolAccount extends string, TAccountClockAccount extends string, TAccountSystemProgram extends string, TAccountArciumProgram extends string, TProgramAddress extends Address = typeof OPPORTUNITY_MARKET_PROGRAM_ADDRESS>(input: StakeInput<TAccountSigner, TAccountPayer, TAccountMarket, TAccountStakeAccount, TAccountTokenMint, TAccountSignerTokenAccount, TAccountMarketTokenAta, TAccountTokenVault, TAccountTokenVaultAta, TAccountCentralState, TAccountTokenProgram, TAccountSignPdaAccount, TAccountMxeAccount, TAccountMempoolAccount, TAccountExecutingPool, TAccountComputationAccount, TAccountCompDefAccount, TAccountClusterAccount, TAccountPoolAccount, TAccountClockAccount, TAccountSystemProgram, TAccountArciumProgram>, config?: {
|
|
3184
3642
|
programAddress?: TProgramAddress;
|
|
3185
|
-
}): StakeInstruction<TProgramAddress, TAccountSigner, TAccountPayer, TAccountMarket, TAccountStakeAccount, TAccountTokenMint, TAccountSignerTokenAccount, TAccountMarketTokenAta, TAccountTokenVault, TAccountTokenVaultAta, TAccountTokenProgram, TAccountSignPdaAccount, TAccountMxeAccount, TAccountMempoolAccount, TAccountExecutingPool, TAccountComputationAccount, TAccountCompDefAccount, TAccountClusterAccount, TAccountPoolAccount, TAccountClockAccount, TAccountSystemProgram, TAccountArciumProgram>;
|
|
3643
|
+
}): StakeInstruction<TProgramAddress, TAccountSigner, TAccountPayer, TAccountMarket, TAccountStakeAccount, TAccountTokenMint, TAccountSignerTokenAccount, TAccountMarketTokenAta, TAccountTokenVault, TAccountTokenVaultAta, TAccountCentralState, TAccountTokenProgram, TAccountSignPdaAccount, TAccountMxeAccount, TAccountMempoolAccount, TAccountExecutingPool, TAccountComputationAccount, TAccountCompDefAccount, TAccountClusterAccount, TAccountPoolAccount, TAccountClockAccount, TAccountSystemProgram, TAccountArciumProgram>;
|
|
3186
3644
|
type ParsedStakeInstruction<TProgram extends string = typeof OPPORTUNITY_MARKET_PROGRAM_ADDRESS, TAccountMetas extends readonly AccountMeta[] = readonly AccountMeta[]> = {
|
|
3187
3645
|
programAddress: Address<TProgram>;
|
|
3188
3646
|
accounts: {
|
|
@@ -3198,18 +3656,19 @@ type ParsedStakeInstruction<TProgram extends string = typeof OPPORTUNITY_MARKET_
|
|
|
3198
3656
|
tokenVault: TAccountMetas[7];
|
|
3199
3657
|
/** Token vault ATA for fee tokens */
|
|
3200
3658
|
tokenVaultAta: TAccountMetas[8];
|
|
3201
|
-
|
|
3202
|
-
|
|
3203
|
-
|
|
3204
|
-
|
|
3205
|
-
|
|
3206
|
-
|
|
3207
|
-
|
|
3208
|
-
|
|
3209
|
-
|
|
3210
|
-
|
|
3211
|
-
|
|
3212
|
-
|
|
3659
|
+
centralState: TAccountMetas[9];
|
|
3660
|
+
tokenProgram: TAccountMetas[10];
|
|
3661
|
+
signPdaAccount: TAccountMetas[11];
|
|
3662
|
+
mxeAccount: TAccountMetas[12];
|
|
3663
|
+
mempoolAccount: TAccountMetas[13];
|
|
3664
|
+
executingPool: TAccountMetas[14];
|
|
3665
|
+
computationAccount: TAccountMetas[15];
|
|
3666
|
+
compDefAccount: TAccountMetas[16];
|
|
3667
|
+
clusterAccount: TAccountMetas[17];
|
|
3668
|
+
poolAccount: TAccountMetas[18];
|
|
3669
|
+
clockAccount: TAccountMetas[19];
|
|
3670
|
+
systemProgram: TAccountMetas[20];
|
|
3671
|
+
arciumProgram: TAccountMetas[21];
|
|
3213
3672
|
};
|
|
3214
3673
|
data: StakeInstructionData;
|
|
3215
3674
|
};
|
|
@@ -3349,57 +3808,6 @@ type ParsedStakeCompDefInstruction<TProgram extends string = typeof OPPORTUNITY_
|
|
|
3349
3808
|
};
|
|
3350
3809
|
declare function parseStakeCompDefInstruction<TProgram extends string, TAccountMetas extends readonly AccountMeta[]>(instruction: Instruction<TProgram> & InstructionWithAccounts<TAccountMetas> & InstructionWithData<ReadonlyUint8Array>): ParsedStakeCompDefInstruction<TProgram, TAccountMetas>;
|
|
3351
3810
|
|
|
3352
|
-
/**
|
|
3353
|
-
* This code was AUTOGENERATED using the Codama library.
|
|
3354
|
-
* Please DO NOT EDIT THIS FILE, instead use visitors
|
|
3355
|
-
* to add features, then rerun Codama to update it.
|
|
3356
|
-
*
|
|
3357
|
-
* @see https://github.com/codama-idl/codama
|
|
3358
|
-
*/
|
|
3359
|
-
|
|
3360
|
-
declare const TRANSFER_CENTRAL_STATE_AUTHORITY_DISCRIMINATOR: Uint8Array<ArrayBuffer>;
|
|
3361
|
-
declare function getTransferCentralStateAuthorityDiscriminatorBytes(): ReadonlyUint8Array<ArrayBuffer>;
|
|
3362
|
-
type TransferCentralStateAuthorityInstruction<TProgram extends string = typeof OPPORTUNITY_MARKET_PROGRAM_ADDRESS, TAccountAuthority extends string | AccountMeta<string> = string, TAccountCentralState extends string | AccountMeta<string> = string, TRemainingAccounts extends readonly AccountMeta<string>[] = []> = Instruction<TProgram> & InstructionWithData<ReadonlyUint8Array> & InstructionWithAccounts<[
|
|
3363
|
-
TAccountAuthority extends string ? ReadonlySignerAccount<TAccountAuthority> & AccountSignerMeta<TAccountAuthority> : TAccountAuthority,
|
|
3364
|
-
TAccountCentralState extends string ? WritableAccount<TAccountCentralState> : TAccountCentralState,
|
|
3365
|
-
...TRemainingAccounts
|
|
3366
|
-
]>;
|
|
3367
|
-
type TransferCentralStateAuthorityInstructionData = {
|
|
3368
|
-
discriminator: ReadonlyUint8Array;
|
|
3369
|
-
newAuthority: Address;
|
|
3370
|
-
};
|
|
3371
|
-
type TransferCentralStateAuthorityInstructionDataArgs = {
|
|
3372
|
-
newAuthority: Address;
|
|
3373
|
-
};
|
|
3374
|
-
declare function getTransferCentralStateAuthorityInstructionDataEncoder(): FixedSizeEncoder<TransferCentralStateAuthorityInstructionDataArgs>;
|
|
3375
|
-
declare function getTransferCentralStateAuthorityInstructionDataDecoder(): FixedSizeDecoder<TransferCentralStateAuthorityInstructionData>;
|
|
3376
|
-
declare function getTransferCentralStateAuthorityInstructionDataCodec(): FixedSizeCodec<TransferCentralStateAuthorityInstructionDataArgs, TransferCentralStateAuthorityInstructionData>;
|
|
3377
|
-
type TransferCentralStateAuthorityAsyncInput<TAccountAuthority extends string = string, TAccountCentralState extends string = string> = {
|
|
3378
|
-
authority: TransactionSigner<TAccountAuthority>;
|
|
3379
|
-
centralState?: Address<TAccountCentralState>;
|
|
3380
|
-
newAuthority: TransferCentralStateAuthorityInstructionDataArgs['newAuthority'];
|
|
3381
|
-
};
|
|
3382
|
-
declare function getTransferCentralStateAuthorityInstructionAsync<TAccountAuthority extends string, TAccountCentralState extends string, TProgramAddress extends Address = typeof OPPORTUNITY_MARKET_PROGRAM_ADDRESS>(input: TransferCentralStateAuthorityAsyncInput<TAccountAuthority, TAccountCentralState>, config?: {
|
|
3383
|
-
programAddress?: TProgramAddress;
|
|
3384
|
-
}): Promise<TransferCentralStateAuthorityInstruction<TProgramAddress, TAccountAuthority, TAccountCentralState>>;
|
|
3385
|
-
type TransferCentralStateAuthorityInput<TAccountAuthority extends string = string, TAccountCentralState extends string = string> = {
|
|
3386
|
-
authority: TransactionSigner<TAccountAuthority>;
|
|
3387
|
-
centralState: Address<TAccountCentralState>;
|
|
3388
|
-
newAuthority: TransferCentralStateAuthorityInstructionDataArgs['newAuthority'];
|
|
3389
|
-
};
|
|
3390
|
-
declare function getTransferCentralStateAuthorityInstruction<TAccountAuthority extends string, TAccountCentralState extends string, TProgramAddress extends Address = typeof OPPORTUNITY_MARKET_PROGRAM_ADDRESS>(input: TransferCentralStateAuthorityInput<TAccountAuthority, TAccountCentralState>, config?: {
|
|
3391
|
-
programAddress?: TProgramAddress;
|
|
3392
|
-
}): TransferCentralStateAuthorityInstruction<TProgramAddress, TAccountAuthority, TAccountCentralState>;
|
|
3393
|
-
type ParsedTransferCentralStateAuthorityInstruction<TProgram extends string = typeof OPPORTUNITY_MARKET_PROGRAM_ADDRESS, TAccountMetas extends readonly AccountMeta[] = readonly AccountMeta[]> = {
|
|
3394
|
-
programAddress: Address<TProgram>;
|
|
3395
|
-
accounts: {
|
|
3396
|
-
authority: TAccountMetas[0];
|
|
3397
|
-
centralState: TAccountMetas[1];
|
|
3398
|
-
};
|
|
3399
|
-
data: TransferCentralStateAuthorityInstructionData;
|
|
3400
|
-
};
|
|
3401
|
-
declare function parseTransferCentralStateAuthorityInstruction<TProgram extends string, TAccountMetas extends readonly AccountMeta[]>(instruction: Instruction<TProgram> & InstructionWithAccounts<TAccountMetas> & InstructionWithData<ReadonlyUint8Array>): ParsedTransferCentralStateAuthorityInstruction<TProgram, TAccountMetas>;
|
|
3402
|
-
|
|
3403
3811
|
/**
|
|
3404
3812
|
* This code was AUTOGENERATED using the Codama library.
|
|
3405
3813
|
* Please DO NOT EDIT THIS FILE, instead use visitors
|
|
@@ -3465,45 +3873,41 @@ declare function parseUnstakeEarlyInstruction<TProgram extends string, TAccountM
|
|
|
3465
3873
|
|
|
3466
3874
|
declare const UPDATE_CENTRAL_STATE_DISCRIMINATOR: Uint8Array<ArrayBuffer>;
|
|
3467
3875
|
declare function getUpdateCentralStateDiscriminatorBytes(): ReadonlyUint8Array<ArrayBuffer>;
|
|
3468
|
-
type UpdateCentralStateInstruction<TProgram extends string = typeof OPPORTUNITY_MARKET_PROGRAM_ADDRESS,
|
|
3469
|
-
|
|
3876
|
+
type UpdateCentralStateInstruction<TProgram extends string = typeof OPPORTUNITY_MARKET_PROGRAM_ADDRESS, TAccountUpdateAuthority extends string | AccountMeta<string> = string, TAccountCentralState extends string | AccountMeta<string> = string, TRemainingAccounts extends readonly AccountMeta<string>[] = []> = Instruction<TProgram> & InstructionWithData<ReadonlyUint8Array> & InstructionWithAccounts<[
|
|
3877
|
+
TAccountUpdateAuthority extends string ? ReadonlySignerAccount<TAccountUpdateAuthority> & AccountSignerMeta<TAccountUpdateAuthority> : TAccountUpdateAuthority,
|
|
3470
3878
|
TAccountCentralState extends string ? WritableAccount<TAccountCentralState> : TAccountCentralState,
|
|
3471
3879
|
...TRemainingAccounts
|
|
3472
3880
|
]>;
|
|
3473
3881
|
type UpdateCentralStateInstructionData = {
|
|
3474
3882
|
discriminator: ReadonlyUint8Array;
|
|
3475
3883
|
protocolFeeBp: number;
|
|
3476
|
-
feeRecipient: Address;
|
|
3477
3884
|
};
|
|
3478
3885
|
type UpdateCentralStateInstructionDataArgs = {
|
|
3479
3886
|
protocolFeeBp: number;
|
|
3480
|
-
feeRecipient: Address;
|
|
3481
3887
|
};
|
|
3482
3888
|
declare function getUpdateCentralStateInstructionDataEncoder(): FixedSizeEncoder<UpdateCentralStateInstructionDataArgs>;
|
|
3483
3889
|
declare function getUpdateCentralStateInstructionDataDecoder(): FixedSizeDecoder<UpdateCentralStateInstructionData>;
|
|
3484
3890
|
declare function getUpdateCentralStateInstructionDataCodec(): FixedSizeCodec<UpdateCentralStateInstructionDataArgs, UpdateCentralStateInstructionData>;
|
|
3485
|
-
type UpdateCentralStateAsyncInput<
|
|
3486
|
-
|
|
3891
|
+
type UpdateCentralStateAsyncInput<TAccountUpdateAuthority extends string = string, TAccountCentralState extends string = string> = {
|
|
3892
|
+
updateAuthority: TransactionSigner<TAccountUpdateAuthority>;
|
|
3487
3893
|
centralState?: Address<TAccountCentralState>;
|
|
3488
3894
|
protocolFeeBp: UpdateCentralStateInstructionDataArgs['protocolFeeBp'];
|
|
3489
|
-
feeRecipient: UpdateCentralStateInstructionDataArgs['feeRecipient'];
|
|
3490
3895
|
};
|
|
3491
|
-
declare function getUpdateCentralStateInstructionAsync<
|
|
3896
|
+
declare function getUpdateCentralStateInstructionAsync<TAccountUpdateAuthority extends string, TAccountCentralState extends string, TProgramAddress extends Address = typeof OPPORTUNITY_MARKET_PROGRAM_ADDRESS>(input: UpdateCentralStateAsyncInput<TAccountUpdateAuthority, TAccountCentralState>, config?: {
|
|
3492
3897
|
programAddress?: TProgramAddress;
|
|
3493
|
-
}): Promise<UpdateCentralStateInstruction<TProgramAddress,
|
|
3494
|
-
type UpdateCentralStateInput<
|
|
3495
|
-
|
|
3898
|
+
}): Promise<UpdateCentralStateInstruction<TProgramAddress, TAccountUpdateAuthority, TAccountCentralState>>;
|
|
3899
|
+
type UpdateCentralStateInput<TAccountUpdateAuthority extends string = string, TAccountCentralState extends string = string> = {
|
|
3900
|
+
updateAuthority: TransactionSigner<TAccountUpdateAuthority>;
|
|
3496
3901
|
centralState: Address<TAccountCentralState>;
|
|
3497
3902
|
protocolFeeBp: UpdateCentralStateInstructionDataArgs['protocolFeeBp'];
|
|
3498
|
-
feeRecipient: UpdateCentralStateInstructionDataArgs['feeRecipient'];
|
|
3499
3903
|
};
|
|
3500
|
-
declare function getUpdateCentralStateInstruction<
|
|
3904
|
+
declare function getUpdateCentralStateInstruction<TAccountUpdateAuthority extends string, TAccountCentralState extends string, TProgramAddress extends Address = typeof OPPORTUNITY_MARKET_PROGRAM_ADDRESS>(input: UpdateCentralStateInput<TAccountUpdateAuthority, TAccountCentralState>, config?: {
|
|
3501
3905
|
programAddress?: TProgramAddress;
|
|
3502
|
-
}): UpdateCentralStateInstruction<TProgramAddress,
|
|
3906
|
+
}): UpdateCentralStateInstruction<TProgramAddress, TAccountUpdateAuthority, TAccountCentralState>;
|
|
3503
3907
|
type ParsedUpdateCentralStateInstruction<TProgram extends string = typeof OPPORTUNITY_MARKET_PROGRAM_ADDRESS, TAccountMetas extends readonly AccountMeta[] = readonly AccountMeta[]> = {
|
|
3504
3908
|
programAddress: Address<TProgram>;
|
|
3505
3909
|
accounts: {
|
|
3506
|
-
|
|
3910
|
+
updateAuthority: TAccountMetas[0];
|
|
3507
3911
|
centralState: TAccountMetas[1];
|
|
3508
3912
|
};
|
|
3509
3913
|
data: UpdateCentralStateInstructionData;
|
|
@@ -3793,7 +4197,7 @@ declare function doUnstakeEarly(input: DoUnstakeEarlyParams): Promise<DoUnstakeE
|
|
|
3793
4197
|
interface EnsureCentralStateParams extends BaseInstructionParams {
|
|
3794
4198
|
signer: TransactionSigner;
|
|
3795
4199
|
protocolFeeBp: number;
|
|
3796
|
-
|
|
4200
|
+
feeClaimer: Address;
|
|
3797
4201
|
}
|
|
3798
4202
|
declare function ensureCentralState(rpc: Parameters<typeof fetchMaybeCentralState>[0], params: EnsureCentralStateParams): Promise<Instruction | null>;
|
|
3799
4203
|
|
|
@@ -3806,6 +4210,40 @@ interface WithdrawRewardParams extends BaseInstructionParams {
|
|
|
3806
4210
|
}
|
|
3807
4211
|
declare function withdrawReward(input: WithdrawRewardParams): Promise<WithdrawRewardInstruction<string>>;
|
|
3808
4212
|
|
|
4213
|
+
interface ProposeNewUpdateAuthorityParams extends BaseInstructionParams {
|
|
4214
|
+
updateAuthority: TransactionSigner;
|
|
4215
|
+
proposedAuthority: Address;
|
|
4216
|
+
}
|
|
4217
|
+
declare function proposeNewUpdateAuthority(input: ProposeNewUpdateAuthorityParams): Promise<ProposeNewUpdateAuthorityInstruction<string>>;
|
|
4218
|
+
|
|
4219
|
+
interface ProposeNewFeeClaimerParams extends BaseInstructionParams {
|
|
4220
|
+
updateAuthority: TransactionSigner;
|
|
4221
|
+
proposedFeeClaimer: Address;
|
|
4222
|
+
}
|
|
4223
|
+
declare function proposeNewFeeClaimer(input: ProposeNewFeeClaimerParams): Promise<ProposeNewFeeClaimerInstruction<string>>;
|
|
4224
|
+
|
|
4225
|
+
interface FinalizeNewUpdateAuthorityParams extends BaseInstructionParams {
|
|
4226
|
+
updateAuthority: TransactionSigner;
|
|
4227
|
+
proposedAuthority: TransactionSigner;
|
|
4228
|
+
}
|
|
4229
|
+
declare function finalizeNewUpdateAuthority(input: FinalizeNewUpdateAuthorityParams): Promise<FinalizeNewUpdateAuthorityInstruction<string>>;
|
|
4230
|
+
|
|
4231
|
+
interface FinalizeNewFeeClaimerParams extends BaseInstructionParams {
|
|
4232
|
+
updateAuthority: TransactionSigner;
|
|
4233
|
+
proposedFeeClaimer: TransactionSigner;
|
|
4234
|
+
}
|
|
4235
|
+
declare function finalizeNewFeeClaimer(input: FinalizeNewFeeClaimerParams): Promise<FinalizeNewFeeClaimerInstruction<string>>;
|
|
4236
|
+
|
|
4237
|
+
interface CancelUpdateAuthorityChangeParams extends BaseInstructionParams {
|
|
4238
|
+
signer: TransactionSigner;
|
|
4239
|
+
}
|
|
4240
|
+
declare function cancelUpdateAuthorityChange(input: CancelUpdateAuthorityChangeParams): Promise<CancelUpdateAuthorityChangeInstruction<string>>;
|
|
4241
|
+
|
|
4242
|
+
interface CancelFeeClaimerChangeParams extends BaseInstructionParams {
|
|
4243
|
+
signer: TransactionSigner;
|
|
4244
|
+
}
|
|
4245
|
+
declare function cancelFeeClaimerChange(input: CancelFeeClaimerChangeParams): Promise<CancelFeeClaimerChangeInstruction<string>>;
|
|
4246
|
+
|
|
3809
4247
|
declare const CENTRAL_STATE_SEED = "central_state";
|
|
3810
4248
|
declare function getCentralStateAddress(programId?: Address): Promise<ProgramDerivedAddress>;
|
|
3811
4249
|
|
|
@@ -3872,4 +4310,4 @@ declare function deriveSharedSecret(userSecretKey: Uint8Array, mxePublicKey: Uin
|
|
|
3872
4310
|
declare function createCipher(userSecretKey: Uint8Array, mxePublicKey: Uint8Array): RescueCipher;
|
|
3873
4311
|
declare function nonceToBytes(nonce: bigint): Uint8Array;
|
|
3874
4312
|
|
|
3875
|
-
export { ADD_MARKET_OPTION_DISCRIMINATOR, ADD_REWARD_DISCRIMINATOR, ALL_COMP_DEF_CIRCUITS, ARCIUM_SIGNER_ACCOUNT_DISCRIMINATOR, type Activation, type ActivationArgs, type AddMarketOptionAsyncInput, type AddMarketOptionInput, type AddMarketOptionInstruction, type AddMarketOptionInstructionData, type AddMarketOptionInstructionDataArgs, type AddMarketOptionParams, type AddRewardAsyncInput, type AddRewardInput, type AddRewardInstruction, type AddRewardInstructionData, type AddRewardInstructionDataArgs, type AddRewardParams, type ArciumSignerAccount, type ArciumSignerAccountArgs, type AwaitComputationOptions, type BN254G2BLSPublicKey, type BN254G2BLSPublicKeyArgs, type BaseInstructionParams, type ByteArray, CENTRAL_STATE_DISCRIMINATOR, CENTRAL_STATE_SEED, CLAIM_FEES_DISCRIMINATOR, CLOCK_ACCOUNT_DISCRIMINATOR, CLOSE_STAKE_ACCOUNT_DISCRIMINATOR, CLOSE_STUCK_STAKE_ACCOUNT_DISCRIMINATOR, CLUSTER_DISCRIMINATOR, COMPUTATION_DEFINITION_ACCOUNT_DISCRIMINATOR, CREATE_MARKET_DISCRIMINATOR, type CentralState, type CentralStateArgs, type CircuitSource, type CircuitSourceArgs, type ClaimFeesAsyncInput, type ClaimFeesInput, type ClaimFeesInstruction, type ClaimFeesInstructionData, type ClaimFeesInstructionDataArgs, type ClockAccount, type ClockAccountArgs, type CloseStakeAccountAsyncInput, type CloseStakeAccountInput, type CloseStakeAccountInstruction, type CloseStakeAccountInstructionData, type CloseStakeAccountInstructionDataArgs, type CloseStakeAccountParams, type CloseStuckStakeAccountAsyncInput, type CloseStuckStakeAccountInput, type CloseStuckStakeAccountInstruction, type CloseStuckStakeAccountInstructionData, type CloseStuckStakeAccountInstructionDataArgs, type CloseStuckStakeAccountParams, type Cluster, type ClusterArgs, type CompDefCircuitName, type ComputationDefinitionAccount, type ComputationDefinitionAccountArgs, type ComputationDefinitionMeta, type ComputationDefinitionMetaArgs, type ComputationResult, type ComputationSignature, type ComputationSignatureArgs, type CreateMarketAsyncInput, type CreateMarketInput, type CreateMarketInstruction, type CreateMarketInstructionData, type CreateMarketInstructionDataArgs, type CreateMarketParams, DO_UNSTAKE_EARLY_DISCRIMINATOR, type DoUnstakeEarlyAsyncInput, type DoUnstakeEarlyInput, type DoUnstakeEarlyInstruction, type DoUnstakeEarlyInstructionData, type DoUnstakeEarlyInstructionDataArgs, type DoUnstakeEarlyParams, END_REVEAL_PERIOD_DISCRIMINATOR, type EndRevealPeriodInput, type EndRevealPeriodInstruction, type EndRevealPeriodInstructionData, type EndRevealPeriodInstructionDataArgs, type EndRevealPeriodParams, type EnsureCentralStateParams, type Epoch, type EpochArgs, FEE_POOL_DISCRIMINATOR, type FeePool, type FeePoolArgs, type FeesClaimedEvent, type FeesClaimedEventArgs, INCREMENT_OPTION_TALLY_DISCRIMINATOR, INIT_CENTRAL_STATE_DISCRIMINATOR, INIT_STAKE_ACCOUNT_DISCRIMINATOR, INIT_TOKEN_VAULT_DISCRIMINATOR, type IncrementOptionTallyAsyncInput, type IncrementOptionTallyInput, type IncrementOptionTallyInstruction, type IncrementOptionTallyInstructionData, type IncrementOptionTallyInstructionDataArgs, type IncrementOptionTallyParams, type InitCentralStateAsyncInput, type InitCentralStateInput, type InitCentralStateInstruction, type InitCentralStateInstructionData, type InitCentralStateInstructionDataArgs, type InitCompDefConfig, type InitStakeAccountAsyncInput, type InitStakeAccountInput, type InitStakeAccountInstruction, type InitStakeAccountInstructionData, type InitStakeAccountInstructionDataArgs, type InitStakeAccountParams, type InitTokenVaultAsyncInput, type InitTokenVaultInput, type InitTokenVaultInstruction, type InitTokenVaultInstructionData, type InitTokenVaultInstructionDataArgs, type InitTokenVaultParams, LocalCircuitSource, type LocalCircuitSourceArgs, type MXEAccount, type MXEAccountArgs, M_X_E_ACCOUNT_DISCRIMINATOR, type MarketCreatedEvent, type MarketCreatedEventArgs, type MarketOpenedEvent, type MarketOpenedEventArgs, type MarketOptionCreatedEvent, type MarketOptionCreatedEventArgs, type MarketPausedEvent, type MarketPausedEventArgs, type MarketResumedEvent, type MarketResumedEventArgs, MxeStatus, type MxeStatusArgs, type NodeMetadata, type NodeMetadataArgs, type NodeRef, type NodeRefArgs, OPEN_MARKET_DISCRIMINATOR, OPPORTUNITY_MARKET_DISCRIMINATOR, OPPORTUNITY_MARKET_ERROR__ABORTED_COMPUTATION, OPPORTUNITY_MARKET_ERROR__ADD_OPTION_STAKE_FAILED, OPPORTUNITY_MARKET_ERROR__ALREADY_REVEALED, OPPORTUNITY_MARKET_ERROR__ALREADY_STAKED, OPPORTUNITY_MARKET_ERROR__ALREADY_UNSTAKED, OPPORTUNITY_MARKET_ERROR__CLOSING_EARLY_NOT_ALLOWED, OPPORTUNITY_MARKET_ERROR__CLUSTER_NOT_SET, OPPORTUNITY_MARKET_ERROR__DEPOSIT_BELOW_MINIMUM, OPPORTUNITY_MARKET_ERROR__EARLINESS_CUTOFF_TOO_LARGE, OPPORTUNITY_MARKET_ERROR__INSUFFICIENT_BALANCE, OPPORTUNITY_MARKET_ERROR__INSUFFICIENT_REWARD_FUNDING, OPPORTUNITY_MARKET_ERROR__INVALID_ACCOUNT_STATE, OPPORTUNITY_MARKET_ERROR__INVALID_MINT, OPPORTUNITY_MARKET_ERROR__INVALID_OPTION_ID, OPPORTUNITY_MARKET_ERROR__INVALID_TIMESTAMP, OPPORTUNITY_MARKET_ERROR__INVALID_WINNING_OPTIONS_INPUT, OPPORTUNITY_MARKET_ERROR__LOCKED, OPPORTUNITY_MARKET_ERROR__MARKET_ALREADY_OPEN, OPPORTUNITY_MARKET_ERROR__MARKET_NOT_OPEN, OPPORTUNITY_MARKET_ERROR__MARKET_NOT_PAUSED, OPPORTUNITY_MARKET_ERROR__MARKET_NOT_RESOLVED, OPPORTUNITY_MARKET_ERROR__MARKET_PAUSED, OPPORTUNITY_MARKET_ERROR__NOT_REVEALED, OPPORTUNITY_MARKET_ERROR__NO_FEES_TO_CLAIM, OPPORTUNITY_MARKET_ERROR__OVERFLOW, OPPORTUNITY_MARKET_ERROR__PROTOCOL_FEE_TOO_HIGH, OPPORTUNITY_MARKET_ERROR__REVEAL_PERIOD_ENDED, OPPORTUNITY_MARKET_ERROR__STAKE_NOT_STUCK, OPPORTUNITY_MARKET_ERROR__STAKING_NOT_ACTIVE, OPPORTUNITY_MARKET_ERROR__TALLY_ALREADY_INCREMENTED, OPPORTUNITY_MARKET_ERROR__UNAUTHORIZED, OPPORTUNITY_MARKET_ERROR__UNSTAKE_DELAY_NOT_MET, OPPORTUNITY_MARKET_ERROR__UNSTAKE_NOT_INITIATED, OPPORTUNITY_MARKET_ERROR__WINNER_ALREADY_SELECTED, OPPORTUNITY_MARKET_OPTION_DISCRIMINATOR, OPPORTUNITY_MARKET_OPTION_SEED, OPPORTUNITY_MARKET_PROGRAM_ADDRESS, OPPORTUNITY_MARKET_SEED, OPPORTUNITY_MARKET_SPONSOR_DISCRIMINATOR, type OffChainCircuitSource, type OffChainCircuitSourceArgs, type OnChainCircuitSource, type OnChainCircuitSourceArgs, type OpenMarketInput, type OpenMarketInstruction, type OpenMarketInstructionData, type OpenMarketInstructionDataArgs, type OpenMarketParams, type OpportunityMarket, OpportunityMarketAccount, type OpportunityMarketArgs, type OpportunityMarketError, OpportunityMarketInstruction, type OpportunityMarketOption, type OpportunityMarketOptionArgs, type OpportunityMarketSponsor, type OpportunityMarketSponsorArgs, Output, type OutputArgs, PAUSE_MARKET_DISCRIMINATOR, Parameter, type ParameterArgs, type ParsedAddMarketOptionInstruction, type ParsedAddRewardInstruction, type ParsedClaimFeesInstruction, type ParsedCloseStakeAccountInstruction, type ParsedCloseStuckStakeAccountInstruction, type ParsedCreateMarketInstruction, type ParsedDoUnstakeEarlyInstruction, type ParsedEndRevealPeriodInstruction, type ParsedIncrementOptionTallyInstruction, type ParsedInitCentralStateInstruction, type ParsedInitStakeAccountInstruction, type ParsedInitTokenVaultInstruction, type ParsedOpenMarketInstruction, type ParsedOpportunityMarketInstruction, type ParsedPauseMarketInstruction, type ParsedReclaimStakeInstruction, type ParsedResumeMarketInstruction, type ParsedRevealStakeCallbackInstruction, type ParsedRevealStakeCompDefInstruction, type ParsedRevealStakeInstruction, type ParsedSelectWinningOptionsInstruction, type ParsedStakeCallbackInstruction, type ParsedStakeCompDefInstruction, type ParsedStakeInstruction, type ParsedTransferCentralStateAuthorityInstruction, type ParsedUnstakeEarlyInstruction, type ParsedUpdateCentralStateInstruction, type ParsedWithdrawRewardInstruction, type PauseMarketInput, type PauseMarketInstruction, type PauseMarketInstructionData, type PauseMarketInstructionDataArgs, type PauseMarketParams, RECLAIM_STAKE_DISCRIMINATOR, RESUME_MARKET_DISCRIMINATOR, REVEAL_STAKE_CALLBACK_DISCRIMINATOR, REVEAL_STAKE_COMP_DEF_DISCRIMINATOR, REVEAL_STAKE_DISCRIMINATOR, type ReclaimStakeAsyncInput, type ReclaimStakeInput, type ReclaimStakeInstruction, type ReclaimStakeInstructionData, type ReclaimStakeInstructionDataArgs, type ReclaimStakeParams, type ResumeMarketInput, type ResumeMarketInstruction, type ResumeMarketInstructionData, type ResumeMarketInstructionDataArgs, type ResumeMarketParams, type RevealPeriodEndedEvent, type RevealPeriodEndedEventArgs, type RevealStakeAsyncInput, type RevealStakeCallbackInput, type RevealStakeCallbackInstruction, type RevealStakeCallbackInstructionData, type RevealStakeCallbackInstructionDataArgs, type RevealStakeCompDefInput, type RevealStakeCompDefInstruction, type RevealStakeCompDefInstructionData, type RevealStakeCompDefInstructionDataArgs, type RevealStakeInput, type RevealStakeInstruction, type RevealStakeInstructionData, type RevealStakeInstructionDataArgs, type RevealStakeOutput, type RevealStakeOutputArgs, type RevealStakeParams, type RewardAddedEvent, type RewardAddedEventArgs, type RewardClaimedEvent, type RewardClaimedEventArgs, type RewardWithdrawnEvent, type RewardWithdrawnEventArgs, SELECT_WINNING_OPTIONS_DISCRIMINATOR, SPONSOR_SEED, STAKE_ACCOUNT_DISCRIMINATOR, STAKE_ACCOUNT_SEED, STAKE_CALLBACK_DISCRIMINATOR, STAKE_COMP_DEF_DISCRIMINATOR, STAKE_DISCRIMINATOR, type SelectWinningOptionsInput, type SelectWinningOptionsInstruction, type SelectWinningOptionsInstructionData, type SelectWinningOptionsInstructionDataArgs, type SelectWinningOptionsParams, type StakeAccount, type StakeAccountArgs, type StakeAccountInitializedEvent, type StakeAccountInitializedEventArgs, type StakeAsyncInput, type StakeCallbackInput, type StakeCallbackInstruction, type StakeCallbackInstructionData, type StakeCallbackInstructionDataArgs, type StakeCompDefInput, type StakeCompDefInstruction, type StakeCompDefInstructionData, type StakeCompDefInstructionDataArgs, type StakeInput, type StakeInstruction, type StakeInstructionData, type StakeInstructionDataArgs, type StakeOutput, type StakeOutputArgs, type StakeOutputStruct0, type StakeOutputStruct0Args, type StakeParams, type StakeReclaimedEvent, type StakeReclaimedEventArgs, type StakeRevealedEvent, type StakeRevealedEventArgs, type StakedEvent, type StakedEventArgs, type StuckStakeClosedEvent, type StuckStakeClosedEventArgs, TOKEN_VAULT_DISCRIMINATOR, TOKEN_VAULT_SEED, TRANSFER_CENTRAL_STATE_AUTHORITY_DISCRIMINATOR, type TallyIncrementedEvent, type TallyIncrementedEventArgs, type Timestamp, type TimestampArgs, type TokenVault, type TokenVaultArgs, type TransferCentralStateAuthorityAsyncInput, type TransferCentralStateAuthorityInput, type TransferCentralStateAuthorityInstruction, type TransferCentralStateAuthorityInstructionData, type TransferCentralStateAuthorityInstructionDataArgs, UNSTAKE_EARLY_DISCRIMINATOR, UPDATE_CENTRAL_STATE_DISCRIMINATOR, type UnstakeEarlyAsyncInput, type UnstakeEarlyInput, type UnstakeEarlyInstruction, type UnstakeEarlyInstructionData, type UnstakeEarlyInstructionDataArgs, type UnstakeEarlyParams, type UnstakeInitiatedEvent, type UnstakeInitiatedEventArgs, type UnstakedEvent, type UnstakedEventArgs, type UpdateCentralStateAsyncInput, type UpdateCentralStateInput, type UpdateCentralStateInstruction, type UpdateCentralStateInstructionData, type UpdateCentralStateInstructionDataArgs, type UtilityPubkeys, type UtilityPubkeysArgs, WITHDRAW_REWARD_DISCRIMINATOR, type WinningOption, type WinningOptionArgs, type WinningOptionsSelectedEvent, type WinningOptionsSelectedEventArgs, type WithdrawRewardAsyncInput, type WithdrawRewardInput, type WithdrawRewardInstruction, type WithdrawRewardInstructionData, type WithdrawRewardInstructionDataArgs, type WithdrawRewardParams, type X25519Keypair, addMarketOption, addReward, awaitBatchComputationFinalization, awaitComputationFinalization, circuitSource, closeStakeAccount, closeStuckStakeAccount, createCipher, createMarket, decodeArciumSignerAccount, decodeCentralState, decodeClockAccount, decodeCluster, decodeComputationDefinitionAccount, decodeFeePool, decodeMXEAccount, decodeOpportunityMarket, decodeOpportunityMarketOption, decodeOpportunityMarketSponsor, decodeStakeAccount, decodeTokenVault, deriveSharedSecret, deriveX25519KeypairFromSignature, doUnstakeEarly, endRevealPeriod, ensureCentralState, fetchAllArciumSignerAccount, fetchAllCentralState, fetchAllClockAccount, fetchAllCluster, fetchAllComputationDefinitionAccount, fetchAllFeePool, fetchAllMXEAccount, fetchAllMaybeArciumSignerAccount, fetchAllMaybeCentralState, fetchAllMaybeClockAccount, fetchAllMaybeCluster, fetchAllMaybeComputationDefinitionAccount, fetchAllMaybeFeePool, fetchAllMaybeMXEAccount, fetchAllMaybeOpportunityMarket, fetchAllMaybeOpportunityMarketOption, fetchAllMaybeOpportunityMarketSponsor, fetchAllMaybeStakeAccount, fetchAllMaybeTokenVault, fetchAllOpportunityMarket, fetchAllOpportunityMarketOption, fetchAllOpportunityMarketSponsor, fetchAllStakeAccount, fetchAllTokenVault, fetchArciumSignerAccount, fetchCentralState, fetchClockAccount, fetchCluster, fetchComputationDefinitionAccount, fetchFeePool, fetchMXEAccount, fetchMaybeArciumSignerAccount, fetchMaybeCentralState, fetchMaybeClockAccount, fetchMaybeCluster, fetchMaybeComputationDefinitionAccount, fetchMaybeFeePool, fetchMaybeMXEAccount, fetchMaybeOpportunityMarket, fetchMaybeOpportunityMarketOption, fetchMaybeOpportunityMarketSponsor, fetchMaybeStakeAccount, fetchMaybeTokenVault, fetchOpportunityMarket, fetchOpportunityMarketOption, fetchOpportunityMarketSponsor, fetchStakeAccount, fetchTokenVault, generateX25519Keypair, getActivationCodec, getActivationDecoder, getActivationEncoder, getAddMarketOptionDiscriminatorBytes, getAddMarketOptionInstruction, getAddMarketOptionInstructionAsync, getAddMarketOptionInstructionDataCodec, getAddMarketOptionInstructionDataDecoder, getAddMarketOptionInstructionDataEncoder, getAddRewardDiscriminatorBytes, getAddRewardInstruction, getAddRewardInstructionAsync, getAddRewardInstructionDataCodec, getAddRewardInstructionDataDecoder, getAddRewardInstructionDataEncoder, getArciumSignerAccountCodec, getArciumSignerAccountDecoder, getArciumSignerAccountDiscriminatorBytes, getArciumSignerAccountEncoder, getBN254G2BLSPublicKeyCodec, getBN254G2BLSPublicKeyDecoder, getBN254G2BLSPublicKeyEncoder, getCentralStateAddress, getCentralStateCodec, getCentralStateDecoder, getCentralStateDiscriminatorBytes, getCentralStateEncoder, getCircuitSourceCodec, getCircuitSourceDecoder, getCircuitSourceEncoder, getClaimFeesDiscriminatorBytes, getClaimFeesInstruction, getClaimFeesInstructionAsync, getClaimFeesInstructionDataCodec, getClaimFeesInstructionDataDecoder, getClaimFeesInstructionDataEncoder, getClockAccountCodec, getClockAccountDecoder, getClockAccountDiscriminatorBytes, getClockAccountEncoder, getCloseStakeAccountDiscriminatorBytes, getCloseStakeAccountInstruction, getCloseStakeAccountInstructionAsync, getCloseStakeAccountInstructionDataCodec, getCloseStakeAccountInstructionDataDecoder, getCloseStakeAccountInstructionDataEncoder, getCloseStuckStakeAccountDiscriminatorBytes, getCloseStuckStakeAccountInstruction, getCloseStuckStakeAccountInstructionAsync, getCloseStuckStakeAccountInstructionDataCodec, getCloseStuckStakeAccountInstructionDataDecoder, getCloseStuckStakeAccountInstructionDataEncoder, getClusterCodec, getClusterDecoder, getClusterDiscriminatorBytes, getClusterEncoder, getCompDefAccount, getCompDefOffsetNumber, getComputationDefinitionAccountCodec, getComputationDefinitionAccountDecoder, getComputationDefinitionAccountDiscriminatorBytes, getComputationDefinitionAccountEncoder, getComputationDefinitionMetaCodec, getComputationDefinitionMetaDecoder, getComputationDefinitionMetaEncoder, getComputationSignatureCodec, getComputationSignatureDecoder, getComputationSignatureEncoder, getCreateMarketDiscriminatorBytes, getCreateMarketInstruction, getCreateMarketInstructionAsync, getCreateMarketInstructionDataCodec, getCreateMarketInstructionDataDecoder, getCreateMarketInstructionDataEncoder, getDoUnstakeEarlyDiscriminatorBytes, getDoUnstakeEarlyInstruction, getDoUnstakeEarlyInstructionAsync, getDoUnstakeEarlyInstructionDataCodec, getDoUnstakeEarlyInstructionDataDecoder, getDoUnstakeEarlyInstructionDataEncoder, getEndRevealPeriodDiscriminatorBytes, getEndRevealPeriodInstruction, getEndRevealPeriodInstructionDataCodec, getEndRevealPeriodInstructionDataDecoder, getEndRevealPeriodInstructionDataEncoder, getEpochCodec, getEpochDecoder, getEpochEncoder, getFeePoolCodec, getFeePoolDecoder, getFeePoolDiscriminatorBytes, getFeePoolEncoder, getFeesClaimedEventCodec, getFeesClaimedEventDecoder, getFeesClaimedEventEncoder, getIncrementOptionTallyDiscriminatorBytes, getIncrementOptionTallyInstruction, getIncrementOptionTallyInstructionAsync, getIncrementOptionTallyInstructionDataCodec, getIncrementOptionTallyInstructionDataDecoder, getIncrementOptionTallyInstructionDataEncoder, getInitCentralStateDiscriminatorBytes, getInitCentralStateInstruction, getInitCentralStateInstructionAsync, getInitCentralStateInstructionDataCodec, getInitCentralStateInstructionDataDecoder, getInitCentralStateInstructionDataEncoder, getInitCompDefInstruction, getInitStakeAccountDiscriminatorBytes, getInitStakeAccountInstruction, getInitStakeAccountInstructionAsync, getInitStakeAccountInstructionDataCodec, getInitStakeAccountInstructionDataDecoder, getInitStakeAccountInstructionDataEncoder, getInitTokenVaultDiscriminatorBytes, getInitTokenVaultInstruction, getInitTokenVaultInstructionAsync, getInitTokenVaultInstructionDataCodec, getInitTokenVaultInstructionDataDecoder, getInitTokenVaultInstructionDataEncoder, getLocalCircuitSourceCodec, getLocalCircuitSourceDecoder, getLocalCircuitSourceEncoder, getMXEAccountCodec, getMXEAccountDecoder, getMXEAccountDiscriminatorBytes, getMXEAccountEncoder, getMarketCreatedEventCodec, getMarketCreatedEventDecoder, getMarketCreatedEventEncoder, getMarketOpenedEventCodec, getMarketOpenedEventDecoder, getMarketOpenedEventEncoder, getMarketOptionCreatedEventCodec, getMarketOptionCreatedEventDecoder, getMarketOptionCreatedEventEncoder, getMarketPausedEventCodec, getMarketPausedEventDecoder, getMarketPausedEventEncoder, getMarketResumedEventCodec, getMarketResumedEventDecoder, getMarketResumedEventEncoder, getMxeAccount, getMxeStatusCodec, getMxeStatusDecoder, getMxeStatusEncoder, getNodeMetadataCodec, getNodeMetadataDecoder, getNodeMetadataEncoder, getNodeRefCodec, getNodeRefDecoder, getNodeRefEncoder, getOffChainCircuitSourceCodec, getOffChainCircuitSourceDecoder, getOffChainCircuitSourceEncoder, getOnChainCircuitSourceCodec, getOnChainCircuitSourceDecoder, getOnChainCircuitSourceEncoder, getOpenMarketDiscriminatorBytes, getOpenMarketInstruction, getOpenMarketInstructionDataCodec, getOpenMarketInstructionDataDecoder, getOpenMarketInstructionDataEncoder, getOpportunityMarketAddress, getOpportunityMarketCodec, getOpportunityMarketDecoder, getOpportunityMarketDiscriminatorBytes, getOpportunityMarketEncoder, getOpportunityMarketErrorMessage, getOpportunityMarketOptionAddress, getOpportunityMarketOptionCodec, getOpportunityMarketOptionDecoder, getOpportunityMarketOptionDiscriminatorBytes, getOpportunityMarketOptionEncoder, getOpportunityMarketSponsorAddress, getOpportunityMarketSponsorCodec, getOpportunityMarketSponsorDecoder, getOpportunityMarketSponsorDiscriminatorBytes, getOpportunityMarketSponsorEncoder, getOutputCodec, getOutputDecoder, getOutputEncoder, getParameterCodec, getParameterDecoder, getParameterEncoder, getPauseMarketDiscriminatorBytes, getPauseMarketInstruction, getPauseMarketInstructionDataCodec, getPauseMarketInstructionDataDecoder, getPauseMarketInstructionDataEncoder, getReclaimStakeDiscriminatorBytes, getReclaimStakeInstruction, getReclaimStakeInstructionAsync, getReclaimStakeInstructionDataCodec, getReclaimStakeInstructionDataDecoder, getReclaimStakeInstructionDataEncoder, getResumeMarketDiscriminatorBytes, getResumeMarketInstruction, getResumeMarketInstructionDataCodec, getResumeMarketInstructionDataDecoder, getResumeMarketInstructionDataEncoder, getRevealPeriodEndedEventCodec, getRevealPeriodEndedEventDecoder, getRevealPeriodEndedEventEncoder, getRevealStakeCallbackDiscriminatorBytes, getRevealStakeCallbackInstruction, getRevealStakeCallbackInstructionDataCodec, getRevealStakeCallbackInstructionDataDecoder, getRevealStakeCallbackInstructionDataEncoder, getRevealStakeCompDefDiscriminatorBytes, getRevealStakeCompDefInstruction, getRevealStakeCompDefInstructionDataCodec, getRevealStakeCompDefInstructionDataDecoder, getRevealStakeCompDefInstructionDataEncoder, getRevealStakeDiscriminatorBytes, getRevealStakeInstruction, getRevealStakeInstructionAsync, getRevealStakeInstructionDataCodec, getRevealStakeInstructionDataDecoder, getRevealStakeInstructionDataEncoder, getRevealStakeOutputCodec, getRevealStakeOutputDecoder, getRevealStakeOutputEncoder, getRewardAddedEventCodec, getRewardAddedEventDecoder, getRewardAddedEventEncoder, getRewardClaimedEventCodec, getRewardClaimedEventDecoder, getRewardClaimedEventEncoder, getRewardWithdrawnEventCodec, getRewardWithdrawnEventDecoder, getRewardWithdrawnEventEncoder, getSelectWinningOptionsDiscriminatorBytes, getSelectWinningOptionsInstruction, getSelectWinningOptionsInstructionDataCodec, getSelectWinningOptionsInstructionDataDecoder, getSelectWinningOptionsInstructionDataEncoder, getStakeAccountAddress, getStakeAccountCodec, getStakeAccountDecoder, getStakeAccountDiscriminatorBytes, getStakeAccountEncoder, getStakeAccountInitializedEventCodec, getStakeAccountInitializedEventDecoder, getStakeAccountInitializedEventEncoder, getStakeCallbackDiscriminatorBytes, getStakeCallbackInstruction, getStakeCallbackInstructionDataCodec, getStakeCallbackInstructionDataDecoder, getStakeCallbackInstructionDataEncoder, getStakeCompDefDiscriminatorBytes, getStakeCompDefInstruction, getStakeCompDefInstructionDataCodec, getStakeCompDefInstructionDataDecoder, getStakeCompDefInstructionDataEncoder, getStakeDiscriminatorBytes, getStakeInstruction, getStakeInstructionAsync, getStakeInstructionDataCodec, getStakeInstructionDataDecoder, getStakeInstructionDataEncoder, getStakeOutputCodec, getStakeOutputDecoder, getStakeOutputEncoder, getStakeOutputStruct0Codec, getStakeOutputStruct0Decoder, getStakeOutputStruct0Encoder, getStakeReclaimedEventCodec, getStakeReclaimedEventDecoder, getStakeReclaimedEventEncoder, getStakeRevealedEventCodec, getStakeRevealedEventDecoder, getStakeRevealedEventEncoder, getStakedEventCodec, getStakedEventDecoder, getStakedEventEncoder, getStuckStakeClosedEventCodec, getStuckStakeClosedEventDecoder, getStuckStakeClosedEventEncoder, getTallyIncrementedEventCodec, getTallyIncrementedEventDecoder, getTallyIncrementedEventEncoder, getTimestampCodec, getTimestampDecoder, getTimestampEncoder, getTokenVaultAddress, getTokenVaultCodec, getTokenVaultDecoder, getTokenVaultDiscriminatorBytes, getTokenVaultEncoder, getTransferCentralStateAuthorityDiscriminatorBytes, getTransferCentralStateAuthorityInstruction, getTransferCentralStateAuthorityInstructionAsync, getTransferCentralStateAuthorityInstructionDataCodec, getTransferCentralStateAuthorityInstructionDataDecoder, getTransferCentralStateAuthorityInstructionDataEncoder, getUnstakeEarlyDiscriminatorBytes, getUnstakeEarlyInstruction, getUnstakeEarlyInstructionAsync, getUnstakeEarlyInstructionDataCodec, getUnstakeEarlyInstructionDataDecoder, getUnstakeEarlyInstructionDataEncoder, getUnstakeInitiatedEventCodec, getUnstakeInitiatedEventDecoder, getUnstakeInitiatedEventEncoder, getUnstakedEventCodec, getUnstakedEventDecoder, getUnstakedEventEncoder, getUpdateCentralStateDiscriminatorBytes, getUpdateCentralStateInstruction, getUpdateCentralStateInstructionAsync, getUpdateCentralStateInstructionDataCodec, getUpdateCentralStateInstructionDataDecoder, getUpdateCentralStateInstructionDataEncoder, getUtilityPubkeysCodec, getUtilityPubkeysDecoder, getUtilityPubkeysEncoder, getWinningOptionCodec, getWinningOptionDecoder, getWinningOptionEncoder, getWinningOptionsSelectedEventCodec, getWinningOptionsSelectedEventDecoder, getWinningOptionsSelectedEventEncoder, getWithdrawRewardDiscriminatorBytes, getWithdrawRewardInstruction, getWithdrawRewardInstructionAsync, getWithdrawRewardInstructionDataCodec, getWithdrawRewardInstructionDataDecoder, getWithdrawRewardInstructionDataEncoder, identifyOpportunityMarketAccount, identifyOpportunityMarketInstruction, incrementOptionTally, initStakeAccount, initTokenVault, isCircuitSource, isOpportunityMarketError, nonceToBytes, openMarket, parseAddMarketOptionInstruction, parseAddRewardInstruction, parseClaimFeesInstruction, parseCloseStakeAccountInstruction, parseCloseStuckStakeAccountInstruction, parseCreateMarketInstruction, parseDoUnstakeEarlyInstruction, parseEndRevealPeriodInstruction, parseIncrementOptionTallyInstruction, parseInitCentralStateInstruction, parseInitStakeAccountInstruction, parseInitTokenVaultInstruction, parseOpenMarketInstruction, parsePauseMarketInstruction, parseReclaimStakeInstruction, parseResumeMarketInstruction, parseRevealStakeCallbackInstruction, parseRevealStakeCompDefInstruction, parseRevealStakeInstruction, parseSelectWinningOptionsInstruction, parseStakeCallbackInstruction, parseStakeCompDefInstruction, parseStakeInstruction, parseTransferCentralStateAuthorityInstruction, parseUnstakeEarlyInstruction, parseUpdateCentralStateInstruction, parseWithdrawRewardInstruction, pauseMarket, randomComputationOffset, randomStateNonce, reclaimStake, resumeMarket, revealStake, selectWinningOptions, stake, toNumberArray, unstakeEarly, withdrawReward };
|
|
4313
|
+
export { ADD_MARKET_OPTION_DISCRIMINATOR, ADD_REWARD_DISCRIMINATOR, ALL_COMP_DEF_CIRCUITS, ARCIUM_SIGNER_ACCOUNT_DISCRIMINATOR, type AccountChangeCancelledEvent, type AccountChangeCancelledEventArgs, type AccountChangeFinalizedEvent, type AccountChangeFinalizedEventArgs, type AccountChangeProposedEvent, type AccountChangeProposedEventArgs, type Activation, type ActivationArgs, type AddMarketOptionAsyncInput, type AddMarketOptionInput, type AddMarketOptionInstruction, type AddMarketOptionInstructionData, type AddMarketOptionInstructionDataArgs, type AddMarketOptionParams, type AddRewardAsyncInput, type AddRewardInput, type AddRewardInstruction, type AddRewardInstructionData, type AddRewardInstructionDataArgs, type AddRewardParams, type ArciumSignerAccount, type ArciumSignerAccountArgs, type AwaitComputationOptions, type BN254G2BLSPublicKey, type BN254G2BLSPublicKeyArgs, type BaseInstructionParams, type ByteArray, CANCEL_FEE_CLAIMER_CHANGE_DISCRIMINATOR, CANCEL_UPDATE_AUTHORITY_CHANGE_DISCRIMINATOR, CENTRAL_STATE_DISCRIMINATOR, CENTRAL_STATE_SEED, CLAIM_FEES_DISCRIMINATOR, CLOCK_ACCOUNT_DISCRIMINATOR, CLOSE_STAKE_ACCOUNT_DISCRIMINATOR, CLOSE_STUCK_STAKE_ACCOUNT_DISCRIMINATOR, CLUSTER_DISCRIMINATOR, COMPUTATION_DEFINITION_ACCOUNT_DISCRIMINATOR, CREATE_MARKET_DISCRIMINATOR, type CancelFeeClaimerChangeAsyncInput, type CancelFeeClaimerChangeInput, type CancelFeeClaimerChangeInstruction, type CancelFeeClaimerChangeInstructionData, type CancelFeeClaimerChangeInstructionDataArgs, type CancelFeeClaimerChangeParams, type CancelUpdateAuthorityChangeAsyncInput, type CancelUpdateAuthorityChangeInput, type CancelUpdateAuthorityChangeInstruction, type CancelUpdateAuthorityChangeInstructionData, type CancelUpdateAuthorityChangeInstructionDataArgs, type CancelUpdateAuthorityChangeParams, type CentralState, type CentralStateArgs, type CircuitSource, type CircuitSourceArgs, type ClaimFeesAsyncInput, type ClaimFeesInput, type ClaimFeesInstruction, type ClaimFeesInstructionData, type ClaimFeesInstructionDataArgs, type ClockAccount, type ClockAccountArgs, type CloseStakeAccountAsyncInput, type CloseStakeAccountInput, type CloseStakeAccountInstruction, type CloseStakeAccountInstructionData, type CloseStakeAccountInstructionDataArgs, type CloseStakeAccountParams, type CloseStuckStakeAccountAsyncInput, type CloseStuckStakeAccountInput, type CloseStuckStakeAccountInstruction, type CloseStuckStakeAccountInstructionData, type CloseStuckStakeAccountInstructionDataArgs, type CloseStuckStakeAccountParams, type Cluster, type ClusterArgs, type CompDefCircuitName, type ComputationDefinitionAccount, type ComputationDefinitionAccountArgs, type ComputationDefinitionMeta, type ComputationDefinitionMetaArgs, type ComputationResult, type ComputationSignature, type ComputationSignatureArgs, type CreateMarketAsyncInput, type CreateMarketInput, type CreateMarketInstruction, type CreateMarketInstructionData, type CreateMarketInstructionDataArgs, type CreateMarketParams, DO_UNSTAKE_EARLY_DISCRIMINATOR, type DoUnstakeEarlyAsyncInput, type DoUnstakeEarlyInput, type DoUnstakeEarlyInstruction, type DoUnstakeEarlyInstructionData, type DoUnstakeEarlyInstructionDataArgs, type DoUnstakeEarlyParams, END_REVEAL_PERIOD_DISCRIMINATOR, type EndRevealPeriodInput, type EndRevealPeriodInstruction, type EndRevealPeriodInstructionData, type EndRevealPeriodInstructionDataArgs, type EndRevealPeriodParams, type EnsureCentralStateParams, type Epoch, type EpochArgs, FEE_POOL_DISCRIMINATOR, FINALIZE_NEW_FEE_CLAIMER_DISCRIMINATOR, FINALIZE_NEW_UPDATE_AUTHORITY_DISCRIMINATOR, type FeePool, type FeePoolArgs, type FeesClaimedEvent, type FeesClaimedEventArgs, type FinalizeNewFeeClaimerAsyncInput, type FinalizeNewFeeClaimerInput, type FinalizeNewFeeClaimerInstruction, type FinalizeNewFeeClaimerInstructionData, type FinalizeNewFeeClaimerInstructionDataArgs, type FinalizeNewFeeClaimerParams, type FinalizeNewUpdateAuthorityAsyncInput, type FinalizeNewUpdateAuthorityInput, type FinalizeNewUpdateAuthorityInstruction, type FinalizeNewUpdateAuthorityInstructionData, type FinalizeNewUpdateAuthorityInstructionDataArgs, type FinalizeNewUpdateAuthorityParams, INCREMENT_OPTION_TALLY_DISCRIMINATOR, INIT_CENTRAL_STATE_DISCRIMINATOR, INIT_STAKE_ACCOUNT_DISCRIMINATOR, INIT_TOKEN_VAULT_DISCRIMINATOR, type IncrementOptionTallyAsyncInput, type IncrementOptionTallyInput, type IncrementOptionTallyInstruction, type IncrementOptionTallyInstructionData, type IncrementOptionTallyInstructionDataArgs, type IncrementOptionTallyParams, type InitCentralStateAsyncInput, type InitCentralStateInput, type InitCentralStateInstruction, type InitCentralStateInstructionData, type InitCentralStateInstructionDataArgs, type InitCompDefConfig, type InitStakeAccountAsyncInput, type InitStakeAccountInput, type InitStakeAccountInstruction, type InitStakeAccountInstructionData, type InitStakeAccountInstructionDataArgs, type InitStakeAccountParams, type InitTokenVaultAsyncInput, type InitTokenVaultInput, type InitTokenVaultInstruction, type InitTokenVaultInstructionData, type InitTokenVaultInstructionDataArgs, type InitTokenVaultParams, LocalCircuitSource, type LocalCircuitSourceArgs, type MXEAccount, type MXEAccountArgs, M_X_E_ACCOUNT_DISCRIMINATOR, type MarketCreatedEvent, type MarketCreatedEventArgs, type MarketOpenedEvent, type MarketOpenedEventArgs, type MarketOptionCreatedEvent, type MarketOptionCreatedEventArgs, type MarketPausedEvent, type MarketPausedEventArgs, type MarketResumedEvent, type MarketResumedEventArgs, MxeStatus, type MxeStatusArgs, type NodeMetadata, type NodeMetadataArgs, type NodeRef, type NodeRefArgs, OPEN_MARKET_DISCRIMINATOR, OPPORTUNITY_MARKET_DISCRIMINATOR, OPPORTUNITY_MARKET_ERROR__ABORTED_COMPUTATION, OPPORTUNITY_MARKET_ERROR__ADD_OPTION_STAKE_FAILED, OPPORTUNITY_MARKET_ERROR__ALREADY_REVEALED, OPPORTUNITY_MARKET_ERROR__ALREADY_STAKED, OPPORTUNITY_MARKET_ERROR__ALREADY_UNSTAKED, OPPORTUNITY_MARKET_ERROR__CLOSING_EARLY_NOT_ALLOWED, OPPORTUNITY_MARKET_ERROR__CLUSTER_NOT_SET, OPPORTUNITY_MARKET_ERROR__DEPOSIT_BELOW_MINIMUM, OPPORTUNITY_MARKET_ERROR__EARLINESS_CUTOFF_TOO_LARGE, OPPORTUNITY_MARKET_ERROR__INSUFFICIENT_BALANCE, OPPORTUNITY_MARKET_ERROR__INSUFFICIENT_REWARD_FUNDING, OPPORTUNITY_MARKET_ERROR__INVALID_ACCOUNT_STATE, OPPORTUNITY_MARKET_ERROR__INVALID_MINT, OPPORTUNITY_MARKET_ERROR__INVALID_OPTION_ID, OPPORTUNITY_MARKET_ERROR__INVALID_TIMESTAMP, OPPORTUNITY_MARKET_ERROR__INVALID_WINNING_OPTIONS_INPUT, OPPORTUNITY_MARKET_ERROR__LOCKED, OPPORTUNITY_MARKET_ERROR__MARKET_ALREADY_OPEN, OPPORTUNITY_MARKET_ERROR__MARKET_NOT_OPEN, OPPORTUNITY_MARKET_ERROR__MARKET_NOT_PAUSED, OPPORTUNITY_MARKET_ERROR__MARKET_NOT_RESOLVED, OPPORTUNITY_MARKET_ERROR__MARKET_PAUSED, OPPORTUNITY_MARKET_ERROR__NOT_REVEALED, OPPORTUNITY_MARKET_ERROR__NO_FEES_TO_CLAIM, OPPORTUNITY_MARKET_ERROR__OVERFLOW, OPPORTUNITY_MARKET_ERROR__PROTOCOL_FEE_TOO_HIGH, OPPORTUNITY_MARKET_ERROR__REVEAL_PERIOD_ENDED, OPPORTUNITY_MARKET_ERROR__STAKE_NOT_STUCK, OPPORTUNITY_MARKET_ERROR__STAKING_NOT_ACTIVE, OPPORTUNITY_MARKET_ERROR__TALLY_ALREADY_INCREMENTED, OPPORTUNITY_MARKET_ERROR__TIMELOCK_NOT_ELAPSED, OPPORTUNITY_MARKET_ERROR__UNAUTHORIZED, OPPORTUNITY_MARKET_ERROR__UNSTAKE_DELAY_NOT_MET, OPPORTUNITY_MARKET_ERROR__UNSTAKE_NOT_INITIATED, OPPORTUNITY_MARKET_ERROR__WINNER_ALREADY_SELECTED, OPPORTUNITY_MARKET_OPTION_DISCRIMINATOR, OPPORTUNITY_MARKET_OPTION_SEED, OPPORTUNITY_MARKET_PROGRAM_ADDRESS, OPPORTUNITY_MARKET_SEED, OPPORTUNITY_MARKET_SPONSOR_DISCRIMINATOR, type OffChainCircuitSource, type OffChainCircuitSourceArgs, type OnChainCircuitSource, type OnChainCircuitSourceArgs, type OpenMarketInput, type OpenMarketInstruction, type OpenMarketInstructionData, type OpenMarketInstructionDataArgs, type OpenMarketParams, type OpportunityMarket, OpportunityMarketAccount, type OpportunityMarketArgs, type OpportunityMarketError, OpportunityMarketInstruction, type OpportunityMarketOption, type OpportunityMarketOptionArgs, type OpportunityMarketSponsor, type OpportunityMarketSponsorArgs, Output, type OutputArgs, PAUSE_MARKET_DISCRIMINATOR, PROPOSE_NEW_FEE_CLAIMER_DISCRIMINATOR, PROPOSE_NEW_UPDATE_AUTHORITY_DISCRIMINATOR, Parameter, type ParameterArgs, type ParsedAddMarketOptionInstruction, type ParsedAddRewardInstruction, type ParsedCancelFeeClaimerChangeInstruction, type ParsedCancelUpdateAuthorityChangeInstruction, type ParsedClaimFeesInstruction, type ParsedCloseStakeAccountInstruction, type ParsedCloseStuckStakeAccountInstruction, type ParsedCreateMarketInstruction, type ParsedDoUnstakeEarlyInstruction, type ParsedEndRevealPeriodInstruction, type ParsedFinalizeNewFeeClaimerInstruction, type ParsedFinalizeNewUpdateAuthorityInstruction, type ParsedIncrementOptionTallyInstruction, type ParsedInitCentralStateInstruction, type ParsedInitStakeAccountInstruction, type ParsedInitTokenVaultInstruction, type ParsedOpenMarketInstruction, type ParsedOpportunityMarketInstruction, type ParsedPauseMarketInstruction, type ParsedProposeNewFeeClaimerInstruction, type ParsedProposeNewUpdateAuthorityInstruction, type ParsedReclaimStakeInstruction, type ParsedResumeMarketInstruction, type ParsedRevealStakeCallbackInstruction, type ParsedRevealStakeCompDefInstruction, type ParsedRevealStakeInstruction, type ParsedSelectWinningOptionsInstruction, type ParsedStakeCallbackInstruction, type ParsedStakeCompDefInstruction, type ParsedStakeInstruction, type ParsedUnstakeEarlyInstruction, type ParsedUpdateCentralStateInstruction, type ParsedWithdrawRewardInstruction, type PauseMarketInput, type PauseMarketInstruction, type PauseMarketInstructionData, type PauseMarketInstructionDataArgs, type PauseMarketParams, type ProposeNewFeeClaimerAsyncInput, type ProposeNewFeeClaimerInput, type ProposeNewFeeClaimerInstruction, type ProposeNewFeeClaimerInstructionData, type ProposeNewFeeClaimerInstructionDataArgs, type ProposeNewFeeClaimerParams, type ProposeNewUpdateAuthorityAsyncInput, type ProposeNewUpdateAuthorityInput, type ProposeNewUpdateAuthorityInstruction, type ProposeNewUpdateAuthorityInstructionData, type ProposeNewUpdateAuthorityInstructionDataArgs, type ProposeNewUpdateAuthorityParams, RECLAIM_STAKE_DISCRIMINATOR, RESUME_MARKET_DISCRIMINATOR, REVEAL_STAKE_CALLBACK_DISCRIMINATOR, REVEAL_STAKE_COMP_DEF_DISCRIMINATOR, REVEAL_STAKE_DISCRIMINATOR, type ReclaimStakeAsyncInput, type ReclaimStakeInput, type ReclaimStakeInstruction, type ReclaimStakeInstructionData, type ReclaimStakeInstructionDataArgs, type ReclaimStakeParams, type ResumeMarketInput, type ResumeMarketInstruction, type ResumeMarketInstructionData, type ResumeMarketInstructionDataArgs, type ResumeMarketParams, type RevealPeriodEndedEvent, type RevealPeriodEndedEventArgs, type RevealStakeAsyncInput, type RevealStakeCallbackInput, type RevealStakeCallbackInstruction, type RevealStakeCallbackInstructionData, type RevealStakeCallbackInstructionDataArgs, type RevealStakeCompDefInput, type RevealStakeCompDefInstruction, type RevealStakeCompDefInstructionData, type RevealStakeCompDefInstructionDataArgs, type RevealStakeInput, type RevealStakeInstruction, type RevealStakeInstructionData, type RevealStakeInstructionDataArgs, type RevealStakeOutput, type RevealStakeOutputArgs, type RevealStakeParams, type RewardAddedEvent, type RewardAddedEventArgs, type RewardClaimedEvent, type RewardClaimedEventArgs, type RewardWithdrawnEvent, type RewardWithdrawnEventArgs, SELECT_WINNING_OPTIONS_DISCRIMINATOR, SPONSOR_SEED, STAKE_ACCOUNT_DISCRIMINATOR, STAKE_ACCOUNT_SEED, STAKE_CALLBACK_DISCRIMINATOR, STAKE_COMP_DEF_DISCRIMINATOR, STAKE_DISCRIMINATOR, type SelectWinningOptionsInput, type SelectWinningOptionsInstruction, type SelectWinningOptionsInstructionData, type SelectWinningOptionsInstructionDataArgs, type SelectWinningOptionsParams, type StakeAccount, type StakeAccountArgs, type StakeAccountInitializedEvent, type StakeAccountInitializedEventArgs, type StakeAsyncInput, type StakeCallbackInput, type StakeCallbackInstruction, type StakeCallbackInstructionData, type StakeCallbackInstructionDataArgs, type StakeCompDefInput, type StakeCompDefInstruction, type StakeCompDefInstructionData, type StakeCompDefInstructionDataArgs, type StakeInput, type StakeInstruction, type StakeInstructionData, type StakeInstructionDataArgs, type StakeOutput, type StakeOutputArgs, type StakeOutputStruct0, type StakeOutputStruct0Args, type StakeParams, type StakeReclaimedEvent, type StakeReclaimedEventArgs, type StakeRevealedEvent, type StakeRevealedEventArgs, type StakedEvent, type StakedEventArgs, type StuckStakeClosedEvent, type StuckStakeClosedEventArgs, TIMELOCKED_ACCOUNT_CHANGE_DISCRIMINATOR, TOKEN_VAULT_DISCRIMINATOR, TOKEN_VAULT_SEED, type TallyIncrementedEvent, type TallyIncrementedEventArgs, type TimelockedAccountChange, type TimelockedAccountChangeArgs, type Timestamp, type TimestampArgs, type TokenVault, type TokenVaultArgs, UNSTAKE_EARLY_DISCRIMINATOR, UPDATE_CENTRAL_STATE_DISCRIMINATOR, type UnstakeEarlyAsyncInput, type UnstakeEarlyInput, type UnstakeEarlyInstruction, type UnstakeEarlyInstructionData, type UnstakeEarlyInstructionDataArgs, type UnstakeEarlyParams, type UnstakeInitiatedEvent, type UnstakeInitiatedEventArgs, type UnstakedEvent, type UnstakedEventArgs, type UpdateCentralStateAsyncInput, type UpdateCentralStateInput, type UpdateCentralStateInstruction, type UpdateCentralStateInstructionData, type UpdateCentralStateInstructionDataArgs, type UtilityPubkeys, type UtilityPubkeysArgs, WITHDRAW_REWARD_DISCRIMINATOR, type WinningOption, type WinningOptionArgs, type WinningOptionsSelectedEvent, type WinningOptionsSelectedEventArgs, type WithdrawRewardAsyncInput, type WithdrawRewardInput, type WithdrawRewardInstruction, type WithdrawRewardInstructionData, type WithdrawRewardInstructionDataArgs, type WithdrawRewardParams, type X25519Keypair, addMarketOption, addReward, awaitBatchComputationFinalization, awaitComputationFinalization, cancelFeeClaimerChange, cancelUpdateAuthorityChange, circuitSource, closeStakeAccount, closeStuckStakeAccount, createCipher, createMarket, decodeArciumSignerAccount, decodeCentralState, decodeClockAccount, decodeCluster, decodeComputationDefinitionAccount, decodeFeePool, decodeMXEAccount, decodeOpportunityMarket, decodeOpportunityMarketOption, decodeOpportunityMarketSponsor, decodeStakeAccount, decodeTimelockedAccountChange, decodeTokenVault, deriveSharedSecret, deriveX25519KeypairFromSignature, doUnstakeEarly, endRevealPeriod, ensureCentralState, fetchAllArciumSignerAccount, fetchAllCentralState, fetchAllClockAccount, fetchAllCluster, fetchAllComputationDefinitionAccount, fetchAllFeePool, fetchAllMXEAccount, fetchAllMaybeArciumSignerAccount, fetchAllMaybeCentralState, fetchAllMaybeClockAccount, fetchAllMaybeCluster, fetchAllMaybeComputationDefinitionAccount, fetchAllMaybeFeePool, fetchAllMaybeMXEAccount, fetchAllMaybeOpportunityMarket, fetchAllMaybeOpportunityMarketOption, fetchAllMaybeOpportunityMarketSponsor, fetchAllMaybeStakeAccount, fetchAllMaybeTimelockedAccountChange, fetchAllMaybeTokenVault, fetchAllOpportunityMarket, fetchAllOpportunityMarketOption, fetchAllOpportunityMarketSponsor, fetchAllStakeAccount, fetchAllTimelockedAccountChange, fetchAllTokenVault, fetchArciumSignerAccount, fetchCentralState, fetchClockAccount, fetchCluster, fetchComputationDefinitionAccount, fetchFeePool, fetchMXEAccount, fetchMaybeArciumSignerAccount, fetchMaybeCentralState, fetchMaybeClockAccount, fetchMaybeCluster, fetchMaybeComputationDefinitionAccount, fetchMaybeFeePool, fetchMaybeMXEAccount, fetchMaybeOpportunityMarket, fetchMaybeOpportunityMarketOption, fetchMaybeOpportunityMarketSponsor, fetchMaybeStakeAccount, fetchMaybeTimelockedAccountChange, fetchMaybeTokenVault, fetchOpportunityMarket, fetchOpportunityMarketOption, fetchOpportunityMarketSponsor, fetchStakeAccount, fetchTimelockedAccountChange, fetchTokenVault, finalizeNewFeeClaimer, finalizeNewUpdateAuthority, generateX25519Keypair, getAccountChangeCancelledEventCodec, getAccountChangeCancelledEventDecoder, getAccountChangeCancelledEventEncoder, getAccountChangeFinalizedEventCodec, getAccountChangeFinalizedEventDecoder, getAccountChangeFinalizedEventEncoder, getAccountChangeProposedEventCodec, getAccountChangeProposedEventDecoder, getAccountChangeProposedEventEncoder, getActivationCodec, getActivationDecoder, getActivationEncoder, getAddMarketOptionDiscriminatorBytes, getAddMarketOptionInstruction, getAddMarketOptionInstructionAsync, getAddMarketOptionInstructionDataCodec, getAddMarketOptionInstructionDataDecoder, getAddMarketOptionInstructionDataEncoder, getAddRewardDiscriminatorBytes, getAddRewardInstruction, getAddRewardInstructionAsync, getAddRewardInstructionDataCodec, getAddRewardInstructionDataDecoder, getAddRewardInstructionDataEncoder, getArciumSignerAccountCodec, getArciumSignerAccountDecoder, getArciumSignerAccountDiscriminatorBytes, getArciumSignerAccountEncoder, getBN254G2BLSPublicKeyCodec, getBN254G2BLSPublicKeyDecoder, getBN254G2BLSPublicKeyEncoder, getCancelFeeClaimerChangeDiscriminatorBytes, getCancelFeeClaimerChangeInstruction, getCancelFeeClaimerChangeInstructionAsync, getCancelFeeClaimerChangeInstructionDataCodec, getCancelFeeClaimerChangeInstructionDataDecoder, getCancelFeeClaimerChangeInstructionDataEncoder, getCancelUpdateAuthorityChangeDiscriminatorBytes, getCancelUpdateAuthorityChangeInstruction, getCancelUpdateAuthorityChangeInstructionAsync, getCancelUpdateAuthorityChangeInstructionDataCodec, getCancelUpdateAuthorityChangeInstructionDataDecoder, getCancelUpdateAuthorityChangeInstructionDataEncoder, getCentralStateAddress, getCentralStateCodec, getCentralStateDecoder, getCentralStateDiscriminatorBytes, getCentralStateEncoder, getCircuitSourceCodec, getCircuitSourceDecoder, getCircuitSourceEncoder, getClaimFeesDiscriminatorBytes, getClaimFeesInstruction, getClaimFeesInstructionAsync, getClaimFeesInstructionDataCodec, getClaimFeesInstructionDataDecoder, getClaimFeesInstructionDataEncoder, getClockAccountCodec, getClockAccountDecoder, getClockAccountDiscriminatorBytes, getClockAccountEncoder, getCloseStakeAccountDiscriminatorBytes, getCloseStakeAccountInstruction, getCloseStakeAccountInstructionAsync, getCloseStakeAccountInstructionDataCodec, getCloseStakeAccountInstructionDataDecoder, getCloseStakeAccountInstructionDataEncoder, getCloseStuckStakeAccountDiscriminatorBytes, getCloseStuckStakeAccountInstruction, getCloseStuckStakeAccountInstructionAsync, getCloseStuckStakeAccountInstructionDataCodec, getCloseStuckStakeAccountInstructionDataDecoder, getCloseStuckStakeAccountInstructionDataEncoder, getClusterCodec, getClusterDecoder, getClusterDiscriminatorBytes, getClusterEncoder, getCompDefAccount, getCompDefOffsetNumber, getComputationDefinitionAccountCodec, getComputationDefinitionAccountDecoder, getComputationDefinitionAccountDiscriminatorBytes, getComputationDefinitionAccountEncoder, getComputationDefinitionMetaCodec, getComputationDefinitionMetaDecoder, getComputationDefinitionMetaEncoder, getComputationSignatureCodec, getComputationSignatureDecoder, getComputationSignatureEncoder, getCreateMarketDiscriminatorBytes, getCreateMarketInstruction, getCreateMarketInstructionAsync, getCreateMarketInstructionDataCodec, getCreateMarketInstructionDataDecoder, getCreateMarketInstructionDataEncoder, getDoUnstakeEarlyDiscriminatorBytes, getDoUnstakeEarlyInstruction, getDoUnstakeEarlyInstructionAsync, getDoUnstakeEarlyInstructionDataCodec, getDoUnstakeEarlyInstructionDataDecoder, getDoUnstakeEarlyInstructionDataEncoder, getEndRevealPeriodDiscriminatorBytes, getEndRevealPeriodInstruction, getEndRevealPeriodInstructionDataCodec, getEndRevealPeriodInstructionDataDecoder, getEndRevealPeriodInstructionDataEncoder, getEpochCodec, getEpochDecoder, getEpochEncoder, getFeePoolCodec, getFeePoolDecoder, getFeePoolDiscriminatorBytes, getFeePoolEncoder, getFeesClaimedEventCodec, getFeesClaimedEventDecoder, getFeesClaimedEventEncoder, getFinalizeNewFeeClaimerDiscriminatorBytes, getFinalizeNewFeeClaimerInstruction, getFinalizeNewFeeClaimerInstructionAsync, getFinalizeNewFeeClaimerInstructionDataCodec, getFinalizeNewFeeClaimerInstructionDataDecoder, getFinalizeNewFeeClaimerInstructionDataEncoder, getFinalizeNewUpdateAuthorityDiscriminatorBytes, getFinalizeNewUpdateAuthorityInstruction, getFinalizeNewUpdateAuthorityInstructionAsync, getFinalizeNewUpdateAuthorityInstructionDataCodec, getFinalizeNewUpdateAuthorityInstructionDataDecoder, getFinalizeNewUpdateAuthorityInstructionDataEncoder, getIncrementOptionTallyDiscriminatorBytes, getIncrementOptionTallyInstruction, getIncrementOptionTallyInstructionAsync, getIncrementOptionTallyInstructionDataCodec, getIncrementOptionTallyInstructionDataDecoder, getIncrementOptionTallyInstructionDataEncoder, getInitCentralStateDiscriminatorBytes, getInitCentralStateInstruction, getInitCentralStateInstructionAsync, getInitCentralStateInstructionDataCodec, getInitCentralStateInstructionDataDecoder, getInitCentralStateInstructionDataEncoder, getInitCompDefInstruction, getInitStakeAccountDiscriminatorBytes, getInitStakeAccountInstruction, getInitStakeAccountInstructionAsync, getInitStakeAccountInstructionDataCodec, getInitStakeAccountInstructionDataDecoder, getInitStakeAccountInstructionDataEncoder, getInitTokenVaultDiscriminatorBytes, getInitTokenVaultInstruction, getInitTokenVaultInstructionAsync, getInitTokenVaultInstructionDataCodec, getInitTokenVaultInstructionDataDecoder, getInitTokenVaultInstructionDataEncoder, getLocalCircuitSourceCodec, getLocalCircuitSourceDecoder, getLocalCircuitSourceEncoder, getMXEAccountCodec, getMXEAccountDecoder, getMXEAccountDiscriminatorBytes, getMXEAccountEncoder, getMarketCreatedEventCodec, getMarketCreatedEventDecoder, getMarketCreatedEventEncoder, getMarketOpenedEventCodec, getMarketOpenedEventDecoder, getMarketOpenedEventEncoder, getMarketOptionCreatedEventCodec, getMarketOptionCreatedEventDecoder, getMarketOptionCreatedEventEncoder, getMarketPausedEventCodec, getMarketPausedEventDecoder, getMarketPausedEventEncoder, getMarketResumedEventCodec, getMarketResumedEventDecoder, getMarketResumedEventEncoder, getMxeAccount, getMxeStatusCodec, getMxeStatusDecoder, getMxeStatusEncoder, getNodeMetadataCodec, getNodeMetadataDecoder, getNodeMetadataEncoder, getNodeRefCodec, getNodeRefDecoder, getNodeRefEncoder, getOffChainCircuitSourceCodec, getOffChainCircuitSourceDecoder, getOffChainCircuitSourceEncoder, getOnChainCircuitSourceCodec, getOnChainCircuitSourceDecoder, getOnChainCircuitSourceEncoder, getOpenMarketDiscriminatorBytes, getOpenMarketInstruction, getOpenMarketInstructionDataCodec, getOpenMarketInstructionDataDecoder, getOpenMarketInstructionDataEncoder, getOpportunityMarketAddress, getOpportunityMarketCodec, getOpportunityMarketDecoder, getOpportunityMarketDiscriminatorBytes, getOpportunityMarketEncoder, getOpportunityMarketErrorMessage, getOpportunityMarketOptionAddress, getOpportunityMarketOptionCodec, getOpportunityMarketOptionDecoder, getOpportunityMarketOptionDiscriminatorBytes, getOpportunityMarketOptionEncoder, getOpportunityMarketSponsorAddress, getOpportunityMarketSponsorCodec, getOpportunityMarketSponsorDecoder, getOpportunityMarketSponsorDiscriminatorBytes, getOpportunityMarketSponsorEncoder, getOutputCodec, getOutputDecoder, getOutputEncoder, getParameterCodec, getParameterDecoder, getParameterEncoder, getPauseMarketDiscriminatorBytes, getPauseMarketInstruction, getPauseMarketInstructionDataCodec, getPauseMarketInstructionDataDecoder, getPauseMarketInstructionDataEncoder, getProposeNewFeeClaimerDiscriminatorBytes, getProposeNewFeeClaimerInstruction, getProposeNewFeeClaimerInstructionAsync, getProposeNewFeeClaimerInstructionDataCodec, getProposeNewFeeClaimerInstructionDataDecoder, getProposeNewFeeClaimerInstructionDataEncoder, getProposeNewUpdateAuthorityDiscriminatorBytes, getProposeNewUpdateAuthorityInstruction, getProposeNewUpdateAuthorityInstructionAsync, getProposeNewUpdateAuthorityInstructionDataCodec, getProposeNewUpdateAuthorityInstructionDataDecoder, getProposeNewUpdateAuthorityInstructionDataEncoder, getReclaimStakeDiscriminatorBytes, getReclaimStakeInstruction, getReclaimStakeInstructionAsync, getReclaimStakeInstructionDataCodec, getReclaimStakeInstructionDataDecoder, getReclaimStakeInstructionDataEncoder, getResumeMarketDiscriminatorBytes, getResumeMarketInstruction, getResumeMarketInstructionDataCodec, getResumeMarketInstructionDataDecoder, getResumeMarketInstructionDataEncoder, getRevealPeriodEndedEventCodec, getRevealPeriodEndedEventDecoder, getRevealPeriodEndedEventEncoder, getRevealStakeCallbackDiscriminatorBytes, getRevealStakeCallbackInstruction, getRevealStakeCallbackInstructionDataCodec, getRevealStakeCallbackInstructionDataDecoder, getRevealStakeCallbackInstructionDataEncoder, getRevealStakeCompDefDiscriminatorBytes, getRevealStakeCompDefInstruction, getRevealStakeCompDefInstructionDataCodec, getRevealStakeCompDefInstructionDataDecoder, getRevealStakeCompDefInstructionDataEncoder, getRevealStakeDiscriminatorBytes, getRevealStakeInstruction, getRevealStakeInstructionAsync, getRevealStakeInstructionDataCodec, getRevealStakeInstructionDataDecoder, getRevealStakeInstructionDataEncoder, getRevealStakeOutputCodec, getRevealStakeOutputDecoder, getRevealStakeOutputEncoder, getRewardAddedEventCodec, getRewardAddedEventDecoder, getRewardAddedEventEncoder, getRewardClaimedEventCodec, getRewardClaimedEventDecoder, getRewardClaimedEventEncoder, getRewardWithdrawnEventCodec, getRewardWithdrawnEventDecoder, getRewardWithdrawnEventEncoder, getSelectWinningOptionsDiscriminatorBytes, getSelectWinningOptionsInstruction, getSelectWinningOptionsInstructionDataCodec, getSelectWinningOptionsInstructionDataDecoder, getSelectWinningOptionsInstructionDataEncoder, getStakeAccountAddress, getStakeAccountCodec, getStakeAccountDecoder, getStakeAccountDiscriminatorBytes, getStakeAccountEncoder, getStakeAccountInitializedEventCodec, getStakeAccountInitializedEventDecoder, getStakeAccountInitializedEventEncoder, getStakeCallbackDiscriminatorBytes, getStakeCallbackInstruction, getStakeCallbackInstructionDataCodec, getStakeCallbackInstructionDataDecoder, getStakeCallbackInstructionDataEncoder, getStakeCompDefDiscriminatorBytes, getStakeCompDefInstruction, getStakeCompDefInstructionDataCodec, getStakeCompDefInstructionDataDecoder, getStakeCompDefInstructionDataEncoder, getStakeDiscriminatorBytes, getStakeInstruction, getStakeInstructionAsync, getStakeInstructionDataCodec, getStakeInstructionDataDecoder, getStakeInstructionDataEncoder, getStakeOutputCodec, getStakeOutputDecoder, getStakeOutputEncoder, getStakeOutputStruct0Codec, getStakeOutputStruct0Decoder, getStakeOutputStruct0Encoder, getStakeReclaimedEventCodec, getStakeReclaimedEventDecoder, getStakeReclaimedEventEncoder, getStakeRevealedEventCodec, getStakeRevealedEventDecoder, getStakeRevealedEventEncoder, getStakedEventCodec, getStakedEventDecoder, getStakedEventEncoder, getStuckStakeClosedEventCodec, getStuckStakeClosedEventDecoder, getStuckStakeClosedEventEncoder, getTallyIncrementedEventCodec, getTallyIncrementedEventDecoder, getTallyIncrementedEventEncoder, getTimelockedAccountChangeCodec, getTimelockedAccountChangeDecoder, getTimelockedAccountChangeDiscriminatorBytes, getTimelockedAccountChangeEncoder, getTimestampCodec, getTimestampDecoder, getTimestampEncoder, getTokenVaultAddress, getTokenVaultCodec, getTokenVaultDecoder, getTokenVaultDiscriminatorBytes, getTokenVaultEncoder, getUnstakeEarlyDiscriminatorBytes, getUnstakeEarlyInstruction, getUnstakeEarlyInstructionAsync, getUnstakeEarlyInstructionDataCodec, getUnstakeEarlyInstructionDataDecoder, getUnstakeEarlyInstructionDataEncoder, getUnstakeInitiatedEventCodec, getUnstakeInitiatedEventDecoder, getUnstakeInitiatedEventEncoder, getUnstakedEventCodec, getUnstakedEventDecoder, getUnstakedEventEncoder, getUpdateCentralStateDiscriminatorBytes, getUpdateCentralStateInstruction, getUpdateCentralStateInstructionAsync, getUpdateCentralStateInstructionDataCodec, getUpdateCentralStateInstructionDataDecoder, getUpdateCentralStateInstructionDataEncoder, getUtilityPubkeysCodec, getUtilityPubkeysDecoder, getUtilityPubkeysEncoder, getWinningOptionCodec, getWinningOptionDecoder, getWinningOptionEncoder, getWinningOptionsSelectedEventCodec, getWinningOptionsSelectedEventDecoder, getWinningOptionsSelectedEventEncoder, getWithdrawRewardDiscriminatorBytes, getWithdrawRewardInstruction, getWithdrawRewardInstructionAsync, getWithdrawRewardInstructionDataCodec, getWithdrawRewardInstructionDataDecoder, getWithdrawRewardInstructionDataEncoder, identifyOpportunityMarketAccount, identifyOpportunityMarketInstruction, incrementOptionTally, initStakeAccount, initTokenVault, isCircuitSource, isOpportunityMarketError, nonceToBytes, openMarket, parseAddMarketOptionInstruction, parseAddRewardInstruction, parseCancelFeeClaimerChangeInstruction, parseCancelUpdateAuthorityChangeInstruction, parseClaimFeesInstruction, parseCloseStakeAccountInstruction, parseCloseStuckStakeAccountInstruction, parseCreateMarketInstruction, parseDoUnstakeEarlyInstruction, parseEndRevealPeriodInstruction, parseFinalizeNewFeeClaimerInstruction, parseFinalizeNewUpdateAuthorityInstruction, parseIncrementOptionTallyInstruction, parseInitCentralStateInstruction, parseInitStakeAccountInstruction, parseInitTokenVaultInstruction, parseOpenMarketInstruction, parsePauseMarketInstruction, parseProposeNewFeeClaimerInstruction, parseProposeNewUpdateAuthorityInstruction, parseReclaimStakeInstruction, parseResumeMarketInstruction, parseRevealStakeCallbackInstruction, parseRevealStakeCompDefInstruction, parseRevealStakeInstruction, parseSelectWinningOptionsInstruction, parseStakeCallbackInstruction, parseStakeCompDefInstruction, parseStakeInstruction, parseUnstakeEarlyInstruction, parseUpdateCentralStateInstruction, parseWithdrawRewardInstruction, pauseMarket, proposeNewFeeClaimer, proposeNewUpdateAuthority, randomComputationOffset, randomStateNonce, reclaimStake, resumeMarket, revealStake, selectWinningOptions, stake, toNumberArray, unstakeEarly, withdrawReward };
|