Skip to content

Commit

Permalink
flowgen update
Browse files Browse the repository at this point in the history
  • Loading branch information
vsubhuman committed Nov 22, 2021
1 parent e7c5cbe commit 14ba862
Showing 1 changed file with 7 additions and 21 deletions.
28 changes: 7 additions & 21 deletions rust/pkg/cardano_serialization_lib.js.flow
Expand Up @@ -5244,29 +5244,10 @@ declare export class TransactionBuilder {
): void;

/**
* If set to true, add_change_if_needed will try
* to put pure Coin in a separate output from assets
* @param {boolean} prefer_pure_change
*/
set_prefer_pure_change(prefer_pure_change: boolean): void;

/**
* @param {LinearFee} linear_fee
* @param {BigNum} pool_deposit
* @param {BigNum} key_deposit
* @param {number} max_value_size
* @param {number} max_tx_size
* @param {BigNum} coins_per_utxo_word
* @param {TransactionBuilderConfig} cfg
* @returns {TransactionBuilder}
*/
static new(
linear_fee: LinearFee,
pool_deposit: BigNum,
key_deposit: BigNum,
max_value_size: number,
max_tx_size: number,
coins_per_utxo_word: BigNum
): TransactionBuilder;
static new(cfg: TransactionBuilderConfig): TransactionBuilder;

/**
* does not include refunds or withdrawals
Expand Down Expand Up @@ -5340,6 +5321,11 @@ declare export class TransactionBuilder {
*/
min_fee(): BigNum;
}
/**
*/
declare export class TransactionBuilderConfig {
free(): void;
}
/**
*/
declare export class TransactionHash {
Expand Down

0 comments on commit 14ba862

Please sign in to comment.