From 659105f73d337e1341c0deb9c9523b34b38fd33f Mon Sep 17 00:00:00 2001 From: rommex Date: Wed, 10 Apr 2024 13:10:52 +0300 Subject: [PATCH] introduced ERC20TokenAmount --- .../SendCryptoAsset/CryptoSender/CryptoSender+Entities.swift | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/unstoppable-ios-app/domains-manager-ios/Modules/Home/SendCryptoAsset/CryptoSender/CryptoSender+Entities.swift b/unstoppable-ios-app/domains-manager-ios/Modules/Home/SendCryptoAsset/CryptoSender/CryptoSender+Entities.swift index 49d888282..b549c5518 100644 --- a/unstoppable-ios-app/domains-manager-ios/Modules/Home/SendCryptoAsset/CryptoSender/CryptoSender+Entities.swift +++ b/unstoppable-ios-app/domains-manager-ios/Modules/Home/SendCryptoAsset/CryptoSender/CryptoSender+Entities.swift @@ -43,6 +43,10 @@ struct EVMTokenAmount { } } +protocol ERC20TokenAmount { + var decimals: UInt8 { get } +} + struct EstimatedGasPrices { let normal: EVMTokenAmount let fast: EVMTokenAmount