UserRequestForSignatureevents on the ThunderCore and signing an approval to relay assets on foreign side
CollectedSignaturesevents on the ThunderCore. Once enough signatures are collected, transferring all collected signatures to the foreign side.
UserRequestForAffirmationor Transfer (depending on the bridge mode) events on the foreign side and sending approval to the ThunderCore to relay assets from foreign network to ThunderCore.
NATIVE-TO-ERCmode: Send native coins to the ThunderCore Bridge contract to receive ERC20 tokens from the foreign bridge contract, and send TT20 tokens to the foreign bridge contract to unlock TT from the ThunderCore bridge contract.
ERC-TO-NATIVEmode: Send ERC20 tokens to the foreign bridge contract to receive TT from the ThunderCore Bridge contract, and send TT to the ThunderCore Bridge contract to unlock ERC20 tokens from the Foreign bridge contract.
ERC-TO-ERCmode: Transfer ERC20 tokens to the foreign bridge contract to mint TT20 tokens on the ThunderCore network, and transfer TT20 tokens to the ThunderCore Bridge contract to unlock ERC20 tokens on the foreign network;