@cfxjs/sirius-next-i18n 0.0.0 → 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (32) hide show
  1. package/.turbo/turbo-build.log +1 -1
  2. package/cspace/en/translation.json +38 -9
  3. package/cspace/zh_cn/translation.json +39 -10
  4. package/cspace/zh_cn/translationForDotNet.json +42 -2038
  5. package/dist/cspace/en/translation.json +38 -9
  6. package/dist/cspace/zh_cn/index.d.ts +2 -0
  7. package/dist/cspace/zh_cn/index.d.ts.map +1 -0
  8. package/dist/cspace/zh_cn/index.js +14 -0
  9. package/dist/cspace/zh_cn/translation.json +2369 -0
  10. package/dist/cspace/zh_cn/translationForDotNet.json +2289 -0
  11. package/dist/evm/base/en/translation.json +34 -8
  12. package/evm/base/en/translation.json +34 -8
  13. package/evm/base/zh_cn/translation.json +34 -9
  14. package/node_modules/@cfxjs/sirius-next-eslint-config/README.md +3 -0
  15. package/node_modules/@cfxjs/sirius-next-eslint-config/library.js +34 -0
  16. package/node_modules/@cfxjs/sirius-next-eslint-config/package.json +18 -0
  17. package/node_modules/@cfxjs/sirius-next-eslint-config/react-internal.js +43 -0
  18. package/node_modules/@cfxjs/sirius-next-typescript-config/base.json +20 -0
  19. package/node_modules/@cfxjs/sirius-next-typescript-config/package.json +9 -0
  20. package/node_modules/@cfxjs/sirius-next-typescript-config/react-library.json +8 -0
  21. package/node_modules/@turbo/gen/LICENSE +373 -0
  22. package/node_modules/@turbo/gen/README.md +38 -0
  23. package/node_modules/@turbo/gen/dist/cli.d.ts +1 -0
  24. package/node_modules/@turbo/gen/dist/cli.js +127 -0
  25. package/node_modules/@turbo/gen/dist/templates/simple-js/config.js +43 -0
  26. package/node_modules/@turbo/gen/dist/templates/simple-js/templates/turborepo-generators.hbs +5 -0
  27. package/node_modules/@turbo/gen/dist/templates/simple-ts/config.ts +45 -0
  28. package/node_modules/@turbo/gen/dist/templates/simple-ts/templates/turborepo-generators.hbs +5 -0
  29. package/node_modules/@turbo/gen/dist/types.d.ts +2 -0
  30. package/node_modules/@turbo/gen/dist/types.js +1 -0
  31. package/node_modules/@turbo/gen/package.json +57 -0
  32. package/package.json +8 -8
@@ -1000,7 +1000,8 @@
1000
1000
  "reward": "Reward",
1001
1001
  "age": "Age",
1002
1002
  "difficulty": "Difficulty",
1003
- "gasLimit": "Gas Limit"
1003
+ "gasLimit": "Gas Limit",
1004
+ "burntFees": "Burnt Fees"
1004
1005
  },
1005
1006
  "tooltip": {
1006
1007
  "coreSpace": "Core Space",
@@ -1009,7 +1010,7 @@
1009
1010
  "txns": "The number of transactions in this block. Cross space calls are not included in eSpace blocks.",
1010
1011
  "cross": "The number of cross space transactions from Core to eSpace in the block. Reference link: http://doc.confluxnetwork.org/docs/espace/build/cross-space-bridge/",
1011
1012
  "avgGasPrice": "The average gas price of cross space transactions in the block is not included.",
1012
- "gasLimit": "Conflux eSpace is Conflux's fully EVM-compatible space(chain), it is independent from Core space. In epoch, the block height can be divided by 5, which belongs to the eSpace blocks. The basic limit of eSpace block is 15,000,000, and the total limit of the epoch is the number of eSpace blocks contained* 15,000,000."
1013
+ "gasLimit": "Conflux eSpace is Conflux's fully EVM-compatible space(chain). The eSpace block is produced when block height can be fully divided by 5 on Conflux Network. The basic limit of eSpace block is 30,000,000 and therefore total limit in the epoch: eSpaceBlockContained*basicLimit"
1013
1014
  },
