Transaction #2257

Hash db30322b236613817e00f4879cb350129f80d3b8fd283e849a755ea9c05a68b0
Status Success
Timestamp 313 days ago - 8/6/2023, 3:17:11 AM UTC+0
Block 2257
Stamps Used 74
Burned Fee 0.00437870 TAU
From 225ec10455f8bd8757a8889ec5ac4ca5c68dd3fd49432d901e10a4252790c746 
Contract Name submission
Function Name submit_contract

Additional Info
Nonce 38
Processor 9d2dbfcc8cd20c8e41b24db367f215e4ac527dc6a2a0acdb4b6008d13d043ef8
Signature fcee6abda3f717aff97f7c47c14ba5c8bfbf9760321792c93e54be9a3f742ecba625a9442be979b796fd76821013cda1b14941077c49b2f2c915370526f2c303
Stamps Supplied 6522
Stamps per TAU 169

Kwargs

code I = importlib balances = Hash(default_value=0) @construct def seed(): balances[ctx.submission_name] = 100 @export def transfer(amount: float, to: str): assert amount > 0, 'Cannot send negative balances!' assert balances[ctx.caller] >= amount, 'Not enough tokens to send!' balances[ctx.caller] -= amount balances[to] += amount @export def withdraw(token_contract: str, amount: float): I.import_module(token_contract).transfer(amount, ctx.caller)
name con_enviarr_15

State Changes

Contract con_enviarr_15
Variable __code__
New Value I = importlib __balances = Hash(default_value=0, contract='con_enviarr_15', name='balances') def ____(): __balances[ctx.submission_name] = 100 @__export('con_enviarr_15') def transfer(amount: float, to: str): assert amount > 0, 'Cannot send negative balances!' assert __balances[ctx.caller] >= amount, 'Not enough tokens to send!' __balances[ctx.caller] -= amount __balances[to] += amount @__export('con_enviarr_15') def withdraw(token_contract: str, amount: float): I.import_module(token_contract).transfer(amount, ctx.caller)
 
Contract con_enviarr_15
Variable __compiled__
New Value e30000000000000000000000000500000040000000734e00000065005a01650264006401640264038d035a036404640584005a046505640183016506650764069c0264076408840483015a086505640183016507650664099c02640a640b840483015a09640c5300290de900000000da0e636f6e5f656e76696172725f3135da0862616c616e6365732903da0d64656661756c745f76616c7565da08636f6e7472616374da046e616d65630000000000000000000000000300000043000000730e0000006401740074016a023c006400530029024ee9640000002903da0a5f5f62616c616e636573da03637478da0f7375626d697373696f6e5f6e616d65a900720b000000720b000000da00da045f5f5f5f0500000073020000000001720d0000002902da06616d6f756e74da02746f630200000000000000020000000400000043000000734c0000007c0064016b0473107400640283018201740174026a0319007c006b0573267400640383018201740174026a03050019007c00380003003c0074017c01050019007c00370003003c006400530029044e72010000007a1e43616e6e6f742073656e64206e656761746976652062616c616e636573217a1a4e6f7420656e6f75676820746f6b656e7320746f2073656e64212904da0e417373657274696f6e4572726f7272080000007209000000da0663616c6c65722902720e000000720f000000720b000000720b000000720c000000da087472616e73666572090000007308000000000210011601120172120000002902da0e746f6b656e5f636f6e7472616374720e000000630200000000000000020000000300000043000000731800000074006a017c0083016a027c0174036a04830201006400530029014e2905da0149da0d696d706f72745f6d6f64756c6572120000007209000000721100000029027213000000720e000000720b000000720b000000720c000000da087769746864726177110000007302000000000272160000004e290ada09696d706f72746c69627214000000da04486173687208000000720d000000da085f5f6578706f7274da05666c6f6174da0373747272120000007216000000720b000000720b000000720b000000720c000000da083c6d6f64756c653e01000000730c00000004010e030804060112070601
 
Contract con_enviarr_15
Variable __developer__
New Value 225ec10455f8bd8757a8889ec5ac4ca5c68dd3fd49432d901e10a4252790c746
 
Contract con_enviarr_15
Variable __owner__
New Value null
 
Contract con_enviarr_15
Variable __submitted__
New Value 2023,8,6,3,17,12,0
 
Contract con_enviarr_15
Variable balances
Key con_enviarr_15
New Value 100
 
Contract currency
Variable balances
Key 225ec10455f8bd8757a8889ec5ac4ca5c68dd3fd49432d901e10a4252790c746
New Value 47457.13846119769230903