@Immutable
public class AssetProofComposer
extends java.lang.Object
Constructor and Description |
---|
AssetProofComposer(com.scalar.dl.ledger.crypto.SignatureSigner signer) |
Modifier and Type | Method and Description |
---|---|
com.scalar.dl.ledger.proof.AssetProof |
create(com.scalar.dl.ledger.statemachine.InternalAsset asset) |
com.scalar.dl.ledger.proof.AssetProof |
create(com.scalar.dl.ledger.statemachine.InternalAsset asset,
java.lang.String nonce) |
com.scalar.dl.ledger.proof.AssetProof |
create(com.scalar.db.api.Put p,
java.lang.String nonce) |
com.scalar.dl.ledger.proof.AssetProof |
create(java.lang.String id,
int age,
java.lang.String nonce,
java.lang.String input,
byte[] hash,
byte[] prevHash) |
@Inject public AssetProofComposer(@Nullable com.scalar.dl.ledger.crypto.SignatureSigner signer)
public com.scalar.dl.ledger.proof.AssetProof create(com.scalar.db.api.Put p, java.lang.String nonce)
public com.scalar.dl.ledger.proof.AssetProof create(com.scalar.dl.ledger.statemachine.InternalAsset asset)
public com.scalar.dl.ledger.proof.AssetProof create(com.scalar.dl.ledger.statemachine.InternalAsset asset, java.lang.String nonce)
public com.scalar.dl.ledger.proof.AssetProof create(java.lang.String id, int age, java.lang.String nonce, java.lang.String input, byte[] hash, byte[] prevHash)