amino: Export Coin and StdFee

This commit is contained in:
willclarktech 2021-03-24 13:17:33 +01:00
parent 8ec39af787
commit 26d3ed6506
No known key found for this signature in database
GPG Key ID: 551A86E2E398ADF7
2 changed files with 12 additions and 3 deletions

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";

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;
}