Skip to content

Commit

Permalink
chore: min fee for v1 swap
Browse files Browse the repository at this point in the history
  • Loading branch information
cjkoepke committed Sep 4, 2024
1 parent 112bde5 commit b89fcc0
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
12 changes: 6 additions & 6 deletions docs/typescript/core/classes/Blaze.TxBuilderBlazeV1.md
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ TxBuilderV1.cancel

#### Defined in

[packages/core/src/TxBuilders/TxBuilder.Blaze.V1.class.ts:583](https://github.com/SundaeSwap-finance/sundae-sdk/blob/main/packages/core/src/TxBuilders/TxBuilder.Blaze.V1.class.ts#L583)
[packages/core/src/TxBuilders/TxBuilder.Blaze.V1.class.ts:585](https://github.com/SundaeSwap-finance/sundae-sdk/blob/main/packages/core/src/TxBuilders/TxBuilder.Blaze.V1.class.ts#L585)

___

Expand Down Expand Up @@ -255,7 +255,7 @@ TxBuilderV1.migrateLiquidityToV3

#### Defined in

[packages/core/src/TxBuilders/TxBuilder.Blaze.V1.class.ts:1113](https://github.com/SundaeSwap-finance/sundae-sdk/blob/main/packages/core/src/TxBuilders/TxBuilder.Blaze.V1.class.ts#L1113)
[packages/core/src/TxBuilders/TxBuilder.Blaze.V1.class.ts:1115](https://github.com/SundaeSwap-finance/sundae-sdk/blob/main/packages/core/src/TxBuilders/TxBuilder.Blaze.V1.class.ts#L1115)

___

Expand Down Expand Up @@ -311,7 +311,7 @@ TxBuilderV1.orderRouteSwap

#### Defined in

[packages/core/src/TxBuilders/TxBuilder.Blaze.V1.class.ts:421](https://github.com/SundaeSwap-finance/sundae-sdk/blob/main/packages/core/src/TxBuilders/TxBuilder.Blaze.V1.class.ts#L421)
[packages/core/src/TxBuilders/TxBuilder.Blaze.V1.class.ts:423](https://github.com/SundaeSwap-finance/sundae-sdk/blob/main/packages/core/src/TxBuilders/TxBuilder.Blaze.V1.class.ts#L423)

___

Expand Down Expand Up @@ -404,7 +404,7 @@ TxBuilderV1.update

#### Defined in

[packages/core/src/TxBuilders/TxBuilder.Blaze.V1.class.ts:690](https://github.com/SundaeSwap-finance/sundae-sdk/blob/main/packages/core/src/TxBuilders/TxBuilder.Blaze.V1.class.ts#L690)
[packages/core/src/TxBuilders/TxBuilder.Blaze.V1.class.ts:692](https://github.com/SundaeSwap-finance/sundae-sdk/blob/main/packages/core/src/TxBuilders/TxBuilder.Blaze.V1.class.ts#L692)

___

Expand Down Expand Up @@ -446,7 +446,7 @@ TxBuilderV1.withdraw

#### Defined in

[packages/core/src/TxBuilders/TxBuilder.Blaze.V1.class.ts:858](https://github.com/SundaeSwap-finance/sundae-sdk/blob/main/packages/core/src/TxBuilders/TxBuilder.Blaze.V1.class.ts#L858)
[packages/core/src/TxBuilders/TxBuilder.Blaze.V1.class.ts:860](https://github.com/SundaeSwap-finance/sundae-sdk/blob/main/packages/core/src/TxBuilders/TxBuilder.Blaze.V1.class.ts#L860)

___

Expand Down Expand Up @@ -488,7 +488,7 @@ TxBuilderV1.zap

#### Defined in

[packages/core/src/TxBuilders/TxBuilder.Blaze.V1.class.ts:922](https://github.com/SundaeSwap-finance/sundae-sdk/blob/main/packages/core/src/TxBuilders/TxBuilder.Blaze.V1.class.ts#L922)
[packages/core/src/TxBuilders/TxBuilder.Blaze.V1.class.ts:924](https://github.com/SundaeSwap-finance/sundae-sdk/blob/main/packages/core/src/TxBuilders/TxBuilder.Blaze.V1.class.ts#L924)

___

Expand Down
2 changes: 2 additions & 0 deletions packages/core/src/TxBuilders/TxBuilder.Blaze.V1.class.ts
Original file line number Diff line number Diff line change
Expand Up @@ -403,6 +403,8 @@ export class TxBuilderBlazeV1 extends TxBuilderV1 {
.provideDatum(Core.PlutusData.fromCbor(Core.HexBlob(inline)))
.lockAssets(script, newPayment, datum);

txInstance.setMinimumFee(200_000n);

return this.completeTx({
tx: txInstance,
datum: inline,
Expand Down

0 comments on commit b89fcc0

Please sign in to comment.