找到约 15 条结果

文章 自动做市商(AMMs)的演变

...et/publication/279714212_A_dynamic_pari-mutuel_market_for_hedging_wagering_and_information_aggregation)(2004)、 [预测市场](http://blog.oddhead.com/2006/10/30/implementing-hansons-market-maker/)(2006)、 [贝叶斯](http://www.eecs.harvard.edu/cs286r/courses/fall12/papers/bmm-ec.pdf)...

文章 Balancer漏洞解析:哪里出了问题,以及为何v3是安全的

...a swap for example the balance of // token in should be rounded up, and that of token out rounded down. This is the only place where we round in // the same direction for all amounts, as the impact of this rounding is expected to be minimal (and there's no // rounding error unle...

文章 Solidity 如何实现质押和奖励合约

> * 原文链接: https://hackernoon.com/how-to-implement-a-stake-and-reward-contract-in-solidity > * 译文出自:[登链翻译计划](https://github.com/lbc-team/Pioneer) > * 译者:[翻译小组](https://learnblockchain.cn/people/412) 校对:[Tiny 熊](https://learnblockchain.cn/people...

文章 如何安装和运行一个 Geth 节点

...和命令,请访问[这里](https://geth.ethereum.org/docs/interface/command-line-options/)。 ## 结论 运行节点有助于使以太坊网络更具弹性。更多的独立节点,更好的去中心化。我们在 QuickNode 为数百名客户运行节点。如果你在按照本教程的步骤...

文章 DEFI - COMP COMP COMP

...erhman Kohli/DeFi Weekly\]](https://defiweekly.substack.com/p/comp-lessons-and-learnings) - COMP 增长黑客 DeFi [\[Dan Elitzer, Ryan Sean Adams, David Hoffman/Bankless\]](http://podcast.banklesshq.com/comp-growth-hacking-defi-dan-elitzer) - 为什么 COMP 在第一天增长了 5 倍以及...

文章 Across协议OFT集成差异化审计

...的文档](https://docs.layerzero.network/v2/developers/evm/oft/quickstart#constructing-an-oft-contract) 指出 _“在 NON-default OFT 中,amountSentLD 可能是 100,费用为 10%,amountReceivedLD 金额为 90,因此 amountSentLD 可能与 amountReceivedLD 不同。”_ 当前的实现尝...

文章 Sui Cli及常用命令

...定要仔细检查文档上的先决条件 * Git CLI * CMake * Rust and Cargo * C++ build tools * LLVM compiler 其中与CMake相关的还有VS studio的工具链,我由于之前将他卸载导致CMake相关指令运行出错导致编译失败 并且,在开始我未注意到我未...

文章 使用 ERC-1271,让 Dapp 兼容智能合约钱包

...t/eip1271-verification-util"; const checkSig = async () => { // the random message (nonce) that was signed const data = "0x787177"; // defining signer and the rpc url const signerAddress = '0x4836a472ab1dd406ecb8d0f933a985541ee3921f'; // the rpc url to make requests const rpcUr...

文章 从Web3开发者到智能合约审计员:当已知标准背叛你

...00 万美元的代币。 阅读更多:[uniswap-lendf-me-hacks-root-cause-and-loss-analysis](https://peckshield.medium.com/uniswap-lendf-me-hacks-root-cause-and-loss-analysis-50f3263dcc09) 2. **EIP-2612 Permit 重放 DAI (2022):** 该漏洞利用基于 ERC-20 Permit 标准 (EIP-2612),该标准允...

文章 zk-SNARK 系列 - #2 证明多项式的知识

>- 原文链接:https://medium.com/@imolfar/why-and-how-zk-snark-works-2-proving-knowledge-of-a-polynomial-f817760e2805 >- 译者:[AI翻译官](https://learnblockchain.cn/people/19584),校对:[翻译小组](https://learnblockchain.cn/people/412) >- 本文永久链接:[learnblockchain.cn/...

文章 ZKsync加密预编译审计

...概述](#system-overview) - [安全模型与特权角色](#security-model-and-privileged-roles) - [高严重性](#high-severity) - [偶次幂的 pow_u32 指数运算实现不正确](#incorrect-implementation-of-pow_u32-exponentiation-for-even-exponent) - [G2 点缺少子群检查](#missing-s...

文章 Sui 中的密码学:钱包规范

...ss = signer.getAddress(); console.log('address', address); // Sign some random data. const signData = new Base64DataBuffer( new TextEncoder().encode('hello world') ); const { signature, pubKey } = await signer.signData(signData) console.log('signature', signature); // Sign a typed data, i.e...

文章 区块链研究指北

....al/CSE138-2020-03/index.html)。 3. 布朗大学的 `CS1951L Blockchains and Cryptocurrencies`。我推荐这个课的原因主要是因为讲这个课的教授 [Maurice Herilhy](https://link.zhihu.com/?target=http%3A//cs.brown.edu/~mph/) 是个非常有意思的老头。一把年纪了还在科...

文章 用 Rust 程序和 Webase 交互 | Rust 学习笔记(四)

...n = "0.1.0" authors = ["leeduckgo "] edition = "2018" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] reqwest = { version = "0.10", features = ["blocking", "json"] } tokio = { version = "0.2", features = ["full"] } ``` 我...

文章 每周以太坊进展 2023/10/21

...MEV-Burn](https://ethresear.ch/t/in-a-post-mev-burn-world-some-simulations-and-stats/17092) 模拟统计数据 - [Total-Order Broadcast protocol](https://arxiv.org/abs/2310.11331),在 Sleepy 模型中进行单一投票决策 ## **Layer2** - [Scroll](https://scroll.io/blog/founderLetter)(z...