2023-01-12 11:45:22 +00:00
|
|
|
const Routes = {
|
2022-08-10 08:50:15 +00:00
|
|
|
HOME: '/',
|
|
|
|
CLAIM: '/claim',
|
2022-12-06 16:00:37 +00:00
|
|
|
VALIDATORS: '/validators',
|
2022-08-10 08:50:15 +00:00
|
|
|
REWARDS: '/rewards',
|
2022-12-06 16:00:37 +00:00
|
|
|
PROPOSALS: '/proposals',
|
2022-12-09 14:01:33 +00:00
|
|
|
PROPOSALS_REJECTED: '/proposals/rejected',
|
2022-08-10 08:50:15 +00:00
|
|
|
NOT_PERMITTED: '/not-permitted',
|
|
|
|
NOT_FOUND: '/not-found',
|
|
|
|
CONTRACTS: '/contracts',
|
2022-12-06 16:00:37 +00:00
|
|
|
TOKEN: '/token',
|
|
|
|
REDEEM: '/token/redeem',
|
|
|
|
WITHDRAWALS: '/token/withdraw',
|
2023-01-12 11:45:22 +00:00
|
|
|
SUPPLY: '/token/tranches',
|
|
|
|
ASSOCIATE: '/validators/associate',
|
|
|
|
DISASSOCIATE: '/validators/disassociate',
|
2022-08-10 08:50:15 +00:00
|
|
|
};
|
2023-01-12 11:45:22 +00:00
|
|
|
|
|
|
|
export default Routes;
|
|
|
|
|
|
|
|
export const TOP_LEVEL_ROUTES = [
|
|
|
|
{
|
|
|
|
name: 'Proposals',
|
|
|
|
path: Routes.PROPOSALS,
|
|
|
|
},
|
|
|
|
{
|
|
|
|
name: 'Validators',
|
|
|
|
path: Routes.VALIDATORS,
|
|
|
|
},
|
|
|
|
{
|
|
|
|
name: 'Rewards',
|
|
|
|
path: Routes.REWARDS,
|
|
|
|
},
|
|
|
|
];
|
|
|
|
|
|
|
|
export const TOKEN_DROPDOWN_ROUTES = [
|
|
|
|
{
|
|
|
|
name: 'Token',
|
|
|
|
path: Routes.TOKEN,
|
|
|
|
},
|
|
|
|
{
|
|
|
|
name: 'Supply & Vesting',
|
|
|
|
path: Routes.SUPPLY,
|
|
|
|
},
|
|
|
|
{
|
|
|
|
name: 'Withdraw',
|
|
|
|
path: Routes.WITHDRAWALS,
|
|
|
|
},
|
|
|
|
{
|
|
|
|
name: 'Redeem',
|
|
|
|
path: Routes.REDEEM,
|
|
|
|
},
|
|
|
|
{
|
|
|
|
name: 'Associate',
|
|
|
|
path: Routes.ASSOCIATE,
|
|
|
|
},
|
|
|
|
{
|
|
|
|
name: 'Disassociate',
|
|
|
|
path: Routes.DISASSOCIATE,
|
|
|
|
},
|
|
|
|
];
|