mirror of
https://github.com/Instadapp/trustwallet-assets.git
synced 2024-07-29 22:37:31 +00:00
78eef8eabc
Co-authored-by: Catenocrypt <catenocrypt@users.noreply.github.com>
23 lines
654 B
TypeScript
23 lines
654 B
TypeScript
import { ActionInterface, CheckStepInterface } from "../../script/action/interface";
|
|
import { update, mergeCmcData } from "./script";
|
|
import { getSanityChecks } from "./check";
|
|
|
|
export class Coinmarketcap implements ActionInterface {
|
|
getName(): string { return "Coinmarketcap mapping"; }
|
|
|
|
getSanityChecks(): CheckStepInterface[] { return getSanityChecks(); }
|
|
|
|
getConsistencyChecks = null;
|
|
|
|
sanityFix = null;
|
|
|
|
async consistencyFix(): Promise<void> {
|
|
// do merge, for the case exceptions or script has been changed
|
|
await mergeCmcData();
|
|
}
|
|
|
|
async update(): Promise<void> {
|
|
await update();
|
|
}
|
|
}
|