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