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

com.jd.blockchain.ledger.ContractInfo Maven / Gradle / Ivy

There is a newer version: 1.6.5.RELEASE
Show newest version
package com.jd.blockchain.ledger;

import com.jd.binaryproto.DataContract;
import com.jd.binaryproto.DataField;
import com.jd.binaryproto.PrimitiveType;
import com.jd.blockchain.consts.DataCodes;

@DataContract(code = DataCodes.CONTRACT_ACCOUNT_HEADER)
public interface ContractInfo extends BlockchainIdentity, AccountSnapshot, PermissionAccount {

    @DataField(order = 4, primitiveType = PrimitiveType.BYTES)
    byte[] getChainCode();

    @DataField(order = 5, primitiveType = PrimitiveType.INT64)
    long getChainCodeVersion();

    @DataField(order = 6, refEnum = true)
    AccountState getState();

    @DataField(order = 7, refEnum = true)
    ContractLang getLang();
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy