Class DirectPurchase

java.lang.Object
org.web3j.tx.ManagedTransaction
org.web3j.tx.Contract
sg.dex.starfish.keeper.DirectPurchase

public class DirectPurchase
extends org.web3j.tx.Contract

Auto generated code.

Do not modify!

Please use the web3j command line tools, or the org.web3j.codegen.SolidityFunctionWrapperGenerator in the codegen module to update.

Generated with web3j version 4.5.0.

  • Nested Class Summary

    Nested Classes 
    Modifier and Type Class Description
    static class  DirectPurchase.TokenSentEventResponse  

    Nested classes/interfaces inherited from class org.web3j.tx.Contract

    org.web3j.tx.Contract.EventValuesWithLog
  • Field Summary

    Fields 
    Modifier and Type Field Description
    protected static HashMap<String,​String> _addresses  
    static String FUNC_INITIALIZE  
    static String FUNC_SENDTOKENANDLOG  
    static org.web3j.abi.datatypes.Event TOKENSENT_EVENT  

    Fields inherited from class org.web3j.tx.Contract

    BIN_NOT_PROVIDED, contractAddress, contractBinary, defaultBlockParameter, deployedAddresses, FUNC_DEPLOY, GAS_LIMIT, gasProvider, transactionReceipt

    Fields inherited from class org.web3j.tx.ManagedTransaction

    ensResolver, GAS_PRICE, transactionManager, web3j
  • Constructor Summary

    Constructors 
    Modifier Constructor Description
    protected DirectPurchase​(String contractAddress, org.web3j.protocol.Web3j web3j, org.web3j.crypto.Credentials credentials, BigInteger gasPrice, BigInteger gasLimit)
    Deprecated.
    protected DirectPurchase​(String contractAddress, org.web3j.protocol.Web3j web3j, org.web3j.crypto.Credentials credentials, org.web3j.tx.gas.ContractGasProvider contractGasProvider)  
    protected DirectPurchase​(String contractAddress, org.web3j.protocol.Web3j web3j, org.web3j.tx.TransactionManager transactionManager, BigInteger gasPrice, BigInteger gasLimit)
    Deprecated.
    protected DirectPurchase​(String contractAddress, org.web3j.protocol.Web3j web3j, org.web3j.tx.TransactionManager transactionManager, org.web3j.tx.gas.ContractGasProvider contractGasProvider)  
  • Method Summary

    Modifier and Type Method Description
    static org.web3j.protocol.core.RemoteCall<DirectPurchase> deploy​(org.web3j.protocol.Web3j web3j, org.web3j.crypto.Credentials credentials, BigInteger gasPrice, BigInteger gasLimit)
    Deprecated.
    static org.web3j.protocol.core.RemoteCall<DirectPurchase> deploy​(org.web3j.protocol.Web3j web3j, org.web3j.crypto.Credentials credentials, org.web3j.tx.gas.ContractGasProvider contractGasProvider)  
    static org.web3j.protocol.core.RemoteCall<DirectPurchase> deploy​(org.web3j.protocol.Web3j web3j, org.web3j.tx.TransactionManager transactionManager, BigInteger gasPrice, BigInteger gasLimit)
    Deprecated.
    static org.web3j.protocol.core.RemoteCall<DirectPurchase> deploy​(org.web3j.protocol.Web3j web3j, org.web3j.tx.TransactionManager transactionManager, org.web3j.tx.gas.ContractGasProvider contractGasProvider)  
    static String getPreviouslyDeployedAddress​(String networkId)  
    protected String getStaticDeployedAddress​(String networkId)  
    List<DirectPurchase.TokenSentEventResponse> getTokenSentEvents​(org.web3j.protocol.core.methods.response.TransactionReceipt transactionReceipt)  
    org.web3j.protocol.core.RemoteCall<org.web3j.protocol.core.methods.response.TransactionReceipt> initialize​(String _token)  
    static DirectPurchase load​(String contractAddress, org.web3j.protocol.Web3j web3j, org.web3j.crypto.Credentials credentials, BigInteger gasPrice, BigInteger gasLimit)
    Deprecated.
    static DirectPurchase load​(String contractAddress, org.web3j.protocol.Web3j web3j, org.web3j.crypto.Credentials credentials, org.web3j.tx.gas.ContractGasProvider contractGasProvider)  
    static DirectPurchase load​(String contractAddress, org.web3j.protocol.Web3j web3j, org.web3j.tx.TransactionManager transactionManager, BigInteger gasPrice, BigInteger gasLimit)
    Deprecated.
    static DirectPurchase load​(String contractAddress, org.web3j.protocol.Web3j web3j, org.web3j.tx.TransactionManager transactionManager, org.web3j.tx.gas.ContractGasProvider contractGasProvider)  
    org.web3j.protocol.core.RemoteCall<org.web3j.protocol.core.methods.response.TransactionReceipt> sendTokenAndLog​(String to, BigInteger amount, byte[] reference1, byte[] reference2)  
    io.reactivex.Flowable<DirectPurchase.TokenSentEventResponse> tokenSentEventFlowable​(org.web3j.protocol.core.DefaultBlockParameter startBlock, org.web3j.protocol.core.DefaultBlockParameter endBlock)  
    io.reactivex.Flowable<DirectPurchase.TokenSentEventResponse> tokenSentEventFlowable​(org.web3j.protocol.core.methods.request.EthFilter filter)  

    Methods inherited from class org.web3j.tx.Contract

    convertToNative, deploy, deploy, deploy, deploy, deployRemoteCall, deployRemoteCall, deployRemoteCall, deployRemoteCall, deployRemoteCall, deployRemoteCall, deployRemoteCall, deployRemoteCall, executeCallMultipleValueReturn, executeCallSingleValueReturn, executeCallSingleValueReturn, executeRemoteCallMultipleValueReturn, executeRemoteCallSingleValueReturn, executeRemoteCallSingleValueReturn, executeRemoteCallTransaction, executeRemoteCallTransaction, executeTransaction, extractEventParameters, extractEventParameters, extractEventParametersWithLog, extractEventParametersWithLog, getContractAddress, getContractBinary, getDeployedAddress, getGasPrice, getTransactionReceipt, isValid, setContractAddress, setDefaultBlockParameter, setDeployedAddress, setGasPrice, setGasProvider, setTransactionReceipt, staticExtractEventParameters

    Methods inherited from class org.web3j.tx.ManagedTransaction

    getSyncThreshold, requestCurrentGasPrice, send, setSyncThreshold

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait