Transaction #465845

Hash 22ac3801cd39e776fdaff6b8a32b2da0c3d4d908a5a3d07cb5b092b93fb51724
Status Success
Timestamp 951 days ago - 11/30/2021, 12:22:58 AM UTC+0
Block 446191
Stamps Used 78
Burned Fee 0.00461538 TAU
From fb8721c4f736b22075f08f1161f24522132522311ac4f1e19730e3298bb8a40e 
Contract Name submission
Function Name submit_contract

Additional Info
SubBlock Number 0
Nonce 3174
Processor 5b09493df6c18d17cc883ebce54fcb1f5afbd507533417fe32c006009a9c3c4a
Signature b2d37fe3e2a69fc43f63dda79a74c04860d8fa64040288fbe8c58e50528af82ab9dc9f85e32e805069c5f4df33eaa51ab4d44eaa2b33fb245ff27fd756650d0f
Stamps Supplied 1000
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_decimal_fix_test_oracle

State Changes

Contract con_decimal_fix_test_oracle
Variable operator
New Value fb8721c4f736b22075f08f1161f24522132522311ac4f1e19730e3298bb8a40e
 
Contract con_decimal_fix_test_oracle
Variable __code__
New Value __current_price = Hash(default_value=0, contract= 'con_decimal_fix_test_oracle', name='current_price') __operator = Variable(contract='con_decimal_fix_test_oracle', name='operator') def ____(): __operator.set(ctx.caller) @__export('con_decimal_fix_test_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_decimal_fix_test_oracle') def get_price(number: int): return __current_price[number]
 
Contract con_decimal_fix_test_oracle
Variable __compiled__
New Value e300000000000000000000000005000000400000007354000000650064006401640264038d035a0165026401640464058d025a036406640784005a046505640183016506650764089c026409640a840483015a086505640183016506640b9c01640c640d840483015a09640e5300290fe900000000da1b636f6e5f646563696d616c5f6669785f746573745f6f7261636c65da0d63757272656e745f70726963652903da0d64656661756c745f76616c7565da08636f6e7472616374da046e616d65da086f70657261746f72290272050000007206000000630000000000000000000000000200000043000000731000000074006a0174026a03830101006400530029014e2904da0a5f5f6f70657261746f72da03736574da03637478da0663616c6c6572a900720c000000720c000000da00da045f5f5f5f0600000073020000000001720e0000002902da066e756d626572da096e65775f707269636563020000000000000002000000030000004300000073320000007c0164016b057310740064028301820174016a0274036a0483006b02732674006403830182017c0174057c003c006400530029044e72010000007a1b43616e6e6f7420736574206e6567617469766520707269636573217a2c596f7520646f206e6f742068617665207065726d697373696f6e20746f20736574207468652070726963652e2906da0e417373657274696f6e4572726f72720a000000720b0000007208000000da03676574da0f5f5f63757272656e745f70726963652902720f0000007210000000720c000000720c000000720d000000da097365745f70726963650a0000007308000000000210011001060172140000002901720f000000630100000000000000010000000200000043000000730800000074007c001900530029014e290172130000002901720f000000720c000000720c000000720d000000da096765745f7072696365120000007302000000000272150000004e290ada04486173687213000000da085661726961626c657208000000720e000000da085f5f6578706f7274da03696e74da05666c6f617472140000007215000000720c000000720c000000720c000000720d000000da083c6d6f64756c653e01000000730e00000004010a010c030804060112070601
 
Contract con_decimal_fix_test_oracle
Variable __owner__
New Value null
 
Contract con_decimal_fix_test_oracle
Variable __submitted__
New Value 2021,11,30,0,23,5,0
 
Contract con_decimal_fix_test_oracle
Variable __developer__
New Value fb8721c4f736b22075f08f1161f24522132522311ac4f1e19730e3298bb8a40e
 
Contract currency
Variable balances
Key fb8721c4f736b22075f08f1161f24522132522311ac4f1e19730e3298bb8a40e
New Value 25.67647105142010474