Transfer Gateways and Ronin Bridge
Transfer Gateway is the gate for token transfer onto the sidechain and the subsequent transfer back to Ethereum. At the moment we support our users depositing on ETH, ERC20, and ERC721.
Transfer Gateway contracts include:
MainchainGatewaycontract deployed on the Ethereum chain.
SidechainGatewaycontract deployed on the Ronin chain.
Whenever users deposit or withdraw their assets these contracts will emit corresponding events.
Ronin Bridge is actually a service to track events from the MainchainGateway and SidechainGateway contracts. Each validator has to run the Bridge so that this service can be acknowledged for the validator.