1014
1015
  "transaction": {
1015
1016
  "hash": "Txn Hash",
@@ -1301,10 +1302,17 @@
1301
1302
  "gasUsed": "Limit | Gas Used | Gas Charged",
1302
1303
  "gasPrice": "Gas Price",
1303
1304
  "gasFee": "Gas Fee",
1305
+ "transactionFee": "Transaction Fee",
1306
+ "baseFee": "Base: {{amount}}",
1307
+ "maxFee": "Max: {{amount}}",
1308
+ "maxPriorityFee": "Priority: {{amount}}",
1309
+ "burntFees": "Burnt Fees",
1310
+ "transactionAttributes": "Transaction Attributes",
1304
1311
  "gasCharged": "Gas Charged",
1305
- "nonce": "Nonce",
1312
+ "txnType": "Txn Type: {{type}} {{typeDesc}} ",
1313
+ "nonce": "Nonce: {{num}}",
1306
1314
  "blockHash": "Block Hash",
1307
- "position": "Position",
1315
+ "position": "Position in block: {{num}}",
1308
1316
  "storageLimit": "Storage Used/Limit",
1309
1317
  "storageCollateralized": "Storage Collateralize Fee",
1310
1318
  "storageReleased": "Storage Released",
@@ -1416,6 +1424,9 @@
1416
1424
  "parentHash": "Parent Hash",
1417
1425
  "nonce": "Nonce",
1418
1426
  "gasUsed": "Limit | Gas Used",
1427
+ "gasTargetUsage": "Gas Target Usage",
1428
+ "baseFeePerGas": "Base Fee Per Gas",
1429
+ "burntFeesLabel": "Burnt Fees",
1419
1430
  "timestamp": "Timestamp",
1420
1431
  "size": "Size",
1421
1432
  "transactions": "Transactions",
@@ -1526,10 +1537,15 @@
1526
1537
  "parentHash": "The hash of the block from which this block was generated, also known as its parent block.",
1527
1538
  "nonce": "Block nonce is a value used during mining to demonstrate proof of work for a block.",
1528
1539
  "gasUsedLimit": "The exact units of gas that was used for the transaction; Maximum amount of gas provided for the transaction.",
1540
+ "gasTargetUsage": "Refers to the gas target usage when eSpace block height is Pivot block, the target is 15,000,000. ",
1541
+ "baseFeePerGas": "This represents the minimum gas used multiplier required for a tx included in the eSpace block (when eSpace block height is Pivot block) and shows the %increase with the value in previous specified block.",
1542
+ "burntFeesLabel": "This represents the total transaction fees burned based on EIP-1559 and CIP-137 for eSpace blocks contained in this Epoch.",
1529
1543
  "timestamp": "The date and time at which a block is mined.",
1530
1544
  "size": "The block size is actually determined by the block's gas limit.",
1531
1545
  "transactions": "The amout of transactions which belong to the block.",
1532
- "referenceBlocks": "The other blocks referred by the current block."
1546
+ "referenceBlocks": "The other blocks referred by the current block.",
1547
+ "referencetoPivotBlock": "Reference to Pivot block: {{block}}",
1548
+ "compareToPivotBlock": "Compare to Pivot block: {{block}}"
1533
1549
  },
