@reflectmoney/stable.ts 1.1.0 → 1.1.2
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/classes/ReflectTokenisedBond.js +7 -0
- package/dist/stablecoins/LstStablecoin.js +14 -1
- package/dist/stablecoins/UsdcPlusStablecoin.js +6 -1
- package/package.json +1 -1
- package/dist/classes/PdaClient.d.ts +0 -131
- package/dist/classes/Reflect.d.ts +0 -7
- package/dist/classes/ReflectAdmin.d.ts +0 -104
- package/dist/classes/ReflectAdmin.js +0 -219
- package/dist/classes/ReflectKeeper.d.ts +0 -107
- package/dist/classes/ReflectTokenisedBond.d.ts +0 -75
- package/dist/classes/Stablecoin.d.ts +0 -187
- package/dist/classes/index.d.ts +0 -4
- package/dist/constants/drift.d.ts +0 -6
- package/dist/constants/index.d.ts +0 -7
- package/dist/constants/jupiter.d.ts +0 -4
- package/dist/constants/lookupTables.d.ts +0 -4
- package/dist/constants/lst.d.ts +0 -3
- package/dist/constants/pyth.d.ts +0 -1
- package/dist/constants/usdc.d.ts +0 -6
- package/dist/constants/wsol.d.ts +0 -6
- package/dist/errors/ReflectError.d.ts +0 -4
- package/dist/generated/reflect_main/accounts/DriftJlpController.d.ts +0 -116
- package/dist/generated/reflect_main/accounts/DriftLstController.d.ts +0 -110
- package/dist/generated/reflect_main/accounts/DriftUsdcController.d.ts +0 -136
- package/dist/generated/reflect_main/accounts/Main.d.ts +0 -112
- package/dist/generated/reflect_main/accounts/PerpMarket.d.ts +0 -228
- package/dist/generated/reflect_main/accounts/PrelaunchOracle.d.ts +0 -132
- package/dist/generated/reflect_main/accounts/PythLazerOracle.d.ts +0 -126
- package/dist/generated/reflect_main/accounts/RebalanceLst.d.ts +0 -113
- package/dist/generated/reflect_main/accounts/SpotMarket.d.ts +0 -379
- package/dist/generated/reflect_main/accounts/User.d.ts +0 -223
- package/dist/generated/reflect_main/accounts/UserPermissions.d.ts +0 -108
- package/dist/generated/reflect_main/accounts/UserStats.d.ts +0 -213
- package/dist/generated/reflect_main/accounts/index.d.ts +0 -38
- package/dist/generated/reflect_main/errors/index.d.ts +0 -969
- package/dist/generated/reflect_main/index.d.ts +0 -19
- package/dist/generated/reflect_main/instructions/addLstDrift.d.ts +0 -49
- package/dist/generated/reflect_main/instructions/addSubAccount.d.ts +0 -54
- package/dist/generated/reflect_main/instructions/captureSpreadDrift.d.ts +0 -66
- package/dist/generated/reflect_main/instructions/captureSpreadDriftS1.d.ts +0 -58
- package/dist/generated/reflect_main/instructions/createAdminAccount.d.ts +0 -51
- package/dist/generated/reflect_main/instructions/createUserStatsAccount.d.ts +0 -52
- package/dist/generated/reflect_main/instructions/depositDrift.d.ts +0 -73
- package/dist/generated/reflect_main/instructions/freezeProgram.d.ts +0 -54
- package/dist/generated/reflect_main/instructions/freezeProtocolAction.d.ts +0 -55
- package/dist/generated/reflect_main/instructions/freezeStrategyAction.d.ts +0 -58
- package/dist/generated/reflect_main/instructions/index.d.ts +0 -34
- package/dist/generated/reflect_main/instructions/initDriftAccountsS1.d.ts +0 -54
- package/dist/generated/reflect_main/instructions/initDriftControllerS1.d.ts +0 -60
- package/dist/generated/reflect_main/instructions/initDriftControllerS3.d.ts +0 -58
- package/dist/generated/reflect_main/instructions/initMain.d.ts +0 -43
- package/dist/generated/reflect_main/instructions/mintDriftS1.d.ts +0 -86
- package/dist/generated/reflect_main/instructions/mintDriftS3.d.ts +0 -86
- package/dist/generated/reflect_main/instructions/processSwapDeposit.d.ts +0 -69
- package/dist/generated/reflect_main/instructions/processSwapWithdraw.d.ts +0 -69
- package/dist/generated/reflect_main/instructions/redeemDriftS1.d.ts +0 -87
- package/dist/generated/reflect_main/instructions/redeemDriftS3.d.ts +0 -87
- package/dist/generated/reflect_main/instructions/settlePnl.d.ts +0 -55
- package/dist/generated/reflect_main/instructions/settlePnlMulti.d.ts +0 -65
- package/dist/generated/reflect_main/instructions/suspendSplProtocol.d.ts +0 -54
- package/dist/generated/reflect_main/instructions/suspendSplStrategy.d.ts +0 -56
- package/dist/generated/reflect_main/instructions/swapOrca.d.ts +0 -81
- package/dist/generated/reflect_main/instructions/swapOrcaTwoHop.d.ts +0 -101
- package/dist/generated/reflect_main/instructions/updateActionRoleProtocol.d.ts +0 -58
- package/dist/generated/reflect_main/instructions/updateActionRoleStrategy.d.ts +0 -60
- package/dist/generated/reflect_main/instructions/updateAttenuation.d.ts +0 -57
- package/dist/generated/reflect_main/instructions/updateCap.d.ts +0 -55
- package/dist/generated/reflect_main/instructions/updateRebalanceSlippage.d.ts +0 -55
- package/dist/generated/reflect_main/instructions/updateRecipients.d.ts +0 -56
- package/dist/generated/reflect_main/instructions/updateRoleHolderProtocol.d.ts +0 -60
- package/dist/generated/reflect_main/instructions/updateRoleHolderStrategy.d.ts +0 -60
- package/dist/generated/reflect_main/types/AMM.d.ts +0 -102
- package/dist/generated/reflect_main/types/AccKey.d.ts +0 -15
- package/dist/generated/reflect_main/types/AccessControl.d.ts +0 -18
- package/dist/generated/reflect_main/types/AccessMap.d.ts +0 -17
- package/dist/generated/reflect_main/types/Action.d.ts +0 -35
- package/dist/generated/reflect_main/types/ActionMapping.d.ts +0 -19
- package/dist/generated/reflect_main/types/AssetTier.d.ts +0 -23
- package/dist/generated/reflect_main/types/Attenuation.d.ts +0 -16
- package/dist/generated/reflect_main/types/BalanceType.d.ts +0 -20
- package/dist/generated/reflect_main/types/Capture.d.ts +0 -17
- package/dist/generated/reflect_main/types/ContractTier.d.ts +0 -24
- package/dist/generated/reflect_main/types/ContractType.d.ts +0 -20
- package/dist/generated/reflect_main/types/CorpAction.d.ts +0 -19
- package/dist/generated/reflect_main/types/CustodyInfo.d.ts +0 -20
- package/dist/generated/reflect_main/types/DirectionCollateral.d.ts +0 -20
- package/dist/generated/reflect_main/types/DirectionPosition.d.ts +0 -20
- package/dist/generated/reflect_main/types/DriftControllerBase.d.ts +0 -15
- package/dist/generated/reflect_main/types/DriftJlpControllerFixedAccounts.d.ts +0 -18
- package/dist/generated/reflect_main/types/DriftLstData.d.ts +0 -17
- package/dist/generated/reflect_main/types/Ema.d.ts +0 -17
- package/dist/generated/reflect_main/types/Externals.d.ts +0 -16
- package/dist/generated/reflect_main/types/FlowControl.d.ts +0 -17
- package/dist/generated/reflect_main/types/HistoricalIndexData.d.ts +0 -19
- package/dist/generated/reflect_main/types/HistoricalOracleData.d.ts +0 -20
- package/dist/generated/reflect_main/types/Holding.d.ts +0 -21
- package/dist/generated/reflect_main/types/Holdings.d.ts +0 -17
- package/dist/generated/reflect_main/types/InsuranceClaim.d.ts +0 -19
- package/dist/generated/reflect_main/types/InsuranceFund.d.ts +0 -24
- package/dist/generated/reflect_main/types/JlpRebalanceSettings.d.ts +0 -15
- package/dist/generated/reflect_main/types/KillSwitch.d.ts +0 -15
- package/dist/generated/reflect_main/types/LevelRoles.d.ts +0 -16
- package/dist/generated/reflect_main/types/MarketStatus.d.ts +0 -27
- package/dist/generated/reflect_main/types/MarketType.d.ts +0 -20
- package/dist/generated/reflect_main/types/ModifyOrderParams.d.ts +0 -32
- package/dist/generated/reflect_main/types/ModifyOrderPolicy.d.ts +0 -20
- package/dist/generated/reflect_main/types/Movements.d.ts +0 -19
- package/dist/generated/reflect_main/types/OracleGuardRails.d.ts +0 -18
- package/dist/generated/reflect_main/types/OracleSource.d.ts +0 -34
- package/dist/generated/reflect_main/types/OracleValidity.d.ts +0 -25
- package/dist/generated/reflect_main/types/Order.d.ts +0 -43
- package/dist/generated/reflect_main/types/OrderDirection.d.ts +0 -20
- package/dist/generated/reflect_main/types/OrderParams.d.ts +0 -36
- package/dist/generated/reflect_main/types/OrderStatus.d.ts +0 -22
- package/dist/generated/reflect_main/types/OrderTriggerCondition.d.ts +0 -22
- package/dist/generated/reflect_main/types/OrderType.d.ts +0 -23
- package/dist/generated/reflect_main/types/PermissionLevel.d.ts +0 -51
- package/dist/generated/reflect_main/types/PerpHedge.d.ts +0 -17
- package/dist/generated/reflect_main/types/PerpPosition.d.ts +0 -29
- package/dist/generated/reflect_main/types/PoolBalance.d.ts +0 -17
- package/dist/generated/reflect_main/types/Position.d.ts +0 -20
- package/dist/generated/reflect_main/types/PositionDirection.d.ts +0 -20
- package/dist/generated/reflect_main/types/PositionDrift.d.ts +0 -18
- package/dist/generated/reflect_main/types/PostOnlyParam.d.ts +0 -22
- package/dist/generated/reflect_main/types/Price.d.ts +0 -41
- package/dist/generated/reflect_main/types/PriceComp.d.ts +0 -19
- package/dist/generated/reflect_main/types/PriceDivergenceGuardRails.d.ts +0 -16
- package/dist/generated/reflect_main/types/PriceInfo.d.ts +0 -21
- package/dist/generated/reflect_main/types/PriceStatus.d.ts +0 -22
- package/dist/generated/reflect_main/types/PriceType.d.ts +0 -20
- package/dist/generated/reflect_main/types/Program.d.ts +0 -19
- package/dist/generated/reflect_main/types/ProgramStatus.d.ts +0 -20
- package/dist/generated/reflect_main/types/Recipient.d.ts +0 -17
- package/dist/generated/reflect_main/types/Recipients.d.ts +0 -17
- package/dist/generated/reflect_main/types/Role.d.ts +0 -25
- package/dist/generated/reflect_main/types/ShiftCollateral.d.ts +0 -19
- package/dist/generated/reflect_main/types/ShiftPosition.d.ts +0 -17
- package/dist/generated/reflect_main/types/ShortHolding.d.ts +0 -17
- package/dist/generated/reflect_main/types/SplBase.d.ts +0 -17
- package/dist/generated/reflect_main/types/SplMain.d.ts +0 -22
- package/dist/generated/reflect_main/types/Spls.d.ts +0 -17
- package/dist/generated/reflect_main/types/SpotBalanceType.d.ts +0 -20
- package/dist/generated/reflect_main/types/SpotPosition.d.ts +0 -23
- package/dist/generated/reflect_main/types/Status.d.ts +0 -21
- package/dist/generated/reflect_main/types/Strategy.d.ts +0 -32
- package/dist/generated/reflect_main/types/StrategyPadding.d.ts +0 -15
- package/dist/generated/reflect_main/types/StrategyRoleEntry.d.ts +0 -17
- package/dist/generated/reflect_main/types/SubAccount.d.ts +0 -17
- package/dist/generated/reflect_main/types/Update.d.ts +0 -20
- package/dist/generated/reflect_main/types/UserFees.d.ts +0 -20
- package/dist/generated/reflect_main/types/ValidityGuardRails.d.ts +0 -18
- package/dist/generated/reflect_main/types/index.d.ts +0 -80
- package/dist/generated/reflect_tokenised_bonds/accounts/Admin.d.ts +0 -101
- package/dist/generated/reflect_tokenised_bonds/accounts/Config.d.ts +0 -108
- package/dist/generated/reflect_tokenised_bonds/accounts/Vault.d.ts +0 -116
- package/dist/generated/reflect_tokenised_bonds/accounts/index.d.ts +0 -11
- package/dist/generated/reflect_tokenised_bonds/errors/index.d.ts +0 -144
- package/dist/generated/reflect_tokenised_bonds/index.d.ts +0 -19
- package/dist/generated/reflect_tokenised_bonds/instructions/createVault.d.ts +0 -50
- package/dist/generated/reflect_tokenised_bonds/instructions/deposit.d.ts +0 -62
- package/dist/generated/reflect_tokenised_bonds/instructions/index.d.ts +0 -4
- package/dist/generated/reflect_tokenised_bonds/instructions/initialize.d.ts +0 -43
- package/dist/generated/reflect_tokenised_bonds/instructions/withdraw.d.ts +0 -62
- package/dist/generated/reflect_tokenised_bonds/types/DepositArgs.d.ts +0 -17
- package/dist/generated/reflect_tokenised_bonds/types/Permissions.d.ts +0 -21
- package/dist/generated/reflect_tokenised_bonds/types/WithdrawArgs.d.ts +0 -16
- package/dist/generated/reflect_tokenised_bonds/types/index.d.ts +0 -3
- package/dist/helpers/getOrcaQuote.d.ts +0 -3
- package/dist/idl/perpetuals.d.ts +0 -5771
- package/dist/index.d.ts +0 -8
- package/dist/stablecoins/JlpStablecoin.d.ts +0 -1
- package/dist/stablecoins/JlpStablecoin.js +0 -44
- package/dist/stablecoins/LstStablecoin.d.ts +0 -65
- package/dist/stablecoins/UsdcPlusStablecoin.d.ts +0 -68
- package/dist/stablecoins/UsdcStablecoin.d.ts +0 -64
- package/dist/stablecoins/UsdcStablecoin.js +0 -145
- package/dist/stablecoins/UsdjStablecoin.d.ts +0 -1
- package/dist/stablecoins/index.d.ts +0 -3
|
@@ -1,60 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This code was GENERATED using the solita package.
|
|
3
|
-
* Please DO NOT EDIT THIS FILE, instead rerun solita to update it or write a wrapper to add functionality.
|
|
4
|
-
*
|
|
5
|
-
* See: https://github.com/metaplex-foundation/solita
|
|
6
|
-
*/
|
|
7
|
-
import * as web3 from '@solana/web3.js';
|
|
8
|
-
import * as beet from '@metaplex-foundation/beet';
|
|
9
|
-
/**
|
|
10
|
-
* @category Instructions
|
|
11
|
-
* @category InitDriftControllerS1
|
|
12
|
-
* @category generated
|
|
13
|
-
*/
|
|
14
|
-
export type InitDriftControllerS1InstructionArgs = {
|
|
15
|
-
mint: web3.PublicKey;
|
|
16
|
-
lpReciptMint: web3.PublicKey;
|
|
17
|
-
vault: web3.PublicKey;
|
|
18
|
-
recipientAddresses: web3.PublicKey[];
|
|
19
|
-
recipientCuts: number[];
|
|
20
|
-
cap: beet.bignum;
|
|
21
|
-
};
|
|
22
|
-
/**
|
|
23
|
-
* @category Instructions
|
|
24
|
-
* @category InitDriftControllerS1
|
|
25
|
-
* @category generated
|
|
26
|
-
*/
|
|
27
|
-
export declare const initDriftControllerS1Struct: beet.FixableBeetArgsStruct<InitDriftControllerS1InstructionArgs & {
|
|
28
|
-
instructionDiscriminator: number[];
|
|
29
|
-
}>;
|
|
30
|
-
/**
|
|
31
|
-
* Accounts required by the _initDriftControllerS1_ instruction
|
|
32
|
-
*
|
|
33
|
-
* @property [_writable_] driftUsdcController
|
|
34
|
-
* @property [_writable_] main
|
|
35
|
-
* @property [] adminPermissions
|
|
36
|
-
* @property [_writable_, **signer**] admin
|
|
37
|
-
* @category Instructions
|
|
38
|
-
* @category InitDriftControllerS1
|
|
39
|
-
* @category generated
|
|
40
|
-
*/
|
|
41
|
-
export type InitDriftControllerS1InstructionAccounts = {
|
|
42
|
-
driftUsdcController: web3.PublicKey;
|
|
43
|
-
main: web3.PublicKey;
|
|
44
|
-
adminPermissions: web3.PublicKey;
|
|
45
|
-
admin: web3.PublicKey;
|
|
46
|
-
systemProgram?: web3.PublicKey;
|
|
47
|
-
anchorRemainingAccounts?: web3.AccountMeta[];
|
|
48
|
-
};
|
|
49
|
-
export declare const initDriftControllerS1InstructionDiscriminator: number[];
|
|
50
|
-
/**
|
|
51
|
-
* Creates a _InitDriftControllerS1_ instruction.
|
|
52
|
-
*
|
|
53
|
-
* @param accounts that will be accessed while the instruction is processed
|
|
54
|
-
* @param args to provide as instruction data to the program
|
|
55
|
-
*
|
|
56
|
-
* @category Instructions
|
|
57
|
-
* @category InitDriftControllerS1
|
|
58
|
-
* @category generated
|
|
59
|
-
*/
|
|
60
|
-
export declare function createInitDriftControllerS1Instruction(accounts: InitDriftControllerS1InstructionAccounts, args: InitDriftControllerS1InstructionArgs, programId?: web3.PublicKey): web3.TransactionInstruction;
|
|
@@ -1,58 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This code was GENERATED using the solita package.
|
|
3
|
-
* Please DO NOT EDIT THIS FILE, instead rerun solita to update it or write a wrapper to add functionality.
|
|
4
|
-
*
|
|
5
|
-
* See: https://github.com/metaplex-foundation/solita
|
|
6
|
-
*/
|
|
7
|
-
import * as web3 from '@solana/web3.js';
|
|
8
|
-
import * as beet from '@metaplex-foundation/beet';
|
|
9
|
-
/**
|
|
10
|
-
* @category Instructions
|
|
11
|
-
* @category InitDriftControllerS3
|
|
12
|
-
* @category generated
|
|
13
|
-
*/
|
|
14
|
-
export type InitDriftControllerS3InstructionArgs = {
|
|
15
|
-
mint: web3.PublicKey;
|
|
16
|
-
recipientAddresses: web3.PublicKey[];
|
|
17
|
-
recipientCuts: number[];
|
|
18
|
-
cap: beet.bignum;
|
|
19
|
-
};
|
|
20
|
-
/**
|
|
21
|
-
* @category Instructions
|
|
22
|
-
* @category InitDriftControllerS3
|
|
23
|
-
* @category generated
|
|
24
|
-
*/
|
|
25
|
-
export declare const initDriftControllerS3Struct: beet.FixableBeetArgsStruct<InitDriftControllerS3InstructionArgs & {
|
|
26
|
-
instructionDiscriminator: number[];
|
|
27
|
-
}>;
|
|
28
|
-
/**
|
|
29
|
-
* Accounts required by the _initDriftControllerS3_ instruction
|
|
30
|
-
*
|
|
31
|
-
* @property [_writable_] driftLstController
|
|
32
|
-
* @property [] adminPermissions
|
|
33
|
-
* @property [_writable_] main
|
|
34
|
-
* @property [_writable_, **signer**] admin
|
|
35
|
-
* @category Instructions
|
|
36
|
-
* @category InitDriftControllerS3
|
|
37
|
-
* @category generated
|
|
38
|
-
*/
|
|
39
|
-
export type InitDriftControllerS3InstructionAccounts = {
|
|
40
|
-
driftLstController: web3.PublicKey;
|
|
41
|
-
adminPermissions: web3.PublicKey;
|
|
42
|
-
main: web3.PublicKey;
|
|
43
|
-
admin: web3.PublicKey;
|
|
44
|
-
systemProgram?: web3.PublicKey;
|
|
45
|
-
anchorRemainingAccounts?: web3.AccountMeta[];
|
|
46
|
-
};
|
|
47
|
-
export declare const initDriftControllerS3InstructionDiscriminator: number[];
|
|
48
|
-
/**
|
|
49
|
-
* Creates a _InitDriftControllerS3_ instruction.
|
|
50
|
-
*
|
|
51
|
-
* @param accounts that will be accessed while the instruction is processed
|
|
52
|
-
* @param args to provide as instruction data to the program
|
|
53
|
-
*
|
|
54
|
-
* @category Instructions
|
|
55
|
-
* @category InitDriftControllerS3
|
|
56
|
-
* @category generated
|
|
57
|
-
*/
|
|
58
|
-
export declare function createInitDriftControllerS3Instruction(accounts: InitDriftControllerS3InstructionAccounts, args: InitDriftControllerS3InstructionArgs, programId?: web3.PublicKey): web3.TransactionInstruction;
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This code was GENERATED using the solita package.
|
|
3
|
-
* Please DO NOT EDIT THIS FILE, instead rerun solita to update it or write a wrapper to add functionality.
|
|
4
|
-
*
|
|
5
|
-
* See: https://github.com/metaplex-foundation/solita
|
|
6
|
-
*/
|
|
7
|
-
import * as beet from '@metaplex-foundation/beet';
|
|
8
|
-
import * as web3 from '@solana/web3.js';
|
|
9
|
-
/**
|
|
10
|
-
* @category Instructions
|
|
11
|
-
* @category InitMain
|
|
12
|
-
* @category generated
|
|
13
|
-
*/
|
|
14
|
-
export declare const initMainStruct: beet.BeetArgsStruct<{
|
|
15
|
-
instructionDiscriminator: number[];
|
|
16
|
-
}>;
|
|
17
|
-
/**
|
|
18
|
-
* Accounts required by the _initMain_ instruction
|
|
19
|
-
*
|
|
20
|
-
* @property [_writable_] main
|
|
21
|
-
* @property [_writable_] creds
|
|
22
|
-
* @property [_writable_, **signer**] admin
|
|
23
|
-
* @category Instructions
|
|
24
|
-
* @category InitMain
|
|
25
|
-
* @category generated
|
|
26
|
-
*/
|
|
27
|
-
export type InitMainInstructionAccounts = {
|
|
28
|
-
main: web3.PublicKey;
|
|
29
|
-
creds: web3.PublicKey;
|
|
30
|
-
admin: web3.PublicKey;
|
|
31
|
-
systemProgram?: web3.PublicKey;
|
|
32
|
-
anchorRemainingAccounts?: web3.AccountMeta[];
|
|
33
|
-
};
|
|
34
|
-
export declare const initMainInstructionDiscriminator: number[];
|
|
35
|
-
/**
|
|
36
|
-
* Creates a _InitMain_ instruction.
|
|
37
|
-
*
|
|
38
|
-
* @param accounts that will be accessed while the instruction is processed
|
|
39
|
-
* @category Instructions
|
|
40
|
-
* @category InitMain
|
|
41
|
-
* @category generated
|
|
42
|
-
*/
|
|
43
|
-
export declare function createInitMainInstruction(accounts: InitMainInstructionAccounts, programId?: web3.PublicKey): web3.TransactionInstruction;
|
|
@@ -1,86 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This code was GENERATED using the solita package.
|
|
3
|
-
* Please DO NOT EDIT THIS FILE, instead rerun solita to update it or write a wrapper to add functionality.
|
|
4
|
-
*
|
|
5
|
-
* See: https://github.com/metaplex-foundation/solita
|
|
6
|
-
*/
|
|
7
|
-
import * as beet from '@metaplex-foundation/beet';
|
|
8
|
-
import * as web3 from '@solana/web3.js';
|
|
9
|
-
/**
|
|
10
|
-
* @category Instructions
|
|
11
|
-
* @category MintDriftS1
|
|
12
|
-
* @category generated
|
|
13
|
-
*/
|
|
14
|
-
export type MintDriftS1InstructionArgs = {
|
|
15
|
-
usdcAmount: beet.bignum;
|
|
16
|
-
minUsdcAmount: beet.bignum;
|
|
17
|
-
};
|
|
18
|
-
/**
|
|
19
|
-
* @category Instructions
|
|
20
|
-
* @category MintDriftS1
|
|
21
|
-
* @category generated
|
|
22
|
-
*/
|
|
23
|
-
export declare const mintDriftS1Struct: beet.BeetArgsStruct<MintDriftS1InstructionArgs & {
|
|
24
|
-
instructionDiscriminator: number[];
|
|
25
|
-
}>;
|
|
26
|
-
/**
|
|
27
|
-
* Accounts required by the _mintDriftS1_ instruction
|
|
28
|
-
*
|
|
29
|
-
* @property [_writable_, **signer**] user
|
|
30
|
-
* @property [_writable_] main
|
|
31
|
-
* @property [_writable_] usdcController
|
|
32
|
-
* @property [] adminPermissions (optional)
|
|
33
|
-
* @property [_writable_] userReceiptAta
|
|
34
|
-
* @property [_writable_] userUsdcAta
|
|
35
|
-
* @property [_writable_] controllerUsdcAta
|
|
36
|
-
* @property [_writable_] receiptMint
|
|
37
|
-
* @property [] drift
|
|
38
|
-
* @property [_writable_] state
|
|
39
|
-
* @property [_writable_] userStats
|
|
40
|
-
* @property [_writable_] referrerUserStats
|
|
41
|
-
* @property [_writable_] referrerUser
|
|
42
|
-
* @property [_writable_] userAccount
|
|
43
|
-
* @property [_writable_] spotMarketVault
|
|
44
|
-
* @property [_writable_] driftVault
|
|
45
|
-
* @property [] clock
|
|
46
|
-
* @category Instructions
|
|
47
|
-
* @category MintDriftS1
|
|
48
|
-
* @category generated
|
|
49
|
-
*/
|
|
50
|
-
export type MintDriftS1InstructionAccounts = {
|
|
51
|
-
user: web3.PublicKey;
|
|
52
|
-
main: web3.PublicKey;
|
|
53
|
-
usdcController: web3.PublicKey;
|
|
54
|
-
adminPermissions?: web3.PublicKey;
|
|
55
|
-
userReceiptAta: web3.PublicKey;
|
|
56
|
-
userUsdcAta: web3.PublicKey;
|
|
57
|
-
controllerUsdcAta: web3.PublicKey;
|
|
58
|
-
receiptMint: web3.PublicKey;
|
|
59
|
-
drift: web3.PublicKey;
|
|
60
|
-
state: web3.PublicKey;
|
|
61
|
-
userStats: web3.PublicKey;
|
|
62
|
-
referrerUserStats: web3.PublicKey;
|
|
63
|
-
referrerUser: web3.PublicKey;
|
|
64
|
-
userAccount: web3.PublicKey;
|
|
65
|
-
spotMarketVault: web3.PublicKey;
|
|
66
|
-
driftVault: web3.PublicKey;
|
|
67
|
-
tokenProgram?: web3.PublicKey;
|
|
68
|
-
systemProgram?: web3.PublicKey;
|
|
69
|
-
clock: web3.PublicKey;
|
|
70
|
-
anchorRemainingAccounts?: web3.AccountMeta[];
|
|
71
|
-
};
|
|
72
|
-
export declare const mintDriftS1InstructionDiscriminator: number[];
|
|
73
|
-
/**
|
|
74
|
-
* Creates a _MintDriftS1_ instruction.
|
|
75
|
-
*
|
|
76
|
-
* Optional accounts that are not provided default to the program ID since
|
|
77
|
-
* this was indicated in the IDL from which this instruction was generated.
|
|
78
|
-
*
|
|
79
|
-
* @param accounts that will be accessed while the instruction is processed
|
|
80
|
-
* @param args to provide as instruction data to the program
|
|
81
|
-
*
|
|
82
|
-
* @category Instructions
|
|
83
|
-
* @category MintDriftS1
|
|
84
|
-
* @category generated
|
|
85
|
-
*/
|
|
86
|
-
export declare function createMintDriftS1Instruction(accounts: MintDriftS1InstructionAccounts, args: MintDriftS1InstructionArgs, programId?: web3.PublicKey): web3.TransactionInstruction;
|
|
@@ -1,86 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This code was GENERATED using the solita package.
|
|
3
|
-
* Please DO NOT EDIT THIS FILE, instead rerun solita to update it or write a wrapper to add functionality.
|
|
4
|
-
*
|
|
5
|
-
* See: https://github.com/metaplex-foundation/solita
|
|
6
|
-
*/
|
|
7
|
-
import * as beet from '@metaplex-foundation/beet';
|
|
8
|
-
import * as web3 from '@solana/web3.js';
|
|
9
|
-
/**
|
|
10
|
-
* @category Instructions
|
|
11
|
-
* @category MintDriftS3
|
|
12
|
-
* @category generated
|
|
13
|
-
*/
|
|
14
|
-
export type MintDriftS3InstructionArgs = {
|
|
15
|
-
lstAmount: beet.bignum;
|
|
16
|
-
minUsdrAmount: beet.bignum;
|
|
17
|
-
};
|
|
18
|
-
/**
|
|
19
|
-
* @category Instructions
|
|
20
|
-
* @category MintDriftS3
|
|
21
|
-
* @category generated
|
|
22
|
-
*/
|
|
23
|
-
export declare const mintDriftS3Struct: beet.BeetArgsStruct<MintDriftS3InstructionArgs & {
|
|
24
|
-
instructionDiscriminator: number[];
|
|
25
|
-
}>;
|
|
26
|
-
/**
|
|
27
|
-
* Accounts required by the _mintDriftS3_ instruction
|
|
28
|
-
*
|
|
29
|
-
* @property [_writable_, **signer**] user
|
|
30
|
-
* @property [_writable_] main
|
|
31
|
-
* @property [_writable_] lstController
|
|
32
|
-
* @property [] adminPermissions (optional)
|
|
33
|
-
* @property [_writable_] userLstAta
|
|
34
|
-
* @property [_writable_] controllerLstAta
|
|
35
|
-
* @property [_writable_] userReflectAta
|
|
36
|
-
* @property [_writable_] stableMint
|
|
37
|
-
* @property [] drift
|
|
38
|
-
* @property [_writable_] state
|
|
39
|
-
* @property [_writable_] userStats
|
|
40
|
-
* @property [_writable_] referrerUserStats
|
|
41
|
-
* @property [_writable_] referrerUser
|
|
42
|
-
* @property [_writable_] userAccount
|
|
43
|
-
* @property [_writable_] spotMarketVault
|
|
44
|
-
* @property [_writable_] driftVault
|
|
45
|
-
* @property [] clock
|
|
46
|
-
* @category Instructions
|
|
47
|
-
* @category MintDriftS3
|
|
48
|
-
* @category generated
|
|
49
|
-
*/
|
|
50
|
-
export type MintDriftS3InstructionAccounts = {
|
|
51
|
-
user: web3.PublicKey;
|
|
52
|
-
main: web3.PublicKey;
|
|
53
|
-
lstController: web3.PublicKey;
|
|
54
|
-
adminPermissions?: web3.PublicKey;
|
|
55
|
-
userLstAta: web3.PublicKey;
|
|
56
|
-
controllerLstAta: web3.PublicKey;
|
|
57
|
-
userReflectAta: web3.PublicKey;
|
|
58
|
-
stableMint: web3.PublicKey;
|
|
59
|
-
drift: web3.PublicKey;
|
|
60
|
-
state: web3.PublicKey;
|
|
61
|
-
userStats: web3.PublicKey;
|
|
62
|
-
referrerUserStats: web3.PublicKey;
|
|
63
|
-
referrerUser: web3.PublicKey;
|
|
64
|
-
userAccount: web3.PublicKey;
|
|
65
|
-
spotMarketVault: web3.PublicKey;
|
|
66
|
-
driftVault: web3.PublicKey;
|
|
67
|
-
tokenProgram?: web3.PublicKey;
|
|
68
|
-
systemProgram?: web3.PublicKey;
|
|
69
|
-
clock: web3.PublicKey;
|
|
70
|
-
anchorRemainingAccounts?: web3.AccountMeta[];
|
|
71
|
-
};
|
|
72
|
-
export declare const mintDriftS3InstructionDiscriminator: number[];
|
|
73
|
-
/**
|
|
74
|
-
* Creates a _MintDriftS3_ instruction.
|
|
75
|
-
*
|
|
76
|
-
* Optional accounts that are not provided default to the program ID since
|
|
77
|
-
* this was indicated in the IDL from which this instruction was generated.
|
|
78
|
-
*
|
|
79
|
-
* @param accounts that will be accessed while the instruction is processed
|
|
80
|
-
* @param args to provide as instruction data to the program
|
|
81
|
-
*
|
|
82
|
-
* @category Instructions
|
|
83
|
-
* @category MintDriftS3
|
|
84
|
-
* @category generated
|
|
85
|
-
*/
|
|
86
|
-
export declare function createMintDriftS3Instruction(accounts: MintDriftS3InstructionAccounts, args: MintDriftS3InstructionArgs, programId?: web3.PublicKey): web3.TransactionInstruction;
|
|
@@ -1,69 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This code was GENERATED using the solita package.
|
|
3
|
-
* Please DO NOT EDIT THIS FILE, instead rerun solita to update it or write a wrapper to add functionality.
|
|
4
|
-
*
|
|
5
|
-
* See: https://github.com/metaplex-foundation/solita
|
|
6
|
-
*/
|
|
7
|
-
import * as beet from '@metaplex-foundation/beet';
|
|
8
|
-
import * as web3 from '@solana/web3.js';
|
|
9
|
-
/**
|
|
10
|
-
* @category Instructions
|
|
11
|
-
* @category ProcessSwapDeposit
|
|
12
|
-
* @category generated
|
|
13
|
-
*/
|
|
14
|
-
export declare const processSwapDepositStruct: beet.BeetArgsStruct<{
|
|
15
|
-
instructionDiscriminator: number[];
|
|
16
|
-
}>;
|
|
17
|
-
/**
|
|
18
|
-
* Accounts required by the _processSwapDeposit_ instruction
|
|
19
|
-
*
|
|
20
|
-
* @property [_writable_, **signer**] admin
|
|
21
|
-
* @property [_writable_] main
|
|
22
|
-
* @property [_writable_] lstController
|
|
23
|
-
* @property [] adminPermissions (optional)
|
|
24
|
-
* @property [_writable_] spotMarketVault
|
|
25
|
-
* @property [_writable_] reflectTokenAccount
|
|
26
|
-
* @property [_writable_] rebalanceDetails
|
|
27
|
-
* @property [_writable_] state
|
|
28
|
-
* @property [] drift
|
|
29
|
-
* @property [_writable_] userStats
|
|
30
|
-
* @property [_writable_] userAccount
|
|
31
|
-
* @property [_writable_] driftVault
|
|
32
|
-
* @property [_writable_] referrerUserStats
|
|
33
|
-
* @property [_writable_] referrerUser
|
|
34
|
-
* @category Instructions
|
|
35
|
-
* @category ProcessSwapDeposit
|
|
36
|
-
* @category generated
|
|
37
|
-
*/
|
|
38
|
-
export type ProcessSwapDepositInstructionAccounts = {
|
|
39
|
-
admin: web3.PublicKey;
|
|
40
|
-
main: web3.PublicKey;
|
|
41
|
-
lstController: web3.PublicKey;
|
|
42
|
-
adminPermissions?: web3.PublicKey;
|
|
43
|
-
spotMarketVault: web3.PublicKey;
|
|
44
|
-
reflectTokenAccount: web3.PublicKey;
|
|
45
|
-
rebalanceDetails: web3.PublicKey;
|
|
46
|
-
state: web3.PublicKey;
|
|
47
|
-
drift: web3.PublicKey;
|
|
48
|
-
userStats: web3.PublicKey;
|
|
49
|
-
userAccount: web3.PublicKey;
|
|
50
|
-
systemProgram?: web3.PublicKey;
|
|
51
|
-
tokenProgram?: web3.PublicKey;
|
|
52
|
-
driftVault: web3.PublicKey;
|
|
53
|
-
referrerUserStats: web3.PublicKey;
|
|
54
|
-
referrerUser: web3.PublicKey;
|
|
55
|
-
anchorRemainingAccounts?: web3.AccountMeta[];
|
|
56
|
-
};
|
|
57
|
-
export declare const processSwapDepositInstructionDiscriminator: number[];
|
|
58
|
-
/**
|
|
59
|
-
* Creates a _ProcessSwapDeposit_ instruction.
|
|
60
|
-
*
|
|
61
|
-
* Optional accounts that are not provided default to the program ID since
|
|
62
|
-
* this was indicated in the IDL from which this instruction was generated.
|
|
63
|
-
*
|
|
64
|
-
* @param accounts that will be accessed while the instruction is processed
|
|
65
|
-
* @category Instructions
|
|
66
|
-
* @category ProcessSwapDeposit
|
|
67
|
-
* @category generated
|
|
68
|
-
*/
|
|
69
|
-
export declare function createProcessSwapDepositInstruction(accounts: ProcessSwapDepositInstructionAccounts, programId?: web3.PublicKey): web3.TransactionInstruction;
|
|
@@ -1,69 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This code was GENERATED using the solita package.
|
|
3
|
-
* Please DO NOT EDIT THIS FILE, instead rerun solita to update it or write a wrapper to add functionality.
|
|
4
|
-
*
|
|
5
|
-
* See: https://github.com/metaplex-foundation/solita
|
|
6
|
-
*/
|
|
7
|
-
import * as beet from '@metaplex-foundation/beet';
|
|
8
|
-
import * as web3 from '@solana/web3.js';
|
|
9
|
-
/**
|
|
10
|
-
* @category Instructions
|
|
11
|
-
* @category ProcessSwapWithdraw
|
|
12
|
-
* @category generated
|
|
13
|
-
*/
|
|
14
|
-
export declare const processSwapWithdrawStruct: beet.BeetArgsStruct<{
|
|
15
|
-
instructionDiscriminator: number[];
|
|
16
|
-
}>;
|
|
17
|
-
/**
|
|
18
|
-
* Accounts required by the _processSwapWithdraw_ instruction
|
|
19
|
-
*
|
|
20
|
-
* @property [_writable_, **signer**] admin
|
|
21
|
-
* @property [_writable_] main
|
|
22
|
-
* @property [_writable_] lstController
|
|
23
|
-
* @property [] adminPermissions (optional)
|
|
24
|
-
* @property [_writable_] spotMarketVault
|
|
25
|
-
* @property [_writable_] reflectTokenAccount
|
|
26
|
-
* @property [_writable_] rebalanceDetails
|
|
27
|
-
* @property [_writable_] state
|
|
28
|
-
* @property [] drift
|
|
29
|
-
* @property [_writable_] userStats
|
|
30
|
-
* @property [_writable_] userAccount
|
|
31
|
-
* @property [_writable_] driftVault
|
|
32
|
-
* @property [_writable_] referrerUserStats
|
|
33
|
-
* @property [_writable_] referrerUser
|
|
34
|
-
* @category Instructions
|
|
35
|
-
* @category ProcessSwapWithdraw
|
|
36
|
-
* @category generated
|
|
37
|
-
*/
|
|
38
|
-
export type ProcessSwapWithdrawInstructionAccounts = {
|
|
39
|
-
admin: web3.PublicKey;
|
|
40
|
-
main: web3.PublicKey;
|
|
41
|
-
lstController: web3.PublicKey;
|
|
42
|
-
adminPermissions?: web3.PublicKey;
|
|
43
|
-
spotMarketVault: web3.PublicKey;
|
|
44
|
-
reflectTokenAccount: web3.PublicKey;
|
|
45
|
-
rebalanceDetails: web3.PublicKey;
|
|
46
|
-
state: web3.PublicKey;
|
|
47
|
-
drift: web3.PublicKey;
|
|
48
|
-
userStats: web3.PublicKey;
|
|
49
|
-
userAccount: web3.PublicKey;
|
|
50
|
-
systemProgram?: web3.PublicKey;
|
|
51
|
-
tokenProgram?: web3.PublicKey;
|
|
52
|
-
driftVault: web3.PublicKey;
|
|
53
|
-
referrerUserStats: web3.PublicKey;
|
|
54
|
-
referrerUser: web3.PublicKey;
|
|
55
|
-
anchorRemainingAccounts?: web3.AccountMeta[];
|
|
56
|
-
};
|
|
57
|
-
export declare const processSwapWithdrawInstructionDiscriminator: number[];
|
|
58
|
-
/**
|
|
59
|
-
* Creates a _ProcessSwapWithdraw_ instruction.
|
|
60
|
-
*
|
|
61
|
-
* Optional accounts that are not provided default to the program ID since
|
|
62
|
-
* this was indicated in the IDL from which this instruction was generated.
|
|
63
|
-
*
|
|
64
|
-
* @param accounts that will be accessed while the instruction is processed
|
|
65
|
-
* @category Instructions
|
|
66
|
-
* @category ProcessSwapWithdraw
|
|
67
|
-
* @category generated
|
|
68
|
-
*/
|
|
69
|
-
export declare function createProcessSwapWithdrawInstruction(accounts: ProcessSwapWithdrawInstructionAccounts, programId?: web3.PublicKey): web3.TransactionInstruction;
|
|
@@ -1,87 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This code was GENERATED using the solita package.
|
|
3
|
-
* Please DO NOT EDIT THIS FILE, instead rerun solita to update it or write a wrapper to add functionality.
|
|
4
|
-
*
|
|
5
|
-
* See: https://github.com/metaplex-foundation/solita
|
|
6
|
-
*/
|
|
7
|
-
import * as beet from '@metaplex-foundation/beet';
|
|
8
|
-
import * as web3 from '@solana/web3.js';
|
|
9
|
-
/**
|
|
10
|
-
* @category Instructions
|
|
11
|
-
* @category RedeemDriftS1
|
|
12
|
-
* @category generated
|
|
13
|
-
*/
|
|
14
|
-
export type RedeemDriftS1InstructionArgs = {
|
|
15
|
-
rusdBurnAmount: beet.bignum;
|
|
16
|
-
minLstRedeem: beet.bignum;
|
|
17
|
-
canChill: boolean;
|
|
18
|
-
};
|
|
19
|
-
/**
|
|
20
|
-
* @category Instructions
|
|
21
|
-
* @category RedeemDriftS1
|
|
22
|
-
* @category generated
|
|
23
|
-
*/
|
|
24
|
-
export declare const redeemDriftS1Struct: beet.BeetArgsStruct<RedeemDriftS1InstructionArgs & {
|
|
25
|
-
instructionDiscriminator: number[];
|
|
26
|
-
}>;
|
|
27
|
-
/**
|
|
28
|
-
* Accounts required by the _redeemDriftS1_ instruction
|
|
29
|
-
*
|
|
30
|
-
* @property [_writable_, **signer**] user
|
|
31
|
-
* @property [_writable_] main
|
|
32
|
-
* @property [_writable_] usdcController
|
|
33
|
-
* @property [] adminPermissions (optional)
|
|
34
|
-
* @property [_writable_] userReceiptAta
|
|
35
|
-
* @property [_writable_] userUsdcAta
|
|
36
|
-
* @property [_writable_] controllerUsdcAta
|
|
37
|
-
* @property [_writable_] receiptMint
|
|
38
|
-
* @property [] drift
|
|
39
|
-
* @property [_writable_] state
|
|
40
|
-
* @property [_writable_] userStats
|
|
41
|
-
* @property [_writable_] referrerUserStats
|
|
42
|
-
* @property [_writable_] referrerUser
|
|
43
|
-
* @property [_writable_] userAccount
|
|
44
|
-
* @property [_writable_] spotMarketVault
|
|
45
|
-
* @property [_writable_] driftVault
|
|
46
|
-
* @property [] clock
|
|
47
|
-
* @category Instructions
|
|
48
|
-
* @category RedeemDriftS1
|
|
49
|
-
* @category generated
|
|
50
|
-
*/
|
|
51
|
-
export type RedeemDriftS1InstructionAccounts = {
|
|
52
|
-
user: web3.PublicKey;
|
|
53
|
-
main: web3.PublicKey;
|
|
54
|
-
usdcController: web3.PublicKey;
|
|
55
|
-
adminPermissions?: web3.PublicKey;
|
|
56
|
-
userReceiptAta: web3.PublicKey;
|
|
57
|
-
userUsdcAta: web3.PublicKey;
|
|
58
|
-
controllerUsdcAta: web3.PublicKey;
|
|
59
|
-
receiptMint: web3.PublicKey;
|
|
60
|
-
drift: web3.PublicKey;
|
|
61
|
-
state: web3.PublicKey;
|
|
62
|
-
userStats: web3.PublicKey;
|
|
63
|
-
referrerUserStats: web3.PublicKey;
|
|
64
|
-
referrerUser: web3.PublicKey;
|
|
65
|
-
userAccount: web3.PublicKey;
|
|
66
|
-
spotMarketVault: web3.PublicKey;
|
|
67
|
-
driftVault: web3.PublicKey;
|
|
68
|
-
tokenProgram?: web3.PublicKey;
|
|
69
|
-
systemProgram?: web3.PublicKey;
|
|
70
|
-
clock: web3.PublicKey;
|
|
71
|
-
anchorRemainingAccounts?: web3.AccountMeta[];
|
|
72
|
-
};
|
|
73
|
-
export declare const redeemDriftS1InstructionDiscriminator: number[];
|
|
74
|
-
/**
|
|
75
|
-
* Creates a _RedeemDriftS1_ instruction.
|
|
76
|
-
*
|
|
77
|
-
* Optional accounts that are not provided default to the program ID since
|
|
78
|
-
* this was indicated in the IDL from which this instruction was generated.
|
|
79
|
-
*
|
|
80
|
-
* @param accounts that will be accessed while the instruction is processed
|
|
81
|
-
* @param args to provide as instruction data to the program
|
|
82
|
-
*
|
|
83
|
-
* @category Instructions
|
|
84
|
-
* @category RedeemDriftS1
|
|
85
|
-
* @category generated
|
|
86
|
-
*/
|
|
87
|
-
export declare function createRedeemDriftS1Instruction(accounts: RedeemDriftS1InstructionAccounts, args: RedeemDriftS1InstructionArgs, programId?: web3.PublicKey): web3.TransactionInstruction;
|
|
@@ -1,87 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This code was GENERATED using the solita package.
|
|
3
|
-
* Please DO NOT EDIT THIS FILE, instead rerun solita to update it or write a wrapper to add functionality.
|
|
4
|
-
*
|
|
5
|
-
* See: https://github.com/metaplex-foundation/solita
|
|
6
|
-
*/
|
|
7
|
-
import * as beet from '@metaplex-foundation/beet';
|
|
8
|
-
import * as web3 from '@solana/web3.js';
|
|
9
|
-
/**
|
|
10
|
-
* @category Instructions
|
|
11
|
-
* @category RedeemDriftS3
|
|
12
|
-
* @category generated
|
|
13
|
-
*/
|
|
14
|
-
export type RedeemDriftS3InstructionArgs = {
|
|
15
|
-
rusdBurnAmount: beet.bignum;
|
|
16
|
-
minLstRedeem: beet.bignum;
|
|
17
|
-
canChill: boolean;
|
|
18
|
-
};
|
|
19
|
-
/**
|
|
20
|
-
* @category Instructions
|
|
21
|
-
* @category RedeemDriftS3
|
|
22
|
-
* @category generated
|
|
23
|
-
*/
|
|
24
|
-
export declare const redeemDriftS3Struct: beet.BeetArgsStruct<RedeemDriftS3InstructionArgs & {
|
|
25
|
-
instructionDiscriminator: number[];
|
|
26
|
-
}>;
|
|
27
|
-
/**
|
|
28
|
-
* Accounts required by the _redeemDriftS3_ instruction
|
|
29
|
-
*
|
|
30
|
-
* @property [_writable_, **signer**] user
|
|
31
|
-
* @property [_writable_] main
|
|
32
|
-
* @property [_writable_] lstController
|
|
33
|
-
* @property [] adminPermissions (optional)
|
|
34
|
-
* @property [_writable_] userLstAta
|
|
35
|
-
* @property [_writable_] controllerLstAta
|
|
36
|
-
* @property [_writable_] userReflectAta
|
|
37
|
-
* @property [_writable_] stableMint
|
|
38
|
-
* @property [] drift
|
|
39
|
-
* @property [_writable_] state
|
|
40
|
-
* @property [_writable_] userStats
|
|
41
|
-
* @property [_writable_] referrerUserStats
|
|
42
|
-
* @property [_writable_] referrerUser
|
|
43
|
-
* @property [_writable_] userAccount
|
|
44
|
-
* @property [_writable_] spotMarketVault
|
|
45
|
-
* @property [_writable_] driftVault
|
|
46
|
-
* @property [] clock
|
|
47
|
-
* @category Instructions
|
|
48
|
-
* @category RedeemDriftS3
|
|
49
|
-
* @category generated
|
|
50
|
-
*/
|
|
51
|
-
export type RedeemDriftS3InstructionAccounts = {
|
|
52
|
-
user: web3.PublicKey;
|
|
53
|
-
main: web3.PublicKey;
|
|
54
|
-
lstController: web3.PublicKey;
|
|
55
|
-
adminPermissions?: web3.PublicKey;
|
|
56
|
-
userLstAta: web3.PublicKey;
|
|
57
|
-
controllerLstAta: web3.PublicKey;
|
|
58
|
-
userReflectAta: web3.PublicKey;
|
|
59
|
-
stableMint: web3.PublicKey;
|
|
60
|
-
drift: web3.PublicKey;
|
|
61
|
-
state: web3.PublicKey;
|
|
62
|
-
userStats: web3.PublicKey;
|
|
63
|
-
referrerUserStats: web3.PublicKey;
|
|
64
|
-
referrerUser: web3.PublicKey;
|
|
65
|
-
userAccount: web3.PublicKey;
|
|
66
|
-
spotMarketVault: web3.PublicKey;
|
|
67
|
-
driftVault: web3.PublicKey;
|
|
68
|
-
tokenProgram?: web3.PublicKey;
|
|
69
|
-
systemProgram?: web3.PublicKey;
|
|
70
|
-
clock: web3.PublicKey;
|
|
71
|
-
anchorRemainingAccounts?: web3.AccountMeta[];
|
|
72
|
-
};
|
|
73
|
-
export declare const redeemDriftS3InstructionDiscriminator: number[];
|
|
74
|
-
/**
|
|
75
|
-
* Creates a _RedeemDriftS3_ instruction.
|
|
76
|
-
*
|
|
77
|
-
* Optional accounts that are not provided default to the program ID since
|
|
78
|
-
* this was indicated in the IDL from which this instruction was generated.
|
|
79
|
-
*
|
|
80
|
-
* @param accounts that will be accessed while the instruction is processed
|
|
81
|
-
* @param args to provide as instruction data to the program
|
|
82
|
-
*
|
|
83
|
-
* @category Instructions
|
|
84
|
-
* @category RedeemDriftS3
|
|
85
|
-
* @category generated
|
|
86
|
-
*/
|
|
87
|
-
export declare function createRedeemDriftS3Instruction(accounts: RedeemDriftS3InstructionAccounts, args: RedeemDriftS3InstructionArgs, programId?: web3.PublicKey): web3.TransactionInstruction;
|