mirror of
https://github.com/luxfi/explore.git
synced 2026-09-24 00:28:18 +00:00
* epochs page * epoch rewards distribution * epoch election rewards * address epoch rewards * block epoch tag * add some tests * adjust epoch details for L1 epochs * support non-finalized epochs * fixes after design review * add truncation to block numbers on mobile * update epochs table layout * update timestamp hint * fix bug with subheading of first epoch * fixes of mobile view * update screenshots
45 lines
1.2 KiB
TypeScript
45 lines
1.2 KiB
TypeScript
import type { AddressEpochRewardsResponse } from 'types/api/address';
|
|
|
|
import { tokenInfo } from 'mocks/tokens/tokenInfo';
|
|
|
|
import { withEns, withName, withoutName } from './address';
|
|
|
|
export const epochRewards: AddressEpochRewardsResponse = {
|
|
items: [
|
|
{
|
|
type: 'delegated_payment',
|
|
amount: '136609473658452408568',
|
|
account: withName,
|
|
associated_account: withName,
|
|
block_timestamp: '2022-05-15T13:16:24Z',
|
|
epoch_number: 1526,
|
|
token: tokenInfo,
|
|
},
|
|
{
|
|
type: 'group',
|
|
amount: '117205842355246195095',
|
|
account: withoutName,
|
|
associated_account: withoutName,
|
|
block_timestamp: '2022-05-15T13:16:24Z',
|
|
epoch_number: 1525,
|
|
token: tokenInfo,
|
|
},
|
|
{
|
|
type: 'validator',
|
|
amount: '125659647325556554060',
|
|
account: withEns,
|
|
associated_account: withEns,
|
|
block_timestamp: '2022-05-15T13:16:24Z',
|
|
epoch_number: 1524,
|
|
token: tokenInfo,
|
|
},
|
|
],
|
|
next_page_params: {
|
|
amount: '71952055594478242556',
|
|
associated_account_address_hash: '0x30d060f129817c4de5fbc1366d53e19f43c8c64f',
|
|
epoch_number: 25954560,
|
|
items_count: 50,
|
|
type: 'delegated_payment',
|
|
},
|
|
};
|