tx · 96XvwkT17f2yqeMxN31PM5to4hkEBfpusuckqtiAYt5H
3N5DQiELYGrMF8P4NAH8Xbk28M87erAk7f1: -0.01000000 Waves
2022.01.07 16:33 [1868552] smart account 3N5DQiELYGrMF8P4NAH8Xbk28M87erAk7f1 > SELF 0.00000000 Waves
{
"type": 13,
"id": "96XvwkT17f2yqeMxN31PM5to4hkEBfpusuckqtiAYt5H",
"fee": 1000000,
"feeAssetId": null,
"timestamp": 1641562491974,
"version": 2,
"chainId": 84,
"sender": "3N5DQiELYGrMF8P4NAH8Xbk28M87erAk7f1",
"senderPublicKey": "6pC7ZqCekTATZ4GdYksbpdHTMxTcTWSQ6F48Mb6mdRHr",
"proofs": [
"28427dyL43PN455WqkVeYbTzMFFewkPPxceRakjXAsGGBGwo9hPv5LMzMTnEcVcAfxbh8E86qUBt6WGvnJgneSbY"
],
"script": "base64:AAIFAAAAAAAAAAIIAgAAAAAAAAAAAAAAAQAAAAJ0eAEAAAAGdmVyaWZ5AAAAAAQAAAAJZmlyc3RVc2VyAQAAACBWYUxkGbifAOtoarR5l35yzeUzK4P81OSvpsDB6tuDMQQAAAAPZmlyc3RVc2VyU2lnbmVkAwkAAfQAAAADCAUAAAACdHgAAAAJYm9keUJ5dGVzCQABkQAAAAIIBQAAAAJ0eAAAAAZwcm9vZnMAAAAAAAAAAAAFAAAACWZpcnN0VXNlcgAAAAAAAAAAAQAAAAAAAAAAAAQAAAAPc2lnbmF0dXJlc0NvdW50BQAAAA9maXJzdFVzZXJTaWduZWQEAAAAByRtYXRjaDAFAAAAAnR4AwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAAA9EYXRhVHJhbnNhY3Rpb24EAAAAAXQFAAAAByRtYXRjaDAJAABnAAAAAgUAAAAPc2lnbmF0dXJlc0NvdW50AAAAAAAAAAABCQAAZwAAAAIFAAAAD3NpZ25hdHVyZXNDb3VudAAAAAAAAAAAAcuER/E=",
"height": 1868552,
"applicationStatus": "succeeded",
"spentComplexity": 0
}
View: original | compacted
Prev: none
Next: none
Full:
Old | New | | Differences |
---|
1 | | - | # no script |
---|
| 1 | + | {-# STDLIB_VERSION 5 #-} |
---|
| 2 | + | {-# SCRIPT_TYPE ACCOUNT #-} |
---|
| 3 | + | {-# CONTENT_TYPE DAPP #-} |
---|
| 4 | + | |
---|
| 5 | + | |
---|
| 6 | + | |
---|
| 7 | + | @Verifier(tx) |
---|
| 8 | + | func verify () = { |
---|
| 9 | + | let firstUser = base58'6pC7ZqCekTATZ4GdYksbpdHTMxTcTWSQ6F48Mb6mdRHr' |
---|
| 10 | + | let firstUserSigned = if (sigVerify(tx.bodyBytes, tx.proofs[0], firstUser)) |
---|
| 11 | + | then 1 |
---|
| 12 | + | else 0 |
---|
| 13 | + | let signaturesCount = firstUserSigned |
---|
| 14 | + | match tx { |
---|
| 15 | + | case t: DataTransaction => |
---|
| 16 | + | (signaturesCount >= 1) |
---|
| 17 | + | case _ => |
---|
| 18 | + | (signaturesCount >= 1) |
---|
| 19 | + | } |
---|
| 20 | + | } |
---|
| 21 | + | |
---|