Skip to content

Commit

Permalink
chore: minor
Browse files Browse the repository at this point in the history
  • Loading branch information
ThomasRalee committed Oct 5, 2023
1 parent a671133 commit ccf8af9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions packages/sdk-ts/src/client/wasm/mito/transformer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,7 @@ export class MitoQueryTransformer {
maxInvariantSensitivity: formatToString(config.max_invariant_sensitivity),
baseDecimals: Number(config.base_decimals),
quoteDecimals: Number(config.quote_decimals),
feeBps: Number(config.fee_bps),
}
}

Expand Down
2 changes: 2 additions & 0 deletions packages/sdk-ts/src/client/wasm/mito/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@ export interface QueryVaultContractAMMConfigResponse {
max_invariant_sensitivity: string
base_decimals: number
quote_decimals: number
fee_bps: number
}
}

Expand Down Expand Up @@ -178,6 +179,7 @@ export type VaultAMMConfig = {
maxInvariantSensitivity: string
baseDecimals: number
quoteDecimals: number
feeBps: number
}

export type VaultDerivativeConfig = {
Expand Down

0 comments on commit ccf8af9

Please sign in to comment.