java.lang.Object
tech.deplant.java4ever.framework.contract.tip3.TIP3Builder
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild(int contextId, GiverContract giver, BigInteger value) Build tip 3 token root contract.booleanBurn by root disabled boolean.booleanBurn paused boolean.intdecimals()Decimals int.booleanMint disabled boolean.name()Name string.Owner address address.Random nonce integer.rootKeys()Root keys credentials.setBurnByRootDisabled(boolean burnByRootDisabled) Sets burn by root disabled.setBurnPaused(boolean burnPaused) Sets burn paused.setDecimals(int decimals) Sets decimals.setMintDisabled(boolean mintDisabled) Sets mint disabled.Sets name.setOwnerAddress(String ownerAddress) Sets owner address.setOwnerAddress(Address ownerAddress) Sets owner address.setRandomNonce(Integer randomNonce) Sets random nonce.setRootKeys(Credentials rootKeys) Sets root keys.Sets symbol.setWalletTvc(Tvc walletTvc) Sets wallet tvc.symbol()Symbol string.Wallet tvc tvc.
-
Constructor Details
-
TIP3Builder
public TIP3Builder()Instantiates a new Tip 3 builder.
-
-
Method Details
-
build
public TIP3TokenRootContract build(int contextId, GiverContract giver, BigInteger value) throws com.fasterxml.jackson.core.JsonProcessingException, tech.deplant.java4ever.binding.EverSdkException Build tip 3 token root contract.- Parameters:
contextId- the context idgiver- the givervalue- the value- Returns:
- the tip 3 token root contract
- Throws:
com.fasterxml.jackson.core.JsonProcessingException- the json processing exceptiontech.deplant.java4ever.binding.EverSdkException- the ever sdk exception
-
rootKeys
-
setRootKeys
Sets root keys.- Parameters:
rootKeys- the root keys- Returns:
- the root keys
-
randomNonce
-
setRandomNonce
Sets random nonce.- Parameters:
randomNonce- the random nonce- Returns:
- the random nonce
-
ownerAddress
-
setOwnerAddress
Sets owner address.- Parameters:
ownerAddress- the owner address- Returns:
- the owner address
-
setOwnerAddress
Sets owner address.- Parameters:
ownerAddress- the owner address- Returns:
- the owner address
-
name
-
setName
-
symbol
-
setSymbol
Sets symbol.- Parameters:
symbol- the symbol- Returns:
- the symbol
-
decimals
public int decimals()Decimals int.- Returns:
- the int
-
setDecimals
Sets decimals.- Parameters:
decimals- the decimals- Returns:
- the decimals
-
mintDisabled
public boolean mintDisabled()Mint disabled boolean.- Returns:
- the boolean
-
setMintDisabled
Sets mint disabled.- Parameters:
mintDisabled- the mint disabled- Returns:
- the mint disabled
-
burnByRootDisabled
public boolean burnByRootDisabled()Burn by root disabled boolean.- Returns:
- the boolean
-
setBurnByRootDisabled
Sets burn by root disabled.- Parameters:
burnByRootDisabled- the burn by root disabled- Returns:
- the burn by root disabled
-
burnPaused
public boolean burnPaused()Burn paused boolean.- Returns:
- the boolean
-
setBurnPaused
Sets burn paused.- Parameters:
burnPaused- the burn paused- Returns:
- the burn paused
-
walletTvc
-
setWalletTvc
Sets wallet tvc.- Parameters:
walletTvc- the wallet tvc- Returns:
- the wallet tvc
-