Files
tom goriunovandGitHub 25a4c2a97e Replace OP Superchain feature with generic Multichain explorer (#3299)
* rename feature

* rename evn preset

* types, mocks and stubs renaming

* rename UI components
2026-02-25 18:02:52 +01:00

116 lines
2.6 KiB
TypeScript

import type { AddressTokenItem } from 'types/client/multichainAggregator';
import { chainA, chainB, chainC } from './chains';
export const tokenAA: AddressTokenItem = {
token: {
address_hash: '0xaA8E23Fb1079EA71e0a56F48a2aA51851D8433D0',
circulating_market_cap: '10.01',
decimals: '6',
holders_count: '1250',
icon_url: null,
name: 'USDT',
symbol: 'USDT',
total_supply: '284529257047384793',
type: 'ERC-20',
exchange_rate: '123.456',
chain_infos: {
[chainA.id]: {
holders_count: '1250',
total_supply: '184529257047384791',
is_verified: true,
contract_name: 'TestnetERC20',
},
},
reputation: null,
},
token_instance: null,
token_id: null,
value: '1038000000',
chain_values: {
[chainA.id]: '1038000000',
},
};
export const tokenAB: AddressTokenItem = {
token: {
address_hash: '0x0000000000000000000000000000000000000000',
circulating_market_cap: '274743626781.043515906',
decimals: '18',
holders_count: null,
icon_url: 'https://coin-images.coingecko.com/coins/images/279/small/ethereum.png?1696501628',
name: 'Ether',
symbol: 'ETH',
total_supply: null,
type: 'NATIVE',
exchange_rate: '2276.37',
chain_infos: {
[chainA.id]: {
holders_count: undefined,
total_supply: undefined,
is_verified: false,
contract_name: undefined,
},
},
reputation: null,
},
token_id: null,
value: '32115625288281011210',
chain_values: {
[chainA.id]: '32115625288281011210',
},
token_instance: null,
};
export const tokenBA: AddressTokenItem = {
...tokenAA,
token: {
...tokenAA.token,
exchange_rate: '420.42',
chain_infos: {
[chainB.id]: {
holders_count: '5021',
total_supply: '100000000000000002',
is_verified: true,
contract_name: 'TestnetERC20',
},
},
},
chain_values: {
[chainB.id]: '42042000',
},
value: '42042000',
};
export const tokenCA: AddressTokenItem = {
...tokenBA,
token: {
...tokenBA.token,
symbol: 'DUCK',
name: 'Duckie Duck Duck',
exchange_rate: '242.11',
chain_infos: {
[chainC.id]: {
holders_count: '1250',
total_supply: '100000000000000002',
is_verified: true,
contract_name: 'Duck Duck Goose',
},
},
},
value: '897000',
chain_values: {
[chainC.id]: '897000',
},
};
export const tokenDA: AddressTokenItem = {
...tokenCA,
token: {
...tokenCA.token,
symbol: 'GOOSE',
name: 'Mega Goose',
exchange_rate: null,
},
};