Skip to content

Commit

Permalink
add Choice enum (#44)
Browse files Browse the repository at this point in the history
* add Choice enum

* use OpenZeppelin convention

* start from 1 instead of 0
  • Loading branch information
ShahakShama committed Mar 2, 2022
1 parent 2cfb911 commit 8f760da
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions contracts/starknet/objects/choice.cairo
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
namespace Choice:
const AGAINST = 1
const FOR = 2
const ABSTAIN = 3
end

0 comments on commit 8f760da

Please sign in to comment.