From 6497aa20fc011f9a1f145a4daf4e5c5d8792aec2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luka=20=C5=BDivanovi=C4=87?= <125874670+LukaStreamflow@users.noreply.github.com> Date: Tue, 28 Nov 2023 14:25:35 +0100 Subject: [PATCH] Fee updates (#110) * Changed base fee constant * Updated SUI Mainnet ID * Bump versions --- lerna.json | 2 +- packages/stream/common/constants.ts | 2 +- packages/stream/package.json | 2 +- packages/stream/sui/constants.ts | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/lerna.json b/lerna.json index c3743f1f..83d2bf05 100644 --- a/lerna.json +++ b/lerna.json @@ -2,6 +2,6 @@ "packages": [ "packages/*" ], - "version": "5.6.5", + "version": "5.6.6", "$schema": "node_modules/lerna/schemas/lerna-schema.json" } \ No newline at end of file diff --git a/packages/stream/common/constants.ts b/packages/stream/common/constants.ts index 267d28c9..79b5d2b7 100644 --- a/packages/stream/common/constants.ts +++ b/packages/stream/common/constants.ts @@ -1 +1 @@ -export const BASE_FEE = 1002500; // Buffer to include usual fees when calculating stream amount +export const BASE_FEE = 1009900; // Buffer to include usual fees when calculating stream amount diff --git a/packages/stream/package.json b/packages/stream/package.json index cfd58dde..186050c1 100644 --- a/packages/stream/package.json +++ b/packages/stream/package.json @@ -1,6 +1,6 @@ { "name": "@streamflow/stream", - "version": "5.6.5", + "version": "5.6.6", "description": "JavaScript SDK to interact with Streamflow protocol.", "main": "dist/index.js", "homepage": "https://github.com/streamflow-finance/js-sdk/", diff --git a/packages/stream/sui/constants.ts b/packages/stream/sui/constants.ts index f03a6c0b..6b5af053 100644 --- a/packages/stream/sui/constants.ts +++ b/packages/stream/sui/constants.ts @@ -2,7 +2,7 @@ import { ContractErrorCode, ICluster } from "../common/types"; // TODO: remove Devnet and Local addresses as they are not deployed, they are just a copy Testnet values export const SUI_PROGRAM_IDS: Record = { - [ICluster.Mainnet]: "0xa283fd6b45f1103176e7ae27e870c89df7c8783b15345e2b13faa81ec25c4fa6", + [ICluster.Mainnet]: "0x527b334ab7216f01a5f0521ffb3dfff0cc4df06b65b2cd0d0864e05b13cf911a", [ICluster.Devnet]: "0xf1916c119a6c917d4b36f96ffc0443930745789f3126a716e05a62223c48993a", [ICluster.Testnet]: "0xf1916c119a6c917d4b36f96ffc0443930745789f3126a716e05a62223c48993a", [ICluster.Local]: "0xf1916c119a6c917d4b36f96ffc0443930745789f3126a716e05a62223c48993a",