tx · EMDv41Jppbi6usz5zRT7ipEJLq6xFG7oHa2Niew3NJud

3MtQRxiLNkTNy8jVRTHGUQCoiZXAbd7Q3X6:  -0.01400000 Waves

2019.07.20 17:49 [594382] smart account 3MtQRxiLNkTNy8jVRTHGUQCoiZXAbd7Q3X6 > SELF 0.00000000 Waves

{ "type": 13, "id": "EMDv41Jppbi6usz5zRT7ipEJLq6xFG7oHa2Niew3NJud", "fee": 1400000, "feeAssetId": null, "timestamp": 1563634181478, "version": 1, "sender": "3MtQRxiLNkTNy8jVRTHGUQCoiZXAbd7Q3X6", "senderPublicKey": "G7doSP7ENWhVi7BPDhbNNVQXC82ed7j2vNw9KtWAhpDP", "proofs": [ "2UY566PqCtvaULbJGNZ8d22SkEJCirC5rd7PH3M5tbLgWruwkLBQxvVmXt9dwszWYjYtowr3Z6eJ65QNwPXJr4jZ" ], "script": "base64:AAIDAAAAAAAAAAAAAAADAAAAAAthbGljZVB1YktleQEAAAAgiLcN35RpYrcOFr2sBvVDjRlRCgAjfRE/Tp/bj+syHVQAAAAACWJvYlB1YktleQEAAAAg4JJmPXldj/t+h1LvYZtGrehTOalXJCpcPG6EDQn+lxoAAAAADGNvb3BlclB1YktleQEAAAAgg+3/6e2oltwfwtCHejDTeSSEckrmIBwWc9Hr9suDhCIAAAAAAAAAAQAAAAJ0eAEAAAAGdmVyaWZ5AAAAAAQAAAAGYWxpY2UxCQAB9AAAAAMIBQAAAAJ0eAAAAAlib2R5Qnl0ZXMJAAGRAAAAAggFAAAAAnR4AAAABnByb29mcwAAAAAAAAAAAAUAAAALYWxpY2VQdWJLZXkEAAAABmFsaWNlMgkAAfQAAAADCAUAAAACdHgAAAAJYm9keUJ5dGVzCQABkQAAAAIIBQAAAAJ0eAAAAAZwcm9vZnMAAAAAAAAAAAEFAAAAC2FsaWNlUHViS2V5BAAAAAZhbGljZTMJAAH0AAAAAwgFAAAAAnR4AAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAACdHgAAAAGcHJvb2Zz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MgUAAAAHY29vcGVyMQcGAwUAAAAGYWxpY2UyBQAAAAdjb29wZXIzBwYDBQAAAAZhbGljZTMFAAAAB2Nvb3BlcjEHBgMFAAAABmFsaWNlMwUAAAAHY29vcGVyMgcEAAAADGJvYkFuZENvb3BlcgMDAwMDAwUAAAAEYm9iMQUAAAAHY29vcGVyMgcGAwUAAAAEYm9iMQUAAAAHY29vcGVyMwcGAwUAAAAEYm9iMgUAAAAHY29vcGVyMQcGAwUAAAAEYm9iMgUAAAAHY29vcGVyMwcGAwUAAAAEYm9iMwUAAAAHY29vcGVyMQcGAwUAAAAEYm9iMwUAAAAHY29vcGVyMgcEAAAAByRtYXRjaDAFAAAAAnR4AwMFAAAAC2FsaWNlQW5kQm9iBgUAAAAOYWxpY2VBbmRDb29wZXIGBQAAAAxib2JBbmRDb29wZXI0Keaz", "chainId": 84, "height": 594382, "spentComplexity": 0 } View: original | compacted Prev: D4Vg3W4bT4uGQFFW1YETPw5xhZdoYNZTJnNcFbXS1F45 Next: none Diff:
OldNewDifferences
9090 else false
9191 match tx {
9292 case _ =>
93- true
93+ if (if (aliceAndBob)
94+ then true
95+ else aliceAndCooper)
96+ then true
97+ else bobAndCooper
9498 }
9599 }
96100
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 3 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let alicePubKey = base58'ACgLmxkdSQu4giPBqgCjww2FssDBAVscTZoozxY8ztmy'
55
66 let bobPubKey = base58'G7doSP7ENWhVi7BPDhbNNVQXC82ed7j2vNw9KtWAhpDP'
77
88 let cooperPubKey = base58'9sztzsuiPB6jaJPWLwAMJ7gJasKukBv81TX2DpzRjPRj'
99
1010
1111 @Verifier(tx)
1212 func verify () = {
1313 let alice1 = sigVerify(tx.bodyBytes, tx.proofs[0], alicePubKey)
1414 let alice2 = sigVerify(tx.bodyBytes, tx.proofs[1], alicePubKey)
1515 let alice3 = sigVerify(tx.bodyBytes, tx.proofs[2], alicePubKey)
1616 let bob1 = sigVerify(tx.bodyBytes, tx.proofs[0], bobPubKey)
1717 let bob2 = sigVerify(tx.bodyBytes, tx.proofs[1], bobPubKey)
1818 let bob3 = sigVerify(tx.bodyBytes, tx.proofs[2], bobPubKey)
1919 let cooper1 = sigVerify(tx.bodyBytes, tx.proofs[0], cooperPubKey)
2020 let cooper2 = sigVerify(tx.bodyBytes, tx.proofs[1], cooperPubKey)
2121 let cooper3 = sigVerify(tx.bodyBytes, tx.proofs[2], cooperPubKey)
2222 let aliceAndBob = if (if (if (if (if (if (alice1)
2323 then bob2
2424 else false)
2525 then true
2626 else if (alice1)
2727 then bob3
2828 else false)
2929 then true
3030 else if (alice2)
3131 then bob1
3232 else false)
3333 then true
3434 else if (alice2)
3535 then bob3
3636 else false)
3737 then true
3838 else if (alice3)
3939 then bob1
4040 else false)
4141 then true
4242 else if (alice3)
4343 then bob2
4444 else false
4545 let aliceAndCooper = if (if (if (if (if (if (alice1)
4646 then cooper2
4747 else false)
4848 then true
4949 else if (alice1)
5050 then cooper3
5151 else false)
5252 then true
5353 else if (alice2)
5454 then cooper1
5555 else false)
5656 then true
5757 else if (alice2)
5858 then cooper3
5959 else false)
6060 then true
6161 else if (alice3)
6262 then cooper1
6363 else false)
6464 then true
6565 else if (alice3)
6666 then cooper2
6767 else false
6868 let bobAndCooper = if (if (if (if (if (if (bob1)
6969 then cooper2
7070 else false)
7171 then true
7272 else if (bob1)
7373 then cooper3
7474 else false)
7575 then true
7676 else if (bob2)
7777 then cooper1
7878 else false)
7979 then true
8080 else if (bob2)
8181 then cooper3
8282 else false)
8383 then true
8484 else if (bob3)
8585 then cooper1
8686 else false)
8787 then true
8888 else if (bob3)
8989 then cooper2
9090 else false
9191 match tx {
9292 case _ =>
93- true
93+ if (if (aliceAndBob)
94+ then true
95+ else aliceAndCooper)
96+ then true
97+ else bobAndCooper
9498 }
9599 }
96100

github/deemru/w8io/169f3d6 
34.16 ms