KIP7
instead.@Deprecated public class KIP7 extends SmartContract
KIP7
Modifier and Type | Class and Description |
---|---|
static class |
KIP7.ApprovalEventResponse
Deprecated.
|
static class |
KIP7.MinterAddedEventResponse
Deprecated.
|
static class |
KIP7.MinterRemovedEventResponse
Deprecated.
|
static class |
KIP7.PausedEventResponse
Deprecated.
|
static class |
KIP7.PauserAddedEventResponse
Deprecated.
|
static class |
KIP7.PauserRemovedEventResponse
Deprecated.
|
static class |
KIP7.TransferEventResponse
Deprecated.
|
static class |
KIP7.UnpausedEventResponse
Deprecated.
|
SmartContract.EventValuesWithLog
Modifier and Type | Field and Description |
---|---|
protected static java.util.HashMap<java.lang.String,java.lang.String> |
_addresses
Deprecated.
|
static org.web3j.abi.datatypes.Event |
APPROVAL_EVENT
Deprecated.
|
static java.lang.String |
FUNC_ADDMINTER
Deprecated.
|
static java.lang.String |
FUNC_ADDPAUSER
Deprecated.
|
static java.lang.String |
FUNC_ALLOWANCE
Deprecated.
|
static java.lang.String |
FUNC_APPROVE
Deprecated.
|
static java.lang.String |
FUNC_BALANCEOF
Deprecated.
|
static java.lang.String |
FUNC_BURN
Deprecated.
|
static java.lang.String |
FUNC_BURNFROM
Deprecated.
|
static java.lang.String |
FUNC_DECIMALS
Deprecated.
|
static java.lang.String |
FUNC_ISMINTER
Deprecated.
|
static java.lang.String |
FUNC_ISPAUSER
Deprecated.
|
static java.lang.String |
FUNC_MINT
Deprecated.
|
static java.lang.String |
FUNC_NAME
Deprecated.
|
static java.lang.String |
FUNC_PAUSE
Deprecated.
|
static java.lang.String |
FUNC_PAUSED
Deprecated.
|
static java.lang.String |
FUNC_RENOUNCEMINTER
Deprecated.
|
static java.lang.String |
FUNC_RENOUNCEPAUSER
Deprecated.
|
static java.lang.String |
FUNC_SAFETRANSFER
Deprecated.
|
static java.lang.String |
FUNC_SAFETRANSFERFROM
Deprecated.
|
static java.lang.String |
FUNC_SUPPORTSINTERFACE
Deprecated.
|
static java.lang.String |
FUNC_SYMBOL
Deprecated.
|
static java.lang.String |
FUNC_TOTALSUPPLY
Deprecated.
|
static java.lang.String |
FUNC_TRANSFER
Deprecated.
|
static java.lang.String |
FUNC_TRANSFERFROM
Deprecated.
|
static java.lang.String |
FUNC_UNPAUSE
Deprecated.
|
static org.web3j.abi.datatypes.Event |
MINTERADDED_EVENT
Deprecated.
|
static org.web3j.abi.datatypes.Event |
MINTERREMOVED_EVENT
Deprecated.
|
static org.web3j.abi.datatypes.Event |
PAUSED_EVENT
Deprecated.
|
static org.web3j.abi.datatypes.Event |
PAUSERADDED_EVENT
Deprecated.
|
static org.web3j.abi.datatypes.Event |
PAUSERREMOVED_EVENT
Deprecated.
|
static org.web3j.abi.datatypes.Event |
TRANSFER_EVENT
Deprecated.
|
static org.web3j.abi.datatypes.Event |
UNPAUSED_EVENT
Deprecated.
|
BIN_NOT_PROVIDED, contractAddress, contractBinary, defaultBlockParameter, deployedAddresses, FUNC_DEPLOY, GAS_LIMIT, gasProvider, transactionReceipt
caver, GAS_PRICE, transactionManager
Modifier | Constructor and Description |
---|---|
protected |
KIP7(java.lang.String contractAddress,
Caver caver,
KlayCredentials credentials,
int chainId,
org.web3j.tx.gas.ContractGasProvider contractGasProvider)
Deprecated.
|
protected |
KIP7(java.lang.String contractAddress,
Caver caver,
TransactionManager transactionManager,
org.web3j.tx.gas.ContractGasProvider contractGasProvider)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
org.web3j.protocol.core.RemoteCall<KlayTransactionReceipt.TransactionReceipt> |
addMinter(java.lang.String account)
Deprecated.
Instance method for calling method "addMinter" in KIP-7 Standard Token
Function Caller must have "Minter" permission
|
org.web3j.protocol.core.RemoteCall<KlayTransactionReceipt.TransactionReceipt> |
addPauser(java.lang.String account)
Deprecated.
Instance method for calling method "addPauser" in KIP-7 Standard Token
Function Caller must have "Pauser" permission
|
org.web3j.protocol.core.RemoteCall<java.math.BigInteger> |
allowance(java.lang.String owner,
java.lang.String spender)
Deprecated.
Instance method for calling method "allowance" in KIP-7 Standard Token
|
org.web3j.protocol.core.RemoteCall<KlayTransactionReceipt.TransactionReceipt> |
approve(java.lang.String spender,
java.math.BigInteger value)
Deprecated.
Instance method for calling method "approve" in KIP-7 Standard Token
|
org.web3j.protocol.core.RemoteCall<java.math.BigInteger> |
balanceOf(java.lang.String account)
Deprecated.
Instance method for calling method "balanceOf" in KIP-7 Standard Token
|
org.web3j.protocol.core.RemoteCall<KlayTransactionReceipt.TransactionReceipt> |
burn(java.math.BigInteger amount)
Deprecated.
Instance method for calling method "burn" in KIP-7 Standard Token
|
org.web3j.protocol.core.RemoteCall<KlayTransactionReceipt.TransactionReceipt> |
burnFrom(java.lang.String account,
java.math.BigInteger amount)
Deprecated.
Instance method for calling method "burnFrom" in KIP-7 Standard Token
|
org.web3j.protocol.core.RemoteCall<java.math.BigInteger> |
decimals()
Deprecated.
Instance method for calling method "decimals" in KIP-7 Standard Token
|
static org.web3j.protocol.core.RemoteCall<KIP7> |
deploy(Caver caver,
KlayCredentials credentials,
int chainId,
org.web3j.tx.gas.ContractGasProvider contractGasProvider,
java.lang.String name,
java.lang.String symbol,
java.math.BigInteger decimals,
java.math.BigInteger initialSupply)
Deprecated.
Static method for deploying KIP-7 Standard Token
|
static org.web3j.protocol.core.RemoteCall<KIP7> |
deploy(Caver caver,
TransactionManager transactionManager,
org.web3j.tx.gas.ContractGasProvider contractGasProvider,
java.lang.String name,
java.lang.String symbol,
java.math.BigInteger decimals,
java.math.BigInteger initialSupply)
Deprecated.
Static method for deploying KIP-7 Standard Token
|
java.util.List<KIP7.ApprovalEventResponse> |
getApprovalEvents(KlayTransactionReceipt.TransactionReceipt transactionReceipt)
Deprecated.
Instance method for getting Event "Approval" in KIP-7 Standard Token
|
java.util.List<KIP7.MinterAddedEventResponse> |
getMinterAddedEvents(KlayTransactionReceipt.TransactionReceipt transactionReceipt)
Deprecated.
Instance method for getting Event "MinterAdded" in KIP-7 Standard Token
|
java.util.List<KIP7.MinterRemovedEventResponse> |
getMinterRemovedEvents(KlayTransactionReceipt.TransactionReceipt transactionReceipt)
Deprecated.
Instance method for getting Event "MinterRemoved" in KIP-7 Standard Token
|
java.util.List<KIP7.PausedEventResponse> |
getPausedEvents(KlayTransactionReceipt.TransactionReceipt transactionReceipt)
Deprecated.
Instance method for getting Event "Paused" in KIP-7 Standard Token
|
java.util.List<KIP7.PauserAddedEventResponse> |
getPauserAddedEvents(KlayTransactionReceipt.TransactionReceipt transactionReceipt)
Deprecated.
Instance method for getting Event "PauserAdded" in KIP-7 Standard Token
|
java.util.List<KIP7.PauserRemovedEventResponse> |
getPauserRemovedEvents(KlayTransactionReceipt.TransactionReceipt transactionReceipt)
Deprecated.
Instance method for getting Event "PauserRemoved" in KIP-7 Standard Token
|
static java.lang.String |
getPreviouslyDeployedAddress(java.lang.String networkId)
Deprecated.
|
protected java.lang.String |
getStaticDeployedAddress(java.lang.String networkId)
Deprecated.
Subclasses should implement this method to return pre-existing addresses for deployed
contracts.
|
java.util.List<KIP7.TransferEventResponse> |
getTransferEvents(KlayTransactionReceipt.TransactionReceipt transactionReceipt)
Deprecated.
Instance method for getting Event "Transfer" in KIP-7 Standard Token
|
java.util.List<KIP7.UnpausedEventResponse> |
getUnpausedEvents(KlayTransactionReceipt.TransactionReceipt transactionReceipt)
Deprecated.
Instance method for getting Event "Unpaused" in KIP-7 Standard Token
|
org.web3j.protocol.core.RemoteCall<java.lang.Boolean> |
isMinter(java.lang.String account)
Deprecated.
Instance method for calling method "isMinter" in KIP-7 Standard Token
|
org.web3j.protocol.core.RemoteCall<java.lang.Boolean> |
isPauser(java.lang.String account)
Deprecated.
Instance method for calling method "isPauser" in KIP-7 Standard Token
|
static KIP7 |
load(java.lang.String contractAddress,
Caver caver,
KlayCredentials credentials,
int chainId,
org.web3j.tx.gas.ContractGasProvider contractGasProvider)
Deprecated.
Static method create KIP-7 Standard Token handler connecting existed Contract
The credential with the "KlayCredential Object" passed as a function parameter will control the contract
|
static KIP7 |
load(java.lang.String contractAddress,
Caver caver,
TransactionManager transactionManager,
org.web3j.tx.gas.ContractGasProvider contractGasProvider)
Deprecated.
Static method create KIP-7 Standard Token handler connecting existed Contract
The default credential in transactionManager passed as a function parameter will control the contract
|
org.web3j.protocol.core.RemoteCall<KlayTransactionReceipt.TransactionReceipt> |
mint(java.lang.String account,
java.math.BigInteger amount)
Deprecated.
Instance method for calling method "mint" in KIP-7 Standard Token
Caller must have "Minter" Permission.
|
org.web3j.protocol.core.RemoteCall<java.lang.String> |
name()
Deprecated.
Instance method for calling method "name" in KIP-7 Standard Token
|
org.web3j.protocol.core.RemoteCall<KlayTransactionReceipt.TransactionReceipt> |
pause()
Deprecated.
Instance method for calling method "pause" in KIP-7 Standard Token
Caller must have "Pauser" Permission.
|
org.web3j.protocol.core.RemoteCall<java.lang.Boolean> |
paused()
Deprecated.
Instance method for calling method "paused" in KIP-7 Standard Token
|
org.web3j.protocol.core.RemoteCall<KlayTransactionReceipt.TransactionReceipt> |
renounceMinter()
Deprecated.
Instance method for calling method "renounceMinter" in KIP-7 Standard Token
Caller must have "Minter" Permission.
|
org.web3j.protocol.core.RemoteCall<KlayTransactionReceipt.TransactionReceipt> |
renouncePauser()
Deprecated.
Instance method for calling method "renounceMinter" in KIP-7 Standard Token
Caller must have "Pauser" Permission.
|
org.web3j.protocol.core.RemoteCall<KlayTransactionReceipt.TransactionReceipt> |
safeTransfer(java.lang.String recipient,
java.math.BigInteger amount)
Deprecated.
Instance method for calling method "safeTransfer" in KIP-7 Standard Token
|
org.web3j.protocol.core.RemoteCall<KlayTransactionReceipt.TransactionReceipt> |
safeTransfer(java.lang.String recipient,
java.math.BigInteger amount,
byte[] data)
Deprecated.
Instance method for calling method "safeTransfer" in KIP-7 Standard Token
|
org.web3j.protocol.core.RemoteCall<KlayTransactionReceipt.TransactionReceipt> |
safeTransferFrom(java.lang.String sender,
java.lang.String recipient,
java.math.BigInteger amount)
Deprecated.
Instance method for calling method "safeTransferFrom" in KIP-7 Standard Token
|
org.web3j.protocol.core.RemoteCall<KlayTransactionReceipt.TransactionReceipt> |
safeTransferFrom(java.lang.String sender,
java.lang.String recipient,
java.math.BigInteger amount,
byte[] data)
Deprecated.
Instance method for calling method "safeTransferFrom" in KIP-7 Standard Token
|
org.web3j.protocol.core.RemoteCall<java.lang.Boolean> |
supportsInterface(byte[] interfaceId)
Deprecated.
Instance method for calling method "supportsInterface" in KIP-13 Standard
check whether interface(extension) is supported or not
|
org.web3j.protocol.core.RemoteCall<java.lang.String> |
symbol()
Deprecated.
Instance method for calling method "symbol" in KIP-7 Standard Token
|
org.web3j.protocol.core.RemoteCall<java.math.BigInteger> |
totalSupply()
Deprecated.
Instance method for calling method "totalSupply" in KIP-7 Standard Token
|
org.web3j.protocol.core.RemoteCall<KlayTransactionReceipt.TransactionReceipt> |
transfer(java.lang.String to,
java.math.BigInteger value)
Deprecated.
Instance method for calling method "transfer" in KIP-7 Standard Token
|
org.web3j.protocol.core.RemoteCall<KlayTransactionReceipt.TransactionReceipt> |
transferFrom(java.lang.String from,
java.lang.String to,
java.math.BigInteger value)
Deprecated.
Instance method for calling method "transferFrom" in KIP-7 Standard Token
|
org.web3j.protocol.core.RemoteCall<KlayTransactionReceipt.TransactionReceipt> |
unpause()
Deprecated.
Instance method for calling method "unpause" in KIP-7 Standard Token
Function call must have "Pauser" permission.
|
convertToNative, create, create, deploy, deploy, deployRemoteCall, deployRemoteCall, deployRemoteCall, deployRemoteCall, executeCallMultipleValueReturn, executeCallSingleValueReturn, executeCallSingleValueReturn, executeRemoteCallMultipleValueReturn, executeRemoteCallSingleValueReturn, executeRemoteCallSingleValueReturn, executeRemoteCallTransaction, executeRemoteCallTransaction, executeTransaction, extractEventParameters, extractEventParameters, extractEventParametersWithLog, extractEventParametersWithLog, getContractAddress, getContractBinary, getDeployedAddress, getGasPrice, getTransactionReceipt, isValid, sendDeployTransaction, sendDeployTransaction, sendDeployTransaction, sendExecutionTransaction, sendExecutionTransaction, sendExecutionTransaction, setContractAddress, setDefaultBlockParameter, setDeployedAddress, setGasPrice, setGasProvider, setTransactionReceipt, staticExtractEventParameters
send
public static final java.lang.String FUNC_ADDMINTER
public static final java.lang.String FUNC_ADDPAUSER
public static final java.lang.String FUNC_ALLOWANCE
public static final java.lang.String FUNC_APPROVE
public static final java.lang.String FUNC_BALANCEOF
public static final java.lang.String FUNC_BURN
public static final java.lang.String FUNC_BURNFROM
public static final java.lang.String FUNC_DECIMALS
public static final java.lang.String FUNC_ISMINTER
public static final java.lang.String FUNC_ISPAUSER
public static final java.lang.String FUNC_MINT
public static final java.lang.String FUNC_NAME
public static final java.lang.String FUNC_PAUSE
public static final java.lang.String FUNC_PAUSED
public static final java.lang.String FUNC_RENOUNCEMINTER
public static final java.lang.String FUNC_RENOUNCEPAUSER
public static final java.lang.String FUNC_SAFETRANSFER
public static final java.lang.String FUNC_SAFETRANSFERFROM
public static final java.lang.String FUNC_SUPPORTSINTERFACE
public static final java.lang.String FUNC_SYMBOL
public static final java.lang.String FUNC_TOTALSUPPLY
public static final java.lang.String FUNC_TRANSFER
public static final java.lang.String FUNC_TRANSFERFROM
public static final java.lang.String FUNC_UNPAUSE
public static final org.web3j.abi.datatypes.Event APPROVAL_EVENT
public static final org.web3j.abi.datatypes.Event MINTERADDED_EVENT
public static final org.web3j.abi.datatypes.Event MINTERREMOVED_EVENT
public static final org.web3j.abi.datatypes.Event PAUSED_EVENT
public static final org.web3j.abi.datatypes.Event PAUSERADDED_EVENT
public static final org.web3j.abi.datatypes.Event PAUSERREMOVED_EVENT
public static final org.web3j.abi.datatypes.Event TRANSFER_EVENT
public static final org.web3j.abi.datatypes.Event UNPAUSED_EVENT
protected static final java.util.HashMap<java.lang.String,java.lang.String> _addresses
protected KIP7(java.lang.String contractAddress, Caver caver, KlayCredentials credentials, int chainId, org.web3j.tx.gas.ContractGasProvider contractGasProvider)
protected KIP7(java.lang.String contractAddress, Caver caver, TransactionManager transactionManager, org.web3j.tx.gas.ContractGasProvider contractGasProvider)
public java.util.List<KIP7.ApprovalEventResponse> getApprovalEvents(KlayTransactionReceipt.TransactionReceipt transactionReceipt)
transactionReceipt
- transactionReceipt after sending SmartContractExecution Transaction invoking "Approval" eventpublic java.util.List<KIP7.MinterAddedEventResponse> getMinterAddedEvents(KlayTransactionReceipt.TransactionReceipt transactionReceipt)
transactionReceipt
- transactionReceipt after sending SmartContractExecution Transaction invoking "MinterAdded" eventpublic java.util.List<KIP7.MinterRemovedEventResponse> getMinterRemovedEvents(KlayTransactionReceipt.TransactionReceipt transactionReceipt)
transactionReceipt
- transactionReceipt after sending SmartContractExecution Transaction invoking "MinterRemoved" eventpublic java.util.List<KIP7.PausedEventResponse> getPausedEvents(KlayTransactionReceipt.TransactionReceipt transactionReceipt)
transactionReceipt
- transactionReceipt after sending SmartContractExecution Transaction invoking "Paused" eventpublic java.util.List<KIP7.PauserAddedEventResponse> getPauserAddedEvents(KlayTransactionReceipt.TransactionReceipt transactionReceipt)
transactionReceipt
- transactionReceipt after sending SmartContractExecution Transaction invoking "PauserAdded" eventpublic java.util.List<KIP7.PauserRemovedEventResponse> getPauserRemovedEvents(KlayTransactionReceipt.TransactionReceipt transactionReceipt)
transactionReceipt
- transactionReceipt after sending SmartContractExecution Transaction invoking "PauserRemoved" eventpublic java.util.List<KIP7.TransferEventResponse> getTransferEvents(KlayTransactionReceipt.TransactionReceipt transactionReceipt)
transactionReceipt
- transactionReceipt after sending SmartContractExecution Transaction invoking "Transfer" eventpublic java.util.List<KIP7.UnpausedEventResponse> getUnpausedEvents(KlayTransactionReceipt.TransactionReceipt transactionReceipt)
transactionReceipt
- transactionReceipt after sending SmartContractExecution Transaction invoking "Unpaused" eventpublic org.web3j.protocol.core.RemoteCall<KlayTransactionReceipt.TransactionReceipt> addMinter(java.lang.String account)
account
- The account to be given the minting permissionpublic org.web3j.protocol.core.RemoteCall<KlayTransactionReceipt.TransactionReceipt> addPauser(java.lang.String account)
account
- The account to be given the pausing permissionpublic org.web3j.protocol.core.RemoteCall<java.math.BigInteger> allowance(java.lang.String owner, java.lang.String spender)
owner
- The account allowed `spender` to withdraw the tokens from the account.spender
- The address is approved to withdraw the tokens.public org.web3j.protocol.core.RemoteCall<KlayTransactionReceipt.TransactionReceipt> approve(java.lang.String spender, java.math.BigInteger value)
spender
- The address is approved to withdraw the tokens.value
- amount The token amount will be approved.public org.web3j.protocol.core.RemoteCall<java.math.BigInteger> balanceOf(java.lang.String account)
account
- An address for whom to query the balancepublic org.web3j.protocol.core.RemoteCall<KlayTransactionReceipt.TransactionReceipt> burn(java.math.BigInteger amount)
amount
- The token amount to be burnedpublic org.web3j.protocol.core.RemoteCall<KlayTransactionReceipt.TransactionReceipt> burnFrom(java.lang.String account, java.math.BigInteger amount)
account
- The account will be deducted is the The token amount to be burnedamount
- The token amount to be burnedpublic org.web3j.protocol.core.RemoteCall<java.math.BigInteger> decimals()
public org.web3j.protocol.core.RemoteCall<java.lang.Boolean> isMinter(java.lang.String account)
account
- The account to check the minting permissionpublic org.web3j.protocol.core.RemoteCall<java.lang.Boolean> isPauser(java.lang.String account)
account
- The account to check the pausing permissionpublic org.web3j.protocol.core.RemoteCall<KlayTransactionReceipt.TransactionReceipt> mint(java.lang.String account, java.math.BigInteger amount)
account
- The account that will receive the minted tokenamount
- The token amount to mintpublic org.web3j.protocol.core.RemoteCall<java.lang.String> name()
public org.web3j.protocol.core.RemoteCall<KlayTransactionReceipt.TransactionReceipt> pause()
public org.web3j.protocol.core.RemoteCall<java.lang.Boolean> paused()
public org.web3j.protocol.core.RemoteCall<KlayTransactionReceipt.TransactionReceipt> renounceMinter()
public org.web3j.protocol.core.RemoteCall<KlayTransactionReceipt.TransactionReceipt> renouncePauser()
public org.web3j.protocol.core.RemoteCall<KlayTransactionReceipt.TransactionReceipt> safeTransfer(java.lang.String recipient, java.math.BigInteger amount)
recipient
- The address of the account to receive the token.amount
- The token amount will be transferred.public org.web3j.protocol.core.RemoteCall<KlayTransactionReceipt.TransactionReceipt> safeTransfer(java.lang.String recipient, java.math.BigInteger amount, byte[] data)
recipient
- The address of the account to receive the token.amount
- The token amount will be transferred.data
- Additional data with no specified format, sent in call to `_to`public org.web3j.protocol.core.RemoteCall<KlayTransactionReceipt.TransactionReceipt> safeTransferFrom(java.lang.String sender, java.lang.String recipient, java.math.BigInteger amount)
sender
- The current owner of the tokens.recipient
- The address of the account to receive the token.amount
- The token amount will be transferred.public org.web3j.protocol.core.RemoteCall<KlayTransactionReceipt.TransactionReceipt> safeTransferFrom(java.lang.String sender, java.lang.String recipient, java.math.BigInteger amount, byte[] data)
sender
- The current owner of the tokens.recipient
- The address of the account to receive the token.amount
- The token amount will be transferred.data
- Additional data with no specified format, sent in call to `_to`public org.web3j.protocol.core.RemoteCall<java.lang.Boolean> supportsInterface(byte[] interfaceId)
interfaceId
- interface identifierpublic org.web3j.protocol.core.RemoteCall<java.lang.String> symbol()
public org.web3j.protocol.core.RemoteCall<java.math.BigInteger> totalSupply()
public org.web3j.protocol.core.RemoteCall<KlayTransactionReceipt.TransactionReceipt> transfer(java.lang.String to, java.math.BigInteger value)
to
- The address of the account to receive the token.value
- The token amount will be transferred.public org.web3j.protocol.core.RemoteCall<KlayTransactionReceipt.TransactionReceipt> transferFrom(java.lang.String from, java.lang.String to, java.math.BigInteger value)
from
- The current owner of the tokens.to
- The address of the account to receive the token.value
- The token amount will be transferred.public org.web3j.protocol.core.RemoteCall<KlayTransactionReceipt.TransactionReceipt> unpause()
public static KIP7 load(java.lang.String contractAddress, Caver caver, KlayCredentials credentials, int chainId, org.web3j.tx.gas.ContractGasProvider contractGasProvider)
contractAddress
- KIP-7 Standard Token Addresscaver
- Caver Objectcredentials
- KlayCredential Object to control ContractchainId
- Klaytn network IDcontractGasProvider
- GasProviderpublic static KIP7 load(java.lang.String contractAddress, Caver caver, TransactionManager transactionManager, org.web3j.tx.gas.ContractGasProvider contractGasProvider)
contractAddress
- KIP-7 Standard Token Addresscaver
- Caver ObjecttransactionManager
- transactionManger Object to control ContractcontractGasProvider
- GasProviderpublic static org.web3j.protocol.core.RemoteCall<KIP7> deploy(Caver caver, KlayCredentials credentials, int chainId, org.web3j.tx.gas.ContractGasProvider contractGasProvider, java.lang.String name, java.lang.String symbol, java.math.BigInteger decimals, java.math.BigInteger initialSupply)
caver
- Caver Objectcredentials
- KlayCredential Object to deploy and control contractchainId
- Klaytn Network IDcontractGasProvider
- GasProvidername
- Contract Constructor parametersymbol
- Contract Constructor parameterdecimals
- Contract Constructor parameterinitialSupply
- Contract Constructor parameterpublic static org.web3j.protocol.core.RemoteCall<KIP7> deploy(Caver caver, TransactionManager transactionManager, org.web3j.tx.gas.ContractGasProvider contractGasProvider, java.lang.String name, java.lang.String symbol, java.math.BigInteger decimals, java.math.BigInteger initialSupply)
caver
- Caver ObjecttransactionManager
- TransactionManager Object for deploy and control contractcontractGasProvider
- GasProvidername
- Contract Constructor parametersymbol
- Contract Constructor parameterdecimals
- Contract Constructor parameterinitialSupply
- Contract Constructor parameterprotected java.lang.String getStaticDeployedAddress(java.lang.String networkId)
SmartContract
getStaticDeployedAddress
in class SmartContract
networkId
- the network id, for example "1" for the main-net, "1001" for baobab.public static java.lang.String getPreviouslyDeployedAddress(java.lang.String networkId)