2020-01-22 09:54:23 +01:00
|
|
|
import {
|
|
|
|
Amount,
|
|
|
|
Fee,
|
|
|
|
FullSignature,
|
|
|
|
PubkeyBundle,
|
|
|
|
SignedTransaction,
|
|
|
|
UnsignedTransaction
|
|
|
|
} from "@iov/bcp";
|
2020-01-22 09:41:48 +01:00
|
|
|
import amino from "@tendermint/amino-js";
|
|
|
|
import { AminoTx } from "./types";
|
|
|
|
export declare function encodePubkey(pubkey: PubkeyBundle): amino.PubKey;
|
|
|
|
export declare function encodeAmount(amount: Amount): amino.Coin;
|
|
|
|
export declare function encodeFee(fee: Fee): amino.StdFee;
|
2020-01-22 09:54:23 +01:00
|
|
|
export declare function encodeFullSignature(
|
|
|
|
fullSignature: FullSignature
|
|
|
|
): amino.StdSignature;
|
2020-01-22 09:41:48 +01:00
|
|
|
export declare function buildUnsignedTx(tx: UnsignedTransaction): AminoTx;
|
|
|
|
export declare function buildSignedTx(tx: SignedTransaction): AminoTx;
|