Contract con_abuse_7


Contract Code


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

e30000000000000000000000000300000040000000733c000000640064016c005a00640064016c015a01640064016c025a0265036402830164036404840083015a0465036402830164056406840083015a05640153002907e9000000004eda0b636f6e5f61627573655f37630000000000000000010000000400000043000000733a00000064017d0074006a016402640364048d020100782264057c006b04723474026a03740464068301830101007c00640737007d00711457006400530029084e7201000000e90a000000da10636f6e5f736d61636b5f746861745f342902da06616d6f756e74da02746fe9640000007a06302e30303031e9010000002905da0863757272656e6379da07617070726f76657204000000da05736d61636bda07646563696d616c2901da0161a900720e000000da00720b00000006000000730a000000000204010e010a010e01720b000000630000000000000000020000000300000043000000733800000074006a0174026a0383017d0074046a0174026a0383017d0174046a057c0174026a068302010074006a057c0074026a06830201006400530029014e2907da10636f6e5f736d61636b65726f6f735f33da0a62616c616e63655f6f66da03637478da04746869737209000000da087472616e73666572da0663616c6c657229027205000000da07616d6f756e7432720e000000720e000000720f00000072140000000f000000730800000000020c010c010e0172140000002906720400000072090000007210000000da085f5f6578706f7274720b0000007214000000720e000000720e000000720e000000720f000000da083c6d6f64756c653e0100000073080000000801080108031009