tx · D1gnuiDfkyhKaUA54PZhfUdm9sRUUkV1XuCDndsePqSE
3NADeFQrpqptM6tqp2wjExd7kTWBrgRpPoA: -0.01000000 Waves
2022.05.19 18:04 [2058704] smart account 3NADeFQrpqptM6tqp2wjExd7kTWBrgRpPoA > SELF 0.00000000 Waves
{
"type": 13,
"id": "D1gnuiDfkyhKaUA54PZhfUdm9sRUUkV1XuCDndsePqSE",
"fee": 1000000,
"feeAssetId": null,
"timestamp": 1652972811601,
"version": 1,
"sender": "3NADeFQrpqptM6tqp2wjExd7kTWBrgRpPoA",
"senderPublicKey": "Ay9eQL4qVAk8CJQATTmWA1vapf2mdN15XqEMBWKvHmyb",
"proofs": [
"26q41wF2gwbfi3ciWFSkzZRTT4Sf4dzUoJGqbU4rHKNvUFTdt2hwbPefidCzy3NQcB8AcTVyFbvwg3mu2VVjVLJ7"
],
"script": "base64:BAQAAAAFb3duZXIBAAAAIJQbe4BLKjExyYzEhhFskXbKljQwT2PQn5NyAz2twD9SBAAAAAdwYXJ0bmVyAQAAACB7yj6FZB4p52hMNKXHA6UiUMAOKXr+1VZbjXye5l4DBwQAAAAHJG1hdGNoMAUAAAACdHgDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAF0ludm9rZVNjcmlwdFRyYW5zYWN0aW9uBAAAAAFvBQAAAAckbWF0Y2gwBAAAAAhvd25lclNpZwkAAfQAAAADCAUAAAABbwAAAAlib2R5Qnl0ZXMJAAGRAAAAAggFAAAAAW8AAAAGcHJvb2ZzAAAAAAAAAAAABQAAAAVvd25lcgQAAAAKcGFydG5lclNpZwkAAfQAAAADCAUAAAABbwAAAAlib2R5Qnl0ZXMJAAGRAAAAAggFAAAAAW8AAAAGcHJvb2ZzAAAAAAAAAAABBQAAAAdwYXJ0bmVyAwUAAAAIb3duZXJTaWcGBQAAAApwYXJ0bmVyU2lnBAAAAAF0BQAAAAckbWF0Y2gwCQAB9AAAAAMIBQAAAAF0AAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAABdAAAAAZwcm9vZnMAAAAAAAAAAAAFAAAABW93bmVygjw2mQ==",
"chainId": 84,
"height": 2058704,
"applicationStatus": "succeeded",
"spentComplexity": 0
}
View: original | compacted
Prev: none
Next: BQWLP9tGg4mtspdVk4i2nZ2KpwFdR6upMUVHng7gP2Ps
Full:
Old | New | | Differences |
---|
1 | | - | # no script |
---|
| 1 | + | {-# STDLIB_VERSION 4 #-} |
---|
| 2 | + | {-# CONTENT_TYPE EXPRESSION #-} |
---|
| 3 | + | let owner = base58'Ay9eQL4qVAk8CJQATTmWA1vapf2mdN15XqEMBWKvHmyb' |
---|
| 4 | + | let partner = base58'9LE1jXLP1nJoNLxzaZ43Kq3xNja98N8oEAMMq5UpyU3x' |
---|
| 5 | + | match tx { |
---|
| 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) |
---|
| 10 | + | then true |
---|
| 11 | + | else partnerSig |
---|
| 12 | + | case t => |
---|
| 13 | + | sigVerify(t.bodyBytes, t.proofs[0], owner) |
---|
| 14 | + | } |
---|