"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const light_1 = require("protobufjs/light");
const protobuf_1 = require("../protobuf");
class ViewCallRequest extends light_1.Message {
    constructor(props) {
        super(props);
        /* Protobuf aliases */
        Object.defineProperty(this, "byzcoinid", {
            get() {
                return this.byzcoinId;
            },
            set(value) {
                this.blockId = value;
            },
        });
        Object.defineProperty(this, "bevminstanceid", {
            get() {
                return this.bevmInstanceId;
            },
            set(value) {
                this.bevmInstanceId = value;
            },
        });
        Object.defineProperty(this, "accountaddress", {
            get() {
                return this.accountAddress;
            },
            set(value) {
                this.accountAddress = value;
            },
        });
        Object.defineProperty(this, "contractaddress", {
            get() {
                return this.contractAddress;
            },
            set(value) {
                this.contractAddress = value;
            },
        });
        Object.defineProperty(this, "calldata", {
            get() {
                return this.callData;
            },
            set(value) {
                this.callData = value;
            },
        });
        Object.defineProperty(this, "minblockindex", {
            get() {
                return this.minBlockIndex;
            },
            set(value) {
                this.minBlockIndex = value;
            },
        });
    }
    static register() {
        protobuf_1.registerMessage("bevm.ViewCallRequest", ViewCallRequest);
    }
}
exports.ViewCallRequest = ViewCallRequest;
class ViewCallResponse extends light_1.Message {
    static register() {
        protobuf_1.registerMessage("bevm.ViewCallResponse", ViewCallResponse);
    }
}
exports.ViewCallResponse = ViewCallResponse;
ViewCallRequest.register();
ViewCallResponse.register();
