找到约 14 条结果

问题 自己写的合约里面调用USDT泰达币合约

...直报错:Note: The called function should be payable if you send value and the value you send should be less than your current balance. 求大神解答

文章 ZKsync加密预编译审计

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

文章 闪电网络深入解读(下):HTLC 与支付路由

...闪电网络使用 [Sphinx](https://cypherpunks.ca/%7Eiang/pubs/Sphinx_Oakland09.pdf) 多重加密协议。在使用闪电网络时,Alice 会为网络的每一部分都做一层加密,从支付路径的末端开始。她使用 Eric 的公钥为 Eric 加密了消息。这条加密消息会被嵌...

文章 《Effective Rust》第 4 条:优先使用惯用的错误类型

...sn't use only types from inside the current crate | = note: define and implement a trait or new type instead ``` [类型别名]也无济于事,因为它并没有创建一个新的类型,所以也不会改变错误信息: ```rust pub type MyError = String; impl std::error::Er...

文章 了解DAO世界的去中心化贡献模型

...门的方法是通过[DAO](https://medium.com/layer3xyz/aoswhat-is-a-dao-and-how-can-i-join-one-c8914bc36bf2),一个广泛的在web3内运作的去中心化组织。 让我们首先探讨一下DAO是如何运作的,以及不同类型的DAO可以帮助你启动贡献之旅。我们还将深入...

文章 Uniswap V3 工厂以及 Tick 间距与手续费之间的关系

...数的所有参数都存储在公共不可变变量中: ![code for fee and tick spacing](https://img.learnblockchain.cn/2025/04/26/codeFeeTickSpacing.png) ## 例子 让我们以 [USDC/ETH 池](https://etherscan.io/address/0x88e6A0c2dDD26FEEb64F039a2c41296FcB3f5640#readContract) 为例。我们...

问题 vue 使用bip32 创建btc钱包的问题

...k. BREAKING CHANGE: Since webpack 5 WebAssembly is not enabled by default and flagged as experimental feature. You need to enable one of the WebAssembly experiments via 'experiments.asyncWebAssembly: true' (based on async modules) or 'experiments.syncWebAssembly: true' (like webpack 4, deprecated)...

文章 ethers.js与solidity智能合约交互(hardhat项目)

...-11.png) 4、一个完整的部署脚本(参考用02_deploy_pool_lock_and_release.js) ```js const{ getNamedAccounts } = require("hardhat") moudle.exports = async({getNamedAccounts, deployments}) => { const {firstAccount} = getNameAccounts() const {deploy,log} = deployments ...

文章 Solidity ABI(应用程序二进制接口)是什么?

...ps://www.alchemy.com/overviews/what-is-an-abi-of-a-smart-contract-examples-and-usage),通过介绍智能合约编译的必要性 - ABI 如何作为 Solidity 编译器工作 - 什么是字节码及其在编译过程中的功能 - 什么是 Solidity ABI,它与 API 的不同之处。 - ...

文章 自动做市商(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)...

文章 WeIdentity 源码分析 | 狗哥解码

... * * weidentity-contract is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. *...

文章 EIP-3074和EIP-7702:账户抽象的新纪元

...听过很多关于[账号抽象](https://www.buildbear.io/resources/guides-and-tutorials/Simplifying_Account_Abstraction)的内容。让我们来探讨一下这个概念如何改善钱包的功能。 ## 理解账号抽象 大多数情况下,账号抽象简单地意味着智能合约能够做...

文章 关于2020年的注释:加密货币及其影响

...com/business/2020/nov/27/biontech-covid-vaccine-is-a-triumph-of-innovation-and-immigration)、[人工智能](https://en.wikipedia.org/wiki/GPT-3) - 当然还有[区块链](https://ethereum.org/en/eth2/)和[加密技术](https://twitter.com/VitalikButerin/status/1298886605428502529) - 最终为人类...

文章 Solana Agave 2.0:如何准备

....cn/article/11196-development/transactions/solana-transaction-propagation-handling-dropped-transactions)。 如果你预计需要经常这样做,考虑构建你自己的 [自定义函数](https://www.quicknode.com/functions?utm_source=internal&utm_campaign=guides&utm_content=how-to-prepare-your-s...