tx · BQWLP9tGg4mtspdVk4i2nZ2KpwFdR6upMUVHng7gP2Ps
3NADeFQrpqptM6tqp2wjExd7kTWBrgRpPoA: -0.01400000 Waves
2022.05.19 18:56 [2058759] smart account 3NADeFQrpqptM6tqp2wjExd7kTWBrgRpPoA > SELF 0.00000000 Waves
{
"type": 13,
"id": "BQWLP9tGg4mtspdVk4i2nZ2KpwFdR6upMUVHng7gP2Ps",
"fee": 1400000,
"feeAssetId": null,
"timestamp": 1652975813740,
"version": 1,
"sender": "3NADeFQrpqptM6tqp2wjExd7kTWBrgRpPoA",
"senderPublicKey": "Ay9eQL4qVAk8CJQATTmWA1vapf2mdN15XqEMBWKvHmyb",
"proofs": [
"2gxBAKU3Uo24zfNRNy56NN1c1pgCSG4CMs8V9GmGTYt2X3rVjbY985qDrPnbvE3U1auwtC7c816TjVQuCcnpu7hx"
],
"script": "base64:BAQAAAAFb3duZXIBAAAAIJQbe4BLKjExyYzEhhFskXbKljQwT2PQn5NyAz2twD9SBAAAAAdwYXJ0bmVyAQAAACB7yj6FZB4p52hMNKXHA6UiUMAOKXr+1VZbjXye5l4DBwQAAAAHJG1hdGNoMAUAAAACdHgDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAF0ludm9rZVNjcmlwdFRyYW5zYWN0aW9uBAAAAAFvBQAAAAckbWF0Y2gwAwkAAfQAAAADCAUAAAABbwAAAAlib2R5Qnl0ZXMJAAGRAAAAAggFAAAAAW8AAAAGcHJvb2ZzAAAAAAAAAAAABQAAAAVvd25lcgYJAAH0AAAAAwgFAAAAAW8AAAAJYm9keUJ5dGVzCQABkQAAAAIIBQAAAAFvAAAABnByb29mcwAAAAAAAAAAAAUAAAAHcGFydG5lcgQAAAABdAUAAAAHJG1hdGNoMAkAAfQAAAADCAUAAAABdAAAAAlib2R5Qnl0ZXMJAAGRAAAAAggFAAAAAXQAAAAGcHJvb2ZzAAAAAAAAAAAABQAAAAVvd25lciZphhg=",
"chainId": 84,
"height": 2058759,
"applicationStatus": "succeeded",
"spentComplexity": 0
}
View: original | compacted
Prev: D1gnuiDfkyhKaUA54PZhfUdm9sRUUkV1XuCDndsePqSE
Next: 5xn6jFiUFsCC5WrffAX3NYJsjspv2KqAGErKeGDZgX1C
Diff:
Old | New | | Differences |
---|
4 | 4 | | let partner = base58'9LE1jXLP1nJoNLxzaZ43Kq3xNja98N8oEAMMq5UpyU3x' |
---|
5 | 5 | | match tx { |
---|
6 | 6 | | case o: InvokeScriptTransaction => |
---|
7 | | - | let ownerSig = sigVerify(o.bodyBytes, o.proofs[0], owner) |
---|
8 | | - | let partnerSig = sigVerify(o.bodyBytes, o.proofs[1], partner) |
---|
9 | | - | if (ownerSig) |
---|
| 7 | + | if (sigVerify(o.bodyBytes, o.proofs[0], owner)) |
---|
10 | 8 | | then true |
---|
11 | | - | else partnerSig |
---|
| 9 | + | else sigVerify(o.bodyBytes, o.proofs[0], partner) |
---|
12 | 10 | | case t => |
---|
13 | 11 | | sigVerify(t.bodyBytes, t.proofs[0], owner) |
---|
14 | 12 | | } |
---|
Full:
Old | New | | Differences |
---|
1 | 1 | | {-# STDLIB_VERSION 4 #-} |
---|
2 | 2 | | {-# CONTENT_TYPE EXPRESSION #-} |
---|
3 | 3 | | let owner = base58'Ay9eQL4qVAk8CJQATTmWA1vapf2mdN15XqEMBWKvHmyb' |
---|
4 | 4 | | let partner = base58'9LE1jXLP1nJoNLxzaZ43Kq3xNja98N8oEAMMq5UpyU3x' |
---|
5 | 5 | | match tx { |
---|
6 | 6 | | case o: InvokeScriptTransaction => |
---|
7 | | - | let ownerSig = sigVerify(o.bodyBytes, o.proofs[0], owner) |
---|
8 | | - | let partnerSig = sigVerify(o.bodyBytes, o.proofs[1], partner) |
---|
9 | | - | if (ownerSig) |
---|
| 7 | + | if (sigVerify(o.bodyBytes, o.proofs[0], owner)) |
---|
10 | 8 | | then true |
---|
11 | | - | else partnerSig |
---|
| 9 | + | else sigVerify(o.bodyBytes, o.proofs[0], partner) |
---|
12 | 10 | | case t => |
---|
13 | 11 | | sigVerify(t.bodyBytes, t.proofs[0], owner) |
---|
14 | 12 | | } |
---|