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:
OldNewDifferences
2222 let TestUser2PubKey = base58'2kpmuzw1ZbrtgAN3BrR7vbEW1XrJoJKCstL7mf7XNf2P'
2323 if (sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey))
2424 then true
25- else sigVerify(tx.bodyBytes, tx.proofs[0], TestUser2PubKey)
25+ else if (((getIntegerValue(this, "Activated blockheight") + 2) > height))
26+ then false
27+ else sigVerify(tx.bodyBytes, tx.proofs[0], TestUser2PubKey)
2628 }
2729
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 6 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let TestUser = Address(base58'3N3y7nQfqDc7rBUExjKQi5ZbspWRh9q8PYH')
55
66 let TestUserPubKey = base58'9ggtmbyecVRfUY2zeZhNaoLBp2iymhnQhffXQhemTJaG'
77
88 let TestUser2 = Address(base58'3N8ueTAufEUYDKWJDbfK7aZ4HHxBkX4DXA6')
99
1010 let PuzzleMasterAddress = Address(base58'3PLjwHcz9NEuaTo63NZR9B9okQiKQxZSbmf')
1111
1212 let PuzzleMasterPubKey = base58'4z8CKSYQBKkzx7PBb5uBP1YPa6YAHRNTApW1sQVHT5eU'
1313
1414 @Callable(i)
1515 func activate () = [IntegerEntry(if ((i.caller == this))
1616 then "Activated blockheight"
1717 else "Activated by anybody blockheight", height)]
1818
1919
2020 @Verifier(tx)
2121 func verify () = {
2222 let TestUser2PubKey = base58'2kpmuzw1ZbrtgAN3BrR7vbEW1XrJoJKCstL7mf7XNf2P'
2323 if (sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey))
2424 then true
25- else sigVerify(tx.bodyBytes, tx.proofs[0], TestUser2PubKey)
25+ else if (((getIntegerValue(this, "Activated blockheight") + 2) > height))
26+ then false
27+ else sigVerify(tx.bodyBytes, tx.proofs[0], TestUser2PubKey)
2628 }
2729

github/deemru/w8io/026f985 
18.89 ms