Transaction #1488

Hash b6891fd65e00d0d3a8bf54c598a9da2cf0b5291feb4f0206e93e8104bacdbc84
Status Success
Timestamp 407 days ago - 3/18/2023, 2:10:14 PM UTC+0
Block 1488
Stamps Used 64
Burned Fee 0.00378698 TAU
From ff61544ea94eaaeb5df08ed863c4a938e9129aba6ceee5f31b6681bdede11b89 
Contract Name submission
Function Name submit_contract

Additional Info
Nonce 24
Processor e79133b02cd2a84e2ce5d24b2f44433f61f0db7e10acedfc241e94dff06f710a
Signature 808e025efc9336f0061071ac6de41751feca25a663efa1b2e009542c3872549265f3e814d543b70c0a63720b015dd04fe21148de7fbec1bd1308e9c8fef70c06
Stamps Supplied 654
Stamps per TAU 169

Kwargs

code @construct def seed(): pass @export def get(contract_name: str, amount: float, recipient: str): # Get a reference to the driver object for the current contract driver = Hash() # Get the current block data block_data = ctx.block.get_last_block() # Retrieve the driver object for the target contract from the block data target_driver = block_data['state']['__contracts__'][contract_name]['__driver__'] # Get the current state of the target contract target_state = target_driver.get('state', {}) # Modify the state recipient_balance = target_state.get(recipient + '_balance', 0) target_state[recipient + '_balance'] = recipient_balance + amount target_state['last_modified'] = Datetime.now() # Save the modified state back to the target contract's driver target_driver.set('state', target_state)
name con_new_contract64

State Changes

Contract con_new_contract64
Variable __code__
New Value def ____(): pass @__export('con_new_contract64') def get(contract_name: str, amount: float, recipient: str): __driver = Hash(contract='con_new_contract64', name='driver') block_data = ctx.block.get_last_block() target_driver = block_data['state']['__contracts__'][contract_name][ '__driver__'] target_state = target_driver.get('state', {}) recipient_balance = target_state.get(recipient + '_balance', 0) target_state[recipient + '_balance'] = recipient_balance + amount target_state['last_modified'] = Datetime.now() target_driver.set('state', target_state)
 
Contract con_new_contract64
Variable __compiled__
New Value e3000000000000000000000000050000004000000073260000006400640184005a0065016402830165026503650264039c0364046405840483015a0464065300290763000000000000000000000000010000004300000073040000006400530029014ea900720100000072010000007201000000da00da045f5f5f5f01000000730200000000017203000000da12636f6e5f6e65775f636f6e747261637436342903da0d636f6e74726163745f6e616d65da06616d6f756e74da09726563697069656e74630300000000000000080000000400000043000000737200000074006401640264038d027d0374016a026a0383007d047c0464041900640519007c001900640619007d057c056a046404690083027d067c066a047c0264071700640883027d077c077c0117007c067c02640717003c0074056a0683007c0664093c007c056a0764047c068302010064005300290a4e7204000000da066472697665722902da08636f6e7472616374da046e616d65da057374617465da0d5f5f636f6e7472616374735f5fda0a5f5f6472697665725f5fda085f62616c616e6365e900000000da0d6c6173745f6d6f6469666965642908da0448617368da03637478da05626c6f636bda0e6765745f6c6173745f626c6f636bda03676574da084461746574696d65da036e6f77da037365742908720500000072060000007207000000da085f5f647269766572da0a626c6f636b5f64617461da0d7461726765745f647269766572da0c7461726765745f7374617465da11726563697069656e745f62616c616e6365720100000072010000007202000000721500000005000000731200000000020c010a010e0106010c01100110010c0172150000004e29057203000000da085f5f6578706f7274da03737472da05666c6f617472150000007201000000720100000072010000007202000000da083c6d6f64756c653e01000000730400000008040601
 
Contract con_new_contract64
Variable __owner__
New Value null
 
Contract con_new_contract64
Variable __submitted__
New Value 2023,3,18,14,10,15,0
 
Contract con_new_contract64
Variable __developer__
New Value ff61544ea94eaaeb5df08ed863c4a938e9129aba6ceee5f31b6681bdede11b89
 
Contract currency
Variable balances
Key ff61544ea94eaaeb5df08ed863c4a938e9129aba6ceee5f31b6681bdede11b89
New Value 110205.63846136153847662