diff --git a/bin/light_backtask/bin/.gitkeep b/bin/light_backtask/bin/.gitkeep new file mode 100644 index 00000000..e69de29b diff --git a/bin/light_backtask/config/backtask.cluster.json b/bin/light_backtask/config/backtask.cluster.json new file mode 100644 index 00000000..34fec510 --- /dev/null +++ b/bin/light_backtask/config/backtask.cluster.json @@ -0,0 +1,6 @@ +[ + { + "instance_id": 1, + "http_listen_port": 9999 + } +] diff --git a/bin/light_backtask/config/bc_currency.json b/bin/light_backtask/config/bc_currency.json new file mode 100644 index 00000000..0f1ac8ea --- /dev/null +++ b/bin/light_backtask/config/bc_currency.json @@ -0,0 +1,26 @@ +[ + { + "name": "Ethereum", + "contract_address": "0xe9E96d1aad82562b7588F03f49aD34186f996478", + "decimals": 18, + "current_price": 3371.1 + }, + { + "name": "USDC", + "contract_address": "0x3b2d8a1931736fc321c24864bceee981b11c3c57", + "decimals": 6, + "current_price": 0.999334 + }, + { + "name": "Immutable", + "contract_address": "0x1ccca691501174b4a623ceda58cc8f1a76dc3439", + "decimals": 18, + "current_price": 1.54 + }, + { + "name": "NATIVE", + "contract_address": "0xFd42bfb03212dA7e1A4608a44d7658641D99CF34", + "decimals": 18, + "current_price": 3371.1 + } +] diff --git a/bin/light_backtask/config/bceventdb.mysql.json b/bin/light_backtask/config/bceventdb.mysql.json new file mode 100644 index 00000000..c09d3983 --- /dev/null +++ b/bin/light_backtask/config/bceventdb.mysql.json @@ -0,0 +1,9 @@ +{ + "host": "login-test.kingsome.cn", + "port": 3306, + "user": "root", + "passwd": "keji178", + "database": "bcevent_dev", + "max_open_conns": 1, + "max_idle_conns": 1 +} diff --git a/bin/light_backtask/config/bcnftdb.mysql.json b/bin/light_backtask/config/bcnftdb.mysql.json new file mode 100644 index 00000000..775d99c5 --- /dev/null +++ b/bin/light_backtask/config/bcnftdb.mysql.json @@ -0,0 +1,9 @@ +{ + "host": "login-test.kingsome.cn", + "port": 3306, + "user": "root", + "passwd": "keji178", + "database": "bcnft_dev", + "max_open_conns": 1, + "max_idle_conns": 1 +} diff --git a/bin/light_backtask/config/config.json b/bin/light_backtask/config/config.json new file mode 100644 index 00000000..840f766d --- /dev/null +++ b/bin/light_backtask/config/config.json @@ -0,0 +1,8 @@ +{ + "gameapi_url": "https://game2006api-test.kingsome.cn", + "net_id": 13473, + "immutable_base_url": "https://api.sandbox.immutable.com", + "hero_contract_address": "0x65570A86E5aA2B14325f8a13C70b74f7d1E2f5c9", + "immutable_api_key": "sk_imapik-test-kbe8ZWVEzySQPmdiOd8H_ac92cd", + "chain_name": "imtbl-zkevm-testnet" +} diff --git a/bin/light_backtask/config/gamedb.mysql.json b/bin/light_backtask/config/gamedb.mysql.json new file mode 100644 index 00000000..37c3f20f --- /dev/null +++ b/bin/light_backtask/config/gamedb.mysql.json @@ -0,0 +1,9 @@ +{ + "host": "login-test.kingsome.cn", + "port": 3306, + "user": "root", + "passwd": "keji178", + "database": "gamedb2006_dev_1", + "max_open_conns": 1, + "max_idle_conns": 1 +} diff --git a/bin/light_backtask/config/mail/gold_bullion/lock.content.txt b/bin/light_backtask/config/mail/gold_bullion/lock.content.txt new file mode 100644 index 00000000..9d9ad53c --- /dev/null +++ b/bin/light_backtask/config/mail/gold_bullion/lock.content.txt @@ -0,0 +1 @@ +[${item.name}] has been used successfully, you have received ${gold} gold diff --git a/bin/light_backtask/config/mail/gold_bullion/lock.title.txt b/bin/light_backtask/config/mail/gold_bullion/lock.title.txt new file mode 100644 index 00000000..e69de29b diff --git a/bin/light_backtask/config/mail/gold_bullion/mint.content.txt b/bin/light_backtask/config/mail/gold_bullion/mint.content.txt new file mode 100644 index 00000000..41b2ee68 --- /dev/null +++ b/bin/light_backtask/config/mail/gold_bullion/mint.content.txt @@ -0,0 +1,2 @@ +[${item.name}] has been synthesized successfully. Please go to the personal assets page on the web to view it. The web address : +https://www.counterfire.games/marketplace diff --git a/bin/light_backtask/config/mail/gold_bullion/mint.title.txt b/bin/light_backtask/config/mail/gold_bullion/mint.title.txt new file mode 100644 index 00000000..e69de29b diff --git a/bin/light_backtask/config/mail/gold_bullion/unlock.content.txt b/bin/light_backtask/config/mail/gold_bullion/unlock.content.txt new file mode 100644 index 00000000..9d9ad53c --- /dev/null +++ b/bin/light_backtask/config/mail/gold_bullion/unlock.content.txt @@ -0,0 +1 @@ +[${item.name}] has been used successfully, you have received ${gold} gold diff --git a/bin/light_backtask/config/mail/gold_bullion/unlock.title.txt b/bin/light_backtask/config/mail/gold_bullion/unlock.title.txt new file mode 100644 index 00000000..e69de29b diff --git a/bin/light_backtask/config/mail/hero/lock.content.txt b/bin/light_backtask/config/mail/hero/lock.content.txt new file mode 100644 index 00000000..31ee8227 --- /dev/null +++ b/bin/light_backtask/config/mail/hero/lock.content.txt @@ -0,0 +1 @@ +[${hero.name} ${hero.quality}] has been off-chained successfully. Please check in the hero backpack. diff --git a/bin/light_backtask/config/mail/hero/lock.title.txt b/bin/light_backtask/config/mail/hero/lock.title.txt new file mode 100644 index 00000000..e69de29b diff --git a/bin/light_backtask/config/mail/hero/mint.content.txt b/bin/light_backtask/config/mail/hero/mint.content.txt new file mode 100644 index 00000000..18201f4a --- /dev/null +++ b/bin/light_backtask/config/mail/hero/mint.content.txt @@ -0,0 +1,2 @@ +[${hero.name} ${hero.quality}] has been on-chain successfully. Please go to the personal assets page on the web to view it. The web market address is +http://www.counterfire.games/marketplace diff --git a/bin/light_backtask/config/mail/hero/mint.title.txt b/bin/light_backtask/config/mail/hero/mint.title.txt new file mode 100644 index 00000000..e69de29b diff --git a/bin/light_backtask/config/mail/hero/unlock.content.txt b/bin/light_backtask/config/mail/hero/unlock.content.txt new file mode 100644 index 00000000..c2122f81 --- /dev/null +++ b/bin/light_backtask/config/mail/hero/unlock.content.txt @@ -0,0 +1,2 @@ +[${hero.name} ${hero.quality}] has been on-chain successfully. Please go to the personal assets page on the web to view it. The web market address is +https://www.counterfire.games/marketplace diff --git a/bin/light_backtask/config/mail/hero/unlock.title.txt b/bin/light_backtask/config/mail/hero/unlock.title.txt new file mode 100644 index 00000000..e69de29b diff --git a/bin/light_backtask/config/maildb.mysql.json b/bin/light_backtask/config/maildb.mysql.json new file mode 100644 index 00000000..2970e075 --- /dev/null +++ b/bin/light_backtask/config/maildb.mysql.json @@ -0,0 +1,9 @@ +{ + "host": "login-test.kingsome.cn", + "port": 3306, + "user": "root", + "passwd": "keji178", + "database": "maildb_dev_1", + "max_open_conns": 1, + "max_idle_conns": 1 +} diff --git a/bin/light_backtask/config/nets.json b/bin/light_backtask/config/nets.json new file mode 100644 index 00000000..750837f8 --- /dev/null +++ b/bin/light_backtask/config/nets.json @@ -0,0 +1,3 @@ +[ + 13473 +] diff --git a/bin/light_backtask/config/nets/13473/contract.json b/bin/light_backtask/config/nets/13473/contract.json new file mode 120000 index 00000000..06c5c70d --- /dev/null +++ b/bin/light_backtask/config/nets/13473/contract.json @@ -0,0 +1 @@ +../../../../../third_party/contracts-imtbl/out/imtbl_test_dev.json \ No newline at end of file diff --git a/bin/light_backtask/res/HashrateCommon@HashrateCommon.json b/bin/light_backtask/res/HashrateCommon@HashrateCommon.json new file mode 100644 index 00000000..52dfbf82 --- /dev/null +++ b/bin/light_backtask/res/HashrateCommon@HashrateCommon.json @@ -0,0 +1,128 @@ +[ + { + "start_time": "2023-09-04 00:00:00", + "cec_pool": 3000, + "id": 1, + "end_time": "2023-09-10 23:00:00" + }, + { + "start_time": "2023-09-11 00:00:00", + "cec_pool": 3000, + "id": 2, + "end_time": "2023-09-17 23:00:00" + }, + { + "start_time": "2023-09-18 00:00:00", + "cec_pool": 3000, + "id": 3, + "end_time": "2023-09-24 23:00:00" + }, + { + "start_time": "2023-09-25 00:00:00", + "cec_pool": 3000, + "id": 4, + "end_time": "2023-10-01 23:00:00" + }, + { + "start_time": "2023-10-02 00:00:00", + "cec_pool": 3000, + "id": 5, + "end_time": "2023-10-08 23:00:00" + }, + { + "start_time": "2023-10-09 00:00:00", + "cec_pool": 3000, + "id": 6, + "end_time": "2023-10-15 23:00:00" + }, + { + "start_time": "2023-10-16 00:00:00", + "cec_pool": 3000, + "id": 7, + "end_time": "2023-10-22 23:00:00" + }, + { + "start_time": "2023-10-23 00:00:00", + "cec_pool": 3000, + "id": 8, + "end_time": "2023-10-29 23:00:00" + }, + { + "start_time": "2023-10-30 00:00:00", + "cec_pool": 3000, + "id": 9, + "end_time": "2023-11-05 23:00:00" + }, + { + "start_time": "2023-11-06 00:00:00", + "cec_pool": 3000, + "id": 10, + "end_time": "2023-11-12 23:00:00" + }, + { + "start_time": "2023-11-13 00:00:00", + "cec_pool": 3000, + "id": 11, + "end_time": "2023-11-19 23:00:00" + }, + { + "start_time": "2023-11-20 00:00:00", + "cec_pool": 3000, + "id": 12, + "end_time": "2023-11-26 23:00:00" + }, + { + "start_time": "2023-11-27 00:00:00", + "cec_pool": 3000, + "id": 13, + "end_time": "2023-12-03 23:00:00" + }, + { + "start_time": "2023-12-04 00:00:00", + "cec_pool": 3000, + "id": 14, + "end_time": "2023-12-10 23:00:00" + }, + { + "start_time": "2023-12-11 00:00:00", + "cec_pool": 3000, + "id": 15, + "end_time": "2023-12-17 23:00:00" + }, + { + "start_time": "2023-12-18 00:00:00", + "cec_pool": 3000, + "id": 16, + "end_time": "2023-12-24 23:00:00" + }, + { + "start_time": "2023-12-25 00:00:00", + "cec_pool": 3000, + "id": 17, + "end_time": "2023-12-31 23:00:00" + }, + { + "start_time": "2024-01-01 00:00:00", + "cec_pool": 3000, + "id": 18, + "end_time": "2024-01-07 23:00:00" + }, + { + "start_time": "2024-01-08 00:00:00", + "cec_pool": 3000, + "id": 19, + "end_time": "2024-01-14 23:00:00" + }, + { + "start_time": "2024-01-15 00:00:00", + "cec_pool": 3000, + "id": 20, + "end_time": "2024-01-21 23:00:00" + }, + { + "start_time": "2024-01-22 00:00:00", + "cec_pool": 3000, + "id": 21, + "end_time": "2024-01-28 23:00:00" + } +] \ No newline at end of file diff --git a/bin/light_backtask/res/item@item.json b/bin/light_backtask/res/item@item.json new file mode 120000 index 00000000..d66b6651 --- /dev/null +++ b/bin/light_backtask/res/item@item.json @@ -0,0 +1 @@ +../../marketserver/res/item@item.json \ No newline at end of file diff --git a/bin/light_backtask/res/language@language.json b/bin/light_backtask/res/language@language.json new file mode 120000 index 00000000..12dc21be --- /dev/null +++ b/bin/light_backtask/res/language@language.json @@ -0,0 +1 @@ +../../marketserver/res/language@language.json \ No newline at end of file diff --git a/bin/light_backtask/res/rankSeason@rankSeason.json b/bin/light_backtask/res/rankSeason@rankSeason.json new file mode 100644 index 00000000..a7c6ba4f --- /dev/null +++ b/bin/light_backtask/res/rankSeason@rankSeason.json @@ -0,0 +1,14 @@ +[ + { + "start_time": "2023-7-24 07:00:00", + "end_time": "2023-8-23 15:59:59", + "id": 1, + "name": "Season 1" + }, + { + "start_time": "2023-8-31 08:00:00", + "end_time": "2023-9-30 08:00:00", + "id": 2, + "name": "Season 2" + } +] \ No newline at end of file