Transaction #1131042

Hash adc236355a81a02938ebac7268c0aa7e582493d160bcaf45563e961985781e7a
Status Success
Timestamp 574 days ago - 10/23/2022, 10:28:12 PM UTC+0
Block 1082170
Stamps Used 76
Burned Fee 0.00449704 TAU
From f0fc0db25cc1381a98052a2826cb905b78fb6ab4d7ef76f64054509bee070b07 
Contract Name submission
Function Name submit_contract

Additional Info
SubBlock Number 0
Nonce 1
Processor 5b09493df6c18d17cc883ebce54fcb1f5afbd507533417fe32c006009a9c3c4a
Signature 288fa56fc7ae5441f7422cb31acae0e8bb4305340681dfec1216a15760a85ab18316120637333f28b9ecb400d40cedcb78705481f92b636a33a61ad43625c90f
Stamps Supplied 1500
Stamps per TAU 169

Kwargs

code current_price = Hash(default_value=0) operator = Variable() @construct def seed(): operator.set(ctx.caller) @export def set_price(number: int, new_price: float): assert new_price >= 0, 'Cannot set negative prices!' assert ctx.caller == operator.get(), 'You do not have permission to set the price.' current_price[number] = new_price @export def get_price(number: int): return current_price[number]
name con_october_oracle

State Changes

Contract con_october_oracle
Variable operator
New Value f0fc0db25cc1381a98052a2826cb905b78fb6ab4d7ef76f64054509bee070b07
 
Contract con_october_oracle
Variable __code__
New Value __current_price = Hash(default_value=0, contract='con_october_oracle', name ='current_price') __operator = Variable(contract='con_october_oracle', name='operator') def ____(): __operator.set(ctx.caller) @__export('con_october_oracle') def set_price(number: int, new_price: float): assert new_price >= 0, 'Cannot set negative prices!' assert ctx.caller == __operator.get( ), 'You do not have permission to set the price.' __current_price[number] = new_price @__export('con_october_oracle') def get_price(number: int): return __current_price[number]
 
Contract con_october_oracle
Variable __compiled__
New Value e300000000000000000000000005000000400000007354000000650064006401640264038d035a0165026401640464058d025a036406640784005a046505640183016506650764089c026409640a840483015a086505640183016506640b9c01640c640d840483015a09640e5300290fe900000000da12636f6e5f6f63746f6265725f6f7261636c65da0d63757272656e745f70726963652903da0d64656661756c745f76616c7565da08636f6e7472616374da046e616d65da086f70657261746f72290272050000007206000000630000000000000000000000000200000043000000731000000074006a0174026a03830101006400530029014e2904da0a5f5f6f70657261746f72da03736574da03637478da0663616c6c6572a900720c000000720c000000da00da045f5f5f5f0600000073020000000001720e0000002902da066e756d626572da096e65775f707269636563020000000000000002000000030000004300000073320000007c0164016b057310740064028301820174016a0274036a0483006b02732674006403830182017c0174057c003c006400530029044e72010000007a1b43616e6e6f7420736574206e6567617469766520707269636573217a2c596f7520646f206e6f742068617665207065726d697373696f6e20746f20736574207468652070726963652e2906da0e417373657274696f6e4572726f72720a000000720b0000007208000000da03676574da0f5f5f63757272656e745f70726963652902720f0000007210000000720c000000720c000000720d000000da097365745f70726963650a0000007308000000000210011001060172140000002901720f000000630100000000000000010000000200000043000000730800000074007c001900530029014e290172130000002901720f000000720c000000720c000000720d000000da096765745f7072696365120000007302000000000272150000004e290ada04486173687213000000da085661726961626c657208000000720e000000da085f5f6578706f7274da03696e74da05666c6f617472140000007215000000720c000000720c000000720c000000720d000000da083c6d6f64756c653e01000000730e000000060108010c030804060112070601
 
Contract con_october_oracle
Variable __owner__
New Value null
 
Contract con_october_oracle
Variable __submitted__
New Value 2022,10,23,22,28,14,0
 
Contract con_october_oracle
Variable __developer__
New Value f0fc0db25cc1381a98052a2826cb905b78fb6ab4d7ef76f64054509bee070b07
 
Contract currency
Variable balances
Key f0fc0db25cc1381a98052a2826cb905b78fb6ab4d7ef76f64054509bee070b07
New Value 47.91124260355029586