/** * Dashboard API * Dashboard API documentation * * The version of the OpenAPI document: 1.0.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ /** * Single entry in the Aleo curated price list. The shape mirrors the * multichain balance entry shape (`address`, `isNative`) so the widget * can join the prices response against its unshielded balance feed on * `(address, isNative)` without any translation. * @export * @interface AleoCuratedTokenPrice */ export interface AleoCuratedTokenPrice { /** * Wallet-facing token address. Native ALEO uses the `'0x0'` sentinel * (matches `ALEO_NATIVE_ASSET.contractAddress` and the multichain * balance feed); every other entry uses the on-chain program id * (e.g. `usdcx_stablecoin.aleo`, `hyp_warp_token_eth.aleo`). * @type {string} * @memberof AleoCuratedTokenPrice */ address: string; /** * True for the native ALEO entry, false for every other token. * @type {boolean} * @memberof AleoCuratedTokenPrice */ isNative: boolean; /** * Brand logo for the token. Surfaced so the widget's Shielded * balance tab can render the same icon the unshielded multichain * feed renders for the same `(address, isNative)` key, instead of * falling through to the generic `?` placeholder. * @type {string} * @memberof AleoCuratedTokenPrice */ logoURI: string; /** * Display symbol (e.g. `ALEO`, `USDCx`, `wETH`). * @type {string} * @memberof AleoCuratedTokenPrice */ symbol: string; /** * CoinGecko id used to resolve the fiat price. Echoed back so * consumers can confirm which pricing source produced the value. * @type {string} * @memberof AleoCuratedTokenPrice */ tokenId: string; /** * USD price per whole token unit, or `null` when the pricing source * has no current price (token is unranked, cache miss, etc.) and * no fallback is pinned in the registry. Clients should render an * empty cell rather than treating `null` as `0`. * @type {number} * @memberof AleoCuratedTokenPrice */ price: number | null; } export declare function AleoCuratedTokenPriceFromJSON(json: any): AleoCuratedTokenPrice; export declare function AleoCuratedTokenPriceFromJSONTyped(json: any, ignoreDiscriminator: boolean): AleoCuratedTokenPrice; export declare function AleoCuratedTokenPriceToJSON(value?: AleoCuratedTokenPrice | null): any;