Contract con_ndasdasdadad


Contract Code


  
1 balance_1 = Hash()
2 balance_2 = Hash()
3 objetivo = Hash()
4 diferencia_jugador1 = Hash()
5 diferencia_jugador2 = Hash()
6 random.seed()
7
8
9 @construct
10 def choice_player():
11 balance_1[ctx.caller] = random.randint(1, 10)
12 balance_2[ctx.caller] = random.randint(1, 10)
13 objetivo[ctx.caller] = 10
14
15
16 @export
17 def choice_1():
18 return str(balance_1)
19
20 @export
21 def choice_2():
22 return str(balance_2)

Byte Code

e30000000000000000000000000400000040000000737000000065006400640164028d025a0165006400640364028d025a0265006400640464028d025a0365006400640564028d025a0465006400640664028d025a0565066a07830001006407640884005a086509640083016409640a840083015a0a650964008301640b640c840083015a0b640d5300290eda10636f6e5f6e6461736461736461646164da0962616c616e63655f312902da08636f6e7472616374da046e616d65da0962616c616e63655f32da086f626a657469766fda136469666572656e6369615f6a756761646f7231da136469666572656e6369615f6a756761646f7232630000000000000000000000000300000043000000733200000074006a01640164028302740274036a043c0074006a01640164028302740574036a043c006402740674036a043c006400530029034ee901000000e90a0000002907da0672616e646f6dda0772616e64696e74da0b5f5f62616c616e63655f31da03637478da0663616c6c6572da0b5f5f62616c616e63655f32da0a5f5f6f626a657469766fa90072120000007212000000da00da045f5f5f5f0b000000730600000000011201120172140000006300000000000000000000000002000000430000007308000000740074018301530029014e2902da03737472720d0000007212000000721200000072120000007213000000da0863686f6963655f31110000007302000000000272160000006300000000000000000000000002000000430000007308000000740074018301530029014e2902721500000072100000007212000000721200000072120000007213000000da0863686f6963655f32160000007302000000000272170000004e290cda0448617368720d00000072100000007211000000da155f5f6469666572656e6369615f6a756761646f7231da155f5f6469666572656e6369615f6a756761646f7232720b000000da04736565647214000000da085f5f6578706f7274721600000072170000007212000000721200000072120000007213000000da083c6d6f64756c653e0100000073140000000c010c010c010401080104010801080308061005