+
+ Create New Vesting Account
+
+ setToAddress(e.target.value)}
+ error={addressError}
+ placeholder={`E.g. ${exampleAddress(0, state.chain.addressPrefix)}`}
+ />
+
+
+ setAmount(e.target.value)}
+ />
+
+
+ setUnixEpochTime(e.target.value)}
+ />
+
+
+ {
+ setDelayed(e.target.checked);
+ }}
+ />
+
+
+ setGas(e.target.value)}
+ />
+
+
+
+
+
+ setMemo(e.target.value)}
+ />
+
+
+
+
+ );
+};
+
+export default withRouter(VestingForm);
diff --git a/pages/multi/[address]/index.js b/pages/multi/[address]/index.js
index e6333f4a..318f81f6 100644
--- a/pages/multi/[address]/index.js
+++ b/pages/multi/[address]/index.js
@@ -12,6 +12,7 @@ import MultisigMembers from "../../../components/dataViews/MultisigMembers";
import Page from "../../../components/layout/Page";
import StackableContainer from "../../../components/layout/StackableContainer";
import TransactionForm from "../../../components/forms/TransactionForm";
+import VestingForm from "../../../components/forms/VestingForm";
function participantPubkeysFromMultisig(multisigPubkey) {
return multisigPubkey.value.pubkeys;
@@ -22,10 +23,11 @@ function participantAddressesFromMultisig(multisigPubkey, addressPrefix) {
pubkeyToAddress(p, addressPrefix),
);
}
-
+
const multipage = (props) => {
const { state } = useAppContext();
- const [showTxForm, setShowTxForm] = useState(false);
+ const [showSendForm, setShowSendForm] = useState(false);
+ const [showVestingForm, setShowVestingForm] = useState(false);
const [holdings, setHoldings] = useState("");
const [accountOnChain, setAccountOnChain] = useState(null);
const [accountError, setAccountError] = useState(null);
@@ -84,35 +86,55 @@ const multipage = (props) => {
)}
- {showTxForm ? (
+ {showSendForm && (