class SendTransactionPresenter extends BasePresenter<SendTransationContract.View> implements SendTransationContract.Presenter {

    @Override
    public boolean checkToAddress(String toAddress) {

        int errMsgCode = JZWalletUtil.checkToAddressErrMsg(toAddress);
        if(errMsgCode > 0){
            getView().showToAddressError(string(errMsgCode));
        }
        return errMsgCode == 0;
    }

}