@cfxjs/sirius-next-i18n 0.1.23 → 0.1.24

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.
@@ -1,5 +1,5 @@
1
1
 
2
2
  
3
- > @cfxjs/sirius-next-i18n@0.1.23 build /Users/mac/Desktop/code/sirius-next/packages/i18n
3
+ > @cfxjs/sirius-next-i18n@0.1.24 build /Users/mac/Desktop/code/sirius-next/packages/i18n
4
4
  > tsc
5
5
 
@@ -216,9 +216,7 @@
216
216
  "license": "{{license}} license",
217
217
  "compilerVersion": "Compiler Version: ",
218
218
  "runs": "{{status}} with {{count}} runs",
219
- "tipLeft": "You can ",
220
- "tipCenter": "verify your contract",
221
- "tipRight": " now!",
219
+ "tip": "You can now <1>verify and publish</1> your contract's source code, or simply <3>submit function signatures</3> to improve readability.",
222
220
  "isVerifiedTip": "The contract has been verified, the source code and ABI cannot be modified"
223
221
  },
224
222
  "code": "Code",
@@ -241,8 +239,9 @@
241
239
  "errorTokenICon": "For the non-CRC20 contract, the token icon cannot be uploaded",
242
240
  "beforeContractSubmitTip": "Before submitting, you need to connect to Fluent Wallet to prove that you are the admin or creator of the contract.",
243
241
  "invalidJsonAbi": "Unable to parse the valid ABI in the JSON file, please try again.",
244
- "abiNotUploaded": "ABI not uploaded",
242
+ "abiNotUploaded": "ABI not uploaded. You can help improve the decoding of this transaction by <1>submitting function signatures</1>.",
245
243
  "abiError": "ABI error",
244
+ "similarWarning": "The displayed function is based on a user-submitted signature with a similar structure and may not precisely reflect the actual contract call.",
246
245
  "readContract": "Read Contract",
247
246
  "writeContract": "Write Contract",
248
247
  "readAsProxyContract": "Read as Proxy",
@@ -341,6 +340,20 @@
341
340
  "error": "Verification Failed"
342
341
  }
343
342
  },
343
+ "abiVerification": {
344
+ "title": "Submit Signatures",
345
+ "subtitle": "Visible to all users. Recommended for common functions.",
346
+ "description": "Submit Signatures",
347
+ "error": {
348
+ "decodeError": "ABI parsing failed. Error: {{error}}",
349
+ "abiEmpty": "The submitted ABI contains no function definitions and cannot be decoded.",
350
+ "nameRequired": "Missing parameter names. Please complete and retry.",
351
+ "typeNotAllowed": "Only function signatures are supported. Please review and resubmit."
352
+ },
353
+ "placeholder": {
354
+ "abi": "Paste one or more function signatures, including parameter names such as from, to, value. e.g. [\"function transferFrom(address from, address to, uint256 value)\"]"
355
+ }
356
+ },
344
357
  "contractDetail": {
345
358
  "title": "Contract Detail",
346
359
  "content": "Details of contract",
@@ -476,6 +489,7 @@
476
489
  "contractSponsor": "Contract Sponsor",
477
490
  "contractDeployment": "Contract Deployment",
478
491
  "contractVerification": "Contract Verification",
492
+ "abiVerification": "Submit Signatures",
479
493
  "contracts": "Internal Contracts",
480
494
  "chartsAndStatistics": "Charts & Stats",
481
495
  "ecosystem": "Ecosystem",
@@ -1332,6 +1346,9 @@
1332
1346
  "name": "Contract Name Tag",
1333
1347
  "address": "Contract Address",
1334
1348
  "transactionCount": "Txn"
1349
+ },
1350
+ "tooltip": {
1351
+ "methodWarning": "Contract not verified, function name is for reference only."
1335
1352
  }
1336
1353
  },
1337
1354
  "pagination": {
@@ -1869,7 +1886,8 @@
1869
1886
  "0": "Legacy transaction: Transactions with type 0x0 are legacy transactions that use the transaction format existing before typed transactions were introduced in CIP-2718. They contain the parameters nonce, gasPrice, gasLimit, to, value, data, v, r,and s.",
1870
1887
  "1": "Access list transaction: Transactions with type 0x1 are transactions introduced in CIP-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 .",
1871
1888
  "2": "CIP-1559 transaction: Transactions with type 0x2 are transactions introduced in CIP-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."
1872
- }
1889
+ },
1890
+ "getRawTxJson": "Get raw Tx JSON"
1873
1891
  },
