类 ContractService
- java.lang.Object
-
- io.nuls.v2.service.ContractService
-
public class ContractService extends Object
-
-
构造器概要
构造器 构造器 说明 ContractService()
-
方法概要
-
-
-
方法详细资料
-
getInstance
public static ContractService getInstance()
-
createContractTxOffline
public Result<Map> createContractTxOffline(String sender, BigInteger senderBalance, String nonce, String alias, String contractCode, long gasLimit, Object[] args, String[] argsType, String remark)
-
callContractTxOffline
public Result<Map> callContractTxOffline(String sender, BigInteger senderBalance, String nonce, BigInteger value, String contractAddress, long gasLimit, String methodName, String methodDesc, Object[] args, String[] argsType, long time, String remark, List<ProgramMultyAssetValue> multyAssetValues)
-
deleteContractTxOffline
public Result<Map> deleteContractTxOffline(String sender, BigInteger senderBalance, String nonce, String contractAddress, String remark)
-
tokenTransferTxOffline
public Result<Map> tokenTransferTxOffline(String fromAddress, BigInteger senderBalance, String nonce, String toAddress, String contractAddress, long gasLimit, BigInteger amount, String remark)
-
tokenTransferTxOffline
public Result<Map> tokenTransferTxOffline(String fromAddress, BigInteger senderBalance, String nonce, String toAddress, String contractAddress, long gasLimit, BigInteger amount, long time, String remark)
-
transferToContractTxOffline
public Result<Map> transferToContractTxOffline(String fromAddress, BigInteger senderBalance, String nonce, String toAddress, long gasLimit, BigInteger amount, String remark)
-
nrc20CrossChainTxOffline
public Result<Map> nrc20CrossChainTxOffline(String fromAddress, BigInteger senderBalance, String nonce, String toAddress, String contractAddress, long gasLimit, BigInteger amount, long time, String remark)
-
createContract
public Result createContract(ContractCreateForm form)
-
callContract
public Result callContract(ContractCallForm form)
-
deleteContract
public Result deleteContract(ContractDeleteForm form)
-
tokentransfer
public Result tokentransfer(ContractTokenTransferForm form)
-
transferTocontract
public Result transferTocontract(ContractTransferForm form)
-
getConstructor
public Result<ContractConstructorInfoDto> getConstructor(String contractCode)
-
getContractMethod
public Result getContractMethod(ContractMethodForm form)
-
getContractMethodArgsTypes
public Result getContractMethodArgsTypes(ContractMethodForm form)
-
validateContractCreate
public Result validateContractCreate(ContractValidateCreateForm form)
-
validateContractCall
public Result validateContractCall(ContractValidateCallForm form)
-
validateContractDelete
public Result validateContractDelete(ContractValidateDeleteForm form)
-
imputedContractCreateGas
public Result imputedContractCreateGas(ImputedGasContractCreateForm form)
-
imputedContractCallGas
public Result imputedContractCallGas(ImputedGasContractCallForm form)
-
invokeView
public Result invokeView(ContractViewCallForm form)
-
-