1534
1550
  "tx": {
1535
1551
  "transactionHash": "A TxHash or transaction hash is a unique 66 characters identifier that is generated whenever a transaction is executed.",
@@ -1544,7 +1560,10 @@
1544
1560
  "value": "The value being transacted in CFX. ",
1545
1561
  "gasUsedLimit": "The exact units of gas that was used for the transaction; Maximum amount of gas provided for the transaction.",
1546
1562
  "gasPrice": "Cost per unit of gas specified for the transaction in GDrip. The higher the gas price the higher chance of getting included in a block.",
1547
- "gasFee": "The exact fee of gas that was used for the transaction.",
1563
+ "gasFee": "Base: Refers to the base fee at the time of the eSpace block height being Pivot block.\nMax | Priority: Refers to the max amount a user is willing to pay for tx & to give the block producer respective reward.",
1564
+ "transactionFee": "The exact fee of gas that was used for the transaction.",
1565
+ "burntFees": "Total amount of CFX burnt from this tx.",
1566
+ "transactionAttributes": "Attributes related to this tx.",
1548
1567
  "gasCharged": "Conflux protocol requires that the gas-charged should be at least 3/4 of the gas limit. Usually, gas-charged equals the gas used. But if the gas used is less than 3/4 of the gas limit, gas-charged equals 3/4 of the gas limit.",
1549
1568
  "gasLimitTip": "Limit: Maximum amount of gas supplied for the transaction to happen. Normal CFX transfers involve 21,000 units while contracts involve higher value.",
1550
1569
  "gasUsedTip": " Gas Used: The amount of gas used by the specific transaction alone and its percentage of limit in the transaction. ",
@@ -1556,7 +1575,12 @@
1556
1575
  "storageCollateralized": "The cost of storage that needs to be paid.",
1557
1576
  "storageReleased": "The refund of storage collateralize fees.",
1558
1577
  "chainID": "The ID indicating which blockchain this transaction is meant to send to. Provides protection against replay-attack.",
1559
- "inputData": "Additional information that is required for the transaction."
1578
+ "inputData": "Additional information that is required for the transaction.",
1579
+ "txnType": {
1580
+ "0": "Legacy transaction: Transactions with type 0x0 are legacy transactions that use the transaction format existing before typed transactions were introduced in EIP-2718. They contain the parameters nonce, gasPrice, gasLimit, to, value, data, v, r,and s.",
1581
+ "1": "Access list transaction: Transactions with type 0x1 are transactions introduced in EIP-2930. They contain, along with the legacy parameters, an accessList parameter, which specifies an array of addresses and storage keys that the transaction plans to access .",
1582
+ "2": "EIP-1559 transaction: Transactions with type 0x2 are transactions introduced in EIP-1559. They use an in-protocol dynamically changing base fee per gas at each pivot block, the base fee per gas is adjusted to address network congestion as measured by a gas target."
1583
+ }
1560
1584
  },
1561
1585
  "address": {
1562
1586
  "balance": "The amout of assets which belong to the address.",
@@ -1897,6 +1921,8 @@
1897
1921
  "median": "Median",
1898
1922
  "high": "High",
1899
1923
  "market": "Gas Price Market",
1900
- "latest60Blocks": "Latest 60 blocks"
1924
+ "latest60Blocks": "Latest 60 blocks",
1925
+ "baseFee": "Base: {{amount}}",
1926
+ "maxPriorityFee": "Priority: {{amount}}"
1901
1927
  }
1902
1928
  }
@@ -1000,7 +1000,8 @@
1000
1000
  "reward": "Reward",
1001
1001
  "age": "Age",
1002
1002
  "difficulty": "Difficulty",
1003
- "gasLimit": "Gas Limit"
1003
+ "gasLimit": "Gas Limit",
1004
+ "burntFees": "Burnt Fees"
1004
1005
  },
1005
1006
  "tooltip": {
1006
1007
  "coreSpace": "Core Space",
@@ -1009,7 +1010,7 @@
1009
1010
  "txns": "The number of transactions in this block. Cross space calls are not included in eSpace blocks.",
1010
1011
  "cross": "The number of cross space transactions from Core to eSpace in the block. Reference link: http://doc.confluxnetwork.org/docs/espace/build/cross-space-bridge/",
1011
1012
  "avgGasPrice": "The average gas price of cross space transactions in the block is not included.",
1012
- "gasLimit": "Conflux eSpace is Conflux's fully EVM-compatible space(chain), it is independent from Core space. In epoch, the block height can be divided by 5, which belongs to the eSpace blocks. The basic limit of eSpace block is 15,000,000, and the total limit of the epoch is the number of eSpace blocks contained* 15,000,000."
1013
+ "gasLimit": "Conflux eSpace is Conflux's fully EVM-compatible space(chain). The eSpace block is produced when block height can be fully divided by 5 on Conflux Network. The basic limit of eSpace block is 30,000,000 and therefore total limit in the epoch: eSpaceBlockContained*basicLimit"
1013
1014
  },
