tx · EYoVWDmx7iamZ1KX967SJLSZAgKrNTR6fXyfqKdmpPHz

3NC8kRgQwBNeovLsap4nDsSqjPqK4ne3RZh:  -0.05000000 Waves

2019.07.22 20:48 [597498] smart account 3NC8kRgQwBNeovLsap4nDsSqjPqK4ne3RZh > SELF 0.00000000 Waves

{ "type": 13, "id": "EYoVWDmx7iamZ1KX967SJLSZAgKrNTR6fXyfqKdmpPHz", "fee": 5000000, "feeAssetId": null, "timestamp": 1563817683747, "version": 1, "sender": "3NC8kRgQwBNeovLsap4nDsSqjPqK4ne3RZh", "senderPublicKey": "77rLGmy8CJyZmNR4eHDbVtxTuEVoh4bUyaPYDN3BeEip", "proofs": [ "4g5ntEkjQMiKHuJJS1MDCfSAyzsdgVkDeytLMVQXPfnFGFtoBShxfqetNMYV8p5AtVpJpitgowfTCMybNxQvSQ33", "4Dn2fMm4C44YKaxZZS2tMfWu49NJjfQw184JzKRMYAHBSGcTuLyPrnyUX29YLjiHjWKvChvaeYUAzkY566Zxh7rn" ], "script": "base64:AAIDAAAAAAAAAAAAAAAAAAAAAAAAAAEAAAACdHgBAAAABnZlcmlmeQAAAAAEAAAAByRtYXRjaDAFAAAAAnR4AwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAABNUcmFuc2ZlclRyYW5zYWN0aW9uBAAAAAFkBQAAAAckbWF0Y2gwBgMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAAUU2V0U2NyaXB0VHJhbnNhY3Rpb24EAAAAAWQFAAAAByRtYXRjaDAGAwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAAA9EYXRhVHJhbnNhY3Rpb24EAAAAAWQFAAAAByRtYXRjaDAGB+l1iTQ=", "chainId": 84, "height": 597498, "spentComplexity": 0 } View: original | compacted Prev: 8GXq7TzSEGBNmqaAE3qmoVxohFeqDKAsYFHDxdcYr3tT Next: DKLhe6GgAjATKiZmyy9Q5hRY7poLTH8avsNb1NgPaobY Full:
OldNewDifferences
11 {-# STDLIB_VERSION 3 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
4-let alicePubKey = base58'77rLGmy8CJyZmNR4eHDbVtxTuEVoh4bUyaPYDN3BeEip'
54
6-let bobPubKey = base58'6HMKmGrd7tD4VohMx1LJnSBvMxmq9nQ6nN4XgihwgtGy'
7-
8-let cooperPubKey = base58'4fuyiZESrzACPyCLBzitRU5ssq8ZXV2e3U77SCuBJHhb'
95
106
117 @Verifier(tx)
12-func verify () = {
13- let alice1 = sigVerify(tx.bodyBytes, tx.proofs[0], alicePubKey)
14- let alice2 = sigVerify(tx.bodyBytes, tx.proofs[1], alicePubKey)
15- let alice3 = sigVerify(tx.bodyBytes, tx.proofs[2], alicePubKey)
16- let bob1 = sigVerify(tx.bodyBytes, tx.proofs[0], bobPubKey)
17- let bob2 = sigVerify(tx.bodyBytes, tx.proofs[1], bobPubKey)
18- let bob3 = sigVerify(tx.bodyBytes, tx.proofs[2], bobPubKey)
19- let cooper1 = sigVerify(tx.bodyBytes, tx.proofs[0], cooperPubKey)
20- let cooper2 = sigVerify(tx.bodyBytes, tx.proofs[1], cooperPubKey)
21- let cooper3 = sigVerify(tx.bodyBytes, tx.proofs[2], cooperPubKey)
22- let aliceAndBob = if (if (if (if (if (if (alice1)
23- then bob2
24- else false)
25- then true
26- else if (alice1)
27- then bob3
28- else false)
29- then true
30- else if (alice2)
31- then bob1
32- else false)
33- then true
34- else if (alice2)
35- then bob3
36- else false)
37- then true
38- else if (alice3)
39- then bob1
40- else false)
41- then true
42- else if (alice3)
43- then bob2
44- else false
45- let aliceAndCooper = if (if (if (if (if (if (alice1)
46- then cooper2
47- else false)
48- then true
49- else if (alice1)
50- then cooper3
51- else false)
52- then true
53- else if (alice2)
54- then cooper1
55- else false)
56- then true
57- else if (alice2)
58- then cooper3
59- else false)
60- then true
61- else if (alice3)
62- then cooper1
63- else false)
64- then true
65- else if (alice3)
66- then cooper2
67- else false
68- let bobAndCooper = if (if (if (if (if (if (cooper1)
69- then bob2
70- else false)
71- then true
72- else if (cooper1)
73- then bob3
74- else false)
75- then true
76- else if (cooper2)
77- then bob1
78- else false)
79- then true
80- else if (cooper2)
81- then bob3
82- else false)
83- then true
84- else if (cooper3)
85- then bob1
86- else false)
87- then true
88- else if (cooper3)
89- then bob2
90- else false
91- match tx {
92- case _ =>
93- if (if (aliceAndBob)
94- then true
95- else aliceAndCooper)
96- then true
97- else bobAndCooper
98- }
99- }
8+func verify () = match tx {
9+ case d: TransferTransaction =>
10+ true
11+ case d: SetScriptTransaction =>
12+ true
13+ case d: DataTransaction =>
14+ true
15+ case _ =>
16+ false
17+}
10018

github/deemru/w8io/873ac7e 
17.22 ms