mirror of
https://github.com/luxfi/explore.git
synced 2026-09-24 00:28:18 +00:00
* combine tabs and add method type filter * add badge with contract method type * add name filter * add filters to mud system tab * support array of tabs ids and route old tabs to the new one * fix tests * support adding the custom ABI from the contract page * update margins and add test * fix bugs and update screenshots * some design updates * update preset for garnet * [skip ci] fix garnet preset * improve links to contract methods
23 lines
579 B
TypeScript
23 lines
579 B
TypeScript
export const CONTRACT_MAIN_TAB_IDS = [
|
|
'contract_code',
|
|
'read_contract',
|
|
'write_contract',
|
|
'read_write_contract',
|
|
'read_proxy',
|
|
'write_proxy',
|
|
'read_write_proxy',
|
|
'read_custom_methods',
|
|
'write_custom_methods',
|
|
'read_write_custom_methods',
|
|
'mud_system',
|
|
] as const;
|
|
|
|
export const CONTRACT_DETAILS_TAB_IDS = [
|
|
'contract_source_code',
|
|
'contract_compiler',
|
|
'contract_abi',
|
|
'contract_bytecode',
|
|
] as const;
|
|
|
|
export const CONTRACT_TAB_IDS = (CONTRACT_MAIN_TAB_IDS as unknown as Array<string>).concat(CONTRACT_DETAILS_TAB_IDS as unknown as Array<string>);
|