1014
1015
  "transaction": {
1015
1016
  "hash": "Txn Hash",
@@ -1301,10 +1302,17 @@
1301
1302
  "gasUsed": "Limit | Gas Used | Gas Charged",
1302
1303
  "gasPrice": "Gas Price",
1303
1304
  "gasFee": "Gas Fee",
1305
+ "transactionFee": "Transaction Fee",
1306
+ "baseFee": "Base: {{amount}}",
1307
+ "maxFee": "Max: {{amount}}",
1308
+ "maxPriorityFee": "Priority: {{amount}}",
1309
+ "burntFees": "Burnt Fees",
1310
+ "transactionAttributes": "Transaction Attributes",
1304
1311
  "gasCharged": "Gas Charged",
1305
- "nonce": "Nonce",
1312
+ "txnType": "Txn Type: {{type}} {{typeDesc}} ",
1313
+ "nonce": "Nonce: {{num}}",
1306
1314
  "blockHash": "Block Hash",
1307
- "position": "Position",
1315
+ "position": "Position in block: {{num}}",
1308
1316
  "storageLimit": "Storage Used/Limit",
1309
1317
  "storageCollateralized": "Storage Collateralize Fee",
1310
1318
  "storageReleased": "Storage Released",
@@ -1416,6 +1424,9 @@
1416
1424
  "parentHash": "Parent Hash",
1417
1425
  "nonce": "Nonce",
1418
1426
  "gasUsed": "Limit | Gas Used",
1427
+ "gasTargetUsage": "Gas Target Usage",
1428
+ "baseFeePerGas": "Base Fee Per Gas",
1429
+ "burntFeesLabel": "Burnt Fees",
1419
1430
  "timestamp": "Timestamp",
1420
1431
  "size": "Size",
1421
1432
  "transactions": "Transactions",
@@ -1526,10 +1537,15 @@
1526
1537
  "parentHash": "The hash of the block from which this block was generated, also known as its parent block.",
1527
1538
  "nonce": "Block nonce is a value used during mining to demonstrate proof of work for a block.",
1528
1539
  "gasUsedLimit": "The exact units of gas that was used for the transaction; Maximum amount of gas provided for the transaction.",
1540
+ "gasTargetUsage": "Refers to the gas target usage when eSpace block height is Pivot block, the target is 15,000,000. ",
1541
+ "baseFeePerGas": "This represents the minimum gas used multiplier required for a tx included in the eSpace block (when eSpace block height is Pivot block) and shows the %increase with the value in previous specified block.",
1542
+ "burntFeesLabel": "This represents the total transaction fees burned based on EIP-1559 and CIP-137 for eSpace blocks contained in this Epoch.",
1529
1543
  "timestamp": "The date and time at which a block is mined.",
1530
1544
  "size": "The block size is actually determined by the block's gas limit.",
1531
1545
  "transactions": "The amout of transactions which belong to the block.",
1532
- "referenceBlocks": "The other blocks referred by the current block."
1546
+ "referenceBlocks": "The other blocks referred by the current block.",
1547
+ "referencetoPivotBlock": "Reference to Pivot block: {{block}}",
1548
+ "compareToPivotBlock": "Compare to Pivot block: {{block}}"
1533
1549
  },
