Contract con_enviarr_12


Contract Code


  
1 import currency
2
3 @export
4 def approve(amount: float, to: str):
5 currency.approve(amount, ctx.caller)
6
7 @export
8 def transfer_from(currency_amount: float, to: str):
9 currency.transfer_from(amount=currency_amount, to=to,
10 main_account=ctx.caller)
11
12
13
14
15
16
17
18
19
20

Byte Code

e30000000000000000000000000400000040000000733c000000640064016c005a006501640283016502650364039c0264046405840483015a046501640283016502650364069c0264076408840483015a05640153002909e9000000004eda0e636f6e5f656e76696172725f31322902da06616d6f756e74da02746f630200000000000000020000000300000043000000731200000074006a017c0074026a03830201006400530029014e2904da0863757272656e6379da07617070726f7665da03637478da0663616c6c6572290272030000007204000000a9007209000000da007206000000040000007302000000000272060000002902da0f63757272656e63795f616d6f756e747204000000630200000000000000020000000500000043000000731600000074006a017c007c0174026a0364018d0301006400530029024e290372030000007204000000da0c6d61696e5f6163636f756e7429047205000000da0d7472616e736665725f66726f6d720700000072080000002902720b000000720400000072090000007209000000720a000000720d0000000900000073020000000002720d00000029067205000000da085f5f6578706f7274da05666c6f6174da037374727206000000720d000000720900000072090000007209000000720a000000da083c6d6f64756c653e0100000073080000000803060112040601