function approve(address spender, uint256 amount) public override returns (bool) {
_approve(_msgSender(), spender, amount);
return true;
}
and include previous adddress??
Each user will need to do an approval transaction on tokenV1 contract, approving the migration contract to transfer their tokens
the things that i want to avoid is people needed to going on bsc to approve the transaction
They'll have to, only they can issue an approval to move their tokens
but is there a code that i can put that do that for them>?
On a frontend website sure. Not from your contract though
yes basically i will work on the dapp next, so just to know if my solidity code will need to include anything
The migration contract won't need anything for approvals, since that's a separate tx each user has to do on tokenV1
perfect thanks, i guess i can start to work on next step cheers
Обсуждают сегодня