1534
1550
  "tx": {
1535
1551
  "transactionHash": "A TxHash or transaction hash is a unique 66 characters identifier that is generated whenever a transaction is executed.",
@@ -1544,7 +1560,10 @@
1544
1560
  "value": "The value being transacted in CFX. ",
1545
1561
  "gasUsedLimit": "The exact units of gas that was used for the transaction; Maximum amount of gas provided for the transaction.",
1546
1562
  "gasPrice": "Cost per unit of gas specified for the transaction in GDrip. The higher the gas price the higher chance of getting included in a block.",
1547
- "gasFee": "The exact fee of gas that was used for the transaction.",
1563
+ "gasFee": "Base: Refers to the base fee at the time of the eSpace block height being Pivot block.\nMax | Priority: Refers to the max amount a user is willing to pay for tx & to give the block producer respective reward.",
1564
+ "transactionFee": "The exact fee of gas that was used for the transaction.",
1565
+ "burntFees": "Total amount of CFX burnt from this tx.",
1566
+ "transactionAttributes": "Attributes related to this tx.",
1548
1567
  "gasCharged": "Conflux protocol requires that the gas-charged should be at least 3/4 of the gas limit. Usually, gas-charged equals the gas used. But if the gas used is less than 3/4 of the gas limit, gas-charged equals 3/4 of the gas limit.",
1549
1568
  "gasLimitTip": "Limit: Maximum amount of gas supplied for the transaction to happen. Normal CFX transfers involve 21,000 units while contracts involve higher value.",
1550
1569
  "gasUsedTip": " Gas Used: The amount of gas used by the specific transaction alone and its percentage of limit in the transaction. ",
@@ -1556,7 +1575,12 @@
1556
1575
  "storageCollateralized": "The cost of storage that needs to be paid.",
1557
1576
  "storageReleased": "The refund of storage collateralize fees.",
1558
1577
  "chainID": "The ID indicating which blockchain this transaction is meant to send to. Provides protection against replay-attack.",
1559
- "inputData": "Additional information that is required for the transaction."
1578
+ "inputData": "Additional information that is required for the transaction.",
1579
+ "txnType": {
1580
+ "0": "Legacy transaction: Transactions with type 0x0 are legacy transactions that use the transaction format existing before typed transactions were introduced in EIP-2718. They contain the parameters nonce, gasPrice, gasLimit, to, value, data, v, r,and s.",
1581
+ "1": "Access list transaction: Transactions with type 0x1 are transactions introduced in EIP-2930. They contain, along with the legacy parameters, an accessList parameter, which specifies an array of addresses and storage keys that the transaction plans to access .",
1582
+ "2": "EIP-1559 transaction: Transactions with type 0x2 are transactions introduced in EIP-1559. They use an in-protocol dynamically changing base fee per gas at each pivot block, the base fee per gas is adjusted to address network congestion as measured by a gas target."
1583
+ }
1560
1584
  },
1561
1585
  "address": {
1562
1586
  "balance": "The amout of assets which belong to the address.",
@@ -1902,6 +1926,8 @@
1902
1926
  "median": "Median",
1903
1927
  "high": "High",
1904
1928
  "market": "Gas Price Market",
1905
- "latest60Blocks": "Latest 60 blocks"
1929
+ "latest60Blocks": "Latest 60 blocks",
1930
+ "baseFee": "Base: {{amount}}",
1931
+ "maxPriorityFee": "Priority: {{amount}}"
1906
1932
  }
1907
1933
  }
@@ -999,7 +999,8 @@
999
999
  "reward": "奖励",
1000
1000
  "age": "块龄",
1001
1001
  "difficulty": "难度",
1002
- "gasLimit": "燃料限制"
1002
+ "gasLimit": "燃料限制",
1003
+ "burntFees": "销毁费用"
1003
1004
  },
