Implement apiString on the cw_core test FiatCurrency helper (#3649)

Co-authored-by: sethforprivacy <40500387+sethforprivacy@users.noreply.github.com>
This commit is contained in:
cyan
2026-09-24 12:42:56 +02:00
committed by GitHub
co-authored by sethforprivacy
parent 80a8c83d02
commit b7247dd096
+3
View File
@@ -29,6 +29,9 @@ class FiatCurrency implements Currency {
@override
String? get tag => throw UnimplementedError();
@override
String get apiString => "fiat.$symbol";
@override
Money parseAmount(String value) => Money.parse(value, this);