import 'allocator/arena' ; import { Propose , Register , UnRegister } from '../../types/DAORegistry/DAORegistry' ; import * as domain from '../../domain' ; export function handlePropose ( event ) { domain . daoRegister ( event . params . _avatar , 'proposed' ) ; } export function handleRegister ( event ) { domain . daoRegister ( event . params . _avatar , 'registered' ) ; } export function handleUnRegister ( event ) { domain . daoRegister ( event . params . _avatar , 'unRegistered' ) ; }