1874
1892
  "address": {
1875
1893
  "balance": "The amount of assets which belong to the address.",
@@ -1964,7 +1982,8 @@
1964
1982
  "112": "Announce Agreement",
1965
1983
  "113": "Withdraw of principal {{value}} CFX",
1966
1984
  "114": "Transfer {{type}} NFT (Token ID: {{id}})",
1967
- "115": "Transfer {{type}} NFT (Token ID: {{id}}, Amount: {{amount}})"
1985
+ "115": "Transfer {{type}} NFT (Token ID: {{id}}, Amount: {{amount}})",
1986
+ "116": "Submit Signatures"
1968
1987
  }
1969
1988
  },
1970
1989
  "tip": "Please connect to Fluent Wallet first!"
@@ -215,9 +215,7 @@
215
215
  "license": "{{license}} license",
216
216
  "compilerVersion": "编译版本:",
217
217
  "runs": "{{status}} with {{count}} runs",
218
- "tipLeft": "立刻前往",
219
- "tipCenter": "验证您的合约",
220
- "tipRight": "!",
218
+ "tip": "立即<1>验证并发布</1>你的合约源代码,或<3>提交函数签名</3>,以提升可读性。",
221
219
  "isVerifiedTip": "该合约已验证,源码和 ABI 无法修改"
222
220
  },
223
221
  "code": "合约",
@@ -240,8 +238,9 @@
240
238
  "errorTokenICon": "非 CRC20 合约,通证图标不可上传",
241
239
  "beforeContractSubmitTip": "提交合约信息前,您需连接钱包以确认您是该合约的管理者或拥有者。",
242
240
  "invalidJsonAbi": "无法解析 JSON 文件中的有效 ABI,请重试",
243
- "abiNotUploaded": "没有上传 ABI",
241
+ "abiNotUploaded": "未上传 ABI。你可以通过<1>提交函数签名</1>来帮助解析此交易。",
244
242
  "abiError": "ABI 错误",
243
+ "similarWarning": "当前显示的函数基于用户提交的相似签名生成,可能与实际合约调用不完全一致。",
245
244
  "readContract": "读取合约",
246
245
  "writeContract": "写入合约",
247
246
  "readAsProxyContract": "读取代理合约",
@@ -340,6 +339,20 @@
340
339
  "error": "验证失败"
341
340
  }
342
341
  },
342
+ "abiVerification": {
343
+ "title": "提交函数签名",
344
+ "subtitle": "所有用户可见,推荐用于通用函数。",
345
+ "description": "提交函数签名",
346
+ "error": {
347
+ "decodeError": "ABI 解析失败。错误信息:{{error}}",
348
+ "abiEmpty": "提交的 ABI 未包含函数定义,无法进行解码。",
349
+ "nameRequired": "参数名称缺失,请补全后重试",
350
+ "typeNotAllowed": "仅支持函数(function)类型,请检查后重新提交。"
351
+ },
352
+ "placeholder": {
353
+ "abi": "粘贴一个或多个函数签名,需包含参数名称,如 from、to、value。例如:[\"function transferFrom(address from, address to, uint256 value)\"]"
354
+ }
355
+ },
343
356
  "contractDetail": {
344
357
  "title": "合约详情",
345
358
  "content": "合约详情",
@@ -475,6 +488,7 @@
475
488
  "contractSponsor": "合约代付",
476
489
  "contractDeployment": "合约部署",
477
490
  "contractVerification": "合约验证",
491
+ "abiVerification": "提交函数签名",
478
492
  "contracts": "内置合约",
479
493
  "chartsAndStatistics": "图表&统计",
480
494
  "ecosystem": "生态",
@@ -1329,6 +1343,9 @@
1329
1343
  "name": "合约名称标签",
1330
1344
  "address": "合约地址",
1331
1345
  "transactionCount": "交易数"
1346
+ },
1347
+ "tooltip": {
1348
+ "methodWarning": "合约未验证,函数名称仅供参考"
1332
1349
  }
1333
1350
  },
