@silvana-one/api 0.1.0

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 (40) hide show
  1. package/README.md +1 -0
  2. package/dist/node/client/sdk.gen.d.ts +153 -0
  3. package/dist/node/client/sdk.gen.js +269 -0
  4. package/dist/node/client/sdk.gen.js.map +1 -0
  5. package/dist/node/client/types.gen.d.ts +1068 -0
  6. package/dist/node/client/types.gen.js +3 -0
  7. package/dist/node/client/types.gen.js.map +1 -0
  8. package/dist/node/config.d.ts +5 -0
  9. package/dist/node/config.js +15 -0
  10. package/dist/node/config.js.map +1 -0
  11. package/dist/node/index.cjs +286 -0
  12. package/dist/node/index.d.ts +4 -0
  13. package/dist/node/index.js +9 -0
  14. package/dist/node/index.js.map +1 -0
  15. package/dist/node/wait.d.ts +2 -0
  16. package/dist/node/wait.js +58 -0
  17. package/dist/node/wait.js.map +1 -0
  18. package/dist/tsconfig.tsbuildinfo +1 -0
  19. package/dist/tsconfig.web.tsbuildinfo +1 -0
  20. package/dist/web/client/sdk.gen.d.ts +153 -0
  21. package/dist/web/client/sdk.gen.js +269 -0
  22. package/dist/web/client/sdk.gen.js.map +1 -0
  23. package/dist/web/client/types.gen.d.ts +1068 -0
  24. package/dist/web/client/types.gen.js +3 -0
  25. package/dist/web/client/types.gen.js.map +1 -0
  26. package/dist/web/config.d.ts +5 -0
  27. package/dist/web/config.js +15 -0
  28. package/dist/web/config.js.map +1 -0
  29. package/dist/web/index.d.ts +4 -0
  30. package/dist/web/index.js +9 -0
  31. package/dist/web/index.js.map +1 -0
  32. package/dist/web/wait.d.ts +2 -0
  33. package/dist/web/wait.js +58 -0
  34. package/dist/web/wait.js.map +1 -0
  35. package/package.json +61 -0
  36. package/src/client/sdk.gen.ts +294 -0
  37. package/src/client/types.gen.ts +1211 -0
  38. package/src/config.ts +24 -0
  39. package/src/index.ts +8 -0
  40. package/src/wait.ts +73 -0
