@tatumio/bsc 2.0.1-alpha.250 → 2.0.1-alpha.253

Sign up to get free protection for your applications and to get access to all the features.
package/package.json CHANGED
@@ -1,19 +1,19 @@
1
1
  {
2
2
  "name": "@tatumio/bsc",
3
- "version": "2.0.1-alpha.250",
3
+ "version": "2.0.1-alpha.253",
4
4
  "license": "MIT",
5
5
  "main": "./src/index.js",
6
6
  "typings": "./src/index.d.ts",
7
7
  "dependencies": {
8
- "@tatumio/shared-testing-evm-based": "2.0.1-alpha.250",
9
- "@tatumio/shared-testing-common": "2.0.1-alpha.250",
10
- "@tatumio/api-client": "2.0.1-alpha.250",
8
+ "@tatumio/shared-testing-evm-based": "2.0.1-alpha.253",
9
+ "@tatumio/shared-testing-common": "2.0.1-alpha.253",
10
+ "@tatumio/api-client": "2.0.1-alpha.253",
11
11
  "axios": "^0.26.0",
12
12
  "form-data": "^4.0.0",
13
- "@tatumio/shared-blockchain-evm-based": "2.0.1-alpha.250",
14
- "@tatumio/shared-core": "2.0.1-alpha.250",
15
- "@tatumio/shared-blockchain-abstract": "2.0.1-alpha.250",
16
- "@tatumio/shared-abstract-sdk": "2.0.1-alpha.250",
13
+ "@tatumio/shared-blockchain-evm-based": "2.0.1-alpha.253",
14
+ "@tatumio/shared-core": "2.0.1-alpha.253",
15
+ "@tatumio/shared-blockchain-abstract": "2.0.1-alpha.253",
16
+ "@tatumio/shared-abstract-sdk": "2.0.1-alpha.253",
17
17
  "bignumber.js": "^9.0.2",
18
18
  "ethereumjs-wallet": "^1.0.2",
19
19
  "bip39": "^3.0.2",
@@ -1,13 +1,13 @@
1
1
  import { Web3Request, Web3Response } from '@tatumio/shared-core';
2
- import { BlockchainBscService, BlockchainFungibleTokenService } from '@tatumio/api-client';
2
+ import { BlockchainFeesService, BnbSmartChainService, FungibleTokensErc20OrCompatibleService } from '@tatumio/api-client';
3
3
  import { SDKArguments } from '@tatumio/shared-abstract-sdk';
4
4
  export declare const TatumBscSDK: (args: SDKArguments) => {
5
5
  kms: {
6
6
  sign(tx: import("@tatumio/shared-core").ChainTransactionKMS, fromPrivateKey: string, provider?: string): Promise<string>;
7
7
  getAllPending(signatures?: string): import("@tatumio/api-client").CancelablePromise<import("@tatumio/api-client").PendingTransaction[]>;
8
- get: typeof import("@tatumio/api-client").SecurityKeyManagementSystemService.getPendingTransactionToSign;
9
- complete: typeof import("@tatumio/api-client").SecurityKeyManagementSystemService.completePendingSignature;
10
- delete: typeof import("@tatumio/api-client").SecurityKeyManagementSystemService.deletePendingTransactionToSign;
8
+ get: typeof import("@tatumio/api-client").KeyManagementSystemService.getPendingTransactionToSign;
9
+ complete: typeof import("@tatumio/api-client").KeyManagementSystemService.completePendingSignature;
10
+ delete: typeof import("@tatumio/api-client").KeyManagementSystemService.deletePendingTransactionToSign;
11
11
  };
12
12
  transaction: {
13
13
  prepare: {
@@ -18,8 +18,8 @@ export declare const TatumBscSDK: (args: SDKArguments) => {
18
18
  };
19
19
  };
20
20
  erc20: {
21
- getErc20TransactionByAddress: typeof BlockchainFungibleTokenService.erc20GetTransactionByAddress;
22
- getErc20AccountBalance: typeof BlockchainFungibleTokenService.erc20GetBalance;
21
+ getErc20TransactionByAddress: typeof FungibleTokensErc20OrCompatibleService.erc20GetTransactionByAddress;
22
+ getErc20AccountBalance: typeof FungibleTokensErc20OrCompatibleService.erc20GetBalance;
23
23
  decimals: (contractAddress: string, provider?: string) => Promise<any>;
24
24
  prepare: {
25
25
  deploySignedTransaction: (body: import("../../../../../dist/packages/shared/blockchain/abstract/src").ChainDeployErc20, provider?: string) => Promise<string>;
@@ -36,18 +36,18 @@ export declare const TatumBscSDK: (args: SDKArguments) => {
36
36
  };
37
37
  };
38
38
  nft: {
39
- deployNFTSmartContract: typeof import("@tatumio/api-client").BlockchainNftService.nftDeployErc721;
40
- mintNFT: typeof import("@tatumio/api-client").BlockchainNftService.nftMintErc721;
41
- transferNFT: typeof import("@tatumio/api-client").BlockchainNftService.nftTransferErc721;
42
- mintMultipleNFTs: typeof import("@tatumio/api-client").BlockchainNftService.nftMintMultipleErc721;
43
- burnNFT: typeof import("@tatumio/api-client").BlockchainNftService.nftBurnErc721;
44
- addNFTMinter: typeof import("@tatumio/api-client").BlockchainNftService.nftAddMinter;
45
- updateNFTRoyalty: typeof import("@tatumio/api-client").BlockchainNftService.nftUpdateCashbackErc721;
46
- getNFTTransaction: typeof import("@tatumio/api-client").BlockchainNftService.nftGetTransactErc721;
47
- getNFTAccountBalance: typeof import("@tatumio/api-client").BlockchainNftService.nftGetBalanceErc721;
48
- getNFTProvenanceData: typeof import("@tatumio/api-client").BlockchainNftService.nftGetProvenanceDataErc721;
49
- getNFTMetadataURI: typeof import("@tatumio/api-client").BlockchainNftService.nftGetMetadataErc721;
50
- getNFTRoyalty: typeof import("@tatumio/api-client").BlockchainNftService.nftGetRoyaltyErc721;
39
+ deployNFTSmartContract: typeof import("@tatumio/api-client").NftErc721OrCompatibleService.nftDeployErc721;
40
+ mintNFT: typeof import("@tatumio/api-client").NftErc721OrCompatibleService.nftMintErc721;
41
+ transferNFT: typeof import("@tatumio/api-client").NftErc721OrCompatibleService.nftTransferErc721;
42
+ mintMultipleNFTs: typeof import("@tatumio/api-client").NftErc721OrCompatibleService.nftMintMultipleErc721;
43
+ burnNFT: typeof import("@tatumio/api-client").NftErc721OrCompatibleService.nftBurnErc721;
44
+ addNFTMinter: typeof import("@tatumio/api-client").NftErc721OrCompatibleService.nftAddMinter;
45
+ updateNFTRoyalty: typeof import("@tatumio/api-client").NftErc721OrCompatibleService.nftUpdateCashbackErc721;
46
+ getNFTTransaction: typeof import("@tatumio/api-client").NftErc721OrCompatibleService.nftGetTransactErc721;
47
+ getNFTAccountBalance: typeof import("@tatumio/api-client").NftErc721OrCompatibleService.nftGetBalanceErc721;
48
+ getNFTProvenanceData: typeof import("@tatumio/api-client").NftErc721OrCompatibleService.nftGetProvenanceDataErc721;
49
+ getNFTMetadataURI: typeof import("@tatumio/api-client").NftErc721OrCompatibleService.nftGetMetadataErc721;
50
+ getNFTRoyalty: typeof import("@tatumio/api-client").NftErc721OrCompatibleService.nftGetRoyaltyErc721;
51
51
  prepare: {
52
52
  mintSignedTransaction: (body: Omit<import("../../../../../dist/packages/shared/blockchain/abstract/src").ChainMintErc721, "minter">, provider?: string) => Promise<string>;
53
53
  mintCashbackSignedTransaction: (body: import("../../../../../dist/packages/shared/blockchain/abstract/src").ChainMintNft, provider?: string) => Promise<string>;
@@ -113,12 +113,12 @@ export declare const TatumBscSDK: (args: SDKArguments) => {
113
113
  burnMultiTokenTransaction: (body: import("../../../../../dist/packages/shared/blockchain/abstract/src").ChainBurnMultiToken, provider?: string) => Promise<import("@tatumio/api-client").TransactionHashKMS>;
114
114
  burnMultiTokenBatchTransaction: (body: import("../../../../../dist/packages/shared/blockchain/abstract/src").ChainBurnMultiTokenBatch, provider?: string) => Promise<import("@tatumio/api-client").TransactionHashKMS>;
115
115
  };
116
- getTransactionByAddress: typeof import("@tatumio/api-client").BlockchainMultiTokenErc1155Service.multiTokenGetTransactionByAddress;
117
- getTransaction: typeof import("@tatumio/api-client").BlockchainMultiTokenErc1155Service.multiTokenGetTransaction;
118
- getAddressBalance: typeof import("@tatumio/api-client").BlockchainMultiTokenErc1155Service.multiTokenGetAddressBalance;
119
- getBalance: typeof import("@tatumio/api-client").BlockchainMultiTokenErc1155Service.multiTokenGetBalance;
120
- getBalanceBatch: typeof import("@tatumio/api-client").BlockchainMultiTokenErc1155Service.multiTokenGetBalanceBatch;
121
- getMetadata: typeof import("@tatumio/api-client").BlockchainMultiTokenErc1155Service.multiTokenGetMetadata;
116
+ getTransactionByAddress: typeof import("@tatumio/api-client").MultiTokensErc1155OrCompatibleService.multiTokenGetTransactionByAddress;
117
+ getTransaction: typeof import("@tatumio/api-client").MultiTokensErc1155OrCompatibleService.multiTokenGetTransaction;
118
+ getAddressBalance: typeof import("@tatumio/api-client").MultiTokensErc1155OrCompatibleService.multiTokenGetAddressBalance;
119
+ getBalance: typeof import("@tatumio/api-client").MultiTokensErc1155OrCompatibleService.multiTokenGetBalance;
120
+ getBalanceBatch: typeof import("@tatumio/api-client").MultiTokensErc1155OrCompatibleService.multiTokenGetBalanceBatch;
121
+ getMetadata: typeof import("@tatumio/api-client").MultiTokensErc1155OrCompatibleService.multiTokenGetMetadata;
122
122
  };
123
123
  custodial: {
124
124
  prepare: {
@@ -154,10 +154,10 @@ export declare const TatumBscSDK: (args: SDKArguments) => {
154
154
  cancelMarketplaceListing: (body: import("../../../../../dist/packages/shared/blockchain/abstract/src").ChainCancelSellAssetOnMarketplace, provider?: string) => Promise<import("@tatumio/api-client").TransactionHashKMS>;
155
155
  buyMarketplaceListing: (body: import("../../../../../dist/packages/shared/blockchain/abstract/src").ChainBuyAssetOnMarketplace, provider?: string) => Promise<import("@tatumio/api-client").TransactionHashKMS>;
156
156
  };
157
- getMarketplaceListing: typeof import("@tatumio/api-client").BlockchainMarketplaceService.getMarketplaceListing;
158
- getMarketplaceListings: typeof import("@tatumio/api-client").BlockchainMarketplaceService.getMarketplaceListings;
159
- getMarketplaceFee: typeof import("@tatumio/api-client").BlockchainMarketplaceService.getMarketplaceFee;
160
- getMarketplaceFeeRecipient: typeof import("@tatumio/api-client").BlockchainMarketplaceService.getMarketplaceFeeRecipient;
157
+ getMarketplaceListing: typeof import("@tatumio/api-client").MarketplaceService.getMarketplaceListing;
158
+ getMarketplaceListings: typeof import("@tatumio/api-client").MarketplaceService.getMarketplaceListings;
159
+ getMarketplaceFee: typeof import("@tatumio/api-client").MarketplaceService.getMarketplaceFee;
160
+ getMarketplaceFeeRecipient: typeof import("@tatumio/api-client").MarketplaceService.getMarketplaceFeeRecipient;
161
161
  auction: {
162
162
  getAuction: (contractAddress: string, auctionId: string) => Promise<{
163
163
  amount?: string;
@@ -199,19 +199,19 @@ export declare const TatumBscSDK: (args: SDKArguments) => {
199
199
  };
200
200
  httpDriver: (request: Web3Request) => Promise<Web3Response>;
201
201
  blockchain: {
202
- broadcast: typeof BlockchainBscService.bscBroadcast;
203
- getTransactionsCount: typeof BlockchainBscService.bscGetTransactionCount;
204
- getCurrentBlock: typeof BlockchainBscService.bscGetCurrentBlock;
205
- getBlock: typeof BlockchainBscService.bscGetBlock;
206
- getBlockchainAccountBalance: typeof BlockchainBscService.bscGetBalance;
207
- get: typeof BlockchainBscService.bscGetTransaction;
208
- estimateGas: typeof BlockchainBscService.bscEstimateGas;
209
- smartContractInvocation: typeof BlockchainBscService.bscBlockchainSmartContractInvocation;
210
- blockchainTransfer: typeof BlockchainBscService.bscBlockchainTransfer;
211
- generateAddress: typeof BlockchainBscService.bscGenerateAddress;
212
- generateAddressPrivateKey: typeof BlockchainBscService.bscGenerateAddressPrivateKey;
213
- generateWallet: typeof BlockchainBscService.bscGenerateWallet;
214
- web3Driver: typeof BlockchainBscService.bscWeb3Driver;
202
+ broadcast: typeof BnbSmartChainService.bscBroadcast;
203
+ getTransactionsCount: typeof BnbSmartChainService.bscGetTransactionCount;
204
+ getCurrentBlock: typeof BnbSmartChainService.bscGetCurrentBlock;
205
+ getBlock: typeof BnbSmartChainService.bscGetBlock;
206
+ getBlockchainAccountBalance: typeof BnbSmartChainService.bscGetBalance;
207
+ get: typeof BnbSmartChainService.bscGetTransaction;
208
+ estimateGas: typeof BlockchainFeesService.bscEstimateGas;
209
+ smartContractInvocation: typeof BnbSmartChainService.bscBlockchainSmartContractInvocation;
210
+ blockchainTransfer: typeof BnbSmartChainService.bscBlockchainTransfer;
211
+ generateAddress: typeof BnbSmartChainService.bscGenerateAddress;
212
+ generateAddressPrivateKey: typeof BnbSmartChainService.bscGenerateAddressPrivateKey;
213
+ generateWallet: typeof BnbSmartChainService.bscGenerateWallet;
214
+ web3Driver: typeof BnbSmartChainService.bscWeb3Driver;
215
215
  };
216
216
  web3Client: (provider?: string, fromPrivateKey?: string) => import("web3").default;
217
217
  record: {
@@ -234,33 +234,33 @@ export declare const TatumBscSDK: (args: SDKArguments) => {
234
234
  offchain: {
235
235
  depositAddress: {
236
236
  checkExists: (address: string, index?: number) => Promise<import("@tatumio/api-client").Account>;
237
- create: typeof import("@tatumio/api-client").OffChainAccountService.generateDepositAddress;
238
- createMultiple: typeof import("@tatumio/api-client").OffChainAccountService.generateDepositAddressesBatch;
239
- assign: typeof import("@tatumio/api-client").OffChainAccountService.assignAddress;
240
- remove: typeof import("@tatumio/api-client").OffChainAccountService.removeAddress;
241
- getByAccount: typeof import("@tatumio/api-client").OffChainAccountService.getAllDepositAddresses;
237
+ create: typeof import("@tatumio/api-client").BlockchainAddressesService.generateDepositAddress;
238
+ createMultiple: typeof import("@tatumio/api-client").BlockchainAddressesService.generateDepositAddressesBatch;
239
+ assign: typeof import("@tatumio/api-client").BlockchainAddressesService.assignAddress;
240
+ remove: typeof import("@tatumio/api-client").BlockchainAddressesService.removeAddress;
241
+ getByAccount: typeof import("@tatumio/api-client").BlockchainAddressesService.getAllDepositAddresses;
242
242
  };
243
243
  withdrawal: {
244
244
  getAll: (status?: "InProgress" | "Done" | "Cancelled", pageSize?: number, offset?: number) => Promise<import("@tatumio/api-client").WithdrawalObject[]>;
245
- broadcast: typeof import("@tatumio/api-client").OffChainWithdrawalService.broadcastBlockchainTransaction;
246
- create: typeof import("@tatumio/api-client").OffChainWithdrawalService.storeWithdrawal;
247
- complete: typeof import("@tatumio/api-client").OffChainWithdrawalService.completeWithdrawal;
245
+ broadcast: typeof import("@tatumio/api-client").WithdrawalService.broadcastBlockchainTransaction;
246
+ create: typeof import("@tatumio/api-client").WithdrawalService.storeWithdrawal;
247
+ complete: typeof import("@tatumio/api-client").WithdrawalService.completeWithdrawal;
248
248
  };
249
- storeTokenAddress: typeof import("@tatumio/api-client").OffChainBlockchainService.storeTokenAddress;
249
+ storeTokenAddress: typeof import("@tatumio/api-client").BlockchainOperationsService.storeTokenAddress;
250
250
  };
251
251
  getExchangeRate(basePair?: import("@tatumio/api-client").Fiat): import("@tatumio/api-client").CancelablePromise<import("@tatumio/api-client").ExchangeRate>;
252
252
  storage: {
253
- upload: typeof import("@tatumio/api-client").StorageIpfsService.storeIpfs;
254
- get: typeof import("@tatumio/api-client").StorageIpfsService.getIpfsData;
253
+ upload: typeof import("@tatumio/api-client").IpfsService.storeIpfs;
254
+ get: typeof import("@tatumio/api-client").IpfsService.getIpfsData;
255
255
  };
256
- subscriptions: typeof import("@tatumio/api-client").LedgerSubscriptionService;
256
+ subscriptions: typeof import("@tatumio/api-client").NotificationSubscriptionsService;
257
257
  security: {
258
- checkMaliciousAddress: typeof import("@tatumio/api-client").SecurityAddressService.checkMalicousAddress;
258
+ checkMaliciousAddress: typeof import("@tatumio/api-client").MaliciousAddressService.checkMalicousAddress;
259
259
  };
260
260
  tatum: {
261
- getCredits: typeof import("@tatumio/api-client").TatumServiceService.getCredits;
262
- getVersion: typeof import("@tatumio/api-client").TatumServiceService.getVersion;
263
- freezeApiKey: typeof import("@tatumio/api-client").TatumServiceService.freezeApiKey;
264
- unfreezeApiKey: typeof import("@tatumio/api-client").TatumServiceService.unfreezeApiKey;
261
+ getCredits: typeof import("@tatumio/api-client").ServiceUtilsService.getCredits;
262
+ getVersion: typeof import("@tatumio/api-client").ServiceUtilsService.getVersion;
263
+ freezeApiKey: typeof import("@tatumio/api-client").ServiceUtilsService.freezeApiKey;
264
+ unfreezeApiKey: typeof import("@tatumio/api-client").ServiceUtilsService.unfreezeApiKey;
265
265
  };
266
266
  };
@@ -12,11 +12,11 @@ const bsc_auction_1 = require("./services/bsc.auction");
12
12
  const blockchain = shared_core_1.Blockchain.BSC;
13
13
  const TatumBscSDK = (args) => {
14
14
  const web3 = (0, bsc_web3_1.bscWeb3)({ blockchain });
15
- const api = api_client_1.BlockchainBscService;
15
+ const api = api_client_1.BnbSmartChainService;
16
16
  const txService = (0, bsc_tx_1.bscTxService)({ blockchain, web3 });
17
17
  const _a = (0, shared_blockchain_evm_based_1.evmBasedSdk)(Object.assign(Object.assign({}, args), { blockchain, web3 })), { nft } = _a, evmSdk = (0, tslib_1.__rest)(_a, ["nft"]);
18
18
  const { deployNFTSmartContract, mintNFT, transferNFT, mintMultipleNFTs, burnNFT, addNFTMinter, updateNFTRoyalty, getNFTTransaction, getNFTAccountBalance, getNFTProvenanceData, getNFTMetadataURI, getNFTRoyalty, } = nft;
19
- return Object.assign(Object.assign({}, evmSdk), { kms: (0, bsc_kms_1.bscKmsService)({ blockchain, web3 }), transaction: txService.native, erc20: Object.assign(Object.assign({}, txService.erc20), { getErc20TransactionByAddress: api_client_1.BlockchainFungibleTokenService.erc20GetTransactionByAddress, getErc20AccountBalance: api_client_1.BlockchainFungibleTokenService.erc20GetBalance }), nft: Object.assign(Object.assign({}, txService.erc721), { deployNFTSmartContract,
19
+ return Object.assign(Object.assign({}, evmSdk), { kms: (0, bsc_kms_1.bscKmsService)({ blockchain, web3 }), transaction: txService.native, erc20: Object.assign(Object.assign({}, txService.erc20), { getErc20TransactionByAddress: api_client_1.FungibleTokensErc20OrCompatibleService.erc20GetTransactionByAddress, getErc20AccountBalance: api_client_1.FungibleTokensErc20OrCompatibleService.erc20GetBalance }), nft: Object.assign(Object.assign({}, txService.erc721), { deployNFTSmartContract,
20
20
  mintNFT,
21
21
  transferNFT,
22
22
  mintMultipleNFTs,
@@ -30,23 +30,23 @@ const TatumBscSDK = (args) => {
30
30
  getNFTRoyalty }), smartContract: txService.smartContract, multiToken: txService.multiToken, custodial: txService.custodial, marketplace: Object.assign({ auction: (0, bsc_auction_1.bscAuctionService)({ blockchain, web3 }) }, (0, shared_blockchain_evm_based_1.evmBasedMarketplace)({
31
31
  blockchain,
32
32
  web3,
33
- broadcastFunction: api_client_1.BlockchainBscService.bscBroadcast,
33
+ broadcastFunction: api_client_1.BnbSmartChainService.bscBroadcast,
34
34
  })), httpDriver: (request) => (0, tslib_1.__awaiter)(void 0, void 0, void 0, function* () {
35
35
  return api.bscWeb3Driver(args.apiKey, Object.assign(Object.assign({}, request), { jsonrpc: '2.0' }));
36
36
  }), blockchain: {
37
- broadcast: api_client_1.BlockchainBscService.bscBroadcast,
38
- getTransactionsCount: api_client_1.BlockchainBscService.bscGetTransactionCount,
39
- getCurrentBlock: api_client_1.BlockchainBscService.bscGetCurrentBlock,
40
- getBlock: api_client_1.BlockchainBscService.bscGetBlock,
41
- getBlockchainAccountBalance: api_client_1.BlockchainBscService.bscGetBalance,
42
- get: api_client_1.BlockchainBscService.bscGetTransaction,
43
- estimateGas: api_client_1.BlockchainBscService.bscEstimateGas,
44
- smartContractInvocation: api_client_1.BlockchainBscService.bscBlockchainSmartContractInvocation,
45
- blockchainTransfer: api_client_1.BlockchainBscService.bscBlockchainTransfer,
46
- generateAddress: api_client_1.BlockchainBscService.bscGenerateAddress,
47
- generateAddressPrivateKey: api_client_1.BlockchainBscService.bscGenerateAddressPrivateKey,
48
- generateWallet: api_client_1.BlockchainBscService.bscGenerateWallet,
49
- web3Driver: api_client_1.BlockchainBscService.bscWeb3Driver,
37
+ broadcast: api_client_1.BnbSmartChainService.bscBroadcast,
38
+ getTransactionsCount: api_client_1.BnbSmartChainService.bscGetTransactionCount,
39
+ getCurrentBlock: api_client_1.BnbSmartChainService.bscGetCurrentBlock,
40
+ getBlock: api_client_1.BnbSmartChainService.bscGetBlock,
41
+ getBlockchainAccountBalance: api_client_1.BnbSmartChainService.bscGetBalance,
42
+ get: api_client_1.BnbSmartChainService.bscGetTransaction,
43
+ estimateGas: api_client_1.BlockchainFeesService.bscEstimateGas,
44
+ smartContractInvocation: api_client_1.BnbSmartChainService.bscBlockchainSmartContractInvocation,
45
+ blockchainTransfer: api_client_1.BnbSmartChainService.bscBlockchainTransfer,
46
+ generateAddress: api_client_1.BnbSmartChainService.bscGenerateAddress,
47
+ generateAddressPrivateKey: api_client_1.BnbSmartChainService.bscGenerateAddressPrivateKey,
48
+ generateWallet: api_client_1.BnbSmartChainService.bscGenerateWallet,
49
+ web3Driver: api_client_1.BnbSmartChainService.bscWeb3Driver,
50
50
  } });
51
51
  };
52
52
  exports.TatumBscSDK = TatumBscSDK;
@@ -1 +1 @@
1
- {"version":3,"file":"bsc.sdk.js","sourceRoot":"","sources":["../../../../../../packages/bl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SAAS,EAC9B,WAAW,kBACT,OAAO,EAAE,IAAA,+BAAiB,EAAC,EAAE,UAAU,EAAE,IAAI,EAAE,CAAC,IAC7C,IAAA,iDAAmB,EAAC;YACrB,UAAU;YACV,IAAI;YACJ,iBAAiB,EAAE,iCAAoB,CAAC,YAAY;SACrD,CAAC,GAEJ,UAAU,EAAE,CAAO,OAAoB,EAAyB,EAAE;YAChE,OAAO,GAAG,CAAC,aAAa,CAAC,IAAI,CAAC,MAAM,kCAAO,OAAO,KAAE,OAAO,EAAE,KAAK,IAAG,CAAA;QACvE,CAAC,CAAA,EACD,UAAU,EAAE;YACV,SAAS,EAAE,iCAAoB,CAAC,YAAY;YAC5C,oBAAoB,EAAE,iCAAoB,CAAC,sBAAsB;YACjE,eAAe,EAAE,iCAAoB,CAAC,kBAAkB;YACxD,QAAQ,EAAE,iCAAoB,CAAC,WAAW;YAC1C,2BAA2B,EAAE,iCAAoB,CAAC,aAAa;YAC/D,GAAG,EAAE,iCAAoB,CAAC,iBAAiB;YAC3C,WAAW,EAAE,kCAAqB,CAAC,cAAc;YACjD,uBAAuB,EAAE,iCAAoB,CAAC,oCAAoC;YAClF,kBAAkB,EAAE,iCAAoB,CAAC,qBAAqB;YAC9D,eAAe,EAAE,iCAAoB,CAAC,kBAAkB;YACxD,yBAAyB,EAAE,iCAAoB,CAAC,4BAA4B;YAC5E,cAAc,EAAE,iCAAoB,CAAC,iBAAiB;YACtD,UAAU,EAAE,iCAAoB,CAAC,aAAa;SAC/C,IACF;AACH,CAAC,CAAA;AA3EY,QAAA,WAAW,eA2EvB"}
@@ -4,7 +4,7 @@ exports.bscAuctionService = void 0;
4
4
  const shared_blockchain_evm_based_1 = require("@tatumio/shared-blockchain-evm-based");
5
5
  const api_client_1 = require("@tatumio/api-client");
6
6
  const bscAuctionService = (args) => {
7
- return Object.assign({}, (0, shared_blockchain_evm_based_1.evmBasedAuction)(Object.assign(Object.assign({}, args), { broadcastFunction: api_client_1.BlockchainBscService.bscBroadcast })));
7
+ return Object.assign({}, (0, shared_blockchain_evm_based_1.evmBasedAuction)(Object.assign(Object.assign({}, args), { broadcastFunction: api_client_1.BnbSmartChainService.bscBroadcast })));
8
8
  };
9
9
  exports.bscAuctionService = bscAuctionService;
10
10
  //# sourceMappingURL=bsc.auction.js.map
@@ -4,7 +4,7 @@ import { PendingTransaction } from '@tatumio/api-client';
4
4
  export declare const bscKmsService: (args: EvmBasedKMSServiceArgs) => {
5
5
  sign(tx: ChainTransactionKMS, fromPrivateKey: string, provider?: string): Promise<string>;
6
6
  getAllPending(signatures?: string): import("@tatumio/api-client").CancelablePromise<PendingTransaction[]>;
7
- get: typeof import("@tatumio/api-client").SecurityKeyManagementSystemService.getPendingTransactionToSign;
8
- complete: typeof import("@tatumio/api-client").SecurityKeyManagementSystemService.completePendingSignature;
9
- delete: typeof import("@tatumio/api-client").SecurityKeyManagementSystemService.deletePendingTransactionToSign;
7
+ get: typeof import("@tatumio/api-client").KeyManagementSystemService.getPendingTransactionToSign;
8
+ complete: typeof import("@tatumio/api-client").KeyManagementSystemService.completePendingSignature;
9
+ delete: typeof import("@tatumio/api-client").KeyManagementSystemService.deletePendingTransactionToSign;
10
10
  };
@@ -81,12 +81,12 @@ export declare const bscTxService: (args: {
81
81
  burnMultiTokenTransaction: (body: import("../../../../../../dist/packages/shared/blockchain/abstract/src").ChainBurnMultiToken, provider?: string) => Promise<import("@tatumio/api-client").TransactionHashKMS>;
82
82
  burnMultiTokenBatchTransaction: (body: import("../../../../../../dist/packages/shared/blockchain/abstract/src").ChainBurnMultiTokenBatch, provider?: string) => Promise<import("@tatumio/api-client").TransactionHashKMS>;
83
83
  };
84
- getTransactionByAddress: typeof import("@tatumio/api-client").BlockchainMultiTokenErc1155Service.multiTokenGetTransactionByAddress;
85
- getTransaction: typeof import("@tatumio/api-client").BlockchainMultiTokenErc1155Service.multiTokenGetTransaction;
86
- getAddressBalance: typeof import("@tatumio/api-client").BlockchainMultiTokenErc1155Service.multiTokenGetAddressBalance;
87
- getBalance: typeof import("@tatumio/api-client").BlockchainMultiTokenErc1155Service.multiTokenGetBalance;
88
- getBalanceBatch: typeof import("@tatumio/api-client").BlockchainMultiTokenErc1155Service.multiTokenGetBalanceBatch;
89
- getMetadata: typeof import("@tatumio/api-client").BlockchainMultiTokenErc1155Service.multiTokenGetMetadata;
84
+ getTransactionByAddress: typeof import("@tatumio/api-client").MultiTokensErc1155OrCompatibleService.multiTokenGetTransactionByAddress;
85
+ getTransaction: typeof import("@tatumio/api-client").MultiTokensErc1155OrCompatibleService.multiTokenGetTransaction;
86
+ getAddressBalance: typeof import("@tatumio/api-client").MultiTokensErc1155OrCompatibleService.multiTokenGetAddressBalance;
87
+ getBalance: typeof import("@tatumio/api-client").MultiTokensErc1155OrCompatibleService.multiTokenGetBalance;
88
+ getBalanceBatch: typeof import("@tatumio/api-client").MultiTokensErc1155OrCompatibleService.multiTokenGetBalanceBatch;
89
+ getMetadata: typeof import("@tatumio/api-client").MultiTokensErc1155OrCompatibleService.multiTokenGetMetadata;
90
90
  };
91
91
  custodial: {
92
92
  prepare: {
@@ -5,12 +5,12 @@ const api_client_1 = require("@tatumio/api-client");
5
5
  const shared_blockchain_evm_based_1 = require("@tatumio/shared-blockchain-evm-based");
6
6
  const bscTxService = (args) => {
7
7
  return {
8
- native: Object.assign({}, (0, shared_blockchain_evm_based_1.native)(Object.assign(Object.assign({}, args), { broadcastFunction: api_client_1.BlockchainBscService.bscBroadcast }))),
9
- erc20: Object.assign({}, (0, shared_blockchain_evm_based_1.erc20)(Object.assign(Object.assign({}, args), { broadcastFunction: api_client_1.BlockchainBscService.bscBroadcast }))),
10
- erc721: Object.assign({}, (0, shared_blockchain_evm_based_1.erc721)(Object.assign(Object.assign({}, args), { broadcastFunction: api_client_1.BlockchainBscService.bscBroadcast }))),
11
- multiToken: Object.assign({}, (0, shared_blockchain_evm_based_1.multiToken)(Object.assign(Object.assign({}, args), { broadcastFunction: api_client_1.BlockchainBscService.bscBroadcast }))),
12
- custodial: Object.assign({}, (0, shared_blockchain_evm_based_1.custodial)(Object.assign(Object.assign({}, args), { broadcastFunction: api_client_1.BlockchainBscService.bscBroadcast }))),
13
- smartContract: Object.assign({}, (0, shared_blockchain_evm_based_1.smartContract)(Object.assign(Object.assign({}, args), { broadcastFunction: api_client_1.BlockchainBscService.bscBroadcast }))),
8
+ native: Object.assign({}, (0, shared_blockchain_evm_based_1.native)(Object.assign(Object.assign({}, args), { broadcastFunction: api_client_1.BnbSmartChainService.bscBroadcast }))),
9
+ erc20: Object.assign({}, (0, shared_blockchain_evm_based_1.erc20)(Object.assign(Object.assign({}, args), { broadcastFunction: api_client_1.BnbSmartChainService.bscBroadcast }))),
10
+ erc721: Object.assign({}, (0, shared_blockchain_evm_based_1.erc721)(Object.assign(Object.assign({}, args), { broadcastFunction: api_client_1.BnbSmartChainService.bscBroadcast }))),
11
+ multiToken: Object.assign({}, (0, shared_blockchain_evm_based_1.multiToken)(Object.assign(Object.assign({}, args), { broadcastFunction: api_client_1.BnbSmartChainService.bscBroadcast }))),
12
+ custodial: Object.assign({}, (0, shared_blockchain_evm_based_1.custodial)(Object.assign(Object.assign({}, args), { broadcastFunction: api_client_1.BnbSmartChainService.bscBroadcast }))),
13
+ smartContract: Object.assign({}, (0, shared_blockchain_evm_based_1.smartContract)(Object.assign(Object.assign({}, args), { broadcastFunction: api_client_1.BnbSmartChainService.bscBroadcast }))),
14
14
  };
15
15
  };
16
16
  exports.bscTxService = bscTxService;