amino: Export Coin and StdFee

This commit is contained in:
willclarktech
2021-03-24 16:55:19 +01:00
parent 8ec39af787
commit 26d3ed6506
2 changed files with 12 additions and 3 deletions
+10 -1
View File
@@ -20,4 +20,13 @@ export {
} from "./pubkeys";
export { createMultisigThresholdPubkey } from "./multisig";
export { decodeSignature, encodeSecp256k1Signature, StdSignature } from "./signature";
export { AccountData, Algo, AminoMsg, AminoSignResponse, OfflineAminoSigner, StdSignDoc } from "./signer";
export {
AccountData,
Algo,
AminoMsg,
AminoSignResponse,
Coin,
OfflineAminoSigner,
StdFee,
StdSignDoc,
} from "./signer";
+2 -2
View File
@@ -6,12 +6,12 @@ export interface AminoMsg {
readonly value: any;
}
interface Coin {
export interface Coin {
readonly denom: string;
readonly amount: string;
}
interface StdFee {
export interface StdFee {
readonly amount: readonly Coin[];
readonly gas: string;
}