tx · 2RFT5WoK23aJEpAnVyUZa2xNuSBoaaMCyx4YAXNYD5tP
3N3y7nQfqDc7rBUExjKQi5ZbspWRh9q8PYH: -0.00500000 Waves
2023.11.17 15:08 [2847350] smart account 3N3y7nQfqDc7rBUExjKQi5ZbspWRh9q8PYH > SELF 0.00000000 Waves
{
"type": 13,
"id": "2RFT5WoK23aJEpAnVyUZa2xNuSBoaaMCyx4YAXNYD5tP",
"fee": 500000,
"feeAssetId": null,
"timestamp": 1700222941548,
"version": 2,
"chainId": 84,
"sender": "3N3y7nQfqDc7rBUExjKQi5ZbspWRh9q8PYH",
"senderPublicKey": "9ggtmbyecVRfUY2zeZhNaoLBp2iymhnQhffXQhemTJaG",
"proofs": [
"5NPPEvG3ZwzUXigY9tNS5YPSJWXhad5t1LQSzPjZyouhExgxWQ2JVP4zQv9V7F3LHgtUF7kmTcxeyKva37Sicokj"
],
"script": "base64:BgIECAISAAUACFRlc3RVc2VyCQEHQWRkcmVzcwEBGgFUmiSvdpHfcyUoO/Y3lJR5RVM/EC7LIlBGAA5UZXN0VXNlclB1YktleQEggQhA7lSDBAV96QCBw6VWWREBAkOfczsVMMZRMcDjO10ACVRlc3RVc2VyMgkBB0FkZHJlc3MBARoBVNBVQEgvriq5Wd7cAHuvw7N/9YPdF0K61wATUHV6emxlTWFzdGVyQWRkcmVzcwkBB0FkZHJlc3MBARoBV85X8yTRB6SzTv7SuuIorMWQltaK0W0F7gASUHV6emxlTWFzdGVyUHViS2V5ASA7NU1uP5+++FSclkQHgFarL+ITYEXEe/I/F0P0QgUmXQEBaQEIYWN0aXZhdGUACQDMCAIJAQxJbnRlZ2VyRW50cnkCAwkAAAIIBQFpBmNhbGxlcgUEdGhpcwIVQWN0aXZhdGVkIGJsb2NraGVpZ2h0AiBBY3RpdmF0ZWQgYnkgYW55Ym9keSBibG9ja2hlaWdodAUGaGVpZ2h0BQNuaWwBAnR4AQZ2ZXJpZnkABA9UZXN0VXNlcjJQdWJLZXkBIBoVri0PIi/W6HMN/BFH8ge2Duo03s/elirY3UgUGn4QAwkA9AMDCAUCdHgJYm9keUJ5dGVzCQCRAwIIBQJ0eAZwcm9vZnMAAAgFAnR4D3NlbmRlclB1YmxpY0tleQYDCQBmAgkAZAIJARFAZXh0ck5hdGl2ZSgxMDUwKQIFBHRoaXMCFUFjdGl2YXRlZCBibG9ja2hlaWdodAACBQZoZWlnaHQHCQD0AwMIBQJ0eAlib2R5Qnl0ZXMJAJEDAggFAnR4BnByb29mcwAABQ9UZXN0VXNlcjJQdWJLZXlX1DI8",
"height": 2847350,
"applicationStatus": "succeeded",
"spentComplexity": 0
}
View: original | compacted
Prev: 6Xge2AZjt6dsxXRseDkaYnG9BR3vqT3BF8edK9VFzAYh
Next: HurA397CWQ22bVAdDRbvX74Gh67BzVnm2KowNrwQVLUi
Diff:
Old | New | | Differences |
---|
22 | 22 | | let i = base58'2kpmuzw1ZbrtgAN3BrR7vbEW1XrJoJKCstL7mf7XNf2P' |
---|
23 | 23 | | if (sigVerify(g.bodyBytes, g.proofs[0], g.senderPublicKey)) |
---|
24 | 24 | | then true |
---|
25 | | - | else sigVerify(g.bodyBytes, g.proofs[0], i) |
---|
| 25 | + | else if (((getIntegerValue(this, "Activated blockheight") + 2) > height)) |
---|
| 26 | + | then false |
---|
| 27 | + | else sigVerify(g.bodyBytes, g.proofs[0], i) |
---|
26 | 28 | | } |
---|
27 | 29 | | |
---|
Full:
Old | New | | Differences |
---|
1 | 1 | | {-# STDLIB_VERSION 6 #-} |
---|
2 | 2 | | {-# SCRIPT_TYPE ACCOUNT #-} |
---|
3 | 3 | | {-# CONTENT_TYPE DAPP #-} |
---|
4 | 4 | | let a = Address(base58'3N3y7nQfqDc7rBUExjKQi5ZbspWRh9q8PYH') |
---|
5 | 5 | | |
---|
6 | 6 | | let b = base58'9ggtmbyecVRfUY2zeZhNaoLBp2iymhnQhffXQhemTJaG' |
---|
7 | 7 | | |
---|
8 | 8 | | let c = Address(base58'3N8ueTAufEUYDKWJDbfK7aZ4HHxBkX4DXA6') |
---|
9 | 9 | | |
---|
10 | 10 | | let d = Address(base58'3PLjwHcz9NEuaTo63NZR9B9okQiKQxZSbmf') |
---|
11 | 11 | | |
---|
12 | 12 | | let e = base58'4z8CKSYQBKkzx7PBb5uBP1YPa6YAHRNTApW1sQVHT5eU' |
---|
13 | 13 | | |
---|
14 | 14 | | @Callable(f) |
---|
15 | 15 | | func activate () = [IntegerEntry(if ((f.caller == this)) |
---|
16 | 16 | | then "Activated blockheight" |
---|
17 | 17 | | else "Activated by anybody blockheight", height)] |
---|
18 | 18 | | |
---|
19 | 19 | | |
---|
20 | 20 | | @Verifier(g) |
---|
21 | 21 | | func h () = { |
---|
22 | 22 | | let i = base58'2kpmuzw1ZbrtgAN3BrR7vbEW1XrJoJKCstL7mf7XNf2P' |
---|
23 | 23 | | if (sigVerify(g.bodyBytes, g.proofs[0], g.senderPublicKey)) |
---|
24 | 24 | | then true |
---|
25 | | - | else sigVerify(g.bodyBytes, g.proofs[0], i) |
---|
| 25 | + | else if (((getIntegerValue(this, "Activated blockheight") + 2) > height)) |
---|
| 26 | + | then false |
---|
| 27 | + | else sigVerify(g.bodyBytes, g.proofs[0], i) |
---|
26 | 28 | | } |
---|
27 | 29 | | |
---|