找到约 15 条结果

文章 使用OpenZeppelin编写可升级的智能合约

...ction-to-smart-contracts.html?highlight=delegatecall#delegatecall-callcode-and-libraries))。 当升级合约时,我们所做的是: 1. 部署一个新的 `实现合约` 2. 在 `ProxyAdmin合约 `中升级,将所有对代理的调用重定向到新的实现合约。 Hardhat/Truffle...

文章 AI生存威胁:一位康复中的生物自恋者的反思

...去中心化自治组织(DAOs)](https://medium.com/@trentmc0/ai-daos-and-three-paths-to-get-there-cfa0a4cc37b8#.7u3nx1kbe)来去中心化人工智能。这也意味着,除非我们希望现代世界关闭,否则我们无法切断电源。 这些高级人工智能系统将会有复杂的...

文章 UniSwap-V2合约的数据解析入门

... //这里有两种计价模型, // given an input amount of an asset and pair reserves, returns the maximum output amount of the other asset // 你有amountIn个token-x 计算出能兑换amountOut个token-y function getAmountOut(uint amountIn, uint reserveIn, uint reserveOut) internal pure r...

文章 每周以太坊进展 2023/3/4

... [汇编中的位移位和掩码](https://medium.com/@mweiss.eth/solidity-and-evm-bit-shifting-and-masking-in-assembly-yul-942f4b4ebb6a)(Yul) * [Poseidon-huff](https://github.com/rymnc/poseidon-huff#readme) : Poseidon 哈希函数移植到 Huff * Fe(语言)[v0.21.0-alpha](https://github.c...

文章 使用wolfCrypt实现ECIES椭圆曲线和对称密钥

... byte[] decrypted = new byte[bufferSize]; /* Random context (随机上下文) */ rng = wolfcrypt.RandomNew(); /* Create keys (创建密钥) */ AlicePublicKey = wolfcrypt.EccMakeKey(keySize, rng); AlicePrivat...

文章 Solidity定点库中的问题——Certora漏洞披露

...2023 年 4 月) - [Midas Capital](https://neptunemutual.com/blog/understanding-midas-capital-exploit/) 漏洞(2023 年 6 月) 另请参阅 [ERC-4626](https://eips.ethereum.org/EIPS/eip-4626)(Tokenized Vaults)中关于“安全考虑”的部分,该部分建议在计算 vault shares 时...

文章 剖析非同质化代币ERC721-全面解析ERC721标准

...ich this NFT represents. Consider making any images at a width between 320 and 1080 pixels and aspect ratio between 1.91:1 and 4:5 inclusive.", } } } ``` tokenURI通常是被web3调用,以便在应用层做相应的查询和展示。 ## 可选实现接口:ERC721Enumerable ...

文章 从理论到代码理解Lasso和Jolt

...高 [可验证计算](https://people.cs.georgetown.edu/jthaler/ProofsArgsAndZK.pdf) 的效率和可用性,以实现无信任的分布式系统的承诺,并解决当前 web3 中的一个关键障碍:帮助区块链扩展。尽管提出了许多理论应用,但它们在实践中受限于现有...

文章 SNICKER:一种非交互式比特币混币方案

...dum_ > > _来源: [https://bitcoinmagazine.com/culture/snicker-how-alice-and-bob-can-mix-bitcoin-with-no-interaction](https://bitcoinmagazine.com/culture/snicker-how-alice-and-bob-can-mix-bitcoin-with-no-interaction)_ ![SNICKER, a draft BIP, could allow for bitcoin mixing without any synchronizat...

文章 Namada模块化隐私框架技术深度解析

...方计算 (MPC)](https://www.wipro.com/blockchain/synergizing-blockchain-and-multi-party-computation-to-reimagine-transactions/) 作为运行 [Namada 可信设置 (TS)](https://specs.namada.net/masp/trusted-setup.html) 的一种手段,这项技术类似于 Zcash 之前使用的框架。 ## Namada...

文章 如何用 Solidity 创建一个“Hello World”智能合约

...能合约 在活动栏中,点击“部署和运行事务”(Deploy and run transactions)按钮。 因为我们现在只创建了一个智能合约,侧边栏里 “CONTRACT”(合约) 下拉菜单会自动选择该合约。 单击“部署”按钮。 ## 与智能合约交互 ...

文章 快速开发Solana Action并通过创建Blink在X接收SOL捐赠

...-next npm WARN deprecated inflight@1.0.6: This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful. npm WARN deprecated @humanwhocodes/config-array...

文章 zkvm brainfuck [1] Brainfuck Executor

...::new(); for c in code.chars() { // to allow skipping a loop and jumping back to the loop's beginning, the respective start and end positions // are recorded in the program if c == '[' { // placeholder for position of loop's end, to be filled in once posi...

文章 BlockThreat - 2025年第27周周报

...全仪表板)](https://blog.openzeppelin.com/doubling-down-on-open-source-and-phasing-out-defender)**。 - **[2025 Q2 MistTrack Stolen Funds Analysis(2025 年 Q2 MistTrack 被盗资金分析)](https://learnblockchain.cn/article/18649?source=rss-4ceeedda40e8------2)** by Lisa (SlowMist)。 - **...

文章 filecoin技术架构分析五:filecoin源码分析之协议层心跳协议

...egating information about nodes in a log aggregator // to support alerting and devnet visualization. type Heartbeat struct { // Head represents the heaviest tipset the nodes is mining on Head string // Height represents the current height of the Tipset Height uint64 // Nickname is the nickname ...