找到约 13 条结果

文章 多标量乘法的带符号桶索引

...进位! if (s[i] >= L/2) { s[i] = L - s[i]; // note: we subtract L and negate at once // 注意: 我们同时减去 L 并取反 carry = 1; addToBucket(-point, s[i]); // use negated point // 使用取反的点 } else { carry = 0; addToBucket(point, s[i]); } } ``` 警告...

问题 关于宠物商店Dapp案例实现的问题报错Contract has not been deployed to detected network (network/artifact mismatch)

...tion.setProvider(App.web3Provider); // Use our contract to retrieve and mark the adopted pets return App.markAdopted(); }); return App.bindEvents(); }, bindEvents: function() { $(document).on('click', '.btn-adopt', App.handleAdopt); }, markAdopted: function(ado...

文章 每周以太坊进展2021/10/23

...比 Arbitrum 和 Optimism 的错误性证明](https://medium.com/@cpbuckland88/fraud-proofs-and-virtual-machines-2826a3412099) - 论文:[带验证功能的桥接系统](https://stonecoldpat.github.io/images/validatingbridges.pdf) ## 开发者材料 - js-ethereum-cryptography [v0.2.0](https:...

文章 深入解析Starknet Bolt升级

...icative-recursion/113868?ref=ghost-2077.arvensis.systems#:~:text=Present%20and%20future-,Present,-We%20start%20off),理论上可以通过将上述相同的递归技术应用于制作多个区块的证明来降低。 区块打包通过使用递归证明的二叉树来解决这些问题。我们将...

文章 Eth2 进展更新 (截至 2021/9/24)

...露一个消息](https://hackmd.io/@benjaminion/rJ8ddAY7t#Spec-discussion-and-AOB):一群 Eth1 和 Eth2 团队将于 10 月初会面,以运行某些合并的开发者测试网。自[两年前](https://twitter.com/benjaminion_xyz/status/1435706236612272129)两个团队一起工作以来,这将...

文章 每周以太坊进展 2020/03/09

...用 Solc v0.6.3 * [理解事件日志](https://medium.com/mycrypto/understanding-event-logs-on-the-ethereum-blockchain-f4ae7ba50378) * [用于快速部署前端的 Terminal 和 IPFS](https://medium.com/coinmonks/terminal-co-ipfs-web3-deployment-simplified-da70efee7e74) * [Argent 提供的可快...

文章 【Astar系列】#2:Astar zkEVM,实现可扩展性和互操作性

...on.technology/blog/astar-zkevm-built-with-polygon-cdk-connects-to-agglayer-and-taps-unified-liquidity-with-polygon-zkevm)。 ### **3.2 Astar zkEVM 架构** ![](https://img.learnblockchain.cn/2025/06/05/1713971875660.png) Astar zkEVM 是使用 Polygon CDK 构建的链,并使用与 Polygon ...

问题 用pancakeswap交易自己的带回流跟分红功能的代币,卖出代币以及添加流动性正常,但是买入跟撤出流动性就失败了

...ess"); console.log(from,to,amount); console.log('inSwapAndLiquify',inSwapAndLiquify); console.log(balanceOf(from),balanceOf(to)); require(amount > 0 && amount = _tTotalMaxFee) { takeFee = false; }else{ //必须...

文章 Solidity中的call和staticcall

...Foo(address payable _addr) public payable { // You can send ether and specify a custom gas amount (bool success, bytes memory data) = _addr.call{value: msg.value, gas: 5000}( abi.encodeWithSignature("foo(string,uint256)", "call foo", 123) ); emit Re...

文章 关于Fluid DEX上智能抵押和智能债务如何运作的简单解释

...s://medium.com/@neyebushlyukh/a-simple-explanation-of-how-smart-collateral-and-smart-debt-work-on-fluid-dex-d6d4d3a51a60) >- 登链社区 AI 助手,为大家转译优秀英文文章,如有翻译不通的地方,还请包涵~

文章 使用Dune Analytics制作个人资产看板

...245d35ff8F1a207aC83BE7EEa911abeEE' -- 交易的发出地址为 V神钱包 and value/1e18 > 0.1 -- 转账金额 > 0.1 ETH order by "block_time" desc ``` ![image.png](https://img.learnblockchain.cn/attachments/2022/09/YnJhUPcC63212b59e715a.png) #### 4、欧皇每天发出的ETH累计求和...

文章 深入理解 Solidity 错误 #3 - 错误处理

... * 原文链接: https://jeancvllr.medium.com/solidity-all-about-errors-handling-99f7f02c17d > * 译文出自:[登链翻译计划](https://github.com/lbc-team/Pioneer) > * 译者:[Tiny 熊](https://learnblockchain.cn/people/15) > * 本文永久链接:[learnblockchain.cn/article…](https:...

文章 zkSnark教程:从方程到验证

...ritten successfully: .\mult.sym Written successfully: .\mult_cpp\mult.cpp and .\mult_cpp\mult.dat Written successfully: .\mult_cpp/main.cpp, circom.hpp, calcwit.hpp, calcwit.cpp, fr.hpp, fr.cpp, fr.asm and Makefile Written successfully: .\mult_js\mult.wasm Everything went okay, circom safe ``...