pendulum-chain / spacewalk

Apache License 2.0
34 stars 7 forks source link

Modify DecimalsLookup trait to use it's own CurrencyId type #522

Closed bogdanS98 closed 4 months ago

bogdanS98 commented 4 months ago

Context

DecimalsLookup trait needs to reference it's own CurrencyId type instead of spacewalk_primitives::CurrencyId in the decimals function, so that it can be implemented by mocks which usually have the CurrencyId as a u64.

Requirement

Modify DecimalsLookup trait so that it uses it's own CurrencyId type.

Extra

Add PINK, HDX and vDOT tokens here