import * as Deployer from 'truffle-deployer' ; const ECRecovery = artifacts . require ( './ECRecovery.sol' ) ; const Unidirectional = artifacts . require ( './Unidirectional.sol' ) ; module . exports = function ( deployer ) { return deployer . deploy ( ECRecovery ) . then ( ( ) => { return deployer . link ( ECRecovery , Unidirectional ) ; } ) . then ( ( ) => { return deployer . deploy ( Unidirectional ) ; } ) ; } ;