@tatumio/celo 2.0.1-alpha.250 → 2.0.1-alpha.251
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/package.json +7 -7
- package/src/lib/celo.sdk.d.ts +46 -46
- package/src/lib/celo.sdk.js +10 -10
- package/src/lib/celo.sdk.js.map +1 -1
- package/src/lib/services/celo.auction.js +1 -1
- package/src/lib/services/celo.auction.js.map +1 -1
- package/src/lib/services/celo.kms.d.ts +3 -3
- package/src/lib/services/celo.tx.js +4 -4
- package/src/lib/services/celo.tx.js.map +1 -1
package/package.json
CHANGED
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tatumio/celo",
|
|
3
|
-
"version": "2.0.1-alpha.
|
|
3
|
+
"version": "2.0.1-alpha.251",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"main": "./src/index.js",
|
|
6
6
|
"typings": "./src/index.d.ts",
|
|
7
7
|
"dependencies": {
|
|
8
|
-
"@tatumio/shared-testing-common": "2.0.1-alpha.
|
|
9
|
-
"@tatumio/api-client": "2.0.1-alpha.
|
|
8
|
+
"@tatumio/shared-testing-common": "2.0.1-alpha.251",
|
|
9
|
+
"@tatumio/api-client": "2.0.1-alpha.251",
|
|
10
10
|
"axios": "^0.26.0",
|
|
11
11
|
"form-data": "^4.0.0",
|
|
12
|
-
"@tatumio/shared-core": "2.0.1-alpha.
|
|
13
|
-
"@tatumio/shared-abstract-sdk": "2.0.1-alpha.
|
|
12
|
+
"@tatumio/shared-core": "2.0.1-alpha.251",
|
|
13
|
+
"@tatumio/shared-abstract-sdk": "2.0.1-alpha.251",
|
|
14
14
|
"bignumber.js": "^9.0.2",
|
|
15
|
-
"@tatumio/shared-blockchain-evm-based": "2.0.1-alpha.
|
|
16
|
-
"@tatumio/shared-blockchain-abstract": "2.0.1-alpha.
|
|
15
|
+
"@tatumio/shared-blockchain-evm-based": "2.0.1-alpha.251",
|
|
16
|
+
"@tatumio/shared-blockchain-abstract": "2.0.1-alpha.251",
|
|
17
17
|
"ethereumjs-wallet": "^1.0.2",
|
|
18
18
|
"bip39": "^3.0.2",
|
|
19
19
|
"web3": "^1.7.0",
|
package/src/lib/celo.sdk.d.ts
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { Web3Request, Web3Response } from '@tatumio/shared-core';
|
|
2
2
|
import { SDKArguments } from '@tatumio/shared-abstract-sdk';
|
|
3
|
-
import {
|
|
3
|
+
import { CeloService, FungibleTokensErc20OrCompatibleService } from '@tatumio/api-client';
|
|
4
4
|
export declare const TatumCeloSDK: (args: SDKArguments) => {
|
|
5
|
-
api: typeof
|
|
5
|
+
api: typeof CeloService;
|
|
6
6
|
kms: {
|
|
7
7
|
getAllPending(signatures?: string): import("@tatumio/api-client").CancelablePromise<import("@tatumio/api-client").PendingTransaction[]>;
|
|
8
|
-
get: typeof import("@tatumio/api-client").
|
|
9
|
-
complete: typeof import("@tatumio/api-client").
|
|
10
|
-
delete: typeof import("@tatumio/api-client").
|
|
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,25 +18,25 @@ export declare const TatumCeloSDK: (args: SDKArguments) => {
|
|
|
18
18
|
};
|
|
19
19
|
};
|
|
20
20
|
erc20: {
|
|
21
|
-
getErc20TransactionByAddress: typeof
|
|
22
|
-
getErc20AccountBalance: typeof
|
|
21
|
+
getErc20TransactionByAddress: typeof FungibleTokensErc20OrCompatibleService.erc20GetTransactionByAddress;
|
|
22
|
+
getErc20AccountBalance: typeof FungibleTokensErc20OrCompatibleService.erc20GetBalance;
|
|
23
23
|
};
|
|
24
24
|
nft: {
|
|
25
|
-
deployNFTSmartContract: typeof import("@tatumio/api-client").
|
|
26
|
-
addNFTMinter: typeof import("@tatumio/api-client").
|
|
27
|
-
mintNFT: typeof import("@tatumio/api-client").
|
|
28
|
-
mintMultipleNFTs: typeof import("@tatumio/api-client").
|
|
29
|
-
burnNFT: typeof import("@tatumio/api-client").
|
|
30
|
-
transferNFT: typeof import("@tatumio/api-client").
|
|
31
|
-
updateNFTRoyalty: typeof import("@tatumio/api-client").
|
|
32
|
-
getNFTTransaction: typeof import("@tatumio/api-client").
|
|
33
|
-
getNFTTransactionsByToken: typeof import("@tatumio/api-client").
|
|
34
|
-
getNFTTransactionsByAddress: typeof import("@tatumio/api-client").
|
|
35
|
-
getNFTsByAddress: typeof import("@tatumio/api-client").
|
|
36
|
-
getNFTProvenanceData: typeof import("@tatumio/api-client").
|
|
37
|
-
getNFTMetadataURI: typeof import("@tatumio/api-client").
|
|
38
|
-
getNFTRoyalty: typeof import("@tatumio/api-client").
|
|
39
|
-
getNFTAccountBalance: typeof import("@tatumio/api-client").
|
|
25
|
+
deployNFTSmartContract: typeof import("@tatumio/api-client").NftErc721OrCompatibleService.nftDeployErc721;
|
|
26
|
+
addNFTMinter: typeof import("@tatumio/api-client").NftErc721OrCompatibleService.nftAddMinter;
|
|
27
|
+
mintNFT: typeof import("@tatumio/api-client").NftErc721OrCompatibleService.nftMintErc721;
|
|
28
|
+
mintMultipleNFTs: typeof import("@tatumio/api-client").NftErc721OrCompatibleService.nftMintMultipleErc721;
|
|
29
|
+
burnNFT: typeof import("@tatumio/api-client").NftErc721OrCompatibleService.nftBurnErc721;
|
|
30
|
+
transferNFT: typeof import("@tatumio/api-client").NftErc721OrCompatibleService.nftTransferErc721;
|
|
31
|
+
updateNFTRoyalty: typeof import("@tatumio/api-client").NftErc721OrCompatibleService.nftUpdateCashbackErc721;
|
|
32
|
+
getNFTTransaction: typeof import("@tatumio/api-client").NftErc721OrCompatibleService.nftGetTransactErc721;
|
|
33
|
+
getNFTTransactionsByToken: typeof import("@tatumio/api-client").NftErc721OrCompatibleService.nftGetTransactionByToken;
|
|
34
|
+
getNFTTransactionsByAddress: typeof import("@tatumio/api-client").NftErc721OrCompatibleService.nftGetTransactionByAddress;
|
|
35
|
+
getNFTsByAddress: typeof import("@tatumio/api-client").NftErc721OrCompatibleService.nftGetTokensByAddressErc721;
|
|
36
|
+
getNFTProvenanceData: typeof import("@tatumio/api-client").NftErc721OrCompatibleService.nftGetProvenanceDataErc721;
|
|
37
|
+
getNFTMetadataURI: typeof import("@tatumio/api-client").NftErc721OrCompatibleService.nftGetMetadataErc721;
|
|
38
|
+
getNFTRoyalty: typeof import("@tatumio/api-client").NftErc721OrCompatibleService.nftGetRoyaltyErc721;
|
|
39
|
+
getNFTAccountBalance: typeof import("@tatumio/api-client").NftErc721OrCompatibleService.nftGetBalanceErc721;
|
|
40
40
|
getNFTImage: (chain: "CELO" | "ETH" | "ONE" | "KLAY" | "BSC" | "MATIC" | "TRON" | "KCS" | "FLOW" | "SOL", contractAddress: string, tokenId: string, account?: string) => Promise<{
|
|
41
41
|
originalUrl: string;
|
|
42
42
|
publicUrl: string;
|
|
@@ -157,13 +157,13 @@ export declare const TatumCeloSDK: (args: SDKArguments) => {
|
|
|
157
157
|
};
|
|
158
158
|
httpDriver: (request: Web3Request) => Promise<Web3Response>;
|
|
159
159
|
blockchain: {
|
|
160
|
-
broadcast: typeof
|
|
161
|
-
getTransactionsCount: typeof
|
|
162
|
-
getCurrentBlock: typeof
|
|
163
|
-
getBlock: typeof
|
|
164
|
-
getBlockchainAccountBalance: typeof
|
|
165
|
-
get: typeof
|
|
166
|
-
getAccountTransactions: typeof
|
|
160
|
+
broadcast: typeof CeloService.celoBroadcast;
|
|
161
|
+
getTransactionsCount: typeof CeloService.celoGetTransactionCount;
|
|
162
|
+
getCurrentBlock: typeof CeloService.celoGetCurrentBlock;
|
|
163
|
+
getBlock: typeof CeloService.celoGetBlock;
|
|
164
|
+
getBlockchainAccountBalance: typeof CeloService.celoGetBalance;
|
|
165
|
+
get: typeof CeloService.celoGetTransaction;
|
|
166
|
+
getAccountTransactions: typeof CeloService.celoGetTransactionByAddress;
|
|
167
167
|
};
|
|
168
168
|
web3Client: (provider?: string, fromPrivateKey?: string) => import("web3").default;
|
|
169
169
|
record: {
|
|
@@ -186,33 +186,33 @@ export declare const TatumCeloSDK: (args: SDKArguments) => {
|
|
|
186
186
|
offchain: {
|
|
187
187
|
depositAddress: {
|
|
188
188
|
checkExists: (address: string, index?: number) => Promise<import("@tatumio/api-client").Account>;
|
|
189
|
-
create: typeof import("@tatumio/api-client").
|
|
190
|
-
createMultiple: typeof import("@tatumio/api-client").
|
|
191
|
-
assign: typeof import("@tatumio/api-client").
|
|
192
|
-
remove: typeof import("@tatumio/api-client").
|
|
193
|
-
getByAccount: typeof import("@tatumio/api-client").
|
|
189
|
+
create: typeof import("@tatumio/api-client").BlockchainAddressesService.generateDepositAddress;
|
|
190
|
+
createMultiple: typeof import("@tatumio/api-client").BlockchainAddressesService.generateDepositAddressesBatch;
|
|
191
|
+
assign: typeof import("@tatumio/api-client").BlockchainAddressesService.assignAddress;
|
|
192
|
+
remove: typeof import("@tatumio/api-client").BlockchainAddressesService.removeAddress;
|
|
193
|
+
getByAccount: typeof import("@tatumio/api-client").BlockchainAddressesService.getAllDepositAddresses;
|
|
194
194
|
};
|
|
195
195
|
withdrawal: {
|
|
196
196
|
getAll: (status?: "InProgress" | "Done" | "Cancelled", pageSize?: number, offset?: number) => Promise<import("@tatumio/api-client").WithdrawalObject[]>;
|
|
197
|
-
broadcast: typeof import("@tatumio/api-client").
|
|
198
|
-
create: typeof import("@tatumio/api-client").
|
|
199
|
-
complete: typeof import("@tatumio/api-client").
|
|
197
|
+
broadcast: typeof import("@tatumio/api-client").WithdrawalService.broadcastBlockchainTransaction;
|
|
198
|
+
create: typeof import("@tatumio/api-client").WithdrawalService.storeWithdrawal;
|
|
199
|
+
complete: typeof import("@tatumio/api-client").WithdrawalService.completeWithdrawal;
|
|
200
200
|
};
|
|
201
|
-
storeTokenAddress: typeof import("@tatumio/api-client").
|
|
201
|
+
storeTokenAddress: typeof import("@tatumio/api-client").BlockchainOperationsService.storeTokenAddress;
|
|
202
202
|
};
|
|
203
203
|
getExchangeRate(basePair?: import("@tatumio/api-client").Fiat): import("@tatumio/api-client").CancelablePromise<import("@tatumio/api-client").ExchangeRate>;
|
|
204
204
|
storage: {
|
|
205
|
-
upload: typeof import("@tatumio/api-client").
|
|
206
|
-
get: typeof import("@tatumio/api-client").
|
|
205
|
+
upload: typeof import("@tatumio/api-client").IpfsService.storeIpfs;
|
|
206
|
+
get: typeof import("@tatumio/api-client").IpfsService.getIpfsData;
|
|
207
207
|
};
|
|
208
|
-
subscriptions: typeof import("@tatumio/api-client").
|
|
208
|
+
subscriptions: typeof import("@tatumio/api-client").NotificationSubscriptionsService;
|
|
209
209
|
security: {
|
|
210
|
-
checkMaliciousAddress: typeof import("@tatumio/api-client").
|
|
210
|
+
checkMaliciousAddress: typeof import("@tatumio/api-client").MaliciousAddressService.checkMalicousAddress;
|
|
211
211
|
};
|
|
212
212
|
tatum: {
|
|
213
|
-
getCredits: typeof import("@tatumio/api-client").
|
|
214
|
-
getVersion: typeof import("@tatumio/api-client").
|
|
215
|
-
freezeApiKey: typeof import("@tatumio/api-client").
|
|
216
|
-
unfreezeApiKey: typeof import("@tatumio/api-client").
|
|
213
|
+
getCredits: typeof import("@tatumio/api-client").ServiceUtilsService.getCredits;
|
|
214
|
+
getVersion: typeof import("@tatumio/api-client").ServiceUtilsService.getVersion;
|
|
215
|
+
freezeApiKey: typeof import("@tatumio/api-client").ServiceUtilsService.freezeApiKey;
|
|
216
|
+
unfreezeApiKey: typeof import("@tatumio/api-client").ServiceUtilsService.unfreezeApiKey;
|
|
217
217
|
};
|
|
218
218
|
};
|
package/src/lib/celo.sdk.js
CHANGED
|
@@ -12,24 +12,24 @@ const celo_auction_1 = require("./services/celo.auction");
|
|
|
12
12
|
const blockchain = shared_core_1.Blockchain.CELO;
|
|
13
13
|
const TatumCeloSDK = (args) => {
|
|
14
14
|
const web3 = (0, celo_web3_1.celoWeb3)({ blockchain });
|
|
15
|
-
const api = api_client_1.
|
|
15
|
+
const api = api_client_1.CeloService;
|
|
16
16
|
const txService = (0, celo_tx_1.celoTxService)({ 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
|
return Object.assign(Object.assign({}, evmSdk), { api, kms: (0, celo_kms_1.celoKmsService)({ blockchain, web3 }), transaction: txService.native, erc20: {
|
|
19
|
-
getErc20TransactionByAddress: api_client_1.
|
|
20
|
-
getErc20AccountBalance: api_client_1.
|
|
19
|
+
getErc20TransactionByAddress: api_client_1.FungibleTokensErc20OrCompatibleService.erc20GetTransactionByAddress,
|
|
20
|
+
getErc20AccountBalance: api_client_1.FungibleTokensErc20OrCompatibleService.erc20GetBalance,
|
|
21
21
|
}, nft: Object.assign(Object.assign({}, txService.erc721), nft), multiToken: txService.multiToken, custodial: txService.custodial, marketplace: {
|
|
22
22
|
auction: (0, celo_auction_1.celoAuctionService)({ blockchain, web3 }),
|
|
23
23
|
}, httpDriver: (request) => (0, tslib_1.__awaiter)(void 0, void 0, void 0, function* () {
|
|
24
24
|
return api.celoWeb3Driver(args.apiKey, Object.assign(Object.assign({}, request), { jsonrpc: '2.0' }));
|
|
25
25
|
}), blockchain: {
|
|
26
|
-
broadcast: api_client_1.
|
|
27
|
-
getTransactionsCount: api_client_1.
|
|
28
|
-
getCurrentBlock: api_client_1.
|
|
29
|
-
getBlock: api_client_1.
|
|
30
|
-
getBlockchainAccountBalance: api_client_1.
|
|
31
|
-
get: api_client_1.
|
|
32
|
-
getAccountTransactions: api_client_1.
|
|
26
|
+
broadcast: api_client_1.CeloService.celoBroadcast,
|
|
27
|
+
getTransactionsCount: api_client_1.CeloService.celoGetTransactionCount,
|
|
28
|
+
getCurrentBlock: api_client_1.CeloService.celoGetCurrentBlock,
|
|
29
|
+
getBlock: api_client_1.CeloService.celoGetBlock,
|
|
30
|
+
getBlockchainAccountBalance: api_client_1.CeloService.celoGetBalance,
|
|
31
|
+
get: api_client_1.CeloService.celoGetTransaction,
|
|
32
|
+
getAccountTransactions: api_client_1.CeloService.celoGetTransactionByAddress,
|
|
33
33
|
} });
|
|
34
34
|
};
|
|
35
35
|
exports.TatumCeloSDK = TatumCeloSDK;
|
package/src/lib/celo.sdk.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"celo.sdk.js","sourceRoot":"","sources":["../../../../../../packages/blockchain/celo/src/lib/celo.sdk.ts"],"names":[],"mappings":";;;;AAAA,sDAA4E;AAE5E,
|
|
1
|
+
{"version":3,"file":"celo.sdk.js","sourceRoot":"","sources":["../../../../../../packages/blockchain/celo/src/lib/celo.sdk.ts"],"names":[],"mappings":";;;;AAAA,sDAA4E;AAE5E,oDAAyF;AACzF,oDAA+C;AAC/C,sFAAkE;AAClE,kDAAoD;AACpD,gDAAkD;AAClD,0DAA4D;AAE5D,MAAM,UAAU,GAAG,wBAAU,CAAC,IAAI,CAAA;AAE3B,MAAM,YAAY,GAAG,CAAC,IAAkB,EAAE,EAAE;IACjD,MAAM,IAAI,GAAG,IAAA,oBAAQ,EAAC,EAAE,UAAU,EAAE,CAAC,CAAA;IACrC,MAAM,GAAG,GAAG,wBAAW,CAAA;IACvB,MAAM,SAAS,GAAG,IAAA,uBAAa,EAAC,EAAE,UAAU,EAAE,IAAI,EAAE,CAAC,CAAA;IACrD,MAAM,KAAqB,IAAA,yCAAW,kCAAM,IAAI,KAAE,UAAU,EAAE,IAAI,IAAG,EAA/D,EAAE,GAAG,OAA0D,EAArD,MAAM,2BAAhB,OAAkB,CAA6C,CAAA;IAErE,uCACK,MAAM,KACT,GAAG,EACH,GAAG,EAAE,IAAA,yBAAc,EAAC,EAAE,UAAU,EAAE,IAAI,EAAE,CAAC,EACzC,WAAW,EAAE,SAAS,CAAC,MAAM,EAC7B,KAAK,EAAE;YACL,4BAA4B,EAAE,mDAAsC,CAAC,4BAA4B;YACjG,sBAAsB,EAAE,mDAAsC,CAAC,eAAe;SAC/E,EACD,GAAG,kCACE,SAAS,CAAC,MAAM,GAChB,GAAG,GAER,UAAU,EAAE,SAAS,CAAC,UAAU,EAChC,SAAS,EAAE,SAAS,CAAC,SAAS,EAC9B,WAAW,EAAE;YACX,OAAO,EAAE,IAAA,iCAAkB,EAAC,EAAE,UAAU,EAAE,IAAI,EAAE,CAAC;SAClD,EACD,UAAU,EAAE,CAAO,OAAoB,EAAyB,EAAE;YAChE,OAAO,GAAG,CAAC,cAAc,CAAC,IAAI,CAAC,MAAM,kCAAO,OAAO,KAAE,OAAO,EAAE,KAAK,IAAG,CAAA;QACxE,CAAC,CAAA,EACD,UAAU,EAAE;YACV,SAAS,EAAE,wBAAW,CAAC,aAAa;YACpC,oBAAoB,EAAE,wBAAW,CAAC,uBAAuB;YACzD,eAAe,EAAE,wBAAW,CAAC,mBAAmB;YAChD,QAAQ,EAAE,wBAAW,CAAC,YAAY;YAClC,2BAA2B,EAAE,wBAAW,CAAC,cAAc;YACvD,GAAG,EAAE,wBAAW,CAAC,kBAAkB;YACnC,sBAAsB,EAAE,wBAAW,CAAC,2BAA2B;SAChE,IACF;AACH,CAAC,CAAA;AArCY,QAAA,YAAY,gBAqCxB"}
|
|
@@ -4,7 +4,7 @@ exports.celoAuctionService = 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 celoAuctionService = (args) => {
|
|
7
|
-
return Object.assign({}, (0, shared_blockchain_evm_based_1.evmBasedAuction)(Object.assign(Object.assign({}, args), { broadcastFunction: api_client_1.
|
|
7
|
+
return Object.assign({}, (0, shared_blockchain_evm_based_1.evmBasedAuction)(Object.assign(Object.assign({}, args), { broadcastFunction: api_client_1.CeloService.celoBroadcast })));
|
|
8
8
|
};
|
|
9
9
|
exports.celoAuctionService = celoAuctionService;
|
|
10
10
|
//# sourceMappingURL=celo.auction.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"celo.auction.js","sourceRoot":"","sources":["../../../../../../../packages/blockchain/celo/src/lib/services/celo.auction.ts"],"names":[],"mappings":";;;AAAA,sFAAoF;AAEpF,
|
|
1
|
+
{"version":3,"file":"celo.auction.js","sourceRoot":"","sources":["../../../../../../../packages/blockchain/celo/src/lib/services/celo.auction.ts"],"names":[],"mappings":";;;AAAA,sFAAoF;AAEpF,oDAAiD;AAE1C,MAAM,kBAAkB,GAAG,CAAC,IAA4D,EAAE,EAAE;IACjG,yBACK,IAAA,6CAAe,kCAAM,IAAI,KAAE,iBAAiB,EAAE,wBAAW,CAAC,aAAa,IAAG,EAC9E;AACH,CAAC,CAAA;AAJY,QAAA,kBAAkB,sBAI9B"}
|
|
@@ -5,7 +5,7 @@ export declare const celoKmsService: (args: {
|
|
|
5
5
|
web3: EvmBasedWeb3;
|
|
6
6
|
}) => {
|
|
7
7
|
getAllPending(signatures?: string): import("../../../../../../dist/packages/api-client/src").CancelablePromise<import("../../../../../../dist/packages/api-client/src").PendingTransaction[]>;
|
|
8
|
-
get: typeof import("../../../../../../dist/packages/api-client/src").
|
|
9
|
-
complete: typeof import("../../../../../../dist/packages/api-client/src").
|
|
10
|
-
delete: typeof import("../../../../../../dist/packages/api-client/src").
|
|
8
|
+
get: typeof import("../../../../../../dist/packages/api-client/src").KeyManagementSystemService.getPendingTransactionToSign;
|
|
9
|
+
complete: typeof import("../../../../../../dist/packages/api-client/src").KeyManagementSystemService.completePendingSignature;
|
|
10
|
+
delete: typeof import("../../../../../../dist/packages/api-client/src").KeyManagementSystemService.deletePendingTransactionToSign;
|
|
11
11
|
};
|
|
@@ -6,10 +6,10 @@ const shared_blockchain_evm_based_1 = require("@tatumio/shared-blockchain-evm-ba
|
|
|
6
6
|
const transactions_1 = require("../transactions");
|
|
7
7
|
const celoTxService = (args) => {
|
|
8
8
|
return {
|
|
9
|
-
native: Object.assign({}, (0, transactions_1.native)(Object.assign(Object.assign({}, args), { broadcastFunction: api_client_1.
|
|
10
|
-
erc721: Object.assign({}, (0, transactions_1.erc721)(Object.assign(Object.assign({}, args), { broadcastFunction: api_client_1.
|
|
11
|
-
multiToken: Object.assign({}, (0, transactions_1.multiToken)(Object.assign(Object.assign({}, args), { broadcastFunction: api_client_1.
|
|
12
|
-
custodial: Object.assign({}, (0, shared_blockchain_evm_based_1.custodial)(Object.assign(Object.assign({}, args), { broadcastFunction: api_client_1.
|
|
9
|
+
native: Object.assign({}, (0, transactions_1.native)(Object.assign(Object.assign({}, args), { broadcastFunction: api_client_1.CeloService.celoBroadcast }))),
|
|
10
|
+
erc721: Object.assign({}, (0, transactions_1.erc721)(Object.assign(Object.assign({}, args), { broadcastFunction: api_client_1.CeloService.celoBroadcast }))),
|
|
11
|
+
multiToken: Object.assign({}, (0, transactions_1.multiToken)(Object.assign(Object.assign({}, args), { broadcastFunction: api_client_1.CeloService.celoBroadcast }))),
|
|
12
|
+
custodial: Object.assign({}, (0, shared_blockchain_evm_based_1.custodial)(Object.assign(Object.assign({}, args), { broadcastFunction: api_client_1.CeloService.celoBroadcast }))),
|
|
13
13
|
};
|
|
14
14
|
};
|
|
15
15
|
exports.celoTxService = celoTxService;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"celo.tx.js","sourceRoot":"","sources":["../../../../../../../packages/blockchain/celo/src/lib/services/celo.tx.ts"],"names":[],"mappings":";;;AAAA,
|
|
1
|
+
{"version":3,"file":"celo.tx.js","sourceRoot":"","sources":["../../../../../../../packages/blockchain/celo/src/lib/services/celo.tx.ts"],"names":[],"mappings":";;;AAAA,oDAAiD;AAEjD,sFAAmG;AACnG,kDAA4D;AAErD,MAAM,aAAa,GAAG,CAAC,IAA4D,EAAE,EAAE;IAC5F,OAAO;QACL,MAAM,oBACD,IAAA,qBAAM,kCACJ,IAAI,KACP,iBAAiB,EAAE,wBAAW,CAAC,aAAa,IAC5C,CACH;QACD,MAAM,oBACD,IAAA,qBAAM,kCACJ,IAAI,KACP,iBAAiB,EAAE,wBAAW,CAAC,aAAa,IAC5C,CACH;QACD,UAAU,oBACL,IAAA,yBAAU,kCACR,IAAI,KACP,iBAAiB,EAAE,wBAAW,CAAC,aAAa,IAC5C,CACH;QACD,SAAS,oBACJ,IAAA,uCAAiB,kCACf,IAAI,KACP,iBAAiB,EAAE,wBAAW,CAAC,aAAa,IAC5C,CACH;KACF,CAAA;AACH,CAAC,CAAA;AA3BY,QAAA,aAAa,iBA2BzB"}
|