import { MsgGetter } from "..";
import { MsgTypeUrl, MsgTypeUrls } from "../../../../types/txMsg";
import MsgClaimRewardsForm from "./MsgClaimRewardsForm";
import MsgCreateVestingAccountForm from "./MsgCreateVestingAccountForm";
import MsgDelegateForm from "./MsgDelegateForm";
import MsgExecuteContractForm from "./MsgExecuteContractForm";
import MsgInstantiateContract2Form from "./MsgInstantiateContract2Form";
import MsgInstantiateContractForm from "./MsgInstantiateContractForm";
import MsgMigrateContractForm from "./MsgMigrateContractForm";
import MsgRedelegateForm from "./MsgRedelegateForm";
import MsgSendForm from "./MsgSendForm";
import MsgSetWithdrawAddressForm from "./MsgSetWithdrawAddressForm";
import MsgTransferForm from "./MsgTransferForm";
import MsgUndelegateForm from "./MsgUndelegateForm";
interface MsgFormProps {
readonly msgType: MsgTypeUrl;
readonly senderAddress: string;
readonly setMsgGetter: (msgGetter: MsgGetter) => void;
readonly deleteMsg: () => void;
}
const MsgForm = ({ msgType, senderAddress, ...restProps }: MsgFormProps) => {
switch (msgType) {
case MsgTypeUrls.Send:
return ;
case MsgTypeUrls.Delegate:
return ;
case MsgTypeUrls.Undelegate:
return ;
case MsgTypeUrls.BeginRedelegate:
return ;
case MsgTypeUrls.WithdrawDelegatorReward:
return ;
case MsgTypeUrls.SetWithdrawAddress:
return ;
case MsgTypeUrls.CreateVestingAccount:
return ;
case MsgTypeUrls.Transfer:
return ;
case MsgTypeUrls.Execute:
return ;
case MsgTypeUrls.Instantiate:
return ;
case MsgTypeUrls.Instantiate2:
return ;
case MsgTypeUrls.Migrate:
return ;
default:
return null;
}
};
export default MsgForm;