gnosischain/deposit-contract

Support of deposit token which is ERC677-compatible

Closed this issue · 0 comments

Since the STAKE token or any bridged token are ERC677-compatible consider to improve the deposit contract to support onTokenTransfer. It will allow users to deposit tokens by one transaction.

https://github.com/canarynetwork/sbc-deposit-contract/blob/76bf35ebfc6ba81c57490c2bbf99a5e8347ed1ad/contracts/StakeDepositContract.sol#L74