Fix contracts coming in with 0 amount

Signed-off-by: David Fisher <deiform87@gmail.com>
Major client side refactor to Ember preV4

Signed-off-by: David Fisher <deiform87@gmail.com>