@elmntl/jlpd-sdk 0.1.0 → 1.0.8

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 CHANGED
@@ -791,34 +791,34 @@ async function fetchJlpRate(jlpMint, fallbackPrice = 4.6, apiKey = DEFAULT_API_K
791
791
  // src/instructions/admin.ts
792
792
  var import_web38 = require("@solana/web3.js");
793
793
  var INIT_OR_UPDATE_VAULT_DISCRIMINATOR = Buffer.from([
794
- 91,
795
- 101,
796
- 110,
797
- 100,
798
- 105,
799
- 110,
800
- 103,
801
- 93
794
+ 234,
795
+ 24,
796
+ 218,
797
+ 120,
798
+ 213,
799
+ 149,
800
+ 245,
801
+ 213
802
802
  ]);
803
803
  var INITIALIZE_STV_DISCRIMINATOR = Buffer.from([
804
- 105,
805
- 110,
806
- 105,
807
- 116,
808
- 95,
809
- 115,
810
- 116,
811
- 118
804
+ 136,
805
+ 8,
806
+ 178,
807
+ 176,
808
+ 57,
809
+ 33,
810
+ 1,
811
+ 106
812
812
  ]);
813
813
  var UPDATE_STV_DISCRIMINATOR = Buffer.from([
814
- 117,
815
- 112,
816
- 100,
817
- 95,
818
- 115,
819
- 116,
820
- 118,
821
- 0
814
+ 72,
815
+ 173,
816
+ 200,
817
+ 203,
818
+ 74,
819
+ 83,
820
+ 242,
821
+ 43
822
822
  ]);
823
823
  function serializeOptionPubkey(value) {
824
824
  if (value === null) {
@@ -910,14 +910,14 @@ function createUpdateStvInstruction(params, accounts, programId = JLPD_PROGRAM_I
910
910
  // src/instructions/user.ts
911
911
  var import_web39 = require("@solana/web3.js");
912
912
  var DEPOSIT_DISCRIMINATOR = Buffer.from([
913
- 248,
913
+ 242,
914
+ 35,
914
915
  198,
915
- 158,
916
- 145,
916
+ 137,
917
+ 82,
917
918
  225,
918
- 117,
919
- 135,
920
- 200
919
+ 242,
920
+ 182
921
921
  ]);
922
922
  var WITHDRAW_DISCRIMINATOR = Buffer.from([
923
923
  183,
@@ -974,54 +974,54 @@ function createWithdrawInstruction(sharesToBurn, accounts, remainingAccounts = [
974
974
  // src/instructions/manager.ts
975
975
  var import_web310 = require("@solana/web3.js");
976
976
  var JUP_EARN_DISCRIMINATOR = Buffer.from([
977
- 161,
978
- 178,
979
- 195,
977
+ 124,
978
+ 60,
979
+ 71,
980
+ 122,
981
+ 162,
980
982
  212,
981
- 229,
982
- 246,
983
- 7,
984
- 24
983
+ 164,
984
+ 191
985
985
  ]);
986
986
  var MOVE_STV_DISCRIMINATOR = Buffer.from([
987
- 41,
988
- 58,
989
- 75,
990
- 92,
991
- 109,
987
+ 60,
988
+ 104,
989
+ 8,
992
990
  126,
993
- 143,
994
- 144
991
+ 254,
992
+ 244,
993
+ 95,
994
+ 221
995
995
  ]);
996
996
  var SWAP_JLX_JLX_DISCRIMINATOR = Buffer.from([
997
- 65,
998
- 82,
999
- 99,
1000
- 116,
1001
- 133,
1002
- 150,
1003
- 167,
1004
- 184
997
+ 24,
998
+ 52,
999
+ 70,
1000
+ 107,
1001
+ 160,
1002
+ 96,
1003
+ 155,
1004
+ 62
1005
1005
  ]);
1006
1006
  var SWAP_JLX_JLP_DISCRIMINATOR = Buffer.from([
1007
- 201,
1008
- 218,
1009
- 235,
1010
- 252,
1011
- 13,
1012
- 30,
1013
- 47,
1014
- 48
1007
+ 229,
1008
+ 185,
1009
+ 136,
1010
+ 170,
1011
+ 210,
1012
+ 189,
1013
+ 172,
1014
+ 241
1015
1015
  ]);
1016
1016
  var SETTLE_YIELD_DISCRIMINATOR = Buffer.from([
1017
- 81,
1018
- 98,
1019
- 115,
1020
- 132,
1021
- 149,
1022
- 166,
1023
- 183,
1024
- 200
1017
+ 64,
1018
+ 28,
1019
+ 44,
1020
+ 24,
1021
+ 43,
1022
+ 204,
1023
+ 58,
1024
+ 215
1025
1025
  ]);
1026
1026
  function serializeU8(value) {
1027
1027
  const buf = Buffer.alloc(1);
@@ -1155,14 +1155,14 @@ function createSettleYieldInstruction(params, accounts, remainingAccounts = [],
1155
1155
  // src/instructions/fees.ts
1156
1156
  var import_web311 = require("@solana/web3.js");
1157
1157
  var CLAIM_FEES_DISCRIMINATOR = Buffer.from([
1158
- 209,
1159
- 226,
1160
- 243,
1161
- 4,
1162
- 21,
1163
- 38,
1164
- 55,
1165
- 72
1158
+ 82,
1159
+ 251,
1160
+ 233,
1161
+ 156,
1162
+ 12,
1163
+ 52,
1164
+ 184,
1165
+ 202
1166
1166
  ]);
1167
1167
  function createClaimFeesInstruction(accounts, remainingAccounts = [], programId = JLPD_PROGRAM_ID) {
1168
1168
  const data = CLAIM_FEES_DISCRIMINATOR;
package/dist/index.mjs CHANGED
@@ -702,34 +702,34 @@ async function fetchJlpRate(jlpMint, fallbackPrice = 4.6, apiKey = DEFAULT_API_K
702
702
  // src/instructions/admin.ts
703
703
  import { TransactionInstruction } from "@solana/web3.js";
704
704
  var INIT_OR_UPDATE_VAULT_DISCRIMINATOR = Buffer.from([
705
- 91,
706
- 101,
707
- 110,
708
- 100,
709
- 105,
710
- 110,
711
- 103,
712
- 93
705
+ 234,
706
+ 24,
707
+ 218,
708
+ 120,
709
+ 213,
710
+ 149,
711
+ 245,
712
+ 213
713
713
  ]);
714
714
  var INITIALIZE_STV_DISCRIMINATOR = Buffer.from([
715
- 105,
716
- 110,
717
- 105,
718
- 116,
719
- 95,
720
- 115,
721
- 116,
722
- 118
715
+ 136,
716
+ 8,
717
+ 178,
718
+ 176,
719
+ 57,
720
+ 33,
721
+ 1,
722
+ 106
723
723
  ]);
724
724
  var UPDATE_STV_DISCRIMINATOR = Buffer.from([
725
- 117,
726
- 112,
727
- 100,
728
- 95,
729
- 115,
730
- 116,
731
- 118,
732
- 0
725
+ 72,
726
+ 173,
727
+ 200,
728
+ 203,
729
+ 74,
730
+ 83,
731
+ 242,
732
+ 43
733
733
  ]);
734
734
  function serializeOptionPubkey(value) {
735
735
  if (value === null) {
@@ -821,14 +821,14 @@ function createUpdateStvInstruction(params, accounts, programId = JLPD_PROGRAM_I
821
821
  // src/instructions/user.ts
822
822
  import { TransactionInstruction as TransactionInstruction2 } from "@solana/web3.js";
823
823
  var DEPOSIT_DISCRIMINATOR = Buffer.from([
824
- 248,
824
+ 242,
825
+ 35,
825
826
  198,
826
- 158,
827
- 145,
827
+ 137,
828
+ 82,
828
829
  225,
829
- 117,
830
- 135,
831
- 200
830
+ 242,
831
+ 182
832
832
  ]);
833
833
  var WITHDRAW_DISCRIMINATOR = Buffer.from([
834
834
  183,
@@ -885,54 +885,54 @@ function createWithdrawInstruction(sharesToBurn, accounts, remainingAccounts = [
885
885
  // src/instructions/manager.ts
886
886
  import { TransactionInstruction as TransactionInstruction3 } from "@solana/web3.js";
887
887
  var JUP_EARN_DISCRIMINATOR = Buffer.from([
888
- 161,
889
- 178,
890
- 195,
888
+ 124,
889
+ 60,
890
+ 71,
891
+ 122,
892
+ 162,
891
893
  212,
892
- 229,
893
- 246,
894
- 7,
895
- 24
894
+ 164,
895
+ 191
896
896
  ]);
897
897
  var MOVE_STV_DISCRIMINATOR = Buffer.from([
898
- 41,
899
- 58,
900
- 75,
901
- 92,
902
- 109,
898
+ 60,
899
+ 104,
900
+ 8,
903
901
  126,
904
- 143,
905
- 144
902
+ 254,
903
+ 244,
904
+ 95,
905
+ 221
906
906
  ]);
907
907
  var SWAP_JLX_JLX_DISCRIMINATOR = Buffer.from([
908
- 65,
909
- 82,
910
- 99,
911
- 116,
912
- 133,
913
- 150,
914
- 167,
915
- 184
908
+ 24,
909
+ 52,
910
+ 70,
911
+ 107,
912
+ 160,
913
+ 96,
914
+ 155,
915
+ 62
916
916
  ]);
917
917
  var SWAP_JLX_JLP_DISCRIMINATOR = Buffer.from([
918
- 201,
919
- 218,
920
- 235,
921
- 252,
922
- 13,
923
- 30,
924
- 47,
925
- 48
918
+ 229,
919
+ 185,
920
+ 136,
921
+ 170,
922
+ 210,
923
+ 189,
924
+ 172,
925
+ 241
926
926
  ]);
927
927
  var SETTLE_YIELD_DISCRIMINATOR = Buffer.from([
928
- 81,
929
- 98,
930
- 115,
931
- 132,
932
- 149,
933
- 166,
934
- 183,
935
- 200
928
+ 64,
929
+ 28,
930
+ 44,
931
+ 24,
932
+ 43,
933
+ 204,
934
+ 58,
935
+ 215
936
936
  ]);
937
937
  function serializeU8(value) {
938
938
  const buf = Buffer.alloc(1);
@@ -1066,14 +1066,14 @@ function createSettleYieldInstruction(params, accounts, remainingAccounts = [],
1066
1066
  // src/instructions/fees.ts
1067
1067
  import { TransactionInstruction as TransactionInstruction4 } from "@solana/web3.js";
1068
1068
  var CLAIM_FEES_DISCRIMINATOR = Buffer.from([
1069
- 209,
1070
- 226,
1071
- 243,
1072
- 4,
1073
- 21,
1074
- 38,
1075
- 55,
1076
- 72
1069
+ 82,
1070
+ 251,
1071
+ 233,
1072
+ 156,
1073
+ 12,
1074
+ 52,
1075
+ 184,
1076
+ 202
1077
1077
  ]);
1078
1078
  function createClaimFeesInstruction(accounts, remainingAccounts = [], programId = JLPD_PROGRAM_ID) {
1079
1079
  const data = CLAIM_FEES_DISCRIMINATOR;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@elmntl/jlpd-sdk",
3
- "version": "0.1.0",
3
+ "version": "1.0.8",
4
4
  "description": "SDK for JLP.D (JLP Deconstructed) by Elemental",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",