1004
1005
  "tooltip": {
1005
1006
  "coreSpace": "Core Space",
@@ -1008,7 +1009,7 @@
1008
1009
  "txns": "区块中的交易数量。eSpace区块不包含跨空间调用的交易数量。",
1009
1010
  "cross": "从Core操作eSpace跨空间调用的交易数量。参考链接:http://doc.confluxnetwork.org/docs/espace/build/cross-space-bridge/",
1010
1011
  "avgGasPrice": "eSpace区块的平均燃料价格排除了跨空间调用的交易。",
1011
- "gasLimit": "Conflux eSpace 是完全兼容EVM的空间(链),独立于Core空间。纪元中区块高度可整除5的区块,属于eSpace的区块。eSpace区块的基础限制为15000000,区块限制为纪元中包含的eSpace区块个数*15000000"
1012
+ "gasLimit": "Conflux eSpace是Conflux完全兼容EVM的空间(链)。纪元中区块高度为5的倍数的区块,用于打包eSpace的交易。区块基础限制为30,000,000,因此纪元的燃料限制:eSpace区块个数*基础限制。"
1012
1013
  },
1013
1014
  "transaction": {
1014
1015
  "hash": "交易哈希",
@@ -1298,11 +1299,17 @@
1298
1299
  "value": "价值",
1299
1300
  "gasUsed": "燃料限制 | 燃料用量 | 燃料计费",
1300
1301
  "gasPrice": "燃料价格",
1301
- "gasFee": "燃气费",
1302
+ "gasFee": "燃料费",
1303
+ "transactionFee": "交易费",
1304
+ "baseFee": "Base: {{amount}}",
1305
+ "maxFee": "Max: {{amount}}",
1306
+ "maxPriorityFee": "Priority: {{amount}}",
1307
+ "burntFees": "销毁费用",
1302
1308
  "gasCharged": "计费燃气",
1303
- "nonce": "随机数",
1309
+ "txnType": "Txn Type: {{type}} {{typeDesc}} ",
1310
+ "nonce": "Nonce: {{num}}",
1304
1311
  "blockHash": "区块哈希",
1305
- "position": "位置",
1312
+ "position": "Position in block: {{num}}",
1306
1313
  "storageLimit": "存储用量/限制",
1307
1314
  "storageCollateralized": "存储押金",
1308
1315
  "storageReleased": "存储释放",
@@ -1413,6 +1420,9 @@
1413
1420
  "parentHash": "父区块哈希",
1414
1421
  "nonce": "随机数",
1415
1422
  "gasUsed": "限制|燃料用量",
1423
+ "gasTargetUsage": "燃料使用率",
1424
+ "baseFeePerGas": "燃料基础费",
1425
+ "burntFeesLabel": "销毁费用",
1416
1426
  "timestamp": "时间戳",
1417
1427
  "size": "容量",
1418
1428
  "transactions": "交易",
@@ -1523,10 +1533,15 @@
1523
1533
  "parentHash": "该区块的父区块的区块哈希,也称为父区块哈希。",
1524
1534
  "nonce": "区块随机数是在挖矿过程中用来演示区块工作量证明的值。",
1525
1535
  "gasUsedLimit": "燃料使用指交易所使用的燃料数量; 燃料限制代表用于愿意为交易花费的最大燃料量。",
1536
+ "gasTargetUsage": "指eSpace区块高度是Pivot区块时的燃料目标使用率,目标值 15,000,000。",
1537
+ "baseFeePerGas": "表示eSpace区块高度是Pivot区块时,包含的交易最小的燃料用量乘积和上一个规定区块燃料基础费的涨幅。",
1538
+ "burntFeesLabel": "销毁费用:表示此纪元中包含的eSpace区块基于EIP-1559和CIP-137销毁的总交易费用。",
1526
1539
  "timestamp": "开采该区块的日期和时间。",
1527
1540
  "size": "区块容量取决于燃料限制。",
1528
1541
  "transactions": "该区块发生的交易数量。",
1529
- "referenceBlocks": "该区块引用的其他区块。"
1542
+ "referenceBlocks": "该区块引用的其他区块。",
1543
+ "referencetoPivotBlock": "引用Pivot区块: {{block}}",
1544
+ "compareToPivotBlock": "相较Pivot区块: {{block}}"
1530
1545
  },
