public class CreateAsset extends GraphQLRequest<CreateAsset> implements TransactionRequestArguments<CreateAsset>
IProjectSchema
Constructor and Description |
---|
CreateAsset()
Sole constructor.
|
Modifier and Type | Method and Description |
---|---|
CreateAsset |
initialReserve(java.lang.String initialReserve)
Sets the initial reserve of the asset.
|
CreateAsset |
meltFeeRatio(int meltFeeRatio)
Sets the ratio of the melt value to be returned to the creator.
|
CreateAsset |
meltValue(java.lang.String meltValue)
Sets the melt value of the asset.
|
CreateAsset |
name(java.lang.String name)
Sets the name of the asset.
|
CreateAsset |
nonFungible(boolean nonFungible)
Sets the fungible state of the asset.
|
CreateAsset |
supplyModel(AssetSupplyModel supplyModel)
Sets the supply model of the asset.
|
CreateAsset |
totalSupply(java.lang.String totalSupply)
Sets the total supply of the asset.
|
CreateAsset |
transferable(AssetTransferable transferable)
Sets the transferable type of the asset.
|
CreateAsset |
transferFeeSettings(AssetTransferFeeSettingsInput transferFeeSettings)
Sets the transfer fee settings of the asset.
|
getNamespace, getVariables, isSet, set
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
ethAddress
transactionAssetIdFormat, withAssetData, withBlockchainData, withEncodedData, withError, withLogEvent, withMeta, withNonce, withReceipt, withReceiptLogs, withSignedTxs, withState, withTransactionProjectUuid, withTransactionWalletAddress
getVariables, isSet, set
public CreateAsset name(java.lang.String name)
name
- the namepublic CreateAsset totalSupply(java.lang.String totalSupply)
totalSupply
- the total supplypublic CreateAsset initialReserve(java.lang.String initialReserve)
initialReserve
- the reservepublic CreateAsset supplyModel(AssetSupplyModel supplyModel)
supplyModel
- the modelpublic CreateAsset meltValue(java.lang.String meltValue)
Corresponds to the exchange rate.
meltValue
- the valuepublic CreateAsset meltFeeRatio(int meltFeeRatio)
The ratio is in the range 0-5000 to allow fractional ratios, e.g. 1 = 0.01%, 5000 = 50%, ect...
meltFeeRatio
- the ratiopublic CreateAsset transferable(AssetTransferable transferable)
transferable
- the transferable typepublic CreateAsset transferFeeSettings(AssetTransferFeeSettingsInput transferFeeSettings)
transferFeeSettings
- the settingspublic CreateAsset nonFungible(boolean nonFungible)
nonFungible
- the state