Replace internal usages of @iov/encoding with @cosmjs/{encoding,math}

This commit is contained in:
Simon Warta
2020-06-09 17:54:17 +02:00
parent 3cfad7a541
commit 88faba8bed
65 changed files with 87 additions and 82 deletions
+1 -1
View File
@@ -1,4 +1,4 @@
import { Bech32 } from "@iov/encoding";
import { Bech32 } from "@cosmjs/encoding";
export function isValidAddress(input: string, requiredPrefix: string): boolean {
try {
+1 -1
View File
@@ -1,5 +1,5 @@
import { Decimal } from "@cosmjs/math";
import { Coin } from "@cosmjs/sdk38";
import { Decimal } from "@iov/encoding";
import { MinimalAccount, SendJob, TokenConfiguration } from "./types";
+1 -1
View File
@@ -1,7 +1,7 @@
import { Random } from "@cosmjs/crypto";
import { Bech32 } from "@cosmjs/encoding";
import { CosmosClient } from "@cosmjs/sdk38";
import { assert } from "@cosmjs/utils";
import { Bech32 } from "@iov/encoding";
import { Faucet } from "./faucet";
import { TokenConfiguration } from "./types";
+1 -1
View File
@@ -1,5 +1,5 @@
import { Decimal, Uint53 } from "@cosmjs/math";
import { Coin } from "@cosmjs/sdk38";
import { Decimal, Uint53 } from "@iov/encoding";
import { BankTokenMeta, MinimalAccount, TokenConfiguration } from "./types";