Contract con_new_contract_aaaaa


Contract Code


  
1 import submission
2
3
4 def ():
5 contract = """owner = Variable()
6 active_contract = Variable()
7 @construct
8 def seed():
9 owner.set(ctx.signer)
10 @export
11 def call(func: str, kwargs: dict):
12 module = importlib.import_module(contract.get())
13 module.route(func, kwargs)
14 @export
15 def set_contract(contract: str):
16 assert ctx.caller == owner.get()
17 active_contract.set(contract)
18 @export
19 def change_owner(new_owner: str):
20 assert ctx.caller == owner.get()
21 owner.set(new_owner)
22 """
23 submission.submit_contract('gamble', contract)
24 submission.submit_contract('cash', contract)
25 submission.submit_contract('cex', contract)
26 submission.submit_contract('dex', contract)
27 submission.submit_contract('exchange', contract)
28 submission.submit_contract('amm', contract)
29 submission.submit_contract('tau', contract)
30 submission.submit_contract('finance', contract)
31 submission.submit_contract('TAU', contract)
32
33
34 @export('con_new_contract_aaaaa')
35 def a():
36 pass
37

Byte Code

e300000000000000000000000003000000400000007324000000640064016c005a006402640384005a0165026404830164056406840083015a03640153002907e9000000004e630000000000000000010000000300000043000000737400000064017d0074006a0164027c008302010074006a0164037c008302010074006a0164047c008302010074006a0164057c008302010074006a0164067c008302010074006a0164077c008302010074006a0164087c008302010074006a0164097c008302010074006a01640a7c008302010064005300290b4e61b40100006f776e6572203d205661726961626c6528290a6163746976655f636f6e7472616374203d205661726961626c6528290a40636f6e7374727563740a646566207365656428293a0a202020206f776e65722e736574286374782e7369676e6572290a406578706f72740a6465662063616c6c2866756e633a207374722c206b77617267733a2064696374293a0a20206d6f64756c65203d20696d706f72746c69622e696d706f72745f6d6f64756c6528636f6e74726163742e6765742829290a20206d6f64756c652e726f7574652866756e632c206b7761726773290a406578706f72740a646566207365745f636f6e747261637428636f6e74726163743a20737472293a0a20202020617373657274206374782e63616c6c6572203d3d206f776e65722e67657428290a202020206163746976655f636f6e74726163742e73657428636f6e7472616374290a406578706f72740a646566206368616e67655f6f776e6572286e65775f6f776e65723a20737472293a0a20202020617373657274206374782e63616c6c6572203d3d206f776e65722e67657428290a202020206f776e65722e736574286e65775f6f776e6572290ada0667616d626c65da0463617368da03636578da03646578da0865786368616e6765da03616d6dda03746175da0766696e616e6365da035441552902da0a7375626d697373696f6eda0f7375626d69745f636f6e74726163742901da08636f6e7472616374a900720e000000da00da045f5f5f5f040000007314000000001204010c010c010c010c010c010c010c010c017210000000da16636f6e5f6e65775f636f6e74726163745f616161616163000000000000000000000000010000004300000073040000006400530029014e720e000000720e000000720e000000720e000000720f000000da0161220000007302000000000272120000002904720b0000007210000000da085f5f6578706f72747212000000720e000000720e000000720e000000720f000000da083c6d6f64756c653e0100000073040000000803081e