import request from '@/utils/request';

/**
 * 获取合约
 * @param {object} params
 *    erc 合约类型
 * @returns {object} data
 */
export const getContractInfo = (data) => {
  return request.request({
    url: '/contract/get',
    method: 'post',
    data,
  });
};
