Contract con_test_0


Contract Code


  
1 import con_collider_007 as collider
2 import currency
3
4 @export
5 def test():
6 currency.transfer_from(amount=15, to=ctx.this, main_account
7 =ctx.caller)
8
9 currency.approve(amount=1000000, to='con_collider_007')
10 collider.collide(15)
11

Byte Code

e300000000000000000000000003000000400000007324000000640064016c005a01640064016c025a0265036402830164036404840083015a04640153002905e9000000004eda0a636f6e5f746573745f30630000000000000000000000000500000043000000733000000074006a01640174026a0374026a0464028d03010074006a056403640464058d02010074066a076401830101006400530029064ee90f0000002903da06616d6f756e74da02746fda0c6d61696e5f6163636f756e746940420f00da10636f6e5f636f6c6c696465725f3030372902720400000072050000002908da0863757272656e6379da0d7472616e736665725f66726f6dda03637478da0474686973da0663616c6c6572da07617070726f7665da08636f6c6c69646572da07636f6c6c696465a90072100000007210000000da00da0474657374050000007306000000000214010e01721200000029057207000000720e0000007208000000da085f5f6578706f727472120000007210000000721000000072100000007211000000da083c6d6f64756c653e01000000730400000008010803