找到约 15 条结果

文章 Ethernaut 题库闯关 #22 — Dex 2

...ier: MIT pragma solidity ^0.6.0; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; import "@openzeppelin/contracts/token/ERC20/ERC20.sol"; import '@openzeppelin/contracts/math/SafeMath.sol'; import '@openzeppelin/contracts/access/Ownable.sol'; contract DexTwo is Ownable { using S...

问题 ERC20 代币如何上传图标?

我想在区块浏览器和钱包里显示我的代币的图片, 怎么弄?

问题 智能合约 如何接收和转移 USDT(ERC20

要实现 智能合约接收 usdt 还有智能合约向别人转usdt

百科 ERC20

问题 erc20代币持有者数量如何在前端查询,有对应的接口吗?

前端开发,怎么样通过某个代币的合约地址查询到该代币的持有者数量,直接在链浏览器上是可以看到这个数值,但是不知道怎么通过接口查询出来?

百科 ERC-20

问题 零GAS归集ERC20 现在已经有成品软件了吗?

问题 如何在我的合约内调用一个已经部署的erc20合约的转账方法。给某个地址转账呢

问题 求为另一个合约治理的ERC20治理币代码

有一个合约,要各种投票,动不动要遍历上万的数据,现在要一个治理币解决,有没有解决方案,有代码最好。

问题 web3py查询erc20代币余额,有些代币余额显示单位一致怎么解决

有些代币查询出来正常 有些代币查询出来多好几个0

问题 Solidity通过合约转ERC20代币问题

网上查找的代码,但是发布不了,帮看下什么原因 ``` pragma solidity ^0.4.21; contract token { function transfer(address receiver, uint amount){ receiver; amount; } } //transfer方法的接口说明 contract TokenTransfer{ token public wowToken; function Token...

问题 覆写了ERC20的_transfer()函数后, PCS无法swap,贴代码图请教是哪里出了问题

加了buy&sell taxes,但是无法swap(已改slippage),麻烦帮忙看下是什么问题,要怎么改呀? 在BSC testnet上 ![iShot20220215160826.png](https://img.learnblockchain.cn/attachments/2022/02/YGaUwf9e620b5ff4a52a5.png) ![iShot20220215161053.png](https://img.learnblockchain.cn/a...

问题 ERC20授权问题

![image.png](https://img.learnblockchain.cn/attachments/2022/04/iY5f5dEq6251623fc6d6c.png) ![image.png](https://img.learnblockchain.cn/attachments/2022/04/IBmqm8XY625162687b881.png) ![image.png](https://img.learnblockchain.cn/attachments/2022/04/ctxcqwVH6251629113925.png) 如图所示,msg.sen...

问题 请问下调用 uniswapRouter.exactInputSingle 这个方法他自己本身有一个payable 如果两个币种都是 ERC20 币种这个又要怎么调用?

问题 怎么用nodejs查询erc20 token 的买卖交易手续费?