package com.microservices.dms.constant;

/**
 * 区块链方法常量
 */
public class BlockChainFunConstants {
    public static final String CREATE_REPO = "create repo"; //项目入链
    public static final String QUERY_REPO = "query repo basic info"; //项目入链信息查询
    public static final String USER_SINGLE_REPO = "query user balance of single repo"; //单个项目某个用户token
    public static final String USER_ALL_REPOS = "query user balance of all repos"; //某个用户所有项目token

    public static final String CREATE_COMMIT = "upload commit info"; //Commit新增入链
    public static final String QUERY_COMMIT = "query commit info"; //Commit入链信息查询

    public static final String CREATE_PR = "upload pull request info"; //Pr新增入链
    public static final String QUERY_PR_LATEST = "query pull request latest info"; //单个pr入链所有信息
    public static final String QUERY_PR_ALL = "query pull request all info"; //单个pr最后一次入链信息

    public static final String CREATE_upDATE_issue = "upload issue info"; //Issue新增、修改入链
    public static final String QUERY_ISSUE_LATEST = "query issue latest info"; //单个Issue最后一次入链信息
    public static final String QUERY_ISSUE_ALL  = "query issue all info"; //单个Issue入链所有信息

    public static final String ADD_USER_BALANCE = "add user balance"; //项目分配token——用户token新增
    public static final String MINUS_USER_BALANCE = "minus user balance"; //项目分配token-用户token减少
    public static final String LOCK_USER_BALANCE = "lock user balance"; //用户转账token-将自己token分配给本项目中的其他用户

}
