Skip to content

Commit 6b2dd10

Browse files
authored
Merge pull request #523 from Emurgo/evgenii/assets_random_improve
Fix for random improve stage in coin selection
2 parents c4ea370 + d199cd0 commit 6b2dd10

File tree

4 files changed

+475
-13
lines changed

4 files changed

+475
-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: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9009,6 +9009,22 @@ declare export class TransactionUnspentOutput {
90099009
declare export class TransactionUnspentOutputs {
90109010
free(): void;
90119011

9012+
/**
9013+
* @returns {string}
9014+
*/
9015+
to_json(): string;
9016+
9017+
/**
9018+
* @returns {TransactionUnspentOutputsJSON}
9019+
*/
9020+
to_js_value(): TransactionUnspentOutputsJSON;
9021+
9022+
/**
9023+
* @param {string} json
9024+
* @returns {TransactionUnspentOutputs}
9025+
*/
9026+
static from_json(json: string): TransactionUnspentOutputs;
9027+
90129028
/**
90139029
* @returns {TransactionUnspentOutputs}
90149030
*/
@@ -10534,6 +10550,7 @@ export interface TransactionUnspentOutputJSON {
1053410550
input: TransactionInputJSON;
1053510551
output: TransactionOutputJSON;
1053610552
}
10553+
export type TransactionUnspentOutputsJSON = TransactionUnspentOutputJSON[];
1053710554
export interface TransactionWitnessSetJSON {
1053810555
bootstraps?: BootstrapWitnessesJSON | null;
1053910556
native_scripts?: NativeScriptsJSON | null;

0 commit comments

Comments
 (0)