@xgamesfun/solana 0.0.0-stage → 0.20.1

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.
Files changed (134) hide show
  1. package/DISCLAIMER.md +41 -0
  2. package/LICENSE +202 -0
  3. package/NOTICE +13 -0
  4. package/README.md +172 -2
  5. package/bin/xsolana.mjs +189 -0
  6. package/examples/artwork-auction.json +51 -0
  7. package/examples/blind-forge.json +128 -0
  8. package/examples/coin-flip-arena.json +108 -0
  9. package/examples/duel-arena.json +137 -0
  10. package/examples/elements-set.json +281 -0
  11. package/examples/event-badges.json +67 -0
  12. package/examples/expedition-guild.json +161 -0
  13. package/examples/fair-presale.json +48 -0
  14. package/examples/falling-drop.json +90 -0
  15. package/examples/guild-missions.json +144 -0
  16. package/examples/halving-seasons.json +112 -0
  17. package/examples/hero-trials.json +96 -0
  18. package/examples/ideas.json +789 -0
  19. package/examples/level-ladder.json +65 -0
  20. package/examples/merge-2048.json +128 -0
  21. package/examples/nft-raffle.json +33 -0
  22. package/examples/paper-hands-farm.json +56 -0
  23. package/examples/partner-vault.json +115 -0
  24. package/examples/sacrifice-raffle.json +118 -0
  25. package/examples/scorched-treasury.json +84 -0
  26. package/examples/shelter-fair.json +164 -0
  27. package/examples/spark-pity.json +153 -0
  28. package/examples/stakers-draw.json +125 -0
  29. package/examples/star-fleet.json +157 -0
  30. package/examples/starforce.json +116 -0
  31. package/examples/stud-farm.json +134 -0
  32. package/examples/team-vesting.json +70 -0
  33. package/examples/trade-in-shop.json +168 -0
  34. package/js/approve/details.mjs +262 -0
  35. package/js/approve/ed25519.mjs +36 -0
  36. package/js/approve/live-check.mjs +144 -0
  37. package/js/approve/page.html +86 -0
  38. package/js/approve/page.js +203 -0
  39. package/js/approve/server.mjs +711 -0
  40. package/js/chain/base58.js +73 -0
  41. package/js/chain/borsh.js +261 -0
  42. package/js/chain/bytes.js +141 -0
  43. package/js/chain/core.js +169 -0
  44. package/js/chain/curve.js +52 -0
  45. package/js/chain/lookup.js +273 -0
  46. package/js/chain/mint.js +96 -0
  47. package/js/chain/pda.js +66 -0
  48. package/js/chain/programs.js +102 -0
  49. package/js/chain/rpc.js +217 -0
  50. package/js/chain/sha256.js +68 -0
  51. package/js/chain/token.js +85 -0
  52. package/js/chain/token2022.js +247 -0
  53. package/js/chain/tx.js +224 -0
  54. package/js/client/accounts.js +347 -0
  55. package/js/client/compressed.js +46 -0
  56. package/js/client/grant.js +240 -0
  57. package/js/client/idl/loot.js +2 -0
  58. package/js/client/idl/loot.json +17064 -0
  59. package/js/client/index.js +9 -0
  60. package/js/client/ix.js +2156 -0
  61. package/js/client/pda.js +110 -0
  62. package/js/client/policy.js +48 -0
  63. package/js/client/sizes.js +54 -0
  64. package/js/client/traits.js +44 -0
  65. package/js/connect/connect.mjs +182 -0
  66. package/js/economy/check.mjs +1991 -0
  67. package/js/economy/cost.mjs +170 -0
  68. package/js/economy/examples.mjs +114 -0
  69. package/js/economy/explain.mjs +235 -0
  70. package/js/economy/guide.mjs +231 -0
  71. package/js/economy/legal.mjs +15 -0
  72. package/js/economy/live.mjs +107 -0
  73. package/js/economy/model.mjs +583 -0
  74. package/js/economy/plan.mjs +887 -0
  75. package/js/economy/schema.json +2923 -0
  76. package/js/economy/secrets.mjs +60 -0
  77. package/js/economy/simulate.mjs +952 -0
  78. package/js/economy/txsize.mjs +45 -0
  79. package/js/economy/validate.mjs +85 -0
  80. package/js/index.js +10 -0
  81. package/js/mcp/server.mjs +113 -0
  82. package/js/mcp/tools.mjs +479 -0
  83. package/js/play/index.js +2109 -0
  84. package/js/results/index.js +184 -0
  85. package/js/results/wire.js +90 -0
  86. package/package.json +100 -4
  87. package/release.json +8 -0
  88. package/skills/xsolana-economy/SKILL.md +105 -0
  89. package/skills/xsolana-economy/references/after-launch.md +114 -0
  90. package/skills/xsolana-economy/references/apps.md +157 -0
  91. package/skills/xsolana-economy/references/sentence-to-spec.md +172 -0
  92. package/skills/xsolana-economy/references/telling-the-person.md +93 -0
  93. package/types/chain/base58.d.ts +10 -0
  94. package/types/chain/borsh.d.ts +23 -0
  95. package/types/chain/bytes.d.ts +45 -0
  96. package/types/chain/core.d.ts +50 -0
  97. package/types/chain/curve.d.ts +1 -0
  98. package/types/chain/lookup.d.ts +191 -0
  99. package/types/chain/mint.d.ts +25 -0
  100. package/types/chain/pda.d.ts +25 -0
  101. package/types/chain/programs.d.ts +65 -0
  102. package/types/chain/rpc.d.ts +66 -0
  103. package/types/chain/sha256.d.ts +1 -0
  104. package/types/chain/token.d.ts +141 -0
  105. package/types/chain/token2022.d.ts +53 -0
  106. package/types/chain/tx.d.ts +60 -0
  107. package/types/client/accounts.d.ts +178 -0
  108. package/types/client/compressed.d.ts +29 -0
  109. package/types/client/grant.d.ts +125 -0
  110. package/types/client/idl/loot.d.ts +4467 -0
  111. package/types/client/index.d.ts +8 -0
  112. package/types/client/ix.d.ts +1687 -0
  113. package/types/client/pda.d.ts +91 -0
  114. package/types/client/policy.d.ts +23 -0
  115. package/types/client/sizes.d.ts +13 -0
  116. package/types/client/traits.d.ts +12 -0
  117. package/types/economy/check.d.mts +105 -0
  118. package/types/economy/cost.d.mts +68 -0
  119. package/types/economy/examples.d.mts +27 -0
  120. package/types/economy/explain.d.mts +19 -0
  121. package/types/economy/guide.d.mts +140 -0
  122. package/types/economy/legal.d.mts +12 -0
  123. package/types/economy/live.d.mts +109 -0
  124. package/types/economy/model.d.mts +363 -0
  125. package/types/economy/plan.d.mts +1013 -0
  126. package/types/economy/secrets.d.mts +4 -0
  127. package/types/economy/simulate.d.mts +156 -0
  128. package/types/economy/txsize.d.mts +17 -0
  129. package/types/economy/validate.d.mts +3 -0
  130. package/types/index.d.ts +9 -0
  131. package/types/mcp/tools.d.mts +627 -0
  132. package/types/play/index.d.ts +469 -0
  133. package/types/results/index.d.ts +155 -0
  134. package/types/results/wire.d.ts +122 -0
