🎯Deterministic Pair Addresses
All MTVSwap pair contracts are instantiated by a single factory contract. MTVSwap uses the CREATE2 opcode [Vitalik Buterin. EIP 1014: Skinny CREATE2. Apr. 2018. url: https://eips.ethereum.org/EIPS/eip-1014.] to generate a pair contract with a deterministic address. This means that it is possible to calculate a pair’s address (if it exists) off-chain, without having to look at the chain state.
Last updated