use of org.fisco.bcos.web3j.abi.datatypes.Function in project web3sdk by FISCO-BCOS.
the class ParallelOk method enableParallel.
public void enableParallel(TransactionSucCallback callback) {
final Function function = new Function(FUNC_ENABLEPARALLEL, Arrays.<Type>asList(), Collections.<TypeReference<?>>emptyList());
asyncExecuteTransaction(function, callback);
}
use of org.fisco.bcos.web3j.abi.datatypes.Function in project web3sdk by FISCO-BCOS.
the class ParallelOk method set.
public void set(String name, BigInteger num, TransactionSucCallback callback) {
final Function function = new Function(FUNC_SET, Arrays.<Type>asList(new org.fisco.bcos.web3j.abi.datatypes.Utf8String(name), new org.fisco.bcos.web3j.abi.datatypes.generated.Uint256(num)), Collections.<TypeReference<?>>emptyList());
asyncExecuteTransaction(function, callback);
}
use of org.fisco.bcos.web3j.abi.datatypes.Function in project web3sdk by FISCO-BCOS.
the class ParallelOk method disableParallel.
public void disableParallel(TransactionSucCallback callback) {
final Function function = new Function(FUNC_DISABLEPARALLEL, Arrays.<Type>asList(), Collections.<TypeReference<?>>emptyList());
asyncExecuteTransaction(function, callback);
}
use of org.fisco.bcos.web3j.abi.datatypes.Function in project web3sdk by FISCO-BCOS.
the class ParallelOk method unregisterParallelFunction.
public void unregisterParallelFunction(String functionName, TransactionSucCallback callback) {
final Function function = new Function(FUNC_UNREGISTERPARALLELFUNCTION, Arrays.<Type>asList(new org.fisco.bcos.web3j.abi.datatypes.Utf8String(functionName)), Collections.<TypeReference<?>>emptyList());
asyncExecuteTransaction(function, callback);
}
use of org.fisco.bcos.web3j.abi.datatypes.Function in project web3sdk by FISCO-BCOS.
the class DagTransfer method userSave.
public void userSave(String user, BigInteger balance, TransactionSucCallback callback) {
final Function function = new Function(FUNC_USERSAVE, Arrays.<Type>asList(new org.fisco.bcos.web3j.abi.datatypes.Utf8String(user), new org.fisco.bcos.web3j.abi.datatypes.generated.Uint256(balance)), Collections.<TypeReference<?>>emptyList());
asyncExecuteTransaction(function, callback);
}
Aggregations