tx · Gtybs9iKNkZVaquiDPkfVe9nsXRV8ENxgnu9Zhi1R8xC
3MztbtmikRPjPmpefpzQG4ZwypkBqCHDBZS: -0.04000000 Waves
2020.01.22 02:27 [864672] smart account 3MztbtmikRPjPmpefpzQG4ZwypkBqCHDBZS > SELF 0.00000000 Waves
{
"type": 13,
"id": "Gtybs9iKNkZVaquiDPkfVe9nsXRV8ENxgnu9Zhi1R8xC",
"fee": 4000000,
"feeAssetId": null,
"timestamp": 1579649188257,
"version": 1,
"sender": "3MztbtmikRPjPmpefpzQG4ZwypkBqCHDBZS",
"senderPublicKey": "GPXtCQwFd56U6NeBfHUVzCfAQm9MmwqKt9pSojRhzk75",
"proofs": [
"4W3AQAaWQPtcnxp1REXjrzwJwH9W5GG94W4t3RxdeyyWRUiDYmDyhcXdmgMyrCYFkWhJ7gnhEu7axLWGrMALgRFS",
"pmcheHb7i3DnWqowZC2LMekfm1g9r1JQ6ZKR8gyisruyBaQDhdZPj8qxZhAzc9A5vmbVDPTyFBrYfNYr7NRU2YB",
"tLajMirc7cjQEcPFoHo68uJFWoTYHcw6VZBTB2zSpnYccM7t8oQ9b5MRr2LtKhHfHMqyNMjkr6dhoSDrU3jjf7Y"
],
"script": "base64:AwQAAAALYWxpY2VQdWJLZXkBAAAAIOSlADmSTSnnEvtaiATJGM/BH7Ec2RTY05rW0riH77tUBAAAAAlib2JQdWJLZXkBAAAAIMFchfAGL2b2kH5FOOikpRPBjP3Zjv0GC34Hzux6h+8JBAAAAAxjb29wZXJQdWJLZXkBAAAAIE2OA8oQ8BxiEmi//M/nu5L9Y5ldzeOPQB4UBUIYUlxnBAAAAAthbGljZVNpZ25lZAMJAAH0AAAAAwgFAAAAAnR4AAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAACdHgAAAAGcHJvb2ZzAAAAAAAAAAAABQAAAAthbGljZVB1YktleQAAAAAAAAAAAQAAAAAAAAAAAAQAAAAJYm9iU2lnbmVkAwkAAfQAAAADCAUAAAACdHgAAAAJYm9keUJ5dGVzCQABkQAAAAIIBQAAAAJ0eAAAAAZwcm9vZnMAAAAAAAAAAAEFAAAACWJvYlB1YktleQAAAAAAAAAAAQAAAAAAAAAAAAQAAAAMY29vcGVyU2lnbmVkAwkAAfQAAAADCAUAAAACdHgAAAAJYm9keUJ5dGVzCQABkQAAAAIIBQAAAAJ0eAAAAAZwcm9vZnMAAAAAAAAAAAIFAAAADGNvb3BlclB1YktleQAAAAAAAAAAAQAAAAAAAAAAAAQAAAAEc29tYQkAAGQAAAACCQAAZAAAAAIFAAAAC2FsaWNlU2lnbmVkBQAAAAlib2JTaWduZWQFAAAADGNvb3BlclNpZ25lZAMJAAAAAAAAAgUAAAAEc29tYQAAAAAAAAAAAwYHDcYOhA==",
"chainId": 84,
"height": 864672,
"spentComplexity": 0
}
View: original | compacted
Prev: 9mj9ZVS2p4ZkePx3kUneipca11iE3J16wSKu9FAEmMtV
Next: EdnCsFShyee8uo3Wp4q8vMBSo5EphHNz2ZrkWf6QiNTm
Diff:
Old | New | | Differences |
---|
12 | 12 | | let cooperSigned = if (sigVerify(tx.bodyBytes, tx.proofs[2], cooperPubKey)) |
---|
13 | 13 | | then 1 |
---|
14 | 14 | | else 0 |
---|
15 | | - | if ((((aliceSigned + bobSigned) + cooperSigned) == 3)) |
---|
| 15 | + | let soma = ((aliceSigned + bobSigned) + cooperSigned) |
---|
| 16 | + | if ((soma == 3)) |
---|
16 | 17 | | then true |
---|
17 | 18 | | else false |
---|
Full:
Old | New | | Differences |
---|
1 | 1 | | {-# STDLIB_VERSION 3 #-} |
---|
2 | 2 | | {-# CONTENT_TYPE EXPRESSION #-} |
---|
3 | 3 | | let alicePubKey = base58'GPXtCQwFd56U6NeBfHUVzCfAQm9MmwqKt9pSojRhzk75' |
---|
4 | 4 | | let bobPubKey = base58'E1oWnvBPcsj5sXmKnweoMgKh2m1cPsvWiosH168nbxxQ' |
---|
5 | 5 | | let cooperPubKey = base58'6DjzVs2kTBFv9vpWdzyq4bKq5eoLDt4UQ2VKiP8xuNLv' |
---|
6 | 6 | | let aliceSigned = if (sigVerify(tx.bodyBytes, tx.proofs[0], alicePubKey)) |
---|
7 | 7 | | then 1 |
---|
8 | 8 | | else 0 |
---|
9 | 9 | | let bobSigned = if (sigVerify(tx.bodyBytes, tx.proofs[1], bobPubKey)) |
---|
10 | 10 | | then 1 |
---|
11 | 11 | | else 0 |
---|
12 | 12 | | let cooperSigned = if (sigVerify(tx.bodyBytes, tx.proofs[2], cooperPubKey)) |
---|
13 | 13 | | then 1 |
---|
14 | 14 | | else 0 |
---|
15 | | - | if ((((aliceSigned + bobSigned) + cooperSigned) == 3)) |
---|
| 15 | + | let soma = ((aliceSigned + bobSigned) + cooperSigned) |
---|
| 16 | + | if ((soma == 3)) |
---|
16 | 17 | | then true |
---|
17 | 18 | | else false |
---|