diff --git a/package.json b/package.json index bd9b0137a..f6e8ea69a 100644 --- a/package.json +++ b/package.json @@ -31,22 +31,22 @@ "@astar-network/metamask-astar-types": "^0.6.1", "@ethersproject/bignumber": "^5.5.0", "@layerzerolabs/scan-client": "^0.0.8", - "@polkadot/api": "^10.9.1", - "@polkadot/api-contract": "^10.9.1", - "@polkadot/extension-dapp": "0.46.5", - "@polkadot/hw-ledger": "^12.3.2", - "@polkadot/keyring": "^12.3.2", - "@polkadot/networks": "^12.3.2", - "@polkadot/rpc-provider": "^10.9.1", - "@polkadot/types": "^10.9.1", - "@polkadot/types-known": "^10.9.1", - "@polkadot/types-support": "^10.9.1", - "@polkadot/ui-keyring": "^3.5.1", - "@polkadot/util": "^12.3.2", - "@polkadot/util-crypto": "^12.3.2", - "@polkadot/vue-identicon": "^3.5.1", - "@polkadot/wasm-crypto": "^7.2.1", - "@polkadot/x-randomvalues": "^12.3.2", + "@polkadot/api": "^11.3.1", + "@polkadot/api-contract": "^11.3.1", + "@polkadot/extension-dapp": "0.47.5", + "@polkadot/hw-ledger": "^12.6.2", + "@polkadot/keyring": "^12.6.2", + "@polkadot/networks": "^12.6.2", + "@polkadot/rpc-provider": "^11.3.1", + "@polkadot/types": "^11.3.1", + "@polkadot/types-known": "^11.3.1", + "@polkadot/types-support": "^11.3.1", + "@polkadot/ui-keyring": "^3.6.6", + "@polkadot/util": "^12.6.2", + "@polkadot/util-crypto": "^12.6.2", + "@polkadot/vue-identicon": "^3.6.6", + "@polkadot/wasm-crypto": "^7.3.2", + "@polkadot/x-randomvalues": "^12.6.2", "@quasar/app-webpack": "^3.11.2", "@quasar/extras": "^1.16.7", "@vue/apollo-composable": "^4.0.0-beta.4", @@ -72,7 +72,7 @@ "luxon": "^2.5.2", "marked": "^4.0.15", "path": "^0.12.7", - "polkasafe": "^1.1.10", + "polkasafe": "^1.4.2", "quasar": "^2.12.7", "query-string": "^7.1.0", "reflect-metadata": "^0.1.13", diff --git a/src/components/assets/Account.vue b/src/components/assets/Account.vue index 41488d797..1e3489591 100644 --- a/src/components/assets/Account.vue +++ b/src/components/assets/Account.vue @@ -72,7 +72,7 @@ width="24" :src="iconWallet" alt="wallet-icon" - :class="multisig && 'img--polkasafe'" + :class="multisig && 'img--polkasafe-account'" /> @@ -145,7 +145,7 @@ diff --git a/src/components/dashboard/Inflation.vue b/src/components/dashboard/Inflation.vue index 1e1a134fe..963724f21 100644 --- a/src/components/dashboard/Inflation.vue +++ b/src/components/dashboard/Inflation.vue @@ -88,12 +88,12 @@ export default defineComponent({ const numberFromPercentage = (value?: number): number | string => value !== undefined ? value * 100 : '--'; - const adjustableStakersPercentage = computed(() => - Number( - ( - realizedAdjustableStakersPart.value / inflationParameters.value.adjustableStakersPart - ).toFixed(3) - ) + const adjustableStakersPercentage = computed( + () => + Math.round( + (realizedAdjustableStakersPart.value / inflationParameters.value.adjustableStakersPart) * + 100 + ) / 100 ); watch( diff --git a/src/components/dashboard/InflationRateChart.vue b/src/components/dashboard/InflationRateChart.vue index 79c855e0f..64c411dda 100644 --- a/src/components/dashboard/InflationRateChart.vue +++ b/src/components/dashboard/InflationRateChart.vue @@ -22,7 +22,7 @@