找到约 15 条结果

文章 sui move动态字段

...结构体 ```rust /// Internal object used for storing the field and value struct Field has key { /// Determined by the hash of the object ID, the field name value and it's type, /// i.e. hash(parent.id || name || Name) id: UID, /// The value for the ...

文章 闪电网络:技术与用户体验(六):只有一种比特币

...tps://www.btcstudy.org/2024/03/04/lightning-network-technology-improvement-and-users-experience-part-6/#note1)。可想而知它有多么强大。 相比于潜水艇互换,通道拼出不会对接受者的钱包提出任何要求,最普通、最常见的钱包软件就可以用来收款。不...

文章 阅读与游戏:2023年夏季

..._**;Susanna Clarke 的魔法现实主义巫师巨著 **_Jonathan Strange and Mr. Norrell_**;以及 Gabrielle Zevin 关于游戏和友谊的小说 **_Tomorrow, and Tomorrow, and Tomorrow_**。 最后,请务必[注册](https://cdixon.substack.com/)以获取更新,或[预购](https://readwrite...

文章 使用 Yul 优化 Gas 成本

...ly { sstore(0, number()) sstore(2, _player1) let glAndGip := or(0x0000000000000000000001000000000000000000000000000000000000000000, sload(3)) sstore(3, or(glAndGip, _player2)) } } ``` `require()` 相同,但之后我们深入一些 Yul。首先,我们将区块...

问题 在truffle的宠物商店的教程中出现这样的问题,帮忙解答一下啊:Error: The network id specified in the truffle config (4447) does not match the one returned by the network (5777) . Ensure that both the network and the provider are properly configured.

问题 熊哥你好,调用uniswap路由合约addLiquidityETH方法,The called function should be payable if you send value and the value you send should be less than your current balance

我是使用的remix的内置账户,并且在上面部署了,工厂,路由,weth,和一个token的合约。 内置账户地址:0x5B38Da6a701c568545dCfcB03FcB875f56beddC4 ETH余额:99.9999 ![image.png](https://img.learnblockchain.cn/attachments/2023/04/KIL93VPf6445eace584f9.png) token...

文章 安全审计中Try_Catch问题

...d in case // revert was called inside getData // and a reason string was provided. errorCount++; return (0, false); } catch Panic(uint /*errorCode*/) { // This is executed in case of a panic, // i.e. a serious err...

文章 Optimism 第 6 季

...8113) [Thanks to members of the Feedback Commission for providing input and feedback on Season 6 drafts. Guide to Season 6 🎉 Season …](https://gov.optimism.io/t/season-6-guide-to-season-6/8113) [gov.optimism.io](https://gov.optimism.io/t/season-6-guide-to-season-6/8113) Optimism Season...

文章 如何理解RGB合约schema

...*Q:\*\*Does RGB have a built-in ZKVM that supports RISC? My current understanding is that RGB uses aluvm for execution and then adds an extra layer to constrain the execution results, rather than implementing a constraint for each RISC instruction. I am not sure if my understanding is correct.(RGB...

问题 智能合约一段代码看不懂,请求大佬指点一下

...; uint _transferTax=0; //The taxes are split into different uses and need to add up to "TAX_DENOMINATOR" uint _marketingTax=5000; uint _reflectionTax=4000; uint _liquidityTax=1000; uint _contractTax=TAX_DENOMINATOR-_reflectionTax; //percentage of pancakePair that s...

文章 理解闪电网络,Part-3:结算并关闭支付通道

...um > > 来源: ![1](https://res.btcstudy.org/btcstudy/images/understanding-the-lightning-network-part-completing-the-puzzle-and-closing-the-channel/9dce5612c6aa4440a3905ded0d6b89c5.png) ## [](https://www.btcstudy.org/2020/08/24/understanding-the-lightning-network-part-completing-the-puzzle...

文章 如何安全地购买、存储和交易加密货币

目录 [切换](https://blockapps.net/blog/how-to-safely-buy-store-and-trade-cryptocurrencies/#) ## 安全地购买加密货币 投资加密货币可能是一项令人兴奋的冒险,但在这个过程中,优先考虑安全至关重要。以下是安全购买加密货币的关键步骤: ##...

问题 hardhat solidity不同版本,不能正常编译

... see reasons below. These files import other files that use a different and incompatible version of Solidity: * @soliditylabs/erc20-permit/contracts/ERC20Permit.sol (^0.7.0) imports @openzeppelin/contracts/token/ERC20/ERC20.sol (^0.8.0) and @openzeppelin/contracts/utils/Counters.sol (^0.8.0) ...

文章 扩展公钥与扩展私钥

...由。 ## [](https://www.btcstudy.org/2023/05/28/what-is-xpubs-xprivs-and-what-does-it-matter/#xPub-%E5%92%8C-xPriv-%E5%87%BA%E7%8E%B0%E4%BB%A5%E5%89%8D%E7%9A%84%E6%AF%94%E7%89%B9%E5%B8%81 "xPub 和 xPriv 出现以前的比特币")xPub 和 xPriv 出现以前的比特币 [第一种比特币钱...

文章 如何构建支持Web3的AI代理Eliza

... "Bio lines are each short snippets which can be composed together in a random order.",\ "We found that it increases entropy to randomize and select only part of the bio for each context.",\ "This 'entropy' serves to widen the distribution of possible outputs, which should give more vari...