找到约 15 条结果

文章 DeFi 滑点攻击

...a.com/reports/2022-05-rubicon/#h-07-rubiconrouterswapentirebalance-doesnt-handle-the-slippage-check-properly), [2](https://code4rena.com/reports/2021-11-vader#h-31-unused-slippage-params), [3](https://solodit.xyz/issues/10773), [4](https://code4rena.com/reports/2021-10-mochi#h-12-feepool-is-vulnerab...

文章 用于 CoW Swaps 的 Tally 配方 - CoW DAO

...oW Swap 和 Tally 呈现:用于 CoW Swaps 的 Tally Recipe ![2-cow-swap-and-tally-present.webp](https://img.learnblockchain.cn/2025/05/14/2_cow_swap_and_tally_present_a1c0a92d1d.webp) **用于 CoW Swaps 的 Tally Recipe 依赖于** [**Milkman**](https://github.com/charlesndalton/milkman) **,...

文章 通过 Safe {Wallet} 和 Gelato 集成体验无 Gas 交易

... [1Balance](https://docs.gelato.network/developer-services/relay/payment-and-fees/1balance) 和 [SyncFee](https://docs.gelato.network/developer-services/relay/payment-and-fees#syncfee) 提供 gasless 体验。 这种合作关系代表着在增强用户体验和扩大 web3 社区内创新解决方...

文章 UniswapV2Library 代码详解

...`getAmountIn()` 的推导留给读者练习。 ![functions getAmountOut and getAmountIn](https://img.learnblockchain.cn/2025/02/26/935a00_b9765b82621d404db1c740090b34e402~mv2.jpg) ## 链接 getAmountOut() 到 getAmountsOut() 进行对跳 ### getAmountsOut() 和 getAmountsIn() 如果一...

文章 BOLT 3:比特币交易和脚本格式

...t) * [`to_local_anchor` 和 `to_remote_anchor`](#to_local_anchor-and-to_remote_anchor-output-option_anchor_outputs) * [发起的 HTLC 输出](#offered-htlc-outputs) * [接收的 HTLC 输出](#received-htlc-outputs) * [修剪后的输出](#trimmed-outputs) * ...

文章 有限域F p上的MiMC-Feistel(双分支Feistel网络)

...r, C., Roy, A., & Tiessen, T. (2016, November). MiMC: Efficient encryption and cryptographic hashing with minimal multiplicative complexity. In International Conference on the Theory and Application of Cryptology and Information Security (pp. 191–219). Berlin, Heidelberg: Springer Berlin Heidelber...

文章 [译]Chainlink去中心化预言机桥接区块链与现实世界

...021db21e1B2A077c5a37B3C7E75D15b7e); }... /* * Create a request and send it to default Oracle contract */ function createRequest( bytes32 _jobId, string _url, string _path, int256 _times ) public onlyOwner returns (bytes32 requestId) { ...

文章 最大可行安全性:以太坊发行的新框架 - 权益证明/经济学

...-for-ethereum-issuance/19992#h-11-ethereum-has-a-clear-goal-build-a-secure-and-sovereign-distributed-system-for-everyone-4) - [1.2. 多样化的质押经济是关键](https://ethresear.ch/t/maximum-viable-security-a-new-framing-for-ethereum-issuance/19992#h-12-a-diverse-staking-economy-is-key-5) ...

文章 DeFi 开发者:如何调用NEST预言机价格数据

...效区块号 ``` **获取价格(最新)** ``` function updateAndCheckPriceNow(address tokenAddress) public payable returns(uint256 ethAmount, uint256 erc20Amount, uint256 blockNum) { require(checkUseNestPrice(address(msg.sender))); mapping(uint256 => PriceInfo) storage ...

文章 智能合约安全 - 常见漏洞(第二篇)

...数可以被利用。 ```solidity contract UnsafeDice { function randomness() internal returns (uint256) { return keccak256(abi.encode(msg.sender, tx.origin, block.timestamp, tx.gasprice, blockhash(block.number - 1); } // our dice can land on one of {0,1,2,3,4,5}functio...

文章 Solana交易生命周期与Sui对象运行时的比较

...过程称为[流水线](https://learnblockchain.cn/article/10884#pipelines-and-data-parallelism),并且交易在其生命周期的不同阶段所处的位置称为阶段。 #### 一笔 Solana 交易 在 Solana 上,交易是由 `Message` 的帐户密钥的第一个密钥签名的序列化消息...

文章 卡尔达诺向波卡和Substrate的转变——革命性区块链互操作性

...里免费观看!](https://medium.com/@bloqarl/cardanos-move-to-polkadot-and-substrate-revolutionizing-blockchain-interoperability-1821e2378cfd?sk=0f98f8146cb6f31361ab1e6ceb06f4cf) 在数字转型不仅仅是一个流行词而成为一种必要的时代,区块链领域正在以前所未有的速...

文章 BIP 119 以及如何变更比特币的共识规则

...gs_ > > _来源: [https://bitcoinmagazine.com/technical/exploring-bip119-and-changes-made-to-bitcoin](https://bitcoinmagazine.com/technical/exploring-bip119-and-changes-made-to-bitcoin)_ 在过去几周中,有一股力量在推动以 “BIP 119” 或说 “CTV” 为名的比特币升级提议...

文章 怎样通过 Etherscan 验证智能合约

...chain.cn/attachments/2022/09/dDr0xmT563159a848de0d.png) 点击“Verify and Publish”这个蓝色的链接,下面这个页面会出现。 ![1-4.png](https://img.learnblockchain.cn/attachments/2022/09/o9FebGXw63159ab2e542d.png) 在第一个输入栏中输入你的合约地址,如果...

文章 什么是 Sepolia 测试网?

...Base Sepolia ETH from a Faucet\\ \\ Building on Base? Get free Sepolia ETH and start testing your dApp!](https://www.alchemy.com/overviews/get-base-sepolia-eth) [![Featured content card overlay](https://img.learnblockchain.cn/2025/04/16/card-overlay.svg)\\ \\ Testnets\\ \\ How to Migrate from Goerli...