@bench.games/opportunity-markets 0.4.3 → 0.4.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/browser/index.js +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -1809,7 +1809,7 @@ declare function isOpportunityMarketError<TProgramErrorCode extends OpportunityM
|
|
|
1809
1809
|
* @see https://github.com/codama-idl/codama
|
|
1810
1810
|
*/
|
|
1811
1811
|
|
|
1812
|
-
declare const OPPORTUNITY_MARKET_PROGRAM_ADDRESS: Address<"
|
|
1812
|
+
declare const OPPORTUNITY_MARKET_PROGRAM_ADDRESS: Address<"BENCLZWw5m2xTr3Mtb5nzWMLcBJFw6DNDtNAuhjNPgAe">;
|
|
1813
1813
|
declare enum OpportunityMarketAccount {
|
|
1814
1814
|
AllowedMint = 0,
|
|
1815
1815
|
ArciumSignerAccount = 1,
|
|
@@ -1856,7 +1856,7 @@ declare enum OpportunityMarketInstruction {
|
|
|
1856
1856
|
declare function identifyOpportunityMarketInstruction(instruction: {
|
|
1857
1857
|
data: ReadonlyUint8Array;
|
|
1858
1858
|
} | ReadonlyUint8Array): OpportunityMarketInstruction;
|
|
1859
|
-
type ParsedOpportunityMarketInstruction<TProgram extends string = '
|
|
1859
|
+
type ParsedOpportunityMarketInstruction<TProgram extends string = 'BENCLZWw5m2xTr3Mtb5nzWMLcBJFw6DNDtNAuhjNPgAe'> = ({
|
|
1860
1860
|
instructionType: OpportunityMarketInstruction.AddMarketOption;
|
|
1861
1861
|
} & ParsedAddMarketOptionInstruction<TProgram>) | ({
|
|
1862
1862
|
instructionType: OpportunityMarketInstruction.AddReward;
|
package/dist/index.d.ts
CHANGED
|
@@ -1809,7 +1809,7 @@ declare function isOpportunityMarketError<TProgramErrorCode extends OpportunityM
|
|
|
1809
1809
|
* @see https://github.com/codama-idl/codama
|
|
1810
1810
|
*/
|
|
1811
1811
|
|
|
1812
|
-
declare const OPPORTUNITY_MARKET_PROGRAM_ADDRESS: Address<"
|
|
1812
|
+
declare const OPPORTUNITY_MARKET_PROGRAM_ADDRESS: Address<"BENCLZWw5m2xTr3Mtb5nzWMLcBJFw6DNDtNAuhjNPgAe">;
|
|
1813
1813
|
declare enum OpportunityMarketAccount {
|
|
1814
1814
|
AllowedMint = 0,
|
|
1815
1815
|
ArciumSignerAccount = 1,
|
|
@@ -1856,7 +1856,7 @@ declare enum OpportunityMarketInstruction {
|
|
|
1856
1856
|
declare function identifyOpportunityMarketInstruction(instruction: {
|
|
1857
1857
|
data: ReadonlyUint8Array;
|
|
1858
1858
|
} | ReadonlyUint8Array): OpportunityMarketInstruction;
|
|
1859
|
-
type ParsedOpportunityMarketInstruction<TProgram extends string = '
|
|
1859
|
+
type ParsedOpportunityMarketInstruction<TProgram extends string = 'BENCLZWw5m2xTr3Mtb5nzWMLcBJFw6DNDtNAuhjNPgAe'> = ({
|
|
1860
1860
|
instructionType: OpportunityMarketInstruction.AddMarketOption;
|
|
1861
1861
|
} & ParsedAddMarketOptionInstruction<TProgram>) | ({
|
|
1862
1862
|
instructionType: OpportunityMarketInstruction.AddReward;
|
package/dist/index.js
CHANGED
|
@@ -2801,7 +2801,7 @@ import {
|
|
|
2801
2801
|
fixEncoderSize as fixEncoderSize8,
|
|
2802
2802
|
getBytesEncoder as getBytesEncoder8
|
|
2803
2803
|
} from "@solana/kit";
|
|
2804
|
-
var OPPORTUNITY_MARKET_PROGRAM_ADDRESS = "
|
|
2804
|
+
var OPPORTUNITY_MARKET_PROGRAM_ADDRESS = "BENCLZWw5m2xTr3Mtb5nzWMLcBJFw6DNDtNAuhjNPgAe";
|
|
2805
2805
|
var OpportunityMarketAccount = /* @__PURE__ */ ((OpportunityMarketAccount2) => {
|
|
2806
2806
|
OpportunityMarketAccount2[OpportunityMarketAccount2["AllowedMint"] = 0] = "AllowedMint";
|
|
2807
2807
|
OpportunityMarketAccount2[OpportunityMarketAccount2["ArciumSignerAccount"] = 1] = "ArciumSignerAccount";
|