1334
1351
  "pagination": {
@@ -1865,7 +1882,8 @@
1865
1882
  "0": "传统交易: 0x0交易类型是传统交易, 使用 CIP-2718 引入类型交易之前存在的交易格式。交易包含参数: nonce、gasPrice、gasLimit、to、value、data、v、r和s。",
1866
1883
  "1": "访问列表交易: 类型为0x1的交易是CIP-2930引入的交易。除了传统参数外, 还包含一个访问列表参数, 该参数指定了交易计划访问的地址数组和存储键。",
1867
1884
  "2": "CIP-1559交易: 类型为0x2的交易是CIP-1559引入的交易。交易使用协议中在每个Pivot区块动态变化的基础Gas费用, 基础Gas费用会根据Gas目标进行调整, 以应对网络拥塞。"
1868
- }
1885
+ },
1886
+ "getRawTxJson": "获取原始交易JSON"
1869
1887
  },
1870
1888
  "address": {
1871
1889
  "balance": "该地址的资产余额。",
@@ -1960,7 +1978,8 @@
1960
1978
  "112": "通知协议",
1961
1979
  "113": "提取本金 {{value}} CFX",
1962
1980
  "114": "转移 {{type}}数字藏品(通证 ID:{{id}})",
1963
- "115": "转移 {{type}}数字藏品(通证 ID:{{id}},数量:{{amount}})"
1981
+ "115": "转移 {{type}}数字藏品(通证 ID:{{id}},数量:{{amount}})",
1982
+ "116": "提交函数签名"
1964
1983
  }
1965
1984
  },
1966
1985
  "tip": "请先连接 Fluent Wallet 钱包!"
@@ -216,9 +216,7 @@
216
216
  "license": "{{license}} license",
217
217
  "compilerVersion": "Compiler Version: ",
218
218
  "runs": "{{status}} with {{count}} runs",
219
- "tipLeft": "You can ",
220
- "tipCenter": "verify your contract",
221
- "tipRight": " now!",
219
+ "tip": "You can now <1>verify and publish</1> your contract's source code, or simply <3>submit function signatures</3> to improve readability.",
222
220
  "isVerifiedTip": "The contract has been verified, the source code and ABI cannot be modified"
223
221
  },
224
222
  "code": "Code",
@@ -241,8 +239,9 @@
241
239
  "errorTokenICon": "For the non-CRC20 contract, the token icon cannot be uploaded",
242
240
  "beforeContractSubmitTip": "Before submitting, you need to connect to Fluent Wallet to prove that you are the admin or creator of the contract.",
243
241
  "invalidJsonAbi": "Unable to parse the valid ABI in the JSON file, please try again.",
244
- "abiNotUploaded": "ABI not uploaded",
242
+ "abiNotUploaded": "ABI not uploaded. You can help improve the decoding of this transaction by <1>submitting function signatures</1>.",
245
243
  "abiError": "ABI error",
244
+ "similarWarning": "The displayed function is based on a user-submitted signature with a similar structure and may not precisely reflect the actual contract call.",
246
245
  "readContract": "Read Contract",
247
246
  "writeContract": "Write Contract",
248
247
  "readAsProxyContract": "Read as Proxy",
@@ -341,6 +340,20 @@
341
340
  "error": "Verification Failed"
342
341
  }
343
342
  },
343
+ "abiVerification": {
344
+ "title": "Submit Signatures",
345
+ "subtitle": "Visible to all users. Recommended for common functions.",
346
+ "description": "Submit Signatures",
347
+ "error": {
348
+ "decodeError": "ABI parsing failed. Error: {{error}}",
349
+ "abiEmpty": "The submitted ABI contains no function definitions and cannot be decoded.",
350
+ "nameRequired": "Missing parameter names. Please complete and retry.",
351
+ "typeNotAllowed": "Only function signatures are supported. Please review and resubmit."
352
+ },
353
+ "placeholder": {
354
+ "abi": "Paste one or more function signatures, including parameter names such as from, to, value. e.g. [\"function transferFrom(address from, address to, uint256 value)\"]"
355
+ }
356
+ },
344
357
  "contractDetail": {
345
358
  "title": "Contract Detail",
346
359
  "content": "Details of contract",
@@ -476,6 +489,7 @@
476
489
  "contractSponsor": "Contract Sponsor",
477
490
  "contractDeployment": "Contract Deployment",
478
491
  "contractVerification": "Contract Verification",
492
+ "abiVerification": "Submit Signatures",
479
493
  "contracts": "Internal Contracts",
480
494
  "chartsAndStatistics": "Charts & Stats",
481
495
  "ecosystem": "Ecosystem",
@@ -1332,6 +1346,9 @@
1332
1346
  "name": "Contract Name Tag",
1333
1347
  "address": "Contract Address",
1334
1348
  "transactionCount": "Txn"
1349
+ },
1350
+ "tooltip": {
1351
+ "methodWarning": "Contract not verified, function name is for reference only."
1335
1352
  }
