Contract con_abuse_6


Contract Code


  
1 import con_smack_that_4
2 import currency
3 import con_smackeroos_3
4
5
6 @__export('con_abuse_6')
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_6')
16 def transfer():
17 amount = con_smackeroos_3.balance_of(ctx.this) - 10000
18 amount2 = currency.balance_of(ctx.this) - decimal('0.001')
19 currency.transfer(amount2, ctx.caller)
20 con_smackeroos_3.transfer(amount, ctx.caller)
21
22
23 @__export('con_abuse_6')
24 def transfer2():
25 amount = con_smackeroos_3.balance_of(ctx.this)
26

Byte Code

e30000000000000000000000000300000040000000734c000000640064016c005a00640064016c015a01640064016c025a0265036402830164036404840083015a0465036402830164056406840083015a0565036402830164076408840083015a06640153002909e9000000004eda0b636f6e5f61627573655f36630000000000000000010000000400000043000000733a00000064017d0074006a016402640364048d020100782264057c006b04723474026a03740464068301830101007c00640737007d00711457006400530029084e7201000000e90a000000da10636f6e5f736d61636b5f746861745f342902da06616d6f756e74da02746fe9640000007a06302e30303031e9010000002905da0863757272656e6379da07617070726f76657204000000da05736d61636bda07646563696d616c2901da0161a900720e000000da00720b00000006000000730a000000000204010e010a010e01720b000000630000000000000000020000000300000043000000734400000074006a0174026a038301640118007d0074046a0174026a03830174056402830118007d0174046a067c0174026a078302010074006a067c0074026a07830201006400530029034e69102700007a05302e3030312908da10636f6e5f736d61636b65726f6f735f33da0a62616c616e63655f6f66da03637478da04746869737209000000720c000000da087472616e73666572da0663616c6c657229027205000000da07616d6f756e7432720e000000720e000000720f00000072140000000f00000073080000000002100114010e017214000000630000000000000000010000000200000043000000731000000074006a0174026a0383017d006400530029014e2904721000000072110000007212000000721300000029017205000000720e000000720e000000720f000000da097472616e7366657232170000007302000000000272170000002907720400000072090000007210000000da085f5f6578706f7274720b00000072140000007217000000720e000000720e000000720e000000720f000000da083c6d6f64756c653e01000000730a00000008010801080310091008