@@ -1864,17 +1864,18 @@ export function tsolToken(
18641864}
18651865
18661866/**
1867- * Factory function for ada token instances.
1867+ * Factory function for prod cardano token instances.
18681868 *
18691869 * @param id uuid v4
1870- * @param name unique identifier of the token
1870+ * @param name Name of the token
18711871 * @param fullName Complete human-readable name of the token
18721872 * @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
1873- * @param tokenSymbol Token symbol of this token
1873+ * @param policyId Policy Id
1874+ * @param assetName Asset name -> Policy ID + Asset name is the unique identifier
18741875 * @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
18751876 * @param prefix? Optional token prefix. Defaults to empty string
18761877 * @param suffix? Optional token suffix. Defaults to token name.
1877- * @param network? Optional token network. Defaults to Cardano main network.
1878+ * @param network? Optional token network. Defaults to the testnet Cardano network.
18781879 * @param features? Features of this coin. Defaults to the DEFAULT_FEATURES and REQUIRES_RESERVE defined in `AccountCoin`
18791880 * @param primaryKeyCurve The elliptic curve for this chain/token
18801881 */
@@ -1916,10 +1917,11 @@ export function adaToken(
19161917 * Factory function for testnet cardano token instances.
19171918 *
19181919 * @param id uuid v4
1919- * @param name unique identifier of the token
1920+ * @param name Name of the token
19201921 * @param fullName Complete human-readable name of the token
19211922 * @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
1922- * @param tokenSymbol Token symbol of this token i.e: AUSD
1923+ * @param policyId Policy Id
1924+ * @param assetName Asset name -> Policy ID + Asset name is the unique identifier
19231925 * @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
19241926 * @param prefix? Optional token prefix. Defaults to empty string
19251927 * @param suffix? Optional token suffix. Defaults to token name.
@@ -1935,9 +1937,9 @@ export function tadaToken(
19351937 assetName : string ,
19361938 asset : UnderlyingAsset ,
19371939 features : CoinFeature [ ] = [ ...AccountCoin . DEFAULT_FEATURES , CoinFeature . REQUIRES_RESERVE ] ,
1940+ network : AccountNetwork = Networks . test . ada ,
19381941 prefix = '' ,
1939- suffix : string = name . toUpperCase ( ) ,
1940- network : AccountNetwork = Networks . test . ada
1942+ suffix : string = name . toUpperCase ( )
19411943) {
19421944 return adaToken ( id , name , fullName , decimalPlaces , policyId , assetName , asset , features , prefix , suffix , network ) ;
19431945}
0 commit comments