tx · ECu3B8Kvv9i73L2Kw5UHNCoBxNKfDaEe174pHxqLsBor
3NC92euvvnXyWQV5cKqkV2gem7gcwor78ZB: -0.04000000 Waves
2020.01.22 06:58 [864957] smart account 3NC92euvvnXyWQV5cKqkV2gem7gcwor78ZB > SELF 0.00000000 Waves
{
"type": 13,
"id": "ECu3B8Kvv9i73L2Kw5UHNCoBxNKfDaEe174pHxqLsBor",
"fee": 4000000,
"feeAssetId": null,
"timestamp": 1579665512548,
"version": 1,
"sender": "3NC92euvvnXyWQV5cKqkV2gem7gcwor78ZB",
"senderPublicKey": "C8yDcUwQVgYcJF7bBXoihcuuS8GV1JULfTAt8zwSmpos",
"proofs": [
"4Nvdzp9nCvvXq15jV7zLQVRvGnZiK4BSU2XB2fcPiMBLGg8yzQy9bUiHtFA8qvPsWuaKWQAnA6sdMGq4L4jYBLnc",
"64K4xtPmjXbHMEtrr1a2S2LDEat8qpC55sTszGphK3zZxCeDdXchX6Dtm2KKrm3mBjvXNGLdfQWMdzhMJ2BJCUBs",
"412CdpkcAWarkCc3mkoWC2WoYVhT2wb6tUFH6hAB5nQ125ZhrLSQc6ktRUm8PsFywvR5RCHn4SXuGHvd89QAYqst"
],
"script": "base64:AwQAAAALYWxpY2VQdWJLZXkBAAAAIKV7L+cYxDqKqeJYeQkQtOdGhGpIvJY84Xvez11DghwqBAAAAAlib2JQdWJLZXkBAAAAIMFchfAGL2b2kH5FOOikpRPBjP3Zjv0GC34Hzux6h+8JBAAAAAxjb29wZXJQdWJLZXkBAAAAIE2OA8oQ8BxiEmi//M/nu5L9Y5ldzeOPQB4UBUIYUlxnBAAAAAthbGljZVNpZ25lZAMJAAH0AAAAAwgFAAAAAnR4AAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAACdHgAAAAGcHJvb2ZzAAAAAAAAAAAABQAAAAthbGljZVB1YktleQAAAAAAAAAAAQAAAAAAAAAAAAQAAAAJYm9iU2lnbmVkAwkAAfQAAAADCAUAAAACdHgAAAAJYm9keUJ5dGVzCQABkQAAAAIIBQAAAAJ0eAAAAAZwcm9vZnMAAAAAAAAAAAEFAAAACWJvYlB1YktleQAAAAAAAAAAAQAAAAAAAAAAAAQAAAAMY29vcGVyU2lnbmVkAwkAAfQAAAADCAUAAAACdHgAAAAJYm9keUJ5dGVzCQABkQAAAAIIBQAAAAJ0eAAAAAZwcm9vZnMAAAAAAAAAAAIFAAAADGNvb3BlclB1YktleQAAAAAAAAAAAQAAAAAAAAAAAAQAAAAEc29tYQkAAGQAAAACCQAAZAAAAAIFAAAAC2FsaWNlU2lnbmVkBQAAAAlib2JTaWduZWQFAAAADGNvb3BlclNpZ25lZAMJAAAAAAAAAgUAAAAEc29tYQAAAAAAAAAAAwYHJ3Di8g==",
"chainId": 84,
"height": 864957,
"spentComplexity": 0
}
View: original | compacted
Prev: 44urSgS2T1zviDT1JyQG14YwXN2ybdYamkNvnef7KaR9
Next: GpiYh3GtQHGzg3wMxbY7uoYqFrtYR1Fjq8hTuac2UcTj
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 | | - | (((aliceSigned + bobSigned) + cooperSigned) == 3) |
---|
| 15 | + | let soma = ((aliceSigned + bobSigned) + cooperSigned) |
---|
| 16 | + | if ((soma == 3)) |
---|
| 17 | + | then true |
---|
| 18 | + | else false |
---|
Full:
Old | New | | Differences |
---|
1 | 1 | | {-# STDLIB_VERSION 3 #-} |
---|
2 | 2 | | {-# CONTENT_TYPE EXPRESSION #-} |
---|
3 | 3 | | let alicePubKey = base58'C8yDcUwQVgYcJF7bBXoihcuuS8GV1JULfTAt8zwSmpos' |
---|
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 | | - | (((aliceSigned + bobSigned) + cooperSigned) == 3) |
---|
| 15 | + | let soma = ((aliceSigned + bobSigned) + cooperSigned) |
---|
| 16 | + | if ((soma == 3)) |
---|
| 17 | + | then true |
---|
| 18 | + | else false |
---|