1336
1353
  },
1337
1354
  "pagination": {
@@ -1868,7 +1885,8 @@
1868
1885
  "0": "Legacy transaction: Transactions with type 0x0 are legacy transactions that use the transaction format existing before typed transactions were introduced in CIP-2718. They contain the parameters nonce, gasPrice, gasLimit, to, value, data, v, r,and s.",
1869
1886
  "1": "Access list transaction: Transactions with type 0x1 are transactions introduced in CIP-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 .",
1870
1887
  "2": "CIP-1559 transaction: Transactions with type 0x2 are transactions introduced in CIP-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."
1871
- }
1888
+ },
1889
+ "getRawTxJson": "Get raw Tx JSON"
1872
1890
  },
1873
1891
  "address": {
1874
1892
  "balance": "The amount of assets which belong to the address.",
@@ -1963,7 +1981,8 @@
1963
1981
  "112": "Announce Agreement",
1964
1982
  "113": "Withdraw of principal {{value}} CFX",
1965
1983
  "114": "Transfer {{type}} NFT (Token ID: {{id}})",
1966
- "115": "Transfer {{type}} NFT (Token ID: {{id}}, Amount: {{amount}})"
1984
+ "115": "Transfer {{type}} NFT (Token ID: {{id}}, Amount: {{amount}})",
1985
+ "116": "Submit Signatures"
1967
1986
  }
1968
1987
  },
1969
1988
  "tip": "Please connect to Fluent Wallet first!"
@@ -205,9 +205,7 @@
205
205
  "license": "{{license}} license",
206
206
  "compilerVersion": "Compiler Version: ",
207
207
  "runs": "{{status}} with {{count}} runs",
208
- "tipLeft": "You can ",
209
- "tipCenter": "verify your contract",
210
- "tipRight": " now!",
208
+ "tip": "You can now <1>verify and publish</1> your contract's source code, or simply <3>submit function signatures</3> to improve readability.",
211
209
  "isVerifiedTip": "The contract has been verified, the source code and ABI cannot be modified"
212
210
  },
213
211
  "code": "Code",
@@ -231,8 +229,9 @@
231
229
  "errorTokenICon": "For the non-ERC20 contract, the token icon cannot be uploaded",
232
230
  "beforeContractSubmitTip": "Before submitting, you need to connect to Fluent Wallet to prove that you are the admin or creator of the contract.",
233
231
  "invalidJsonAbi": "Unable to parse the valid ABI in the JSON file, please try again.",
234
- "abiNotUploaded": "ABI not uploaded",
232
+ "abiNotUploaded": "ABI not uploaded. You can help improve the decoding of this transaction by <1>submitting function signatures</1>.",
235
233
  "abiError": "ABI error",
234
+ "similarWarning": "The displayed function is based on a user-submitted signature with a similar structure and may not precisely reflect the actual contract call.",
236
235
  "readContract": "Read Contract",
237
236
  "writeContract": "Write Contract",
238
237
  "readAsProxyContract": "Read as Proxy",
@@ -331,6 +330,20 @@
331
330
  "error": "Verification Failed"
332
331
  }
333
332
  },
