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

com.jd.blockchain.transaction.ContractUpdateOperationBuilder Maven / Gradle / Ivy

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

import com.jd.blockchain.ledger.AccountState;
import com.jd.blockchain.ledger.ContractStateUpdateOperation;

/**
 * 用户信息更新
 */
public interface ContractUpdateOperationBuilder {

    /**
     * 销毁合约
     *
     * @return
     */
    ContractStateUpdateOperation revoke();

    /**
     * 冻结合约
     *
     * @return
     */
    ContractStateUpdateOperation freeze();

    /**
     * 解冻合约
     *
     * @return
     */
    ContractStateUpdateOperation restore();

    /**
     * 更新合约状态
     *
     * @return
     */
    ContractStateUpdateOperation state(AccountState state);

    /**
     * 权限更新
     *
     * @return
     */
    AccountPermissionSetOperationBuilder permission();

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy