@tatumio/algo 2.0.1-alpha.383.1 → 2.0.1-alpha.384
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.384",
|
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.384",
|
10
|
+
"@tatumio/api-client": "2.0.1-alpha.384",
|
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.384",
|
14
|
+
"@tatumio/shared-abstract-sdk": "2.0.1-alpha.384",
|
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.384",
|
18
18
|
"algosdk": "^1.13.1",
|
19
19
|
"base32.js": "^0.1.0",
|
20
20
|
"url-parse": "^1.5.10",
|
@@ -17,7 +17,25 @@ const prepareCreateFTSignedTransaction = ({ body, testnet = false, algoWeb, prov
|
|
17
17
|
? body.from
|
18
18
|
: (0, algo_wallet_1.algoWallet)().generateAddressFromPrivatetKey(body.fromPrivateKey);
|
19
19
|
const decimals = body.digits || 0;
|
20
|
-
|
20
|
+
/**
|
21
|
+
* By default, total = 2 decimals = 1 -> will create supply = 0.2
|
22
|
+
* To simplify it for customers we add zeros to the end of the number
|
23
|
+
*/
|
24
|
+
const total = new bignumber_js_1.BigNumber(body.supply).shiftedBy(decimals).toNumber();
|
25
|
+
const txn = algosdk.makeAssetCreateTxnWithSuggestedParamsFromObject({
|
26
|
+
from,
|
27
|
+
total,
|
28
|
+
decimals,
|
29
|
+
assetName: body.symbol,
|
30
|
+
unitName: body.name,
|
31
|
+
assetURL: body.url,
|
32
|
+
defaultFrozen: false,
|
33
|
+
freeze: undefined,
|
34
|
+
manager: undefined,
|
35
|
+
clawback: undefined,
|
36
|
+
reserve: undefined,
|
37
|
+
suggestedParams: Object.assign(Object.assign({}, params), { fee: Number(body.fee || '0.001') * 1000000, flatFee: true }),
|
38
|
+
});
|
21
39
|
if ((0, shared_abstract_sdk_1.isWithSignatureId)(body)) {
|
22
40
|
return JSON.stringify(txn);
|
23
41
|
}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"algo.tx.fungible.js","sourceRoot":"","sources":["../../../../../../../../packages/blockchain/algo/src/lib/services/tx/algo.tx.fungible.ts"],"names":[],"mappings":";;;;AAAA,sEAAgE;AAChE,yDAAkC;AAClC,+CAAwC;AASxC,yBAAyB;AACzB,aAAa;AACb,kEAA8B;AAE9B,gDAA2C;AAEpC,MAAM,gCAAgC,GAAG,CAAO,EACrD,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,IAA0B,CAAC;QACxD,CAAC,CAAE,IAA2B,CAAC,IAAI;QACnC,CAAC,CAAC,IAAA,wBAAU,GAAE,CAAC,8BAA8B,CAAE,IAAwB,CAAC,cAAc,CAAC,CAAA;IAEzF,MAAM,QAAQ,GAAG,IAAI,CAAC,MAAM,IAAI,CAAC,CAAA;
|
1
|
+
{"version":3,"file":"algo.tx.fungible.js","sourceRoot":"","sources":["../../../../../../../../packages/blockchain/algo/src/lib/services/tx/algo.tx.fungible.ts"],"names":[],"mappings":";;;;AAAA,sEAAgE;AAChE,yDAAkC;AAClC,+CAAwC;AASxC,yBAAyB;AACzB,aAAa;AACb,kEAA8B;AAE9B,gDAA2C;AAEpC,MAAM,gCAAgC,GAAG,CAAO,EACrD,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,IAA0B,CAAC;QACxD,CAAC,CAAE,IAA2B,CAAC,IAAI;QACnC,CAAC,CAAC,IAAA,wBAAU,GAAE,CAAC,8BAA8B,CAAE,IAAwB,CAAC,cAAc,CAAC,CAAA;IAEzF,MAAM,QAAQ,GAAG,IAAI,CAAC,MAAM,IAAI,CAAC,CAAA;IACjC;;;OAGG;IACH,MAAM,KAAK,GAAG,IAAI,wBAAS,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,SAAS,CAAC,QAAQ,CAAC,CAAC,QAAQ,EAAE,CAAA;IAEvE,MAAM,GAAG,GAAG,OAAO,CAAC,+CAA+C,CAAC;QAClE,IAAI;QACJ,KAAK;QACL,QAAQ;QACR,SAAS,EAAE,IAAI,CAAC,MAAM;QACtB,QAAQ,EA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,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,sCAAsC,CACxD,IAAI,EACJ,SAAS,EACT,MAAM,CAAC,IAAI,CAAC,eAAe,CAAC,kCAEvB,MAAM,KACT,GAAG,EAAE,MAAM,CAAC,IAAI,CAAC,GAAG,IAAI,OAAO,CAAC,GAAG,OAAO,EAC1C,OAAO,EAAE,IAAI,KAEf,SAAS,CACV,CAAA;IAED,IAAI,IAAA,uCAAiB,EAAC,IAAI,CAAC,EAAE;QAC3B,OAAO,IAAI,CAAC,SAAS,CAAC,GAAG,CAAC,CAAA;KAC3B;IAED,MAAM,SAAS,GAAG,IAAI,UAAU,CAAC,OAAO,CAAC,KAAK,CAAC,IAAI,CAAC,cAAc,CAAC,CAAC,GAAG,CAAC,CAAA;IACxE,MAAM,SAAS,GAAG,GAAG,CAAC,OAAO,CAAC,SAAS,CAAC,CAAA;IAExC,OAAO,MAAM,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAA;AAC/C,CAAC,CAAA,CAAA;AAxCY,QAAA,8BAA8B,kCAwC1C"}
|
@@ -17,11 +17,23 @@ const prepareCreateNFTSignedTransaction = ({ body, testnet = false, algoWeb, pro
|
|
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 decimals = ((_a = body.attr) === null || _a === void 0 ? void 0 : _a
|
21
|
-
const total = new bignumber_js_1.BigNumber(((_b = body.attr) === null || _b === void 0 ? void 0 : _b
|
22
|
-
|
23
|
-
|
24
|
-
|
20
|
+
const decimals = ((_a = body.attr) === null || _a === void 0 ? void 0 : _a.decimals) || 0;
|
21
|
+
const total = new bignumber_js_1.BigNumber(((_b = body.attr) === null || _b === void 0 ? void 0 : _b.total) || 1).toNumber();
|
22
|
+
const txn = algosdk.makeAssetCreateTxnWithSuggestedParamsFromObject({
|
23
|
+
from,
|
24
|
+
total,
|
25
|
+
decimals,
|
26
|
+
defaultFrozen: false,
|
27
|
+
freeze: (_c = body.attr) === null || _c === void 0 ? void 0 : _c.freeze,
|
28
|
+
manager: (_d = body.attr) === null || _d === void 0 ? void 0 : _d.manager,
|
29
|
+
clawback: (_e = body.attr) === null || _e === void 0 ? void 0 : _e.clawback,
|
30
|
+
reserve: (_f = body.attr) === null || _f === void 0 ? void 0 : _f.reserve,
|
31
|
+
unitName: (_g = body.attr) === null || _g === void 0 ? void 0 : _g.assetUnit,
|
32
|
+
assetName: body.name,
|
33
|
+
assetURL: body.url,
|
34
|
+
assetMetadataHash: undefined,
|
35
|
+
suggestedParams: Object.assign(Object.assign({}, params), { fee: Number(body.fee || '0.001') * 1000000, flatFee: true }),
|
36
|
+
});
|
25
37
|
if ((0, shared_abstract_sdk_1.isWithSignatureId)(body)) {
|
26
38
|
return JSON.stringify(txn);
|
27
39
|
}
|
@@ -37,10 +49,14 @@ const prepareTransferNFTSignedTransaction = ({ body, testnet = false, algoWeb, p
|
|
37
49
|
const from = (0, shared_abstract_sdk_1.isWithSignatureId)(body)
|
38
50
|
? body.from
|
39
51
|
: (0, algo_wallet_1.algoWallet)().generateAddressFromPrivatetKey(body.fromPrivateKey);
|
40
|
-
const amount = new bignumber_js_1.BigNumber(body.amount || 1)
|
41
|
-
|
42
|
-
|
43
|
-
|
52
|
+
const amount = new bignumber_js_1.BigNumber(body.amount || 1).toNumber();
|
53
|
+
const txn = algosdk.makeAssetTransferTxnWithSuggestedParamsFromObject({
|
54
|
+
from,
|
55
|
+
to: body.to,
|
56
|
+
amount,
|
57
|
+
assetIndex: new bignumber_js_1.BigNumber(body.contractAddress).toNumber(),
|
58
|
+
suggestedParams: Object.assign(Object.assign({}, params), { fee: Number(body.fee || '0.001') * 1000000, flatFee: true }),
|
59
|
+
});
|
44
60
|
if ((0, shared_abstract_sdk_1.isWithSignatureId)(body)) {
|
45
61
|
return JSON.stringify(txn);
|
46
62
|
}
|
@@ -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;AAGpC,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,QAAQ,GAAG,CAAA,MAAC,IAA0C,CAAC,IAAI,
|
1
|
+
{"version":3,"file":"algo.tx.nft.js","sourceRoot":"","sources":["../../../../../../../../packages/blockchain/algo/src/lib/services/tx/algo.tx.nft.ts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