tx · J7AxXZhpgJUgQTZDEvPwMVGzdvjMJbynHhkHfLXopTsK
3NADeFQrpqptM6tqp2wjExd7kTWBrgRpPoA: -0.01400000 Waves
2022.05.20 16:01 [2060037] smart account 3NADeFQrpqptM6tqp2wjExd7kTWBrgRpPoA > SELF 0.00000000 Waves
{
"type": 13,
"id": "J7AxXZhpgJUgQTZDEvPwMVGzdvjMJbynHhkHfLXopTsK",
"fee": 1400000,
"feeAssetId": null,
"timestamp": 1653051720468,
"version": 1,
"sender": "3NADeFQrpqptM6tqp2wjExd7kTWBrgRpPoA",
"senderPublicKey": "Ay9eQL4qVAk8CJQATTmWA1vapf2mdN15XqEMBWKvHmyb",
"proofs": [
"3irZT61rc79tVa4rvzagaovMV95gxt22rHffX6LqskSWp2UxJ2nzH2WBYJKAtCVSWfz9Gc39uhWgxFZujhvQ5UVt"
],
"script": "base64:BAQAAAAHcGFydG5lcgEAAAAge8o+hWQeKedoTDSlxwOlIlDADil6/tVWW418nuZeAwcEAAAADXNpZ25lZEJ5T3duZXIJAAH0AAAAAwgFAAAAAnR4AAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAACdHgAAAAGcHJvb2ZzAAAAAAAAAAAACAUAAAACdHgAAAAPc2VuZGVyUHVibGljS2V5BAAAAAckbWF0Y2gwBQAAAAJ0eAMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAAXSW52b2tlU2NyaXB0VHJhbnNhY3Rpb24EAAAAAWkFAAAAByRtYXRjaDAEAAAAD3NpZ25lZEJ5UGFydG5lcgkAAfQAAAADCAUAAAABaQAAAAlib2R5Qnl0ZXMJAAGRAAAAAggFAAAAAWkAAAAGcHJvb2ZzAAAAAAAAAAAABQAAAAdwYXJ0bmVyBAAAAAZpc0RhcHAJAAAAAAAAAggFAAAAAWkAAAAEZEFwcAkBAAAAB0FkZHJlc3MAAAABAQAAABoBVA5NNs3WRChRst6ZIwkId3TA89tXzdX7tQQAAAANaGFzTm9QYXltZW50cwkAAAAAAAACCQABkAAAAAEIBQAAAAFpAAAACHBheW1lbnRzAAAAAAAAAAAABAAAABJpc1NwZWNpZmljRnVuY3Rpb24JAAAAAAAAAggFAAAAAWkAAAAIZnVuY3Rpb24CAAAAB3RlbGxtZTIDBQAAAA1zaWduZWRCeU93bmVyBgMDAwMFAAAAD3NpZ25lZEJ5UGFydG5lcgUAAAAGaXNEYXBwBwUAAAANaGFzTm9QYXltZW50cwcFAAAAEmlzU3BlY2lmaWNGdW5jdGlvbgcGBwUAAAANc2lnbmVkQnlPd25lcuwkozg=",
"chainId": 84,
"height": 2060037,
"applicationStatus": "succeeded",
"spentComplexity": 0
}
View: original | compacted
Prev: HKppEJ8jsSzbsHhjrrdcdAfzs4RsqackWqC9Pu5FeafW
Next: H2CyfTGvV1yFE742GRTqRrX4X9eV2G4KagPvU3qKJtw7
Diff:
Old | New | | Differences |
---|
7 | 7 | | let signedByPartner = sigVerify(i.bodyBytes, i.proofs[0], partner) |
---|
8 | 8 | | let isDapp = (i.dApp == Address(base58'3MqDhjXwvCbFCpkA3o6BQkTWtD59267HhXA')) |
---|
9 | 9 | | let hasNoPayments = (size(i.payments) == 0) |
---|
10 | | - | let isSpecificFunction = (i.function == "tellme") |
---|
| 10 | + | let isSpecificFunction = (i.function == "tellme2") |
---|
11 | 11 | | if (signedByOwner) |
---|
12 | 12 | | then true |
---|
13 | 13 | | else if (if (if (if (signedByPartner) |
---|
Full:
Old | New | | Differences |
---|
1 | 1 | | {-# STDLIB_VERSION 4 #-} |
---|
2 | 2 | | {-# CONTENT_TYPE EXPRESSION #-} |
---|
3 | 3 | | let partner = base58'9LE1jXLP1nJoNLxzaZ43Kq3xNja98N8oEAMMq5UpyU3x' |
---|
4 | 4 | | let signedByOwner = sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey) |
---|
5 | 5 | | match tx { |
---|
6 | 6 | | case i: InvokeScriptTransaction => |
---|
7 | 7 | | let signedByPartner = sigVerify(i.bodyBytes, i.proofs[0], partner) |
---|
8 | 8 | | let isDapp = (i.dApp == Address(base58'3MqDhjXwvCbFCpkA3o6BQkTWtD59267HhXA')) |
---|
9 | 9 | | let hasNoPayments = (size(i.payments) == 0) |
---|
10 | | - | let isSpecificFunction = (i.function == "tellme") |
---|
| 10 | + | let isSpecificFunction = (i.function == "tellme2") |
---|
11 | 11 | | if (signedByOwner) |
---|
12 | 12 | | then true |
---|
13 | 13 | | else if (if (if (if (signedByPartner) |
---|
14 | 14 | | then isDapp |
---|
15 | 15 | | else false) |
---|
16 | 16 | | then hasNoPayments |
---|
17 | 17 | | else false) |
---|
18 | 18 | | then isSpecificFunction |
---|
19 | 19 | | else false) |
---|
20 | 20 | | then true |
---|
21 | 21 | | else false |
---|
22 | 22 | | case _ => |
---|
23 | 23 | | signedByOwner |
---|
24 | 24 | | } |
---|