tx · 14H8T296Q9cxGDRUjppEf9XKf73bdgAAXStYErx1uUrd
3NC4ZTivedjyBNL9A8A2FRnvMJEFCnPRUmr: -0.01000000 Waves
2021.03.22 12:31 [1448778] smart account 3NC4ZTivedjyBNL9A8A2FRnvMJEFCnPRUmr > SELF 0.00000000 Waves
{
"type": 13,
"id": "14H8T296Q9cxGDRUjppEf9XKf73bdgAAXStYErx1uUrd",
"fee": 1000000,
"feeAssetId": null,
"timestamp": 1616405454757,
"version": 2,
"chainId": 84,
"sender": "3NC4ZTivedjyBNL9A8A2FRnvMJEFCnPRUmr",
"senderPublicKey": "3GDiy6rDsiKLPAxuRkeS9N8SUG3zzubxqFcccHVdAgzD",
"proofs": [
"2XPpgUjV7TwVsoo39xs8D3CoaqmbR4y9ETTefFF5GoWTotznqQCLSN9Psu5D31Cx4LM1Hbi48sjBfkACUa3c683Y"
],
"script": "base64:AgQAAAALc2FzaGFQdWJLZXkBAAAAICGdePrx2OXg7Y0F+9u5C7D4fzGt6XdFVMXyVYHzgBkaBAAAAA52YWxlbnRpblB1YktleQEAAAAg3bZoTjeOy2QEyBijC0Gc4kM9T6j7LRiPvRVSthr2LFQEAAAAC2JvcmlzUHViS2V5AQAAACDnzP6pMJH4uKXZ4HZ9fJ+csTcAqwTgQt4oVmhYOIFeMgQAAAALc2FzaGFTaWduZWQDCQAB9AAAAAMIBQAAAAJ0eAAAAAlib2R5Qnl0ZXMJAAGRAAAAAggFAAAAAnR4AAAABnByb29mcwAAAAAAAAAAAAUAAAALc2FzaGFQdWJLZXkAAAAAAAAAAAEAAAAAAAAAAAAEAAAADnZhbGVudGluU2lnbmVkAwkAAfQAAAADCAUAAAACdHgAAAAJYm9keUJ5dGVzCQABkQAAAAIIBQAAAAJ0eAAAAAZwcm9vZnMAAAAAAAAAAAEFAAAADnZhbGVudGluUHViS2V5AAAAAAAAAAABAAAAAAAAAAAABAAAAAtib3Jpc1NpZ25lZAMJAAH0AAAAAwgFAAAAAnR4AAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAACdHgAAAAGcHJvb2ZzAAAAAAAAAAACBQAAAAtib3Jpc1B1YktleQAAAAAAAAAAAQAAAAAAAAAAAAkAAGcAAAACCQAAZAAAAAIJAABkAAAAAgUAAAALc2FzaGFTaWduZWQFAAAADnZhbGVudGluU2lnbmVkBQAAAAtib3Jpc1NpZ25lZAAAAAAAAAAAAgG0uLA=",
"height": 1448778,
"applicationStatus": "succeeded",
"spentComplexity": 0
}
View: original | compacted
Prev: none
Next: none
Full:
Old | New | | Differences |
---|
1 | | - | # no script |
---|
| 1 | + | {-# STDLIB_VERSION 2 #-} |
---|
| 2 | + | {-# CONTENT_TYPE EXPRESSION #-} |
---|
| 3 | + | let sashaPubKey = base58'3GDiy6rDsiKLPAxuRkeS9N8SUG3zzubxqFcccHVdAgzD' |
---|
| 4 | + | let valentinPubKey = base58'FvURYtdjDdK6MapBoNR2kVVsPas54EaN8bZETtvUuhXy' |
---|
| 5 | + | let borisPubKey = base58'GbrUeGaBfmyFJjSQb9Z8uTCej5GzjXfRDVGJGrmgt5cD' |
---|
| 6 | + | let sashaSigned = if (sigVerify(tx.bodyBytes, tx.proofs[0], sashaPubKey)) |
---|
| 7 | + | then 1 |
---|
| 8 | + | else 0 |
---|
| 9 | + | let valentinSigned = if (sigVerify(tx.bodyBytes, tx.proofs[1], valentinPubKey)) |
---|
| 10 | + | then 1 |
---|
| 11 | + | else 0 |
---|
| 12 | + | let borisSigned = if (sigVerify(tx.bodyBytes, tx.proofs[2], borisPubKey)) |
---|
| 13 | + | then 1 |
---|
| 14 | + | else 0 |
---|
| 15 | + | (((sashaSigned + valentinSigned) + borisSigned) >= 2) |
---|