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

com.antgroup.antchain.openapi.twc.models.ContractCheckResult Maven / Gradle / Ivy

There is a newer version: 1.12.23
Show newest version
// This file is auto-generated, don't edit it. Thanks.
package com.antgroup.antchain.openapi.twc.models;

import com.aliyun.tea.*;

public class ContractCheckResult extends TeaModel {
    // 交易hash
    @NameInMap("tx_hash")
    @Validation(required = true)
    public String txHash;

    // 订单id
    @NameInMap("order_id")
    @Validation(required = true)
    public String orderId;

    // 合约执行结果,Base64编码后的
    @NameInMap("content_base64")
    public String contentBase64;

    // 块高
    @NameInMap("block_number")
    public Long blockNumber;

    // 消耗gas量
    @NameInMap("gas_used")
    public Long gasUsed;

    // log信息
    @NameInMap("log_base64")
    public String logBase64;

    public static ContractCheckResult build(java.util.Map map) throws Exception {
        ContractCheckResult self = new ContractCheckResult();
        return TeaModel.build(map, self);
    }

    public ContractCheckResult setTxHash(String txHash) {
        this.txHash = txHash;
        return this;
    }
    public String getTxHash() {
        return this.txHash;
    }

    public ContractCheckResult setOrderId(String orderId) {
        this.orderId = orderId;
        return this;
    }
    public String getOrderId() {
        return this.orderId;
    }

    public ContractCheckResult setContentBase64(String contentBase64) {
        this.contentBase64 = contentBase64;
        return this;
    }
    public String getContentBase64() {
        return this.contentBase64;
    }

    public ContractCheckResult setBlockNumber(Long blockNumber) {
        this.blockNumber = blockNumber;
        return this;
    }
    public Long getBlockNumber() {
        return this.blockNumber;
    }

    public ContractCheckResult setGasUsed(Long gasUsed) {
        this.gasUsed = gasUsed;
        return this;
    }
    public Long getGasUsed() {
        return this.gasUsed;
    }

    public ContractCheckResult setLogBase64(String logBase64) {
        this.logBase64 = logBase64;
        return this;
    }
    public String getLogBase64() {
        return this.logBase64;
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy