bobanetwork / boba_base

MIT License
1 stars 5 forks source link

Add Testnet FTM Token #40

Closed boyuan-chen closed 2 years ago

boyuan-chen commented 2 years ago

FTM token uses L2_L1NativeToken.sol contract. This contract loads ERC20Permit that allows us to do meta transaction. In ERC721.sol contract, uint256 private immutable _CACHED_CHAIN_ID; and address(this) are coded in the bytecode. The chain IDs for different chains are different, so we have to build a specific bytecode for different chains.