Class PolygonWRLDToken
java.lang.Object
org.web3j.tx.ManagedTransaction
org.web3j.tx.Contract
com.nftworlds.wallet.contracts.wrappers.polygon.PolygonWRLDToken
public class PolygonWRLDToken
extends org.web3j.tx.Contract
Contract wrapper for ERC20 NFT Worlds WRLD token on the Polygon chain.
Auto-generated with web3j version 4.1.1
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
static class
static class
static class
Nested classes/interfaces inherited from class org.web3j.tx.Contract
org.web3j.tx.Contract.EventValuesWithLog
-
Field Summary
Modifier and TypeFieldDescriptionstatic final org.web3j.abi.datatypes.Event
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final org.web3j.abi.datatypes.Event
static final org.web3j.abi.datatypes.Event
static final org.web3j.abi.datatypes.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
ModifierConstructorDescriptionprotected
PolygonWRLDToken
(String contractAddress, org.web3j.protocol.Web3j web3j, org.web3j.crypto.Credentials credentials, BigInteger gasPrice, BigInteger gasLimit) Deprecated.protected
PolygonWRLDToken
(String contractAddress, org.web3j.protocol.Web3j web3j, org.web3j.crypto.Credentials credentials, org.web3j.tx.gas.ContractGasProvider contractGasProvider) protected
PolygonWRLDToken
(String contractAddress, org.web3j.protocol.Web3j web3j, org.web3j.tx.TransactionManager transactionManager, BigInteger gasPrice, BigInteger gasLimit) Deprecated.protected
PolygonWRLDToken
(String contractAddress, org.web3j.protocol.Web3j web3j, org.web3j.tx.TransactionManager transactionManager, org.web3j.tx.gas.ContractGasProvider contractGasProvider) -
Method Summary
Modifier and TypeMethodDescriptionorg.web3j.protocol.core.RemoteFunctionCall<BigInteger>
io.reactivex.Flowable<PolygonWRLDToken.ApprovalEventResponse>
approvalEventFlowable
(org.web3j.protocol.core.DefaultBlockParameter startBlock, org.web3j.protocol.core.DefaultBlockParameter endBlock) io.reactivex.Flowable<PolygonWRLDToken.ApprovalEventResponse>
approvalEventFlowable
(org.web3j.protocol.core.methods.request.EthFilter filter) org.web3j.protocol.core.RemoteFunctionCall<org.web3j.protocol.core.methods.response.TransactionReceipt>
approve
(String spender, BigInteger amount) org.web3j.protocol.core.RemoteFunctionCall<BigInteger>
org.web3j.protocol.core.RemoteFunctionCall<BigInteger>
cap()
org.web3j.protocol.core.RemoteFunctionCall<BigInteger>
decimals()
org.web3j.protocol.core.RemoteFunctionCall<org.web3j.protocol.core.methods.response.TransactionReceipt>
decreaseAllowance
(String spender, BigInteger subtractedValue) org.web3j.protocol.core.RemoteFunctionCall<org.web3j.protocol.core.methods.response.TransactionReceipt>
org.web3j.protocol.core.RemoteFunctionCall<BigInteger>
feeBps()
org.web3j.protocol.core.RemoteFunctionCall<BigInteger>
feeCap()
org.web3j.protocol.core.RemoteFunctionCall<BigInteger>
feeFixed()
getApprovalEvents
(org.web3j.protocol.core.methods.response.TransactionReceipt transactionReceipt) getOwnershipTransferredEvents
(org.web3j.protocol.core.methods.response.TransactionReceipt transactionReceipt) getTransferEvents
(org.web3j.protocol.core.methods.response.TransactionReceipt transactionReceipt) getTransferRefEvents
(org.web3j.protocol.core.methods.response.TransactionReceipt transactionReceipt) org.web3j.protocol.core.RemoteFunctionCall<org.web3j.protocol.core.methods.response.TransactionReceipt>
increaseAllowance
(String spender, BigInteger addedValue) static PolygonWRLDToken
load
(String contractAddress, org.web3j.protocol.Web3j web3j, org.web3j.crypto.Credentials credentials, BigInteger gasPrice, BigInteger gasLimit) Deprecated.static PolygonWRLDToken
load
(String contractAddress, org.web3j.protocol.Web3j web3j, org.web3j.crypto.Credentials credentials, org.web3j.tx.gas.ContractGasProvider contractGasProvider) static PolygonWRLDToken
load
(String contractAddress, org.web3j.protocol.Web3j web3j, org.web3j.tx.TransactionManager transactionManager, BigInteger gasPrice, BigInteger gasLimit) Deprecated.static PolygonWRLDToken
load
(String contractAddress, org.web3j.protocol.Web3j web3j, org.web3j.tx.TransactionManager transactionManager, org.web3j.tx.gas.ContractGasProvider contractGasProvider) org.web3j.protocol.core.RemoteFunctionCall<String>
name()
io.reactivex.Flowable<PolygonWRLDToken.OwnershipTransferredEventResponse>
ownershipTransferredEventFlowable
(org.web3j.protocol.core.DefaultBlockParameter startBlock, org.web3j.protocol.core.DefaultBlockParameter endBlock) io.reactivex.Flowable<PolygonWRLDToken.OwnershipTransferredEventResponse>
ownershipTransferredEventFlowable
(org.web3j.protocol.core.methods.request.EthFilter filter) org.web3j.protocol.core.RemoteFunctionCall<String>
symbol()
org.web3j.protocol.core.RemoteFunctionCall<BigInteger>
org.web3j.protocol.core.RemoteFunctionCall<org.web3j.protocol.core.methods.response.TransactionReceipt>
transfer
(String recipient, BigInteger amount) io.reactivex.Flowable<PolygonWRLDToken.TransferEventResponse>
transferEventFlowable
(org.web3j.protocol.core.DefaultBlockParameter startBlock, org.web3j.protocol.core.DefaultBlockParameter endBlock) io.reactivex.Flowable<PolygonWRLDToken.TransferEventResponse>
transferEventFlowable
(org.web3j.protocol.core.methods.request.EthFilter filter) org.web3j.protocol.core.RemoteFunctionCall<org.web3j.protocol.core.methods.response.TransactionReceipt>
transferFrom
(String sender, String recipient, BigInteger amount) io.reactivex.Flowable<PolygonWRLDToken.TransferRefEventResponse>
transferRefEventFlowable
(org.web3j.protocol.core.DefaultBlockParameter startBlock, org.web3j.protocol.core.DefaultBlockParameter endBlock) io.reactivex.Flowable<PolygonWRLDToken.TransferRefEventResponse>
transferRefEventFlowable
(org.web3j.protocol.core.methods.request.EthFilter filter) org.web3j.protocol.core.RemoteFunctionCall<org.web3j.protocol.core.methods.response.TransactionReceipt>
transferWithFee
(String recipient, BigInteger amount) org.web3j.protocol.core.RemoteFunctionCall<org.web3j.protocol.core.methods.response.TransactionReceipt>
transferWithFeeRef
(String recipient, BigInteger amount, BigInteger ref) org.web3j.protocol.core.RemoteFunctionCall<org.web3j.protocol.core.methods.response.TransactionReceipt>
transferWithRef
(String recipient, BigInteger amount, BigInteger ref) org.web3j.protocol.core.RemoteFunctionCall<org.web3j.protocol.core.methods.response.TransactionReceipt>
withdraw
(BigInteger amount) 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, getStaticDeployedAddress, getTransactionReceipt, isValid, resolveContractAddress, setContractAddress, setDefaultBlockParameter, setDeployedAddress, setGasPrice, setGasProvider, setTransactionReceipt, staticExtractEventParameters, staticExtractEventParametersWithLog
Methods inherited from class org.web3j.tx.ManagedTransaction
call, getSyncThreshold, requestCurrentGasPrice, send, send, sendEIP1559, setSyncThreshold
-
Field Details
-
BINARY
- See Also:
-
FUNC_ALLOWANCE
- See Also:
-
FUNC_APPROVE
- See Also:
-
FUNC_BALANCEOF
- See Also:
-
FUNC_CAP
- See Also:
-
FUNC_DECIMALS
- See Also:
-
FUNC_DECREASEALLOWANCE
- See Also:
-
FUNC_DEPOSIT
- See Also:
-
FUNC_FEEBPS
- See Also:
-
FUNC_FEECAP
- See Also:
-
FUNC_FEEFIXED
- See Also:
-
FUNC_INCREASEALLOWANCE
- See Also:
-
FUNC_NAME
- See Also:
-
FUNC_SYMBOL
- See Also:
-
FUNC_TOTALSUPPLY
- See Also:
-
FUNC_TRANSFER
- See Also:
-
FUNC_TRANSFERFROM
- See Also:
-
FUNC_TRANSFERWITHFEE
- See Also:
-
FUNC_TRANSFERWITHFEEREF
- See Also:
-
FUNC_TRANSFERWITHREF
- See Also:
-
FUNC_WITHDRAW
- See Also:
-
APPROVAL_EVENT
public static final org.web3j.abi.datatypes.Event APPROVAL_EVENT -
OWNERSHIPTRANSFERRED_EVENT
public static final org.web3j.abi.datatypes.Event OWNERSHIPTRANSFERRED_EVENT -
TRANSFER_EVENT
public static final org.web3j.abi.datatypes.Event TRANSFER_EVENT -
TRANSFERREF_EVENT
public static final org.web3j.abi.datatypes.Event TRANSFERREF_EVENT
-
-
Constructor Details
-
PolygonWRLDToken
@Deprecated protected PolygonWRLDToken(String contractAddress, org.web3j.protocol.Web3j web3j, org.web3j.crypto.Credentials credentials, BigInteger gasPrice, BigInteger gasLimit) Deprecated. -
PolygonWRLDToken
protected PolygonWRLDToken(String contractAddress, org.web3j.protocol.Web3j web3j, org.web3j.crypto.Credentials credentials, org.web3j.tx.gas.ContractGasProvider contractGasProvider) -
PolygonWRLDToken
@Deprecated protected PolygonWRLDToken(String contractAddress, org.web3j.protocol.Web3j web3j, org.web3j.tx.TransactionManager transactionManager, BigInteger gasPrice, BigInteger gasLimit) Deprecated. -
PolygonWRLDToken
protected PolygonWRLDToken(String contractAddress, org.web3j.protocol.Web3j web3j, org.web3j.tx.TransactionManager transactionManager, org.web3j.tx.gas.ContractGasProvider contractGasProvider)
-
-
Method Details
-
getApprovalEvents
public List<PolygonWRLDToken.ApprovalEventResponse> getApprovalEvents(org.web3j.protocol.core.methods.response.TransactionReceipt transactionReceipt) -
approvalEventFlowable
public io.reactivex.Flowable<PolygonWRLDToken.ApprovalEventResponse> approvalEventFlowable(org.web3j.protocol.core.methods.request.EthFilter filter) -
approvalEventFlowable
public io.reactivex.Flowable<PolygonWRLDToken.ApprovalEventResponse> approvalEventFlowable(org.web3j.protocol.core.DefaultBlockParameter startBlock, org.web3j.protocol.core.DefaultBlockParameter endBlock) -
getOwnershipTransferredEvents
public List<PolygonWRLDToken.OwnershipTransferredEventResponse> getOwnershipTransferredEvents(org.web3j.protocol.core.methods.response.TransactionReceipt transactionReceipt) -
ownershipTransferredEventFlowable
public io.reactivex.Flowable<PolygonWRLDToken.OwnershipTransferredEventResponse> ownershipTransferredEventFlowable(org.web3j.protocol.core.methods.request.EthFilter filter) -
ownershipTransferredEventFlowable
public io.reactivex.Flowable<PolygonWRLDToken.OwnershipTransferredEventResponse> ownershipTransferredEventFlowable(org.web3j.protocol.core.DefaultBlockParameter startBlock, org.web3j.protocol.core.DefaultBlockParameter endBlock) -
getTransferEvents
public List<PolygonWRLDToken.TransferEventResponse> getTransferEvents(org.web3j.protocol.core.methods.response.TransactionReceipt transactionReceipt) -
transferEventFlowable
public io.reactivex.Flowable<PolygonWRLDToken.TransferEventResponse> transferEventFlowable(org.web3j.protocol.core.methods.request.EthFilter filter) -
transferEventFlowable
public io.reactivex.Flowable<PolygonWRLDToken.TransferEventResponse> transferEventFlowable(org.web3j.protocol.core.DefaultBlockParameter startBlock, org.web3j.protocol.core.DefaultBlockParameter endBlock) -
getTransferRefEvents
public List<PolygonWRLDToken.TransferRefEventResponse> getTransferRefEvents(org.web3j.protocol.core.methods.response.TransactionReceipt transactionReceipt) -
transferRefEventFlowable
public io.reactivex.Flowable<PolygonWRLDToken.TransferRefEventResponse> transferRefEventFlowable(org.web3j.protocol.core.methods.request.EthFilter filter) -
transferRefEventFlowable
public io.reactivex.Flowable<PolygonWRLDToken.TransferRefEventResponse> transferRefEventFlowable(org.web3j.protocol.core.DefaultBlockParameter startBlock, org.web3j.protocol.core.DefaultBlockParameter endBlock) -
allowance
public org.web3j.protocol.core.RemoteFunctionCall<BigInteger> allowance(String owner, String spender) -
approve
public org.web3j.protocol.core.RemoteFunctionCall<org.web3j.protocol.core.methods.response.TransactionReceipt> approve(String spender, BigInteger amount) -
balanceOf
-
cap
-
decimals
-
decreaseAllowance
public org.web3j.protocol.core.RemoteFunctionCall<org.web3j.protocol.core.methods.response.TransactionReceipt> decreaseAllowance(String spender, BigInteger subtractedValue) -
deposit
public org.web3j.protocol.core.RemoteFunctionCall<org.web3j.protocol.core.methods.response.TransactionReceipt> deposit(String user, byte[] depositData) -
feeBps
-
feeCap
-
feeFixed
-
increaseAllowance
public org.web3j.protocol.core.RemoteFunctionCall<org.web3j.protocol.core.methods.response.TransactionReceipt> increaseAllowance(String spender, BigInteger addedValue) -
name
-
symbol
-
totalSupply
-
transfer
public org.web3j.protocol.core.RemoteFunctionCall<org.web3j.protocol.core.methods.response.TransactionReceipt> transfer(String recipient, BigInteger amount) -
transferFrom
public org.web3j.protocol.core.RemoteFunctionCall<org.web3j.protocol.core.methods.response.TransactionReceipt> transferFrom(String sender, String recipient, BigInteger amount) -
transferWithFee
public org.web3j.protocol.core.RemoteFunctionCall<org.web3j.protocol.core.methods.response.TransactionReceipt> transferWithFee(String recipient, BigInteger amount) -
transferWithFeeRef
public org.web3j.protocol.core.RemoteFunctionCall<org.web3j.protocol.core.methods.response.TransactionReceipt> transferWithFeeRef(String recipient, BigInteger amount, BigInteger ref) -
transferWithRef
public org.web3j.protocol.core.RemoteFunctionCall<org.web3j.protocol.core.methods.response.TransactionReceipt> transferWithRef(String recipient, BigInteger amount, BigInteger ref) -
withdraw
public org.web3j.protocol.core.RemoteFunctionCall<org.web3j.protocol.core.methods.response.TransactionReceipt> withdraw(BigInteger amount) -
load
@Deprecated public static PolygonWRLDToken load(String contractAddress, org.web3j.protocol.Web3j web3j, org.web3j.crypto.Credentials credentials, BigInteger gasPrice, BigInteger gasLimit) Deprecated. -
load
@Deprecated public static PolygonWRLDToken load(String contractAddress, org.web3j.protocol.Web3j web3j, org.web3j.tx.TransactionManager transactionManager, BigInteger gasPrice, BigInteger gasLimit) Deprecated. -
load
public static PolygonWRLDToken load(String contractAddress, org.web3j.protocol.Web3j web3j, org.web3j.crypto.Credentials credentials, org.web3j.tx.gas.ContractGasProvider contractGasProvider) -
load
public static PolygonWRLDToken load(String contractAddress, org.web3j.protocol.Web3j web3j, org.web3j.tx.TransactionManager transactionManager, org.web3j.tx.gas.ContractGasProvider contractGasProvider)
-