Transaction #2

Hash
3c072bc79c2a91b2de4d8d3cf1993f0f8a0119cb0250e147277272ea9b853734
Status
Success
Timestamp
237 days ago - 9/16/2020, 7:20:05 AM UTC+0
Block
SubBlock Number
0
Nonce
0
Stamps Used
111
Stamps Supplied
1000
Processor
5b09493df6c18d17cc883ebce54fcb1f5afbd507533417fe32c006009a9c3c4a
Signature
ce35dcc6e44c970c204536bc9fb2912e68687daf5f23d5bcaf710013aaaf6b5881497952bf7c36faf08542d75b2fcc87eb614d784a60074d04d674149b3a2906
Contract Name
Function Name
submit_contract

Kwargs

code
import currency operator = Variable() seen_hashes = Hash() @construct def seed(vk: str): operator.set(vk) @export def disperse(amount: float, to: str, hash: str): assert_owner() assert seen_hashes[hash] is None, 'Already processed this hash!' seen_hashes[hash] = True currency.transfer(amount=amount, to=to) @export def withdraw(amount: float): assert_owner() currency.transfer(amount=amount, to=ctx.caller) @export def change_operator(new_operator: str): assert_owner() operator.set(new_operator) def assert_owner(): assert ctx.caller == operator.get(), 'Only operator can call!'
constructor_args
{"vk":"833f3f66de0da4599ca60ae7854256f37404f543cf7a97c328d38aff9d3f8ac7"}
name
con_token_swap

State Changes

Contract
con_token_swap
Variable
operator
New Value
833f3f66de0da4599ca60ae7854256f37404f543cf7a97c328d38aff9d3f8ac7

Contract
con_token_swap
Variable
__code__
New Value
import currency __operator = Variable(contract='con_token_swap', name='operator') __seen_hashes = Hash(contract='con_token_swap', name='seen_hashes') def ____(vk: str): __operator.set(vk) @__export('con_token_swap') def disperse(amount: float, to: str, hash: str): __assert_owner() assert __seen_hashes[hash] is None, 'Already processed this hash!' __seen_hashes[hash] = True currency.transfer(amount=amount, to=to) @__export('con_token_swap') def withdraw(amount: float): __assert_owner() currency.transfer(amount=amount, to=ctx.caller) @__export('con_token_swap') def change_operator(new_operator: str): __assert_owner() __operator.set(new_operator) def __assert_owner(): assert ctx.caller == __operator.get(), 'Only operator can call!'

Contract
con_token_swap
Variable
__compiled__
New Value
e300000000000000000000000005000000400000007380000000640064016c005a0065016402640364048d025a0265036402640564048d025a04650564069c016407640884045a0665076402830165086505650564099c03640a640b840483015a096507640283016508640c9c01640d640e840483015a0a6507640283016505640f9c0164106411840483015a0b6412641384005a0c640153002914e9000000004eda0e636f6e5f746f6b656e5f73776170da086f70657261746f722902da08636f6e7472616374da046e616d65da0b7365656e5f6861736865732901da02766b630100000000000000010000000200000043000000730e00000074006a017c00830101006400530029014e2902da0a5f5f6f70657261746f72da0373657429017207000000a900720a000000da00da045f5f5f5f0600000073020000000001720c0000002903da06616d6f756e74da02746fda0468617368630300000000000000030000000400000043000000733400000074008300010074017c02190064006b08731a7402640183018201640274017c023c0074036a047c007c0164038d0201006400530029044e7a1c416c72656164792070726f6365737365642074686973206861736821542902720d000000720e0000002905da0e5f5f6173736572745f6f776e6572da0d5f5f7365656e5f686173686573da0e417373657274696f6e4572726f72da0863757272656e6379da087472616e736665722903720d000000720e000000720f000000720a000000720a000000720b000000da0864697370657273650a0000007308000000000206011401080172150000002901720d000000630100000000000000010000000400000043000000731a00000074008300010074016a027c0074036a0464018d0201006400530029024e2902720d000000720e0000002905721000000072130000007214000000da03637478da0663616c6c65722901720d000000720a000000720a000000720b000000da0877697468647261771200000073040000000002060172180000002901da0c6e65775f6f70657261746f72630100000000000000010000000200000043000000731400000074008300010074016a027c00830101006400530029014e290372100000007208000000720900000029017219000000720a000000720a000000720b000000da0f6368616e67655f6f70657261746f7218000000730400000000020601721a000000630000000000000000000000000200000043000000731a00000074006a0174026a0383006b02731674046401830182016400530029024e7a174f6e6c79206f70657261746f722063616e2063616c6c212905721600000072170000007208000000da036765747212000000720a000000720a000000720a000000720b00000072100000001e000000730200000000017210000000290d7213000000da085661726961626c657208000000da04486173687211000000da03737472720c000000da085f5f6578706f7274da05666c6f617472150000007218000000721a0000007210000000720a000000720a000000720a000000720b000000da083c6d6f64756c653e01000000731400000008010c010c030e04060114070601100506011005

Contract
con_token_swap
Variable
__owner__
New Value
null

Contract
con_token_swap
Variable
__submitted__
New Value
2020,9,15,23,20,9,0

Contract
currency
Variable
balances
Key
fcefe7743fa70c97ae2d5290fd673070da4b0293da095f0ae8aceccf5e62b6a1
New Value
94.45

Twitter @tauhq_com