@reflectmoney/stable.ts 1.1.1 → 1.1.3
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/index.js +1 -0
- 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,55 +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 UpdateRebalanceSlippage
|
|
12
|
-
* @category generated
|
|
13
|
-
*/
|
|
14
|
-
export type UpdateRebalanceSlippageInstructionArgs = {
|
|
15
|
-
slippage: number;
|
|
16
|
-
};
|
|
17
|
-
/**
|
|
18
|
-
* @category Instructions
|
|
19
|
-
* @category UpdateRebalanceSlippage
|
|
20
|
-
* @category generated
|
|
21
|
-
*/
|
|
22
|
-
export declare const updateRebalanceSlippageStruct: beet.BeetArgsStruct<UpdateRebalanceSlippageInstructionArgs & {
|
|
23
|
-
instructionDiscriminator: number[];
|
|
24
|
-
}>;
|
|
25
|
-
/**
|
|
26
|
-
* Accounts required by the _updateRebalanceSlippage_ instruction
|
|
27
|
-
*
|
|
28
|
-
* @property [_writable_] main
|
|
29
|
-
* @property [_writable_, **signer**] admin
|
|
30
|
-
* @property [_writable_] strategy
|
|
31
|
-
* @property [_writable_] adminPermissions
|
|
32
|
-
* @category Instructions
|
|
33
|
-
* @category UpdateRebalanceSlippage
|
|
34
|
-
* @category generated
|
|
35
|
-
*/
|
|
36
|
-
export type UpdateRebalanceSlippageInstructionAccounts = {
|
|
37
|
-
main: web3.PublicKey;
|
|
38
|
-
admin: web3.PublicKey;
|
|
39
|
-
systemProgram?: web3.PublicKey;
|
|
40
|
-
strategy: web3.PublicKey;
|
|
41
|
-
adminPermissions: web3.PublicKey;
|
|
42
|
-
anchorRemainingAccounts?: web3.AccountMeta[];
|
|
43
|
-
};
|
|
44
|
-
export declare const updateRebalanceSlippageInstructionDiscriminator: number[];
|
|
45
|
-
/**
|
|
46
|
-
* Creates a _UpdateRebalanceSlippage_ instruction.
|
|
47
|
-
*
|
|
48
|
-
* @param accounts that will be accessed while the instruction is processed
|
|
49
|
-
* @param args to provide as instruction data to the program
|
|
50
|
-
*
|
|
51
|
-
* @category Instructions
|
|
52
|
-
* @category UpdateRebalanceSlippage
|
|
53
|
-
* @category generated
|
|
54
|
-
*/
|
|
55
|
-
export declare function createUpdateRebalanceSlippageInstruction(accounts: UpdateRebalanceSlippageInstructionAccounts, args: UpdateRebalanceSlippageInstructionArgs, programId?: web3.PublicKey): web3.TransactionInstruction;
|
|
@@ -1,56 +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 UpdateRecipients
|
|
12
|
-
* @category generated
|
|
13
|
-
*/
|
|
14
|
-
export type UpdateRecipientsInstructionArgs = {
|
|
15
|
-
recipientAddresses: web3.PublicKey[];
|
|
16
|
-
recipientCuts: number[];
|
|
17
|
-
};
|
|
18
|
-
/**
|
|
19
|
-
* @category Instructions
|
|
20
|
-
* @category UpdateRecipients
|
|
21
|
-
* @category generated
|
|
22
|
-
*/
|
|
23
|
-
export declare const updateRecipientsStruct: beet.FixableBeetArgsStruct<UpdateRecipientsInstructionArgs & {
|
|
24
|
-
instructionDiscriminator: number[];
|
|
25
|
-
}>;
|
|
26
|
-
/**
|
|
27
|
-
* Accounts required by the _updateRecipients_ instruction
|
|
28
|
-
*
|
|
29
|
-
* @property [_writable_] main
|
|
30
|
-
* @property [_writable_, **signer**] admin
|
|
31
|
-
* @property [_writable_] strategy
|
|
32
|
-
* @property [_writable_] adminPermissions
|
|
33
|
-
* @category Instructions
|
|
34
|
-
* @category UpdateRecipients
|
|
35
|
-
* @category generated
|
|
36
|
-
*/
|
|
37
|
-
export type UpdateRecipientsInstructionAccounts = {
|
|
38
|
-
main: web3.PublicKey;
|
|
39
|
-
admin: web3.PublicKey;
|
|
40
|
-
systemProgram?: web3.PublicKey;
|
|
41
|
-
strategy: web3.PublicKey;
|
|
42
|
-
adminPermissions: web3.PublicKey;
|
|
43
|
-
anchorRemainingAccounts?: web3.AccountMeta[];
|
|
44
|
-
};
|
|
45
|
-
export declare const updateRecipientsInstructionDiscriminator: number[];
|
|
46
|
-
/**
|
|
47
|
-
* Creates a _UpdateRecipients_ instruction.
|
|
48
|
-
*
|
|
49
|
-
* @param accounts that will be accessed while the instruction is processed
|
|
50
|
-
* @param args to provide as instruction data to the program
|
|
51
|
-
*
|
|
52
|
-
* @category Instructions
|
|
53
|
-
* @category UpdateRecipients
|
|
54
|
-
* @category generated
|
|
55
|
-
*/
|
|
56
|
-
export declare function createUpdateRecipientsInstruction(accounts: UpdateRecipientsInstructionAccounts, args: UpdateRecipientsInstructionArgs, programId?: web3.PublicKey): web3.TransactionInstruction;
|
|
@@ -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 beet from '@metaplex-foundation/beet';
|
|
8
|
-
import * as web3 from '@solana/web3.js';
|
|
9
|
-
import { Role } from '../types/Role';
|
|
10
|
-
import { Update } from '../types/Update';
|
|
11
|
-
/**
|
|
12
|
-
* @category Instructions
|
|
13
|
-
* @category UpdateRoleHolderProtocol
|
|
14
|
-
* @category generated
|
|
15
|
-
*/
|
|
16
|
-
export type UpdateRoleHolderProtocolInstructionArgs = {
|
|
17
|
-
accessLevel: Role;
|
|
18
|
-
update: Update;
|
|
19
|
-
};
|
|
20
|
-
/**
|
|
21
|
-
* @category Instructions
|
|
22
|
-
* @category UpdateRoleHolderProtocol
|
|
23
|
-
* @category generated
|
|
24
|
-
*/
|
|
25
|
-
export declare const updateRoleHolderProtocolStruct: beet.BeetArgsStruct<UpdateRoleHolderProtocolInstructionArgs & {
|
|
26
|
-
instructionDiscriminator: number[];
|
|
27
|
-
}>;
|
|
28
|
-
/**
|
|
29
|
-
* Accounts required by the _updateRoleHolderProtocol_ instruction
|
|
30
|
-
*
|
|
31
|
-
* @property [_writable_, **signer**] admin
|
|
32
|
-
* @property [] main
|
|
33
|
-
* @property [_writable_] adminPermissions
|
|
34
|
-
* @property [_writable_] updateAdminPermissions
|
|
35
|
-
* @property [_writable_] strategy
|
|
36
|
-
* @category Instructions
|
|
37
|
-
* @category UpdateRoleHolderProtocol
|
|
38
|
-
* @category generated
|
|
39
|
-
*/
|
|
40
|
-
export type UpdateRoleHolderProtocolInstructionAccounts = {
|
|
41
|
-
admin: web3.PublicKey;
|
|
42
|
-
main: web3.PublicKey;
|
|
43
|
-
adminPermissions: web3.PublicKey;
|
|
44
|
-
updateAdminPermissions: web3.PublicKey;
|
|
45
|
-
strategy: web3.PublicKey;
|
|
46
|
-
systemProgram?: web3.PublicKey;
|
|
47
|
-
anchorRemainingAccounts?: web3.AccountMeta[];
|
|
48
|
-
};
|
|
49
|
-
export declare const updateRoleHolderProtocolInstructionDiscriminator: number[];
|
|
50
|
-
/**
|
|
51
|
-
* Creates a _UpdateRoleHolderProtocol_ 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 UpdateRoleHolderProtocol
|
|
58
|
-
* @category generated
|
|
59
|
-
*/
|
|
60
|
-
export declare function createUpdateRoleHolderProtocolInstruction(accounts: UpdateRoleHolderProtocolInstructionAccounts, args: UpdateRoleHolderProtocolInstructionArgs, programId?: web3.PublicKey): web3.TransactionInstruction;
|
|
@@ -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 beet from '@metaplex-foundation/beet';
|
|
8
|
-
import * as web3 from '@solana/web3.js';
|
|
9
|
-
import { Role } from '../types/Role';
|
|
10
|
-
import { Update } from '../types/Update';
|
|
11
|
-
/**
|
|
12
|
-
* @category Instructions
|
|
13
|
-
* @category UpdateRoleHolderStrategy
|
|
14
|
-
* @category generated
|
|
15
|
-
*/
|
|
16
|
-
export type UpdateRoleHolderStrategyInstructionArgs = {
|
|
17
|
-
role: Role;
|
|
18
|
-
update: Update;
|
|
19
|
-
};
|
|
20
|
-
/**
|
|
21
|
-
* @category Instructions
|
|
22
|
-
* @category UpdateRoleHolderStrategy
|
|
23
|
-
* @category generated
|
|
24
|
-
*/
|
|
25
|
-
export declare const updateRoleHolderStrategyStruct: beet.BeetArgsStruct<UpdateRoleHolderStrategyInstructionArgs & {
|
|
26
|
-
instructionDiscriminator: number[];
|
|
27
|
-
}>;
|
|
28
|
-
/**
|
|
29
|
-
* Accounts required by the _updateRoleHolderStrategy_ instruction
|
|
30
|
-
*
|
|
31
|
-
* @property [_writable_, **signer**] admin
|
|
32
|
-
* @property [] main
|
|
33
|
-
* @property [_writable_] adminPermissions
|
|
34
|
-
* @property [_writable_] updateAdminPermissions
|
|
35
|
-
* @property [_writable_] strategy
|
|
36
|
-
* @category Instructions
|
|
37
|
-
* @category UpdateRoleHolderStrategy
|
|
38
|
-
* @category generated
|
|
39
|
-
*/
|
|
40
|
-
export type UpdateRoleHolderStrategyInstructionAccounts = {
|
|
41
|
-
admin: web3.PublicKey;
|
|
42
|
-
main: web3.PublicKey;
|
|
43
|
-
adminPermissions: web3.PublicKey;
|
|
44
|
-
updateAdminPermissions: web3.PublicKey;
|
|
45
|
-
strategy: web3.PublicKey;
|
|
46
|
-
systemProgram?: web3.PublicKey;
|
|
47
|
-
anchorRemainingAccounts?: web3.AccountMeta[];
|
|
48
|
-
};
|
|
49
|
-
export declare const updateRoleHolderStrategyInstructionDiscriminator: number[];
|
|
50
|
-
/**
|
|
51
|
-
* Creates a _UpdateRoleHolderStrategy_ 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 UpdateRoleHolderStrategy
|
|
58
|
-
* @category generated
|
|
59
|
-
*/
|
|
60
|
-
export declare function createUpdateRoleHolderStrategyInstruction(accounts: UpdateRoleHolderStrategyInstructionAccounts, args: UpdateRoleHolderStrategyInstructionArgs, programId?: web3.PublicKey): web3.TransactionInstruction;
|
|
@@ -1,102 +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
|
-
import { HistoricalOracleData } from './HistoricalOracleData';
|
|
10
|
-
import { PoolBalance } from './PoolBalance';
|
|
11
|
-
import { OracleSource } from './OracleSource';
|
|
12
|
-
export type AMM = {
|
|
13
|
-
oracle: web3.PublicKey;
|
|
14
|
-
historicalOracleData: HistoricalOracleData;
|
|
15
|
-
baseAssetAmountPerLp: beet.bignum;
|
|
16
|
-
quoteAssetAmountPerLp: beet.bignum;
|
|
17
|
-
feePool: PoolBalance;
|
|
18
|
-
baseAssetReserve: beet.bignum;
|
|
19
|
-
quoteAssetReserve: beet.bignum;
|
|
20
|
-
concentrationCoef: beet.bignum;
|
|
21
|
-
minBaseAssetReserve: beet.bignum;
|
|
22
|
-
maxBaseAssetReserve: beet.bignum;
|
|
23
|
-
sqrtK: beet.bignum;
|
|
24
|
-
pegMultiplier: beet.bignum;
|
|
25
|
-
terminalQuoteAssetReserve: beet.bignum;
|
|
26
|
-
baseAssetAmountLong: beet.bignum;
|
|
27
|
-
baseAssetAmountShort: beet.bignum;
|
|
28
|
-
baseAssetAmountWithAmm: beet.bignum;
|
|
29
|
-
baseAssetAmountWithUnsettledLp: beet.bignum;
|
|
30
|
-
maxOpenInterest: beet.bignum;
|
|
31
|
-
quoteAssetAmount: beet.bignum;
|
|
32
|
-
quoteEntryAmountLong: beet.bignum;
|
|
33
|
-
quoteEntryAmountShort: beet.bignum;
|
|
34
|
-
quoteBreakEvenAmountLong: beet.bignum;
|
|
35
|
-
quoteBreakEvenAmountShort: beet.bignum;
|
|
36
|
-
userLpShares: beet.bignum;
|
|
37
|
-
lastFundingRate: beet.bignum;
|
|
38
|
-
lastFundingRateLong: beet.bignum;
|
|
39
|
-
lastFundingRateShort: beet.bignum;
|
|
40
|
-
last24hAvgFundingRate: beet.bignum;
|
|
41
|
-
totalFee: beet.bignum;
|
|
42
|
-
totalMmFee: beet.bignum;
|
|
43
|
-
totalExchangeFee: beet.bignum;
|
|
44
|
-
totalFeeMinusDistributions: beet.bignum;
|
|
45
|
-
totalFeeWithdrawn: beet.bignum;
|
|
46
|
-
totalLiquidationFee: beet.bignum;
|
|
47
|
-
cumulativeFundingRateLong: beet.bignum;
|
|
48
|
-
cumulativeFundingRateShort: beet.bignum;
|
|
49
|
-
totalSocialLoss: beet.bignum;
|
|
50
|
-
askBaseAssetReserve: beet.bignum;
|
|
51
|
-
askQuoteAssetReserve: beet.bignum;
|
|
52
|
-
bidBaseAssetReserve: beet.bignum;
|
|
53
|
-
bidQuoteAssetReserve: beet.bignum;
|
|
54
|
-
lastOracleNormalisedPrice: beet.bignum;
|
|
55
|
-
lastOracleReservePriceSpreadPct: beet.bignum;
|
|
56
|
-
lastBidPriceTwap: beet.bignum;
|
|
57
|
-
lastAskPriceTwap: beet.bignum;
|
|
58
|
-
lastMarkPriceTwap: beet.bignum;
|
|
59
|
-
lastMarkPriceTwap5min: beet.bignum;
|
|
60
|
-
lastUpdateSlot: beet.bignum;
|
|
61
|
-
lastOracleConfPct: beet.bignum;
|
|
62
|
-
netRevenueSinceLastFunding: beet.bignum;
|
|
63
|
-
lastFundingRateTs: beet.bignum;
|
|
64
|
-
fundingPeriod: beet.bignum;
|
|
65
|
-
orderStepSize: beet.bignum;
|
|
66
|
-
orderTickSize: beet.bignum;
|
|
67
|
-
minOrderSize: beet.bignum;
|
|
68
|
-
maxPositionSize: beet.bignum;
|
|
69
|
-
volume24h: beet.bignum;
|
|
70
|
-
longIntensityVolume: beet.bignum;
|
|
71
|
-
shortIntensityVolume: beet.bignum;
|
|
72
|
-
lastTradeTs: beet.bignum;
|
|
73
|
-
markStd: beet.bignum;
|
|
74
|
-
oracleStd: beet.bignum;
|
|
75
|
-
lastMarkPriceTwapTs: beet.bignum;
|
|
76
|
-
baseSpread: number;
|
|
77
|
-
maxSpread: number;
|
|
78
|
-
longSpread: number;
|
|
79
|
-
shortSpread: number;
|
|
80
|
-
longIntensityCount: number;
|
|
81
|
-
shortIntensityCount: number;
|
|
82
|
-
maxFillReserveFraction: number;
|
|
83
|
-
maxSlippageRatio: number;
|
|
84
|
-
curveUpdateIntensity: number;
|
|
85
|
-
ammJitIntensity: number;
|
|
86
|
-
oracleSource: OracleSource;
|
|
87
|
-
lastOracleValid: boolean;
|
|
88
|
-
targetBaseAssetAmountPerLp: number;
|
|
89
|
-
perLpBase: number;
|
|
90
|
-
padding1: number;
|
|
91
|
-
padding2: number;
|
|
92
|
-
totalFeeEarnedPerLp: beet.bignum;
|
|
93
|
-
netUnsettledFundingPnl: beet.bignum;
|
|
94
|
-
quoteAssetAmountWithUnsettledLp: beet.bignum;
|
|
95
|
-
referencePriceOffset: number;
|
|
96
|
-
padding: number[];
|
|
97
|
-
};
|
|
98
|
-
/**
|
|
99
|
-
* @category userTypes
|
|
100
|
-
* @category generated
|
|
101
|
-
*/
|
|
102
|
-
export declare const aMMBeet: beet.BeetArgsStruct<AMM>;
|
|
@@ -1,15 +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
|
-
export type AccKey = {
|
|
9
|
-
val: number[];
|
|
10
|
-
};
|
|
11
|
-
/**
|
|
12
|
-
* @category userTypes
|
|
13
|
-
* @category generated
|
|
14
|
-
*/
|
|
15
|
-
export declare const accKeyBeet: beet.BeetArgsStruct<AccKey>;
|
|
@@ -1,18 +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 { AccessMap } from './AccessMap';
|
|
9
|
-
import { KillSwitch } from './KillSwitch';
|
|
10
|
-
export type AccessControl = {
|
|
11
|
-
accessMap: AccessMap;
|
|
12
|
-
killswitch: KillSwitch;
|
|
13
|
-
};
|
|
14
|
-
/**
|
|
15
|
-
* @category userTypes
|
|
16
|
-
* @category generated
|
|
17
|
-
*/
|
|
18
|
-
export declare const accessControlBeet: beet.BeetArgsStruct<AccessControl>;
|
|
@@ -1,17 +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 { ActionMapping } from './ActionMapping';
|
|
9
|
-
export type AccessMap = {
|
|
10
|
-
actionPermissions: ActionMapping[];
|
|
11
|
-
mappingCount: number;
|
|
12
|
-
};
|
|
13
|
-
/**
|
|
14
|
-
* @category userTypes
|
|
15
|
-
* @category generated
|
|
16
|
-
*/
|
|
17
|
-
export declare const accessMapBeet: beet.BeetArgsStruct<AccessMap>;
|
|
@@ -1,35 +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
|
-
/**
|
|
9
|
-
* @category enums
|
|
10
|
-
* @category generated
|
|
11
|
-
*/
|
|
12
|
-
export declare enum Action {
|
|
13
|
-
Mint = 0,
|
|
14
|
-
Redeem = 1,
|
|
15
|
-
Rebalance = 2,
|
|
16
|
-
Capture = 3,
|
|
17
|
-
FreezeMint = 4,
|
|
18
|
-
FreezeRedeem = 5,
|
|
19
|
-
FreezeRebalance = 6,
|
|
20
|
-
FreezeCapture = 7,
|
|
21
|
-
UpdateCap = 8,
|
|
22
|
-
AddSpl = 9,
|
|
23
|
-
Management = 10,
|
|
24
|
-
SuspendDeposits = 11,
|
|
25
|
-
UpdateRecipients = 12,
|
|
26
|
-
FreezeProgram = 13,
|
|
27
|
-
UpdateRole = 14,
|
|
28
|
-
UpdateAction = 15,
|
|
29
|
-
UpdateAttenuation = 16
|
|
30
|
-
}
|
|
31
|
-
/**
|
|
32
|
-
* @category userTypes
|
|
33
|
-
* @category generated
|
|
34
|
-
*/
|
|
35
|
-
export declare const actionBeet: beet.FixedSizeBeet<Action, Action>;
|
|
@@ -1,19 +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 { Action } from './Action';
|
|
9
|
-
import { Role } from './Role';
|
|
10
|
-
export type ActionMapping = {
|
|
11
|
-
action: Action;
|
|
12
|
-
allowedRoles: Role[];
|
|
13
|
-
roleCount: number;
|
|
14
|
-
};
|
|
15
|
-
/**
|
|
16
|
-
* @category userTypes
|
|
17
|
-
* @category generated
|
|
18
|
-
*/
|
|
19
|
-
export declare const actionMappingBeet: beet.BeetArgsStruct<ActionMapping>;
|
|
@@ -1,23 +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
|
-
/**
|
|
9
|
-
* @category enums
|
|
10
|
-
* @category generated
|
|
11
|
-
*/
|
|
12
|
-
export declare enum AssetTier {
|
|
13
|
-
Collateral = 0,
|
|
14
|
-
Protected = 1,
|
|
15
|
-
Cross = 2,
|
|
16
|
-
Isolated = 3,
|
|
17
|
-
Unlisted = 4
|
|
18
|
-
}
|
|
19
|
-
/**
|
|
20
|
-
* @category userTypes
|
|
21
|
-
* @category generated
|
|
22
|
-
*/
|
|
23
|
-
export declare const assetTierBeet: beet.FixedSizeBeet<AssetTier, AssetTier>;
|
|
@@ -1,16 +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
|
-
export type Attenuation = {
|
|
9
|
-
baseScaling: number;
|
|
10
|
-
conditionalScaling: number;
|
|
11
|
-
};
|
|
12
|
-
/**
|
|
13
|
-
* @category userTypes
|
|
14
|
-
* @category generated
|
|
15
|
-
*/
|
|
16
|
-
export declare const attenuationBeet: beet.BeetArgsStruct<Attenuation>;
|
|
@@ -1,20 +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
|
-
/**
|
|
9
|
-
* @category enums
|
|
10
|
-
* @category generated
|
|
11
|
-
*/
|
|
12
|
-
export declare enum BalanceType {
|
|
13
|
-
DEPOSIT = 0,
|
|
14
|
-
BORROW = 1
|
|
15
|
-
}
|
|
16
|
-
/**
|
|
17
|
-
* @category userTypes
|
|
18
|
-
* @category generated
|
|
19
|
-
*/
|
|
20
|
-
export declare const balanceTypeBeet: beet.FixedSizeBeet<BalanceType, BalanceType>;
|
|
@@ -1,17 +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
|
-
export type Capture = {
|
|
9
|
-
minCaptureValue: beet.bignum;
|
|
10
|
-
captureInterval: beet.bignum;
|
|
11
|
-
lastCaptureTimestamp: beet.bignum;
|
|
12
|
-
};
|
|
13
|
-
/**
|
|
14
|
-
* @category userTypes
|
|
15
|
-
* @category generated
|
|
16
|
-
*/
|
|
17
|
-
export declare const captureBeet: beet.BeetArgsStruct<Capture>;
|
|
@@ -1,24 +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
|
-
/**
|
|
9
|
-
* @category enums
|
|
10
|
-
* @category generated
|
|
11
|
-
*/
|
|
12
|
-
export declare enum ContractTier {
|
|
13
|
-
A = 0,
|
|
14
|
-
B = 1,
|
|
15
|
-
C = 2,
|
|
16
|
-
Speculative = 3,
|
|
17
|
-
HighlySpeculative = 4,
|
|
18
|
-
Isolated = 5
|
|
19
|
-
}
|
|
20
|
-
/**
|
|
21
|
-
* @category userTypes
|
|
22
|
-
* @category generated
|
|
23
|
-
*/
|
|
24
|
-
export declare const contractTierBeet: beet.FixedSizeBeet<ContractTier, ContractTier>;
|
|
@@ -1,20 +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
|
-
/**
|
|
9
|
-
* @category enums
|
|
10
|
-
* @category generated
|
|
11
|
-
*/
|
|
12
|
-
export declare enum ContractType {
|
|
13
|
-
Perpetual = 0,
|
|
14
|
-
Future = 1
|
|
15
|
-
}
|
|
16
|
-
/**
|
|
17
|
-
* @category userTypes
|
|
18
|
-
* @category generated
|
|
19
|
-
*/
|
|
20
|
-
export declare const contractTypeBeet: beet.FixedSizeBeet<ContractType, ContractType>;
|
|
@@ -1,19 +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
|
-
/**
|
|
9
|
-
* @category enums
|
|
10
|
-
* @category generated
|
|
11
|
-
*/
|
|
12
|
-
export declare enum CorpAction {
|
|
13
|
-
NoCorpAct = 0
|
|
14
|
-
}
|
|
15
|
-
/**
|
|
16
|
-
* @category userTypes
|
|
17
|
-
* @category generated
|
|
18
|
-
*/
|
|
19
|
-
export declare const corpActionBeet: beet.FixedSizeBeet<CorpAction, CorpAction>;
|
|
@@ -1,20 +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
|
-
export type CustodyInfo = {
|
|
10
|
-
mint: web3.PublicKey;
|
|
11
|
-
tokenAccount: web3.PublicKey;
|
|
12
|
-
oracle: web3.PublicKey;
|
|
13
|
-
decimals: number;
|
|
14
|
-
isStable: boolean;
|
|
15
|
-
};
|
|
16
|
-
/**
|
|
17
|
-
* @category userTypes
|
|
18
|
-
* @category generated
|
|
19
|
-
*/
|
|
20
|
-
export declare const custodyInfoBeet: beet.BeetArgsStruct<CustodyInfo>;
|
|
@@ -1,20 +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
|
-
/**
|
|
9
|
-
* @category enums
|
|
10
|
-
* @category generated
|
|
11
|
-
*/
|
|
12
|
-
export declare enum DirectionCollateral {
|
|
13
|
-
SELL = 0,
|
|
14
|
-
BUY = 1
|
|
15
|
-
}
|
|
16
|
-
/**
|
|
17
|
-
* @category userTypes
|
|
18
|
-
* @category generated
|
|
19
|
-
*/
|
|
20
|
-
export declare const directionCollateralBeet: beet.FixedSizeBeet<DirectionCollateral, DirectionCollateral>;
|
|
@@ -1,20 +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
|
-
/**
|
|
9
|
-
* @category enums
|
|
10
|
-
* @category generated
|
|
11
|
-
*/
|
|
12
|
-
export declare enum DirectionPosition {
|
|
13
|
-
INCREASE = 0,
|
|
14
|
-
DECREASE = 1
|
|
15
|
-
}
|
|
16
|
-
/**
|
|
17
|
-
* @category userTypes
|
|
18
|
-
* @category generated
|
|
19
|
-
*/
|
|
20
|
-
export declare const directionPositionBeet: beet.FixedSizeBeet<DirectionPosition, DirectionPosition>;
|
|
@@ -1,15 +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
|
-
export type DriftControllerBase = {
|
|
9
|
-
lastActiveSlot: beet.bignum;
|
|
10
|
-
};
|
|
11
|
-
/**
|
|
12
|
-
* @category userTypes
|
|
13
|
-
* @category generated
|
|
14
|
-
*/
|
|
15
|
-
export declare const driftControllerBaseBeet: beet.BeetArgsStruct<DriftControllerBase>;
|