1531
1546
  "tx": {
1532
1547
  "transactionHash": "交易哈希是一个唯一的66字符的标识符,该标识符在每次交易执行时都会生成。",
@@ -1541,7 +1556,10 @@
1541
1556
  "value": "该交易金额是以CFX显示。 ",
1542
1557
  "gasUsedLimit": "燃料使用指交易所使用的燃料数量; 燃料限制代表用于愿意为交易花费的最大燃料量。",
1543
1558
  "gasPrice": "交易指定的每单位燃料成本,GDrip为支付单位。燃料费用越高,被写入区块的机会就越大。",
1544
- "gasFee": "交易所使用的燃料费用。",
1559
+ "gasFee": "基础费:指eSpace区块高度是Pivot区块出块时的燃料基础费。\n最大费用|优先费用:指用户愿意为这笔交易支付的最大费用并给予矿工的相应奖励费用。",
1560
+ "transactionFee": "交易所使用的燃料费用。",
1561
+ "burntFees": "此交易销毁的CFX总量。",
1562
+ "transactionAttributes": "此交易相关的属性信息。",
1545
1563
  "gasCharged": "Conflux 协议要求产生计费的燃气用量不少于燃气限制的 3/4. 一般计费燃气等于燃气用量,但如果燃气用量低于 3/4 的燃气限制,计费燃气等于 3/4 的燃气限制。",
1546
1564
  "gasLimitTip": "燃料限制:为交易发生提供的最大燃料用量。 普通的 CFX 转账使用 21,000 个单位,而合约则会使用更高的单位。",
1547
1565
  "gasUsedTip": "燃料用量:此交易最终使用的燃料用量与最终燃料用量与占交易燃料限制的百分比。",
@@ -1553,7 +1571,12 @@
1553
1571
  "storageCollateralized": "需要支付的用来存储的费用。",
1554
1572
  "storageReleased": "返还的存储押金。",
1555
1573
  "chainID": "交易被发往的区块链的编号,用以防止重放攻击。",
1556
- "inputData": "自定义数据,该交易中附加的信息。"
1574
+ "inputData": "自定义数据,该交易中附加的信息。",
1575
+ "txnType": {
1576
+ "0": "传统交易: 0x0交易类型是传统交易, 使用 EIP-2718 引入类型交易之前存在的交易格式。交易包含参数: nounce、gasPrice、gasLimit、to、value、data、v、r和s。",
1577
+ "1": "访问列表交易: 类型为0x1的交易是EIP-2930引入的交易。除了传统参数外, 还包含一个访问列表参数, 该参数指定了交易计划访问的地址数组和存储键。",
1578
+ "2": "EIP-1559交易: 类型为0x2的交易是EIP-1559引入的交易。交易使用协议中在每个Pivot区块动态变化的基础Gas费用, 基础Gas费用会根据Gas目标进行调整, 以应对网络拥塞。"
1579
+ }
1557
1580
  },
1558
1581
  "address": {
1559
1582
  "balance": "该地址的资产余额。",
@@ -1896,6 +1919,8 @@
1896
1919
  "median": "中",
1897
1920
  "high": "高",
1898
1921
  "market": "燃料价格市场",
1899
- "latest60Blocks": "最新 60 个区块"
1922
+ "latest60Blocks": "最新 60 个区块",
1923
+ "baseFee": "Base: {{amount}}",
1924
+ "maxPriorityFee": "Priority: {{amount}}"
1900
1925
  }
1901
1926
  }
