README.adoc 1.1 KB

12345678910111213141516171819202122232425262728293031323334
  1. = Cross Chain Awareness
  2. [.readme-notice]
  3. NOTE: This document is better viewed at https://docs.openzeppelin.com/contracts/api/crosschain
  4. This directory provides building blocks to improve cross-chain awareness of smart contracts.
  5. - {CrossChainEnabled} is an abstraction that contains accessors and modifiers to control the execution flow when receiving cross-chain messages.
  6. == CrossChainEnabled specializations
  7. The following specializations of {CrossChainEnabled} provide implementations of the {CrossChainEnabled} abstraction for specific bridges. This can be used to complexe cross-chain aware components such as {AccessControlCrossChain}.
  8. {{CrossChainEnabledAMB}}
  9. {{CrossChainEnabledArbitrumL1}}
  10. {{CrossChainEnabledArbitrumL2}}
  11. {{CrossChainEnabledOptimism}}
  12. {{CrossChainEnabledPolygonChild}}
  13. == Libraries for cross-chain
  14. In addition to the {CrossChainEnable} abstraction, cross-chain awareness is also available through libraries. These libraries can be used to build complex designs such as contracts with the ability to interact with multiple bridges.
  15. {{LibAMB}}
  16. {{LibArbitrumL1}}
  17. {{LibArbitrumL2}}
  18. {{LibOptimism}}