tx · DgdEjQBG752Y9Bv2r6wHFkWNPHWHJZxahz5iwXYgXqZF
3MuPCE8rNPvJugMfGbCUytHUxtxP7oqVdHX: -0.00100000 Waves
2022.09.28 14:45 [2248926] smart account 3MuPCE8rNPvJugMfGbCUytHUxtxP7oqVdHX > SELF 0.00000000 Waves
{
"type": 13,
"id": "DgdEjQBG752Y9Bv2r6wHFkWNPHWHJZxahz5iwXYgXqZF",
"fee": 100000,
"feeAssetId": null,
"timestamp": 1664365614995,
"version": 2,
"chainId": 84,
"sender": "3MuPCE8rNPvJugMfGbCUytHUxtxP7oqVdHX",
"senderPublicKey": "GbdtgQBb2Sj2QeKQF3aVzA7aqdwnT2ueMvMz44XfPEMF",
"proofs": [
"4ngSNVJuXFj9Wx1hMw3qfHVrwGy2EopD1HV57wMJWzRfbteiYQVYhScsvJBETpbZ79YHNGPutmRXH3iUtAamvFd6"
],
"script": "base64:AAIFAAAAAAAAAAIIAgAAAAAAAAAAAAAAAQAAAAJ0eAEAAAAGdmVyaWZ5AAAAAAQAAAAJZmlyc3RVc2VyAQAAACDnvsOjqEmpjpX8yf1/+WwLDqx34uRFV6Af2vj5ut4fOgQAAAAPZmlyc3RVc2VyU2lnbmVkAwkAAfQAAAADCAUAAAACdHgAAAAJYm9keUJ5dGVzCQABkQAAAAIIBQAAAAJ0eAAAAAZwcm9vZnMAAAAAAAAAAAAFAAAACWZpcnN0VXNlcgAAAAAAAAAAAQAAAAAAAAAAAAQAAAAPc2lnbmF0dXJlc0NvdW50BQAAAA9maXJzdFVzZXJTaWduZWQEAAAAByRtYXRjaDAFAAAAAnR4AwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAAA9EYXRhVHJhbnNhY3Rpb24EAAAAAXQFAAAAByRtYXRjaDAJAABnAAAAAgUAAAAPc2lnbmF0dXJlc0NvdW50AAAAAAAAAAABCQAAZwAAAAIFAAAAD3NpZ25hdHVyZXNDb3VudAAAAAAAAAAAAToRYMs=",
"height": 2248926,
"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'GbdtgQBb2Sj2QeKQF3aVzA7aqdwnT2ueMvMz44XfPEMF' |
---|
| 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 | + | |
---|