WriteContract.java
package com.syntifi.casper.sdk.model.deploy.transform;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonTypeName;
import com.fasterxml.jackson.annotation.JsonUnwrapped;
/**
* An implmentation of Transform that specifies any of the enum values
* - Identity
* - WriteContractWasm
* - WriteContract
* - WriteContractPackage
*
* @see Transform
*
* @author Alexandre Carvalho
* @author Andre Bertolace
* @since 0.0.1
*/
@JsonTypeName("WriteContract")
public enum WriteContract implements Transform {
@JsonProperty("Identity")
@JsonUnwrapped
IDENTITY,
@JsonProperty("WriteContractWasm")
@JsonUnwrapped
WRITE_CONTRACT_WASM,
@JsonProperty("WriteContract")
@JsonUnwrapped
WRITE_CONTRACT,
@JsonProperty("WriteContractPackage")
@JsonUnwrapped
WRITE_CONTRACT_PACKAGE;
}