-
Notifications
You must be signed in to change notification settings - Fork 33
Closed
Milestone
Description
Staking is handled using interface with IERC20, this is not compatible with direct ETH transfers.
The BurnNMR contract has the NMR token address hard-coded and so other tokens are not usable.
Recommendation: Update advertised features to match actual capabilities.
References:
- Advertisement of ability to use ETH: https://github.com/erasureprotocol/erasure-protocol/blob/4a3d98ce023a264a9f3c7ba62ef77a9207bba5fe/README.md#payments-through-any-cryptocurrency
- Token transfer implementation:
require(IERC20(BurnNMR.getToken()).transferFrom(funder, address(this), amountToAdd), "token transfer failed"); - NMR hardcoded:
address private constant _Token = address(0x1776e1F26f98b1A5dF9cD347953a26dd3Cb46671);
Metadata
Metadata
Assignees
Labels
No labels