找到约 13 条结果

文章 [译]Solidity 0.7.0 新变化

...dity.readthedocs.io/en/latest/types.html?highlight=ascii# String -literals-and-type)将抛出解析器错误。 * 需要表达ASCII以外的字符串变量现在应该显式键入`unicode`字符串。它们用`unicode`前缀来标识(例如:`unicode`)。 (例如. `unicode"Text, including emoj...

文章 Vyper - 编译器 - 调查结果报告

... not atyp.compare_type(btyp): return False if return_type and not return_type.compare_type(other_return_type): # type: ignore return False if self.mutability > other.mutability: return False return True ``` 如果我们看一下 mutability 枚举,我们...

文章 通过逆向和调试深入EVM #6 - 完整的智能合约布局

> * 原文链接: https://trustchain.medium.com/reversing-and-debugging-part-6-full-smart-contract-layout-f236c3121bd1 > * 译文出自:[登链翻译计划](https://github.com/lbc-team/Pioneer) > * 译者:[翻译小组](https://learnblockchain.cn/people/412) 校对:[Tiny 熊](https://lear...

问题 我正在学习solidity,在写完这个合约,编译报错TypeError: Contract "ERC20" should be marked as abstract.请问要如何修改

... | 32 | contract ERC20 is IERC20{ | ^ (Relevant source part starts here and spans across multiple lines). Note: Missing implementation: --> contracts/ERC20.sol:25:5: | 25 | function transferFrom(address sender,address recipient,uint amount) external returns (bool); | ^^^^^^^^^^^^^^^^^^^^^^^^...

文章 Aptos Move 性能优化:位运算与移位操作实战

...写更紧凑、更高效、更专业的代码。 ## Aptos Move Bitwise and Bitshift Operations ### Bitwise(位运算):直接对二进制位进行操作,常见运算包括: - 与(&):两位都为1时结果为1,否则为0。 - 或(|):两位任一为1时结果为1...

文章 Solidity 0.7.0 更新点

...lidity.readthedocs.io/en/latest/types.html?highlight=ascii#string-literals-and-types)内容时,会触发解析器错误。 * 现在,如果需要表达比ASCII更多的字符串文字应该显式以`unicode`前缀标识(例如,`unicode"Text, including emoji! 🤓"`)。 * 派生合约不...

文章 Noir的背后:从代码到约束

...rs#L68) 中找到: ``` - input: points (witness, N) a vector of x and y coordinates of input points `[x1, y1, x2, y2,...]`. scalars (witness, N) a vector of low and high limbs of input scalars `[s1_low, s1_high, s2_low, s2_high, ...]`. (witness, N) For Barretenberg, they must bo...

文章 BOLT 1:基础协议

...大端序。 ### 目录 * [连接处理和多路复用](#connection-handling-and-multiplexing) * [闪电消息格式](#lightning-message-format) * [类型-长度-值 格式](#type-length-value-format) * [基本类型](#fundamental-types) * [设置消息](#setup-messages) * [`init` ...

文章 近7000万美元被盗:Curve被攻击事件分析

....55 alETH (约 900 万美元) msETH/ETH:866.55 WETH (约 160 万美元) and 959.71 msETH (约 180 万美元) pETH/ETH:6,106.65 WETH (1100 万美元) 接下来我们通过举例CRV/ETH池来分析一下攻击路径。 CRV/ETH 池涉及2笔攻击交易(第二笔是白帽交易)。 *...

文章 每周以太坊 2024/12/28

...所 5 月$300M 盗窃案](https://www.fbi.gov/news/press-releases/fbi-dc3-and-npa-identification-of-north-korean-cyber-actors-tracked-as-tradertraitor-responsible-for-theft-of-308-million-from-bitcoindmmcom) 由朝鲜黑客实施 > 永久链接:https://weekinethereumnews.com/week-in-ethereum...

文章 什么是Solana SPL代币扩展,以及如何开始使用?

...w3ZcUB?prefill_Guide+Name=What%20are%20Solana%20SPL%20Token%20Extensions%20and%20How%20to%20Get%20Started%3F) 如果你有任何反馈或对新主题的请求。我们期待你的回复。 >- 原文链接: [quicknode.com/guides/sol...](https://learnblockchain.cn/article/11196-development/spl-toke...

文章 Gains Network代币经济模型的演变:引入回购与分配

...um.com/gains-network/evolving-gains-network-tokenomics-introducing-buyback-and-distribute-c15ce1fa8fdb) >- 登链社区 AI 助手,为大家转译优秀英文文章,如有翻译不通的地方,还请包涵~

文章 30的魔数——DER格式揭示我们的密码学魔力

...49.1.1.1” (X509 RSA)、“1.2.840.10040.4.1” (X509 Digital Signature Standard -DSS) 和 “1.2.840.10046.2.1” (Diffie-Hellman — DH)。以下是对象 ID 的十六进制序列示例,其中我们有 “06” 标签,后跟一个七个字节的标识符 (“07”),然后是七个字节的...