pendulum-chain / pendulum-prototype

Pendulum prototype: Second Layer Network for Stellar and the DeFi ecosystem
MIT License
10 stars 6 forks source link

Generalize CurrencyId to support abritrary asset codes #27

Closed gonzamontiel closed 3 years ago

gonzamontiel commented 3 years ago

Try to make the type CurrencyId for orml_tokens generic to support any arbitrary asset code coming from Stellar, and be able to deposit/mint the assets.

This first implementation only considers assets than can be represented with 4 bytes.

gonzamontiel commented 3 years ago

Enough changes were made to this branch (including the creation of a common package) so I think is worth it to merge it before continuing the full implementation of the generic asset.