找到约 15 条结果

文章 ⚡ Gas消耗战:可以节省数百万美元的Solidity终极优化手册

...ternal pure returns (bool equal) { assembly { equal := and( eq(a.length, b.length), eq(keccak256(a.offset, a.length), keccak256(b.offset, b.length)) ) } } // 🚀 高级:自定义内存管理 function customMemory...

文章 转发信息:深入探讨IBC转发器的操作

...将因 [IBC номinals](https://tutorials.cosmos.network/tutorials/understanding-ibc-denoms/) 的工作方式而变得不可替代,这是应该避免的。除非你在帮助链设置 IBC,否则很可能已经建立了一个规范通道。在不确定时,你可以通过 [Map of Zones](https://...

文章 稳定币的结构性辩论[第一部分]

...以构建它。”** ## 引用 \[1] Brunnermeier, M. K., James, H., & Landau, J. P. (2019). The Digitalization of Money. NBER 工作论文第 26300 号。 美国国家经济研究局。 \[2] Eichengreen, B., 等人 (2019). Digital Currency Areas. CEPR 讨论文件第 DP14065 号。 经济政策...

文章 OP-Stack:构建区块链的最简单框架

...ETHGlobal](https://www.ethglobal.com/showcase/opclave-opstack-impr-erc4337-and-apple-sign-94def)) 以太坊支持椭圆曲线 secp256k1 上的椭圆曲线数字签名算法 (ECDSA)。但是,这要求通过新部署的智能合约处理其他椭圆曲线的验证,因此导致了大量的验证...

文章 基于TEE的智能合约及封闭陷阱

...a-Network/phala-blockchain/blob/f3798d2d882f3621d20d7fd3581c138f3e3328b5/standalone/pruntime/enclave/src/pal_sgx.rs#L651) 但是,他们对 MRSIGNER 问题的详细讨论还包括一个更复杂的升级流程,即需要委员会和/或门卫的多数签署,并要求在链上发布程序。他...

文章 什么是跨链智能合约?

...1 区块链、侧链和 [layer-2 rollups](https://blog.chain.link/arbitrum-and-chainlink-fair-sequencing-services/) 上的智能合约采用迅速增加,以满足用户和开发者的需求。多链生态系统曾经只是一种理论,但现在已成为一种明确的现实,DeFi 生态系统...

文章 发送无 Gas 交易 - OpenZeppelin 文档

...} // We won't do any pre or post processing, so leave _preRelayedCall and _postRelayedCall empty // 我们不会进行任何预处理或后处理,因此保持 _preRelayedCall 和 _postRelayedCall 为空 function _preRelayedCall(bytes memory context) internal returns (bytes32) { } ...

文章 区块链中的智能合约是什么?

...节码和 ABI,请阅读 [该博客](https://blog.chain.link/what-are-abi-and-bytecode-in-solidity/)。 ### **什么是智能合约预言机?** [智能合约预言机](https://learnblockchain.cn/article/18908) 为智能合约提供与链下数据、计算和系统的连接,这对于开发者...

文章 Solidity编码规范汇总篇

... payable function burn(uint256 tokenId) external payable; function createAndInitializePoolIfNecessary( address token0, address token1, uint24 fee, uint160 sqrtPriceX96 ) external payable returns (address pool); // external function function mint( address recipient, ...

文章 通过模块化架构商品化补充品(commoditising complements)

...Rollups-as-a-Service (RaaS) 的关系。[如前所述](https://x.com/0xRainandCoffee/status/1753124765848785119),我们视共享排序工具为未来首屈一指的RaaS提供商。它们能够以更低的成本提供服务,并增加了组合性。除此之外,这也使得RaaS提供商(共享...

文章 量化MEV:介绍MEV-Explore v0

...的研究论文 [_Flash Boys 2.0: Front Running, Transaction Reordering, and Consensus Instability in Decentralized Exchanges_](https://arxiv.org/abs/1904.05234) 中引入,意为 _矿工_ 可提取价值。然而,MEV 在所有智能合约区块链上都存在,只要有方对交易排序负责...

文章 设计Espresso网络:将HotShot共识与Espresso的数据可用性层结合起来

...问题。因此,这排除了基于小委员会的解决方案,如 Algorand。原因是攻击者可以贿赂一个委员会,永久性地偏向于一个信标,或阻止数据可用性。另一方面,观察到一个拥有无限贿赂预算的攻击者可能过于强大并无法应对。因此...

文章 以太坊 - zkEVM - Yezhang

...以为 zk 不友好的原语节省大量资金(即,按位运算,如 AND、XOR 等)。 [自定义 gadget](https://kobi.one/2021/05/20/plonk-custom-gates.html) 允许你有效地执行高度约束。 [TurboPlonk](https://docs.zkproof.org/pages/standards/accepted-workshop3/proposal-turbo_plonk....

文章 Initia:Initia Layer 2网络的技术架构

... Layer 1](https://coinbay.io/en/what-is-initia-a-project-combining-layer-1-and-layer-2-on-cosmos-28626),来自 Coinbay) ## Intitia 核心应用 Initia 平台使用了几个核心应用程序,包括: - **Initia 钱包**:[Initia 钱包](https://chromewebstore.google.com/detail/ffbceckpkpb...

文章 比特币共识分叉全史

...些术语被认为始创于 [2012 年 4 月](https://gist.github.com/gavinandresen/2355445),并在 [BIP99](https://github.com/bitcoin/bips/blob/master/bip-0099.mediawiki) 和 [BIP123](https://github.com/bitcoin/bips/blob/master/bip-0123.mediawiki) 中得到正式表述。 ## 比特币共识分叉...