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