Package sg.dex.starfish.keeper
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
-
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
-
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
-
Field Details
-
FUNC_INITIALIZE
- See Also:
- Constant Field Values
-
FUNC_SENDTOKENANDLOG
- See Also:
- Constant Field Values
-
TOKENSENT_EVENT
public static final org.web3j.abi.datatypes.Event TOKENSENT_EVENT -
_addresses
-
-
Constructor Details
-
DirectPurchase
@Deprecated protected DirectPurchase(String contractAddress, org.web3j.protocol.Web3j web3j, org.web3j.crypto.Credentials credentials, BigInteger gasPrice, BigInteger gasLimit)Deprecated. -
DirectPurchase
protected DirectPurchase(String contractAddress, org.web3j.protocol.Web3j web3j, org.web3j.crypto.Credentials credentials, org.web3j.tx.gas.ContractGasProvider contractGasProvider) -
DirectPurchase
@Deprecated protected DirectPurchase(String contractAddress, org.web3j.protocol.Web3j web3j, org.web3j.tx.TransactionManager transactionManager, BigInteger gasPrice, BigInteger gasLimit)Deprecated. -
DirectPurchase
protected DirectPurchase(String contractAddress, org.web3j.protocol.Web3j web3j, org.web3j.tx.TransactionManager transactionManager, org.web3j.tx.gas.ContractGasProvider contractGasProvider)
-
-
Method Details
-
load
@Deprecated public static DirectPurchase load(String contractAddress, org.web3j.protocol.Web3j web3j, org.web3j.crypto.Credentials credentials, BigInteger gasPrice, BigInteger gasLimit)Deprecated. -
load
@Deprecated public static DirectPurchase load(String contractAddress, org.web3j.protocol.Web3j web3j, org.web3j.tx.TransactionManager transactionManager, BigInteger gasPrice, BigInteger gasLimit)Deprecated. -
load
public static DirectPurchase load(String contractAddress, org.web3j.protocol.Web3j web3j, org.web3j.crypto.Credentials credentials, org.web3j.tx.gas.ContractGasProvider contractGasProvider) -
load
public static DirectPurchase load(String contractAddress, org.web3j.protocol.Web3j web3j, org.web3j.tx.TransactionManager transactionManager, org.web3j.tx.gas.ContractGasProvider contractGasProvider) -
deploy
public static org.web3j.protocol.core.RemoteCall<DirectPurchase> deploy(org.web3j.protocol.Web3j web3j, org.web3j.crypto.Credentials credentials, org.web3j.tx.gas.ContractGasProvider contractGasProvider) -
deploy
@Deprecated public static org.web3j.protocol.core.RemoteCall<DirectPurchase> deploy(org.web3j.protocol.Web3j web3j, org.web3j.crypto.Credentials credentials, BigInteger gasPrice, BigInteger gasLimit)Deprecated. -
deploy
public static org.web3j.protocol.core.RemoteCall<DirectPurchase> deploy(org.web3j.protocol.Web3j web3j, org.web3j.tx.TransactionManager transactionManager, org.web3j.tx.gas.ContractGasProvider contractGasProvider) -
deploy
@Deprecated public static org.web3j.protocol.core.RemoteCall<DirectPurchase> deploy(org.web3j.protocol.Web3j web3j, org.web3j.tx.TransactionManager transactionManager, BigInteger gasPrice, BigInteger gasLimit)Deprecated. -
getPreviouslyDeployedAddress
-
getTokenSentEvents
public List<DirectPurchase.TokenSentEventResponse> getTokenSentEvents(org.web3j.protocol.core.methods.response.TransactionReceipt transactionReceipt) -
tokenSentEventFlowable
public io.reactivex.Flowable<DirectPurchase.TokenSentEventResponse> tokenSentEventFlowable(org.web3j.protocol.core.methods.request.EthFilter filter) -
tokenSentEventFlowable
public io.reactivex.Flowable<DirectPurchase.TokenSentEventResponse> tokenSentEventFlowable(org.web3j.protocol.core.DefaultBlockParameter startBlock, org.web3j.protocol.core.DefaultBlockParameter endBlock) -
initialize
public org.web3j.protocol.core.RemoteCall<org.web3j.protocol.core.methods.response.TransactionReceipt> initialize(String _token) -
sendTokenAndLog
public org.web3j.protocol.core.RemoteCall<org.web3j.protocol.core.methods.response.TransactionReceipt> sendTokenAndLog(String to, BigInteger amount, byte[] reference1, byte[] reference2) -
getStaticDeployedAddress
- Overrides:
getStaticDeployedAddress
in classorg.web3j.tx.Contract
-