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

cn.hyperchain.sdk.bvm.operate.Operation Maven / Gradle / Ivy

There is a newer version: 1.4.3
Show newest version
package cn.hyperchain.sdk.bvm.operate;

import com.google.gson.annotations.Expose;
import com.google.gson.annotations.SerializedName;

public abstract class Operation {

    @Expose(serialize = false)
    @SerializedName("Params")
    private String[] args;

    @Expose(serialize = false)
    @SerializedName("MethodName")
    private ContractMethod method;

    public void setArgs(String... args) {
        this.args = args;
    }

    public void setMethod(ContractMethod method) {
        this.method = method;
    }

    public String[] getArgs() {
        return args;
    }

    public ContractMethod getMethod() {
        return method;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy