tx · BFuu43HY7tHpmptdXCqiaUpRMTfBMKLvBcjUyqUq8VBp
3N687e1EgF7rbsmMLey1td131LMjpSeKqbX: -0.01400000 Waves
2021.05.10 00:46 [1518720] smart account 3N687e1EgF7rbsmMLey1td131LMjpSeKqbX > SELF 0.00000000 Waves
{
"type": 13,
"id": "BFuu43HY7tHpmptdXCqiaUpRMTfBMKLvBcjUyqUq8VBp",
"fee": 1400000,
"feeAssetId": null,
"timestamp": 1620596832793,
"version": 2,
"chainId": 84,
"sender": "3N687e1EgF7rbsmMLey1td131LMjpSeKqbX",
"senderPublicKey": "9kEUd9MUmBy7FgoswquibAo2AccWbDdv7Rm1Tk9M9idL",
"proofs": [
"GHSS5sKvREWHzmXXeZvzMou178y6i8uXPisx8bU6aoor",
"ikuFp33zqr322V9SigDmRJAoYFJZwJnbRVTpqXuuzxisyMZFv1Ec3WMjmmBsxwXNwscC7qYLZFHbMu1pVa534sM",
"4yZTwQQ6uw8dCZCm1jZBxuUs2znFPqojUKkgjtFp7tpq",
"2bYT2oUpc3zXUVdNG4GhsEd7AafPkLRT6h9W8mgELntxKwWxfN9RiUwESJGbmSCUmrpTzoxbF1LRCie5e2Cddw5B",
"HxphTUmaViYqraF6dUCqN8FZdNWgTepGLu7aEAHtEv9G",
"c8n5115vMxTxfNC1UA8bfNVGvDSDTaE1jMmwKE4XiZJmVc71LRyAoBZ5gwivqJ9biVKtgD3sw2botZw3E5pFAgC"
],
"script": "base64:BAQAAAAEa2V5MQEAAAAg4xVaevn3zdCX4afkHPhn0/+diwZqRCNyhsxdd+DLLG0EAAAABGtleTIBAAAAIDsQSzOTw5HcJoUs+IkrXAsMiXZ86hm1SFBONmY6RvdiBAAAAARrZXkzAQAAACD8B935VZOd68jna03cEWc8owoBrmo6Ds0QwBjnfYW4SwQAAAAEa2V5NAEAAAAgUXLIUBDq7CSGprx9lJMMnFP3i9L24EoFG5JCQ6fPDAwEAAAABGtleTUBAAAAIDvoDMWG8mRABa+8lD4XLxvKSxEZO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icationStatus": "succeeded",
"spentComplexity": 0
}
View: original | compacted
Prev: BYPEciNTqBRuCHHUyGKCtJ81taiLmqCTuMfGZBieir2V
Next: BLzzGRSRiEKKah91EV4RpDU3L37Bch7fBWyVr9YXciXc
Full:
Old | New | | Differences |
---|
1 | 1 | | {-# STDLIB_VERSION 4 #-} |
---|
2 | 2 | | {-# CONTENT_TYPE EXPRESSION #-} |
---|
3 | | - | let alicePubKey = base58'GHSS5sKvREWHzmXXeZvzMou178y6i8uXPisx8bU6aoor' |
---|
4 | | - | let bobPubKey = base58'4yZTwQQ6uw8dCZCm1jZBxuUs2znFPqojUKkgjtFp7tpq' |
---|
5 | | - | let evePubKey = base58'HxphTUmaViYqraF6dUCqN8FZdNWgTepGLu7aEAHtEv9G' |
---|
6 | | - | let lukPubKey = base58'6UwYBtLU2rfQT48Jd3NsvGDn81zd11t4VFnwrkfePEio' |
---|
7 | | - | let aliceSigned = if ((tx.proofs[0] == alicePubKey)) |
---|
8 | | - | then if (sigVerify(tx.bodyBytes, tx.proofs[1], alicePubKey)) |
---|
| 3 | + | let key1 = base58'GHSS5sKvREWHzmXXeZvzMou178y6i8uXPisx8bU6aoor' |
---|
| 4 | + | let key2 = base58'4yZTwQQ6uw8dCZCm1jZBxuUs2znFPqojUKkgjtFp7tpq' |
---|
| 5 | + | let key3 = base58'HxphTUmaViYqraF6dUCqN8FZdNWgTepGLu7aEAHtEv9G' |
---|
| 6 | + | let key4 = base58'6UwYBtLU2rfQT48Jd3NsvGDn81zd11t4VFnwrkfePEio' |
---|
| 7 | + | let key5 = base58'52rHFpHPHFHsaQPd8ZA7nhmmU671tE15akKs3Zyg8gr4' |
---|
| 8 | + | let sign1 = if ((tx.proofs[0] == key1)) |
---|
| 9 | + | then if (sigVerify(tx.bodyBytes, tx.proofs[1], key1)) |
---|
9 | 10 | | then 1 |
---|
10 | 11 | | else 0 |
---|
11 | | - | else if ((tx.proofs[2] == alicePubKey)) |
---|
12 | | - | then if (sigVerify(tx.bodyBytes, tx.proofs[3], alicePubKey)) |
---|
| 12 | + | else if ((tx.proofs[2] == key1)) |
---|
| 13 | + | then if (sigVerify(tx.bodyBytes, tx.proofs[3], key1)) |
---|
13 | 14 | | then 1 |
---|
14 | 15 | | else 0 |
---|
15 | | - | else if ((tx.proofs[4] == alicePubKey)) |
---|
16 | | - | then if (sigVerify(tx.bodyBytes, tx.proofs[5], alicePubKey)) |
---|
| 16 | + | else if ((tx.proofs[4] == key1)) |
---|
| 17 | + | then if (sigVerify(tx.bodyBytes, tx.proofs[5], key1)) |
---|
17 | 18 | | then 1 |
---|
18 | 19 | | else 0 |
---|
19 | 20 | | else 0 |
---|
20 | | - | let bobSigned = if ((tx.proofs[0] == bobPubKey)) |
---|
21 | | - | then if (sigVerify(tx.bodyBytes, tx.proofs[1], bobPubKey)) |
---|
| 21 | + | let sign2 = if ((tx.proofs[0] == key2)) |
---|
| 22 | + | then if (sigVerify(tx.bodyBytes, tx.proofs[1], key2)) |
---|
22 | 23 | | then 1 |
---|
23 | 24 | | else 0 |
---|
24 | | - | else if ((tx.proofs[2] == bobPubKey)) |
---|
25 | | - | then if (sigVerify(tx.bodyBytes, tx.proofs[3], bobPubKey)) |
---|
| 25 | + | else if ((tx.proofs[2] == key2)) |
---|
| 26 | + | then if (sigVerify(tx.bodyBytes, tx.proofs[3], key2)) |
---|
26 | 27 | | then 1 |
---|
27 | 28 | | else 0 |
---|
28 | | - | else if ((tx.proofs[4] == bobPubKey)) |
---|
29 | | - | then if (sigVerify(tx.bodyBytes, tx.proofs[5], bobPubKey)) |
---|
| 29 | + | else if ((tx.proofs[4] == key2)) |
---|
| 30 | + | then if (sigVerify(tx.bodyBytes, tx.proofs[5], key2)) |
---|
30 | 31 | | then 1 |
---|
31 | 32 | | else 0 |
---|
32 | 33 | | else 0 |
---|
33 | | - | let eveSigned = if ((tx.proofs[0] == evePubKey)) |
---|
34 | | - | then if (sigVerify(tx.bodyBytes, tx.proofs[1], evePubKey)) |
---|
| 34 | + | let sign3 = if ((tx.proofs[0] == key3)) |
---|
| 35 | + | then if (sigVerify(tx.bodyBytes, tx.proofs[1], key3)) |
---|
35 | 36 | | then 1 |
---|
36 | 37 | | else 0 |
---|
37 | | - | else if ((tx.proofs[2] == evePubKey)) |
---|
38 | | - | then if (sigVerify(tx.bodyBytes, tx.proofs[3], evePubKey)) |
---|
| 38 | + | else if ((tx.proofs[2] == key3)) |
---|
| 39 | + | then if (sigVerify(tx.bodyBytes, tx.proofs[3], key3)) |
---|
39 | 40 | | then 1 |
---|
40 | 41 | | else 0 |
---|
41 | | - | else if ((tx.proofs[4] == evePubKey)) |
---|
42 | | - | then if (sigVerify(tx.bodyBytes, tx.proofs[5], evePubKey)) |
---|
| 42 | + | else if ((tx.proofs[4] == key3)) |
---|
| 43 | + | then if (sigVerify(tx.bodyBytes, tx.proofs[5], key3)) |
---|
43 | 44 | | then 1 |
---|
44 | 45 | | else 0 |
---|
45 | 46 | | else 0 |
---|
46 | | - | let lukSigned = if ((tx.proofs[0] == lukPubKey)) |
---|
47 | | - | then if (sigVerify(tx.bodyBytes, tx.proofs[1], lukPubKey)) |
---|
| 47 | + | let sign4 = if ((tx.proofs[0] == key4)) |
---|
| 48 | + | then if (sigVerify(tx.bodyBytes, tx.proofs[1], key4)) |
---|
48 | 49 | | then 1 |
---|
49 | 50 | | else 0 |
---|
50 | | - | else if ((tx.proofs[2] == lukPubKey)) |
---|
51 | | - | then if (sigVerify(tx.bodyBytes, tx.proofs[3], lukPubKey)) |
---|
| 51 | + | else if ((tx.proofs[2] == key4)) |
---|
| 52 | + | then if (sigVerify(tx.bodyBytes, tx.proofs[3], key4)) |
---|
52 | 53 | | then 1 |
---|
53 | 54 | | else 0 |
---|
54 | | - | else if ((tx.proofs[4] == lukPubKey)) |
---|
55 | | - | then if (sigVerify(tx.bodyBytes, tx.proofs[5], lukPubKey)) |
---|
| 55 | + | else if ((tx.proofs[4] == key4)) |
---|
| 56 | + | then if (sigVerify(tx.bodyBytes, tx.proofs[5], key4)) |
---|
56 | 57 | | then 1 |
---|
57 | 58 | | else 0 |
---|
58 | 59 | | else 0 |
---|
59 | | - | ((((aliceSigned + bobSigned) + eveSigned) + lukSigned) > 2) |
---|
| 60 | + | let sign5 = if ((tx.proofs[0] == key5)) |
---|
| 61 | + | then if (sigVerify(tx.bodyBytes, tx.proofs[1], key5)) |
---|
| 62 | + | then 1 |
---|
| 63 | + | else 0 |
---|
| 64 | + | else if ((tx.proofs[2] == key5)) |
---|
| 65 | + | then if (sigVerify(tx.bodyBytes, tx.proofs[3], key5)) |
---|
| 66 | + | then 1 |
---|
| 67 | + | else 0 |
---|
| 68 | + | else if ((tx.proofs[4] == key5)) |
---|
| 69 | + | then if (sigVerify(tx.bodyBytes, tx.proofs[5], key5)) |
---|
| 70 | + | then 1 |
---|
| 71 | + | else 0 |
---|
| 72 | + | else 0 |
---|
| 73 | + | (((((sign1 + sign2) + sign3) + sign4) + sign5) > 2) |
---|