找到约 15 条结果

文章 ETH 中继接口

...ta of a transaction. // // This is implemented by DynamicFeeTx, LegacyTx and AccessListTx. type TxData interface { txType() byte // returns the type ID copy() TxData // creates a deep copy and initializes all fields chainID() *big.Int accessList() AccessList data() []byte gas() uint...

文章 Ethernaut 题库闯关 #20 — Shop

... Exploiter exploiter = new Exploiter(); // trigger the exploit and buy the item exploiter.buy(level); // assert that we have solved the challenge assertEq(level.isSold(), true); vm.stopPrank(); } ``` 你可以打开[Shop.t.sol](https://github.com/StErMi/fou...

文章 Kintsugi合并测试网发布公告

...的客户端和规范版本中。 ## 使用 Kintsugi 查看 [Kintsugi landing page](https://kintsugi.themerge.dev/),获取有关与 Kintsugi 网络交互的信息。你将找到网络设置、一个 faucet、一个区块浏览器和一个 JSON-RPC endpoint,以及更新的文档,以反映支...

文章 应用EIP712

....substring(128, 130), 16); // The signature is now comprised of r, s, and v. } ); ``` 请注意,在撰写本文时,MetaMask 和 Cipher Browser 在 method 字段中使用`eth_signTypedData_v3`,以便向后兼容,DApp生态系统就采用这个标准。这些钱包的未来版...

文章 Phala:透明且私密的全球计算云

... [无信任计算云](https://medium.com/phala-network/phala-transparent-and-private-global-computation-cloud-2d80c70ad1e9) 创建了基础设施。 作为 [Polkadot](https://polkadot.network/technology/) 跨链生态系统的成员平行链,Phala 将能够 **为其他区块链应用提供计算...

文章 Fuel: 专注模块化的执行层

> * 原文链接: https://rainandcoffee.substack.com/p/the-fuel-for-fast-execution > * 译文出自:[登链翻译计划](https://github.com/lbc-team/Pioneer) > * 译者:[翻译小组](https://learnblockchain.cn/people/412) 校对:[Tiny 熊](https://learnblockchain.cn/people/15) > * 本...

文章 当面试官问你Uniswap的时候,你应该想到什么?

...e1); if (feeOn) kLast = uint(reserve0).mul(reserve1); // reserve0 and reserve1 are up-to-date } ``` 可以看到,要让图中点A移动到点B,通过调用Uniswap中的Mint函数实现。如图中A点所示,其TokenX=2, TokenY=5000, 在保证$dy/dx$不变的情况下,即价...

文章 分析一个scam合约

...用合约赚钱的帖子 “Make +1200$ a day passive income with Solidity and Uniswap” ,咋一看以为是闪电贷套利之类的,但还是很好奇就点进去看了下具体是怎么玩的。(视频在油管上 BVLAbJbT59w ,完整代码在 https://rentry.co/uvdx4/raw ) 视频的...

文章 Solidity 变异测试

...ole#h-01-bad-implementation-in-minter-access-control-for-rabbitholereceipt-and-rabbitholetickets-contracts)。 ## 超出边界的错误和边界条件 变异测试可以用来捕获超出边界的错误。考虑以下变异: ```solidity uint256 public LIMIT = 5; // 原始 function mint(uint256...

文章 🎥 什么是LayerZero以及如何使用它?

...KKP7O1Uw3ZcUB?prefill_Guide+Name=%F0%9F%8E%A5%20%20What%20is%20LayerZero%20and%20How%20to%20Use%20it%3F) 如果你有任何反馈或对新主题的请求。我们很乐意听取你的意见。 >- 原文链接: [quicknode.com/guides/cro...](https://www.quicknode.com/guides/cross-chain/layerzero/...

文章 CertiK Hack3D: Web3.0 年度安全报告(2024)

...》(MiCA)](https://www.esma.europa.eu/esmas-activities/digital-finance-and-innovation/markets-crypto-assets-regulation-mica),为成员国间建立了统一的监管框架。MiCA对透明度、流动性和消费者保护的要求旨在促进创新的同时,确保Web3.0市场的完整性。 ...

文章 以太坊核心开发者执行会议第184次会议记录

...%20of%20two%20retroactive%20EIPs%20in%20Prague%2FElectra%2C%20EIP%207610%20and%207523.%20) - [Email](mailto:email@email.com?Subject=Read:%20Ethereum%20All%20Core%20Developers%20Execution%20Call%20%23184%20Writeup&body=Ethereum%20All%20Core%20Developers%20Execution%20Call%20%23184%20Writeup%0D%0AThi...

文章 8款行业领先智能合约审计和安全工具

...使用的工具](https://github.com/shanzson/Smart-Contract-Auditor-Tools-and-Techniques)。我们强烈推荐。 ## 结论 在这份顶级智能合约审计和安全工具清单中,我们看到了八种不同的工具,你不应该错过它们在你的工具箱中的位置! 每种工...

文章 原生 Rollup:现状与未来

...该博客文章: > **_这意味着对 eth2 采取“_** [**_phase 1.5 and done_**](https://ethresear.ch/t/phase-one-and-done-eth2-as-a-data-availability-engine/5269) **_”方法,其中基础层收缩并专注于做好几件事——即共识和数据可用性。_** 在该愿景中,鼓...

文章 optimism fault-proof背后的机制(五):op-challenger

...ubscription is returned, // but is only used to create the subscription, and does not affect the returned subscription. return func(ctx context.Context, err error) (event.Subscription, error) { if err != nil { m.logger.Warn("resubscribing after failed L1 subscription", "err", err) } ...