Skip to content

Commit

Permalink
Merge pull request #3 from umee-network/matt/add-multisig-types
Browse files Browse the repository at this point in the history
feat: add multisig types
  • Loading branch information
dreamcodez authored Feb 23, 2022
2 parents c21db66 + 4e7ca7b commit d615b41
Show file tree
Hide file tree
Showing 20 changed files with 4,926 additions and 4,071 deletions.
2 changes: 1 addition & 1 deletion components/chainSelect/ChainSelect.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ const ChainSelect = () => {
const [tempRegistryName, setRegistryName] = useState(state.chain.registryName);
const [tempExplorerLink, setExplorerLink] = useState(state.chain.explorerLink);

let url = "https://api.github.com/repos/cosmos/chain-registry/contents";
const url = "https://api.github.com/repos/cosmos/chain-registry/contents";

useEffect(() => {
getGhJson();
Expand Down
18 changes: 5 additions & 13 deletions components/dataViews/TransactionInfo.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import React from "react";

import { useAppContext } from "../../context/AppContext";
import HashView from "./HashView";
// import HashView from "./HashView";
import StackableContainer from "../layout/StackableContainer";
import { printableCoins } from "../../lib/displayHelpers";

Expand All @@ -12,22 +12,14 @@ const TransactionInfo = (props) => {
<ul className="meta-data">
{props.tx.msgs && (
<li>
<label>Amount:</label>
<div>{printableCoins(props.tx.msgs[0].value.amount, state.chain)}</div>
</li>
)}
{props.tx.msgs && (
<li>
<label>To:</label>
<div title={props.tx.msgs[0].value.toAddress}>
<HashView hash={props.tx.msgs[0].value.toAddress} />
</div>
<label>Msgs</label>
<pre style={{ fontSize: "1em" }}>{JSON.stringify(props.tx.msgs, null, 2)}</pre>
</li>
)}
{props.tx.fee && (
<>
<li>
<label>Gas:</label>
<label>Gas</label>
<div>{props.tx.fee.gas}</div>
</li>
<li>
Expand All @@ -38,7 +30,7 @@ const TransactionInfo = (props) => {
)}
{props.tx.memo && (
<li>
<label>Memo:</label>
<label>Memo</label>
<div>{props.tx.memo}</div>
</li>
)}
Expand Down
Loading

1 comment on commit d615b41

@vercel
Copy link

@vercel vercel bot commented on d615b41 Feb 23, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.