Open yeqbfgxjiq opened 5 years ago
This is how it was done on the Token Request app
Been doing some tests locally and realized that is not possible at the time to enable locking of ETH due to how the aragon wrapper
works.
A check wether the token address is ETH or not has to be made after the wrapper calls the forwardFee()
function so it can know if a pre-transaction has to be made or not.
Already pinged Brett to check for feasibility and if we could make a PR to aragon/aragon
with the enhancement.
I'm not sure how difficult this would be, if its easy seems reasonable to support it... but if not I think its fairly reasonable to simply not support ETH for now.
I don't think it's too complicated (haven't had a response yet from Brett) but yes i agree it's a nice to have but not entirely necessary.
There's a payable
forwarding interface implemented now. See https://github.com/aragon/aragonOS/pull/583
Currently only ERC20 tokens are eligible for locking https://github.com/1Hive/lock-app/blob/master/contracts/Lock.sol#L27
It would be great if we could also lock ETH