tx · FCiA3QWFyZa2ihVCZ3XoMRMSF79U4WarA1fDgf4TSALT
3N4reor5GosHmFTQVCiWJm9oqz81Vu1un99: -0.01400000 Waves
2021.12.21 21:18 [1844374] smart account 3N4reor5GosHmFTQVCiWJm9oqz81Vu1un99 > SELF 0.00000000 Waves
{
"type": 13,
"id": "FCiA3QWFyZa2ihVCZ3XoMRMSF79U4WarA1fDgf4TSALT",
"fee": 1400000,
"feeAssetId": null,
"timestamp": 1640110713398,
"version": 2,
"chainId": 84,
"sender": "3N4reor5GosHmFTQVCiWJm9oqz81Vu1un99",
"senderPublicKey": "9RCCc9soZdBZtKK6mL5XnDKx2JHrzWKy8STNgPhk9VBV",
"proofs": [
"4cd61C1GTzGb74ddqcfkiqtor654AfpaU8CKDoUV3f8cHifaMdCZBcSph8mCocje8NMYXMW62CtJbbcdoRMFz6CN"
],
"script": "base64:AAIFAAAAAAAAAAIIAgAAAAAAAAAAAAAAAQAAAAJ0eAEAAAAGdmVyaWZ5AAAAAAQAAAAJZmlyc3RVc2VyAQAAACB9EBlMxOZSh8Ue6LSsBuA3nzhg3o0fuq9K+qsCeGouQAQAAAAPZmlyc3RVc2VyU2lnbmVkAwkAAfQAAAADCAUAAAACdHgAAAAJYm9keUJ5dGVzCQABkQAAAAIIBQAAAAJ0eAAAAAZwcm9vZnMAAAAAAAAAAAAFAAAACWZpcnN0VXNlcgAAAAAAAAAAAQAAAAAAAAAAAAQAAAAPc2lnbmF0dXJlc0NvdW50BQAAAA9maXJzdFVzZXJTaWduZWQEAAAAByRtYXRjaDAFAAAAAnR4AwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAAA9EYXRhVHJhbnNhY3Rpb24EAAAAAXQFAAAAByRtYXRjaDAJAABnAAAAAgUAAAAPc2lnbmF0dXJlc0NvdW50AAAAAAAAAAABCQAAZwAAAAIFAAAAD3NpZ25hdHVyZXNDb3VudAAAAAAAAAAAAV3ZQ8I=",
"height": 1844374,
"applicationStatus": "succeeded",
"spentComplexity": 0
}
View: original | compacted
Prev: H6BWaBEgrcQ985YV7eqbVKY6HN7Fywg67G8Jn2ydMew3
Next: 8PMXaueK9HdRhdodzRf7J2mXzt1QH5nr4jqscdJpvqVw
Full:
Old | New | | Differences |
---|
1 | 1 | | {-# STDLIB_VERSION 5 #-} |
---|
2 | 2 | | {-# SCRIPT_TYPE ACCOUNT #-} |
---|
3 | 3 | | {-# CONTENT_TYPE DAPP #-} |
---|
4 | 4 | | |
---|
5 | 5 | | |
---|
6 | 6 | | |
---|
7 | 7 | | @Verifier(tx) |
---|
8 | 8 | | func verify () = { |
---|
9 | 9 | | let firstUser = base58'9RCCc9soZdBZtKK6mL5XnDKx2JHrzWKy8STNgPhk9VBV' |
---|
10 | 10 | | let firstUserSigned = if (sigVerify(tx.bodyBytes, tx.proofs[0], firstUser)) |
---|
11 | 11 | | then 1 |
---|
12 | 12 | | else 0 |
---|
13 | 13 | | let signaturesCount = firstUserSigned |
---|
14 | 14 | | match tx { |
---|
15 | 15 | | case t: DataTransaction => |
---|
16 | 16 | | (signaturesCount >= 1) |
---|
17 | 17 | | case _ => |
---|
18 | 18 | | (signaturesCount >= 1) |
---|
19 | 19 | | } |
---|
20 | 20 | | } |
---|
21 | 21 | | |
---|