@@ -18,18 +18,12 @@ import { exhaustedTypeWarning } from '../../../types/errors'
1818import { LongDataDisplay } from '../LongDataDisplay'
1919import { parseEvmEvent } from '../../utils/parseEvmEvent'
2020import { TokenTransferIcon } from '../Tokens/TokenTransferIcon'
21- import StreamIcon from '@mui/icons-material/Stream'
22- import LocalFireDepartmentIcon from '@mui/icons-material/LocalFireDepartment'
21+ import { ArrowRight , ArrowUp , ArrowDown , Cpu , Flame , Network } from 'lucide-react'
22+ import { DeveloperBoard } from '../MuiIcons/DeveloperBoard'
23+ import { DeveloperBoardOff } from '../MuiIcons/DeveloperBoardOff'
24+ import { Stream } from '../MuiIcons/Stream'
2325import { getPreciseNumberFormat } from '../../../locales/getPreciseNumberFormat'
2426import { MaybeEventErrorLine } from './EventError'
25- import ArrowDownwardIcon from '@mui/icons-material/ArrowDownward'
26- import { ArrowRight } from 'lucide-react'
27- import ArrowUpwardIcon from '@mui/icons-material/ArrowUpward'
28- import MemoryIcon from '@mui/icons-material/Memory'
29- import LanIcon from '@mui/icons-material/Lan'
30- import LanOutlinedIcon from '@mui/icons-material/LanOutlined'
31- import DeveloperBoard from '@mui/icons-material/DeveloperBoard'
32- import DeveloperBoardOffIcon from '@mui/icons-material/DeveloperBoardOff'
3327import { MethodIcon } from '../ConsensusTransactionMethod'
3428import { TransactionLink } from '../Transactions/TransactionLink'
3529import { Tooltip } from '@oasisprotocol/ui-library/src/components/tooltip'
@@ -111,32 +105,32 @@ export const EventTypeIcon: FC<{
111105 [ RuntimeEventType . evmlog ] : < > </ > ,
112106 [ RuntimeEventType . coregas_used ] : < > </ > ,
113107 [ RuntimeEventType . consensus_accountswithdraw ] : (
114- < MethodIcon color = "orange" icon = { < ArrowUpwardIcon /> } { ...props } />
108+ < MethodIcon color = "orange" icon = { < ArrowUp /> } { ...props } />
115109 ) ,
116110 [ RuntimeEventType . consensus_accountsdeposit ] : (
117- < MethodIcon color = "green" icon = { < ArrowDownwardIcon /> } { ...props } />
111+ < MethodIcon color = "green" icon = { < ArrowDown /> } { ...props } />
118112 ) ,
119- [ RuntimeEventType . consensus_accountsdelegate ] : < MethodIcon icon = { < LanIcon /> } { ...props } /> ,
120- [ RuntimeEventType . consensus_accountsundelegate_start ] : (
121- < MethodIcon icon = { < LanOutlinedIcon /> } { ...props } />
113+ [ RuntimeEventType . consensus_accountsdelegate ] : (
114+ < MethodIcon icon = { < Network className = "[&_rect]:fill-current" /> } { ...props } />
122115 ) ,
123- [ RuntimeEventType . consensus_accountsundelegate_done ] : < MethodIcon icon = { < LanIcon /> } { ...props } /> ,
124- [ RuntimeEventType . accountsmint ] : < MethodIcon color = "green" icon = { < StreamIcon /> } { ...props } /> ,
125- [ RuntimeEventType . accountsburn ] : (
126- < MethodIcon color = "orange" icon = { < LocalFireDepartmentIcon /> } { ...props } />
116+ [ RuntimeEventType . consensus_accountsundelegate_start ] : < MethodIcon icon = { < Network /> } { ...props } /> ,
117+ [ RuntimeEventType . consensus_accountsundelegate_done ] : (
118+ < MethodIcon icon = { < Network className = "[&_rect]:fill-current" /> } { ...props } />
127119 ) ,
128- [ RuntimeEventType . roflapp_created ] : < MethodIcon color = "green" icon = { < MemoryIcon /> } { ...props } /> ,
129- [ RuntimeEventType . roflapp_removed ] : < MethodIcon color = "orange" icon = { < MemoryIcon /> } { ...props } /> ,
130- [ RuntimeEventType . roflapp_updated ] : < MethodIcon color = "green" icon = { < MemoryIcon /> } { ...props } /> ,
131- [ RuntimeEventType . roflinstance_registered ] : < MethodIcon color = "green" icon = { < MemoryIcon /> } { ...props } /> ,
120+ [ RuntimeEventType . accountsmint ] : < MethodIcon color = "green" icon = { < Stream /> } { ...props } /> ,
121+ [ RuntimeEventType . accountsburn ] : < MethodIcon color = "orange" icon = { < Flame /> } { ...props } /> ,
122+ [ RuntimeEventType . roflapp_created ] : < MethodIcon color = "green" icon = { < Cpu /> } { ...props } /> ,
123+ [ RuntimeEventType . roflapp_removed ] : < MethodIcon color = "orange" icon = { < Cpu /> } { ...props } /> ,
124+ [ RuntimeEventType . roflapp_updated ] : < MethodIcon color = "green" icon = { < Cpu /> } { ...props } /> ,
125+ [ RuntimeEventType . roflinstance_registered ] : < MethodIcon color = "green" icon = { < Cpu /> } { ...props } /> ,
132126 [ RuntimeEventType . roflmarketprovider_created ] : (
133127 < MethodIcon color = "green" icon = { < DeveloperBoard /> } { ...props } />
134128 ) ,
135129 [ RuntimeEventType . roflmarketprovider_updated ] : (
136130 < MethodIcon color = "green" icon = { < DeveloperBoard /> } { ...props } />
137131 ) ,
138132 [ RuntimeEventType . roflmarketprovider_removed ] : (
139- < MethodIcon color = "orange" icon = { < DeveloperBoardOffIcon /> } { ...props } />
133+ < MethodIcon color = "orange" icon = { < DeveloperBoardOff /> } { ...props } />
140134 ) ,
141135 [ RuntimeEventType . roflmarketinstance_created ] : (
142136 < MethodIcon color = "green" icon = { < DeveloperBoard /> } { ...props } />
@@ -146,10 +140,10 @@ export const EventTypeIcon: FC<{
146140 ) ,
147141 [ RuntimeEventType . roflmarketinstance_accepted ] : < MethodIcon icon = { < DeveloperBoard /> } { ...props } /> ,
148142 [ RuntimeEventType . roflmarketinstance_cancelled ] : (
149- < MethodIcon color = "orange" icon = { < DeveloperBoardOffIcon /> } { ...props } />
143+ < MethodIcon color = "orange" icon = { < DeveloperBoardOff /> } { ...props } />
150144 ) ,
151145 [ RuntimeEventType . roflmarketinstance_removed ] : (
152- < MethodIcon color = "orange" icon = { < DeveloperBoardOffIcon /> } { ...props } />
146+ < MethodIcon color = "orange" icon = { < DeveloperBoardOff /> } { ...props } />
153147 ) ,
154148 [ RuntimeEventType . roflmarketinstance_command_queued ] : < MethodIcon icon = { < DeveloperBoard /> } { ...props } /> ,
155149 }
0 commit comments