migration of open-etc-friends-pool for use with Etica/EGAZ
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
import Ember from 'ember'; |
|
import config from '../config/environment'; |
|
|
|
|
|
export function workerEarnperday(hashrates) { |
|
return 24 * 60 * 60 / config.APP.BlockTime * (hashrates[0] / hashrates[1]) * config.APP.BlockReward; |
|
} |
|
|
|
export default Ember.Helper.helper(workerEarnperday);
|
|
|