找到约 15 条结果

文章 12.slither检测器之四——变量重写检测

...de递归调用`_detect_write_after_write`,同时对遍历到的ir,调用`_handle_ir`处理。 在该函数中使用字典变量written 来记录需要被检测的变量。 1. 如果当前节点处理过,就直接返回;如果当前节点没有处理过,就加入处理过的节点集合。 ...

文章 Move on Sui入门 004-在sui链上发布Coin合约和Faucet Coin合约

...:public_transfer()方法转移代币 + 第二种方法:使用coin::mint_and_transfer()方法铸造并转移代币 + 以上两种方法都要传入铸币权限、铸币数量、接收者地址和 TxContext交易上下文对象 ``` // 铸造代币函数,需要参数:铸币权限、铸币...

文章 AO-Autonomous-Pet v1.0 | AO 极速入门(二)

...------------------------------------------+---------+           | Handlers            +------------- Create/Read/Write for Pet             ------- ☝️ on-chain ☝️ ------- 👇 off-chain 👇 -------                 +------------+  +------------+  +-----...

文章 Bitcoin Optech 周报 2025 年度回顾特别版

...://bitcoinops.org/zh/newsletters/2024/08/09/#statistics-on-compact-block-reconstruction) 的项目中的第一个,研究比特币节点如何使用 [致密区块中继](https://bitcoinops.org/en/topics/compact-block-relay/)(BIP152)有效地重建区块,更新了之前的测量并探索了潜...

文章 freqtrade智能挂单策略,让你的资金利用率提升 50%+

... - False 表示继续等待成交 """ if trade.open_rate > 100 and trade.open_date_utc < current_time - timedelta(minutes=5): return True elif trade.open_rate > 10 and trade.open_date_utc < current_time - timedelta(minutes=3): return True elif trade.open_rate ...

文章 深入探索 Cairo 编程语言:Starknet 的基础与实践

...at you can perform time consuming operations on a machine you don't trust, and check the result very quickly on a cheaper machine. While Cairo 0 used to be directly compiled to CASM, the Cairo CPU assembly, Cairo 1 is a higher level language. It first compiles to Sierra, an intermediate representati...

文章 电信行业通过基于属性的加密(ABE)迈向后量子时代

...话密钥,其中 R() 是策略 X 和 Y 的布尔规则。这可以包括 AND、OR 和 NOT 运算。 ### CP-ABE 通过 CP-ABE,我们可以根据策略和一组属性生成加密密钥。在这种情况下,我们只能使用正确的属性生成正确的解密密钥。我们将实施的政策...

文章 现代 DeFi: Uniswap V4

...er 12 bytes are non-zero, they will be zero-ed out // Therefore, fromId() and toId() are not inverses of each other function fromId(uint256 id) internal pure returns (Currency) { return Currency.wrap(address(uint160(id))); } ``` 这两段函数较为简单,但注释指出 `fromId()` ...

文章 Zama 产品发布 - 2024 年 7 月

...s://www.zama.ai/post/tfhe-rs-v0-7-ciphertext-compression-multi-gpu-support-and-more) ### Concrete v2.7 Concrete v2.7 引入了第一个可以加速 GPU 计算的 wheel!在这个新版本中,我们还扩展了对函数组合的支持,并在 Python 前端为用户添加了几个新功能...

问题 Chainlink节点部署中,遇到ETH ChainID与Config.ChainID不吻合的问题

...cker.go:258 runtime.goexit /usr/local/go/src/runtime/asm_amd64.s:1374` and also i have this information : ``` ``` [INFO] HeadTracker: Head 22528634 is lagging behind, there are 2 more heads in the queue. Your node is operating close to its maximum capacity and may start to miss jobs. ser...

问题 请教一下GnosisSafe多签钱包开发的问题

...es32 txHash; // Use scope here to limit variable lifetime and prevent `stack too deep` errors { bytes memory txHashData = encodeTransactionData( // Transaction info ...

文章 ROP-9:抗审查性/FOCIL

...责其构建。 这可能会导致贿赂或敲诈勒索攻击,如“[Fun and games with inclusion lists](https://ethresear.ch/t/fun-and-games-with-inclusion-lists/16557)”中所述。 通过将构建 inclusion set 的责任分配给委员会而不是单个领导者,我们不再依赖于单个...

文章 现代 DeFi: Uniswap V4

...per 12 bytes are non-zero, they will be zero-ed out // Therefore, fromId() and toId() are not inverses of each other function fromId(uint256 id) internal pure returns (Currency) { return Currency.wrap(address(uint160(id))); } ``` 这两段函数较为简单,但注释指出 `fromId()` 和 `toI...

文章 解释当前跨链桥的四大趋势

...查询所有集成的解决方案(无论是 intents、AMMs 还是 mint-and-burn 模型),并返回其报价。这些会以菜单的形式呈现给用户,并根据用户的偏好,首选最佳汇率或最快的执行时间。 非常感谢 [Octave](https://x.com/OctavioNotPunk)(Jumper 的...

文章 Sui Move 简易版扫雷

...: ```move fun init(otw: ADMIN, ctx: &mut TxContext) { // create and transfer Publisher package::claim_and_keep(otw, ctx); // create and transfer GameCap let game_cap = GameCap { id: object::new(ctx), balance: balance::zero(), publisher_address: ...