@meshsdk/core
Advanced tools
Comparing version 1.2.1-beta.1 to 1.2.1-beta.2
import { csl } from '@mesh/core'; | ||
import type { BaseAddress, Bip32PrivateKey, DataCost, DatumSource, Ed25519KeyHash, EnterpriseAddress, PlutusScriptSource, RewardAddress, TransactionBuilder, TransactionOutputBuilder, TxInputsBuilder } from '@mesh/core'; | ||
import type { Data, PlutusScript, Recipient, UTxO } from '@mesh/common/types'; | ||
import type { BaseAddress, Bip32PrivateKey, DataCost, DatumSource, Ed25519KeyHash, EnterpriseAddress, MintWitness, PlutusScriptSource, RewardAddress, TransactionBuilder, TransactionOutputBuilder, TxInputsBuilder } from '@mesh/core'; | ||
import type { Action, Data, PlutusScript, Recipient, UTxO } from '@mesh/common/types'; | ||
export declare const buildBaseAddress: (networkId: number, paymentKeyHash: Ed25519KeyHash, stakeKeyHash: Ed25519KeyHash) => BaseAddress; | ||
@@ -10,2 +10,3 @@ export declare const buildBip32PrivateKey: (entropy: string, password?: string) => Bip32PrivateKey; | ||
export declare const buildGeneralTxMetadata: (metadata: Record<string, unknown>) => csl.GeneralTransactionMetadata; | ||
export declare const buildMintWitness: (script: string | PlutusScript | UTxO, redeemer?: Action) => MintWitness; | ||
export declare const buildRewardAddress: (networkId: number, stakeKeyHash: Ed25519KeyHash) => RewardAddress; | ||
@@ -12,0 +13,0 @@ export declare const buildPlutusScriptSource: (script: PlutusScript | UTxO) => PlutusScriptSource; |
@@ -57,2 +57,5 @@ import { csl } from '.'; | ||
export declare type MintAssets = InstanceType<typeof csl.MintAssets>; | ||
export declare type MintBuilder = InstanceType<typeof csl.MintBuilder>; | ||
export declare type MintWitness = InstanceType<typeof csl.MintWitness>; | ||
export declare type MintsAssets = InstanceType<typeof csl.MintsAssets>; | ||
export declare type MoveInstantaneousReward = InstanceType<typeof csl.MoveInstantaneousReward>; | ||
@@ -59,0 +62,0 @@ export declare type MoveInstantaneousRewardsCert = InstanceType<typeof csl.MoveInstantaneousRewardsCert>; |
@@ -10,2 +10,3 @@ import { IInitiator } from '@mesh/common/contracts'; | ||
private readonly _initiator?; | ||
private readonly _mintBuilder; | ||
private readonly _protocolParameters; | ||
@@ -17,13 +18,13 @@ private readonly _txBuilder; | ||
constructor(options?: Partial<CreateTxOptions>); | ||
static maskMetadata(cborTx: string): string; | ||
static maskMetadata(cborTx: string, era?: Era): string; | ||
static readMetadata(cborTx: string): string; | ||
static writeMetadata(cborTx: string, cborTxMetadata: string): string; | ||
static writeMetadata(cborTx: string, cborTxMetadata: string, era?: Era): string; | ||
get size(): number; | ||
build(): Promise<string>; | ||
burnAsset(forgeScript: string, asset: Asset): Transaction; | ||
burnAsset(forgeScript: string | PlutusScript | UTxO, asset: Asset, redeemer?: Action): Transaction; | ||
delegateStake(rewardAddress: string, poolId: string): Transaction; | ||
deregisterStake(rewardAddress: string): Transaction; | ||
mintAsset(forgeScript: string, mint: Mint): Transaction; | ||
mintAsset(forgeScript: string | PlutusScript | UTxO, mint: Mint, redeemer?: Action): Transaction; | ||
redeemValue(options: { | ||
value: UTxO | Mint; | ||
value: UTxO; | ||
script: PlutusScript | UTxO; | ||
@@ -30,0 +31,0 @@ datum: Data | UTxO; |
@@ -6,3 +6,3 @@ { | ||
"author": "MeshJS", | ||
"version": "1.2.1-beta.1", | ||
"version": "1.2.1-beta.2", | ||
"license": "Apache-2.0", | ||
@@ -9,0 +9,0 @@ "type": "module", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
210075
3527