tx · 9mj9ZVS2p4ZkePx3kUneipca11iE3J16wSKu9FAEmMtV
3MztbtmikRPjPmpefpzQG4ZwypkBqCHDBZS: -0.01000000 Waves
2020.01.22 02:19 [864661] smart account 3MztbtmikRPjPmpefpzQG4ZwypkBqCHDBZS > SELF 0.00000000 Waves
{
"type": 13,
"id": "9mj9ZVS2p4ZkePx3kUneipca11iE3J16wSKu9FAEmMtV",
"fee": 1000000,
"feeAssetId": null,
"timestamp": 1579648646546,
"version": 1,
"sender": "3MztbtmikRPjPmpefpzQG4ZwypkBqCHDBZS",
"senderPublicKey": "GPXtCQwFd56U6NeBfHUVzCfAQm9MmwqKt9pSojRhzk75",
"proofs": [
"5x3sXPhXswB2xc5Nu6UVCQ1Kj461wC2b8159nxAY6AtFm3vAa7wRoT4HyHbtAy6gETVp9CW71Fe1JHqTAnbVda12"
],
"script": "base64:AwQAAAALYWxpY2VQdWJLZXkBAAAAIOSlADmSTSnnEvtaiATJGM/BH7Ec2RTY05rW0riH77tUBAAAAAlib2JQdWJLZXkBAAAAIMFchfAGL2b2kH5FOOikpRPBjP3Zjv0GC34Hzux6h+8JBAAAAAxjb29wZXJQdWJLZXkBAAAAIE2OA8oQ8BxiEmi//M/nu5L9Y5ldzeOPQB4UBUIYUlxnBAAAAAthbGljZVNpZ25lZAMJAAH0AAAAAwgFAAAAAnR4AAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAACdHgAAAAGcHJvb2ZzAAAAAAAAAAAABQAAAAthbGljZVB1YktleQAAAAAAAAAAAQAAAAAAAAAAAAQAAAAJYm9iU2lnbmVkAwkAAfQAAAADCAUAAAACdHgAAAAJYm9keUJ5dGVzCQABkQAAAAIIBQAAAAJ0eAAAAAZwcm9vZnMAAAAAAAAAAAEFAAAACWJvYlB1YktleQAAAAAAAAAAAQAAAAAAAAAAAAQAAAAMY29vcGVyU2lnbmVkAwkAAfQAAAADCAUAAAACdHgAAAAJYm9keUJ5dGVzCQABkQAAAAIIBQAAAAJ0eAAAAAZwcm9vZnMAAAAAAAAAAAIFAAAADGNvb3BlclB1YktleQAAAAAAAAAAAQAAAAAAAAAAAAMJAAAAAAAAAgkAAGQAAAACCQAAZAAAAAIFAAAAC2FsaWNlU2lnbmVkBQAAAAlib2JTaWduZWQFAAAADGNvb3BlclNpZ25lZAAAAAAAAAAAAwYHwN5BeQ==",
"chainId": 84,
"height": 864661,
"spentComplexity": 0
}
View: original | compacted
Prev: none
Next: Gtybs9iKNkZVaquiDPkfVe9nsXRV8ENxgnu9Zhi1R8xC
Full:
Old | New | | Differences |
---|
1 | | - | # no script |
---|
| 1 | + | {-# STDLIB_VERSION 3 #-} |
---|
| 2 | + | {-# CONTENT_TYPE EXPRESSION #-} |
---|
| 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[1], bobPubKey)) |
---|
| 10 | + | then 1 |
---|
| 11 | + | else 0 |
---|
| 12 | + | let cooperSigned = if (sigVerify(tx.bodyBytes, tx.proofs[2], cooperPubKey)) |
---|
| 13 | + | then 1 |
---|
| 14 | + | else 0 |
---|
| 15 | + | if ((((aliceSigned + bobSigned) + cooperSigned) == 3)) |
---|
| 16 | + | then true |
---|
| 17 | + | else false |
---|