@avalabs/glacier-sdk 2.8.0-alpha.92 → 2.8.0-alpha.93
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/index.d.ts +1 -110
- package/dist/index.js +0 -56
- package/esm/generated/services/EvmService.d.ts +0 -18
- package/esm/generated/services/EvmService.js +0 -13
- package/esm/index.d.ts +0 -6
- package/esm/index.js +0 -4
- package/package.json +2 -2
- package/esm/generated/models/AssetType.d.ts +0 -8
- package/esm/generated/models/AssetType.js +0 -9
- package/esm/generated/models/ContractType.d.ts +0 -7
- package/esm/generated/models/ContractType.js +0 -8
- package/esm/generated/models/GetContractInformationResponse.d.ts +0 -58
- package/esm/generated/models/ResourceLink.d.ts +0 -8
- package/esm/generated/models/ResourceLinkType.d.ts +0 -18
- package/esm/generated/models/ResourceLinkType.js +0 -19
- package/esm/generated/models/ReviewStatus.d.ts +0 -6
- package/esm/generated/models/ReviewStatus.js +0 -7
package/dist/index.d.ts
CHANGED
|
@@ -284,98 +284,6 @@ type GetChainResponse = {
|
|
|
284
284
|
chainLogoUri?: string;
|
|
285
285
|
};
|
|
286
286
|
|
|
287
|
-
declare enum AssetType {
|
|
288
|
-
FIXED_CAP = "Fixed Cap",
|
|
289
|
-
UNLIMITED_CAP = "Unlimited Cap",
|
|
290
|
-
STABLECOIN = "Stablecoin",
|
|
291
|
-
NFT = "NFT"
|
|
292
|
-
}
|
|
293
|
-
|
|
294
|
-
declare enum ContractType {
|
|
295
|
-
ERC_20 = "ERC-20",
|
|
296
|
-
ERC_721 = "ERC-721",
|
|
297
|
-
OTHER = "Other"
|
|
298
|
-
}
|
|
299
|
-
|
|
300
|
-
declare enum ResourceLinkType {
|
|
301
|
-
TWITTER = "Twitter",
|
|
302
|
-
FACEBOOK = "Facebook",
|
|
303
|
-
DISCORD = "Discord",
|
|
304
|
-
TELEGRAM = "Telegram",
|
|
305
|
-
BLOG = "Blog",
|
|
306
|
-
MEDIUM = "Medium",
|
|
307
|
-
WHITEPAPER = "Whitepaper",
|
|
308
|
-
COIN_GECKO = "CoinGecko",
|
|
309
|
-
COIN_MARKET_CAP = "CoinMarketCap",
|
|
310
|
-
LINKED_IN = "LinkedIn",
|
|
311
|
-
REDDIT = "Reddit",
|
|
312
|
-
SUPPORT = "Support",
|
|
313
|
-
GITHUB = "Github",
|
|
314
|
-
DOCUMENTATION = "Documentation"
|
|
315
|
-
}
|
|
316
|
-
|
|
317
|
-
type ResourceLink = {
|
|
318
|
-
type: ResourceLinkType;
|
|
319
|
-
url: string;
|
|
320
|
-
};
|
|
321
|
-
|
|
322
|
-
declare enum ReviewStatus {
|
|
323
|
-
PENDING = "Pending",
|
|
324
|
-
APPROVED = "Approved"
|
|
325
|
-
}
|
|
326
|
-
|
|
327
|
-
type GetContractInformationResponse = {
|
|
328
|
-
/**
|
|
329
|
-
* A wallet or contract address in mixed-case checksum encoding.
|
|
330
|
-
*/
|
|
331
|
-
address: string;
|
|
332
|
-
description?: string;
|
|
333
|
-
/**
|
|
334
|
-
* The contract name.
|
|
335
|
-
*/
|
|
336
|
-
name?: string;
|
|
337
|
-
/**
|
|
338
|
-
* The contract symbol.
|
|
339
|
-
*/
|
|
340
|
-
symbol?: string;
|
|
341
|
-
contractType: ContractType;
|
|
342
|
-
assetType?: AssetType;
|
|
343
|
-
officialSite?: string;
|
|
344
|
-
/**
|
|
345
|
-
* Any labels given to the contract.
|
|
346
|
-
*/
|
|
347
|
-
tags?: Array<any[]>;
|
|
348
|
-
email?: string;
|
|
349
|
-
/**
|
|
350
|
-
* The evm chain id.
|
|
351
|
-
*/
|
|
352
|
-
chainId: number;
|
|
353
|
-
/**
|
|
354
|
-
* The number of decimals the token uses. For example `6`,
|
|
355
|
-
* means to divide the token amount by `1000000` to get its user
|
|
356
|
-
* representation.
|
|
357
|
-
*/
|
|
358
|
-
decimals?: number;
|
|
359
|
-
/**
|
|
360
|
-
* The logo uri for the address.
|
|
361
|
-
*/
|
|
362
|
-
logoUri?: string;
|
|
363
|
-
/**
|
|
364
|
-
* The hex color code assigned to the token.
|
|
365
|
-
*/
|
|
366
|
-
tokenColor?: string;
|
|
367
|
-
/**
|
|
368
|
-
* Array of resource links.
|
|
369
|
-
*/
|
|
370
|
-
resourceLinks?: Array<ResourceLink>;
|
|
371
|
-
/**
|
|
372
|
-
* Status of contract information submission. All submitted
|
|
373
|
-
* contracts will be reviewed for approval before being inserted into the
|
|
374
|
-
* Glacier repository.
|
|
375
|
-
*/
|
|
376
|
-
reviewStatus: ReviewStatus;
|
|
377
|
-
};
|
|
378
|
-
|
|
379
287
|
type Money = {
|
|
380
288
|
/**
|
|
381
289
|
* ISO 4217 currency code.
|
|
@@ -1529,23 +1437,6 @@ declare class EvmService {
|
|
|
1529
1437
|
*/
|
|
1530
1438
|
currency?: CurrencyCode;
|
|
1531
1439
|
}): CancelablePromise<GetTransactionResponse>;
|
|
1532
|
-
/**
|
|
1533
|
-
* Not yet implemented. Returns user-uploaded contract
|
|
1534
|
-
* information from https://subnets.avax.network/tools/contract-info.
|
|
1535
|
-
* @returns GetContractInformationResponse
|
|
1536
|
-
* @throws ApiError
|
|
1537
|
-
*/
|
|
1538
|
-
getContractInfo({ chainId, address, }: {
|
|
1539
|
-
/**
|
|
1540
|
-
* A supported evm chain id. Use the `/chains` endpoint to get
|
|
1541
|
-
* a list of supported chain ids.
|
|
1542
|
-
*/
|
|
1543
|
-
chainId: string;
|
|
1544
|
-
/**
|
|
1545
|
-
* Contract address on the relevant chain.
|
|
1546
|
-
*/
|
|
1547
|
-
address: string;
|
|
1548
|
-
}): CancelablePromise<GetContractInformationResponse>;
|
|
1549
1440
|
/**
|
|
1550
1441
|
* Gets a list of erc transfers for an ERC-20, ERC-721,
|
|
1551
1442
|
* or ERC-1155 contract address.
|
|
@@ -3275,4 +3166,4 @@ declare class ApiError extends Error {
|
|
|
3275
3166
|
constructor(request: ApiRequestOptions, response: ApiResult, message: string);
|
|
3276
3167
|
}
|
|
3277
3168
|
|
|
3278
|
-
export { Address, ApiError, Asset,
|
|
3169
|
+
export { Address, ApiError, Asset, BaseHttpRequest, Block, BlockchainId, CChainAtomicBalances, CChainExportTransaction, CChainImportTransaction, CChainSharedAssetBalance, CancelError, CancelListingEventResponse, CancelablePromise, ChainAddressChainIdMap, ChainAddressChainIdMapListResponse, ChainInfo, ChainStatus, CloseAuctionEventResponse, CollectionMetrics, CollectionSortByOption, CreateTransactionExportRequest, CurrencyCode, EVMInput, EVMOutput, Erc1155Token, Erc1155TokenBalance, Erc1155TokenMetadata, Erc1155Transfer, Erc1155TransferDetails, Erc20Token, Erc20TokenBalance, Erc20Transfer, Erc20TransferDetails, Erc721Token, Erc721TokenBalance, Erc721TokenMetadata, Erc721Transfer, Erc721TransferDetails, ErcType, EvmNetworkOptions, EvmService, FullNativeTransactionDetails, GetBlockResponse, GetChainResponse, GetNativeBalanceResponse, GetTransactionResponse, Glacier, HealthCheckService, InternalTransaction, InternalTransactionDetails, InternalTransactionOpCall, ListBlocksResponse, ListCChainAtomicBalancesResponse, ListCChainExportTxsResponse, ListCChainImportTxsResponse, ListChainsResponse, ListCollectibleBalancesResponse, ListErc1155BalancesResponse, ListErc1155TransactionsResponse, ListErc20BalancesResponse, ListErc20TransactionsResponse, ListErc721BalancesResponse, ListErc721TransactionsResponse, ListInternalTransactionsResponse, ListListingsResponse, ListNativeTransactionsResponse, ListNftCollectionWithMetricsResponse, ListPChainBalancesResponse, ListPChainTransactionsResponse, ListPChainUtxosResponse, ListTransactionDetailsResponse, ListTransfersResponse, ListUtxosResponse, ListXChainBalancesResponse, ListXChainTransactionsResponse, ListXChainVerticesResponse, ListingCurrencyType, ListingEventType, ListingResponse, ListingType, ListingsSortByOption, Method, Money, NativeTokenBalance, NativeTransaction, Network, NetworkToken, NetworkTokenDetails, NftCollection, NftCollectionWithMetrics, NftFilterOptionsProperty, NftSearchBody, NftSearchResultTypeOption, NftTokenMetadataStatus, OpenAPI, OpenAPIConfig, OpenListingEventResponse, OperationStatus, OperationStatusCode, OperationStatusResponse, OperationTransactionExportMetadata, OperationType, OperationsService, PChainAsset, PChainBalance, PChainConsumedUtxo, PChainEmittedUtxo, PChainId, PChainTransaction, PChainUtxo, PaginationParams, PrimaryNetworkOptions, PrimaryNetworkService, ProposerDetails, PurchaseListingEventResponse, RichAddress, SortOrder, TokenWithPrice, TransactionDetails, TransactionMethodType, TransactionStatus, TransactionVertexDetail, TrendingTimeframe, UtilityAddresses, Utxo, UtxoCredential, VmName, XChainAssetBalance, XChainAssetDetails, XChainBalances, XChainId, XChainLinearTransaction, XChainNonLinearTransaction, XChainSharedAssetBalance, XChainVertex };
|
package/dist/index.js
CHANGED
|
@@ -498,19 +498,6 @@ class EvmService {
|
|
|
498
498
|
}
|
|
499
499
|
});
|
|
500
500
|
}
|
|
501
|
-
getContractInfo({
|
|
502
|
-
chainId,
|
|
503
|
-
address
|
|
504
|
-
}) {
|
|
505
|
-
return this.httpRequest.request({
|
|
506
|
-
method: "GET",
|
|
507
|
-
url: "/v1/chains/{chainId}/contracts/{address}/information",
|
|
508
|
-
path: {
|
|
509
|
-
"chainId": chainId,
|
|
510
|
-
"address": address
|
|
511
|
-
}
|
|
512
|
-
});
|
|
513
|
-
}
|
|
514
501
|
listTransfers({
|
|
515
502
|
chainId,
|
|
516
503
|
address,
|
|
@@ -1216,14 +1203,6 @@ const OpenAPI = {
|
|
|
1216
1203
|
ENCODE_PATH: void 0
|
|
1217
1204
|
};
|
|
1218
1205
|
|
|
1219
|
-
var AssetType = /* @__PURE__ */ ((AssetType2) => {
|
|
1220
|
-
AssetType2["FIXED_CAP"] = "Fixed Cap";
|
|
1221
|
-
AssetType2["UNLIMITED_CAP"] = "Unlimited Cap";
|
|
1222
|
-
AssetType2["STABLECOIN"] = "Stablecoin";
|
|
1223
|
-
AssetType2["NFT"] = "NFT";
|
|
1224
|
-
return AssetType2;
|
|
1225
|
-
})(AssetType || {});
|
|
1226
|
-
|
|
1227
1206
|
var BlockchainId = /* @__PURE__ */ ((BlockchainId2) => {
|
|
1228
1207
|
BlockchainId2["P_CHAIN"] = "p-chain";
|
|
1229
1208
|
BlockchainId2["X_CHAIN"] = "x-chain";
|
|
@@ -1261,13 +1240,6 @@ var CollectionSortByOption = /* @__PURE__ */ ((CollectionSortByOption2) => {
|
|
|
1261
1240
|
return CollectionSortByOption2;
|
|
1262
1241
|
})(CollectionSortByOption || {});
|
|
1263
1242
|
|
|
1264
|
-
var ContractType = /* @__PURE__ */ ((ContractType2) => {
|
|
1265
|
-
ContractType2["ERC_20"] = "ERC-20";
|
|
1266
|
-
ContractType2["ERC_721"] = "ERC-721";
|
|
1267
|
-
ContractType2["OTHER"] = "Other";
|
|
1268
|
-
return ContractType2;
|
|
1269
|
-
})(ContractType || {});
|
|
1270
|
-
|
|
1271
1243
|
var CurrencyCode = /* @__PURE__ */ ((CurrencyCode2) => {
|
|
1272
1244
|
CurrencyCode2["USD"] = "usd";
|
|
1273
1245
|
CurrencyCode2["EUR"] = "eur";
|
|
@@ -1425,30 +1397,6 @@ var PChainId = /* @__PURE__ */ ((PChainId2) => {
|
|
|
1425
1397
|
return PChainId2;
|
|
1426
1398
|
})(PChainId || {});
|
|
1427
1399
|
|
|
1428
|
-
var ResourceLinkType = /* @__PURE__ */ ((ResourceLinkType2) => {
|
|
1429
|
-
ResourceLinkType2["TWITTER"] = "Twitter";
|
|
1430
|
-
ResourceLinkType2["FACEBOOK"] = "Facebook";
|
|
1431
|
-
ResourceLinkType2["DISCORD"] = "Discord";
|
|
1432
|
-
ResourceLinkType2["TELEGRAM"] = "Telegram";
|
|
1433
|
-
ResourceLinkType2["BLOG"] = "Blog";
|
|
1434
|
-
ResourceLinkType2["MEDIUM"] = "Medium";
|
|
1435
|
-
ResourceLinkType2["WHITEPAPER"] = "Whitepaper";
|
|
1436
|
-
ResourceLinkType2["COIN_GECKO"] = "CoinGecko";
|
|
1437
|
-
ResourceLinkType2["COIN_MARKET_CAP"] = "CoinMarketCap";
|
|
1438
|
-
ResourceLinkType2["LINKED_IN"] = "LinkedIn";
|
|
1439
|
-
ResourceLinkType2["REDDIT"] = "Reddit";
|
|
1440
|
-
ResourceLinkType2["SUPPORT"] = "Support";
|
|
1441
|
-
ResourceLinkType2["GITHUB"] = "Github";
|
|
1442
|
-
ResourceLinkType2["DOCUMENTATION"] = "Documentation";
|
|
1443
|
-
return ResourceLinkType2;
|
|
1444
|
-
})(ResourceLinkType || {});
|
|
1445
|
-
|
|
1446
|
-
var ReviewStatus = /* @__PURE__ */ ((ReviewStatus2) => {
|
|
1447
|
-
ReviewStatus2["PENDING"] = "Pending";
|
|
1448
|
-
ReviewStatus2["APPROVED"] = "Approved";
|
|
1449
|
-
return ReviewStatus2;
|
|
1450
|
-
})(ReviewStatus || {});
|
|
1451
|
-
|
|
1452
1400
|
var SortOrder = /* @__PURE__ */ ((SortOrder2) => {
|
|
1453
1401
|
SortOrder2["ASC"] = "asc";
|
|
1454
1402
|
SortOrder2["DESC"] = "desc";
|
|
@@ -1505,14 +1453,12 @@ exports.XChainNonLinearTransaction = void 0;
|
|
|
1505
1453
|
})(exports.XChainNonLinearTransaction || (exports.XChainNonLinearTransaction = {}));
|
|
1506
1454
|
|
|
1507
1455
|
exports.ApiError = ApiError;
|
|
1508
|
-
exports.AssetType = AssetType;
|
|
1509
1456
|
exports.BaseHttpRequest = BaseHttpRequest;
|
|
1510
1457
|
exports.BlockchainId = BlockchainId;
|
|
1511
1458
|
exports.CancelError = CancelError;
|
|
1512
1459
|
exports.CancelablePromise = CancelablePromise;
|
|
1513
1460
|
exports.ChainStatus = ChainStatus;
|
|
1514
1461
|
exports.CollectionSortByOption = CollectionSortByOption;
|
|
1515
|
-
exports.ContractType = ContractType;
|
|
1516
1462
|
exports.CurrencyCode = CurrencyCode;
|
|
1517
1463
|
exports.ErcType = ErcType;
|
|
1518
1464
|
exports.EvmService = EvmService;
|
|
@@ -1533,8 +1479,6 @@ exports.OperationType = OperationType;
|
|
|
1533
1479
|
exports.OperationsService = OperationsService;
|
|
1534
1480
|
exports.PChainId = PChainId;
|
|
1535
1481
|
exports.PrimaryNetworkService = PrimaryNetworkService;
|
|
1536
|
-
exports.ResourceLinkType = ResourceLinkType;
|
|
1537
|
-
exports.ReviewStatus = ReviewStatus;
|
|
1538
1482
|
exports.SortOrder = SortOrder;
|
|
1539
1483
|
exports.TransactionMethodType = TransactionMethodType;
|
|
1540
1484
|
exports.TransactionStatus = TransactionStatus;
|
|
@@ -4,7 +4,6 @@ import { Erc1155Token } from '../models/Erc1155Token.js';
|
|
|
4
4
|
import { Erc721Token } from '../models/Erc721Token.js';
|
|
5
5
|
import { GetBlockResponse } from '../models/GetBlockResponse.js';
|
|
6
6
|
import { GetChainResponse } from '../models/GetChainResponse.js';
|
|
7
|
-
import { GetContractInformationResponse } from '../models/GetContractInformationResponse.js';
|
|
8
7
|
import { GetNativeBalanceResponse } from '../models/GetNativeBalanceResponse.js';
|
|
9
8
|
import { GetTransactionResponse } from '../models/GetTransactionResponse.js';
|
|
10
9
|
import { ListBlocksResponse } from '../models/ListBlocksResponse.js';
|
|
@@ -218,23 +217,6 @@ declare class EvmService {
|
|
|
218
217
|
*/
|
|
219
218
|
currency?: CurrencyCode;
|
|
220
219
|
}): CancelablePromise<GetTransactionResponse>;
|
|
221
|
-
/**
|
|
222
|
-
* Not yet implemented. Returns user-uploaded contract
|
|
223
|
-
* information from https://subnets.avax.network/tools/contract-info.
|
|
224
|
-
* @returns GetContractInformationResponse
|
|
225
|
-
* @throws ApiError
|
|
226
|
-
*/
|
|
227
|
-
getContractInfo({ chainId, address, }: {
|
|
228
|
-
/**
|
|
229
|
-
* A supported evm chain id. Use the `/chains` endpoint to get
|
|
230
|
-
* a list of supported chain ids.
|
|
231
|
-
*/
|
|
232
|
-
chainId: string;
|
|
233
|
-
/**
|
|
234
|
-
* Contract address on the relevant chain.
|
|
235
|
-
*/
|
|
236
|
-
address: string;
|
|
237
|
-
}): CancelablePromise<GetContractInformationResponse>;
|
|
238
220
|
/**
|
|
239
221
|
* Gets a list of erc transfers for an ERC-20, ERC-721,
|
|
240
222
|
* or ERC-1155 contract address.
|
|
@@ -144,19 +144,6 @@ class EvmService {
|
|
|
144
144
|
}
|
|
145
145
|
});
|
|
146
146
|
}
|
|
147
|
-
getContractInfo({
|
|
148
|
-
chainId,
|
|
149
|
-
address
|
|
150
|
-
}) {
|
|
151
|
-
return this.httpRequest.request({
|
|
152
|
-
method: "GET",
|
|
153
|
-
url: "/v1/chains/{chainId}/contracts/{address}/information",
|
|
154
|
-
path: {
|
|
155
|
-
"chainId": chainId,
|
|
156
|
-
"address": address
|
|
157
|
-
}
|
|
158
|
-
});
|
|
159
|
-
}
|
|
160
147
|
listTransfers({
|
|
161
148
|
chainId,
|
|
162
149
|
address,
|
package/esm/index.d.ts
CHANGED
|
@@ -5,7 +5,6 @@ export { CancelError, CancelablePromise } from './generated/core/CancelablePromi
|
|
|
5
5
|
export { OpenAPI, OpenAPIConfig } from './generated/core/OpenAPI.js';
|
|
6
6
|
export { Address } from './generated/models/Address.js';
|
|
7
7
|
export { Asset } from './generated/models/Asset.js';
|
|
8
|
-
export { AssetType } from './generated/models/AssetType.js';
|
|
9
8
|
export { Block } from './generated/models/Block.js';
|
|
10
9
|
export { BlockchainId } from './generated/models/BlockchainId.js';
|
|
11
10
|
export { CancelListingEventResponse } from './generated/models/CancelListingEventResponse.js';
|
|
@@ -20,7 +19,6 @@ export { ChainStatus } from './generated/models/ChainStatus.js';
|
|
|
20
19
|
export { CloseAuctionEventResponse } from './generated/models/CloseAuctionEventResponse.js';
|
|
21
20
|
export { CollectionMetrics } from './generated/models/CollectionMetrics.js';
|
|
22
21
|
export { CollectionSortByOption } from './generated/models/CollectionSortByOption.js';
|
|
23
|
-
export { ContractType } from './generated/models/ContractType.js';
|
|
24
22
|
export { CreateTransactionExportRequest } from './generated/models/CreateTransactionExportRequest.js';
|
|
25
23
|
export { CurrencyCode } from './generated/models/CurrencyCode.js';
|
|
26
24
|
export { Erc1155Token } from './generated/models/Erc1155Token.js';
|
|
@@ -44,7 +42,6 @@ export { EVMOutput } from './generated/models/EVMOutput.js';
|
|
|
44
42
|
export { FullNativeTransactionDetails } from './generated/models/FullNativeTransactionDetails.js';
|
|
45
43
|
export { GetBlockResponse } from './generated/models/GetBlockResponse.js';
|
|
46
44
|
export { GetChainResponse } from './generated/models/GetChainResponse.js';
|
|
47
|
-
export { GetContractInformationResponse } from './generated/models/GetContractInformationResponse.js';
|
|
48
45
|
export { GetNativeBalanceResponse } from './generated/models/GetNativeBalanceResponse.js';
|
|
49
46
|
export { GetTransactionResponse } from './generated/models/GetTransactionResponse.js';
|
|
50
47
|
export { InternalTransaction } from './generated/models/InternalTransaction.js';
|
|
@@ -110,9 +107,6 @@ export { PChainUtxo } from './generated/models/PChainUtxo.js';
|
|
|
110
107
|
export { PrimaryNetworkOptions } from './generated/models/PrimaryNetworkOptions.js';
|
|
111
108
|
export { ProposerDetails } from './generated/models/ProposerDetails.js';
|
|
112
109
|
export { PurchaseListingEventResponse } from './generated/models/PurchaseListingEventResponse.js';
|
|
113
|
-
export { ResourceLink } from './generated/models/ResourceLink.js';
|
|
114
|
-
export { ResourceLinkType } from './generated/models/ResourceLinkType.js';
|
|
115
|
-
export { ReviewStatus } from './generated/models/ReviewStatus.js';
|
|
116
110
|
export { RichAddress } from './generated/models/RichAddress.js';
|
|
117
111
|
export { SortOrder } from './generated/models/SortOrder.js';
|
|
118
112
|
export { TokenWithPrice } from './generated/models/TokenWithPrice.js';
|
package/esm/index.js
CHANGED
|
@@ -3,13 +3,11 @@ export { ApiError } from './generated/core/ApiError.js';
|
|
|
3
3
|
export { BaseHttpRequest } from './generated/core/BaseHttpRequest.js';
|
|
4
4
|
export { CancelError, CancelablePromise } from './generated/core/CancelablePromise.js';
|
|
5
5
|
export { OpenAPI } from './generated/core/OpenAPI.js';
|
|
6
|
-
export { AssetType } from './generated/models/AssetType.js';
|
|
7
6
|
export { BlockchainId } from './generated/models/BlockchainId.js';
|
|
8
7
|
export { CChainExportTransaction } from './generated/models/CChainExportTransaction.js';
|
|
9
8
|
export { CChainImportTransaction } from './generated/models/CChainImportTransaction.js';
|
|
10
9
|
export { ChainStatus } from './generated/models/ChainStatus.js';
|
|
11
10
|
export { CollectionSortByOption } from './generated/models/CollectionSortByOption.js';
|
|
12
|
-
export { ContractType } from './generated/models/ContractType.js';
|
|
13
11
|
export { CurrencyCode } from './generated/models/CurrencyCode.js';
|
|
14
12
|
export { Erc1155Token } from './generated/models/Erc1155Token.js';
|
|
15
13
|
export { Erc1155TokenBalance } from './generated/models/Erc1155TokenBalance.js';
|
|
@@ -30,8 +28,6 @@ export { OperationStatus } from './generated/models/OperationStatus.js';
|
|
|
30
28
|
export { OperationStatusCode } from './generated/models/OperationStatusCode.js';
|
|
31
29
|
export { OperationType } from './generated/models/OperationType.js';
|
|
32
30
|
export { PChainId } from './generated/models/PChainId.js';
|
|
33
|
-
export { ResourceLinkType } from './generated/models/ResourceLinkType.js';
|
|
34
|
-
export { ReviewStatus } from './generated/models/ReviewStatus.js';
|
|
35
31
|
export { SortOrder } from './generated/models/SortOrder.js';
|
|
36
32
|
export { TransactionMethodType } from './generated/models/TransactionMethodType.js';
|
|
37
33
|
export { TransactionStatus } from './generated/models/TransactionStatus.js';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@avalabs/glacier-sdk",
|
|
3
|
-
"version": "2.8.0-alpha.
|
|
3
|
+
"version": "2.8.0-alpha.93",
|
|
4
4
|
"description": "sdk for interacting with glacier-api",
|
|
5
5
|
"author": "Oliver Wang <oliver.wang@avalabs.org>",
|
|
6
6
|
"homepage": "https://github.com/ava-labs/avalanche-sdks#readme",
|
|
@@ -32,5 +32,5 @@
|
|
|
32
32
|
"bugs": {
|
|
33
33
|
"url": "https://github.com/ava-labs/avalanche-sdks/issues"
|
|
34
34
|
},
|
|
35
|
-
"gitHead": "
|
|
35
|
+
"gitHead": "cef3dd77807aa5b2d3b3ae854ad73b44bb309524"
|
|
36
36
|
}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
var AssetType = /* @__PURE__ */ ((AssetType2) => {
|
|
2
|
-
AssetType2["FIXED_CAP"] = "Fixed Cap";
|
|
3
|
-
AssetType2["UNLIMITED_CAP"] = "Unlimited Cap";
|
|
4
|
-
AssetType2["STABLECOIN"] = "Stablecoin";
|
|
5
|
-
AssetType2["NFT"] = "NFT";
|
|
6
|
-
return AssetType2;
|
|
7
|
-
})(AssetType || {});
|
|
8
|
-
|
|
9
|
-
export { AssetType };
|
|
@@ -1,58 +0,0 @@
|
|
|
1
|
-
import { AssetType } from './AssetType.js';
|
|
2
|
-
import { ContractType } from './ContractType.js';
|
|
3
|
-
import { ResourceLink } from './ResourceLink.js';
|
|
4
|
-
import { ReviewStatus } from './ReviewStatus.js';
|
|
5
|
-
|
|
6
|
-
type GetContractInformationResponse = {
|
|
7
|
-
/**
|
|
8
|
-
* A wallet or contract address in mixed-case checksum encoding.
|
|
9
|
-
*/
|
|
10
|
-
address: string;
|
|
11
|
-
description?: string;
|
|
12
|
-
/**
|
|
13
|
-
* The contract name.
|
|
14
|
-
*/
|
|
15
|
-
name?: string;
|
|
16
|
-
/**
|
|
17
|
-
* The contract symbol.
|
|
18
|
-
*/
|
|
19
|
-
symbol?: string;
|
|
20
|
-
contractType: ContractType;
|
|
21
|
-
assetType?: AssetType;
|
|
22
|
-
officialSite?: string;
|
|
23
|
-
/**
|
|
24
|
-
* Any labels given to the contract.
|
|
25
|
-
*/
|
|
26
|
-
tags?: Array<any[]>;
|
|
27
|
-
email?: string;
|
|
28
|
-
/**
|
|
29
|
-
* The evm chain id.
|
|
30
|
-
*/
|
|
31
|
-
chainId: number;
|
|
32
|
-
/**
|
|
33
|
-
* The number of decimals the token uses. For example `6`,
|
|
34
|
-
* means to divide the token amount by `1000000` to get its user
|
|
35
|
-
* representation.
|
|
36
|
-
*/
|
|
37
|
-
decimals?: number;
|
|
38
|
-
/**
|
|
39
|
-
* The logo uri for the address.
|
|
40
|
-
*/
|
|
41
|
-
logoUri?: string;
|
|
42
|
-
/**
|
|
43
|
-
* The hex color code assigned to the token.
|
|
44
|
-
*/
|
|
45
|
-
tokenColor?: string;
|
|
46
|
-
/**
|
|
47
|
-
* Array of resource links.
|
|
48
|
-
*/
|
|
49
|
-
resourceLinks?: Array<ResourceLink>;
|
|
50
|
-
/**
|
|
51
|
-
* Status of contract information submission. All submitted
|
|
52
|
-
* contracts will be reviewed for approval before being inserted into the
|
|
53
|
-
* Glacier repository.
|
|
54
|
-
*/
|
|
55
|
-
reviewStatus: ReviewStatus;
|
|
56
|
-
};
|
|
57
|
-
|
|
58
|
-
export { GetContractInformationResponse };
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
declare enum ResourceLinkType {
|
|
2
|
-
TWITTER = "Twitter",
|
|
3
|
-
FACEBOOK = "Facebook",
|
|
4
|
-
DISCORD = "Discord",
|
|
5
|
-
TELEGRAM = "Telegram",
|
|
6
|
-
BLOG = "Blog",
|
|
7
|
-
MEDIUM = "Medium",
|
|
8
|
-
WHITEPAPER = "Whitepaper",
|
|
9
|
-
COIN_GECKO = "CoinGecko",
|
|
10
|
-
COIN_MARKET_CAP = "CoinMarketCap",
|
|
11
|
-
LINKED_IN = "LinkedIn",
|
|
12
|
-
REDDIT = "Reddit",
|
|
13
|
-
SUPPORT = "Support",
|
|
14
|
-
GITHUB = "Github",
|
|
15
|
-
DOCUMENTATION = "Documentation"
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
export { ResourceLinkType };
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
var ResourceLinkType = /* @__PURE__ */ ((ResourceLinkType2) => {
|
|
2
|
-
ResourceLinkType2["TWITTER"] = "Twitter";
|
|
3
|
-
ResourceLinkType2["FACEBOOK"] = "Facebook";
|
|
4
|
-
ResourceLinkType2["DISCORD"] = "Discord";
|
|
5
|
-
ResourceLinkType2["TELEGRAM"] = "Telegram";
|
|
6
|
-
ResourceLinkType2["BLOG"] = "Blog";
|
|
7
|
-
ResourceLinkType2["MEDIUM"] = "Medium";
|
|
8
|
-
ResourceLinkType2["WHITEPAPER"] = "Whitepaper";
|
|
9
|
-
ResourceLinkType2["COIN_GECKO"] = "CoinGecko";
|
|
10
|
-
ResourceLinkType2["COIN_MARKET_CAP"] = "CoinMarketCap";
|
|
11
|
-
ResourceLinkType2["LINKED_IN"] = "LinkedIn";
|
|
12
|
-
ResourceLinkType2["REDDIT"] = "Reddit";
|
|
13
|
-
ResourceLinkType2["SUPPORT"] = "Support";
|
|
14
|
-
ResourceLinkType2["GITHUB"] = "Github";
|
|
15
|
-
ResourceLinkType2["DOCUMENTATION"] = "Documentation";
|
|
16
|
-
return ResourceLinkType2;
|
|
17
|
-
})(ResourceLinkType || {});
|
|
18
|
-
|
|
19
|
-
export { ResourceLinkType };
|