OpenST / mosaic-contracts

Mosaic-0: Gateways and anchors on top of Ethereum to scale DApps
https://discuss.openst.org/c/mosaic
MIT License
114 stars 31 forks source link

RedeemPool, Redeemer proxy contract and tests #790

Closed 0xsarvesh closed 4 years ago

0xsarvesh commented 5 years ago

fixes #788

This PR implements Redeem Composer, Redeemer proxy contract and integration of redeem flow with redeem composer. These contracts are similar to OST composer and Staker proxy, however there are few deviations.

  1. stakeRequest mapping in the OST composer contract seems redundant. I haven't added this storage in Redeem composer contract

https://github.com/mosaicdao/mosaic-contracts/blob/45023774d47ab8322bfb8cb495175fdf62b8a509/contracts/gateway/OSTComposer.sol#L83

  1. Bounty in co-gateway contract is in base token instead of EIP20 token. AceeptRedeemRequest is a payable function.