tx · 6uuFYTz9z1h2XdehJuXiHCbPgvw54nxwm3VbA7RasQJE

3MsYB1YL7gzygFM5vZJLNoSwxiVARw3i4dS:  -0.01400000 Waves

2019.11.08 11:54 [755761] smart account 3MsYB1YL7gzygFM5vZJLNoSwxiVARw3i4dS > SELF 0.00000000 Waves

{ "type": 13, "id": "6uuFYTz9z1h2XdehJuXiHCbPgvw54nxwm3VbA7RasQJE", "fee": 1400000, "feeAssetId": null, "timestamp": 1573203271689, "version": 1, "sender": "3MsYB1YL7gzygFM5vZJLNoSwxiVARw3i4dS", "senderPublicKey": "6G5NGhnfJz9aCpHo6LFhebGvnbhYgG31LQbjmMnkzqSe", "proofs": [ "4yZxmb8KeNQedBySvtMLBVcb8Q9UpVRATEcy4bh1RAC3N99gXGpy8YEfeK4kZJzdAPnn8LcFZXH59kipCUP1hLH1" ], "script": "base64:AAIDAAAAAAAAAAcIARIDCgECAAAAAQEAAAAMdG9CeXRlVmVjdG9yAAAAAQAAAAJidgQAAAAHJG1hdGNoMAUAAAACYnYDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAACkJ5dGVWZWN0b3IEAAAAA2J2MAUAAAAHJG1hdGNoMAUAAAADYnYwCQAAAgAAAAECAAAAE0J5dGVWZWN0b3IgZXhwZWN0ZWQAAAABAAAAAWkBAAAAB3JlZ1VzZXIAAAABAAAACnVzZXJQdWJLZXkJAQAAAAhXcml0ZVNldAAAAAEJAARMAAAAAgkBAAAACURhdGFFbnRyeQAAAAICAAAACnVzZXJQdWJLZXkFAAAACnVzZXJQdWJLZXkFAAAAA25pbAAAAAEAAAACdHgBAAAACHZlcmlmaWVyAAAAAAQAAAAHJG1hdGNoMAUAAAACdHgDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAF0ludm9rZVNjcmlwdFRyYW5zYWN0aW9uBAAAAANpbnYFAAAAByRtYXRjaDADCQAAAAAAAAIIBQAAAANpbnYAAAAIZnVuY3Rpb24CAAAAB3JlZ1VzZXIJAAH0AAAAAwgFAAAAAnR4AAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAACdHgAAAAGcHJvb2ZzAAAAAAAAAAAAAQAAACBJbFjA0q5xX8lPTWjE8Xt6Nj3+eShbmdQETLpCwGqETAkAAfQAAAADCAUAAAACdHgAAAAJYm9keUJ5dGVzCQABkQAAAAIIBQAAAAJ0eAAAAAZwcm9vZnMAAAAAAAAAAAAIBQAAAAJ0eAAAAA9zZW5kZXJQdWJsaWNLZXkJAAH0AAAAAwgFAAAAAnR4AAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAACdHgAAAAGcHJvb2ZzAAAAAAAAAAAACAUAAAACdHgAAAAPc2VuZGVyUHVibGljS2V5SeRkDA==", "chainId": 84, "height": 755761, "spentComplexity": 0 } View: original | compacted Prev: HM6TgJnEZ7YhaPgfmvznrCWfa5rK8EdLCQjUdqqEbY85 Next: 2YgEgnjeNpoZfkgrcZLaKscwr8DXErDqLHJ75DLMjebz Diff:
OldNewDifferences
1717 func verifier () = match tx {
1818 case inv: InvokeScriptTransaction =>
1919 if ((inv.function == "regUser"))
20- then sigVerify(tx.bodyBytes, tx.proofs[0], toByteVector(inv.args[0]))
20+ then sigVerify(tx.bodyBytes, tx.proofs[0], base58'5wcatb2dTJHNrGsqRCaric3CaQMT4DD4ucfcxkHanzuh')
2121 else sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey)
2222 case _ =>
2323 sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey)
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 3 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 func toByteVector (bv) = match bv {
55 case bv0: ByteVector =>
66 bv0
77 case _ =>
88 throw("ByteVector expected")
99 }
1010
1111
1212 @Callable(i)
1313 func regUser (userPubKey) = WriteSet([DataEntry("userPubKey", userPubKey)])
1414
1515
1616 @Verifier(tx)
1717 func verifier () = match tx {
1818 case inv: InvokeScriptTransaction =>
1919 if ((inv.function == "regUser"))
20- then sigVerify(tx.bodyBytes, tx.proofs[0], toByteVector(inv.args[0]))
20+ then sigVerify(tx.bodyBytes, tx.proofs[0], base58'5wcatb2dTJHNrGsqRCaric3CaQMT4DD4ucfcxkHanzuh')
2121 else sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey)
2222 case _ =>
2323 sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey)
2424 }
2525

github/deemru/w8io/169f3d6 
26.08 ms