tx · GaQF6fmcC5ibdAisrsp8GNH2nSh9mbN9MgBwLcUKARSv

3My9uDN1mW9uk1FZXEPGrShd4mue54JXzXU:  -0.05000000 Waves

2020.01.17 18:32 [858340] smart account 3My9uDN1mW9uk1FZXEPGrShd4mue54JXzXU > SELF 0.00000000 Waves

{ "type": 13, "id": "GaQF6fmcC5ibdAisrsp8GNH2nSh9mbN9MgBwLcUKARSv", "fee": 5000000, "feeAssetId": null, "timestamp": 1579275115885, "version": 1, "sender": "3My9uDN1mW9uk1FZXEPGrShd4mue54JXzXU", "senderPublicKey": "95WQpA13wTFDDvyMzJM8sjgYqsMxRbJ1J6ECJ3Jn35F4", "proofs": [ "2JvnEdRm7iWPyeJ9c7Ay7YAJeyHLLfz5KXbkD4PERgc4QehGN7LSvAQAr8tr7zzRVZ8s1rijRPUG63ye5xwQWWEE" ], "script": "base64:AAIDAAAAAAAAAAYIARIAEgAAAAAEAAAAAANSU0EJAQAAABxAZXh0clVzZXIoYWRkcmVzc0Zyb21TdHJpbmcpAAAAAQIAAAAjM015OXVETjFtVzl1azFGWlhFUEdyU2hkNG11ZTU0Slh6WFUAAAAABmtlZXBlcgUAAAADUlNBAAAAAAdhc3NldElkCQACWQAAAAECAAAALDlOc05oOVF6aWZaWDlCVDVTUXhYbUxRRGZMMWhjV1JZNHc3M25lZEpDZTE3AAAAAANwdWIJAQAAABFAZXh0ck5hdGl2ZSgxMDUyKQAAAAIFAAAABmtlZXBlcgIAAAADcHViAAAAAgAAAAFpAQAAAAFmAAAAAAQAAAAEbXNnMAkBAAAAEUBleHRyTmF0aXZlKDEwNTIpAAAAAgUAAAAGa2VlcGVyAgAAAAVtc2dfMAQAAAAEc2lnMAkBAAAAEUBleHRyTmF0aXZlKDEwNTIpAAAAAgUAAAAGa2VlcGVyAgAAAAVzaWdfMAQAAAAEYWRkMAkBAAAAFGFkZHJlc3NGcm9tUHVibGljS2V5AAAAAQkAAMkAAAACBQAAAARtc2cwAAAAAAAAAAAgBAAAAARtc2c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JZAkABEwAAAACCQEAAAAOU2NyaXB0VHJhbnNmZXIAAAADBQAAAARhZGQ2AAAAAAAAAAABBQAAAAdhc3NldElkCQAETAAAAAIJAQAAAA5TY3JpcHRUcmFuc2ZlcgAAAAMFAAAABGFkZDcAAAAAAAAAAAEFAAAAB2Fzc2V0SWQJAARMAAAAAgkBAAAADlNjcmlwdFRyYW5zZmVyAAAAAwUAAAAEYWRkOAAAAAAAAAAAAQUAAAAHYXNzZXRJZAkABEwAAAACCQEAAAAOU2NyaXB0VHJhbnNmZXIAAAADBQAAAARhZGQ5AAAAAAAAAAABBQAAAAdhc3NldElkBQAAAANuaWwAAAABAAAAAnR4AQAAABBzdGFuZGFyZFZlcmlmaWVyAAAAAAkAAfQAAAADCAUAAAACdHgAAAAJYm9keUJ5dGVzCQABkQAAAAIIBQAAAAJ0eAAAAAZwcm9vZnMAAAAAAAAAAAAIBQAAAAJ0eAAAAA9zZW5kZXJQdWJsaWNLZXn5uUT1", "chainId": 84, "height": 858340, "spentComplexity": 0 } View: original | compacted Prev: GiPhqpAKdiNSNUKFwUkUxDeusqajZGgdM4GxdpNQeDY5 Next: 6BkK1Y8ikobVQpZHbuBJLXdQ8DwWTYj8ecd6YChBMU9i Diff:
OldNewDifferences
8484 case _ =>
8585 0
8686 }
87- if ((height >= nStatus))
87+ if ((height > nStatus))
8888 then throw("F")
89- else ScriptResult(WriteSet([DataEntry("nstatus", nStatus)]), TransferSet([ScriptTransfer(add0, 1, assetId), ScriptTransfer(add1, 1, assetId), ScriptTransfer(add2, 1, assetId), ScriptTransfer(add3, 1, assetId), ScriptTransfer(add4, 1, assetId), ScriptTransfer(add5, 1, assetId), ScriptTransfer(add6, 1, assetId), ScriptTransfer(add7, 1, assetId), ScriptTransfer(add8, 1, assetId), ScriptTransfer(add9, 1, assetId)]))
89+ else ScriptResult(WriteSet([DataEntry("status", valid)]), TransferSet([ScriptTransfer(add1, 1, assetId), ScriptTransfer(add2, 1, assetId), ScriptTransfer(add3, 1, assetId), ScriptTransfer(add4, 1, assetId), ScriptTransfer(add5, 1, assetId), ScriptTransfer(add6, 1, assetId), ScriptTransfer(add7, 1, assetId), ScriptTransfer(add8, 1, assetId), ScriptTransfer(add9, 1, assetId)]))
9090 }
9191
9292
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 3 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let RSA = addressFromStringValue("3My9uDN1mW9uk1FZXEPGrShd4mue54JXzXU")
55
66 let keeper = RSA
77
88 let assetId = fromBase58String("9NsNh9QzifZX9BT5SQxXmLQDfL1hcWRY4w73nedJCe17")
99
1010 let pub = getBinaryValue(keeper, "pub")
1111
1212 @Callable(i)
1313 func f () = {
1414 let msg0 = getBinaryValue(keeper, "msg_0")
1515 let sig0 = getBinaryValue(keeper, "sig_0")
1616 let add0 = addressFromPublicKey(take(msg0, 32))
1717 let msg1 = getBinaryValue(keeper, "msg_1")
1818 let sig1 = getBinaryValue(keeper, "sig_1")
1919 let add1 = addressFromPublicKey(take(msg1, 32))
2020 let msg2 = getBinaryValue(keeper, "msg_2")
2121 let sig2 = getBinaryValue(keeper, "sig_2")
2222 let add2 = addressFromPublicKey(take(msg2, 32))
2323 let msg3 = getBinaryValue(keeper, "msg_3")
2424 let sig3 = getBinaryValue(keeper, "sig_3")
2525 let add3 = addressFromPublicKey(take(msg3, 32))
2626 let msg4 = getBinaryValue(keeper, "msg_4")
2727 let sig4 = getBinaryValue(keeper, "sig_4")
2828 let add4 = addressFromPublicKey(take(msg4, 32))
2929 let add5 = addressFromPublicKey(take(drop(msg4, 32), 32))
3030 let add6 = addressFromPublicKey(take(drop(drop(msg4, 32), 32), 32))
3131 let add7 = addressFromPublicKey(take(drop(drop(drop(msg4, 32), 32), 32), 32))
3232 let add8 = addressFromPublicKey(take(drop(drop(drop(drop(msg4, 32), 32), 32), 32), 32))
3333 let add9 = addressFromPublicKey(take(drop(drop(drop(drop(drop(msg4, 32), 32), 32), 32), 32), 32))
3434 let valid = if (if (if (if (rsaVerify(SHA512, msg0, sig0, pub))
3535 then rsaVerify(SHA512, msg1, sig1, pub)
3636 else false)
3737 then rsaVerify(SHA512, msg2, sig2, pub)
3838 else false)
3939 then rsaVerify(SHA512, msg3, sig3, pub)
4040 else false)
4141 then rsaVerify(SHA512, msg4, sig4, pub)
4242 else false
4343 if (!(valid))
4444 then throw("F")
4545 else ScriptResult(WriteSet([DataEntry("STATUS", "DONE")]), TransferSet(nil))
4646 }
4747
4848
4949
5050 @Callable(i)
5151 func f1 () = {
5252 let msg0 = getBinaryValue(keeper, "msg_0")
5353 let sig0 = getBinaryValue(keeper, "sig_0")
5454 let add0 = addressFromPublicKey(take(msg0, 32))
5555 let msg1 = getBinaryValue(keeper, "msg_1")
5656 let sig1 = getBinaryValue(keeper, "sig_1")
5757 let add1 = addressFromPublicKey(take(msg1, 32))
5858 let msg2 = getBinaryValue(keeper, "msg_2")
5959 let sig2 = getBinaryValue(keeper, "sig_2")
6060 let add2 = addressFromPublicKey(take(msg2, 32))
6161 let msg3 = getBinaryValue(keeper, "msg_3")
6262 let sig3 = getBinaryValue(keeper, "sig_3")
6363 let add3 = addressFromPublicKey(take(msg3, 32))
6464 let msg4 = getBinaryValue(keeper, "msg_4")
6565 let sig4 = getBinaryValue(keeper, "sig_4")
6666 let add4 = addressFromPublicKey(take(msg4, 32))
6767 let add5 = addressFromPublicKey(take(drop(msg4, 32), 32))
6868 let add6 = addressFromPublicKey(take(drop(drop(msg4, 32), 32), 32))
6969 let add7 = addressFromPublicKey(take(drop(drop(drop(msg4, 32), 32), 32), 32))
7070 let add8 = addressFromPublicKey(take(drop(drop(drop(drop(msg4, 32), 32), 32), 32), 32))
7171 let add9 = addressFromPublicKey(take(drop(drop(drop(drop(drop(msg4, 32), 32), 32), 32), 32), 32))
7272 let valid = if (if (if (if (rsaVerify(SHA512, msg0, sig0, pub))
7373 then rsaVerify(SHA512, msg1, sig1, pub)
7474 else false)
7575 then rsaVerify(SHA512, msg2, sig2, pub)
7676 else false)
7777 then rsaVerify(SHA512, msg3, sig3, pub)
7878 else false)
7979 then rsaVerify(SHA512, msg4, sig4, pub)
8080 else false
8181 let nStatus = match getInteger(this, "nstatus") {
8282 case a: Int =>
8383 a
8484 case _ =>
8585 0
8686 }
87- if ((height >= nStatus))
87+ if ((height > nStatus))
8888 then throw("F")
89- else ScriptResult(WriteSet([DataEntry("nstatus", nStatus)]), TransferSet([ScriptTransfer(add0, 1, assetId), ScriptTransfer(add1, 1, assetId), ScriptTransfer(add2, 1, assetId), ScriptTransfer(add3, 1, assetId), ScriptTransfer(add4, 1, assetId), ScriptTransfer(add5, 1, assetId), ScriptTransfer(add6, 1, assetId), ScriptTransfer(add7, 1, assetId), ScriptTransfer(add8, 1, assetId), ScriptTransfer(add9, 1, assetId)]))
89+ else ScriptResult(WriteSet([DataEntry("status", valid)]), TransferSet([ScriptTransfer(add1, 1, assetId), ScriptTransfer(add2, 1, assetId), ScriptTransfer(add3, 1, assetId), ScriptTransfer(add4, 1, assetId), ScriptTransfer(add5, 1, assetId), ScriptTransfer(add6, 1, assetId), ScriptTransfer(add7, 1, assetId), ScriptTransfer(add8, 1, assetId), ScriptTransfer(add9, 1, assetId)]))
9090 }
9191
9292
9393 @Verifier(tx)
9494 func standardVerifier () = sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey)
9595

github/deemru/w8io/026f985 
29.45 ms