| Package | Description |
|---|---|
| com.casper.sdk | |
| com.casper.sdk.service.http.rpc | |
| com.casper.sdk.service.json.deserialize | |
| com.casper.sdk.types |
| Modifier and Type | Method and Description |
|---|---|
Deploy |
CasperSdk.deployFromJson(InputStream jsonStream)
Converts a JSON object to a
Deploy. |
Deploy |
CasperSdk.deployFromJson(String json)
Converts a JSON object to a
Deploy. |
Deploy |
CasperSdk.getDeploy(Digest deployHash)
Obtains deploy from the network
|
Deploy |
CasperSdk.makeDeploy(DeployParams deployParams,
DeployExecutable session,
DeployExecutable payment)
Construct new unsigned deploy.
|
Deploy |
CasperSdk.makeInstallContract(DeployParams deployParams,
Number payment,
InputStream wasmIn,
int tokenDecimals,
String tokenName,
String tokenSymbol,
Number tokenTotalSupply)
Creates an install contract deploy
|
Deploy |
CasperSdk.makeInvokeContract(DeployParams deployParams,
Number payment,
Number amount,
PublicKey operatorKey,
PublicKey recipient)
Creates a new invoke contract delpoy
|
Deploy |
CasperSdk.makeNativeTransfer(DeployParams deployParams,
Number amount,
PublicKey target,
Number correlationId)
Creates a native transfer deploy.
|
Deploy |
CasperSdk.makeTransferDeploy(DeployParams deployParams,
DeployExecutable session,
DeployExecutable payment)
Construct new unsigned deploy for transfer purpose.
|
Deploy |
CasperSdk.makeValidatorAuctionBid(DeployParams deployParams,
Number amount,
int delegationRate,
PublicKey validatorPublicKey,
InputStream wasmIn)
Creates a validator auction bid deploy.
|
Deploy |
CasperSdk.makeValidatorAuctionBidWithdrawal(DeployParams deployParams,
Number amount,
PublicKey validatorPublicKey,
InputStream wasmIn,
URef unbondPurse)
Creates an auction bid withdraw delegation deploy.
|
Deploy |
CasperSdk.makeValidatorDelegation(DeployParams deployParams,
Number amount,
PublicKey delegatorPublicKey,
PublicKey validatorPublicKey,
InputStream wasmIn)
Creates a standard delegation deploy
|
Deploy |
CasperSdk.makeValidatorDelegationWithdrawal(DeployParams deployParams,
Number amount,
PublicKey delegatorPublicKey,
PublicKey validatorPublicKey,
InputStream wasmIn)
Creates a standard withdraw delegation deploy.
|
Deploy |
CasperSdk.signDeploy(Deploy deploy,
KeyPair signKeyPair)
Sign the deploy with the specified signKeyPair.
|
| Modifier and Type | Method and Description |
|---|---|
String |
CasperSdk.deployToJson(Deploy deploy)
Converts a Casper type object ot a JSON string
|
Digest |
CasperSdk.putDeploy(Deploy signedDeploy)
Send deploy to network
|
Deploy |
CasperSdk.signDeploy(Deploy deploy,
KeyPair signKeyPair)
Sign the deploy with the specified signKeyPair.
|
| Modifier and Type | Method and Description |
|---|---|
Deploy |
NodeClient.getDeploy(Digest deployHash) |
| Modifier and Type | Method and Description |
|---|---|
String |
NodeClient.putDeploy(Deploy signedDeploy) |
| Modifier and Type | Method and Description |
|---|---|
Deploy |
DeployJsonDeserializer.deserialize(com.fasterxml.jackson.core.JsonParser p,
com.fasterxml.jackson.databind.DeserializationContext ctxt) |
| Modifier and Type | Method and Description |
|---|---|
Deploy |
DeployService.fromJson(InputStream in) |
Deploy |
DeployService.fromJson(String json) |
Deploy |
DeployService.makeDeploy(DeployParams deployParams,
DeployExecutable session,
DeployExecutable payment)
Creates a new unsigned Deploy message
|
Deploy |
DeployService.signDeploy(Deploy deploy,
KeyPair keyPair) |
| Modifier and Type | Method and Description |
|---|---|
int |
DeployService.deploySizeInBytes(Deploy deploy)
Obtains the size of the deploy in bytes
|
Deploy |
DeployService.signDeploy(Deploy deploy,
KeyPair keyPair) |
byte[] |
DeployService.toBytes(Deploy deploy) |
Copyright © 2022. All rights reserved.