CityOfZion / neo-boa

Python compiler for the Neo2 Virtual Machine, see neo3-boa for NEO3
MIT License
69 stars 55 forks source link

Add check for payable flag #90

Closed jhwinter closed 6 years ago

jhwinter commented 6 years ago

What current issue(s) from Github does this address? NEP-5 contracts have a payable flag, but there is currently no way to check for that flag with the neo-boa compiler. What problem does this PR solve? Check that a contract is payable How did you solve this problem? added in an IsPayable method How did you make sure your solution works?

Are there any special changes in the code that we should be aware of?

Is there anything else we should know?

coveralls commented 6 years ago

Coverage Status

Coverage remained the same at 93.014% when pulling f3e6713e0627bbb016ab991028c996a4c498141f on jhwinter:patch-2 into eaaf46aa032521dc761b18f1f5b04c1c519f956f on CityOfZion:master.

localhuman commented 6 years ago

Thank you!