Skip to content

Commit 6562460

Browse files
committed
fix random improve for multi assets
1 parent e4ae872 commit 6562460

File tree

4 files changed

+477
-13
lines changed

4 files changed

+477
-13
lines changed

rust/json-gen/src/main.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -156,4 +156,5 @@ fn main() {
156156
gen_json_schema!(Int);
157157
gen_json_schema!(Value);
158158
gen_json_schema!(TransactionUnspentOutput);
159+
gen_json_schema!(TransactionUnspentOutputs);
159160
}

rust/pkg/cardano_serialization_lib.js.flow

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8953,6 +8953,22 @@ declare export class TransactionUnspentOutput {
89538953
declare export class TransactionUnspentOutputs {
89548954
free(): void;
89558955

8956+
/**
8957+
* @returns {string}
8958+
*/
8959+
to_json(): string;
8960+
8961+
/**
8962+
* @returns {TransactionUnspentOutputsJSON}
8963+
*/
8964+
to_js_value(): TransactionUnspentOutputsJSON;
8965+
8966+
/**
8967+
* @param {string} json
8968+
* @returns {TransactionUnspentOutputs}
8969+
*/
8970+
static from_json(json: string): TransactionUnspentOutputs;
8971+
89568972
/**
89578973
* @returns {TransactionUnspentOutputs}
89588974
*/
@@ -10336,6 +10352,7 @@ export interface ProtocolVersionJSON {
1033610352
major: number;
1033710353
minor: number;
1033810354
}
10355+
export type ProtocolVersionsJSON = ProtocolVersionJSON[];
1033910356
export type PublicKeyJSON = string;
1034010357
export interface RedeemerJSON {
1034110358
data: PlutusDataJSON;
@@ -10472,6 +10489,7 @@ export interface TransactionUnspentOutputJSON {
1047210489
input: TransactionInputJSON;
1047310490
output: TransactionOutputJSON;
1047410491
}
10492+
export type TransactionUnspentOutputsJSON = TransactionUnspentOutputJSON[];
1047510493
export interface TransactionWitnessSetJSON {
1047610494
bootstraps?: BootstrapWitnessesJSON | null;
1047710495
native_scripts?: NativeScriptsJSON | null;

0 commit comments

Comments
 (0)