UNPKG

@kubiklabs/wasmkit

Version:

Wasmkit is a development environment to compile, deploy, test, run cosmwasm contracts on different networks.

20 lines (19 loc) 970 B
/// <reference types="chai" /> declare namespace Chai { interface Assertion extends LanguageChains, NumericComparison, TypeComparison { reverted(): AsyncAssertion; revertedWith(revertReason: string): AsyncAssertion; respondWith(responseMessage: any): AsyncAssertion; properHex(length: number): void; properAddress(): void; properSecretAddress(): void; changeScrtBalance(account: string, balanceChange: number, includeFee?: boolean, logResponse?: boolean): AsyncAssertion; changeTokenBalance(account: string, token: string, balanceChange: number, logResponse?: boolean): AsyncAssertion; changeTokenBalances(accounts: string[], token: string, balanceChanges: number[], logResponse?: boolean): AsyncAssertion; } interface AsyncAssertion extends Assertion, Promise<void> { } interface EmitAssertion extends AsyncAssertion { withArgs(...args: any[]): AsyncAssertion; } }