@@ -0,0 +1,3 @@
1
+ # `@turbo/eslint-config`
2
+
3
+ Collection of internal eslint configurations.
@@ -0,0 +1,34 @@
1
+ const { resolve } = require('node:path');
2
+
3
+ const project = resolve(process.cwd(), 'tsconfig.json');
4
+
5
+ /** @type {import("eslint").Linter.Config} */
6
+ module.exports = {
7
+ extends: ['eslint:recommended', 'prettier', 'eslint-config-turbo'],
8
+ plugins: ['only-warn'],
9
+ globals: {
10
+ React: true,
11
+ JSX: true,
12
+ },
13
+ env: {
14
+ node: true,
15
+ },
16
+ settings: {
17
+ 'import/resolver': {
18
+ typescript: {
19
+ project,
20
+ },
21
+ },
22
+ },
23
+ ignorePatterns: [
24
+ // Ignore dotfiles
25
+ '.*.js',
26
+ 'node_modules/',
27
+ 'dist/',
28
+ ],
29
+ overrides: [
30
+ {
31
+ files: ['*.js?(x)', '*.ts?(x)'],
32
+ },
33
+ ],
34
+ };
@@ -0,0 +1,18 @@
1
+ {
2
+ "name": "@cfxjs/sirius-next-eslint-config",
3
+ "version": "0.0.0",
4
+ "private": true,
5
+ "files": [
6
+ "library.js",
7
+ "react-internal.js"
8
+ ],
9
+ "devDependencies": {
10
+ "@vercel/style-guide": "^5.2.0",
11
+ "eslint-config-turbo": "^1.12.4",
12
+ "eslint-config-prettier": "^9.1.0",
13
+ "eslint-plugin-only-warn": "^1.1.0",
14
+ "@typescript-eslint/parser": "^7.1.0",
15
+ "@typescript-eslint/eslint-plugin": "^7.1.0",
16
+ "typescript": "^5.3.3"
17
+ }
18
+ }
@@ -0,0 +1,43 @@
1
+ const { resolve } = require('node:path');
2
+
3
+ const project = resolve(process.cwd(), 'tsconfig.json');
4
+
5
+ /*
6
+ * This is a custom ESLint configuration for use with
7
+ * internal (bundled by their consumer) libraries
8
+ * that utilize React.
9
+ *
10
+ * This config extends the Vercel Engineering Style Guide.
11
+ * For more information, see https://github.com/vercel/style-guide
12
+ *
13
+ */
14
+
15
+ /** @type {import("eslint").Linter.Config} */
16
+ module.exports = {
17
+ extends: ['eslint:recommended', 'prettier', 'eslint-config-turbo'],
18
+ plugins: ['only-warn'],
19
+ globals: {
20
+ React: true,
21
+ JSX: true,
22
+ },
23
+ env: {
24
+ browser: true,
25
+ },
26
+ settings: {
27
+ 'import/resolver': {
28
+ typescript: {
29
+ project,
30
+ },
31
+ },
32
+ },
33
+ ignorePatterns: [
34
+ // Ignore dotfiles
35
+ '.*.js',
36
+ 'node_modules/',
37
+ 'dist/',
38
+ ],
39
+ overrides: [
40
+ // Force ESLint to detect .tsx files
41
+ { files: ['*.js?(x)', '*.ts?(x)'] },
42
+ ],
43
+ };
@@ -0,0 +1,20 @@
1
+ {
2
+ "$schema": "https://json.schemastore.org/tsconfig",
3
+ "display": "Default",
4
+ "compilerOptions": {
5
+ "declaration": true,
6
+ "declarationMap": true,
7
+ "esModuleInterop": true,
8
+ "incremental": false,
9
+ "isolatedModules": true,
10
+ "lib": ["es2022", "DOM", "DOM.Iterable"],
11
+ "module": "ESNext",
12
+ "moduleDetection": "force",
13
+ "moduleResolution": "Bundler",
14
+ "noUncheckedIndexedAccess": true,
15
+ "resolveJsonModule": true,
16
+ "skipLibCheck": true,
17
+ "strict": true,
18
+ "target": "ES2022"
19
+ }
20
+ }
@@ -0,0 +1,9 @@
1
+ {
2
+ "name": "@cfxjs/sirius-next-typescript-config",
3
+ "version": "0.0.0",
4
+ "private": true,
5
+ "license": "MIT",
6
+ "publishConfig": {
7
+ "access": "public"
8
+ }
9
+ }
@@ -0,0 +1,8 @@
1
+ {
2
+ "$schema": "https://json.schemastore.org/tsconfig",
3
+ "display": "React Library",
4
+ "extends": "./base.json",
5
+ "compilerOptions": {
6
+ "jsx": "react-jsx"
7
+ }
8
+ }