333
+ "abiVerification": {
334
+ "title": "Submit Signatures",
335
+ "subtitle": "Visible to all users. Recommended for common functions.",
336
+ "description": "Submit Signatures",
337
+ "error": {
338
+ "decodeError": "ABI parsing failed. Error: {{error}}",
339
+ "abiEmpty": "The submitted ABI contains no function definitions and cannot be decoded.",
340
+ "nameRequired": "Missing parameter names. Please complete and retry.",
341
+ "typeNotAllowed": "Only function signatures are supported. Please review and resubmit."
342
+ },
343
+ "placeholder": {
344
+ "abi": "Paste one or more function signatures, including parameter names such as from, to, value. e.g. [\"function transferFrom(address from, address to, uint256 value)\"]"
345
+ }
346
+ },
334
347
  "contractDetail": {
335
348
  "title": "Contract Detail",
336
349
  "content": "Details of contract",
@@ -462,6 +475,7 @@
462
475
  "contractSponsor": "Contract Sponsor",
463
476
  "contractDeployment": "Contract Deployment",
464
477
  "contractVerification": "Contract Verification",
478
+ "abiVerification": "Submit Signatures",
465
479
  "contracts": "Internal Contracts",
466
480
  "chartsAndStatistics": "Charts & Stats",
467
481
  "ecosystem": "Ecosystem",
@@ -1039,7 +1053,8 @@
1039
1053
  "txns": "The number of transactions in this block. Cross space calls are not included in eSpace blocks.",
1040
1054
  "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/",
1041
1055
  "avgGasPrice": "The average gas price of cross space transactions in the block is not included.",
1042
- "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"
1056
+ "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",
1057
+ "methodWarning": "Contract not verified, function name is for reference only."
1043
1058
  },
1044
1059
  "transaction": {
1045
1060
  "hash": "Txn Hash",
@@ -1613,7 +1628,8 @@
1613
1628
  "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.",
1614
1629
  "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 .",
1615
1630
  "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."
1616
- }
1631
+ },
1632
+ "getRawTxJson": "Get raw Tx JSON"
1617
1633
  },
1618
1634
  "address": {
1619
1635
  "balance": "The amount of assets which belong to the address.",
@@ -1708,7 +1724,8 @@
1708
1724
  "112": "Announce Agreement",
1709
1725
  "113": "Withdraw of principal {{value}} CFX",
1710
1726
  "114": "Transfer {{type}} NFT (Token ID: {{id}})",
1711
- "115": "Transfer {{type}} NFT (Token ID: {{id}}, Amount: {{amount}})"
1727
+ "115": "Transfer {{type}} NFT (Token ID: {{id}}, Amount: {{amount}})",
1728
+ "116": "Submit Signatures"
1712
1729
  }
1713
1730
  },
1714
1731
  "tip": "Please connect to Wallet first!"
@@ -205,9 +205,7 @@
205
205
  "license": "{{license}} license",
206
206
  "compilerVersion": "Compiler Version: ",
207
207
  "runs": "{{status}} with {{count}} runs",
208
- "tipLeft": "You can ",
209
- "tipCenter": "verify your contract",
210
- "tipRight": " now!",
208
+ "tip": "You can now <1>verify and publish</1> your contract's source code, or simply <3>submit function signatures</3> to improve readability.",
211
209
  "isVerifiedTip": "The contract has been verified, the source code and ABI cannot be modified"
212
210
  },
213
211
  "code": "Code",
@@ -231,8 +229,9 @@
231
229
  "errorTokenICon": "For the non-ERC20 contract, the token icon cannot be uploaded",
232
230
  "beforeContractSubmitTip": "Before submitting, you need to connect to Fluent Wallet to prove that you are the admin or creator of the contract.",
233
231
  "invalidJsonAbi": "Unable to parse the valid ABI in the JSON file, please try again.",
234
- "abiNotUploaded": "ABI not uploaded",
232
+ "abiNotUploaded": "ABI not uploaded. You can help improve the decoding of this transaction by <1>submitting function signatures</1>.",
235
233
  "abiError": "ABI error",
234
+ "similarWarning": "The displayed function is based on a user-submitted signature with a similar structure and may not precisely reflect the actual contract call.",
236
235
  "readContract": "Read Contract",
237
236
  "writeContract": "Write Contract",
238
237
  "readAsProxyContract": "Read as Proxy",
@@ -331,6 +330,20 @@
331
330
  "error": "Verification Failed"
332
331
  }
333
332
  },
