@bench.games/opportunity-markets 0.2.11 → 0.2.12
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
|
@@ -1596,7 +1596,7 @@ declare function isOpportunityMarketError<TProgramErrorCode extends OpportunityM
|
|
|
1596
1596
|
* @see https://github.com/codama-idl/codama
|
|
1597
1597
|
*/
|
|
1598
1598
|
|
|
1599
|
-
declare const OPPORTUNITY_MARKET_PROGRAM_ADDRESS: Address<"
|
|
1599
|
+
declare const OPPORTUNITY_MARKET_PROGRAM_ADDRESS: Address<"BENCHauvSzMY39khAvj43LHRpbVewb76Wv8ETsVuHn8C">;
|
|
1600
1600
|
declare enum OpportunityMarketAccount {
|
|
1601
1601
|
ArciumSignerAccount = 0,
|
|
1602
1602
|
CentralState = 1,
|
|
@@ -1646,7 +1646,7 @@ declare enum OpportunityMarketInstruction {
|
|
|
1646
1646
|
declare function identifyOpportunityMarketInstruction(instruction: {
|
|
1647
1647
|
data: ReadonlyUint8Array;
|
|
1648
1648
|
} | ReadonlyUint8Array): OpportunityMarketInstruction;
|
|
1649
|
-
type ParsedOpportunityMarketInstruction<TProgram extends string = '
|
|
1649
|
+
type ParsedOpportunityMarketInstruction<TProgram extends string = 'BENCHauvSzMY39khAvj43LHRpbVewb76Wv8ETsVuHn8C'> = ({
|
|
1650
1650
|
instructionType: OpportunityMarketInstruction.AddMarketOption;
|
|
1651
1651
|
} & ParsedAddMarketOptionInstruction<TProgram>) | ({
|
|
1652
1652
|
instructionType: OpportunityMarketInstruction.AddReward;
|
package/dist/index.d.ts
CHANGED
|
@@ -1596,7 +1596,7 @@ declare function isOpportunityMarketError<TProgramErrorCode extends OpportunityM
|
|
|
1596
1596
|
* @see https://github.com/codama-idl/codama
|
|
1597
1597
|
*/
|
|
1598
1598
|
|
|
1599
|
-
declare const OPPORTUNITY_MARKET_PROGRAM_ADDRESS: Address<"
|
|
1599
|
+
declare const OPPORTUNITY_MARKET_PROGRAM_ADDRESS: Address<"BENCHauvSzMY39khAvj43LHRpbVewb76Wv8ETsVuHn8C">;
|
|
1600
1600
|
declare enum OpportunityMarketAccount {
|
|
1601
1601
|
ArciumSignerAccount = 0,
|
|
1602
1602
|
CentralState = 1,
|
|
@@ -1646,7 +1646,7 @@ declare enum OpportunityMarketInstruction {
|
|
|
1646
1646
|
declare function identifyOpportunityMarketInstruction(instruction: {
|
|
1647
1647
|
data: ReadonlyUint8Array;
|
|
1648
1648
|
} | ReadonlyUint8Array): OpportunityMarketInstruction;
|
|
1649
|
-
type ParsedOpportunityMarketInstruction<TProgram extends string = '
|
|
1649
|
+
type ParsedOpportunityMarketInstruction<TProgram extends string = 'BENCHauvSzMY39khAvj43LHRpbVewb76Wv8ETsVuHn8C'> = ({
|
|
1650
1650
|
instructionType: OpportunityMarketInstruction.AddMarketOption;
|
|
1651
1651
|
} & ParsedAddMarketOptionInstruction<TProgram>) | ({
|
|
1652
1652
|
instructionType: OpportunityMarketInstruction.AddReward;
|
package/dist/index.js
CHANGED
|
@@ -2707,7 +2707,7 @@ import {
|
|
|
2707
2707
|
fixEncoderSize as fixEncoderSize13,
|
|
2708
2708
|
getBytesEncoder as getBytesEncoder13
|
|
2709
2709
|
} from "@solana/kit";
|
|
2710
|
-
var OPPORTUNITY_MARKET_PROGRAM_ADDRESS = "
|
|
2710
|
+
var OPPORTUNITY_MARKET_PROGRAM_ADDRESS = "BENCHauvSzMY39khAvj43LHRpbVewb76Wv8ETsVuHn8C";
|
|
2711
2711
|
var OpportunityMarketAccount = /* @__PURE__ */ ((OpportunityMarketAccount2) => {
|
|
2712
2712
|
OpportunityMarketAccount2[OpportunityMarketAccount2["ArciumSignerAccount"] = 0] = "ArciumSignerAccount";
|
|
2713
2713
|
OpportunityMarketAccount2[OpportunityMarketAccount2["CentralState"] = 1] = "CentralState";
|