Contract con_values_testing


Contract Code

1 S = Hash(default_value='', contract='con_values_testing', name='S')
2
3
4 @export('con_values_testing')
5 def test_values(UID: str, Str: str, Float: float, Int: int, Bool: bool,
6 Dict: dict, List: list, ANY: Any, DateTime: datetime.datetime,
7 TimeDelta: datetime.timedelta):
8 S[UID, 'Str'] = Str
9 S[UID, 'Float'] = Float
10 S[UID, 'Int'] = Int
11 S[UID, 'Bool'] = Bool
12 S[UID, 'Dict'] = Dict
13 S[UID, 'List'] = List
14 S[UID, 'ANY'] = ANY
15 S[UID, 'DateTime'] = DateTime
16 S[UID, 'TimeDelta'] = TimeDelta
17

Byte Code

e30000000000000000000000000c00000040000000733e000000650064006401640264038d035a0165026401830165036503650465056506650765086509650a6a0a650a6a0b64049c0a64056406840483015a0c640753002908da00da12636f6e5f76616c7565735f74657374696e67da01532903da0d64656661756c745f76616c7565da08636f6e7472616374da046e616d65290ada03554944da03537472da05466c6f6174da03496e74da04426f6f6cda0444696374da044c697374da03414e59da084461746554696d65da0954696d6544656c7461630a000000000000000a000000040000004300000073700000007c0174007c00640166023c007c0274007c00640266023c007c0374007c00640366023c007c0474007c00640466023c007c0574007c00640566023c007c0674007c00640666023c007c0774007c00640766023c007c0874007c00640866023c007c0974007c00640966023c0064005300290a4e72080000007209000000720a000000720b000000720c000000720d000000720e000000720f00000072100000002901da035f5f53290a720700000072080000007209000000720a000000720b000000720c000000720d000000720e000000720f0000007210000000a90072120000007201000000da0b746573745f76616c75657304000000731200000000040c010c010c010c010c010c010c010c0172130000004e290dda04486173687211000000da085f5f6578706f7274da03737472da05666c6f6174da03696e74da04626f6f6cda0464696374da046c697374da03416e79da086461746574696d65da0974696d6564656c746172130000007212000000721200000072120000007201000000da083c6d6f64756c653e0100000073080000000e0306010a010a01