找到约 13 条结果

文章 引入无需许可的集中流动性池与农场

...ttps://docs.raydium.io/raydium/concentrated-liquidity/creating-a-clmm-pool-and-farm)。 要了解如何为恒定乘积池创建农场,[点击这里](https://docs.raydium.io/raydium/exchange-trade-and-swap/creating-an-ecosystem-farm)。 如果你有任何问题、反馈或需要支持,请务必...

文章 SUI Move官方示例合约实践——FT类:监管币(regulated_coin)

...r::public_transfer(zero(for, ctx), for) } /// Ban some address and forbid making any transactions from or to this address. /// Only owner of the AbcTreasuryCap can perform this action. public entry fun ban(_cap: &AbcTreasuryCap, registry: &mut Registry, to_ban: address) { ...

文章 NFT和GameFi概念介绍

...现在2020年9月的一条推文中,当时yearn.finance的联合创始人Andre Cronje认为,未来的DeFi货币政策将偏向于游戏化,用户质押的资金可能会成为DeFi游戏中的装备。 ![image.png](https://img.learnblockchain.cn/attachments/2022/05/YsMb4a6g628edf25d75f9.png!/s...

文章 Solana Playground | 18 小时最全 Solana 教程 - 2024 训练营

...rogram] pub mod favorites { use super::*; // Our instruction handler! It sets the user's favorite number and color pub fn set_favorites(context: Context, number: u64, color: String, hobbies: Vec) -> Result { let user_public_key = context.accounts.user.key(); msg!(...

文章 用 OpenZeppelin 和 Foundry 创建和部署可升级的 ERC20 代币

...learnblockchain.cn/article/15160-development/smart-contracts/how-to-create-and-deploy-an-upgradeable-erc20-token#create-the-erc-20-upgradeable-token-smart-contract) >- 译文出自:[登链翻译计划](https://github.com/lbc-team/Pioneer) >- 译者:[翻译小组](https://learnblockchain.cn/peo...

文章 Let's move - Sui Obejct相关学习实例

... u8, literature: u8, } ​ //Create a TranscriptObject and transfer it to the sender's address for this transaction. public entry fun create_transcript_object(history: u8, math: u8, literature: u8, ctx: &mut TxContext) { let transcriptObject = TranscriptObject { ...

文章 引介: Alloy - 与以太坊智能合约交互 Rust 库

...=INFO cargo run -- --address 0x88d0af73508452c1a453356b3fac26525aec23a2 and the output is going to be: RUST_LOG=INFO cargo run -- --address 0x88d0af73508452c1a453356b3fac26525aec23a2 Compiling ens-resolution v0.1.0 (/Users/leboiko/Documents/ens-resolution) Finished `dev` profile [...

文章 如何在 BuildBear 沙盒中使用 Hardhat 和 Foundry 部署和 Sourcify 验证

...RL 将遵循以下格式:`https://rpc.buildbear/verify/sourcify/server/{sandboxId or customRPC}.` ``` forge create --rpc-url https://rpc.dev.buildbear.io/sanam --private-key 670e8f5f547a3bc4bd1869d473591ff10f6cf0d69a254257b61eca3f242ef188 script/DeployDevelopment.s.sol:DeployDevelopment --veri...

文章 Dacade平台 SUI Move 挑战者合约实践 —— Logistics Company

...时获取提成的账户。 ```move // Function to init the publisher and admin fun init(otw: ADMIN, ctx: &mut TxContext) { // create Publisher and transfer it to the sender package::claim_and_keep(otw, ctx); // create Admin and share it with all users transfer::share_obje...

文章 深入 Uniswap V4 源码 - PoolManager

...ityParams ```solidity struct ModifyLiquidityParams { // the lower and upper tick of the position int24 tickLower; int24 tickUpper; // how to modify the liquidity int256 liquidityDelta; // a value to set if you want unique liquidity positions at the same range b...

文章 BlockThreat - 2025年第45周

...ective.flashbots.net/t/post-mortem-april-3rd-2023-mev-boost-relay-incident-and-related-timing-issue/1540),该漏洞诱使它揭示了[通常隐藏的区块交易](https://ethereum.tel/understanding-flashbots-fair-mev-capture-for-proposers/)。 然后,他们使用这些交易来夹击其他机器...

文章 DeFi生态系统分析

...基础、为网络流程提供[流动性](https://blog.chain.link/defi-2-0-and-liquidity-incentivization/)和/或安全性,或者代表治理决策中的投票权。 ![2022 年 1 月至 2023 年 1 月期间锁定在 DeFi 应用程序中的美元总额。](https://img.learnblockchain.cn/2025/07/18...

文章 SharkTeam:2024年上半年度Web3安全报告

...6 票反对的结果正式通过 FIT21 加密法案(Financial Innovation and Technology for the 21st Century Act)。美国总统拜登宣布,他不会否决该法案,并呼吁国会就“数字资产全面、平衡的监管框架”进行合作。 FIT21旨在为区块链项目在美国的...