Contract con_test_clear


Contract Code


  
1 vote_state = Hash()
2
3 @construct
4 def seed():
5 vote_state['yays'] = 10
6 vote_state['nays'] = 20
7
8 @export
9 def run():
10 vote_state.clear()
11
12 @export
13 def fill_state():
14 vote_state['yays'] = 10
15 vote_state['nays'] = 20

Byte Code

e30000000000000000000000000400000040000000733800000065006400640164028d025a016403640484005a0265036400830164056406840083015a0465036400830164076408840083015a0564095300290ada0e636f6e5f746573745f636c656172da0a766f74655f73746174652902da08636f6e7472616374da046e616d6563000000000000000000000000030000004300000073140000006401740064023c006403740064043c006400530029054ee90a000000da0479617973e914000000da046e6179732901da0c5f5f766f74655f7374617465a900720a000000720a000000da00da045f5f5f5f04000000730400000000010801720c000000630000000000000000000000000100000043000000730c00000074006a01830001006400530029014e29027209000000da05636c656172720a000000720a000000720a000000720b000000da0372756e0900000073020000000002720e00000063000000000000000000000000030000004300000073140000006401740064023c006403740064043c006400530029054e720500000072060000007207000000720800000029017209000000720a000000720a000000720a000000720b000000da0a66696c6c5f73746174650e000000730400000000020801720f0000004e2906da04486173687209000000720c000000da085f5f6578706f7274720e000000720f000000720a000000720a000000720a000000720b000000da083c6d6f64756c653e0100000073060000000c0308051005