tx · GiPhqpAKdiNSNUKFwUkUxDeusqajZGgdM4GxdpNQeDY5

3My9uDN1mW9uk1FZXEPGrShd4mue54JXzXU:  -0.05000000 Waves

2020.01.17 18:16 [858323] smart account 3My9uDN1mW9uk1FZXEPGrShd4mue54JXzXU > SELF 0.00000000 Waves

{ "type": 13, "id": "GiPhqpAKdiNSNUKFwUkUxDeusqajZGgdM4GxdpNQeDY5", "fee": 5000000, "feeAssetId": null, "timestamp": 1579274229492, "version": 1, "sender": "3My9uDN1mW9uk1FZXEPGrShd4mue54JXzXU", "senderPublicKey": "95WQpA13wTFDDvyMzJM8sjgYqsMxRbJ1J6ECJ3Jn35F4", "proofs": [ "4rWPZThDV7WBDHdJ3KU7UEpUhGjmCvhQK2eRXkQnm3Rp1y8eFERkQErexcMJN3sLk1sMgJZTmJpQ5yVLGbefFoLL" ], "script": "base64:AAIDAAAAAAAAAAYIARIAEgAAAAAEAAAAAANSU0EJAQAAABxAZXh0clVzZXIoYWRkcmVzc0Zyb21TdHJpbmcpAAAAAQIAAAAjM015OXVETjFtVzl1azFGWlhFUEdyU2hkNG11ZTU0Slh6WFUAAAAABmtlZXBlcgUAAAADUlNBAAAAAAdhc3NldElkCQACWQAAAAECAAAALDlOc05oOVF6aWZaWDlCVDVTUXhYbUxRRGZMMWhjV1JZNHc3M25lZEpDZTE3AAAAAANwdWIJAQAAABFAZXh0ck5hdGl2ZSgxMDUyKQAAAAIFAAAABmtlZXBlcgIAAAADcHViAAAAAgAAAAFpAQAAAAFmAAAAAAQAAAAEbXNnMAkBAAAAEUBleHRyTmF0aXZlKDEwNTIpAAAAAgUAAAAGa2VlcGVyAgAAAAVtc2dfMAQAAAAEc2lnMAkBAAAAEUBleHRyTmF0aXZlKDEwNTIpAAAAAgUAAAAGa2VlcGVyAgAAAAVzaWdfMAQAAAAEYWRkMAkBAAAAFGFkZHJlc3NGcm9tUHVibGljS2V5AAAAAQkAAMkAAAACBQAAAARtc2cwAAAAAAAAAAAgBAAAAARtc2cx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XRJZAkABEwAAAACCQEAAAAOU2NyaXB0VHJhbnNmZXIAAAADBQAAAARhZGQ1AAAAAAAAAAABBQAAAAdhc3NldElkCQAETAAAAAIJAQAAAA5TY3JpcHRUcmFuc2ZlcgAAAAMFAAAABGFkZDYAAAAAAAAAAAEFAAAAB2Fzc2V0SWQJAARMAAAAAgkBAAAADlNjcmlwdFRyYW5zZmVyAAAAAwUAAAAEYWRkNwAAAAAAAAAAAQUAAAAHYXNzZXRJZAkABEwAAAACCQEAAAAOU2NyaXB0VHJhbnNmZXIAAAADBQAAAARhZGQ4AAAAAAAAAAABBQAAAAdhc3NldElkCQAETAAAAAIJAQAAAA5TY3JpcHRUcmFuc2ZlcgAAAAMFAAAABGFkZDkAAAAAAAAAAAEFAAAAB2Fzc2V0SWQFAAAAA25pbAAAAAEAAAACdHgBAAAAEHN0YW5kYXJkVmVyaWZpZXIAAAAACQAB9AAAAAMIBQAAAAJ0eAAAAAlib2R5Qnl0ZXMJAAGRAAAAAggFAAAAAnR4AAAABnByb29mcwAAAAAAAAAAAAgFAAAAAnR4AAAAD3NlbmRlclB1YmxpY0tlebhTCbA=", "chainId": 84, "height": 858323, "spentComplexity": 0 } View: original | compacted Prev: 7srjy3e9FksS9aKhvjrNWZnwA9QbHD6ZmVQAMo64RHpX Next: GaQF6fmcC5ibdAisrsp8GNH2nSh9mbN9MgBwLcUKARSv Diff:
OldNewDifferences
44 let RSA = addressFromStringValue("3My9uDN1mW9uk1FZXEPGrShd4mue54JXzXU")
55
66 let keeper = RSA
7+
8+let assetId = fromBase58String("9NsNh9QzifZX9BT5SQxXmLQDfL1hcWRY4w73nedJCe17")
79
810 let pub = getBinaryValue(keeper, "pub")
911
8486 }
8587 if ((height >= nStatus))
8688 then throw("F")
87- else ScriptResult(WriteSet([DataEntry("nstatus", nStatus)]), TransferSet(nil))
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)]))
8890 }
8991
9092
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 3 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let RSA = addressFromStringValue("3My9uDN1mW9uk1FZXEPGrShd4mue54JXzXU")
55
66 let keeper = RSA
7+
8+let assetId = fromBase58String("9NsNh9QzifZX9BT5SQxXmLQDfL1hcWRY4w73nedJCe17")
79
810 let pub = getBinaryValue(keeper, "pub")
911
1012 @Callable(i)
1113 func f () = {
1214 let msg0 = getBinaryValue(keeper, "msg_0")
1315 let sig0 = getBinaryValue(keeper, "sig_0")
1416 let add0 = addressFromPublicKey(take(msg0, 32))
1517 let msg1 = getBinaryValue(keeper, "msg_1")
1618 let sig1 = getBinaryValue(keeper, "sig_1")
1719 let add1 = addressFromPublicKey(take(msg1, 32))
1820 let msg2 = getBinaryValue(keeper, "msg_2")
1921 let sig2 = getBinaryValue(keeper, "sig_2")
2022 let add2 = addressFromPublicKey(take(msg2, 32))
2123 let msg3 = getBinaryValue(keeper, "msg_3")
2224 let sig3 = getBinaryValue(keeper, "sig_3")
2325 let add3 = addressFromPublicKey(take(msg3, 32))
2426 let msg4 = getBinaryValue(keeper, "msg_4")
2527 let sig4 = getBinaryValue(keeper, "sig_4")
2628 let add4 = addressFromPublicKey(take(msg4, 32))
2729 let add5 = addressFromPublicKey(take(drop(msg4, 32), 32))
2830 let add6 = addressFromPublicKey(take(drop(drop(msg4, 32), 32), 32))
2931 let add7 = addressFromPublicKey(take(drop(drop(drop(msg4, 32), 32), 32), 32))
3032 let add8 = addressFromPublicKey(take(drop(drop(drop(drop(msg4, 32), 32), 32), 32), 32))
3133 let add9 = addressFromPublicKey(take(drop(drop(drop(drop(drop(msg4, 32), 32), 32), 32), 32), 32))
3234 let valid = if (if (if (if (rsaVerify(SHA512, msg0, sig0, pub))
3335 then rsaVerify(SHA512, msg1, sig1, pub)
3436 else false)
3537 then rsaVerify(SHA512, msg2, sig2, pub)
3638 else false)
3739 then rsaVerify(SHA512, msg3, sig3, pub)
3840 else false)
3941 then rsaVerify(SHA512, msg4, sig4, pub)
4042 else false
4143 if (!(valid))
4244 then throw("F")
4345 else ScriptResult(WriteSet([DataEntry("STATUS", "DONE")]), TransferSet(nil))
4446 }
4547
4648
4749
4850 @Callable(i)
4951 func f1 () = {
5052 let msg0 = getBinaryValue(keeper, "msg_0")
5153 let sig0 = getBinaryValue(keeper, "sig_0")
5254 let add0 = addressFromPublicKey(take(msg0, 32))
5355 let msg1 = getBinaryValue(keeper, "msg_1")
5456 let sig1 = getBinaryValue(keeper, "sig_1")
5557 let add1 = addressFromPublicKey(take(msg1, 32))
5658 let msg2 = getBinaryValue(keeper, "msg_2")
5759 let sig2 = getBinaryValue(keeper, "sig_2")
5860 let add2 = addressFromPublicKey(take(msg2, 32))
5961 let msg3 = getBinaryValue(keeper, "msg_3")
6062 let sig3 = getBinaryValue(keeper, "sig_3")
6163 let add3 = addressFromPublicKey(take(msg3, 32))
6264 let msg4 = getBinaryValue(keeper, "msg_4")
6365 let sig4 = getBinaryValue(keeper, "sig_4")
6466 let add4 = addressFromPublicKey(take(msg4, 32))
6567 let add5 = addressFromPublicKey(take(drop(msg4, 32), 32))
6668 let add6 = addressFromPublicKey(take(drop(drop(msg4, 32), 32), 32))
6769 let add7 = addressFromPublicKey(take(drop(drop(drop(msg4, 32), 32), 32), 32))
6870 let add8 = addressFromPublicKey(take(drop(drop(drop(drop(msg4, 32), 32), 32), 32), 32))
6971 let add9 = addressFromPublicKey(take(drop(drop(drop(drop(drop(msg4, 32), 32), 32), 32), 32), 32))
7072 let valid = if (if (if (if (rsaVerify(SHA512, msg0, sig0, pub))
7173 then rsaVerify(SHA512, msg1, sig1, pub)
7274 else false)
7375 then rsaVerify(SHA512, msg2, sig2, pub)
7476 else false)
7577 then rsaVerify(SHA512, msg3, sig3, pub)
7678 else false)
7779 then rsaVerify(SHA512, msg4, sig4, pub)
7880 else false
7981 let nStatus = match getInteger(this, "nstatus") {
8082 case a: Int =>
8183 a
8284 case _ =>
8385 0
8486 }
8587 if ((height >= nStatus))
8688 then throw("F")
87- else ScriptResult(WriteSet([DataEntry("nstatus", nStatus)]), TransferSet(nil))
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)]))
8890 }
8991
9092
9193 @Verifier(tx)
9294 func standardVerifier () = sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey)
9395

github/deemru/w8io/026f985 
26.55 ms