zeta-chain / protocol-contracts

Protocol contracts implementing the core logic of the protocol, deployed on ZetaChain and on connected chains
MIT License
70 stars 58 forks source link

Implement `depositAndRevert` using ZETA tokens instead of ZRC20 #358

Open lumtis opened 1 month ago

lumtis commented 1 month ago

Currently the depositAndRevert logic is implemented at the protocol level for ZETA reverts.

For consistency in with V2 contracts and simplifying the protocol logic, this logic should be added in the protocol contracts using depositAndRevert

Low priority as ZETA is not enabled for now