@@ -0,0 +1,178 @@
1
+ export { MAX_RECEIPT_ROUNDS } from './sizes.js';
2
+ /** Account tags: each account's first byte, as the program writes it. */
3
+ export declare const TAGS: Readonly<{
4
+ Platform: 1;
5
+ Project: 2;
6
+ Item: 3;
7
+ LootBox: 4;
8
+ Order: 5;
9
+ Schedule: 6;
10
+ Lottery: 7;
11
+ Recipe: 8;
12
+ Hold: 9;
13
+ Contest: 10;
14
+ Entry: 11;
15
+ Sheet: 12;
16
+ Traits: 13;
17
+ Grant: 14;
18
+ Receipt: 15;
19
+ LotteryContribution: 16;
20
+ Farm: 17;
21
+ Seat: 18;
22
+ Proven: 19;
23
+ Auction: 20;
24
+ Stash: 21;
25
+ Offer: 22;
26
+ Listing: 23;
27
+ }>;
28
+ /** The kind of a loot account from its first byte, or null. */
29
+ export declare const accountKind: (data: any) => string | null;
30
+ /** A loot account of the named kind (one the IDL describes). Throws when the data is not one. */
31
+ export declare const decode: (name: any, data: any) => any;
32
+ /** Any loot account: { kind, value }, or null for data that is no loot account. */
33
+ export declare function decodeAny(data: any): {
34
+ kind: string;
35
+ value: any;
36
+ } | null;
37
+ /**
38
+ * A counter (a Receipt): a wallet's on a box, a lottery, a recipe or a grant, a person's or a key's on
39
+ * a grant. { count (lifetime where tracked), window (the window `inWindow` counts), inWindow, rounds (the first 8
40
+ * bytes of sha256 of each round a grant paid it, by voucher or list, in order), claimed(round) }. A round it holds
41
+ * was paid once and can never be paid again.
42
+ */
43
+ export declare function decodeReceipt(data: any): {
44
+ count: number;
45
+ window: number;
46
+ inWindow: number;
47
+ rounds: Uint8Array<ArrayBuffer>[];
48
+ claimed: (round: any) => boolean;
49
+ };
50
+ /**
51
+ * A Sheet (`["sheet", project, nft]`): what the project wrote about an NFT it has no authority over. Returns { project, nft,
52
+ * attributes: [{ key, value }] }. A Sheet never written reads as none: pass `null` data for no account.
53
+ */
54
+ export declare function decodeSheet(data: any): {
55
+ project: string;
56
+ nft: string;
57
+ attributes: {
58
+ key: string;
59
+ value: string;
60
+ }[];
61
+ } | null;
62
+ /** A stash (`["stash", project, id]`): { project, id, nfts }, the NFTs the project holds to give away, in no order. */
63
+ export declare function decodeStash(data: any): {
64
+ project: string;
65
+ id: number;
66
+ nfts: string[];
67
+ } | null;
68
+ /**
69
+ * A compressed NFT's record (`["leaf", asset]`, `prove_leaf`): { asset, tree, owner (null once burned), delegate,
70
+ * collection (or null), flags, nonce, root (hex: the tree's root it holds for), payer }. Routes read it only while the
71
+ * tree's root is still `root`; after that anyone may close it (`closeLeafIx`).
72
+ */
73
+ export declare function decodeProven(data: any): {
74
+ asset: string;
75
+ tree: string;
76
+ owner: any;
77
+ delegate: any;
78
+ collection: any;
79
+ flags: number;
80
+ nonce: bigint;
81
+ root: string;
82
+ payer: string;
83
+ };
84
+ /** The traits a project vouches for (`["traits", project, key]`): { project, key, root (hex) }. */
85
+ export declare function decodeTraits(data: any): {
86
+ project: string;
87
+ key: string;
88
+ root: string;
89
+ };
90
+ /**
91
+ * A Token Metadata account (`MetadataV1`), read as far as a farm needs: { mint, collection (the one it is verified
92
+ * in, or null), programmable (a pNFT), ruleSet (a pNFT's, or null) }. Null for anything else. Older accounts end
93
+ * early: what is not there reads as none.
94
+ */
95
+ export declare function decodeTokenMetadata(data: any): {
96
+ mint: string;
97
+ collection: string | null;
98
+ programmable: boolean;
99
+ ruleSet: string | null;
100
+ } | null;
101
+ /** A fetched receipt, or null for a missing/prefunded empty System account. Other owners/layouts are refused. */
102
+ export declare function readReceiptAccount(account: any): {
103
+ count: number;
104
+ window: number;
105
+ inWindow: number;
106
+ rounds: Uint8Array<ArrayBuffer>[];
107
+ claimed: (round: any) => boolean;
108
+ } | null;
109
+ /** What a counter allows `n` more of at `now` under `limit` ({ total, per_window, window }, 0 is no limit). */
110
+ export declare function receiptAllows(receipt: any, limit: any, now: any, n?: number): boolean;
111
+ /** The contribution among `contributions` ([{ address, value }], decoded LotteryContributions) that holds `ticket`. */
112
+ export declare const contributionOf: (contributions: any, ticket: any) => any;
113
+ /** Whether a lottery's place wins something: a share of the pot, a roll, or both (as the program counts a place set). */
114
+ export declare const placeSet: (place: any) => boolean;
115
+ /** The places of a lottery that have a winner this round: as many as are set, but no more than tickets. */
116
+ export declare function lotteryWinners(lottery: any): number;
117
+ /** The ticket that wins `place` of a drawn lottery: even steps around the list from first place's ticket. */
118
+ export declare function ticketOfPlace(lottery: any, place: any): bigint;
119
+ /** The places of a drawn lottery whose winning ticket is in `first..end` (a contribution's), in order. */
120
+ export declare function placesWon(lottery: any, first: any, end: any): number[];
121
+ /** The places of a drawn round that have a winner and a prize, in order: what it gives before its money moves. */
122
+ export declare const prizePlaces: (lottery: any) => number[];
123
+ /** The places a contribution won whose prize is not given yet (`Lottery.given`): its next step gives them. */
124
+ export declare function lotteryOwed(lottery: any, contribution: any): number[];
125
+ /** Whether every place's prize of a drawn round is given, so its money may move (`PrizesFirst`). */
126
+ export declare const prizesGiven: (lottery: any) => boolean;
127
+ /** The lowest place of a drawn round whose prize is not given yet, or null: prizes go in place order (`PlacesInOrder`). */
128
+ export declare const nextPrizePlace: (lottery: any) => number | null;
129
+ /**
130
+ * What a contribution's next `finish_lottery_contribution` does, or null for nothing yet:
131
+ * 'prizes' give the prize of the next place it won, one place a call (a drawn round gives every prize before any money moves);
132
+ * 'refund' its tickets back to its buyer (a cancelled round, or a lottery that returns them);
133
+ * 'finish' its money through the shares into the pot, its tickets burned, or its NFT ticket spent (only once every
134
+ * prize of the round is given);
135
+ * 'pay' its places' shares of the pot, once every contribution of the round is finished.
136
+ */
137
+ export declare function lotteryStep(lottery: any, contribution: any): "finish" | "pay" | "prizes" | "refund" | null;
138
+ /**
139
+ * Who rents a listed NFT at `now` (Unix seconds), from its decoded Listing (or null for none): the renter's wallet while
140
+ * a rental runs, else null (a sale listing, or a rental that is over).
141
+ */
142
+ export declare function renterOf(listing: any, now: any): any;
143
+ /**
144
+ * How many runs of a schedule are due at `now` (Unix seconds, the chain's clock, never the computer's): each its own
145
+ * `run_schedule`, several in one transaction to catch up; one too many fails the whole transaction. A sealed schedule
146
+ * past its last run is due once whenever its vault holds something (`vaultBalance`), which goes where it always went.
147
+ */
148
+ export declare function runsDue(schedule: any, now: any, vaultBalance?: bigint): number;
149
+ /**
150
+ * The receipts (Anchor events) of a transaction that succeeded: [{ name, data }]. Pass what getTransaction returns
151
+ * (`{ meta: { err, logMessages } }`), or the logs and the transaction's `meta.err`. Success is `meta.err === null` and
152
+ * nothing else: a transaction can fail after every instruction logged success (the runtime's rent check, for one),
153
+ * and its logs still hold every receipt, so a transaction with an error gives none. A backend delivers from a
154
+ * finalized transaction's receipts, once per order or reference.
155
+ */
156
+ export declare function receipts(tx: any, err: any): {
157
+ name: any;
158
+ data: any;
159
+ }[];
160
+ /** The program's errors by code: { code: { name, msg } }. */
161
+ export declare const ERRORS: Readonly<{
162
+ [k: string]: {
163
+ name: string;
164
+ msg: string;
165
+ };
166
+ }>;
167
+ /**
168
+ * The loot error in a failed transaction's logs ("custom program error: 0x…", or Anchor's "Error Code: …" line), or
169
+ * null. Only loot's own: another program the transaction calls (Bubblegum, the VRF program, …) has codes of its own
170
+ * that may be the same numbers, so an error is loot's only when loot is the program that logged it or failed with it.
171
+ * The first program that fails is where the error came from; the programs that called it fail after it with the same
172
+ * code.
173
+ */
174
+ export declare function lootError(logs: any): {
175
+ name: string;
176
+ msg: string;
177
+ code: number;
178
+ } | null;
@@ -0,0 +1,29 @@
1
+ /**
2
+ * How many of a proof's nodes a transaction passes for this tree: the levels its canopy does not keep. `treeData` is
3
+ * the tree account's bytes.
4
+ */
5
+ export declare function proofLength(treeData: any): number;
6
+ /**
7
+ * A compressed NFT from an indexer's answers: `asset` (DAS `getAsset`), `proof` (DAS `getAssetProof`) and the tree
8
+ * account's bytes (`treeData`, for how much of the proof to pass). Returns { id, tree, nonce, owner, delegate,
9
+ * collection (or null), dataHash, creatorHash, assetDataHash (or null), flags, root, proof: [node, …] }. The proof
10
+ * must be against the tree's current root when it lands: fetch it just before sending.
11
+ */
12
+ export declare function compressedFromDas({ asset, proof, treeData }: {
13
+ asset: any;
14
+ proof: any;
15
+ treeData: any;
16
+ }): {
17
+ id: any;
18
+ tree: any;
19
+ nonce: bigint;
20
+ owner: any;
21
+ delegate: any;
22
+ collection: any;
23
+ dataHash: Uint8Array<ArrayBuffer> | null;
24
+ creatorHash: Uint8Array<ArrayBuffer> | null;
25
+ assetDataHash: Uint8Array<ArrayBuffer> | null;
26
+ flags: number;
27
+ root: Uint8Array<ArrayBuffer> | null;
28
+ proof: any;
29
+ };
@@ -0,0 +1,125 @@
1
+ export declare const VOUCHER_DOMAIN = "loot-grant-v4";
2
+ export declare const LIST_DOMAIN = "loot-list-v3";
3
+ export declare const KEY_DOMAIN = "loot-key-v1";
4
+ /** 13 + 32 × 4 + 8 + 16 + 8. */
5
+ export declare const VOUCHER_BYTES = 181;
6
+ export declare const ZERO_HASH: Uint8Array<ArrayBuffer>;
7
+ export declare const ED25519_PROGRAM = "Ed25519SigVerify111111111111111111111111111";
8
+ /** The day the program counts `per_day` in. */
9
+ export declare const dayOf: (unixSeconds: any) => number;
10
+ /** An i64 little-endian (two's complement), as the program reads `expires`. */
11
+ export declare const i64LE: (value: any) => Uint8Array<any>;
12
+ /**
13
+ * The 181 bytes a voucher key signs and `claim_grant` rebuilds from its own accounts and arguments. `round` names the
14
+ * win (the project round, draw or giveaway it was won in): the program pays a wallet each round once per grant incarnation.
15
+ */
16
+ export declare function voucherBytes({ program, grant, incarnation, wallet, personHash, round, expires, amount }: {
17
+ amount?: bigint | undefined;
18
+ expires: any;
19
+ grant: any;
20
+ incarnation: any;
21
+ personHash: any;
22
+ program?: string | undefined;
23
+ round: any;
24
+ wallet: any;
25
+ }): Uint8Array<any>;
26
+ /** The fields back from voucher bytes (addresses as bytes). */
27
+ export declare function readVoucher(bytes: any): {
28
+ program: Uint8Array<ArrayBuffer>;
29
+ grant: Uint8Array<ArrayBuffer>;
30
+ incarnation: bigint;
31
+ wallet: Uint8Array<ArrayBuffer>;
32
+ personHash: Uint8Array<ArrayBuffer>;
33
+ round: Uint8Array<ArrayBuffer>;
34
+ expires: bigint;
35
+ amount: bigint;
36
+ };
37
+ /** A voucher key's leaf under a grant's `key_root`. */
38
+ export declare const keyLeaf: (key: any) => Uint8Array<ArrayBuffer>;
39
+ /** A list entry's round as the leaf names it: a number (a spec's `round`) in the first 8 of 16 bytes; 0 is zeros. */
40
+ export declare const listRound: (n?: number) => Uint8Array<ArrayBuffer>;
41
+ /**
42
+ * A leaf of an approved list: `wallet` won `round` (16 bytes or 32 hex characters; zeros when not given). A round is
43
+ * paid once, so a list can name the winners of many rounds, and a wallet's earlier wins stay claimable when a new
44
+ * list adds later ones.
45
+ */
46
+ export declare const listLeaf: (wallet: any, personHash: any, round: any, amount?: bigint) => Uint8Array<ArrayBuffer>;
47
+ /** The prefix of a wallet's leaf in a list gate (`gateListLeaf`). */
48
+ export declare const GATE_LIST_DOMAIN = "loot-list-v1";
49
+ /** A wallet's leaf in a list gate (`Gate::List`): sha256("loot-list-v1" | wallet). Its tree is a list's
50
+ * (`merkleRoot`, `merkleProof`), and its proof's nodes go where an NFT shown would (`gateAccounts`'s `listProof`). */
51
+ export declare const gateListLeaf: (wallet: any) => Uint8Array<ArrayBuffer>;
52
+ /** The parent of two nodes: sha256 of the smaller then the larger. */
53
+ export declare const parentOf: (a: any, b: any) => Uint8Array<ArrayBuffer>;
54
+ /** The root of the leaves, in the order given. Whoever builds the list keeps that order. */
55
+ export declare const merkleRoot: (leaves: any) => any;
56
+ /** The siblings of leaf `index`, from the bottom up. */
57
+ export declare function merkleProof(leaves: any, index: any): any[];
58
+ /**
59
+ * A list gate's tree (`Gate::List`) for `wallets`, in the order given: its `root`, its `depth`, and `proofOf(wallet)`.
60
+ * The gate reads exactly `depth` nodes, so the leaves are filled up to a power of two with a leaf no wallet has (all
61
+ * zeros): every wallet's proof is then `depth` nodes long.
62
+ */
63
+ export declare function gateList(wallets: any): {
64
+ root: any;
65
+ depth: number;
66
+ proofOf: (wallet: any) => any[];
67
+ };
68
+ /** Whether `proof` leads from `leaf` to `root`. */
69
+ export declare function verifyProof(leaf: any, proof: any, root: any): boolean;
70
+ /**
71
+ * The Ed25519 precompile instruction for one signature, everything in its own data: count 1, padding, seven u16
72
+ * offsets with instruction index 0xffff (this instruction), then the key at 16, the signature at 48, the message at
73
+ * 112. `claim_grant` reads it through the instructions sysvar, in the instruction right before itself.
74
+ */
75
+ export declare function ed25519Ix({ publicKey, signature, message }: {
76
+ message: any;
77
+ publicKey: any;
78
+ signature: any;
79
+ }): {
80
+ programId: string;
81
+ keys: never[];
82
+ data: Uint8Array<any>;
83
+ };
84
+ /**
85
+ * The claim of grant `id` for `wallet`, sent and signed by `signer` (anyone: the play host, the owner's server, the
86
+ * player). The grant's funds pay its rent through the signer; what they can't cover, the signer pays. The signer pays
87
+ * the player fee with its own SOL. `grant` is the decoded Grant; `count` the wallet's receipt count before this claim (0 for a
88
+ * first claim); `poolMint` the mint of a Payout's pool, read from the pool.
89
+ * A voucher claim goes right after `ed25519Ix` in the same transaction, `voucherKey` the key that signed it (its
90
+ * counter is passed when the grant limits keys; a key under the key root carries its `proof`); a list claim carries
91
+ * its `proof`; an open grant (no keys, no key root, no list) needs neither. What passes its gate (`shown`, or
92
+ * `listProof` for a list gate) comes first. Its prize (`grant.gives`, `prizeMetas`)
93
+ * follows: `poolMint` for tokens from a pool, `item` (the decoded Item) for a collectible or a compressed NFT of one, `nft` for an NFT of a stash;
94
+ * a roll's order at `nonce` (`prizeNonce(grant, round, count)` by default), then the rolled box's prize mints
95
+ * (`rollMints`: `boxes` maps the box's id to its decoded LootBox, null for one never written; `rollPools` each pool its
96
+ * prizes name to its mint, null for one never opened). The grant's funds pay what it opens.
97
+ */
98
+ export declare function claimGrantIx({ project, id, grant, wallet, signer, count, round, expires, personHash, amount, proof, poolMint, item, nft, boxes, rollPools, shown, listProof, programs, voucherKey, nonce, extra }: {
99
+ amount?: bigint | undefined;
100
+ boxes?: {} | undefined;
101
+ count?: number | undefined;
102
+ expires: any;
103
+ extra?: never[] | undefined;
104
+ grant: any;
105
+ id: any;
106
+ item: any;
107
+ listProof: any;
108
+ nft: any;
109
+ nonce: any;
110
+ personHash: any;
111
+ poolMint: any;
112
+ programs: any;
113
+ project: any;
114
+ proof?: never[] | undefined;
115
+ rollPools?: {} | undefined;
116
+ round: any;
117
+ shown: any;
118
+ signer: any;
119
+ voucherKey: any;
120
+ wallet: any;
121
+ }): {
122
+ programId: string;
123
+ keys: any[];
124
+ data: Uint8Array<any>;
125
+ };