@reflectmoney/stable.ts 1.1.4 → 1.1.6
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/ApiClient.d.ts +30 -2
- package/dist/classes/ApiClient.js +24 -2
- package/dist/classes/ReflectKeeper.d.ts +1 -1
- package/dist/classes/ReflectKeeper.js +4 -3
- package/dist/classes/Stablecoin.d.ts +1 -1
- package/dist/classes/Stablecoin.js +2 -0
- package/dist/classes/index.d.ts +1 -0
- package/dist/classes/index.js +1 -0
- package/dist/constants/lookupTables.js +1 -1
- package/dist/generated/reflect_main/accounts/DriftJlpController.js +1 -1
- package/dist/generated/reflect_main/accounts/DriftLstController.js +1 -1
- package/dist/generated/reflect_main/accounts/DriftUsdcController.d.ts +6 -25
- package/dist/generated/reflect_main/accounts/DriftUsdcController.js +8 -60
- package/dist/generated/reflect_main/accounts/Main.js +1 -1
- package/dist/generated/reflect_main/accounts/PerpMarket.js +1 -1
- package/dist/generated/reflect_main/accounts/PrelaunchOracle.js +1 -1
- package/dist/generated/reflect_main/accounts/PythLazerOracle.js +1 -1
- package/dist/generated/reflect_main/accounts/RebalanceLst.js +1 -1
- package/dist/generated/reflect_main/accounts/SpotMarket.js +1 -1
- package/dist/generated/reflect_main/accounts/User.js +1 -1
- package/dist/generated/reflect_main/accounts/UserPermissions.js +1 -1
- package/dist/generated/reflect_main/accounts/UserStats.js +1 -1
- package/dist/generated/reflect_main/errors/index.d.ts +14 -14
- package/dist/generated/reflect_main/errors/index.js +133 -133
- package/dist/generated/reflect_main/index.d.ts +1 -1
- package/dist/generated/reflect_main/index.js +1 -1
- package/dist/generated/reflect_main/instructions/addLstDrift.js +1 -1
- package/dist/generated/reflect_main/instructions/addSubAccount.js +1 -1
- package/dist/generated/reflect_main/instructions/captureSpreadDrift.d.ts +2 -2
- package/dist/generated/reflect_main/instructions/captureSpreadDrift.js +3 -3
- package/dist/generated/reflect_main/instructions/createAdminAccount.d.ts +1 -0
- package/dist/generated/reflect_main/instructions/createAdminAccount.js +2 -1
- package/dist/generated/reflect_main/instructions/createUserStatsAccount.js +1 -1
- package/dist/generated/reflect_main/instructions/depositDrift.js +1 -1
- package/dist/generated/reflect_main/instructions/freezeProgram.js +1 -1
- package/dist/generated/reflect_main/instructions/freezeProtocolAction.js +1 -1
- package/dist/generated/reflect_main/instructions/freezeStrategyAction.js +1 -1
- package/dist/generated/reflect_main/instructions/increaseAdminSize.d.ts +51 -0
- package/dist/generated/reflect_main/instructions/increaseAdminSize.js +89 -0
- package/dist/generated/reflect_main/instructions/index.d.ts +1 -1
- package/dist/generated/reflect_main/instructions/index.js +1 -1
- package/dist/generated/reflect_main/instructions/initDriftAccountsS1.js +1 -1
- package/dist/generated/reflect_main/instructions/initDriftControllerS1.js +1 -1
- package/dist/generated/reflect_main/instructions/initDriftControllerS3.js +1 -1
- package/dist/generated/reflect_main/instructions/initMain.js +1 -1
- package/dist/generated/reflect_main/instructions/mintDriftS1.js +1 -1
- package/dist/generated/reflect_main/instructions/mintDriftS3.js +1 -1
- package/dist/generated/reflect_main/instructions/processSwapDeposit.js +1 -1
- package/dist/generated/reflect_main/instructions/processSwapWithdraw.js +1 -1
- package/dist/generated/reflect_main/instructions/redeemDriftS1.js +1 -1
- package/dist/generated/reflect_main/instructions/redeemDriftS3.js +1 -1
- package/dist/generated/reflect_main/instructions/settlePnl.d.ts +0 -5
- package/dist/generated/reflect_main/instructions/settlePnl.js +1 -10
- package/dist/generated/reflect_main/instructions/settlePnlMulti.d.ts +0 -5
- package/dist/generated/reflect_main/instructions/settlePnlMulti.js +1 -10
- package/dist/generated/reflect_main/instructions/suspendSplProtocol.js +1 -1
- package/dist/generated/reflect_main/instructions/suspendSplStrategy.js +1 -1
- package/dist/generated/reflect_main/instructions/swapOrca.js +1 -1
- package/dist/generated/reflect_main/instructions/swapOrcaTwoHop.js +1 -1
- package/dist/generated/reflect_main/instructions/updateActionRoleProtocol.js +1 -1
- package/dist/generated/reflect_main/instructions/updateActionRoleStrategy.js +1 -1
- package/dist/generated/reflect_main/instructions/updateAttenuation.js +1 -1
- package/dist/generated/reflect_main/instructions/updateCap.js +1 -1
- package/dist/generated/reflect_main/instructions/updateRebalanceSlippage.js +1 -1
- package/dist/generated/reflect_main/instructions/updateRecipients.js +1 -1
- package/dist/generated/reflect_main/instructions/updateRoleHolderProtocol.js +1 -1
- package/dist/generated/reflect_main/instructions/updateRoleHolderStrategy.js +1 -1
- package/dist/generated/reflect_main/types/AutoCompound.d.ts +18 -0
- package/dist/generated/reflect_main/types/AutoCompound.js +43 -0
- package/dist/generated/reflect_main/types/Capture.d.ts +2 -0
- package/dist/generated/reflect_main/types/Capture.js +2 -0
- package/dist/generated/reflect_main/types/OrderParams.d.ts +1 -1
- package/dist/generated/reflect_main/types/OrderParams.js +1 -1
- package/dist/generated/reflect_main/types/Strategy.d.ts +2 -0
- package/dist/generated/reflect_main/types/Strategy.js +2 -0
- package/dist/generated/reflect_main/types/YieldDistribution.d.ts +20 -0
- package/dist/generated/reflect_main/types/YieldDistribution.js +47 -0
- package/dist/generated/reflect_main/types/index.d.ts +2 -0
- package/dist/generated/reflect_main/types/index.js +2 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +1 -0
- package/dist/tsconfig.tsbuildinfo +1 -0
- package/dist/types/api.d.ts +212 -0
- package/package.json +2 -2
|
@@ -9,7 +9,7 @@ export * from './types';
|
|
|
9
9
|
* @category constants
|
|
10
10
|
* @category generated
|
|
11
11
|
*/
|
|
12
|
-
export declare const PROGRAM_ADDRESS = "
|
|
12
|
+
export declare const PROGRAM_ADDRESS = "rf1ctRXK4bmG5XNttAMYfB3TKd2vQjFv5cfQhDBxdAQ";
|
|
13
13
|
/**
|
|
14
14
|
* Program public key
|
|
15
15
|
*
|
|
@@ -26,7 +26,7 @@ __exportStar(require("./types"), exports);
|
|
|
26
26
|
* @category constants
|
|
27
27
|
* @category generated
|
|
28
28
|
*/
|
|
29
|
-
exports.PROGRAM_ADDRESS = '
|
|
29
|
+
exports.PROGRAM_ADDRESS = 'rf1ctRXK4bmG5XNttAMYfB3TKd2vQjFv5cfQhDBxdAQ';
|
|
30
30
|
/**
|
|
31
31
|
* Program public key
|
|
32
32
|
*
|
|
@@ -50,7 +50,7 @@ exports.addLstDriftInstructionDiscriminator = [
|
|
|
50
50
|
* @category AddLstDrift
|
|
51
51
|
* @category generated
|
|
52
52
|
*/
|
|
53
|
-
function createAddLstDriftInstruction(accounts, programId = new web3.PublicKey('
|
|
53
|
+
function createAddLstDriftInstruction(accounts, programId = new web3.PublicKey('rf1ctRXK4bmG5XNttAMYfB3TKd2vQjFv5cfQhDBxdAQ')) {
|
|
54
54
|
var _a;
|
|
55
55
|
const [data] = exports.addLstDriftStruct.serialize({
|
|
56
56
|
instructionDiscriminator: exports.addLstDriftInstructionDiscriminator,
|
|
@@ -50,7 +50,7 @@ exports.addSubAccountInstructionDiscriminator = [
|
|
|
50
50
|
* @category AddSubAccount
|
|
51
51
|
* @category generated
|
|
52
52
|
*/
|
|
53
|
-
function createAddSubAccountInstruction(accounts, programId = new web3.PublicKey('
|
|
53
|
+
function createAddSubAccountInstruction(accounts, programId = new web3.PublicKey('rf1ctRXK4bmG5XNttAMYfB3TKd2vQjFv5cfQhDBxdAQ')) {
|
|
54
54
|
var _a, _b;
|
|
55
55
|
const [data] = exports.addSubAccountStruct.serialize({
|
|
56
56
|
instructionDiscriminator: exports.addSubAccountInstructionDiscriminator,
|
|
@@ -12,7 +12,7 @@ import * as web3 from '@solana/web3.js';
|
|
|
12
12
|
* @category generated
|
|
13
13
|
*/
|
|
14
14
|
export type CaptureSpreadDriftInstructionArgs = {
|
|
15
|
-
|
|
15
|
+
flexible: beet.bignum;
|
|
16
16
|
};
|
|
17
17
|
/**
|
|
18
18
|
* @category Instructions
|
|
@@ -31,7 +31,7 @@ export declare const captureSpreadDriftStruct: beet.BeetArgsStruct<CaptureSpread
|
|
|
31
31
|
* @property [] adminPermissions (optional)
|
|
32
32
|
* @property [] drift
|
|
33
33
|
* @property [_writable_] state
|
|
34
|
-
* @property [
|
|
34
|
+
* @property [] userAccount
|
|
35
35
|
* @property [_writable_] stableMint
|
|
36
36
|
* @category Instructions
|
|
37
37
|
* @category CaptureSpreadDrift
|
|
@@ -41,7 +41,7 @@ const web3 = __importStar(require("@solana/web3.js"));
|
|
|
41
41
|
*/
|
|
42
42
|
exports.captureSpreadDriftStruct = new beet.BeetArgsStruct([
|
|
43
43
|
['instructionDiscriminator', beet.uniformFixedSizeArray(beet.u8, 8)],
|
|
44
|
-
['
|
|
44
|
+
['flexible', beet.u64],
|
|
45
45
|
], 'CaptureSpreadDriftInstructionArgs');
|
|
46
46
|
exports.captureSpreadDriftInstructionDiscriminator = [
|
|
47
47
|
43, 166, 105, 144, 16, 3, 218, 111,
|
|
@@ -59,7 +59,7 @@ exports.captureSpreadDriftInstructionDiscriminator = [
|
|
|
59
59
|
* @category CaptureSpreadDrift
|
|
60
60
|
* @category generated
|
|
61
61
|
*/
|
|
62
|
-
function createCaptureSpreadDriftInstruction(accounts, args, programId = new web3.PublicKey('
|
|
62
|
+
function createCaptureSpreadDriftInstruction(accounts, args, programId = new web3.PublicKey('rf1ctRXK4bmG5XNttAMYfB3TKd2vQjFv5cfQhDBxdAQ')) {
|
|
63
63
|
var _a, _b;
|
|
64
64
|
const [data] = exports.captureSpreadDriftStruct.serialize(Object.assign({ instructionDiscriminator: exports.captureSpreadDriftInstructionDiscriminator }, args));
|
|
65
65
|
const keys = [
|
|
@@ -95,7 +95,7 @@ function createCaptureSpreadDriftInstruction(accounts, args, programId = new web
|
|
|
95
95
|
},
|
|
96
96
|
{
|
|
97
97
|
pubkey: accounts.userAccount,
|
|
98
|
-
isWritable:
|
|
98
|
+
isWritable: false,
|
|
99
99
|
isSigner: false,
|
|
100
100
|
},
|
|
101
101
|
{
|
|
@@ -42,6 +42,7 @@ const beet = __importStar(require("@metaplex-foundation/beet"));
|
|
|
42
42
|
exports.createAdminAccountStruct = new beet.BeetArgsStruct([
|
|
43
43
|
['instructionDiscriminator', beet.uniformFixedSizeArray(beet.u8, 8)],
|
|
44
44
|
['newAdmin', beetSolana.publicKey],
|
|
45
|
+
['roles', beet.u8],
|
|
45
46
|
], 'CreateAdminAccountInstructionArgs');
|
|
46
47
|
exports.createAdminAccountInstructionDiscriminator = [
|
|
47
48
|
139, 201, 45, 194, 20, 52, 208, 219,
|
|
@@ -56,7 +57,7 @@ exports.createAdminAccountInstructionDiscriminator = [
|
|
|
56
57
|
* @category CreateAdminAccount
|
|
57
58
|
* @category generated
|
|
58
59
|
*/
|
|
59
|
-
function createCreateAdminAccountInstruction(accounts, args, programId = new web3.PublicKey('
|
|
60
|
+
function createCreateAdminAccountInstruction(accounts, args, programId = new web3.PublicKey('rf1ctRXK4bmG5XNttAMYfB3TKd2vQjFv5cfQhDBxdAQ')) {
|
|
60
61
|
var _a;
|
|
61
62
|
const [data] = exports.createAdminAccountStruct.serialize(Object.assign({ instructionDiscriminator: exports.createAdminAccountInstructionDiscriminator }, args));
|
|
62
63
|
const keys = [
|
|
@@ -50,7 +50,7 @@ exports.createUserStatsAccountInstructionDiscriminator = [
|
|
|
50
50
|
* @category CreateUserStatsAccount
|
|
51
51
|
* @category generated
|
|
52
52
|
*/
|
|
53
|
-
function createCreateUserStatsAccountInstruction(accounts, programId = new web3.PublicKey('
|
|
53
|
+
function createCreateUserStatsAccountInstruction(accounts, programId = new web3.PublicKey('rf1ctRXK4bmG5XNttAMYfB3TKd2vQjFv5cfQhDBxdAQ')) {
|
|
54
54
|
var _a, _b;
|
|
55
55
|
const [data] = exports.createUserStatsAccountStruct.serialize({
|
|
56
56
|
instructionDiscriminator: exports.createUserStatsAccountInstructionDiscriminator,
|
|
@@ -58,7 +58,7 @@ exports.depositDriftInstructionDiscriminator = [
|
|
|
58
58
|
* @category DepositDrift
|
|
59
59
|
* @category generated
|
|
60
60
|
*/
|
|
61
|
-
function createDepositDriftInstruction(accounts, args, programId = new web3.PublicKey('
|
|
61
|
+
function createDepositDriftInstruction(accounts, args, programId = new web3.PublicKey('rf1ctRXK4bmG5XNttAMYfB3TKd2vQjFv5cfQhDBxdAQ')) {
|
|
62
62
|
var _a;
|
|
63
63
|
const [data] = exports.depositDriftStruct.serialize(Object.assign({ instructionDiscriminator: exports.depositDriftInstructionDiscriminator }, args));
|
|
64
64
|
const keys = [
|
|
@@ -56,7 +56,7 @@ exports.freezeProgramInstructionDiscriminator = [
|
|
|
56
56
|
* @category FreezeProgram
|
|
57
57
|
* @category generated
|
|
58
58
|
*/
|
|
59
|
-
function createFreezeProgramInstruction(accounts, args, programId = new web3.PublicKey('
|
|
59
|
+
function createFreezeProgramInstruction(accounts, args, programId = new web3.PublicKey('rf1ctRXK4bmG5XNttAMYfB3TKd2vQjFv5cfQhDBxdAQ')) {
|
|
60
60
|
var _a;
|
|
61
61
|
const [data] = exports.freezeProgramStruct.serialize(Object.assign({ instructionDiscriminator: exports.freezeProgramInstructionDiscriminator }, args));
|
|
62
62
|
const keys = [
|
|
@@ -57,7 +57,7 @@ exports.freezeProtocolActionInstructionDiscriminator = [
|
|
|
57
57
|
* @category FreezeProtocolAction
|
|
58
58
|
* @category generated
|
|
59
59
|
*/
|
|
60
|
-
function createFreezeProtocolActionInstruction(accounts, args, programId = new web3.PublicKey('
|
|
60
|
+
function createFreezeProtocolActionInstruction(accounts, args, programId = new web3.PublicKey('rf1ctRXK4bmG5XNttAMYfB3TKd2vQjFv5cfQhDBxdAQ')) {
|
|
61
61
|
var _a;
|
|
62
62
|
const [data] = exports.freezeProtocolActionStruct.serialize(Object.assign({ instructionDiscriminator: exports.freezeProtocolActionInstructionDiscriminator }, args));
|
|
63
63
|
const keys = [
|
|
@@ -58,7 +58,7 @@ exports.freezeStrategyActionInstructionDiscriminator = [
|
|
|
58
58
|
* @category FreezeStrategyAction
|
|
59
59
|
* @category generated
|
|
60
60
|
*/
|
|
61
|
-
function createFreezeStrategyActionInstruction(accounts, args, programId = new web3.PublicKey('
|
|
61
|
+
function createFreezeStrategyActionInstruction(accounts, args, programId = new web3.PublicKey('rf1ctRXK4bmG5XNttAMYfB3TKd2vQjFv5cfQhDBxdAQ')) {
|
|
62
62
|
var _a;
|
|
63
63
|
const [data] = exports.freezeStrategyActionStruct.serialize(Object.assign({ instructionDiscriminator: exports.freezeStrategyActionInstructionDiscriminator }, args));
|
|
64
64
|
const keys = [
|
|
@@ -0,0 +1,51 @@
|
|
|
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 IncreaseAdminSize
|
|
12
|
+
* @category generated
|
|
13
|
+
*/
|
|
14
|
+
export type IncreaseAdminSizeInstructionArgs = {
|
|
15
|
+
additionalRoles: number;
|
|
16
|
+
};
|
|
17
|
+
/**
|
|
18
|
+
* @category Instructions
|
|
19
|
+
* @category IncreaseAdminSize
|
|
20
|
+
* @category generated
|
|
21
|
+
*/
|
|
22
|
+
export declare const increaseAdminSizeStruct: beet.BeetArgsStruct<IncreaseAdminSizeInstructionArgs & {
|
|
23
|
+
instructionDiscriminator: number[];
|
|
24
|
+
}>;
|
|
25
|
+
/**
|
|
26
|
+
* Accounts required by the _increaseAdminSize_ instruction
|
|
27
|
+
*
|
|
28
|
+
* @property [_writable_] userPermissions
|
|
29
|
+
* @property [_writable_, **signer**] payer
|
|
30
|
+
* @category Instructions
|
|
31
|
+
* @category IncreaseAdminSize
|
|
32
|
+
* @category generated
|
|
33
|
+
*/
|
|
34
|
+
export type IncreaseAdminSizeInstructionAccounts = {
|
|
35
|
+
userPermissions: web3.PublicKey;
|
|
36
|
+
payer: web3.PublicKey;
|
|
37
|
+
systemProgram?: web3.PublicKey;
|
|
38
|
+
anchorRemainingAccounts?: web3.AccountMeta[];
|
|
39
|
+
};
|
|
40
|
+
export declare const increaseAdminSizeInstructionDiscriminator: number[];
|
|
41
|
+
/**
|
|
42
|
+
* Creates a _IncreaseAdminSize_ instruction.
|
|
43
|
+
*
|
|
44
|
+
* @param accounts that will be accessed while the instruction is processed
|
|
45
|
+
* @param args to provide as instruction data to the program
|
|
46
|
+
*
|
|
47
|
+
* @category Instructions
|
|
48
|
+
* @category IncreaseAdminSize
|
|
49
|
+
* @category generated
|
|
50
|
+
*/
|
|
51
|
+
export declare function createIncreaseAdminSizeInstruction(accounts: IncreaseAdminSizeInstructionAccounts, args: IncreaseAdminSizeInstructionArgs, programId?: web3.PublicKey): web3.TransactionInstruction;
|
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This code was GENERATED using the solita package.
|
|
4
|
+
* Please DO NOT EDIT THIS FILE, instead rerun solita to update it or write a wrapper to add functionality.
|
|
5
|
+
*
|
|
6
|
+
* See: https://github.com/metaplex-foundation/solita
|
|
7
|
+
*/
|
|
8
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
9
|
+
if (k2 === undefined) k2 = k;
|
|
10
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
11
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
12
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
13
|
+
}
|
|
14
|
+
Object.defineProperty(o, k2, desc);
|
|
15
|
+
}) : (function(o, m, k, k2) {
|
|
16
|
+
if (k2 === undefined) k2 = k;
|
|
17
|
+
o[k2] = m[k];
|
|
18
|
+
}));
|
|
19
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
20
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
21
|
+
}) : function(o, v) {
|
|
22
|
+
o["default"] = v;
|
|
23
|
+
});
|
|
24
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
25
|
+
if (mod && mod.__esModule) return mod;
|
|
26
|
+
var result = {};
|
|
27
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
28
|
+
__setModuleDefault(result, mod);
|
|
29
|
+
return result;
|
|
30
|
+
};
|
|
31
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
32
|
+
exports.increaseAdminSizeInstructionDiscriminator = exports.increaseAdminSizeStruct = void 0;
|
|
33
|
+
exports.createIncreaseAdminSizeInstruction = createIncreaseAdminSizeInstruction;
|
|
34
|
+
const beet = __importStar(require("@metaplex-foundation/beet"));
|
|
35
|
+
const web3 = __importStar(require("@solana/web3.js"));
|
|
36
|
+
/**
|
|
37
|
+
* @category Instructions
|
|
38
|
+
* @category IncreaseAdminSize
|
|
39
|
+
* @category generated
|
|
40
|
+
*/
|
|
41
|
+
exports.increaseAdminSizeStruct = new beet.BeetArgsStruct([
|
|
42
|
+
['instructionDiscriminator', beet.uniformFixedSizeArray(beet.u8, 8)],
|
|
43
|
+
['additionalRoles', beet.u8],
|
|
44
|
+
], 'IncreaseAdminSizeInstructionArgs');
|
|
45
|
+
exports.increaseAdminSizeInstructionDiscriminator = [
|
|
46
|
+
27, 91, 127, 176, 61, 17, 113, 0,
|
|
47
|
+
];
|
|
48
|
+
/**
|
|
49
|
+
* Creates a _IncreaseAdminSize_ 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 IncreaseAdminSize
|
|
56
|
+
* @category generated
|
|
57
|
+
*/
|
|
58
|
+
function createIncreaseAdminSizeInstruction(accounts, args, programId = new web3.PublicKey('rf1ctRXK4bmG5XNttAMYfB3TKd2vQjFv5cfQhDBxdAQ')) {
|
|
59
|
+
var _a;
|
|
60
|
+
const [data] = exports.increaseAdminSizeStruct.serialize(Object.assign({ instructionDiscriminator: exports.increaseAdminSizeInstructionDiscriminator }, args));
|
|
61
|
+
const keys = [
|
|
62
|
+
{
|
|
63
|
+
pubkey: accounts.userPermissions,
|
|
64
|
+
isWritable: true,
|
|
65
|
+
isSigner: false,
|
|
66
|
+
},
|
|
67
|
+
{
|
|
68
|
+
pubkey: accounts.payer,
|
|
69
|
+
isWritable: true,
|
|
70
|
+
isSigner: true,
|
|
71
|
+
},
|
|
72
|
+
{
|
|
73
|
+
pubkey: (_a = accounts.systemProgram) !== null && _a !== void 0 ? _a : web3.SystemProgram.programId,
|
|
74
|
+
isWritable: false,
|
|
75
|
+
isSigner: false,
|
|
76
|
+
},
|
|
77
|
+
];
|
|
78
|
+
if (accounts.anchorRemainingAccounts != null) {
|
|
79
|
+
for (const acc of accounts.anchorRemainingAccounts) {
|
|
80
|
+
keys.push(acc);
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
const ix = new web3.TransactionInstruction({
|
|
84
|
+
programId,
|
|
85
|
+
keys,
|
|
86
|
+
data,
|
|
87
|
+
});
|
|
88
|
+
return ix;
|
|
89
|
+
}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
export * from './addLstDrift';
|
|
2
2
|
export * from './addSubAccount';
|
|
3
3
|
export * from './captureSpreadDrift';
|
|
4
|
-
export * from './captureSpreadDriftS1';
|
|
5
4
|
export * from './createAdminAccount';
|
|
6
5
|
export * from './createUserStatsAccount';
|
|
7
6
|
export * from './depositDrift';
|
|
8
7
|
export * from './freezeProgram';
|
|
9
8
|
export * from './freezeProtocolAction';
|
|
10
9
|
export * from './freezeStrategyAction';
|
|
10
|
+
export * from './increaseAdminSize';
|
|
11
11
|
export * from './initDriftAccountsS1';
|
|
12
12
|
export * from './initDriftControllerS1';
|
|
13
13
|
export * from './initDriftControllerS3';
|
|
@@ -17,13 +17,13 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
17
17
|
__exportStar(require("./addLstDrift"), exports);
|
|
18
18
|
__exportStar(require("./addSubAccount"), exports);
|
|
19
19
|
__exportStar(require("./captureSpreadDrift"), exports);
|
|
20
|
-
__exportStar(require("./captureSpreadDriftS1"), exports);
|
|
21
20
|
__exportStar(require("./createAdminAccount"), exports);
|
|
22
21
|
__exportStar(require("./createUserStatsAccount"), exports);
|
|
23
22
|
__exportStar(require("./depositDrift"), exports);
|
|
24
23
|
__exportStar(require("./freezeProgram"), exports);
|
|
25
24
|
__exportStar(require("./freezeProtocolAction"), exports);
|
|
26
25
|
__exportStar(require("./freezeStrategyAction"), exports);
|
|
26
|
+
__exportStar(require("./increaseAdminSize"), exports);
|
|
27
27
|
__exportStar(require("./initDriftAccountsS1"), exports);
|
|
28
28
|
__exportStar(require("./initDriftControllerS1"), exports);
|
|
29
29
|
__exportStar(require("./initDriftControllerS3"), exports);
|
|
@@ -50,7 +50,7 @@ exports.initDriftAccountsS1InstructionDiscriminator = [
|
|
|
50
50
|
* @category InitDriftAccountsS1
|
|
51
51
|
* @category generated
|
|
52
52
|
*/
|
|
53
|
-
function createInitDriftAccountsS1Instruction(accounts, programId = new web3.PublicKey('
|
|
53
|
+
function createInitDriftAccountsS1Instruction(accounts, programId = new web3.PublicKey('rf1ctRXK4bmG5XNttAMYfB3TKd2vQjFv5cfQhDBxdAQ')) {
|
|
54
54
|
var _a, _b;
|
|
55
55
|
const [data] = exports.initDriftAccountsS1Struct.serialize({
|
|
56
56
|
instructionDiscriminator: exports.initDriftAccountsS1InstructionDiscriminator,
|
|
@@ -59,7 +59,7 @@ exports.initDriftControllerS1InstructionDiscriminator = [
|
|
|
59
59
|
* @category InitDriftControllerS1
|
|
60
60
|
* @category generated
|
|
61
61
|
*/
|
|
62
|
-
function createInitDriftControllerS1Instruction(accounts, args, programId = new web3.PublicKey('
|
|
62
|
+
function createInitDriftControllerS1Instruction(accounts, args, programId = new web3.PublicKey('rf1ctRXK4bmG5XNttAMYfB3TKd2vQjFv5cfQhDBxdAQ')) {
|
|
63
63
|
var _a;
|
|
64
64
|
const [data] = exports.initDriftControllerS1Struct.serialize(Object.assign({ instructionDiscriminator: exports.initDriftControllerS1InstructionDiscriminator }, args));
|
|
65
65
|
const keys = [
|
|
@@ -59,7 +59,7 @@ exports.initDriftControllerS3InstructionDiscriminator = [
|
|
|
59
59
|
* @category InitDriftControllerS3
|
|
60
60
|
* @category generated
|
|
61
61
|
*/
|
|
62
|
-
function createInitDriftControllerS3Instruction(accounts, args, programId = new web3.PublicKey('
|
|
62
|
+
function createInitDriftControllerS3Instruction(accounts, args, programId = new web3.PublicKey('rf1ctRXK4bmG5XNttAMYfB3TKd2vQjFv5cfQhDBxdAQ')) {
|
|
63
63
|
var _a;
|
|
64
64
|
const [data] = exports.initDriftControllerS3Struct.serialize(Object.assign({ instructionDiscriminator: exports.initDriftControllerS3InstructionDiscriminator }, args));
|
|
65
65
|
const keys = [
|
|
@@ -50,7 +50,7 @@ exports.initMainInstructionDiscriminator = [
|
|
|
50
50
|
* @category InitMain
|
|
51
51
|
* @category generated
|
|
52
52
|
*/
|
|
53
|
-
function createInitMainInstruction(accounts, programId = new web3.PublicKey('
|
|
53
|
+
function createInitMainInstruction(accounts, programId = new web3.PublicKey('rf1ctRXK4bmG5XNttAMYfB3TKd2vQjFv5cfQhDBxdAQ')) {
|
|
54
54
|
var _a;
|
|
55
55
|
const [data] = exports.initMainStruct.serialize({
|
|
56
56
|
instructionDiscriminator: exports.initMainInstructionDiscriminator,
|
|
@@ -60,7 +60,7 @@ exports.mintDriftS1InstructionDiscriminator = [
|
|
|
60
60
|
* @category MintDriftS1
|
|
61
61
|
* @category generated
|
|
62
62
|
*/
|
|
63
|
-
function createMintDriftS1Instruction(accounts, args, programId = new web3.PublicKey('
|
|
63
|
+
function createMintDriftS1Instruction(accounts, args, programId = new web3.PublicKey('rf1ctRXK4bmG5XNttAMYfB3TKd2vQjFv5cfQhDBxdAQ')) {
|
|
64
64
|
var _a, _b, _c;
|
|
65
65
|
const [data] = exports.mintDriftS1Struct.serialize(Object.assign({ instructionDiscriminator: exports.mintDriftS1InstructionDiscriminator }, args));
|
|
66
66
|
const keys = [
|
|
@@ -60,7 +60,7 @@ exports.mintDriftS3InstructionDiscriminator = [
|
|
|
60
60
|
* @category MintDriftS3
|
|
61
61
|
* @category generated
|
|
62
62
|
*/
|
|
63
|
-
function createMintDriftS3Instruction(accounts, args, programId = new web3.PublicKey('
|
|
63
|
+
function createMintDriftS3Instruction(accounts, args, programId = new web3.PublicKey('rf1ctRXK4bmG5XNttAMYfB3TKd2vQjFv5cfQhDBxdAQ')) {
|
|
64
64
|
var _a, _b, _c;
|
|
65
65
|
const [data] = exports.mintDriftS3Struct.serialize(Object.assign({ instructionDiscriminator: exports.mintDriftS3InstructionDiscriminator }, args));
|
|
66
66
|
const keys = [
|
|
@@ -54,7 +54,7 @@ exports.processSwapDepositInstructionDiscriminator = [
|
|
|
54
54
|
* @category ProcessSwapDeposit
|
|
55
55
|
* @category generated
|
|
56
56
|
*/
|
|
57
|
-
function createProcessSwapDepositInstruction(accounts, programId = new web3.PublicKey('
|
|
57
|
+
function createProcessSwapDepositInstruction(accounts, programId = new web3.PublicKey('rf1ctRXK4bmG5XNttAMYfB3TKd2vQjFv5cfQhDBxdAQ')) {
|
|
58
58
|
var _a, _b, _c;
|
|
59
59
|
const [data] = exports.processSwapDepositStruct.serialize({
|
|
60
60
|
instructionDiscriminator: exports.processSwapDepositInstructionDiscriminator,
|
|
@@ -54,7 +54,7 @@ exports.processSwapWithdrawInstructionDiscriminator = [
|
|
|
54
54
|
* @category ProcessSwapWithdraw
|
|
55
55
|
* @category generated
|
|
56
56
|
*/
|
|
57
|
-
function createProcessSwapWithdrawInstruction(accounts, programId = new web3.PublicKey('
|
|
57
|
+
function createProcessSwapWithdrawInstruction(accounts, programId = new web3.PublicKey('rf1ctRXK4bmG5XNttAMYfB3TKd2vQjFv5cfQhDBxdAQ')) {
|
|
58
58
|
var _a, _b, _c;
|
|
59
59
|
const [data] = exports.processSwapWithdrawStruct.serialize({
|
|
60
60
|
instructionDiscriminator: exports.processSwapWithdrawInstructionDiscriminator,
|
|
@@ -61,7 +61,7 @@ exports.redeemDriftS1InstructionDiscriminator = [
|
|
|
61
61
|
* @category RedeemDriftS1
|
|
62
62
|
* @category generated
|
|
63
63
|
*/
|
|
64
|
-
function createRedeemDriftS1Instruction(accounts, args, programId = new web3.PublicKey('
|
|
64
|
+
function createRedeemDriftS1Instruction(accounts, args, programId = new web3.PublicKey('rf1ctRXK4bmG5XNttAMYfB3TKd2vQjFv5cfQhDBxdAQ')) {
|
|
65
65
|
var _a, _b, _c;
|
|
66
66
|
const [data] = exports.redeemDriftS1Struct.serialize(Object.assign({ instructionDiscriminator: exports.redeemDriftS1InstructionDiscriminator }, args));
|
|
67
67
|
const keys = [
|
|
@@ -61,7 +61,7 @@ exports.redeemDriftS3InstructionDiscriminator = [
|
|
|
61
61
|
* @category RedeemDriftS3
|
|
62
62
|
* @category generated
|
|
63
63
|
*/
|
|
64
|
-
function createRedeemDriftS3Instruction(accounts, args, programId = new web3.PublicKey('
|
|
64
|
+
function createRedeemDriftS3Instruction(accounts, args, programId = new web3.PublicKey('rf1ctRXK4bmG5XNttAMYfB3TKd2vQjFv5cfQhDBxdAQ')) {
|
|
65
65
|
var _a, _b, _c;
|
|
66
66
|
const [data] = exports.redeemDriftS3Struct.serialize(Object.assign({ instructionDiscriminator: exports.redeemDriftS3InstructionDiscriminator }, args));
|
|
67
67
|
const keys = [
|
|
@@ -20,7 +20,6 @@ export declare const settlePnlStruct: beet.BeetArgsStruct<{
|
|
|
20
20
|
* @property [_writable_, **signer**] settler
|
|
21
21
|
* @property [_writable_] main
|
|
22
22
|
* @property [_writable_] strategyController
|
|
23
|
-
* @property [] adminPermissions (optional)
|
|
24
23
|
* @property [] drift
|
|
25
24
|
* @property [_writable_] state
|
|
26
25
|
* @property [_writable_] userAccount
|
|
@@ -33,7 +32,6 @@ export type SettlePnlInstructionAccounts = {
|
|
|
33
32
|
settler: web3.PublicKey;
|
|
34
33
|
main: web3.PublicKey;
|
|
35
34
|
strategyController: web3.PublicKey;
|
|
36
|
-
adminPermissions?: web3.PublicKey;
|
|
37
35
|
drift: web3.PublicKey;
|
|
38
36
|
state: web3.PublicKey;
|
|
39
37
|
userAccount: web3.PublicKey;
|
|
@@ -44,9 +42,6 @@ export declare const settlePnlInstructionDiscriminator: number[];
|
|
|
44
42
|
/**
|
|
45
43
|
* Creates a _SettlePnl_ instruction.
|
|
46
44
|
*
|
|
47
|
-
* Optional accounts that are not provided default to the program ID since
|
|
48
|
-
* this was indicated in the IDL from which this instruction was generated.
|
|
49
|
-
*
|
|
50
45
|
* @param accounts that will be accessed while the instruction is processed
|
|
51
46
|
* @category Instructions
|
|
52
47
|
* @category SettlePnl
|
|
@@ -45,16 +45,12 @@ exports.settlePnlInstructionDiscriminator = [
|
|
|
45
45
|
/**
|
|
46
46
|
* Creates a _SettlePnl_ instruction.
|
|
47
47
|
*
|
|
48
|
-
* Optional accounts that are not provided default to the program ID since
|
|
49
|
-
* this was indicated in the IDL from which this instruction was generated.
|
|
50
|
-
*
|
|
51
48
|
* @param accounts that will be accessed while the instruction is processed
|
|
52
49
|
* @category Instructions
|
|
53
50
|
* @category SettlePnl
|
|
54
51
|
* @category generated
|
|
55
52
|
*/
|
|
56
|
-
function createSettlePnlInstruction(accounts, programId = new web3.PublicKey('
|
|
57
|
-
var _a;
|
|
53
|
+
function createSettlePnlInstruction(accounts, programId = new web3.PublicKey('rf1ctRXK4bmG5XNttAMYfB3TKd2vQjFv5cfQhDBxdAQ')) {
|
|
58
54
|
const [data] = exports.settlePnlStruct.serialize({
|
|
59
55
|
instructionDiscriminator: exports.settlePnlInstructionDiscriminator,
|
|
60
56
|
});
|
|
@@ -74,11 +70,6 @@ function createSettlePnlInstruction(accounts, programId = new web3.PublicKey('9C
|
|
|
74
70
|
isWritable: true,
|
|
75
71
|
isSigner: false,
|
|
76
72
|
},
|
|
77
|
-
{
|
|
78
|
-
pubkey: (_a = accounts.adminPermissions) !== null && _a !== void 0 ? _a : programId,
|
|
79
|
-
isWritable: false,
|
|
80
|
-
isSigner: false,
|
|
81
|
-
},
|
|
82
73
|
{
|
|
83
74
|
pubkey: accounts.drift,
|
|
84
75
|
isWritable: false,
|
|
@@ -28,7 +28,6 @@ export declare const settlePnlMultiStruct: beet.FixableBeetArgsStruct<SettlePnlM
|
|
|
28
28
|
* @property [_writable_, **signer**] settler
|
|
29
29
|
* @property [_writable_] main
|
|
30
30
|
* @property [_writable_] strategyController
|
|
31
|
-
* @property [] adminPermissions (optional)
|
|
32
31
|
* @property [] drift
|
|
33
32
|
* @property [_writable_] state
|
|
34
33
|
* @property [_writable_] userAccount
|
|
@@ -41,7 +40,6 @@ export type SettlePnlMultiInstructionAccounts = {
|
|
|
41
40
|
settler: web3.PublicKey;
|
|
42
41
|
main: web3.PublicKey;
|
|
43
42
|
strategyController: web3.PublicKey;
|
|
44
|
-
adminPermissions?: web3.PublicKey;
|
|
45
43
|
drift: web3.PublicKey;
|
|
46
44
|
state: web3.PublicKey;
|
|
47
45
|
userAccount: web3.PublicKey;
|
|
@@ -52,9 +50,6 @@ export declare const settlePnlMultiInstructionDiscriminator: number[];
|
|
|
52
50
|
/**
|
|
53
51
|
* Creates a _SettlePnlMulti_ instruction.
|
|
54
52
|
*
|
|
55
|
-
* Optional accounts that are not provided default to the program ID since
|
|
56
|
-
* this was indicated in the IDL from which this instruction was generated.
|
|
57
|
-
*
|
|
58
53
|
* @param accounts that will be accessed while the instruction is processed
|
|
59
54
|
* @param args to provide as instruction data to the program
|
|
60
55
|
*
|
|
@@ -48,9 +48,6 @@ exports.settlePnlMultiInstructionDiscriminator = [
|
|
|
48
48
|
/**
|
|
49
49
|
* Creates a _SettlePnlMulti_ instruction.
|
|
50
50
|
*
|
|
51
|
-
* Optional accounts that are not provided default to the program ID since
|
|
52
|
-
* this was indicated in the IDL from which this instruction was generated.
|
|
53
|
-
*
|
|
54
51
|
* @param accounts that will be accessed while the instruction is processed
|
|
55
52
|
* @param args to provide as instruction data to the program
|
|
56
53
|
*
|
|
@@ -58,8 +55,7 @@ exports.settlePnlMultiInstructionDiscriminator = [
|
|
|
58
55
|
* @category SettlePnlMulti
|
|
59
56
|
* @category generated
|
|
60
57
|
*/
|
|
61
|
-
function createSettlePnlMultiInstruction(accounts, args, programId = new web3.PublicKey('
|
|
62
|
-
var _a;
|
|
58
|
+
function createSettlePnlMultiInstruction(accounts, args, programId = new web3.PublicKey('rf1ctRXK4bmG5XNttAMYfB3TKd2vQjFv5cfQhDBxdAQ')) {
|
|
63
59
|
const [data] = exports.settlePnlMultiStruct.serialize(Object.assign({ instructionDiscriminator: exports.settlePnlMultiInstructionDiscriminator }, args));
|
|
64
60
|
const keys = [
|
|
65
61
|
{
|
|
@@ -77,11 +73,6 @@ function createSettlePnlMultiInstruction(accounts, args, programId = new web3.Pu
|
|
|
77
73
|
isWritable: true,
|
|
78
74
|
isSigner: false,
|
|
79
75
|
},
|
|
80
|
-
{
|
|
81
|
-
pubkey: (_a = accounts.adminPermissions) !== null && _a !== void 0 ? _a : programId,
|
|
82
|
-
isWritable: false,
|
|
83
|
-
isSigner: false,
|
|
84
|
-
},
|
|
85
76
|
{
|
|
86
77
|
pubkey: accounts.drift,
|
|
87
78
|
isWritable: false,
|
|
@@ -57,7 +57,7 @@ exports.suspendSplProtocolInstructionDiscriminator = [
|
|
|
57
57
|
* @category SuspendSplProtocol
|
|
58
58
|
* @category generated
|
|
59
59
|
*/
|
|
60
|
-
function createSuspendSplProtocolInstruction(accounts, args, programId = new web3.PublicKey('
|
|
60
|
+
function createSuspendSplProtocolInstruction(accounts, args, programId = new web3.PublicKey('rf1ctRXK4bmG5XNttAMYfB3TKd2vQjFv5cfQhDBxdAQ')) {
|
|
61
61
|
var _a;
|
|
62
62
|
const [data] = exports.suspendSplProtocolStruct.serialize(Object.assign({ instructionDiscriminator: exports.suspendSplProtocolInstructionDiscriminator }, args));
|
|
63
63
|
const keys = [
|
|
@@ -57,7 +57,7 @@ exports.suspendSplStrategyInstructionDiscriminator = [
|
|
|
57
57
|
* @category SuspendSplStrategy
|
|
58
58
|
* @category generated
|
|
59
59
|
*/
|
|
60
|
-
function createSuspendSplStrategyInstruction(accounts, args, programId = new web3.PublicKey('
|
|
60
|
+
function createSuspendSplStrategyInstruction(accounts, args, programId = new web3.PublicKey('rf1ctRXK4bmG5XNttAMYfB3TKd2vQjFv5cfQhDBxdAQ')) {
|
|
61
61
|
var _a;
|
|
62
62
|
const [data] = exports.suspendSplStrategyStruct.serialize(Object.assign({ instructionDiscriminator: exports.suspendSplStrategyInstructionDiscriminator }, args));
|
|
63
63
|
const keys = [
|
|
@@ -62,7 +62,7 @@ exports.swapOrcaInstructionDiscriminator = [
|
|
|
62
62
|
* @category SwapOrca
|
|
63
63
|
* @category generated
|
|
64
64
|
*/
|
|
65
|
-
function createSwapOrcaInstruction(accounts, args, programId = new web3.PublicKey('
|
|
65
|
+
function createSwapOrcaInstruction(accounts, args, programId = new web3.PublicKey('rf1ctRXK4bmG5XNttAMYfB3TKd2vQjFv5cfQhDBxdAQ')) {
|
|
66
66
|
var _a, _b;
|
|
67
67
|
const [data] = exports.swapOrcaStruct.serialize(Object.assign({ instructionDiscriminator: exports.swapOrcaInstructionDiscriminator }, args));
|
|
68
68
|
const keys = [
|
|
@@ -64,7 +64,7 @@ exports.swapOrcaTwoHopInstructionDiscriminator = [
|
|
|
64
64
|
* @category SwapOrcaTwoHop
|
|
65
65
|
* @category generated
|
|
66
66
|
*/
|
|
67
|
-
function createSwapOrcaTwoHopInstruction(accounts, args, programId = new web3.PublicKey('
|
|
67
|
+
function createSwapOrcaTwoHopInstruction(accounts, args, programId = new web3.PublicKey('rf1ctRXK4bmG5XNttAMYfB3TKd2vQjFv5cfQhDBxdAQ')) {
|
|
68
68
|
var _a, _b;
|
|
69
69
|
const [data] = exports.swapOrcaTwoHopStruct.serialize(Object.assign({ instructionDiscriminator: exports.swapOrcaTwoHopInstructionDiscriminator }, args));
|
|
70
70
|
const keys = [
|
|
@@ -60,7 +60,7 @@ exports.updateActionRoleProtocolInstructionDiscriminator = [
|
|
|
60
60
|
* @category UpdateActionRoleProtocol
|
|
61
61
|
* @category generated
|
|
62
62
|
*/
|
|
63
|
-
function createUpdateActionRoleProtocolInstruction(accounts, args, programId = new web3.PublicKey('
|
|
63
|
+
function createUpdateActionRoleProtocolInstruction(accounts, args, programId = new web3.PublicKey('rf1ctRXK4bmG5XNttAMYfB3TKd2vQjFv5cfQhDBxdAQ')) {
|
|
64
64
|
var _a;
|
|
65
65
|
const [data] = exports.updateActionRoleProtocolStruct.serialize(Object.assign({ instructionDiscriminator: exports.updateActionRoleProtocolInstructionDiscriminator }, args));
|
|
66
66
|
const keys = [
|
|
@@ -60,7 +60,7 @@ exports.updateActionRoleStrategyInstructionDiscriminator = [
|
|
|
60
60
|
* @category UpdateActionRoleStrategy
|
|
61
61
|
* @category generated
|
|
62
62
|
*/
|
|
63
|
-
function createUpdateActionRoleStrategyInstruction(accounts, args, programId = new web3.PublicKey('
|
|
63
|
+
function createUpdateActionRoleStrategyInstruction(accounts, args, programId = new web3.PublicKey('rf1ctRXK4bmG5XNttAMYfB3TKd2vQjFv5cfQhDBxdAQ')) {
|
|
64
64
|
var _a;
|
|
65
65
|
const [data] = exports.updateActionRoleStrategyStruct.serialize(Object.assign({ instructionDiscriminator: exports.updateActionRoleStrategyInstructionDiscriminator }, args));
|
|
66
66
|
const keys = [
|
|
@@ -57,7 +57,7 @@ exports.updateAttenuationInstructionDiscriminator = [
|
|
|
57
57
|
* @category UpdateAttenuation
|
|
58
58
|
* @category generated
|
|
59
59
|
*/
|
|
60
|
-
function createUpdateAttenuationInstruction(accounts, args, programId = new web3.PublicKey('
|
|
60
|
+
function createUpdateAttenuationInstruction(accounts, args, programId = new web3.PublicKey('rf1ctRXK4bmG5XNttAMYfB3TKd2vQjFv5cfQhDBxdAQ')) {
|
|
61
61
|
var _a;
|
|
62
62
|
const [data] = exports.updateAttenuationStruct.serialize(Object.assign({ instructionDiscriminator: exports.updateAttenuationInstructionDiscriminator }, args));
|
|
63
63
|
const keys = [
|