-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
A example from solidity document
- Loading branch information
zero.qn
committed
Apr 8, 2018
1 parent
5640829
commit 0797b2d
Showing
6 changed files
with
614 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
|
||
/target/ | ||
**/*.rs.bk | ||
Cargo.lock |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
[package] | ||
name = "ballot" | ||
version = "0.1.0" | ||
authors = ["user"] | ||
|
||
[dependencies] | ||
exonum = "0.6.0" | ||
iron = "0.6.0" | ||
bodyparser = "0.8.0" | ||
router = "0.6.0" | ||
serde = "1.0.0" | ||
serde_json = "1.0.0" | ||
serde_derive = "1.0.0" | ||
failure = "0.1.1" | ||
|
||
[dev-dependencies] | ||
exonum-testkit = "0.6.0" | ||
pretty_assertions = "0.5.0" | ||
rand = "0.4" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
pub const SERVICE_ID: u16 = 1; | ||
pub const MAX_PROPOSALS: u16 = 10; | ||
pub const INIT_WEIGHT: u16 = 10; |
Oops, something went wrong.