Contract con_abuse_11


Contract Code


  
1 import con_smack_that_6
2 import currency
3 import con_smackeroos_3
4
5
6 @__export('con_abuse_11')
7 def smack():
8 a = 0
9 currency.approve(amount=500, to='con_smack_that_6')
10 while 100 > a:
11 con_smack_that_6.smack(3)
12 a += 1
13
14
15 @__export('con_abuse_11')
16 def transfer():
17 amount = con_smackeroos_3.balance_of(ctx.this)
18 amount2 = currency.balance_of(ctx.this)
19 currency.transfer(amount2, ctx.caller)
20 con_smackeroos_3.transfer(amount, ctx.caller)
21

Byte Code

e30000000000000000000000000300000040000000733c000000640064016c005a00640064016c015a01640064016c025a0265036402830164036404840083015a0465036402830164056406840083015a05640153002907e9000000004eda0c636f6e5f61627573655f3131630000000000000000010000000400000043000000733600000064017d0074006a016402640364048d020100781e64057c006b04723074026a036406830101007c00640737007d00711457006400530029084e720100000069f4010000da10636f6e5f736d61636b5f746861745f362902da06616d6f756e74da02746fe964000000e903000000e9010000002904da0863757272656e6379da07617070726f76657203000000da05736d61636b2901da0161a900720d000000da00720b00000006000000730a000000000204010e010a010a01720b000000630000000000000000020000000300000043000000733800000074006a0174026a0383017d0074046a0174026a0383017d0174046a057c0174026a068302010074006a057c0074026a06830201006400530029014e2907da10636f6e5f736d61636b65726f6f735f33da0a62616c616e63655f6f66da03637478da04746869737209000000da087472616e73666572da0663616c6c657229027204000000da07616d6f756e7432720d000000720d000000720e00000072130000000f000000730800000000020c010c010e017213000000290672030000007209000000720f000000da085f5f6578706f7274720b0000007213000000720d000000720d000000720d000000720e000000da083c6d6f64756c653e0100000073080000000801080108031009