找到约 14 条结果

文章 UniswapV1 协议分析

...h_reserve + 1 ``` ### 地址验证 ```vyper assert recipient != self and recipient != ZERO_ADDRESS ``` ## 价格查询功能 ### 只读函数 ```vyper @constant def getEthToTokenInputPrice(eth_sold: uint256) -> uint256: return self.getInputPrice(eth_sold, as_unitless_number(self...

文章 量化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 存在于所有智能合约区块链上,只要有一方负责交易排序,包...

文章 无 Gas NFT 铸造

...t](https://twitter.com/Renault_NFT) 与 [Renaissance](https://renaissance.land/) 合作,通过集成 [Gelato Relay](https://www.gelato.network/relay) 来克服其用户**加粗** onboarding (入职)难题 - 将 [Stripe](https://stripe.com/) 与 Gelato 结合使用户能够用法币购买 NFT...

文章 货币属性与完全RBF

...om/@nicolasdorie...](https://medium.com/@nicolasdorier/properties-of-money-and-full-rbf-cf99de9f9b50) >- 登链社区 AI 助手,为大家转译优秀英文文章,如有翻译不通的地方,还请包涵~

文章 DeFi衍生品

...://www.okx.com/learn/bitcoin-derivatives-explained-futures-perpetual-swaps-and-options#:~:text=Source%3A%20OKX.com-,Bitcoin%20options,-Like%20Bitcoin%20futures) ### 永续合约 永续期货合约(或永续合约)由 BitMEX 于 2016 年推出,是一种允许用户买卖标的资产价值...

文章 提案: 创建以太坊相关软件包的通用仓库

...//hackaday.com/2021/10/22/supply-chain-attack-npm-library-used-by-facebook-and-others-was-compromised/) [distro market share](https://survey.stackoverflow.co/2023/?ref=itsfoss.com#technology) [debian market share](https://www.datanyze.com/market-share/operating-systems--443/debian-market-share) ...

文章 MEV(矿工可提取价值)缓解会摧毁链上流动性吗?

...“被动 LP 的新希望”](https://doseofdefi.substack.com/p/uniswap-v4-and-ambient-finance-fresh)。这两个 AMM 使得可以对资金池进行“钩子”编程。这一设计空间尚未完全探索(Ambient 在六月上线,而 Uni v4 仍未完全推出),但它们可能会对谁可以...

文章 Solana中 PDA、ATA 与 普通Account 的区别与关系

... /** * Get the address of the associated token account for a given mint and owner * * @param mint Token mint account * @param owner Owner of the new account * @param allowOwnerOffCurve Allow the owner account to be a PDA (Program Derived Addres...

文章 闪电网络:从鲁莽到可靠

...://bitcoinerrorlog.medium.com/lightning-network-consensus-is-a-marketplace-and-thats-okay-b6289dd9b631)。**比特币的设计目标是无需信任;依赖托管人会重建我们旨在取代的银行系统。** 第三方托管不会扩展,并且会分散用户自主加入比特币的目标。...

文章 Michael.W基于Foundry精读Openzeppelin第23期——ERC165Checker.sol

...xternal { // case 1: query to contract SupportNone without revert and return false assertFalse(testing.supportsERC165InterfaceUnchecked(address(supportNone), type(IERC165).interfaceId)); assertFalse(testing.supportsERC165InterfaceUnchecked(address(supportNone), INTERFACE_I...

文章 弹跳攻击

... at work, so that he's constantly inverting an endless supply of incidents and episodes, that he simply dreams up his stories out of thin air. > > ​ -- The Grand Budapest Hotel 同样极易误解的是,大部分人认为对以太坊的一次成功攻击会让黑客凭空创造以...

文章 以太坊质押市场正式框架的关键见解 - 经济学

...](https://ethresear.ch/t/properties-of-issuance-level-consensus-incentives-and-variability-across-potential-reward-curves/18448) 和 [Schwarz-Schilling (2024)](https://ethresear.ch/t/endgame-staking-economics-a-case-for-targeting/18751))。这种结果意味着质押的 ETH 供应量远远超过...

文章 教程:通过 Subspace 和 Infura 实现实时前端数据

...name": "eth_sold", "indexed": true }, ... and a lot more ``` 在 App.js 中,我们首先使用 Infura 连接对 web3 对象进行初始化。如果您没有 API 密钥,可以[注册并免费获取](http://infura.io/register?&utm_source=infurablog&utm_medium=r...

文章 DAPP开发中Web3唤醒MetaMask签名数据+Java校验签名实现去中心化和中心化用户数据的鉴权

...s misuse where a malicious DApp can sign arbitrary data (e.g. transaction) and use the signature to // impersonate the victim. String prefix = PERSONAL_MESSAGE_PREFIX + message.length(); byte[] msgHash = Hash.sha3((prefix + message).getBytes()); byte[] signature...