tx · 6Xge2AZjt6dsxXRseDkaYnG9BR3vqT3BF8edK9VFzAYh

3N3y7nQfqDc7rBUExjKQi5ZbspWRh9q8PYH:  -0.00500000 Waves

2023.11.17 15:05 [2847345] smart account 3N3y7nQfqDc7rBUExjKQi5ZbspWRh9q8PYH > SELF 0.00000000 Waves

{ "type": 13, "id": "6Xge2AZjt6dsxXRseDkaYnG9BR3vqT3BF8edK9VFzAYh", "fee": 500000, "feeAssetId": null, "timestamp": 1700222750442, "version": 2, "chainId": 84, "sender": "3N3y7nQfqDc7rBUExjKQi5ZbspWRh9q8PYH", "senderPublicKey": "9ggtmbyecVRfUY2zeZhNaoLBp2iymhnQhffXQhemTJaG", "proofs": [ "3VRQJrr67x7pcWbAABf5stFzKVhVC6NsbwnJJdbvb5rzWcFPTLYSYCYYTxRV9PKG4ePZswYpiThSPNh8FeNrU2SN" ], "script": "base64:BgIECAISAAUACFRlc3RVc2VyCQEHQWRkcmVzcwEBGgFUmiSvdpHfcyUoO/Y3lJR5RVM/EC7LIlBGAA5UZXN0VXNlclB1YktleQEggQhA7lSDBAV96QCBw6VWWREBAkOfczsVMMZRMcDjO10ACVRlc3RVc2VyMgkBB0FkZHJlc3MBARoBVNBVQEgvriq5Wd7cAHuvw7N/9YPdF0K61wATUHV6emxlTWFzdGVyQWRkcmVzcwkBB0FkZHJlc3MBARoBV85X8yTRB6SzTv7SuuIorMWQltaK0W0F7gASUHV6emxlTWFzdGVyUHViS2V5ASA7NU1uP5+++FSclkQHgFarL+ITYEXEe/I/F0P0QgUmXQEBaQEIYWN0aXZhdGUACQDMCAIJAQxJbnRlZ2VyRW50cnkCAwkAAAIIBQFpBmNhbGxlcgUEdGhpcwIVQWN0aXZhdGVkIGJsb2NraGVpZ2h0AiBBY3RpdmF0ZWQgYnkgYW55Ym9keSBibG9ja2hlaWdodAUGaGVpZ2h0BQNuaWwBAnR4AQZ2ZXJpZnkABA9UZXN0VXNlcjJQdWJLZXkBIBoVri0PIi/W6HMN/BFH8ge2Duo03s/elirY3UgUGn4QAwkA9AMDCAUCdHgJYm9keUJ5dGVzCQCRAwIIBQJ0eAZwcm9vZnMAAAgFAnR4D3NlbmRlclB1YmxpY0tleQYJAPQDAwgFAnR4CWJvZHlCeXRlcwkAkQMCCAUCdHgGcHJvb2ZzAAAFD1Rlc3RVc2VyMlB1YktleWsBGNw=", "height": 2847345, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 6KnG2oLavkjwq6H87xNeVZh2oGs8AdJ4ptH9RU84TLan Next: 2RFT5WoK23aJEpAnVyUZa2xNuSBoaaMCyx4YAXNYD5tP Diff:
OldNewDifferences
11 {-# STDLIB_VERSION 6 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
4-let TestSCPubKey = base58'Brp6cacBXyKUcZr5Uc6VDKsnFcaEeQ8nQzrZQyobDsuf'
5-
64 let TestUser = Address(base58'3N3y7nQfqDc7rBUExjKQi5ZbspWRh9q8PYH')
75
86 let TestUserPubKey = base58'9ggtmbyecVRfUY2zeZhNaoLBp2iymhnQhffXQhemTJaG'
97
108 let TestUser2 = Address(base58'3N8ueTAufEUYDKWJDbfK7aZ4HHxBkX4DXA6')
119
12-let TestUser2PubKey = base58'2kpmuzw1ZbrtgAN3BrR7vbEW1XrJoJKCstL7mf7XNf2P'
13-
1410 let PuzzleMasterAddress = Address(base58'3PLjwHcz9NEuaTo63NZR9B9okQiKQxZSbmf')
1511
1612 let PuzzleMasterPubKey = base58'4z8CKSYQBKkzx7PBb5uBP1YPa6YAHRNTApW1sQVHT5eU'
17-
18-let accessAddress = [this, TestUser, TestUser2]
19-
20-let access = [TestSCPubKey, TestUserPubKey, TestUser2PubKey]
2113
2214 @Callable(i)
2315 func activate () = [IntegerEntry(if ((i.caller == this))
2618
2719
2820 @Verifier(tx)
29-func verify () = match tx {
30- case ttx: Order|DataTransaction|SponsorFeeTransaction|SetScriptTransaction|CreateAliasTransaction|LeaseCancelTransaction|LeaseTransaction|IssueTransaction|InvokeExpressionTransaction|UpdateAssetInfoTransaction|InvokeScriptTransaction|SetAssetScriptTransaction|TransferTransaction|ExchangeTransaction|MassTransferTransaction|BurnTransaction|ReissueTransaction =>
31- if ((containsElement(accessAddress, ttx.sender) == true))
32- then sigVerify(ttx.bodyBytes, ttx.proofs[0], ttx.senderPublicKey)
33- else false
34- case _ =>
35- false
36-}
21+func verify () = {
22+ let TestUser2PubKey = base58'2kpmuzw1ZbrtgAN3BrR7vbEW1XrJoJKCstL7mf7XNf2P'
23+ if (sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey))
24+ then true
25+ else sigVerify(tx.bodyBytes, tx.proofs[0], TestUser2PubKey)
26+ }
3727
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 6 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
4-let TestSCPubKey = base58'Brp6cacBXyKUcZr5Uc6VDKsnFcaEeQ8nQzrZQyobDsuf'
5-
64 let TestUser = Address(base58'3N3y7nQfqDc7rBUExjKQi5ZbspWRh9q8PYH')
75
86 let TestUserPubKey = base58'9ggtmbyecVRfUY2zeZhNaoLBp2iymhnQhffXQhemTJaG'
97
108 let TestUser2 = Address(base58'3N8ueTAufEUYDKWJDbfK7aZ4HHxBkX4DXA6')
119
12-let TestUser2PubKey = base58'2kpmuzw1ZbrtgAN3BrR7vbEW1XrJoJKCstL7mf7XNf2P'
13-
1410 let PuzzleMasterAddress = Address(base58'3PLjwHcz9NEuaTo63NZR9B9okQiKQxZSbmf')
1511
1612 let PuzzleMasterPubKey = base58'4z8CKSYQBKkzx7PBb5uBP1YPa6YAHRNTApW1sQVHT5eU'
17-
18-let accessAddress = [this, TestUser, TestUser2]
19-
20-let access = [TestSCPubKey, TestUserPubKey, TestUser2PubKey]
2113
2214 @Callable(i)
2315 func activate () = [IntegerEntry(if ((i.caller == this))
2416 then "Activated blockheight"
2517 else "Activated by anybody blockheight", height)]
2618
2719
2820 @Verifier(tx)
29-func verify () = match tx {
30- case ttx: Order|DataTransaction|SponsorFeeTransaction|SetScriptTransaction|CreateAliasTransaction|LeaseCancelTransaction|LeaseTransaction|IssueTransaction|InvokeExpressionTransaction|UpdateAssetInfoTransaction|InvokeScriptTransaction|SetAssetScriptTransaction|TransferTransaction|ExchangeTransaction|MassTransferTransaction|BurnTransaction|ReissueTransaction =>
31- if ((containsElement(accessAddress, ttx.sender) == true))
32- then sigVerify(ttx.bodyBytes, ttx.proofs[0], ttx.senderPublicKey)
33- else false
34- case _ =>
35- false
36-}
21+func verify () = {
22+ let TestUser2PubKey = base58'2kpmuzw1ZbrtgAN3BrR7vbEW1XrJoJKCstL7mf7XNf2P'
23+ if (sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey))
24+ then true
25+ else sigVerify(tx.bodyBytes, tx.proofs[0], TestUser2PubKey)
26+ }
3727

github/deemru/w8io/026f985 
38.35 ms