()
| 171 | } |
| 172 | |
| 173 | export async function fetchCkTokens(): Promise<WellKnownAsset[]> { |
| 174 | const tokens = [...ckTokens]; |
| 175 | |
| 176 | tokens.sort((a, b) => { |
| 177 | if (a.name < b.name) { |
| 178 | return -1; |
| 179 | } |
| 180 | if (a.name > b.name) { |
| 181 | return 1; |
| 182 | } |
| 183 | return 0; |
| 184 | }); |
| 185 | |
| 186 | return tokens; |
| 187 | } |
| 188 | |
| 189 | export type GroupedWellKnownAssets = { groupKey: string; assets: WellKnownAsset[] }[]; |
| 190 |
no test coverage detected