Contract con_enviarr_3


Contract Code


  
1 import currency
2
3 @export
4 def deposit(currency_amount: float, to: str):
5 currency.transfer_from(amount=currency_amount, to=to,
6 main_account=ctx.caller)
7
8
9
10

Byte Code

e300000000000000000000000004000000400000007324000000640064016c005a006501640283016502650364039c0264046405840483015a04640153002906e9000000004eda0d636f6e5f656e76696172725f332902da0f63757272656e63795f616d6f756e74da02746f630200000000000000020000000500000043000000731600000074006a017c007c0174026a0364018d0301006400530029024e2903da06616d6f756e747204000000da0c6d61696e5f6163636f756e742904da0863757272656e6379da0d7472616e736665725f66726f6dda03637478da0663616c6c6572290272030000007204000000a900720b000000da00da076465706f7369740400000073020000000002720d00000029057207000000da085f5f6578706f7274da05666c6f6174da03737472720d000000720b000000720b000000720b000000720c000000da083c6d6f64756c653e01000000730400000008030601