These contracts implement 3 variants of layerzero OFT bridges:
- OFT (where token & OFT are same contract)
- ProxyOFT (where token exists external to OFT, but OFT does lock/unlock instead of mint/burn)
- IndirectOFT (where token exists external to OFT which does mint/burn)
There are also variants OFTWithFee, ProxyOFTWithFee and IndirectOFTV2WithFee which allow to charge bridge fees. The ProxyOFTWithFee also has a reverseMessage feature, enabling to reverse bridge transactions which failed (f.e. due to lack of liquidity in the bridge).
Audited by Paladin https://paladinsec.co/projects/singularitydao/