@helios-lang/ledger
Advanced tools
Comparing version 0.1.23 to 0.1.24
{ | ||
"name": "@helios-lang/ledger", | ||
"version": "0.1.23", | ||
"version": "0.1.24", | ||
"description": "Ledger types (eg. for building transactions)", | ||
@@ -5,0 +5,0 @@ "main": "src/index.js", |
@@ -297,14 +297,13 @@ import { | ||
/** | ||
* Returns 0n if not found | ||
* | ||
* @overload | ||
* @param {AssetClassLike} assetClass | ||
*/ | ||
/** | ||
* @returns {bigint} | ||
* | ||
* @overload | ||
* @param {MintingPolicyHashLike} mph | ||
* @param {ByteArrayLike} tokenName | ||
*/ | ||
/** | ||
* Returns 0n if not found | ||
* @returns {bigint} | ||
* | ||
* @param {[AssetClassLike] | [MintingPolicyHashLike, ByteArrayLike]} args | ||
@@ -369,11 +368,9 @@ * @returns {bigint} | ||
* @param {AssetClassLike} args | ||
*/ | ||
/** | ||
* @returns {boolean} | ||
* | ||
* @overload | ||
* @param {MintingPolicyHashLike} mph | ||
* @param {ByteArrayLike} tokenName | ||
*/ | ||
/** | ||
* @returns {boolean} | ||
* | ||
* @param {[AssetClassLike] | [MintingPolicyHashLike, ByteArrayLike]} args | ||
@@ -380,0 +377,0 @@ * @returns {boolean} |
@@ -75,12 +75,33 @@ /** | ||
/** | ||
* Returns 0n if not found | ||
* | ||
* @overload | ||
* @param {AssetClassLike} assetClass | ||
* @returns {bigint} | ||
* | ||
* @overload | ||
* @param {MintingPolicyHashLike} mph | ||
* @param {ByteArrayLike} tokenName | ||
* @returns {bigint} | ||
* | ||
* @param {[AssetClassLike] | [MintingPolicyHashLike, ByteArrayLike]} args | ||
* @returns {bigint} | ||
*/ | ||
getQuantity(assetClass: AssetClassLike): any; | ||
getQuantity(assetClass: AssetClassLike): bigint; | ||
/** | ||
* Returns 0n if not found | ||
* | ||
* @overload | ||
* @param {AssetClassLike} assetClass | ||
* @returns {bigint} | ||
* | ||
* @overload | ||
* @param {MintingPolicyHashLike} mph | ||
* @param {ByteArrayLike} tokenName | ||
* @returns {bigint} | ||
* | ||
* @param {[AssetClassLike] | [MintingPolicyHashLike, ByteArrayLike]} args | ||
* @returns {bigint} | ||
*/ | ||
getQuantity(mph: MintingPolicyHashLike, tokenName: ByteArrayLike): any; | ||
getQuantity(mph: MintingPolicyHashLike, tokenName: ByteArrayLike): bigint; | ||
/** | ||
@@ -106,10 +127,27 @@ * Returns a list of all the minting policies. | ||
* @param {AssetClassLike} args | ||
* @returns {boolean} | ||
* | ||
* @overload | ||
* @param {MintingPolicyHashLike} mph | ||
* @param {ByteArrayLike} tokenName | ||
* @returns {boolean} | ||
* | ||
* @param {[AssetClassLike] | [MintingPolicyHashLike, ByteArrayLike]} args | ||
* @returns {boolean} | ||
*/ | ||
has(args: AssetClassLike): any; | ||
has(args: AssetClassLike): boolean; | ||
/** | ||
* @overload | ||
* @param {AssetClassLike} args | ||
* @returns {boolean} | ||
* | ||
* @overload | ||
* @param {MintingPolicyHashLike} mph | ||
* @param {ByteArrayLike} tokenName | ||
* @returns {boolean} | ||
* | ||
* @param {[AssetClassLike] | [MintingPolicyHashLike, ByteArrayLike]} args | ||
* @returns {boolean} | ||
*/ | ||
has(mph: MintingPolicyHashLike, tokenName: ByteArrayLike): any; | ||
has(mph: MintingPolicyHashLike, tokenName: ByteArrayLike): boolean; | ||
/** | ||
@@ -116,0 +154,0 @@ * @returns {boolean} |
Sorry, the diff of this file is not supported yet
688899
19810