Transaction #2189
Hash | 67fba961b002b134cd33249f846d3ad969c73a46fea9987f92f58117471df8de |
Status | Success |
Timestamp | 282 days ago - 8/5/2023, 6:56:53 PM UTC+0 |
Block | 2189 |
Stamps Used | 78 |
Burned Fee | 0.00461538 TAU |
From | 225ec10455f8bd8757a8889ec5ac4ca5c68dd3fd49432d901e10a4252790c746 |
Contract Name | submission |
Function Name | submit_contract |
Additional Info
Nonce | 15 |
Processor | 9d2dbfcc8cd20c8e41b24db367f215e4ac527dc6a2a0acdb4b6008d13d043ef8 |
Signature | 2ac7e39d56a5134d4ec82de1c27a4bb53485166cff9543a9f96e34de48c04e8627a3e62f3c653a5db3fc5d22556bec305ee8e205bd97ef6709572a886c09c301 |
Stamps Supplied | 1111 |
Stamps per TAU | 169 |
Kwargs
code | balances = Hash(default_value=0) @export def tranferir(amount: int, to: str): assert amount > 0, 'Cannot send negative balances!' sender = ctx.caller assert balances[sender] >= amount, 'Not enough coins to send!' balances[sender] -= amount balances[to] += amount @export def approve(amount: float, to: str): assert amount > 0, 'Cannot send negative balances!' sender = ctx.caller balances[sender, to] += amount return balances[sender, to] @export def balance_of(account: str): return balances[account] |
name | con_enviar_3 |
State Changes
Contract | con_enviar_3 |
Variable | __code__ |
New Value | __balances = Hash(default_value=0, contract='con_enviar_3', name='balances') @__export('con_enviar_3') def tranferir(amount: int, to: str): assert amount > 0, 'Cannot send negative balances!' sender = ctx.caller assert __balances[sender] >= amount, 'Not enough coins to send!' __balances[sender] -= amount __balances[to] += amount @__export('con_enviar_3') def approve(amount: float, to: str): assert amount > 0, 'Cannot send negative balances!' sender = ctx.caller __balances[sender, to] += amount return __balances[sender, to] @__export('con_enviar_3') def balance_of(account: str): return __balances[account] |
Contract | con_enviar_3 |
Variable | __compiled__ |
New Value | e300000000000000000000000005000000400000007358000000650064006401640264038d035a016502640183016503650464049c0264056406840483015a056502640183016506650464049c0264076408840483015a07650264018301650464099c01640a640b840483015a08640c5300290de900000000da0c636f6e5f656e766961725f33da0862616c616e6365732903da0d64656661756c745f76616c7565da08636f6e7472616374da046e616d652902da06616d6f756e74da02746f630200000000000000030000000400000043000000734e0000007c0064016b047310740064028301820174016a027d0274037c0219007c006b05732a740064038301820174037c02050019007c00380003003c0074037c01050019007c00370003003c006400530029044e72010000007a1e43616e6e6f742073656e64206e656761746976652062616c616e636573217a194e6f7420656e6f75676820636f696e7320746f2073656e64212904da0e417373657274696f6e4572726f72da03637478da0663616c6c6572da0a5f5f62616c616e636573290372070000007208000000da0673656e646572a900720e000000da00da097472616e666572697204000000730a00000000021001060114011001721000000063020000000000000003000000040000004300000073360000007c0064016b047310740064028301820174016a027d0274037c027c016602050019007c00370003003c0074037c027c0166021900530029034e72010000007a1e43616e6e6f742073656e64206e656761746976652062616c616e6365732129047209000000720a000000720b000000720c000000290372070000007208000000720d000000720e000000720e000000720f000000da07617070726f76650d0000007308000000000210010601140172110000002901da076163636f756e74630100000000000000010000000200000043000000730800000074007c001900530029014e2901720c00000029017212000000720e000000720e000000720f000000da0a62616c616e63655f6f66150000007302000000000272130000004e2909da0448617368720c000000da085f5f6578706f7274da03696e74da037374727210000000da05666c6f617472110000007213000000720e000000720e000000720e000000720f000000da083c6d6f64756c653e01000000730c0000000e0306011208060112070601 |
Contract | con_enviar_3 |
Variable | __developer__ |
New Value | 225ec10455f8bd8757a8889ec5ac4ca5c68dd3fd49432d901e10a4252790c746 |
Contract | con_enviar_3 |
Variable | __owner__ |
New Value | null |
Contract | con_enviar_3 |
Variable | __submitted__ |
New Value | 2023,8,5,18,56,54,0 |
Contract | currency |
Variable | balances |
Key | 225ec10455f8bd8757a8889ec5ac4ca5c68dd3fd49432d901e10a4252790c746 |
New Value | 47601.86923065461538581 |