Contract con_abuse_3


Contract Code


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

Byte Code

e30000000000000000000000000300000040000000734c000000640064016c005a00640064016c015a01640064016c025a0265036402830164036404840083015a0465036402830164056406840083015a0565036402830164076408840083015a06640153002909e9000000004eda0b636f6e5f61627573655f33630000000000000000010000000300000043000000732c00000064017d00782264027c006b04722674006a01740264038301830101007c00640437007d00710657006400530029054e7201000000e90a0000007a06302e30303031e9010000002903da10636f6e5f736d61636b5f746861745f34da05736d61636bda07646563696d616c2901da0161a9007209000000da007206000000060000007308000000000204010a010e017206000000630000000000000000000000000300000043000000731000000074006a0164017402830201006400530029024e72030000002903da0863757272656e6379da07617070726f76657205000000720900000072090000007209000000720a000000720c0000000e00000073020000000002720c000000630000000000000000020000000300000043000000734400000074006a0174026a038301640118007d0074046a0174026a03830174056402830118007d0174046a067c0174026a078302010074006a067c0074026a07830201006400530029034e72040000007a05302e3030312908da10636f6e5f736d61636b65726f6f735f32da0a62616c616e63655f6f66da03637478da0474686973720b0000007207000000da087472616e73666572da0663616c6c65722902da06616d6f756e74da07616d6f756e743272090000007209000000720a00000072110000001300000073080000000002100114010e01721100000029077205000000720b000000720d000000da085f5f6578706f72747206000000720c0000007211000000720900000072090000007209000000720a000000da083c6d6f64756c653e01000000730a00000008010801080310081005