[ci skip] Generate TS types
This commit is contained in:
@@ -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, }
|
||||
@@ -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, }
|
||||
@@ -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, }
|
||||
@@ -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, }
|
||||
@@ -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, }
|
||||
@@ -1 +1,2 @@
|
||||
export type Denom = 'Major' | 'Minor';
|
||||
|
||||
export type Denom = "Major" | "Minor";
|
||||
@@ -1 +1,2 @@
|
||||
export type Network = 'QA' | 'SANDBOX' | 'MAINNET';
|
||||
|
||||
export type Network = "QA" | "SANDBOX" | "MAINNET";
|
||||
@@ -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, }
|
||||
@@ -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, }
|
||||
@@ -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, }
|
||||
@@ -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, }
|
||||
@@ -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, }
|
||||
@@ -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<VestingPeriod>;
|
||||
coin: Coin;
|
||||
}
|
||||
export interface VestingAccountInfo { owner_address: string, staking_address: string | null, start_time: bigint, periods: Array<VestingPeriod>, coin: Coin, }
|
||||
@@ -1,4 +1,2 @@
|
||||
export interface VestingPeriod {
|
||||
start_time: bigint;
|
||||
period_seconds: bigint;
|
||||
}
|
||||
|
||||
export interface VestingPeriod { start_time: bigint, period_seconds: bigint, }
|
||||
Reference in New Issue
Block a user