1 |
import currency
|
2 |
|
3 |
@export
|
4 |
def aprobar(currency_amount: float):
|
5 |
currency.approve(currency_amount, ctx.this)
|
6 |
|
7 |
@export
|
8 |
def transferir(currency_amount: float, to: str):
|
9 |
currency.transfer_from(amount=currency_amount, to=to,
|
10 |
main_account=ctx.caller)
|
11 |
|
e30000000000000000000000000400000040000000733a000000640064016c005a00650164028301650264039c0164046405840483015a036501640283016502650464069c0264076408840483015a05640153002909e9000000004eda0d636f6e5f6170726f6261725f362901da0f63757272656e63795f616d6f756e74630100000000000000010000000300000043000000731200000074006a017c0074026a03830201006400530029014e2904da0863757272656e6379da07617070726f7665da03637478da047468697329017203000000a9007208000000da00da076170726f6261720400000073020000000002720a00000029027203000000da02746f630200000000000000020000000500000043000000731600000074006a017c007c0174026a0364018d0301006400530029024e2903da06616d6f756e74720b000000da0c6d61696e5f6163636f756e7429047204000000da0d7472616e736665725f66726f6d7206000000da0663616c6c657229027203000000720b000000720800000072080000007209000000da0a7472616e7366657269720900000073020000000002721000000029067204000000da085f5f6578706f7274da05666c6f6174720a000000da0373747272100000007208000000720800000072080000007209000000da083c6d6f64756c653e0100000073080000000803060110040601