@@ -47,11 +47,9 @@ import {
47
47
handleTokenUnlockedAction ,
48
48
handleTransfer ,
49
49
} from '~handlers' ;
50
- import {
51
- handleProxyColonyDeployed ,
52
- handleProxyColonyRequested ,
53
- } from '~handlers/proxyColonies' ;
50
+ import { handleProxyColonyRequested } from '~handlers/proxyColonies' ;
54
51
import setTokenAuthority from '~handlers/tokens/setTokenAuthority' ;
52
+ import { addProxyColoniesEventListener } from './proxyColonies' ;
55
53
56
54
const addColonyEventListener = (
57
55
eventSignature : ContractEventsSignatures ,
@@ -113,11 +111,7 @@ export const setupListenersForColonies = async (): Promise<void> => {
113
111
ContractEventsSignatures . ReputationMiningCycleComplete ,
114
112
handleReputationMiningCycleComplete ,
115
113
) ;
116
- addNetworkEventListener (
117
- ContractEventsSignatures . ProxyColonyDeployed ,
118
- handleProxyColonyDeployed ,
119
- ) ;
120
- addNetworkEventListener (
114
+ addProxyColoniesEventListener (
121
115
ContractEventsSignatures . ProxyColonyRequested ,
122
116
handleProxyColonyRequested ,
123
117
) ;
0 commit comments