找到约 11 条结果

文章 Move中的设计模式(3)——Hot Potato

... } /// An object conveying the privilege to withdraw funds from and deposit funds to the /// `FlashLender` instance with ID `flash_lender_id`. Initially granted to the creator /// of the `FlashLender`, and only one `AdminCap` per lender exists. struct AdminCap has key, stor...

文章 每周以太坊进展 2023/4/29

...来升级的主要功能 * [EIP4844 devnet 5](https://4844-devnet-5.ethpandaops.io/) 成功上线 * [KZG 仪式](https://ceremony.ethereum.org/):共91,000+账号贡献,每个账号具备[64 笔交易](https://twitter.com/carlbeek/status/1651640315504361474)。 ## Layer 1 * [MEV-Boo...

文章 集齐卡牌:收藏家策略

...藏](https://blockapps.net/blog/organizing-your-collection-best-practices-and-tools)。 2. **设定现实的时间表**:[完成一个系列可能需要时间](https://www.youtube.com/watch?v=MIu1E6hhUTo),尤其是对于较新的或更广泛的系列。要有耐心并设定可实现的里程碑...

文章 掌握Rust模式匹配:从基础语法到实际应用

... Message::Move {x, y} => { println!("Move in the x direction {} and in the y direction {}", x, y); } Message::Write(text) => println!("Text message: {}", text), Message::ChangeColor(r, g, b) => { println!("Change the color to red {}, green {}, and blue {}", r, g, b);...

文章 DAOSqaure加密情报:V神发表如何重新设计DAO

...请戳 [https://www.forbes.com/](https://www.forbes.com/sites/shehanchandrasekera/2020/10/14/oecd-encourages-regulators-to-form-uniform-crypto-tax-regulations/?utm_source=TWITTER&utm_medium=social&utm_content=3917777531&utm_campaign=sprinklrForbesCrypto#6d5bfde36ef6) DAOSquare 加密情报局 ...

文章 DeFi清算漏洞

...ps://solodit.cyfrin.io/issues/h-7-possible-to-liquidate-past-the-debt-outstanding-above-the-min-borrow-without-liquidating-the-entire-debt-outstanding-sherlock-none-notional-v3-git) **启发式:** 该协议是否强制执行最小头寸规模?这是否在每个可以更改头寸规模的函数...

文章 统一桥:实现互操作链体验的关键 AggLayer 组件

...调用** 桥接和调用允许跨链资产转移,并使用 “Bridge- **and**-Call” 接口在目标 L2 上进行调用: - 用户在源 Layer2 上发起一个 bridgeAndCall 调用。 - L1 上的全局退出根被更新,反映了来自 L2 的桥接交易。 - 目标 L2 排序器获取并更...

文章 跨合约重入攻击

... Ownable { // (manager i.e. victim) is trusted, so only they can mint and burn token // (管理者,即受害者)是受信任的,所以只有他们可以铸造和销毁 token constructor(address manager) ERC20("CCRToken", "CCRT") Ownable(manager) {} // Only manager mint token ...

文章 Banff: 弹性子网

...息,请访问 [这里](https://docs.avax.network/build/tutorials/nodes-and-staking/upgrade-your-avalanchego-node)。提醒你,最佳实践是 [备份](https://docs.avax.network/build/tutorials/nodes-and-staking/node-backup-and-restore) 你的质押密钥/证书。 ### 我需要升级我的节...

文章 论权益和共识

> _作者:Andrew Poelstra_ > > _来源: [https://download.wpsoftware.net/bitcoin/pos.pdf](https://download.wpsoftware.net/bitcoin/pos.pdf)_ 注:本文档已于 2015 年 3 月进行了大量修改。旧版本可以在 [https://download.wpsoftware.net/bitcoin/old-pos.pdf](https://download.wpsof...

文章 什么是递归长度前缀 (RLP) 序列化

...度前缀 (RLP)**](https://ethereum.org/en/developers/docs/data-structures-and-encoding/rlp/) 是以太坊执行层中使用的序列化格式。它旨在以紧凑、标准化的方式编码数据结构,从而使执行客户端可以高效地通过网络共享数据。它不关心一个值是字...