333
+ "abiVerification": {
334
+ "title": "Submit Signatures",
335
+ "subtitle": "Visible to all users. Recommended for common functions.",
336
+ "description": "Submit Signatures",
337
+ "error": {
338
+ "decodeError": "ABI parsing failed. Error: {{error}}",
339
+ "abiEmpty": "The submitted ABI contains no function definitions and cannot be decoded.",
340
+ "nameRequired": "Missing parameter names. Please complete and retry.",
341
+ "typeNotAllowed": "Only function signatures are supported. Please review and resubmit."
342
+ },
343
+ "placeholder": {
344
+ "abi": "Paste one or more function signatures, including parameter names such as from, to, value. e.g. [\"function transferFrom(address from, address to, uint256 value)\"]"
345
+ }
346
+ },
334
347
  "contractDetail": {
335
348
  "title": "Contract Detail",
336
349
  "content": "Details of contract",
@@ -462,6 +475,7 @@
462
475
  "contractSponsor": "Contract Sponsor",
463
476
  "contractDeployment": "Contract Deployment",
464
477
  "contractVerification": "Contract Verification",
478
+ "abiVerification": "Submit Signatures",
465
479
  "contracts": "Internal Contracts",
466
480
  "chartsAndStatistics": "Charts & Stats",
467
481
  "ecosystem": "Ecosystem",
@@ -1039,7 +1053,8 @@
1039
1053
  "txns": "The number of transactions in this block. Cross space calls are not included in eSpace blocks.",
1040
1054
  "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/",
1041
1055
  "avgGasPrice": "The average gas price of cross space transactions in the block is not included.",
1042
- "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"
1056
+ "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",
1057
+ "methodWarning": "Contract not verified, function name is for reference only."
1043
1058
  },
1044
1059
  "transaction": {
1045
1060
  "hash": "Txn Hash",
@@ -1613,7 +1628,8 @@
1613
1628
  "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.",
1614
1629
  "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 .",
1615
1630
  "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."
1616
- }
1631
+ },
1632
+ "getRawTxJson": "Get raw Tx JSON"
1617
1633
  },
1618
1634
  "address": {
1619
1635
  "balance": "The amount of assets which belong to the address.",
@@ -1708,7 +1724,8 @@
1708
1724
  "112": "Announce Agreement",
1709
1725
  "113": "Withdraw of principal {{value}} CFX",
1710
1726
  "114": "Transfer {{type}} NFT (Token ID: {{id}})",
1711
- "115": "Transfer {{type}} NFT (Token ID: {{id}}, Amount: {{amount}})"
1727
+ "115": "Transfer {{type}} NFT (Token ID: {{id}}, Amount: {{amount}})",
1728
+ "116": "Submit Signatures"
1712
1729
  }
1713
1730
  },
1714
1731
  "tip": "Please connect to Wallet first!"
@@ -204,9 +204,7 @@
204
204
  "license": "{{license}} license",
205
205
  "compilerVersion": "编译版本:",
206
206
  "runs": "{{status}} with {{count}} runs",
207
- "tipLeft": "立刻前往",
208
- "tipCenter": "验证您的合约",
209
- "tipRight": "!",
207
+ "tip": "立即<1>验证并发布</1>你的合约源代码,或<3>提交函数签名</3>,以提升可读性。",
210
208
  "isVerifiedTip": "该合约已验证,源码和 ABI 无法修改"
211
209
  },
212
210
  "code": "合约",
@@ -230,8 +228,9 @@
230
228
  "errorTokenICon": "非 ERC20 合约,通证图标不可上传",
231
229
  "beforeContractSubmitTip": "提交合约信息前,您需连接钱包以确认您是该合约的管理者或拥有者。",
232
230
  "invalidJsonAbi": "无法解析 JSON 文件中的有效 ABI,请重试",
233
- "abiNotUploaded": "没有上传 ABI",
231
+ "abiNotUploaded": "未上传 ABI。你可以通过<1>提交函数签名</1>来帮助解析此交易。",
234
232
  "abiError": "ABI 错误",
233
+ "similarWarning": "当前显示的函数基于用户提交的相似签名生成,可能与实际合约调用不完全一致。",
235
234
  "readContract": "读取合约",
236
235
  "writeContract": "写入合约",
237
236
  "readAsProxyContract": "读取代理合约",
@@ -330,6 +329,20 @@
330
329
  "error": "验证失败"
331
330
  }
332
331
  },
