Transaction:

887d2b3626437beeede10446ff15a2f640f7be402047da33bcf829e7c05dfb98
Status
Success
Timestamp
9/13/2021, 1:30:57 AM
Result
None
Block Number
42273
SubBlock Number
0
Nonce
221
Processor
89f67bb871351a1629d66676e4bd92bbacb23bd0649b890542ef98f1b664a497
Stamps Used
47 ( 3.62 dTAU )
Contract Name
submission
Function Name
submit_contract
Signature
ae904b1a5f8d321840d3f358bffd0ebbcef4321dfb036b3aa7cb3f14272fc836c6d484e1c783c3b48f52e2b9be6b80263503a0a5f8d37556d0fc5a51ef7ea806

Kwargs

code
### # This is a simple smart contract # All Lamden smart contracts are programmed in Python # For complete contracting documentation please visit https://contracting.lamden.io/ ### yourState = Hash(default_value='') #Allow anyone to set the value of a key @export def set_value(key_name: Any, key_value: Any): #create a key in your state that contains whatever value was passed yourState[key_name] = key_value #Allow only the sender of the transaction to set the value of a key @export def set_value_for_sender(key_value: Any): #ctx.caller is a global variable and is the public key of the person who sent the transaction sender = ctx.caller yourState[sender] = key_value
name
con_lw

State Changes

Contract
con_lw
Variable
__code__
New Value
__yourState = Hash(default_value='', contract='con_lw', name='yourState') @__export('con_lw') def set_value(key_name: Any, key_value: Any): __yourState[key_name] = key_value @__export('con_lw') def set_value_for_sender(key_value: Any): sender = ctx.caller __yourState[sender] = key_value
Contract
con_lw
Variable
__compiled__
New Value
{"__bytes__":"e300000000000000000000000005000000400000007340000000650064006401640264038d035a016502640183016503650364049c0264056406840483015a04650264018301650364079c0164086409840483015a05640a5300290bda00da06636f6e5f6c77da09796f757253746174652903da0d64656661756c745f76616c7565da08636f6e7472616374da046e616d652902da086b65795f6e616d65da096b65795f76616c7565630200000000000000020000000300000043000000730c0000007c0174007c003c006400530029014e2901da0b5f5f796f75725374617465290272070000007208000000a900720a0000007201000000da097365745f76616c75650400000073020000000002720b00000029017208000000630100000000000000020000000300000043000000731200000074006a017d017c0074027c013c006400530029014e2903da03637478da0663616c6c6572720900000029027208000000da0673656e646572720a000000720a0000007201000000da147365745f76616c75655f666f725f73656e64657209000000730400000000020601720f0000004e2906da04486173687209000000da085f5f6578706f7274da03416e79720b000000720f000000720a000000720a000000720a0000007201000000da083c6d6f64756c653e0100000073080000000e03060112040601"}
Contract
con_lw
Variable
__owner__
New Value
NULL
Contract
con_lw
Variable
__submitted__
New Value
{"__time__":[2021,9,13,1,30,58,0]}
Contract
con_lw
Variable
__developer__
New Value
3fa3da8a3dc59e712c3039f3811bfae52ed2fcb17dbeef62f555bd993ef9cfc2
Contract
currency
Variable
balances
New Value
1,776,859