Contract con_aprobar_2


Contract Code


  
1 import currency
2
3 @export
4 def aprobar(currency_amount: float):
5 currency.approve(currency_amount, str(ctx.this))
6
7 @export
8 def show_name():
9 return str(ctx.this)

Byte Code

e300000000000000000000000004000000400000007332000000640064016c005a00650164028301650264039c0164046405840483015a0365016402830164066407840083015a04640153002908e9000000004eda0d636f6e5f6170726f6261725f322901da0f63757272656e63795f616d6f756e74630100000000000000010000000400000043000000731600000074006a017c00740274036a048301830201006400530029014e2905da0863757272656e6379da07617070726f7665da03737472da03637478da047468697329017203000000a9007209000000da00da076170726f6261720400000073020000000002720b000000630000000000000000000000000200000043000000730a000000740074016a028301530029014e2903720600000072070000007208000000720900000072090000007209000000720a000000da0973686f775f6e616d650900000073020000000002720c00000029057204000000da085f5f6578706f7274da05666c6f6174720b000000720c000000720900000072090000007209000000720a000000da083c6d6f64756c653e010000007306000000080306011004