All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.casper.sdk.model.contract.Contract Maven / Gradle / Ivy

Go to download

SDK to streamline the 3rd party Java client integration processes. Such 3rd parties include exchanges & app developers.

The newest version!
package com.casper.sdk.model.contract;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.*;

import java.util.List;

/**
 * Methods and type signatures supported by a contract.
 *
 * @author Alexandre Carvalho
 * @author Andre Bertolace
 * @since 0.0.1
 */
@Getter
@Setter
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class Contract {

    /** contract_package_hash(String) - The hash address of the contract package. */
    @JsonProperty("contract_package_hash")
    private String packageHash;

    /** contract_wasm_hash(String) The hash address of the contract wasm. */
    @JsonProperty("contract_wasm_hash")
    private String wasmHash;

    /** entry_points(Array) - A list of entry points. */
    @JsonProperty("entry_points")
    private List entryPoints;

    /** named_keys(Array) - A list of named keys. */
    @JsonProperty("named_keys")
    private List namedKeys;

    /** protocol_version(String) - ? */
    @JsonProperty("protocol_version")
    private String protocolVersion;
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy