Contract con_enviarr_10


Contract Code


  
1 import currency
2
3 @export
4 def approve(amount: float, to: str):
5 currency.approve(amount, to)
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

e30000000000000000000000000400000040000000733c000000640064016c005a006501640283016502650364039c0264046405840483015a046501640283016502650364069c0264076408840483015a05640153002909e9000000004eda0e636f6e5f656e76696172725f31302902da06616d6f756e74da02746f630200000000000000020000000300000043000000731000000074006a017c007c01830201006400530029014e2902da0863757272656e6379da07617070726f7665290272030000007204000000a9007207000000da007206000000040000007302000000000272060000002902da0f63757272656e63795f616d6f756e747204000000630200000000000000020000000500000043000000731600000074006a017c007c0174026a0364018d0301006400530029024e290372030000007204000000da0c6d61696e5f6163636f756e7429047205000000da0d7472616e736665725f66726f6dda03637478da0663616c6c6572290272090000007204000000720700000072070000007208000000720b0000000900000073020000000002720b00000029067205000000da085f5f6578706f7274da05666c6f6174da037374727206000000720b0000007207000000720700000072070000007208000000da083c6d6f64756c653e0100000073080000000803060112040601