diff --git a/cw_ethereum/lib/ethereum_wallet.dart b/cw_ethereum/lib/ethereum_wallet.dart index b16001a3a..3f466b135 100644 --- a/cw_ethereum/lib/ethereum_wallet.dart +++ b/cw_ethereum/lib/ethereum_wallet.dart @@ -346,14 +346,197 @@ abstract class EthereumWalletBase CryptoCurrency.usdc: { 'contractAddress': "0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48", 'decimal': 6, + 'enabled': true, }, CryptoCurrency.usdterc20: { 'contractAddress': "0xdac17f958d2ee523a2206206994597c13d831ec7", 'decimal': 6, + 'enabled': true, }, CryptoCurrency.dai: { 'contractAddress': "0x6B175474E89094C44Da98b954EedeAC495271d0F", 'decimal': 18, + 'enabled': true, + }, + CryptoCurrency.weth: { + 'contractAddress': "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2", + 'decimal': 18, + 'enabled': false, + }, + CryptoCurrency.pepe: { + 'contractAddress': "0x6982508145454ce325ddbe47a25d4ec3d2311933", + 'decimal': 18, + 'enabled': false, + }, + CryptoCurrency.shib: { + 'contractAddress': "0x95ad61b0a150d79219dcf64e1e6cc01f0b64c4ce", + 'decimal': 18, + 'enabled': false, + }, + CryptoCurrency.ape: { + 'contractAddress': "0x4d224452801aced8b2f0aebe155379bb5d594381", + 'decimal': 18, + 'enabled': false, + }, + CryptoCurrency.matic: { + 'contractAddress': "0x7d1afa7b718fb893db30a3abc0cfc608aacfebb0", + 'decimal': 18, + 'enabled': false, + }, + CryptoCurrency.wbtc: { + 'contractAddress': "0x2260fac5e5542a773aa44fbcfedf7c193bc2c599", + 'decimal': 8, + 'enabled': false, + }, + CryptoCurrency.gtc: { + 'contractAddress': "0xde30da39c46104798bb5aa3fe8b9e0e1f348163f", + 'decimal': 18, + 'enabled': false, + }, + CryptoCurrency.comp: { + 'contractAddress': "0xc00e94cb662c3520282e6f5717214004a7f26888", + 'decimal': 18, + 'enabled': false, + }, + CryptoCurrency.aave: { + 'contractAddress': "0x7fc66500c84a76ad7e9c93437bfc5ac33e2ddae9", + 'decimal': 18, + 'enabled': false, + }, + CryptoCurrency.uni: { + 'contractAddress': "0x1f9840a85d5af5bf1d1762f925bdaddc4201f984", + 'decimal': 18, + 'enabled': false, + }, + CryptoCurrency.mana: { + 'contractAddress': "0x0f5d2fb29fb7d3cfee444a200298f468908cc942", + 'decimal': 18, + 'enabled': false, + }, + CryptoCurrency.storj: { + 'contractAddress': "0xb64ef51c888972c908cfacf59b47c1afbc0ab8ac", + 'decimal': 8, + 'enabled': false, + }, + CryptoCurrency.mkr: { + 'contractAddress': "0x9f8F72aA9304c8B593d555F12eF6589cC3A579A2", + 'decimal': 18, + 'enabled': false, + }, + CryptoCurrency.oxt: { + 'contractAddress': "0x4575f41308EC1483f3d399aa9a2826d74Da13Deb", + 'decimal': 18, + 'enabled': false, + }, + CryptoCurrency.paxg: { + 'contractAddress': "0x45804880De22913dAFE09f4980848ECE6EcbAf78", + 'decimal': 18, + 'enabled': false, + }, + CryptoCurrency.bnb: { + 'contractAddress': "0xB8c77482e45F1F44dE1745F52C74426C631bDD52", + 'decimal': 18, + 'enabled': true, + }, + CryptoCurrency.steth: { + 'contractAddress': "0xae7ab96520DE3A18E5e111B5EaAb095312D7fE84", + 'decimal': 18, + 'enabled': false, + }, + CryptoCurrency.ldo: { + 'contractAddress': "0x5A98FcBEA516Cf06857215779Fd812CA3beF1B32", + 'decimal': 18, + 'enabled': false, + }, + CryptoCurrency.arb: { + 'contractAddress': "0xB50721BCf8d664c30412Cfbc6cf7a15145234ad1", + 'decimal': 18, + 'enabled': false, + }, + CryptoCurrency.grt: { + 'contractAddress': "0xc944E90C64B2c07662A292be6244BDf05Cda44a7", + 'decimal': 18, + 'enabled': false, + }, + CryptoCurrency.frax: { + 'contractAddress': "0x853d955aCEf822Db058eb8505911ED77F175b99e", + 'decimal': 18, + 'enabled': false, + }, + CryptoCurrency.gusd: { + 'contractAddress': "0x056Fd409E1d7A124BD7017459dFEa2F387b6d5Cd", + 'decimal': 18, + 'enabled': false, + }, + CryptoCurrency.ceth: { + 'contractAddress': "0x4Ddc2D193948926D02f9B1fE9e1daa0718270ED5", + 'decimal': 8, + 'enabled': false, + }, + CryptoCurrency.busd: { + 'contractAddress': "0x4Fabb145d64652a948d72533023f6E7A623C7C53", + 'decimal': 18, + 'enabled': false, + }, + CryptoCurrency.tusd: { + 'contractAddress': "0x0000000000085d4780B73119b644AE5ecd22b376", + 'decimal': 18, + 'enabled': false, + }, + CryptoCurrency.cro: { + 'contractAddress': "0xA0b73E1Ff0B80914AB6fe0444E65848C4C34450b", + 'decimal': 8, + 'enabled': false, + }, + CryptoCurrency.usdp: { + 'contractAddress': "0x8E870D67F660D95d5be530380D0eC0bd388289E1", + 'decimal': 18, + 'enabled': false, + }, + CryptoCurrency.ftm: { + 'contractAddress': "0x4E15361FD6b4BB609Fa63C81A2be19d873717870", + 'decimal': 18, + 'enabled': false, + }, + CryptoCurrency.btt: { + 'contractAddress': "0xC669928185DbCE49d2230CC9B0979BE6DC797957", + 'decimal': 18, + 'enabled': false, + }, + CryptoCurrency.nexo: { + 'contractAddress': "0xB62132e35a6c13ee1EE0f84dC5d40bad8d815206", + 'decimal': 18, + 'enabled': false, + }, + CryptoCurrency.dydx: { + 'contractAddress': "0x92D6C1e31e14520e676a687F0a93788B716BEff5", + 'decimal': 18, + 'enabled': false, + }, + CryptoCurrency.cake: { + 'contractAddress': "0x152649eA73beAb28c5b49B26eb48f7EAD6d4c898", + 'decimal': 18, + 'enabled': false, + }, + CryptoCurrency.bat: { + 'contractAddress': "0x0D8775F648430679A709E98d2b0Cb6250d2887EF", + 'decimal': 18, + 'enabled': false, + }, + CryptoCurrency.1inch: { + 'contractAddress': "0x111111111117dC0aa78b770fA6A738034120C302", + 'decimal': 18, + 'enabled': false, + }, + CryptoCurrency.ens: { + 'contractAddress': "0xC18360217D8F7Ab5e7c516566761Ea12Ce7F9D72", + 'decimal': 18, + 'enabled': false, + }, + CryptoCurrency.zrx: { + 'contractAddress': "0xE41d2489571d322189246DaFA5ebDe1F4699F498", + 'decimal': 18, + 'enabled': false, }, }; @@ -365,7 +548,7 @@ abstract class EthereumWalletBase symbol: currency.title, contractAddress: _initialErc20Currencies[currency]!['contractAddress'], decimal: _initialErc20Currencies[currency]!['decimal'], - enabled: true, + enabled: _initialErc20Currencies[currency]!['enabled'] ?? true, iconPath: currency.iconPath, )); }