tx · F66MURRLpJJaq7LojjqSucXocKEmXwsVRDNuv3kULdYE
3MxBxDycPAr36iyVRsp1V6goA2dB9LLTMjP: -0.01000000 Waves
2020.01.20 14:31 [862488] smart account 3MxBxDycPAr36iyVRsp1V6goA2dB9LLTMjP > SELF 0.00000000 Waves
{
"type": 13,
"id": "F66MURRLpJJaq7LojjqSucXocKEmXwsVRDNuv3kULdYE",
"fee": 1000000,
"feeAssetId": null,
"timestamp": 1579519934289,
"version": 1,
"sender": "3MxBxDycPAr36iyVRsp1V6goA2dB9LLTMjP",
"senderPublicKey": "BAiWi4z8YduZNLGNqF3i19n199T5V91D5h3q6UPmme7p",
"proofs": [
"2Vfo9ydApB4FPfnmrHYBoxBeWxHCW8kUegmZXcZqjhVYDVumhzE4WcNPKnA8bK7kJFu47rskxBmp1QMD1NC7VChA"
],
"script": "base64:AAIDAAAAAAAAAAIIAQAAAAEAAAAAEHB1YktleUFkbWluc0xpc3QJAARMAAAAAgIAAAAsQmNEMWhhckRMb0RMZGdIRW5ZaEdYNmJ5UFU3QUFFZG9oUVY0YndidnFwY2gJAARMAAAAAgIAAAAsN2YydlNCaDJ0amloTWllM0RFaG44OEUyVXdGNmlyd21jM3oyM1RKSnYyMzYJAARMAAAAAgIAAAAsRzdtU0M5YkZQOEdLSDUzMkdoNWVyWEFMczVuUmh6QjRoZVdSeDFSUnpyTEYFAAAAA25pbAAAAAAAAAABAAAAAnR4AQAAAAZ2ZXJpZnkAAAAABAAAAAVjb3VudAkAAGQAAAACCQAAZAAAAAIDCQAB9AAAAAMIBQAAAAJ0eAAAAAlib2R5Qnl0ZXMJAAGRAAAAAggFAAAAAnR4AAAABnByb29mcwAAAAAAAAAAAAkAAlkAAAABCQABkQAAAAIFAAAAEHB1YktleUFkbWluc0xpc3QAAAAAAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAADCQAB9AAAAAMIBQAAAAJ0eAAAAAlib2R5Qnl0ZXMJAAGRAAAAAggFAAAAAnR4AAAABnByb29mcwAAAAAAAAAAAQkAAlkAAAABCQABkQAAAAIFAAAAEHB1YktleUFkbWluc0xpc3QAAAAAAAAAAAEAAAAAAAAAAAEAAAAAAAAAAAADCQAB9AAAAAMIBQAAAAJ0eAAAAAlib2R5Qnl0ZXMJAAGRAAAAAggFAAAAAnR4AAAABnByb29mcwAAAAAAAAAAAgkAAlkAAAABCQABkQAAAAIFAAAAEHB1YktleUFkbWluc0xpc3QAAAAAAAAAAAIAAAAAAAAAAAEAAAAAAAAAAAADCQAAZwAAAAIFAAAABWNvdW50AAAAAAAAAAACBgkAAAIAAAABCQABLAAAAAICAAAAKE5vdCBlbm91Z2ggdmFsaWQgc2lnbmF0dXJlcyBpbiBwcm9vZnMgLSAJAAGkAAAAAQUAAAAFY291bnSkKR8D",
"chainId": 84,
"height": 862488,
"spentComplexity": 0
}
View: original | compacted
Prev: none
Next: none
Full:
Old | New | | Differences |
---|
1 | | - | # no script |
---|
| 1 | + | {-# STDLIB_VERSION 3 #-} |
---|
| 2 | + | {-# SCRIPT_TYPE ACCOUNT #-} |
---|
| 3 | + | {-# CONTENT_TYPE DAPP #-} |
---|
| 4 | + | let a = ["BcD1harDLoDLdgHEnYhGX6byPU7AAEdohQV4bwbvqpch", "7f2vSBh2tjihMie3DEhn88E2UwF6irwmc3z23TJJv236", "G7mSC9bFP8GKH532Gh5erXALs5nRhzB4heWRx1RRzrLF"] |
---|
| 5 | + | |
---|
| 6 | + | |
---|
| 7 | + | @Verifier(b) |
---|
| 8 | + | func c () = { |
---|
| 9 | + | let d = (((if (sigVerify(b.bodyBytes, b.proofs[0], fromBase58String(a[0]))) |
---|
| 10 | + | then 1 |
---|
| 11 | + | else 0) + (if (sigVerify(b.bodyBytes, b.proofs[1], fromBase58String(a[1]))) |
---|
| 12 | + | then 1 |
---|
| 13 | + | else 0)) + (if (sigVerify(b.bodyBytes, b.proofs[2], fromBase58String(a[2]))) |
---|
| 14 | + | then 1 |
---|
| 15 | + | else 0)) |
---|
| 16 | + | if ((d >= 2)) |
---|
| 17 | + | then true |
---|
| 18 | + | else throw(("Not enough valid signatures in proofs - " + toString(d))) |
---|
| 19 | + | } |
---|
| 20 | + | |
---|