Contract con_abuse_10


Contract Code


  
1 import con_smack_that_6
2 import currency
3 import con_smackeroos_3
4
5
6 @__export('con_abuse_10')
7 def smack():
8 a = 0
9 currency.approve(amount=500, to='con_smack_that_8')
10 while 10 > a:
11 con_smack_that_6.smack(3)
12 a += 1
13
14
15 @__export('con_abuse_10')
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

e30000000000000000000000000300000040000000733c000000640064016c005a00640064016c015a01640064016c025a0265036402830164036404840083015a0465036402830164056406840083015a05640153002907e9000000004eda0c636f6e5f61627573655f3130630000000000000000010000000400000043000000733600000064017d0074006a016402640364048d020100781e64057c006b04723074026a036406830101007c00640737007d00711457006400530029084e720100000069f4010000da10636f6e5f736d61636b5f746861745f382902da06616d6f756e74da02746fe90a000000e903000000e9010000002904da0863757272656e6379da07617070726f7665da10636f6e5f736d61636b5f746861745f36da05736d61636b2901da0161a900720e000000da00720c00000006000000730a000000000204010e010a010a01720c000000630000000000000000020000000300000043000000733800000074006a0174026a0383017d0074046a0174026a0383017d0174046a057c0174026a068302010074006a057c0074026a06830201006400530029014e2907da10636f6e5f736d61636b65726f6f735f33da0a62616c616e63655f6f66da03637478da04746869737209000000da087472616e73666572da0663616c6c657229027204000000da07616d6f756e7432720e000000720e000000720f00000072140000000f000000730800000000020c010c010e0172140000002906720b00000072090000007210000000da085f5f6578706f7274720c0000007214000000720e000000720e000000720e000000720f000000da083c6d6f64756c653e0100000073080000000801080108031009