YSLoadData.dart 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343
  1. import 'package:flutter_wallet/generated/l10n.dart';
  2. class YSLoadData{
  3. Map typeDict = {
  4. 'code':10000,
  5. 'data':{
  6. 'pages': {'page': 1, 'size': 10, 'total': 1},
  7. 'list': [
  8. {
  9. "id": "BTC-HD",
  10. "name": "Bitcoin",
  11. "name_cn": "比特币",
  12. "token_name": "BTC",
  13. "token_sort_name": "BTC",
  14. "remark": "",
  15. "icon": "https://upload.wikimedia.org/wikipedia/commons/thumb/4/46/Bitcoin.svg/1280px-Bitcoin.svg.png",
  16. "cross_chain_name": "btc",
  17. "gas": 21000,
  18. "nodes": [
  19. {
  20. "chain_id": "BTC-HD",
  21. "chain_name": "比特币节点",
  22. "rpc_url": "https://still-distinguished-layer.btc.quiknode.pro/30665c63370167f7390cbe589ed51761b8af8de3/",
  23. "icon": "https://upload.wikimedia.org/wikipedia/commons/thumb/4/46/Bitcoin.svg/1280px-Bitcoin.svg.png",
  24. "remark": ""
  25. }
  26. ]
  27. },
  28. {
  29. "id": "BSC-HD",
  30. "name": "Bnbchain",
  31. "name_cn": "币安2.0",
  32. "token_name": "BNB",
  33. "token_sort_name": "BNB",
  34. "remark": "",
  35. "icon": "https://seeklogo.com/images/B/binance-coin-bnb-logo-97F9D55608-seeklogo.com.png",
  36. "cross_chain_name": "bsc",
  37. "gas": 60000,
  38. "nodes": [
  39. {
  40. "chain_id": "BSC-HD",
  41. "chain_name": "币安节点",
  42. "rpc_url": "https://fluent-bitter-choice.bsc.quiknode.pro/64183d52268ae88e00998a17b0d08033c1532d03/",
  43. "icon": "https://seeklogo.com/images/B/binance-coin-bnb-logo-97F9D55608-seeklogo.com.png",
  44. "remark": ""
  45. },
  46. {
  47. "chain_id": "BSC-HD",
  48. "chain_name": "币安节点",
  49. "rpc_url": "https://sparkling-fabled-patina.bsc.quiknode.pro/8a7493ea23005d46439da41759d19856ebb591f5/",
  50. "icon": "https://seeklogo.com/images/B/binance-coin-bnb-logo-97F9D55608-seeklogo.com.png",
  51. "remark": ""
  52. }
  53. ]
  54. },
  55. {
  56. "id": "ETH-HD",
  57. "name": "Ethereum",
  58. "name_cn": "以太坊",
  59. "token_name": "ETH",
  60. "token_sort_name": "ETH",
  61. "remark": "",
  62. "icon": "https://hk.tpstatic.net/token/tokenpocket-1617349051539.png",
  63. "cross_chain_name": "eth",
  64. "gas": 21000,
  65. "nodes": [
  66. {
  67. "chain_id": "ETH-HD",
  68. "chain_name": "以太坊节点",
  69. "rpc_url": "https://holy-quaint-asphalt.quiknode.pro/f7f688827571c9bab6b70ea314e77358334f03c7/",
  70. "icon": "https://cdn.pixabay.com/photo/2021/05/24/09/15/ethereum-6278326_1280.png",
  71. "remark": ""
  72. }
  73. ]
  74. },
  75. {
  76. "id": "TRON-HD",
  77. "name": "Tron",
  78. "name_cn": "波场",
  79. "token_name": "TRX",
  80. "token_sort_name": "TRX",
  81. "remark": "",
  82. "icon": "https://cryptologos.cc/logos/tron-trx-logo.png",
  83. "cross_chain_name": "tron",
  84. "gas": 21000,
  85. "nodes": [
  86. {
  87. "chain_id": "TRON-HD",
  88. "chain_name": "波场节点",
  89. "rpc_url": "https://purple-billowing-patina.tron-mainnet.quiknode.pro/ba7eb49e195abbf951544e4ca09751062167d24b/jsonrpc/",
  90. "icon": "https://cryptologos.cc/logos/tron-trx-logo.png",
  91. "remark": ""
  92. }
  93. ]
  94. },
  95. {
  96. "id": "NOVA-HD",
  97. "name": "Nova",
  98. "name_cn": "Nova",
  99. "token_name": "NOC",
  100. "token_sort_name": "NOC",
  101. "remark": "",
  102. "icon": "https://bakewallet.info/static/nova_logo.jpg",
  103. "cross_chain_name": "nova",
  104. "gas": 21000,
  105. "nodes": [
  106. {
  107. "chain_id": "NOVA-HD",
  108. "chain_name": "NOVA节点",
  109. "rpc_url": "https://rpc.nocscan.pro/",
  110. "icon": "https://bakewallet.info/static/nova_logo.jpg",
  111. "remark": ""
  112. },
  113. {
  114. "chain_id": "NOVA-HD",
  115. "chain_name": "NOVA节点",
  116. "rpc_url": "https://rpc.nocscan.me/",
  117. "icon": "https://bakewallet.info/static/nova_logo.jpg",
  118. "remark": ""
  119. },
  120. {
  121. "chain_id": "NOVA-HD",
  122. "chain_name": "NOVA节点",
  123. "rpc_url": "https://rpc.nocscan.info/",
  124. "icon": "https://bakewallet.info/static/nova_logo.jpg",
  125. "remark": ""
  126. },
  127. {
  128. "chain_id": "NOVA-HD",
  129. "chain_name": "NOVA节点",
  130. "rpc_url": "https://rpc.nocscan.cc/",
  131. "icon": "https://bakewallet.info/static/nova_logo.jpg",
  132. "remark": ""
  133. },
  134. {
  135. "chain_id": "NOVA-HD",
  136. "chain_name": "NOVA节点",
  137. "rpc_url": "https://rpc.nocscan.online/",
  138. "icon": "https://bakewallet.info/static/nova_logo.jpg",
  139. "remark": ""
  140. },
  141. {
  142. "chain_id": "NOVA-HD",
  143. "chain_name": "NOVA节点",
  144. "rpc_url": "https://rpc.nocs-can.org/",
  145. "icon": "https://bakewallet.info/static/nova_logo.jpg",
  146. "remark": ""
  147. }
  148. ]
  149. },
  150. ]
  151. }
  152. };
  153. Map languageMap = {
  154. "S.current.LAUGUAGE": S.current.LAUGUAGE,
  155. "S.current.DUIHUAN": S.current.LAUGUAGE,
  156. "S.current.KUALIAN": S.current.LAUGUAGE,
  157. "S.current.HANGQING": S.current.LAUGUAGE,
  158. "S.current.NINJIANGZHIFU":S.current.LAUGUAGE,
  159. "S.current.YUE":S.current.LAUGUAGE,
  160. "S.current.NINJIANGDEDAO":S.current.LAUGUAGE,
  161. "S.current.QINGSHURUHUOXUANZENINDEMUBIAOQIANBAODIZHI":S.current.LAUGUAGE,
  162. "S.current.DUIHUANYULAN":S.current.LAUGUAGE,
  163. "S.current.BAOJIA":S.current.LAUGUAGE,
  164. "S.current.SHANDUIJILU":S.current.LAUGUAGE,
  165. "S.current.BAKEQIANBAO":S.current.LAUGUAGE,
  166. "S.current.SHICHANG":S.current.LAUGUAGE,
  167. "S.current.FAXIAN":S.current.LAUGUAGE,
  168. "S.current.SHEZHI":S.current.LAUGUAGE,
  169. "S.current.ZHUANZHANG":S.current.LAUGUAGE,
  170. "S.current.SHOUKUAN":S.current.LAUGUAGE,
  171. "S.current.SHANDUI":S.current.LAUGUAGE,
  172. "S.current.DEJINKU":S.current.LAUGUAGE,
  173. "S.current.GUANLIQIANBAO":S.current.LAUGUAGE,
  174. "S.current.CHANGYONGDIZHI":S.current.LAUGUAGE,
  175. "S.current.HEIANMOSHI":S.current.LAUGUAGE,
  176. "S.current.FENXIANGYINGYONG":S.current.LAUGUAGE,
  177. "S.current.QIANBAOSHUOMING":S.current.LAUGUAGE,
  178. "S.current.GUANYUMOMEN":S.current.LAUGUAGE,
  179. "S.current.XITONGSHEZHI":S.current.LAUGUAGE,
  180. "S.current.FANHUI":S.current.LAUGUAGE,
  181. "S.current.MEIYOUQIANBAO":S.current.LAUGUAGE,
  182. "S.current.CHUANGJIANQUKUAILIANQIANBAO":S.current.LAUGUAGE,
  183. "S.current.CHUANGJIANQIANBAO":S.current.LAUGUAGE,
  184. "S.current.CHUANGJIANQIANBAO2":S.current.LAUGUAGE,
  185. "S.current.YIYOUQIANBAO":S.current.LAUGUAGE,
  186. "S.current.DAORUQIANBAO":S.current.LAUGUAGE,
  187. "S.current.JIXUBUZHUOBINGTONGYI":S.current.LAUGUAGE,
  188. "S.current.YINGHUXIEYI":S.current.LAUGUAGE,
  189. "S.current.QIANBAOANQUANZHISHI":S.current.LAUGUAGE,
  190. "S.current.BEIFENZHUJICI":S.current.LAUGUAGE,
  191. "S.current.BEIFENZHUJICI2":S.current.LAUGUAGE,
  192. "S.current.YANZHENGZHUJICI":S.current.LAUGUAGE,
  193. "S.current.YANZHENGZHUJICI2":S.current.LAUGUAGE,
  194. "S.current.SHEZHIQIANBAOMINGCHENG":S.current.LAUGUAGE,
  195. "S.current.QIANBAOMINGCHENG":S.current.LAUGUAGE,
  196. "S.current.SHEZHIQIANBAOMIMA":S.current.LAUGUAGE,
  197. "S.current.BAKEWALLETBUHUICUNCHUNINDEMIMA":S.current.LAUGUAGE,
  198. "S.current.ZHISHAOBAWEISHUZIJIDAXIAOXIEZIMU":S.current.LAUGUAGE,
  199. "S.current.CHONGFUSHURUYISHANGMIMA":S.current.LAUGUAGE,
  200. "S.current.SHIYONGFACEIDZHIWENDENGLU":S.current.LAUGUAGE,
  201. "S.current.WOLIAOJIEBAKEWALLETWUFAWEIWOZHAOHUIMIMA":S.current.LAUGUAGE,
  202. "S.current.QIANBAPXUZHI":S.current.LAUGUAGE,
  203. "S.current.XUEXISHIPINNEIRONG":S.current.LAUGUAGE,
  204. "S.current.CAICHANYOUSIYAOZHUJICIKONGZHI":S.current.LAUGUAGE,
  205. "S.current.QINGJIANGZHUJICIZHENGQUECHAOXIE":S.current.LAUGUAGE,
  206. "S.current.QIANBAOMIMAJINYONGYUSIYAO":S.current.LAUGUAGE,
  207. "S.current.QINGWUDUISIYAOZHUJICIJIETU":S.current.LAUGUAGE,
  208. "S.current.QUEREN":S.current.LAUGUAGE,
  209. "S.current.ZAIXIAYIBUNINJIANGKANDAOKEYIHUIFU":S.current.LAUGUAGE,
  210. "S.current.RUGUOWONONGDUILZHUJICI":S.current.LAUGUAGE,
  211. "S.current.RUGUOWOXIANGRENHERENTOULUHUOFENXIANG":S.current.LAUGUAGE,
  212. "S.current.BAOHUHAOZHUJICIDEANQUANZEREN":S.current.LAUGUAGE,
  213. "S.current.XIAYIBU":S.current.LAUGUAGE,
  214. "S.current.ZHONGYAOTISHI":S.current.LAUGUAGE,
  215. "S.current.QINGSHOUDONGZAIYIZHANGZHISHANG":S.current.LAUGUAGE,
  216. "S.current.QINGWUJIANGZHUJICITOULOU":S.current.LAUGUAGE,
  217. "S.current.QINGWUTONGGUOJIEPING":S.current.LAUGUAGE,
  218. "S.current.QINGWUQINGYIXIEZAI":S.current.LAUGUAGE,
  219. "S.current.JIANYIDUOGEDIFANG":S.current.LAUGUAGE,
  220. "S.current.BEIFENWANCHENG":S.current.LAUGUAGE,
  221. "S.current.QINGANZHAOBEIFENZHUJICISHUNXUTIANCHONG":S.current.LAUGUAGE,
  222. "S.current.ZHUJICISHUNXUCUOWUQINGJIANCHAHOU":S.current.LAUGUAGE,
  223. "S.current.QUERENDAORU":S.current.LAUGUAGE,
  224. "S.current.QIANBAOGUANLI":S.current.LAUGUAGE,
  225. "S.current.QIANBAOGUANLI2":S.current.LAUGUAGE,
  226. "S.current.QIANBAOXIANGQING":S.current.LAUGUAGE,
  227. "S.current.QIANBAOXIANGQING2":S.current.LAUGUAGE,
  228. "S.current.DAOCHUSIYAO":S.current.LAUGUAGE,
  229. "S.current.DAOCHUKEYSTORE":S.current.LAUGUAGE,
  230. "S.current.QIANBAOTONGBU":S.current.LAUGUAGE,
  231. "S.current.BAIMINGDAN":S.current.LAUGUAGE,
  232. "S.current.SHANCHUQIANBAO":S.current.LAUGUAGE,
  233. "S.current.GAIDIZHIJINZHICHIBSC":S.current.LAUGUAGE,
  234. "S.current.JIESHOUDIZHI":S.current.LAUGUAGE,
  235. "S.current.FENXIANG":S.current.LAUGUAGE,
  236. "S.current.FUZHI":S.current.LAUGUAGE,
  237. "S.current.YIFUZHIDAOZHANTIEBAN":S.current.LAUGUAGE,
  238. "S.current.XUANZEQIANBAO":S.current.LAUGUAGE,
  239. "S.current.ZHUANZHANGSHULIANG":S.current.LAUGUAGE,
  240. "S.current.ZHANGHUYUE":S.current.LAUGUAGE,
  241. "S.current.WANGLUOFEI":S.current.LAUGUAGE,
  242. "S.current.GAOJIMOSHI":S.current.LAUGUAGE,
  243. "S.current.ZIDINGYI":S.current.LAUGUAGE,
  244. "S.current.FENZHONG":S.current.LAUGUAGE,
  245. "S.current.MIAO":S.current.LAUGUAGE,
  246. "S.current.MAN":S.current.LAUGUAGE,
  247. "S.current.TUIJIAN":S.current.LAUGUAGE,
  248. "S.current.KUAI":S.current.LAUGUAGE,
  249. "S.current.QUEDING":S.current.LAUGUAGE,
  250. "S.current.QINGSHURUZHUANZHANGSHULIANG":S.current.LAUGUAGE,
  251. "S.current.YUYAN":S.current.LAUGUAGE,
  252. "S.current.JIEDIANSHEZHI":S.current.LAUGUAGE,
  253. "S.current.ZHUTIMOSHI":S.current.LAUGUAGE,
  254. "S.current.HUOBIDANWEI":S.current.LAUGUAGE,
  255. "S.current.HANGQINGSHEZHI":S.current.LAUGUAGE,
  256. "S.current.ZHANGDIEFUJIZHUN":S.current.LAUGUAGE,
  257. "S.current.YINGYONGSUO":S.current.LAUGUAGE,
  258. "S.current.YIJIANQIANYI":S.current.LAUGUAGE,
  259. "S.current.DAPPBAIMINGDAN":S.current.LAUGUAGE,
  260. "S.current.KAIQINOSTR":S.current.LAUGUAGE,
  261. "S.current.KAIFAZHEMOSHI":S.current.LAUGUAGE,
  262. "S.current.WANGLUOJIANCE":S.current.LAUGUAGE,
  263. "S.current.QINGCHUHUANCUN":S.current.LAUGUAGE,
  264. "S.current.XITONGSHEZHI2":S.current.LAUGUAGE,
  265. "S.current.MINGCHENG":S.current.LAUGUAGE,
  266. "S.current.HCHENGJIAOE":S.current.LAUGUAGE,
  267. "S.current.ZUIXINJIA":S.current.LAUGUAGE,
  268. "S.current.HZHANGDIE":S.current.LAUGUAGE,
  269. "S.current.DAIBIXIANGQING":S.current.LAUGUAGE,
  270. "S.current.JIAGE":S.current.LAUGUAGE,
  271. "S.current.NINYIKAIQIYINCANGXIAOEJIAOYI":S.current.LAUGUAGE,
  272. "S.current.JIAOYIJILU":S.current.LAUGUAGE,
  273. "S.current.QIANBAOMINGCHENGBUNENGWEIKONG":S.current.LAUGUAGE,
  274. "S.current.MIMABUNENGWEIKONG":S.current.LAUGUAGE,
  275. "S.current.QINGCHONGFUSHURUMIMAYANZHENG":S.current.LAUGUAGE,
  276. "S.current.DIANJIXUANZHONGLIAOJIEMIMAZHAOHUI":S.current.LAUGUAGE,
  277. "S.current.LIANGCIMIMASHURUBUYIZHI":S.current.LAUGUAGE,
  278. "S.current.MIMAGESHIBUZHENGQUE":S.current.LAUGUAGE,
  279. "S.current.QINGXUANZHONGSUOYOUTISHIYIBIAOSHILIAOJIE":S.current.LAUGUAGE,
  280. "QINGQUERENNIYIJINGBEIFENLEZHUJICI":S.current.LAUGUAGE,
  281. "S.current.SHI":S.current.LAUGUAGE,
  282. "S.current.FOU":S.current.LAUGUAGE,
  283. "S.current.JIXUBUZHUOQINGXIANTONGYIYONGHUXIEYI":S.current.LAUGUAGE,
  284. "S.current.QINGSHURUZHUJICIYIKONGGE":S.current.LAUGUAGE,
  285. "S.current.KEYSTOREWENJIAN":S.current.LAUGUAGE,
  286. "S.current.ERWEIMA":S.current.LAUGUAGE,
  287. "S.current.LIXIANBAOCUN":S.current.LAUGUAGE,
  288. "S.current.QINGFUZHIZHANTIE":S.current.LAUGUAGE,
  289. "S.current.QINGWUSHIYONGWANGLUO":S.current.LAUGUAGE,
  290. "S.current.QINGWUTONGGYOWANGLUOGONGJU":S.current.LAUGUAGE,
  291. "S.current.MIMABAOXIANXIANGBAOCUN":S.current.LAUGUAGE,
  292. "S.current.RUXUZAIXIANBAOCUN":S.current.LAUGUAGE,
  293. "S.current.JINGONGZHIJIESAOMIAO":S.current.LAUGUAGE,
  294. "S.current.ERWEIMAJINZHIBAOCUN":S.current.LAUGUAGE,
  295. "S.current.ZAIANQUANHUANJING":"在安全环境下使用",
  296. "S.current.ZAIANQUANHUANJINGSHIYONGQINGZAIQUEBAO":S.current.LAUGUAGE,
  297. "S.current.SIYAODIZHI":S.current.LAUGUAGE,
  298. "S.current.MIMAYANZHENG":S.current.LAUGUAGE,
  299. "S.current.QINGSHURMIMA":S.current.LAUGUAGE,
  300. "S.current.QUXIAO":S.current.LAUGUAGE,
  301. "S.current.MIMACUOWU":S.current.LAUGUAGE,
  302. "S.current.SIYAODAORU":S.current.LAUGUAGE,
  303. "S.current.TONGGUOSHURUMINGWENSIYAO":S.current.LAUGUAGE,
  304. "S.current.ZHUJICIDAORU":S.current.LAUGUAGE,
  305. "S.current.TONGGUOSHURUZHUJICI":S.current.LAUGUAGE,
  306. "S.current.KEYSTOREDAORU":S.current.LAUGUAGE,
  307. "S.current.TONGGUOSHURUKEYSTORE":S.current.LAUGUAGE,
  308. "S.current.QINGSHURUSIYAO":S.current.LAUGUAGE,
  309. "S.current.QINGSHURUKEYSTORE":S.current.LAUGUAGE,
  310. "S.current.QINGSHURUKEYSTOREMIMA":S.current.LAUGUAGE,
  311. "S.current.KEYSTOREMIMA":S.current.LAUGUAGE,
  312. "S.current.DUIHUANBAOJIA":S.current.LAUGUAGE,
  313. "S.current.ZUIDAHUADONGCHAJIA":S.current.LAUGUAGE,
  314. "S.current.SHOUXUFEI":S.current.LAUGUAGE,
  315. "S.current.JIAGEYINGXIANG":S.current.LAUGUAGE,
  316. "S.current.ZUIJINDUIHUANJILU":S.current.LAUGUAGE,
  317. "S.current.GENGDUOJILU":S.current.LAUGUAGE,
  318. "S.current.CHENGGONG":S.current.LAUGUAGE,
  319. "S.current.SHIBAI":S.current.LAUGUAGE,
  320. "S.current.QINGXUANZEZHUANZHANGDIZHI":S.current.LAUGUAGE,
  321. "S.current.QINGWANSHANJIESHOUDIZHI":S.current.LAUGUAGE,
  322. "S.current.QINGTIANXIEZHUANZHANGSHULIANG":S.current.LAUGUAGE,
  323. "S.current.QINGXUANZE":S.current.LAUGUAGE,
  324. "S.current.QINGSHURUZHIFUJINE":S.current.LAUGUAGE,
  325. "S.current.QINGSHURUKUALIANZICHANSHULIANG":S.current.LAUGUAGE,
  326. "S.current.ZHUANCHULIAN":S.current.LAUGUAGE,
  327. "S.current.JIESHOULIAN":S.current.LAUGUAGE,
  328. "S.current.QINGSHURUWANGZHI":S.current.LAUGUAGE,
  329. "S.current.TIANJIACHANGYONGDIZHI":S.current.LAUGUAGE,
  330. "S.current.QUANBUWANGLUO":S.current.LAUGUAGE,
  331. "S.current.NINXIANZAIHAIMEIYOULIANXIREN":S.current.LAUGUAGE,
  332. "S.current.XINJIANLIANXIREN":S.current.LAUGUAGE,
  333. "S.current.ZHUANZHANGTIJIAOCHENGGONG":S.current.LAUGUAGE,
  334. "S.current.ZHUANZHANGTIJIAOSHIBAI":S.current.LAUGUAGE,
  335. "S.current.KUALIANTIJIAOCHENGGONG":S.current.LAUGUAGE,
  336. "S.current.KUALIANTIJIAOSHIBAI":S.current.LAUGUAGE,
  337. "S.current.DUIHUANTIJIAOCHENGGONG":S.current.LAUGUAGE,
  338. "S.current.DUIHUANTIJIAOSHIBAI":S.current.LAUGUAGE,
  339. "S.current.YUYANSHEZHI":S.current.LAUGUAGE,
  340. "S.current.ZHUTISHEZHI":S.current.LAUGUAGE
  341. };
  342. }