Smart Contract
IBridgePermissions
A.1e4aa0b87d10b141.IBridgePermissions
1/// This contract defines a simple interface which can be implemented by any resource to prevent it from being
2/// onboarded to the Flow-EVM bridge
3///
4/// NOTE: This is suggested only for cases where your asset (NFT/FT) incorporates non-standard logic that would
5/// break your project if not handles properly
6/// e.g. assets are reclaimed after a certain period of time, NFTs share IDs, etc.
7///
8access(all)
9contract interface IBridgePermissions {
10 /// Contract-level method enabling implementing contracts to identify whether they allow bridging for their
11 /// project's assets. Implementers may consider adding a hook which would later enable an update to this value
12 /// should either the project be updated or the bridge be updated to handle the asset's non-standard logic which
13 /// would otherwise prevent them from supporting VM bridging at the outset.
14 ///
15 access(all)
16 view fun allowsBridging(): Bool {
17 return false
18 }
19}
20