Expose registry and fee table from signing clients

This commit is contained in:
willclarktech 2021-03-16 13:55:13 +01:00
parent aa2accb453
commit 15308b9cfb
No known key found for this signature in database
GPG Key ID: 551A86E2E398ADF7
4 changed files with 8 additions and 6 deletions

View File

@ -149,10 +149,10 @@ export interface PrivateSigningCosmWasmClient {
}
export class SigningCosmWasmClient extends CosmWasmClient {
public readonly fees: CosmWasmFeeTable;
public readonly signerAddress: string;
private readonly signer: OfflineSigner;
private readonly fees: CosmWasmFeeTable;
/**
* Creates a new client with signing capability to interact with a CosmWasm blockchain. This is the bigger brother of CosmWasmClient.

View File

@ -108,8 +108,9 @@ export interface PrivateSigningCosmWasmClient {
}
export class SigningCosmWasmClient extends CosmWasmClient {
private readonly fees: CosmosFeeTable;
private readonly registry: Registry;
public readonly fees: CosmosFeeTable;
public readonly registry: Registry;
private readonly signer: OfflineSigner;
private readonly aminoTypes: AminoTypes;

View File

@ -27,10 +27,10 @@ export interface PrivateSigningCosmosClient {
}
export class SigningCosmosClient extends CosmosClient {
public readonly fees: CosmosFeeTable;
public readonly signerAddress: string;
private readonly signer: OfflineSigner;
private readonly fees: CosmosFeeTable;
/**
* Creates a new client with signing capability to interact with a Cosmos SDK blockchain. This is the bigger brother of CosmosClient.

View File

@ -76,8 +76,9 @@ export interface SigningStargateClientOptions {
}
export class SigningStargateClient extends StargateClient {
private readonly fees: CosmosFeeTable;
private readonly registry: Registry;
public readonly fees: CosmosFeeTable;
public readonly registry: Registry;
private readonly signer: OfflineSigner;
private readonly aminoTypes: AminoTypes;