@@ -0,0 +1,153 @@
1
+ import { type OptionsLegacyParser } from '@hey-api/client-fetch';
2
+ import type { LaunchTokenData, GetContractInfoData, GetContractInfoResponse, GetNftV2InfoData, FaucetData, GetTokenInfoData, GetTokenBalanceData, ProveData, GetProofData, TxStatusData, MintTokensData, TransferTokensData, AirdropTokensData, RedeemTokensData, BurnTokensData, TokenBidData, TokenOfferData, BuyTokensData, SellTokensData, WithdrawTokenBidData, WithdrawTokenOfferData, UpdateTokenBidWhitelistData, UpdateTokenOfferWhitelistData, UpdateTokenAdminWhitelistData } from './types.gen.js';
3
+ export declare const client: import("@hey-api/client-fetch").Client<Request, Response, unknown, import("@hey-api/client-fetch").RequestOptions<boolean, string>>;
4
+ /**
5
+ * Deploy a new fungible token contract.
6
+ * The `launch` endpoint is used to deploy a new fungible token on the Mina blockchain.
7
+ * It allows users to create a new token with customizable parameters such as symbol,
8
+ * decimals, URI, and admin contract type (standard or advanced).
9
+ *
10
+ */
11
+ export declare const launchToken: <ThrowOnError extends boolean = false>(options: OptionsLegacyParser<LaunchTokenData, ThrowOnError>) => import("@hey-api/client-fetch").RequestResult<import("./types.gen.js").TokenTransaction, import("./types.gen.js").ErrorResponse, ThrowOnError>;
12
+ /**
13
+ * Retrieve contract info
14
+ * Retrieves detailed information about a contract.
15
+ */
16
+ export declare const getContractInfo: <ThrowOnError extends boolean = false>(options: OptionsLegacyParser<GetContractInfoData, ThrowOnError>) => import("@hey-api/client-fetch").RequestResult<GetContractInfoResponse, import("./types.gen.js").ErrorResponse, ThrowOnError>;
17
+ /**
18
+ * Retrieve NFT Info
19
+ * Retrieves detailed information about a Mina NFT V2.
20
+ */
21
+ export declare const getNftV2Info: <ThrowOnError extends boolean = false>(options: OptionsLegacyParser<GetNftV2InfoData, ThrowOnError>) => import("@hey-api/client-fetch").RequestResult<import("./types.gen.js").NFTRequestAnswer, import("./types.gen.js").ErrorResponse, ThrowOnError>;
22
+ /**
23
+ * Request Funds from Faucet
24
+ * Requests funds from the faucet for testing purposes.
25
+ */
26
+ export declare const faucet: <ThrowOnError extends boolean = false>(options: OptionsLegacyParser<FaucetData, ThrowOnError>) => import("@hey-api/client-fetch").RequestResult<import("./types.gen.js").FaucetResponse, import("./types.gen.js").ErrorResponse, ThrowOnError>;
27
+ /**
28
+ * Retrieve information about a fungible token.
29
+ * The `info` endpoint retrieves detailed information about a specific fungible token deployed on the Mina blockchain.
30
+ *
31
+ */
32
+ export declare const getTokenInfo: <ThrowOnError extends boolean = false>(options: OptionsLegacyParser<GetTokenInfoData, ThrowOnError>) => import("@hey-api/client-fetch").RequestResult<import("./types.gen.js").TokenState, import("./types.gen.js").ErrorResponse, ThrowOnError>;
33
+ /**
34
+ * Retrieve the balance of a specific token for an address.
35
+ * The `balance` endpoint retrieves the balance of a specific fungible token for a given Mina address.
36
+ *
37
+ */
38
+ export declare const getTokenBalance: <ThrowOnError extends boolean = false>(options: OptionsLegacyParser<GetTokenBalanceData, ThrowOnError>) => import("@hey-api/client-fetch").RequestResult<import("./types.gen.js").BalanceResponse, import("./types.gen.js").ErrorResponse, ThrowOnError>;
39
+ /**
40
+ * Generate proofs for signed token transactions.
41
+ * The `prove` endpoint initiates the proof generation process for a set of signed token transactions.
42
+ * It returns a job ID which can be used to check the status and retrieve the proofs or tx hashes using the `/proof` endpoint.
43
+ *
44
+ */
45
+ export declare const prove: <ThrowOnError extends boolean = false>(options: OptionsLegacyParser<ProveData, ThrowOnError>) => import("@hey-api/client-fetch").RequestResult<import("./types.gen.js").JobId, import("./types.gen.js").ErrorResponse, ThrowOnError>;
46
+ /**
47
+ * Check the status of a proof generation job and retrieve proofs.
48
+ * The `proof` endpoint allows you to check the status of a proof generation job initiated via the `/prove` endpoint.
49
+ * It returns the status of the job and the proofs or tx hashes if they are ready.
50
+ *
51
+ */
52
+ export declare const getProof: <ThrowOnError extends boolean = false>(options: OptionsLegacyParser<GetProofData, ThrowOnError>) => import("@hey-api/client-fetch").RequestResult<import("./types.gen.js").JobResults, import("./types.gen.js").ErrorResponse, ThrowOnError>;
53
+ /**
54
+ * Retrieve the status of a transaction by its hash.
55
+ * The `tx-status` endpoint allows you to check the current status of a transaction on the Mina blockchain by providing the transaction hash. It returns whether the transaction has been applied, failed, or is still pending.
56
+ *
57
+ */
58
+ export declare const txStatus: <ThrowOnError extends boolean = false>(options: OptionsLegacyParser<TxStatusData, ThrowOnError>) => import("@hey-api/client-fetch").RequestResult<import("./types.gen.js").TransactionStatus, import("./types.gen.js").ErrorResponse, ThrowOnError>;
59
+ /**
60
+ * Mint new tokens to a specified address.
61
+ * The `mint` endpoint allows authorized users to mint new tokens of a fungible token on the Mina blockchain.
62
+ * This transaction increases the total supply of the token by creating new tokens and assigning them to a specified address.
63
+ * The sender must have the authority to mint tokens, typically the admin of the token contract.
64
+ *
65
+ */
66
+ export declare const mintTokens: <ThrowOnError extends boolean = false>(options: OptionsLegacyParser<MintTokensData, ThrowOnError>) => import("@hey-api/client-fetch").RequestResult<import("./types.gen.js").TokenTransaction, import("./types.gen.js").ErrorResponse, ThrowOnError>;
67
+ /**
68
+ * Transfer tokens from one address to another.
69
+ * The `transfer` endpoint allows users to transfer tokens of a fungible token on the Mina blockchain from one address to another.
70
+ * The sender must have sufficient balance and appropriate permissions to perform the transfer.
71
+ *
72
+ */
73
+ export declare const transferTokens: <ThrowOnError extends boolean = false>(options: OptionsLegacyParser<TransferTokensData, ThrowOnError>) => import("@hey-api/client-fetch").RequestResult<import("./types.gen.js").TokenTransaction, import("./types.gen.js").ErrorResponse, ThrowOnError>;
74
+ /**
75
+ * Distribute tokens to multiple addresses via airdrop.
76
+ * Allows users to distribute tokens to multiple addresses in a single transaction.
77
+ * This is efficient for distributing tokens during events like token launches or community rewards.
78
+ *
79
+ */
80
+ export declare const airdropTokens: <ThrowOnError extends boolean = false>(options: OptionsLegacyParser<AirdropTokensData, ThrowOnError>) => import("@hey-api/client-fetch").RequestResult<import("./types.gen.js").AirdropTransactionResponse, import("./types.gen.js").ErrorResponse, ThrowOnError>;
81
+ /**
82
+ * Redeem tokens for a MINA (applicable for Fungible Tokens with Bonding Curve Admin)
83
+ * The `redeem` endpoint allows users to redeem tokens of a fungible token on the Mina blockchain for a MINA.
84
+ * The sender must have sufficient balance and appropriate permissions to perform the transfer.
85
+ *
86
+ */
87
+ export declare const redeemTokens: <ThrowOnError extends boolean = false>(options: OptionsLegacyParser<RedeemTokensData, ThrowOnError>) => import("@hey-api/client-fetch").RequestResult<import("./types.gen.js").TokenTransaction, import("./types.gen.js").ErrorResponse, ThrowOnError>;
88
+ /**
89
+ * Burn tokens from one address.
90
+ * The `burn` endpoint allows users to burn tokens of a fungible token on the Mina blockchain from one address.
91
+ * The sender must have sufficient balance and appropriate permissions to perform the burn.
92
+ *
93
+ */
94
+ export declare const burnTokens: <ThrowOnError extends boolean = false>(options: OptionsLegacyParser<BurnTokensData, ThrowOnError>) => import("@hey-api/client-fetch").RequestResult<import("./types.gen.js").TokenTransaction, import("./types.gen.js").ErrorResponse, ThrowOnError>;
95
+ /**
96
+ * Place a bid on a token
97
+ * Allows users to place a bid on an token.
98
+ *
99
+ */
100
+ export declare const tokenBid: <ThrowOnError extends boolean = false>(options: OptionsLegacyParser<TokenBidData, ThrowOnError>) => import("@hey-api/client-fetch").RequestResult<import("./types.gen.js").TokenTransaction, import("./types.gen.js").ErrorResponse, ThrowOnError>;
101
+ /**
102
+ * Create an offer to sell tokens at a specified price.
103
+ * Allows users to create an offer to sell a specified amount of tokens at a given price.
104
+ *
105
+ */
106
+ export declare const tokenOffer: <ThrowOnError extends boolean = false>(options: OptionsLegacyParser<TokenOfferData, ThrowOnError>) => import("@hey-api/client-fetch").RequestResult<import("./types.gen.js").TokenTransaction, import("./types.gen.js").ErrorResponse, ThrowOnError>;
107
+ /**
108
+ * Purchase tokens from an existing offer.
109
+ * Allows users to purchase tokens from an existing offer on the Mina blockchain.
110
+ * This endpoint facilitates the transaction where tokens are transferred from the offer address to the buyer's address in exchange for the specified price.
111
+ *
112
+ */
113
+ export declare const buyTokens: <ThrowOnError extends boolean = false>(options: OptionsLegacyParser<BuyTokensData, ThrowOnError>) => import("@hey-api/client-fetch").RequestResult<import("./types.gen.js").TokenTransaction, import("./types.gen.js").ErrorResponse, ThrowOnError>;
114
+ /**
115
+ * Sell a token to the Bid contract.
116
+ * Allows token owners to sell their tokens to the Bid contract.
117
+ *
118
+ */
119
+ export declare const sellTokens: <ThrowOnError extends boolean = false>(options: OptionsLegacyParser<SellTokensData, ThrowOnError>) => import("@hey-api/client-fetch").RequestResult<import("./types.gen.js").TokenTransaction, import("./types.gen.js").ErrorResponse, ThrowOnError>;
120
+ /**
121
+ * Withdraw a previously placed bid on an token.
122
+ * Allows users to withdraw a bid they have previously placed using the `/bid` endpoint.
123
+ * This transaction cancels the active bid, releasing any locked funds.
124
+ *
125
+ */
126
+ export declare const withdrawTokenBid: <ThrowOnError extends boolean = false>(options: OptionsLegacyParser<WithdrawTokenBidData, ThrowOnError>) => import("@hey-api/client-fetch").RequestResult<import("./types.gen.js").TokenTransaction, import("./types.gen.js").ErrorResponse, ThrowOnError>;
127
+ /**
128
+ * Withdraw a previously made offer to sell a token.
129
+ * Allows users to withdraw an offer they have previously made using the `/offer` endpoint.
130
+ * This transaction cancels the active offer, releasing any locked tokens.
131
+ *
132
+ */
133
+ export declare const withdrawTokenOffer: <ThrowOnError extends boolean = false>(options: OptionsLegacyParser<WithdrawTokenOfferData, ThrowOnError>) => import("@hey-api/client-fetch").RequestResult<import("./types.gen.js").TokenTransaction, import("./types.gen.js").ErrorResponse, ThrowOnError>;
134
+ /**
135
+ * Update the bid whitelist
136
+ * Allows administrators to update the whitelist of addresses permitted to interact with the Bid contract.
137
+ * This is essential for managing participation in bidding processes, especially for controlled or private auctions.
138
+ *
139
+ */
140
+ export declare const updateTokenBidWhitelist: <ThrowOnError extends boolean = false>(options: OptionsLegacyParser<UpdateTokenBidWhitelistData, ThrowOnError>) => import("@hey-api/client-fetch").RequestResult<import("./types.gen.js").TokenTransaction, import("./types.gen.js").ErrorResponse, ThrowOnError>;
141
+ /**
142
+ * Update the offer whitelist
143
+ * Allows administrators to update the whitelist of addresses permitted to interact with the Offer contract.
144
+ * This is essential for managing participation in offer processes, especially for controlled or private sales.
145
+ *
146
+ */
147
+ export declare const updateTokenOfferWhitelist: <ThrowOnError extends boolean = false>(options: OptionsLegacyParser<UpdateTokenOfferWhitelistData, ThrowOnError>) => import("@hey-api/client-fetch").RequestResult<import("./types.gen.js").TokenTransaction, import("./types.gen.js").ErrorResponse, ThrowOnError>;
148
+ /**
149
+ * Update the advanced admin whitelist
150
+ * Allows administrators to update the whitelist of admin contracts.
151
+ *
152
+ */
153
+ export declare const updateTokenAdminWhitelist: <ThrowOnError extends boolean = false>(options: OptionsLegacyParser<UpdateTokenAdminWhitelistData, ThrowOnError>) => import("@hey-api/client-fetch").RequestResult<import("./types.gen.js").TokenTransaction, import("./types.gen.js").ErrorResponse, ThrowOnError>;
@@ -0,0 +1,269 @@
1
+ // This file is auto-generated by @hey-api/openapi-ts
2
+ import { createClient, createConfig } from '@hey-api/client-fetch';
3
+ export const client = createClient(createConfig());
4
+ /**
5
+ * Deploy a new fungible token contract.
6
+ * The `launch` endpoint is used to deploy a new fungible token on the Mina blockchain.
7
+ * It allows users to create a new token with customizable parameters such as symbol,
8
+ * decimals, URI, and admin contract type (standard or advanced).
9
+ *
10
+ */
11
+ export const launchToken = (options) => {
12
+ return (options?.client ?? client).post({
13
+ ...options,
14
+ url: '/token/launch'
15
+ });
16
+ };
17
+ /**
18
+ * Retrieve contract info
19
+ * Retrieves detailed information about a contract.
20
+ */
21
+ export const getContractInfo = (options) => {
22
+ return (options?.client ?? client).post({
23
+ ...options,
24
+ url: '/info/contract'
25
+ });
26
+ };
27
+ /**
28
+ * Retrieve NFT Info
29
+ * Retrieves detailed information about a Mina NFT V2.
30
+ */
31
+ export const getNftV2Info = (options) => {
32
+ return (options?.client ?? client).post({
33
+ ...options,
34
+ url: '/info/nft-v2'
35
+ });
36
+ };
37
+ /**
38
+ * Request Funds from Faucet
39
+ * Requests funds from the faucet for testing purposes.
40
+ */
41
+ export const faucet = (options) => {
42
+ return (options?.client ?? client).post({
43
+ ...options,
44
+ url: '/faucet'
45
+ });
46
+ };
47
+ /**
48
+ * Retrieve information about a fungible token.
49
+ * The `info` endpoint retrieves detailed information about a specific fungible token deployed on the Mina blockchain.
50
+ *
51
+ */
52
+ export const getTokenInfo = (options) => {
53
+ return (options?.client ?? client).post({
54
+ ...options,
55
+ url: '/info/token'
56
+ });
57
+ };
58
+ /**
59
+ * Retrieve the balance of a specific token for an address.
60
+ * The `balance` endpoint retrieves the balance of a specific fungible token for a given Mina address.
61
+ *
62
+ */
63
+ export const getTokenBalance = (options) => {
64
+ return (options?.client ?? client).post({
65
+ ...options,
66
+ url: '/info/balance'
67
+ });
68
+ };
69
+ /**
70
+ * Generate proofs for signed token transactions.
71
+ * The `prove` endpoint initiates the proof generation process for a set of signed token transactions.
72
+ * It returns a job ID which can be used to check the status and retrieve the proofs or tx hashes using the `/proof` endpoint.
73
+ *
74
+ */
75
+ export const prove = (options) => {
76
+ return (options?.client ?? client).post({
77
+ ...options,
78
+ url: '/transaction/prove'
79
+ });
80
+ };
81
+ /**
82
+ * Check the status of a proof generation job and retrieve proofs.
83
+ * The `proof` endpoint allows you to check the status of a proof generation job initiated via the `/prove` endpoint.
84
+ * It returns the status of the job and the proofs or tx hashes if they are ready.
85
+ *
86
+ */
87
+ export const getProof = (options) => {
88
+ return (options?.client ?? client).post({
89
+ ...options,
90
+ url: '/transaction/proof'
91
+ });
92
+ };
93
+ /**
94
+ * Retrieve the status of a transaction by its hash.
95
+ * The `tx-status` endpoint allows you to check the current status of a transaction on the Mina blockchain by providing the transaction hash. It returns whether the transaction has been applied, failed, or is still pending.
96
+ *
97
+ */
98
+ export const txStatus = (options) => {
99
+ return (options?.client ?? client).post({
100
+ ...options,
101
+ url: '/transaction/status'
102
+ });
103
+ };
104
+ /**
105
+ * Mint new tokens to a specified address.
106
+ * The `mint` endpoint allows authorized users to mint new tokens of a fungible token on the Mina blockchain.
107
+ * This transaction increases the total supply of the token by creating new tokens and assigning them to a specified address.
108
+ * The sender must have the authority to mint tokens, typically the admin of the token contract.
109
+ *
110
+ */
111
+ export const mintTokens = (options) => {
112
+ return (options?.client ?? client).post({
113
+ ...options,
114
+ url: '/token/mint'
115
+ });
116
+ };
117
+ /**
118
+ * Transfer tokens from one address to another.
119
+ * The `transfer` endpoint allows users to transfer tokens of a fungible token on the Mina blockchain from one address to another.
120
+ * The sender must have sufficient balance and appropriate permissions to perform the transfer.
121
+ *
122
+ */
123
+ export const transferTokens = (options) => {
124
+ return (options?.client ?? client).post({
125
+ ...options,
126
+ url: '/token/transfer'
127
+ });
128
+ };
129
+ /**
130
+ * Distribute tokens to multiple addresses via airdrop.
131
+ * Allows users to distribute tokens to multiple addresses in a single transaction.
132
+ * This is efficient for distributing tokens during events like token launches or community rewards.
133
+ *
134
+ */
135
+ export const airdropTokens = (options) => {
136
+ return (options?.client ?? client).post({
137
+ ...options,
138
+ url: '/token/airdrop'
139
+ });
140
+ };
141
+ /**
142
+ * Redeem tokens for a MINA (applicable for Fungible Tokens with Bonding Curve Admin)
143
+ * The `redeem` endpoint allows users to redeem tokens of a fungible token on the Mina blockchain for a MINA.
144
+ * The sender must have sufficient balance and appropriate permissions to perform the transfer.
145
+ *
146
+ */
147
+ export const redeemTokens = (options) => {
148
+ return (options?.client ?? client).post({
149
+ ...options,
150
+ url: '/token/redeem'
151
+ });
152
+ };
153
+ /**
154
+ * Burn tokens from one address.
155
+ * The `burn` endpoint allows users to burn tokens of a fungible token on the Mina blockchain from one address.
156
+ * The sender must have sufficient balance and appropriate permissions to perform the burn.
157
+ *
158
+ */
159
+ export const burnTokens = (options) => {
160
+ return (options?.client ?? client).post({
161
+ ...options,
162
+ url: '/token/burn'
163
+ });
164
+ };
165
+ /**
166
+ * Place a bid on a token
167
+ * Allows users to place a bid on an token.
168
+ *
169
+ */
170
+ export const tokenBid = (options) => {
171
+ return (options?.client ?? client).post({
172
+ ...options,
173
+ url: '/token/bid/create'
174
+ });
175
+ };
176
+ /**
177
+ * Create an offer to sell tokens at a specified price.
178
+ * Allows users to create an offer to sell a specified amount of tokens at a given price.
179
+ *
180
+ */
181
+ export const tokenOffer = (options) => {
182
+ return (options?.client ?? client).post({
183
+ ...options,
184
+ url: '/token/offer/create'
185
+ });
186
+ };
187
+ /**
188
+ * Purchase tokens from an existing offer.
189
+ * Allows users to purchase tokens from an existing offer on the Mina blockchain.
190
+ * This endpoint facilitates the transaction where tokens are transferred from the offer address to the buyer's address in exchange for the specified price.
191
+ *
192
+ */
193
+ export const buyTokens = (options) => {
194
+ return (options?.client ?? client).post({
195
+ ...options,
196
+ url: '/token/offer/buy'
197
+ });
198
+ };
199
+ /**
200
+ * Sell a token to the Bid contract.
201
+ * Allows token owners to sell their tokens to the Bid contract.
202
+ *
203
+ */
204
+ export const sellTokens = (options) => {
205
+ return (options?.client ?? client).post({
206
+ ...options,
207
+ url: '/token/bid/sell'
208
+ });
209
+ };
210
+ /**
211
+ * Withdraw a previously placed bid on an token.
212
+ * Allows users to withdraw a bid they have previously placed using the `/bid` endpoint.
213
+ * This transaction cancels the active bid, releasing any locked funds.
214
+ *
215
+ */
216
+ export const withdrawTokenBid = (options) => {
217
+ return (options?.client ?? client).post({
218
+ ...options,
219
+ url: '/token/bid/withdraw'
220
+ });
221
+ };
222
+ /**
223
+ * Withdraw a previously made offer to sell a token.
224
+ * Allows users to withdraw an offer they have previously made using the `/offer` endpoint.
225
+ * This transaction cancels the active offer, releasing any locked tokens.
226
+ *
227
+ */
228
+ export const withdrawTokenOffer = (options) => {
229
+ return (options?.client ?? client).post({
230
+ ...options,
231
+ url: '/token/offer/withdraw'
232
+ });
233
+ };
234
+ /**
235
+ * Update the bid whitelist
236
+ * Allows administrators to update the whitelist of addresses permitted to interact with the Bid contract.
237
+ * This is essential for managing participation in bidding processes, especially for controlled or private auctions.
238
+ *
239
+ */
240
+ export const updateTokenBidWhitelist = (options) => {
241
+ return (options?.client ?? client).post({
242
+ ...options,
243
+ url: '/token/bid/whitelist'
244
+ });
245
+ };
246
+ /**
247
+ * Update the offer whitelist
248
+ * Allows administrators to update the whitelist of addresses permitted to interact with the Offer contract.
249
+ * This is essential for managing participation in offer processes, especially for controlled or private sales.
250
+ *
251
+ */
252
+ export const updateTokenOfferWhitelist = (options) => {
253
+ return (options?.client ?? client).post({
254
+ ...options,
255
+ url: '/token/offer/whitelist'
256
+ });
257
+ };
258
+ /**
259
+ * Update the advanced admin whitelist
260
+ * Allows administrators to update the whitelist of admin contracts.
261
+ *
262
+ */
263
+ export const updateTokenAdminWhitelist = (options) => {
264
+ return (options?.client ?? client).post({
265
+ ...options,
266
+ url: '/token/admin/whitelist'
267
+ });
268
+ };
269
+ //# sourceMappingURL=sdk.gen.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sdk.gen.js","sourceRoot":"","sources":["../../../src/client/sdk.gen.ts"],"names":[],"mappings":"AAAA,qDAAqD;AAErD,OAAO,EAAE,YAAY,EAAE,YAAY,EAA4B,MAAM,uBAAuB,CAAC;AAG7F,MAAM,CAAC,MAAM,MAAM,GAAG,YAAY,CAAC,YAAY,EAAE,CAAC,CAAC;AAEnD;;;;;;GAMG;AACH,MAAM,CAAC,MAAM,WAAW,GAAG,CAAuC,OAA2D,EAAE,EAAE;IAC7H,OAAO,CAAC,OAAO,EAAE,MAAM,IAAI,MAAM,CAAC,CAAC,IAAI,CAAsD;QACzF,GAAG,OAAO;QACV,GAAG,EAAE,eAAe;KACvB,CAAC,CAAC;AACP,CAAC,CAAC;AAEF;;;GAGG;AACH,MAAM,CAAC,MAAM,eAAe,GAAG,CAAuC,OAA+D,EAAE,EAAE;IACrI,OAAO,CAAC,OAAO,EAAE,MAAM,IAAI,MAAM,CAAC,CAAC,IAAI,CAA8D;QACjG,GAAG,OAAO;QACV,GAAG,EAAE,gBAAgB;KACxB,CAAC,CAAC;AACP,CAAC,CAAC;AAEF;;;GAGG;AACH,MAAM,CAAC,MAAM,YAAY,GAAG,C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