Contract con_abuse_5


Contract Code

1 import con_smack_that_4
2 import currency
3 import con_smackeroos_2
4
5
6 @export('con_abuse_5')
7 def smack():
8 a = 0
9 currency.approve(amount=10, to='con_smack_that_4')
10 while 10 > a:
11 con_smack_that_4.smack(decimal('0.0001'))
12 a += 1
13
14
15 @export('con_abuse_5')
16 def transfer():
17 amount = con_smackeroos_2.balance_of(ctx.this) - 1
18 amount2 = currency.balance_of(ctx.this) - decimal('0.001')
19 currency.transfer(amount2, ctx.caller)
20 con_smackeroos_2.transfer(amount, ctx.caller)
21

Byte Code

e30000000000000000000000000300000040000000733c000000640064016c005a00640064016c015a01640064016c025a0265036402830164036404840083015a0465036402830164056406840083015a05640153002907e9000000004eda0b636f6e5f61627573655f35630000000000000000010000000400000043000000733a00000064017d0074006a016402640364048d020100782264027c006b04723474026a03740464058301830101007c00640637007d00711457006400530029074e7201000000e90a000000da10636f6e5f736d61636b5f746861745f342902da06616d6f756e74da02746f7a06302e30303031e9010000002905da0863757272656e6379da07617070726f76657204000000da05736d61636bda07646563696d616c2901da0161a900720d000000da00720a00000006000000730a000000000204010e010a010e01720a000000630000000000000000020000000300000043000000734400000074006a0174026a038301640118007d0074046a0174026a03830174056402830118007d0174046a067c0174026a078302010074006a067c0074026a07830201006400530029034e72070000007a05302e3030312908da10636f6e5f736d61636b65726f6f735f32da0a62616c616e63655f6f66da03637478da04746869737208000000720b000000da087472616e73666572da0663616c6c657229027205000000da07616d6f756e7432720d000000720d000000720e00000072130000000f00000073080000000002100114010e017213000000290672040000007208000000720f000000da085f5f6578706f7274720a0000007213000000720d000000720d000000720d000000720e000000da083c6d6f64756c653e0100000073080000000801080108031009