tx · BdtNvQWjvmxMEwXvPRRQobW3ghvo9aspM796kUmdxp76
3N7D1iKxHA9XjAfLxYJhgduaEDfBf393tdZ: -0.01000000 Waves
2022.01.06 21:37 [1867413] smart account 3N7D1iKxHA9XjAfLxYJhgduaEDfBf393tdZ > SELF 0.00000000 Waves
{
"type": 13,
"id": "BdtNvQWjvmxMEwXvPRRQobW3ghvo9aspM796kUmdxp76",
"fee": 1000000,
"feeAssetId": null,
"timestamp": 1641494271193,
"version": 2,
"chainId": 84,
"sender": "3N7D1iKxHA9XjAfLxYJhgduaEDfBf393tdZ",
"senderPublicKey": "9M61vJ8euwTB5iF5cn9EeE8v3m8mnHUrGo4FrMZXM743",
"proofs": [
"4RQ5GFncna9rzWB9mcTKJdrUV46TDPJFDbVMjrNU89VYD3Gc6JxXhdUGJAfQhbRtJ1kSyVS8dexFDbKbBDQiFqYU"
],
"script": "base64:AAIFAAAAAAAAAAIIAgAAAAAAAAAAAAAAAQAAAAJ0eAEAAAAGdmVyaWZ5AAAAAAQAAAAJZmlyc3RVc2VyAQAAACCucw/TwmyYq3HRgl5QhmquWoxwO9V4Pe36DVEt4NLiDQQAAAAPZmlyc3RVc2VyU2lnbmVkAwkAAfQAAAADCAUAAAACdHgAAAAJYm9keUJ5dGVzCQABkQAAAAIIBQAAAAJ0eAAAAAZwcm9vZnMAAAAAAAAAAAAFAAAACWZpcnN0VXNlcgAAAAAAAAAAAQAAAAAAAAAAAAQAAAAPc2lnbmF0dXJlc0NvdW50BQAAAA9maXJzdFVzZXJTaWduZWQEAAAAByRtYXRjaDAFAAAAAnR4AwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAAA9EYXRhVHJhbnNhY3Rpb24EAAAAAXQFAAAAByRtYXRjaDAJAABnAAAAAgUAAAAPc2lnbmF0dXJlc0NvdW50AAAAAAAAAAABCQAAZwAAAAIFAAAAD3NpZ25hdHVyZXNDb3VudAAAAAAAAAAAAe/jQ44=",
"height": 1867413,
"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'Cjyhe4TpSh4hCGKBHoEDyMkAgq9JYxUtz3FaRWVqSJTW' |
---|
| 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 | + | |
---|