@bench.games/opportunity-markets 0.3.4 → 0.3.5
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
|
@@ -1805,7 +1805,7 @@ declare function isOpportunityMarketError<TProgramErrorCode extends OpportunityM
|
|
|
1805
1805
|
* @see https://github.com/codama-idl/codama
|
|
1806
1806
|
*/
|
|
1807
1807
|
|
|
1808
|
-
declare const OPPORTUNITY_MARKET_PROGRAM_ADDRESS: Address<"
|
|
1808
|
+
declare const OPPORTUNITY_MARKET_PROGRAM_ADDRESS: Address<"BENCLZWw5m2xTr3Mtb5nzWMLcBJFw6DNDtNAuhjNPgAe">;
|
|
1809
1809
|
declare enum OpportunityMarketAccount {
|
|
1810
1810
|
AllowedMint = 0,
|
|
1811
1811
|
ArciumSignerAccount = 1,
|
|
@@ -1852,7 +1852,7 @@ declare enum OpportunityMarketInstruction {
|
|
|
1852
1852
|
declare function identifyOpportunityMarketInstruction(instruction: {
|
|
1853
1853
|
data: ReadonlyUint8Array;
|
|
1854
1854
|
} | ReadonlyUint8Array): OpportunityMarketInstruction;
|
|
1855
|
-
type ParsedOpportunityMarketInstruction<TProgram extends string = '
|
|
1855
|
+
type ParsedOpportunityMarketInstruction<TProgram extends string = 'BENCLZWw5m2xTr3Mtb5nzWMLcBJFw6DNDtNAuhjNPgAe'> = ({
|
|
1856
1856
|
instructionType: OpportunityMarketInstruction.AddMarketOption;
|
|
1857
1857
|
} & ParsedAddMarketOptionInstruction<TProgram>) | ({
|
|
1858
1858
|
instructionType: OpportunityMarketInstruction.AddReward;
|
package/dist/index.d.ts
CHANGED
|
@@ -1805,7 +1805,7 @@ declare function isOpportunityMarketError<TProgramErrorCode extends OpportunityM
|
|
|
1805
1805
|
* @see https://github.com/codama-idl/codama
|
|
1806
1806
|
*/
|
|
1807
1807
|
|
|
1808
|
-
declare const OPPORTUNITY_MARKET_PROGRAM_ADDRESS: Address<"
|
|
1808
|
+
declare const OPPORTUNITY_MARKET_PROGRAM_ADDRESS: Address<"BENCLZWw5m2xTr3Mtb5nzWMLcBJFw6DNDtNAuhjNPgAe">;
|
|
1809
1809
|
declare enum OpportunityMarketAccount {
|
|
1810
1810
|
AllowedMint = 0,
|
|
1811
1811
|
ArciumSignerAccount = 1,
|
|
@@ -1852,7 +1852,7 @@ declare enum OpportunityMarketInstruction {
|
|
|
1852
1852
|
declare function identifyOpportunityMarketInstruction(instruction: {
|
|
1853
1853
|
data: ReadonlyUint8Array;
|
|
1854
1854
|
} | ReadonlyUint8Array): OpportunityMarketInstruction;
|
|
1855
|
-
type ParsedOpportunityMarketInstruction<TProgram extends string = '
|
|
1855
|
+
type ParsedOpportunityMarketInstruction<TProgram extends string = 'BENCLZWw5m2xTr3Mtb5nzWMLcBJFw6DNDtNAuhjNPgAe'> = ({
|
|
1856
1856
|
instructionType: OpportunityMarketInstruction.AddMarketOption;
|
|
1857
1857
|
} & ParsedAddMarketOptionInstruction<TProgram>) | ({
|
|
1858
1858
|
instructionType: OpportunityMarketInstruction.AddReward;
|
package/dist/index.js
CHANGED
|
@@ -2796,7 +2796,7 @@ import {
|
|
|
2796
2796
|
fixEncoderSize as fixEncoderSize8,
|
|
2797
2797
|
getBytesEncoder as getBytesEncoder8
|
|
2798
2798
|
} from "@solana/kit";
|
|
2799
|
-
var OPPORTUNITY_MARKET_PROGRAM_ADDRESS = "
|
|
2799
|
+
var OPPORTUNITY_MARKET_PROGRAM_ADDRESS = "BENCLZWw5m2xTr3Mtb5nzWMLcBJFw6DNDtNAuhjNPgAe";
|
|
2800
2800
|
var OpportunityMarketAccount = /* @__PURE__ */ ((OpportunityMarketAccount2) => {
|
|
2801
2801
|
OpportunityMarketAccount2[OpportunityMarketAccount2["AllowedMint"] = 0] = "AllowedMint";
|
|
2802
2802
|
OpportunityMarketAccount2[OpportunityMarketAccount2["ArciumSignerAccount"] = 1] = "ArciumSignerAccount";
|