找到约 11 条结果

问题 USDT授权

做一个用户转账USDT到合同的业务,在社区看到有关于ERC20-Permit的相关文章, 这个permit的支持是不是需要erc20的代币本身有Permit函数才能支持? 如果ERC20代币没有permit的情况下 类似USDT这样的 是不是只能用传统的Approve授权后,...

问题 侧链和eth主链对应的问题

一般做侧链。是侧链的主币对标的是eth链上的一个erc20的Token吗? 还是侧链上发一个同样的erc20的Token,对应eth主链上的erc20 Token。 这两种情况都有什么例子吗,大佬们给说一下。

问题 区块浏览器开源问题

erc20代码开源的时候报错,开源的时候这个代码里不能包涵import "@openzeppelin/contracts/token/ERC20/ERC20.sol"。 这种写法吗? ![image.png](https://img.learnblockchain.cn/attachments/2023/07/d743VXWQ64a3884aed32d.png) ![image.png](https://img.learnblockchain.cn/attac...

文章 每周以太坊 2024/07/20

...hub.com/ethereum/EIPs/pull/8740/files):二维日志过滤数据结构 - ERCs(应用层标准): - [ERC7743](https://github.com/ethereum/ERCs/pull/539/files):多所有者非同质代币(MO-NFT) - [ERC7744](https://github.com/ethereum/ERCs/pull/542/files):代码索引(索引合...

文章 资料:成为全栈dApp开发者的学习计划

...可和无需许可的区块链。 - 资源: Bitcoin Whitepaper Exercises:https://github.com/cooganb/bitcoin-whitepaper-exercises Encryption Exercises:https://cryptohack.org/ Teach Yourself Crypto:https://teachyourselfcrypto.com/ ## **以太坊** 它是第一...

文章 区块链实战:发行自己的第一款NFT(Non-Fungible Token)数字藏品

...ier: MIT pragma solidity ^0.8.4; import "@openzeppelin/contracts/token/ERC721/ERC721.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721URIStorage.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Burnable.sol"; import "@openzeppelin/contracts/access/Ownable...

文章 前Arbitrum技术大使解读Arbitrum的组件结构(下)

...据是通过Arbitrum官方桥充值时,用到的基本工具,** ETH和ERC20的充值都会使⽤到。其⽣命周期分为三步: **1. 在L1上提交票据。** 在Delayed Inbox合约中使用createRetryableTicket()方法创建充值票据,并提交。 **2. L2上自动兑付...

文章 可初始化的智能合约设计模式

...,`Initializable.sol` 在 OpenZeppelin 的可升级合约中使用,如 `ERC20Upgradeable.sol`。 本文的目的是详细解释 Initializable.sol 的工作原理。但在此之前,让我们展示如何天真地实现这种模式以及为什么天真的实现仅在最简单的情况下有效...

文章 DeFi之道丨以太坊黑暗森林的一次猎杀:套利机器人惨遭套利130 ETH

...发者CodeForcer创建了一种名为“沙门氏菌”(Salmonella)的ERC20诱饵代币,通过这种方式,其在24小时内实现盈利130 ETH,而这也告诉了我们关于以太坊网络Mempool黑暗森林的对抗性。 ![](https://cdn.8btc.com/wp-content/uploads/2021/03/20210322061...

文章 每周以太坊进展 2023/3/25

...um/EIPs/pull/6733/files):在发生冲突时回退(revert)创建 * ERC: * [ERC6732](https://github.com/ethereum/EIPs/pull/6732/files):可兑换代币 * [ERC6734](https://github.com/ethereum/EIPs/pull/6734/files):L2代币列表 * [ERC6735](https://github.com/ethereu...