I'm not sure this logic is the intended one.
For example in our own use case, lets say we have another bridge that mints tokens, we would like the multichain bridge to be able to swapout these tokens even though it wasnt the original minter. this is specifically true for bridges between sidechains that use mint-burn type of bridge.
I'm not sure this logic is the intended one. For example in our own use case, lets say we have another bridge that mints tokens, we would like the multichain bridge to be able to swapout these tokens even though it wasnt the original minter. this is specifically true for bridges between sidechains that use mint-burn type of bridge.
https://github.com/anyswap/multichain-smart-contracts/blob/1bd0f3fab7c17114fe421b0871667c562dac1ae9/contracts/wrapper/MintBurnWrapper.sol#L157