332
+ "abiVerification": {
333
+ "title": "提交函数签名",
334
+ "subtitle": "所有用户可见,推荐用于通用函数。",
335
+ "description": "提交函数签名",
336
+ "error": {
337
+ "decodeError": "ABI 解析失败。错误信息:{{error}}",
338
+ "abiEmpty": "提交的 ABI 未包含函数定义,无法进行解码。",
339
+ "nameRequired": "参数名称缺失,请补全后重试",
340
+ "typeNotAllowed": "仅支持函数(function)类型,请检查后重新提交。"
341
+ },
342
+ "placeholder": {
343
+ "abi": "粘贴一个或多个函数签名,需包含参数名称,如 from、to、value。例如:[\"function transferFrom(address from, address to, uint256 value)\"]"
344
+ }
345
+ },
333
346
  "contractDetail": {
334
347
  "title": "合约详情",
335
348
  "content": "合约详情",
@@ -461,6 +474,7 @@
461
474
  "contractSponsor": "赞助合约",
462
475
  "contractDeployment": "合约部署",
463
476
  "contractVerification": "合约验证",
477
+ "abiVerification": "提交函数签名",
464
478
  "contracts": "内置合约",
465
479
  "chartsAndStatistics": "图表&统计",
466
480
  "ecosystem": "生态",
@@ -1038,7 +1052,8 @@
1038
1052
  "txns": "区块中的交易数量。eSpace区块不包含跨空间调用的交易数量。",
1039
1053
  "cross": "从Core操作eSpace跨空间调用的交易数量。参考链接:http://doc.confluxnetwork.org/docs/espace/build/cross-space-bridge/",
1040
1054
  "avgGasPrice": "eSpace区块的平均燃料价格排除了跨空间调用的交易。",
1041
- "gasLimit": "Conflux eSpace是Conflux完全兼容EVM的空间(链)。纪元中区块高度为5的倍数的区块,用于打包eSpace的交易。区块基础限制为30,000,000,因此纪元的燃料限制:eSpace区块个数*基础限制。"
1055
+ "gasLimit": "Conflux eSpace是Conflux完全兼容EVM的空间(链)。纪元中区块高度为5的倍数的区块,用于打包eSpace的交易。区块基础限制为30,000,000,因此纪元的燃料限制:eSpace区块个数*基础限制。",
1056
+ "methodWarning": "合约未验证,函数名称仅供参考"
1042
1057
  },
1043
1058
  "transaction": {
1044
1059
  "hash": "交易哈希",
@@ -1610,7 +1625,8 @@
1610
1625
  "0": "传统交易: 0x0交易类型是传统交易, 使用 EIP-2718 引入类型交易之前存在的交易格式。交易包含参数: nonce、gasPrice、gasLimit、to、value、data、v、r和s。",
1611
1626
  "1": "访问列表交易: 类型为0x1的交易是EIP-2930引入的交易。除了传统参数外, 还包含一个访问列表参数, 该参数指定了交易计划访问的地址数组和存储键。",
1612
1627
  "2": "EIP-1559交易: 类型为0x2的交易是EIP-1559引入的交易。交易使用协议中在每个Pivot区块动态变化的基础Gas费用, 基础Gas费用会根据Gas目标进行调整, 以应对网络拥塞。"
1613
- }
1628
+ },
1629
+ "getRawTxJson": "获取原始交易JSON"
1614
1630
  },
1615
1631
  "address": {
1616
1632
  "balance": "该地址的资产余额。",
@@ -1705,7 +1721,8 @@
1705
1721
  "112": "通知协议",
1706
1722
  "113": "提取本金 {{value}} CFX",
1707
1723
  "114": "转移 {{type}}数字藏品(通证 ID:{{id}})",
1708
- "115": "转移 {{type}}数字藏品(通证 ID:{{id}},数量:{{amount}})"
1724
+ "115": "转移 {{type}}数字藏品(通证 ID:{{id}},数量:{{amount}})",
1725
+ "116": "提交函数签名"
1709
1726
  }
1710
1727
  },
1711
1728
  "tip": "请先连接钱包!"
package/package.json CHANGED
@@ -1,14 +1,14 @@
1
1
  {
2
2
  "name": "@cfxjs/sirius-next-i18n",
3
- "version": "0.1.23",
3
+ "version": "0.1.24",
4
4
  "files": [
5
5
  "*/**"
6
6
  ],
7
7
  "devDependencies": {
8
8
  "@turbo/gen": "^1.12.4",
9
9
  "typescript": "^5.4.2",
10
- "@cfxjs/sirius-next-typescript-config": "0.0.0",
11
- "@cfxjs/sirius-next-eslint-config": "0.0.0"
10
+ "@cfxjs/sirius-next-eslint-config": "0.0.0",
11
+ "@cfxjs/sirius-next-typescript-config": "0.0.0"
12
12
  },
13
13
  "publishConfig": {
14
14
  "access": "public"