Skip to content

Commit

Permalink
refactor(core)!: remove AssetMintOrBurn.action in favor of using nega…
Browse files Browse the repository at this point in the history
…tive qty for burn
  • Loading branch information
mkazlauskas committed Dec 21, 2021
1 parent c35bf35 commit 993f53a
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions packages/core/src/Cardano/types/Asset.ts
Original file line number Diff line number Diff line change
Expand Up @@ -92,15 +92,13 @@ export interface AssetMetadata {
[key: string]: unknown;
}

export enum AssetProvisioning {
Mint = 'MINT',
Burn = 'BURN'
}

export interface AssetMintOrBurn {
transactionId: TransactionId;
/**
* Positive = mint
* Negative = burn
*/
quantity: bigint;
action: AssetProvisioning;
}

export interface Asset {
Expand Down

0 comments on commit 993f53a

Please sign in to comment.