Skip to content

Commit

Permalink
Merge pull request #8 from provenance-io/aj/bugfix-remove-extra-types
Browse files Browse the repository at this point in the history
Removed duplicate types
  • Loading branch information
webbushka authored Jul 20, 2022
2 parents 2b84d1d + 1836935 commit f487e0d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 10 deletions.
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 1 addition & 8 deletions src/types/message-types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,7 @@ import { PubKey } from '../proto/cosmos/crypto/secp256k1/keys_pb';

import { ExecuteMsg } from './schema/ats-smart-contract/execute_msg';
import { ExecuteMsg as DigitalCurrencyConsortiumExecuteMsg } from './schema/digital-currency-consortium/execute_msg';
import { CoinAsObject } from './layout';

export type SupportedMessageTypeNames =
| 'cosmos.authz.v1beta1.MsgGrant'
Expand Down Expand Up @@ -395,14 +396,6 @@ export type MsgExecuteContractParams =
msg: DigitalCurrencyConsortiumExecuteMsg;
});

export type CoinAsObject = { denom: string; amount: string | number };

export type MsgExecuteContractDisplay = {
sender: string;
msg: any;
fundsList: CoinAsObject[];
};

export type MsgSubmitEvidenceDisplay = Omit<
MsgSubmitEvidence.AsObject,
'evidence'
Expand Down

0 comments on commit f487e0d

Please sign in to comment.