v0.3.4
Pre-release
Pre-release
- Update the string representation of
Asset
to include its type, i.e. instead ofuusd:123456
, the string representation is nownative:uusd:123456
- Implement
IntoIterator
trait onAssetList
. Now instead ofasset_list.to_vec().iter()
can directly doasset_list.into_iter()
- Implement
Index
trait onAssetList
. Now can directly index into asset lists, e.g.asset_list[0]
- Implement method to cast
AssetList
to[astroport::asset::Asset; 2]
, which is used inastroport::pair::ExecuteMsg::ProvideLiquidity
. Without this method, it is a bit cumbersome to parse asset list into fixed length slices.