Skip to content

Commit 14ba862

Browse files
committed
flowgen update
1 parent e7c5cbe commit 14ba862

File tree

1 file changed

+7
-21
lines changed

1 file changed

+7
-21
lines changed

rust/pkg/cardano_serialization_lib.js.flow

Lines changed: 7 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -5244,29 +5244,10 @@ declare export class TransactionBuilder {
52445244
): void;
52455245

52465246
/**
5247-
* If set to true, add_change_if_needed will try
5248-
* to put pure Coin in a separate output from assets
5249-
* @param {boolean} prefer_pure_change
5250-
*/
5251-
set_prefer_pure_change(prefer_pure_change: boolean): void;
5252-
5253-
/**
5254-
* @param {LinearFee} linear_fee
5255-
* @param {BigNum} pool_deposit
5256-
* @param {BigNum} key_deposit
5257-
* @param {number} max_value_size
5258-
* @param {number} max_tx_size
5259-
* @param {BigNum} coins_per_utxo_word
5247+
* @param {TransactionBuilderConfig} cfg
52605248
* @returns {TransactionBuilder}
52615249
*/
5262-
static new(
5263-
linear_fee: LinearFee,
5264-
pool_deposit: BigNum,
5265-
key_deposit: BigNum,
5266-
max_value_size: number,
5267-
max_tx_size: number,
5268-
coins_per_utxo_word: BigNum
5269-
): TransactionBuilder;
5250+
static new(cfg: TransactionBuilderConfig): TransactionBuilder;
52705251

52715252
/**
52725253
* does not include refunds or withdrawals
@@ -5340,6 +5321,11 @@ declare export class TransactionBuilder {
53405321
*/
53415322
min_fee(): BigNum;
53425323
}
5324+
/**
5325+
*/
5326+
declare export class TransactionBuilderConfig {
5327+
free(): void;
5328+
}
53435329
/**
53445330
*/
53455331
declare export class TransactionHash {

0 commit comments

Comments
 (0)