Commit 58f74e08 authored by jianhua.zhang's avatar jianhua.zhang

新增solidity表以及初始化数据

parent 46768dc1
......@@ -8,8 +8,13 @@
三. 资源配置
1. Mysql、Redis可在配置文件application-dev.yml等文件中调整
2. 抓取数据地址配置
2. 抓取区块数据地址配置
tron:
site: https://api.shasta.trongrid.io
site: https://api.shasta.trongrid.io
3.合约编译接口地址配置
contract
complier:
site:http://47.115.200.174:8080/api/explorer/v1/compileSolidity
\ No newline at end of file
......@@ -159,7 +159,6 @@ CREATE TABLE `tron_census` (
-- ----------------------------
-- Records of tron_census
-- ----------------------------
INSERT INTO `tron_census` VALUES ('30', '124576', '1478493716', '10834');
-- ----------------------------
-- Table structure for `tron_contract`
......@@ -180,3 +179,22 @@ CREATE TABLE `tron_contract` (
-- ----------------------------
-- Records of tron_contract
-- ----------------------------
-- ----------------------------
-- Table structure for `tron_solidity_version`
-- ----------------------------
DROP TABLE IF EXISTS `tron_solidity_version`;
CREATE TABLE `tron_solidity_version` (
`id` bigint(20) NOT NULL,
`version` varchar(50) DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='solidity版本号';
-- ----------------------------
-- Records of tron_solidity_version
-- ----------------------------
INSERT INTO `tron_solidity_version` VALUES ('1', 'solidity0.4.25+commit');
INSERT INTO `tron_solidity_version` VALUES ('2', 'solidity0.5.14+commit');
INSERT INTO `tron_solidity_version` VALUES ('3', 'solidity0.6.12+commit');
INSERT INTO `tron_solidity_version` VALUES ('4', 'solidity0.7.4+commit');
INSERT INTO `tron_solidity_version` VALUES ('5', 'solidity0.8.0-nightly');
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment