Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -316,12 +316,12 @@ export interface Coin {
}

/**
* DecCoin type from Cosmos SDK (for rewards, etc.)
* DecCoin type from Cosmos SDK (for rewards, commission, etc.)
*
* DecCoin has the same structure as Coin but represents decimal amounts
* used in distribution calculations. The amount string may contain decimals.
*/
export interface DecCoin {
readonly denom: string;
readonly amount: string;
}
export type DecCoin = Coin;

// Bank query results
export interface BalanceResult {
Expand Down
Loading