diff --git a/nym-wallet/src/types/rust/account.ts b/nym-wallet/src/types/rust/account.ts index 9d10a5505b..c621c7b339 100644 --- a/nym-wallet/src/types/rust/account.ts +++ b/nym-wallet/src/types/rust/account.ts @@ -1,7 +1,3 @@ -import type { Denom } from './denom'; +import type { Denom } from "./denom"; -export interface Account { - contract_address: string; - client_address: string; - denom: Denom; -} +export interface Account { contract_address: string, client_address: string, denom: Denom, } \ No newline at end of file diff --git a/nym-wallet/src/types/rust/balance.ts b/nym-wallet/src/types/rust/balance.ts index 8e00f8b92e..ea260995cf 100644 --- a/nym-wallet/src/types/rust/balance.ts +++ b/nym-wallet/src/types/rust/balance.ts @@ -1,6 +1,3 @@ -import type { Coin } from './coin'; +import type { Coin } from "./coin"; -export interface Balance { - coin: Coin; - printable_balance: string; -} +export interface Balance { coin: Coin, printable_balance: string, } \ No newline at end of file diff --git a/nym-wallet/src/types/rust/coin.ts b/nym-wallet/src/types/rust/coin.ts index 7036ab5889..fd5b6ef4e8 100644 --- a/nym-wallet/src/types/rust/coin.ts +++ b/nym-wallet/src/types/rust/coin.ts @@ -1,6 +1,3 @@ -import type { Denom } from './denom'; +import type { Denom } from "./denom"; -export interface Coin { - amount: string; - denom: Denom; -} +export interface Coin { amount: string, denom: Denom, } \ No newline at end of file diff --git a/nym-wallet/src/types/rust/createdaccount.ts b/nym-wallet/src/types/rust/createdaccount.ts index e75585c4a2..c2cb9ec483 100644 --- a/nym-wallet/src/types/rust/createdaccount.ts +++ b/nym-wallet/src/types/rust/createdaccount.ts @@ -1,6 +1,3 @@ -import type { Account } from './account'; +import type { Account } from "./account"; -export interface CreatedAccount { - account: Account; - mnemonic: string; -} +export interface CreatedAccount { account: Account, mnemonic: string, } \ No newline at end of file diff --git a/nym-wallet/src/types/rust/delegationresult.ts b/nym-wallet/src/types/rust/delegationresult.ts index 5f09b66e82..778fdd2dca 100644 --- a/nym-wallet/src/types/rust/delegationresult.ts +++ b/nym-wallet/src/types/rust/delegationresult.ts @@ -1,7 +1,3 @@ -import type { Coin } from './coin'; +import type { Coin } from "./coin"; -export interface DelegationResult { - source_address: string; - target_address: string; - amount: Coin | null; -} +export interface DelegationResult { source_address: string, target_address: string, amount: Coin | null, } \ No newline at end of file diff --git a/nym-wallet/src/types/rust/denom.ts b/nym-wallet/src/types/rust/denom.ts index 5c7fca48c1..8120eafdd0 100644 --- a/nym-wallet/src/types/rust/denom.ts +++ b/nym-wallet/src/types/rust/denom.ts @@ -1 +1,2 @@ -export type Denom = 'Major' | 'Minor'; + +export type Denom = "Major" | "Minor"; \ No newline at end of file diff --git a/nym-wallet/src/types/rust/network.ts b/nym-wallet/src/types/rust/network.ts index f8615cd992..fd31bccafa 100644 --- a/nym-wallet/src/types/rust/network.ts +++ b/nym-wallet/src/types/rust/network.ts @@ -1 +1,2 @@ -export type Network = 'QA' | 'SANDBOX' | 'MAINNET'; + +export type Network = "QA" | "SANDBOX" | "MAINNET"; \ No newline at end of file diff --git a/nym-wallet/src/types/rust/originalvestingresponse.ts b/nym-wallet/src/types/rust/originalvestingresponse.ts index cb57d5b456..d8c581443c 100644 --- a/nym-wallet/src/types/rust/originalvestingresponse.ts +++ b/nym-wallet/src/types/rust/originalvestingresponse.ts @@ -1,7 +1,3 @@ -import type { Coin } from './coin'; +import type { Coin } from "./coin"; -export interface OriginalVestingResponse { - amount: Coin; - number_of_periods: number; - period_duration: bigint; -} +export interface OriginalVestingResponse { amount: Coin, number_of_periods: number, period_duration: bigint, } \ No newline at end of file diff --git a/nym-wallet/src/types/rust/pledgedata.ts b/nym-wallet/src/types/rust/pledgedata.ts index 996a999329..c1312bdc91 100644 --- a/nym-wallet/src/types/rust/pledgedata.ts +++ b/nym-wallet/src/types/rust/pledgedata.ts @@ -1,6 +1,3 @@ -import type { Coin } from './coin'; +import type { Coin } from "./coin"; -export interface PledgeData { - amount: Coin; - block_time: bigint; -} +export interface PledgeData { amount: Coin, block_time: bigint, } \ No newline at end of file diff --git a/nym-wallet/src/types/rust/stateparams.ts b/nym-wallet/src/types/rust/stateparams.ts index 68c3e018e9..22f6653c0e 100644 --- a/nym-wallet/src/types/rust/stateparams.ts +++ b/nym-wallet/src/types/rust/stateparams.ts @@ -1,6 +1,2 @@ -export interface TauriContractStateParams { - minimum_mixnode_pledge: string; - minimum_gateway_pledge: string; - mixnode_rewarded_set_size: number; - mixnode_active_set_size: number; -} + +export interface TauriContractStateParams { minimum_mixnode_pledge: string, minimum_gateway_pledge: string, mixnode_rewarded_set_size: number, mixnode_active_set_size: number, } \ No newline at end of file diff --git a/nym-wallet/src/types/rust/tauritxresult.ts b/nym-wallet/src/types/rust/tauritxresult.ts index 6a9ae8ad60..013cc66412 100644 --- a/nym-wallet/src/types/rust/tauritxresult.ts +++ b/nym-wallet/src/types/rust/tauritxresult.ts @@ -1,10 +1,3 @@ -import type { TransactionDetails } from './transactiondetails'; +import type { TransactionDetails } from "./transactiondetails"; -export interface TauriTxResult { - block_height: bigint; - code: number; - details: TransactionDetails; - gas_used: bigint; - gas_wanted: bigint; - tx_hash: string; -} +export interface TauriTxResult { block_height: bigint, code: number, details: TransactionDetails, gas_used: bigint, gas_wanted: bigint, tx_hash: string, } \ No newline at end of file diff --git a/nym-wallet/src/types/rust/transactiondetails.ts b/nym-wallet/src/types/rust/transactiondetails.ts index d375b437f1..b24d2f8944 100644 --- a/nym-wallet/src/types/rust/transactiondetails.ts +++ b/nym-wallet/src/types/rust/transactiondetails.ts @@ -1,7 +1,3 @@ -import type { Coin } from './coin'; +import type { Coin } from "./coin"; -export interface TransactionDetails { - amount: Coin; - from_address: string; - to_address: string; -} +export interface TransactionDetails { amount: Coin, from_address: string, to_address: string, } \ No newline at end of file diff --git a/nym-wallet/src/types/rust/vestingaccountinfo.ts b/nym-wallet/src/types/rust/vestingaccountinfo.ts index 17d44a5983..addfc1ef87 100644 --- a/nym-wallet/src/types/rust/vestingaccountinfo.ts +++ b/nym-wallet/src/types/rust/vestingaccountinfo.ts @@ -1,10 +1,4 @@ -import type { Coin } from './coin'; -import type { VestingPeriod } from './vestingperiod'; +import type { Coin } from "./coin"; +import type { VestingPeriod } from "./vestingperiod"; -export interface VestingAccountInfo { - owner_address: string; - staking_address: string | null; - start_time: bigint; - periods: Array; - coin: Coin; -} +export interface VestingAccountInfo { owner_address: string, staking_address: string | null, start_time: bigint, periods: Array, coin: Coin, } \ No newline at end of file diff --git a/nym-wallet/src/types/rust/vestingperiod.ts b/nym-wallet/src/types/rust/vestingperiod.ts index de1089005f..fb3cf1c7b2 100644 --- a/nym-wallet/src/types/rust/vestingperiod.ts +++ b/nym-wallet/src/types/rust/vestingperiod.ts @@ -1,4 +1,2 @@ -export interface VestingPeriod { - start_time: bigint; - period_seconds: bigint; -} + +export interface VestingPeriod { start_time: bigint, period_seconds: bigint, } \ No newline at end of file