cosmwasm-launchpad: Reformat with prettier

This commit is contained in:
willclarktech 2021-02-04 13:52:13 +00:00
parent cf4ab29a14
commit 582bbd08a6
No known key found for this signature in database
GPG Key ID: 551A86E2E398ADF7

View File

@ -96,9 +96,10 @@ export class Cw3CosmWasmClient extends SigningCosmWasmClient {
return this.queryContractSmart(this.cw3ContractAddress, { proposal: { proposal_id: proposalId } });
}
public listProposals({ startAfter, limit }: StartAfterNumberPaginationOptions = {}): Promise<
ProposalsResult
> {
public listProposals({
startAfter,
limit,
}: StartAfterNumberPaginationOptions = {}): Promise<ProposalsResult> {
return this.queryContractSmart(this.cw3ContractAddress, {
list_proposals: {
start_after: startAfter,
@ -107,9 +108,10 @@ export class Cw3CosmWasmClient extends SigningCosmWasmClient {
});
}
public reverseProposals({ startBefore, limit }: StartBeforeNumberPaginationOptions = {}): Promise<
ProposalsResult
> {
public reverseProposals({
startBefore,
limit,
}: StartBeforeNumberPaginationOptions = {}): Promise<ProposalsResult> {
return this.queryContractSmart(this.cw3ContractAddress, {
reverse_proposals: {
start_before: startBefore,