add cmd getcontractinfo and getcontractbalance
@@ -30,6 +30,8 @@ import io.nuls.accout.ledger.rpc.cmd.*;
import io.nuls.client.constant.CommandConstant;
import io.nuls.client.rpc.constant.RpcConstant;
import io.nuls.consensus.poc.rpc.cmd.*;
+import io.nuls.contract.rpc.cmd.GetContractBalanceProcessor;
+import io.nuls.contract.rpc.cmd.GetContractInfoProcessor;
import io.nuls.contract.rpc.cmd.GetContractResultProcessor;
import io.nuls.contract.rpc.cmd.GetContractTxProcessor;
import io.nuls.core.tools.cfg.ConfigLoader;
@@ -166,6 +168,8 @@ public class CommandHandler {
*/
register(new GetContractTxProcessor());
register(new GetContractResultProcessor());
+ register(new GetContractInfoProcessor());
+ register(new GetContractBalanceProcessor());
sdkInit();
}
