找到约 12 条结果

文章 如何更新一个支付通道的余额

...This%20script%20unlocks%20a%20P2WSH.%20Click%20the%20%27Edit%27%20button%20and%20manually%20set%20the%20type%20to%20P2WSH%20in%20order%20to%20view%20the%202-of-2%20multisig%20script.&tx_output_0_note=%5BTo%20Local%5D%20Output%20sends%20funds%20back%20to%20the%20owner%20(Alice)%20of%20this%20commitme...

文章 Rust编程语言之Cargo、Crates.io详解

... name = "closure" version = "0.1.0" edition = "2021" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] [profile.dev] opt-level = 1 [profile.release] opt-level = 3 ``` 执行 ```bash closure on  master [?] is ...

文章 账户抽象 - OpenZeppelin 文档

... uint256 nonce; bytes initCode; // concatenation of factory address and factoryData (or empty) bytes callData; bytes32 accountGasLimits; // concatenation of verificationGas (16 bytes) and callGas (16 bytes) uint256 preVerificationGas; bytes32 gasFees; // concatenation of maxPr...

文章 技术详解 | Divide and Conquer:ZK除法中隐藏的漏洞

![](https://hx24-prod.mars-block.com/image/crawler/2024/09/10/1725936355186003.jpg) ## **ZK的崛起与演变** 曾几何时,零知识证明(以下简称ZK)仍然被认为是密码学教科书中的理论概念,至少在传统安全研究中很少被主流社群深入探索。然而在...

文章 算法稳定币的安全性:Magic Internet Money

...[参见 MakerDAO 案例](https://decrypt.co/23027/makerdao-what-went-wrong-and-how-it-was-fixed))。 ## №3\. 预言机弱点 检查适用的内容: 1. 闪电贷价格操控。 2. 低交易量市场价格操控。 3. TWAP 操控。你可以查看 [Rari Fuse VUSD 价格操控黑客](h...

文章 案例分析:著名艺术品的成功通证化

...化 [NFT 和现实世界资产](https://medium.com/@bryan.cage1212/nfts-and-real-world-assets-tokenizing-physical-property-and-collectibles-8106ea43a674) RWA 在[艺术品和收藏品通证化](https://blockapps.net/blog/tokenizing-art-and-collectibles-a-complete-guide/)市场中的优势包括:...

文章 分析BFT与提议者承诺的预确认

...供哪些类型的预确认[\[1\]](https://hackmd.io/@EspressoSystems/bft-and-proposer-promised-preconfirmations#fn1)。 ### 用户与preconfers之间的交换 获取PP预确认分为三个步骤: **步骤1:发送预确认请求**。用户向下一位preconfer发送一个 _预确认请求_(...

文章 Basis,去中心化央行?

...定数字货币相关的文章,其中一篇文章 [What is a Stablecoin, and Why Does It Matter?](https://www.sfox.com/blog/what-is-a-stablecoin-and-why-does-it-matter/) 中提到的 [basis](http://www.basis.io/) 引起了我的兴趣。basis 试图提供一种基于算法协议且具备中央银...

文章 OmniBOLT和闪电网络:加密货币的正发生与未来

...发明了闪电网络: 1. Christian Decker, Roger Wattenhofer, A Fast and Scalable Payment Network with Bitcoin Duplex Micropayment Channels [2] 2. Joseph Poon, Thaddeus Dryja, The Bitcoin Lightning Network: Scalable Off-Chain Instant Payments [3] 2016 年,BOLT 协议由多个组织共...

文章 闪电贷:你需要知道的一切

... of a flash loan including the deposit, the contract, asset movement, fee, and contract.](https://img.learnblockchain.cn/attachments/migrate/1728370840863 "闪贷机制的高层图表") 闪电贷的机制相当简单。以下是一个 USDC( [美元挂钩稳定币](https://www.youtube.com/watc...

文章 关于 solidity storage layout 的理解

...ublic pure returns(bytes32) { // 1) left pad with 0 both the key and the mapping declaation index storage before concatenating. // 2) concatenate the key with the mapping declaration index in storage. // 3) Calculate the keccak256 hash of that concatenation. That's the ...

文章 DCF&DCT tokens: The Tragedy of the Forced Investment Incident(2)

...pool, 5% of tokens are automatically swapped for USDT within the same pool and then added as liquidity to the USDT-DCT pool. This action triggers a swap in the USDT-DCT pool, which can be manipulated, enabling attackers to execute sandwich attacks for profit. - Note that in this attack, "forced inv...