Skip to content

Commit

Permalink
feat(energy):update energy consumption model for smart contract
Browse files Browse the repository at this point in the history
  • Loading branch information
chengenguan committed Jan 4, 2019
1 parent cef4e0d commit 7b255d1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/model/netenergyconsumption.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@ module.exports = {
{ name: 'tid', type: 'String', length: 64, not_null: true, primary_key: true },
{ name: 'netUsed', type: 'BigInt', default: 0 },
{ name: 'energyUsed', type: 'BigInt', default: 0 },
{ name: 'fee', type: 'BigInt', default: 0 },
{ name: 'isFeeDeduct', type: 'Number', default: 0 },
{ name: 'height', type: 'BigInt', not_null: true },
{ name: 'address', type: 'String', length: 50, not_null: true },
]
}

0 comments on commit 7b255d1

Please sign in to comment.