tx · Hs45RsNa9hi8FAdqXrAykge1qkHXHoiEF4Yaeg2F2zfd
3MuU9MokCGJk8uwJBVWJqu6avntpyaYqk2d: -0.01000000 Waves
2022.01.18 10:23 [1884074] smart account 3MuU9MokCGJk8uwJBVWJqu6avntpyaYqk2d > SELF 0.00000000 Waves
{
"type": 13,
"id": "Hs45RsNa9hi8FAdqXrAykge1qkHXHoiEF4Yaeg2F2zfd",
"fee": 1000000,
"feeAssetId": null,
"timestamp": 1642490646768,
"version": 2,
"chainId": 84,
"sender": "3MuU9MokCGJk8uwJBVWJqu6avntpyaYqk2d",
"senderPublicKey": "6fmpP1JwsGN2dXGB951nbT3yUj2oBQ5FZj284itXocpu",
"proofs": [
"3vKDx5vfTDHfP3G8bEw6VPeK6tJFKSd6N5EgamCd4CGSW2bMTvqBrGaZrHYJDJ5SpYvKQydwiYjHMMUJVcqaRAUN"
],
"script": "base64:AAIFAAAAAAAAAAIIAgAAAAAAAAAAAAAAAQAAAAJ0eAEAAAAGdmVyaWZ5AAAAAAQAAAAJZmlyc3RVc2VyAQAAACBUOS4T617cAG1KXy3fQUzEn0BUUozRqALsouAqPdPJdgQAAAAPZmlyc3RVc2VyU2lnbmVkAwkAAfQAAAADCAUAAAACdHgAAAAJYm9keUJ5dGVzCQABkQAAAAIIBQAAAAJ0eAAAAAZwcm9vZnMAAAAAAAAAAAAFAAAACWZpcnN0VXNlcgAAAAAAAAAAAQAAAAAAAAAAAAQAAAAPc2lnbmF0dXJlc0NvdW50BQAAAA9maXJzdFVzZXJTaWduZWQEAAAAByRtYXRjaDAFAAAAAnR4AwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAAA9EYXRhVHJhbnNhY3Rpb24EAAAAAXQFAAAAByRtYXRjaDAJAABnAAAAAgUAAAAPc2lnbmF0dXJlc0NvdW50AAAAAAAAAAABCQAAZwAAAAIFAAAAD3NpZ25hdHVyZXNDb3VudAAAAAAAAAAAAcV4yI4=",
"height": 1884074,
"applicationStatus": "succeeded",
"spentComplexity": 0
}
View: original | compacted
Prev: ADLLUsMHhTg4YR2grRGfvEQxMbGZeNHnrMHd87iB7UUE
Next: none
Full:
Old | New | | Differences |
---|
1 | 1 | | {-# STDLIB_VERSION 5 #-} |
---|
2 | | - | {-# CONTENT_TYPE EXPRESSION #-} |
---|
3 | | - | true |
---|
| 2 | + | {-# SCRIPT_TYPE ACCOUNT #-} |
---|
| 3 | + | {-# CONTENT_TYPE DAPP #-} |
---|
| 4 | + | |
---|
| 5 | + | |
---|
| 6 | + | |
---|
| 7 | + | @Verifier(tx) |
---|
| 8 | + | func verify () = { |
---|
| 9 | + | let firstUser = base58'6fmpP1JwsGN2dXGB951nbT3yUj2oBQ5FZj284itXocpu' |
---|
| 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 | + | |
---|