@tatumio/algo 2.0.1-alpha.381.2 → 2.0.1-alpha.382
Sign up to get free protection for your applications and to get access to all the features.
package/package.json
CHANGED
@@ -1,20 +1,20 @@
|
|
1
1
|
{
|
2
2
|
"name": "@tatumio/algo",
|
3
|
-
"version": "2.0.1-alpha.
|
3
|
+
"version": "2.0.1-alpha.382",
|
4
4
|
"type": "commonjs",
|
5
5
|
"license": "MIT",
|
6
6
|
"main": "./src/index.js",
|
7
7
|
"types": "./src/index.d.ts",
|
8
8
|
"dependencies": {
|
9
|
-
"@tatumio/shared-testing-common": "2.0.1-alpha.
|
10
|
-
"@tatumio/api-client": "2.0.1-alpha.
|
9
|
+
"@tatumio/shared-testing-common": "2.0.1-alpha.382",
|
10
|
+
"@tatumio/api-client": "2.0.1-alpha.382",
|
11
11
|
"axios": "^0.26.0",
|
12
12
|
"form-data": "^4.0.0",
|
13
|
-
"@tatumio/shared-core": "2.0.1-alpha.
|
14
|
-
"@tatumio/shared-abstract-sdk": "2.0.1-alpha.
|
13
|
+
"@tatumio/shared-core": "2.0.1-alpha.382",
|
14
|
+
"@tatumio/shared-abstract-sdk": "2.0.1-alpha.382",
|
15
15
|
"bignumber.js": "^9.0.2",
|
16
16
|
"lodash": "^4.17.21",
|
17
|
-
"@tatumio/shared-blockchain-abstract": "2.0.1-alpha.
|
17
|
+
"@tatumio/shared-blockchain-abstract": "2.0.1-alpha.382",
|
18
18
|
"algosdk": "^1.13.1",
|
19
19
|
"base32.js": "^0.1.0",
|
20
20
|
"url-parse": "^1.5.10",
|
@@ -326,8 +326,7 @@ const algoTxService = (args, apiCalls) => {
|
|
326
326
|
from: (0, algo_wallet_1.algoWallet)().generateAddressFromPrivatetKey(privateKey),
|
327
327
|
fromPrivateKey: privateKey,
|
328
328
|
to: body.address,
|
329
|
-
amount: body.amount,
|
330
|
-
digits: vc.precision,
|
329
|
+
amount: new bignumber_js_1.BigNumber(body.amount).multipliedBy(Math.pow(10, (vc.precision || 0))).toString(),
|
331
330
|
contractAddress: vc.erc20Address,
|
332
331
|
fee: body.fee,
|
333
332
|
},
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"algo.tx.js","sourceRoot":"","sources":["../../../../../../../packages/blockchain/algo/src/lib/services/algo.tx.ts"],"names":[],"mappings":";;;;AAAA,oDAkB4B;AAE5B,yDAAkC;AAClC,yBAAyB;AACzB,aAAa;AACb,kEAA8B;AAC9B,+CAA0C;AAC1C,sEAAgE;AAEhE,+CAAwC;AACxC,wDAA8D;AAoB9D,4DAI8B;AAC9B,kDAIyB;AAQlB,MAAM,aAAa,GAAG,CAAC,IAA0B,EAAE,QAA0B,EAAE,EAAE;IACtF,MAAM,oCAAoC,GAAG,CAC3C,IAAoD,EACpD,OAAO,GAAG,KAAK,EACf,OAAgB,EAChB,QAAiB,EACjB,EAAE;QACF,MAAM,WAAW,GAAG,OAAO,CAAC,SAAS,CAAC,OAAO,EAAE,QAAQ,CAAC,CAAA;QACxD,MAAM,MAAM,GAAG,MAAM,WAAW,CAAC,oBAAoB,EAAE,CAAC,EAAE,EAAE,CAAA;QAC5D,MAAM,OAAO,GAAG,IAAI,mBAAM,CAAC,OAAO,CAAC,EAAE,IAAI,EAAE,SAAS,EAAE,CAAC,CAAA;QACvD,MAAM,IAAI,GAAG,IAAA,uCAAiB,EAAC,IAAI,CAAC;YAClC,CAAC,CAAC,IAAI,CAAC,IAAI;YACX,CAAC,CAAC,IAAA,wBAAU,GAAE,CAAC,8BAA8B,CAAC,IAAI,CAAC,cAAc,CAAC,CAAA;QACpE,MAAM,GAAG,GAAG,OAAO,CAAC,uCAAuC,CACzD,IAAI,EACJ,IAAI,EACJ,SAAS,EACT,SAAS,EACT,CAAC,EACD,SAAS,EACT,IAAI,CAAC,OAAO,kCAEP,MAAM,KACT,GAAG,EAAE,MAAM,CAAC,IAAI,CAAC,GAAG,IAAI,OAAO,CAAC,GAAG,OAAO,EAC1C,OAAO,EAAE,IAAI,IAEhB,CAAA;QACD,IAAI,IAAA,uCAAiB,EAAC,I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AC,QAAQ,EAAE,IAC7C,CAAA;gBAEF,IAAI;oBACF,uCACK,CAAC,MAAM,wBAAW,CAAC,cAAc,CAAC,UAAU,CAAC,8BAA8B,CAAC;wBAC7E,MAAM;wBACN,YAAY,EAAE,EAAE;wBAChB,QAAQ,EAAE,qBAAQ,CAAC,IAAI;qBACxB,CAAC,CAAC,KACH,EAAE,IACH;iBACF;gBAAC,OAAO,CAAC,EAAE;oBACV,IAAI;wBACF,OAAO,MAAM,wBAAW,CAAC,cAAc,CAAC,UAAU,CAAC,0BAA0B,CAAC,EAAG,CAAC,CAAA;qBACnF;oBAAC,OAAO,CAAC,EAAE;wBACV,OAAO,EAAE,EAAE,EAAE,SAAS,EAAE,KAAK,EAAE,CAAA;qBAChC;iBACF;YACH,CAAC,CAAA;SACF;KACF,CAAA;AACH,CAAC,CAAA;AAhcY,QAAA,aAAa,iBAgczB"}
|
@@ -10,18 +10,14 @@ const algosdk = tslib_1.__importStar(require("algosdk"));
|
|
10
10
|
const bignumber_js_1 = require("bignumber.js");
|
11
11
|
const algo_wallet_1 = require("../algo.wallet");
|
12
12
|
const prepareCreateNFTSignedTransaction = ({ body, testnet = false, algoWeb, provider, }) => tslib_1.__awaiter(void 0, void 0, void 0, function* () {
|
13
|
-
var _a, _b, _c, _d
|
13
|
+
var _a, _b, _c, _d;
|
14
14
|
const algodClient = algoWeb.getClient(testnet, provider);
|
15
15
|
const params = yield algodClient.getTransactionParams().do();
|
16
16
|
const decoder = new base32_js_1.default.Decoder({ type: 'rfc4648' });
|
17
17
|
const from = (0, shared_abstract_sdk_1.isWithSignatureId)(body)
|
18
18
|
? body.from
|
19
19
|
: (0, algo_wallet_1.algoWallet)().generateAddressFromPrivatetKey(body.fromPrivateKey);
|
20
|
-
const
|
21
|
-
const total = new bignumber_js_1.BigNumber(((_b = body.attr) === null || _b === void 0 ? void 0 : _b['total']) || 1)
|
22
|
-
.multipliedBy(Math.pow(10, decimals))
|
23
|
-
.toNumber();
|
24
|
-
const txn = algosdk.makeAssetCreateTxnWithSuggestedParams(from, undefined, total, decimals, false, from, (_c = body.attr) === null || _c === void 0 ? void 0 : _c.reserve, (_d = body.attr) === null || _d === void 0 ? void 0 : _d.freeze, (_e = body.attr) === null || _e === void 0 ? void 0 : _e.clawback, (_f = body.attr) === null || _f === void 0 ? void 0 : _f.assetUnit, body.name, body.url, undefined, Object.assign(Object.assign({}, params), { fee: Number(body.fee || '0.001') * 1000000, flatFee: true }));
|
20
|
+
const txn = algosdk.makeAssetCreateTxnWithSuggestedParams(from, undefined, 1, 0, false, from, (_a = body.attr) === null || _a === void 0 ? void 0 : _a.reserve, (_b = body.attr) === null || _b === void 0 ? void 0 : _b.freeze, (_c = body.attr) === null || _c === void 0 ? void 0 : _c.clawback, (_d = body.attr) === null || _d === void 0 ? void 0 : _d.assetUnit, body.name, body.url, undefined, Object.assign(Object.assign({}, params), { fee: Number(body.fee || '0.001') * 1000000, flatFee: true }));
|
25
21
|
if ((0, shared_abstract_sdk_1.isWithSignatureId)(body)) {
|
26
22
|
return JSON.stringify(txn);
|
27
23
|
}
|
@@ -37,10 +33,10 @@ const prepareTransferNFTSignedTransaction = ({ body, testnet = false, algoWeb, p
|
|
37
33
|
const from = (0, shared_abstract_sdk_1.isWithSignatureId)(body)
|
38
34
|
? body.from
|
39
35
|
: (0, algo_wallet_1.algoWallet)().generateAddressFromPrivatetKey(body.fromPrivateKey);
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
const txn = algosdk.makeAssetTransferTxnWithSuggestedParams(from, body.to, undefined, undefined,
|
36
|
+
if (!body.value) {
|
37
|
+
throw new Error('No value specified');
|
38
|
+
}
|
39
|
+
const txn = algosdk.makeAssetTransferTxnWithSuggestedParams(from, body.to, undefined, undefined, Number.parseInt(body.value || '1'), undefined, new bignumber_js_1.BigNumber(body.contractAddress).toNumber(), Object.assign(Object.assign({}, params), { fee: Number(body.fee || '0.001') * 1000000, flatFee: true }), undefined);
|
44
40
|
if ((0, shared_abstract_sdk_1.isWithSignatureId)(body)) {
|
45
41
|
return JSON.stringify(txn);
|
46
42
|
}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"algo.tx.nft.js","sourceRoot":"","sources":["../../../../../../../../packages/blockchain/algo/src/lib/services/tx/algo.tx.nft.ts"],"names":[],"mappings":";;;;AAAA,yBAAyB;AACzB,aAAa;AACb,kEAA8B;AAC9B,sEAAgE;AAChE,yDAAkC;AAClC,+CAAwC;AAWxC,gDAA2C;
|
1
|
+
{"version":3,"file":"algo.tx.nft.js","sourceRoot":"","sources":["../../../../../../../../packages/blockchain/algo/src/lib/services/tx/algo.tx.nft.ts"],"names":[],"mappings":";;;;AAAA,yBAAyB;AACzB,aAAa;AACb,kEAA8B;AAC9B,sEAAgE;AAChE,yDAAkC;AAClC,+CAAwC;AAWxC,gDAA2C;AAEpC,MAAM,iCAAiC,GAAG,CAAO,EACtD,IAAI,EACJ,OAAO,GAAG,KAAK,EACf,OAAO,EACP,QAAQ,GAMT,EAAE,EAAE;;IACH,MAAM,WAAW,GAAG,OAAO,CAAC,SAAS,CAAC,OAAO,EAAE,QAAQ,CAAC,CAAA;IACxD,MAAM,MAAM,GAAG,MAAM,WAAW,CAAC,oBAAoB,EAAE,CAAC,EAAE,EAAE,CAAA;IAE5D,MAAM,OAAO,GAAG,IAAI,mBAAM,CAAC,OAAO,CAAC,EAAE,IAAI,EAAE,SAAS,EAAE,CAAC,CAAA;IAEvD,MAAM,IAAI,GAAG,IAAA,uCAAiB,EAAC,IAAI,CAAC;QAClC,CAAC,CAAC,IAAI,CAAC,IAAI;QACX,CAAC,CAAC,IAAA,wBAAU,GAAE,CAAC,8BAA8B,CAAC,IAAI,CAAC,cAAc,CAAC,CAAA;IAEpE,MAAM,GAAG,GAAG,OAAO,CAAC,qCAAqC,CACvD,IAAI,EACJ,SAAS,EACT,CAAC,EACD,CAAC,EACD,KAAK,EACL,IAAI,EACJ,MAAA,IAAI,CAAC,IAAI,0CAAE,OAAO,EAClB,MAAA,IA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