tx · AoYjkvzQZ75pqjwh7mG299KNdDgpZgqwcjQzq4pmp9HM

3MsYB1YL7gzygFM5vZJLNoSwxiVARw3i4dS:  -0.01000000 Waves

2019.11.08 11:47 [755754] smart account 3MsYB1YL7gzygFM5vZJLNoSwxiVARw3i4dS > SELF 0.00000000 Waves

{ "type": 13, "id": "AoYjkvzQZ75pqjwh7mG299KNdDgpZgqwcjQzq4pmp9HM", "fee": 1000000, "feeAssetId": null, "timestamp": 1573202838773, "version": 1, "sender": "3MsYB1YL7gzygFM5vZJLNoSwxiVARw3i4dS", "senderPublicKey": "6G5NGhnfJz9aCpHo6LFhebGvnbhYgG31LQbjmMnkzqSe", "proofs": [ "211Nhnp84zEGjCQAyT78FJb1eQcnweMRPArVmtgs3bFkcsRMtmyUSJLk96xP5QwGpHtpLBZj2qEoeaECrZspwZDw" ], "script": "base64:AAIDAAAAAAAAAAcIARIDCgECAAAAAQEAAAAMdG9CeXRlVmVjdG9yAAAAAQAAAAJidgQAAAAHJG1hdGNoMAUAAAACYnYDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAACkJ5dGVWZWN0b3IEAAAAA2J2MAUAAAAHJG1hdGNoMAUAAAADYnYwCQAAAgAAAAECAAAAE0J5dGVWZWN0b3IgZXhwZWN0ZWQAAAABAAAAAWkBAAAAB3JlZ1VzZXIAAAABAAAACnVzZXJQdWJLZXkJAQAAAAhXcml0ZVNldAAAAAEJAARMAAAAAgkBAAAACURhdGFFbnRyeQAAAAICAAAACnVzZXJQdWJLZXkFAAAACnVzZXJQdWJLZXkFAAAAA25pbAAAAAEAAAACdHgBAAAACHZlcmlmaWVyAAAAAAQAAAAHJG1hdGNoMAUAAAACdHgDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAF0ludm9rZVNjcmlwdFRyYW5zYWN0aW9uBAAAAANpbnYFAAAAByRtYXRjaDADCQAAAAAAAAIIBQAAAANpbnYAAAAIZnVuY3Rpb24CAAAAB3JlZ1VzZXIGCQAB9AAAAAMIBQAAAAJ0eAAAAAlib2R5Qnl0ZXMJAAGRAAAAAggFAAAAAnR4AAAABnByb29mcwAAAAAAAAAAAAgFAAAAAnR4AAAAD3NlbmRlclB1YmxpY0tleQkAAfQAAAADCAUAAAACdHgAAAAJYm9keUJ5dGVzCQABkQAAAAIIBQAAAAJ0eAAAAAZwcm9vZnMAAAAAAAAAAAAIBQAAAAJ0eAAAAA9zZW5kZXJQdWJsaWNLZXlBvmVL", "chainId": 84, "height": 755754, "spentComplexity": 0 } View: original | compacted Prev: none Next: HM6TgJnEZ7YhaPgfmvznrCWfa5rK8EdLCQjUdqqEbY85 Full:
OldNewDifferences
1-# no script
1+{-# STDLIB_VERSION 3 #-}
2+{-# SCRIPT_TYPE ACCOUNT #-}
3+{-# CONTENT_TYPE DAPP #-}
4+func toByteVector (bv) = match bv {
5+ case bv0: ByteVector =>
6+ bv0
7+ case _ =>
8+ throw("ByteVector expected")
9+}
10+
11+
12+@Callable(i)
13+func regUser (userPubKey) = WriteSet([DataEntry("userPubKey", userPubKey)])
14+
15+
16+@Verifier(tx)
17+func verifier () = match tx {
18+ case inv: InvokeScriptTransaction =>
19+ if ((inv.function == "regUser"))
20+ then true
21+ else sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey)
22+ case _ =>
23+ sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey)
24+}
25+

github/deemru/w8io/169f3d6 
34.03 ms