tx · HogsjLY6HDf5r8tRFK7bNcZE71V5rJ2iLVnsHRcA6Hce

3MvYrCuZcSEEpaonJMECNuAgua1N1pP4QLv:  -0.01400000 Waves

2019.11.08 11:09 [755713] smart account 3MvYrCuZcSEEpaonJMECNuAgua1N1pP4QLv > SELF 0.00000000 Waves

{ "type": 13, "id": "HogsjLY6HDf5r8tRFK7bNcZE71V5rJ2iLVnsHRcA6Hce", "fee": 1400000, "feeAssetId": null, "timestamp": 1573200550086, "version": 1, "sender": "3MvYrCuZcSEEpaonJMECNuAgua1N1pP4QLv", "senderPublicKey": "8M3Q3Umd3j8Awzm99M79fM53H8ciKVWraTxGrf9qktxT", "proofs": [ "4KzXJ2qa3zmpfA2NFhTv7r3nTPNKLSBi5BK8MbqyGsiFC1t3qmei93g2ohmB7bdxJqxitodHDcW9pF4DNN3dkRvv" ], "script": "base64:AAIDAAAAAAAAAAkIARIFCgMCCAgAAAABAQAAAAx0b0J5dGVWZWN0b3IAAAABAAAAAmJ2BAAAAAckbWF0Y2gwBQAAAAJidgMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAAKQnl0ZVZlY3RvcgQAAAADYnYwBQAAAAckbWF0Y2gwBQAAAANidjAJAAACAAAAAQIAAAATQnl0ZVZlY3RvciBleHBlY3RlZAAAAAEAAAABaQEAAAAHcmVnVXNlcgAAAAMAAAAKdXNlclB1YktleQAAAAh1c2VyTmFtZQAAAAlwcm9tb0xpbmsJAQAAAAhXcml0ZVNldAAAAAEJAARMAAAAAgkBAAAACURhdGFFbnRyeQAAAAICAAAACnVzZXJQdWJLZXkFAAAACnVzZXJQdWJLZXkFAAAAA25pbAAAAAEAAAACdHgBAAAACHZlcmlmaWVyAAAAAAQAAAAHJG1hdGNoMAUAAAACdHgDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAF0ludm9rZVNjcmlwdFRyYW5zYWN0aW9uBAAAAANpbnYFAAAAByRtYXRjaDADCQAAAAAAAAIIBQAAAANpbnYAAAAIZnVuY3Rpb24CAAAAB3JlZ1VzZXIJAAH0AAAAAwgFAAAAAnR4AAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAACdHgAAAAGcHJvb2ZzAAAAAAAAAAAACQEAAAAMdG9CeXRlVmVjdG9yAAAAAQkAAZEAAAACCAUAAAADaW52AAAABGFyZ3MAAAAAAAAAAAAJAAH0AAAAAwgFAAAAAnR4AAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAACdHgAAAAGcHJvb2ZzAAAAAAAAAAAACAUAAAACdHgAAAAPc2VuZGVyUHVibGljS2V5CQAB9AAAAAMIBQAAAAJ0eAAAAAlib2R5Qnl0ZXMJAAGRAAAAAggFAAAAAnR4AAAABnByb29mcwAAAAAAAAAAAAgFAAAAAnR4AAAAD3NlbmRlclB1YmxpY0tleZd/nwc=", "chainId": 84, "height": 755713, "spentComplexity": 0 } View: original | compacted Prev: 8g1tYw6PiHERXTXiu9Vr5GHwEczw7ygfJJTDGcP5KWgc Next: 4Fw6gXqvkr8jFhbojGDavjCzV3uCCnCA42GBft1dcMS5 Diff:
OldNewDifferences
1010
1111
1212 @Callable(i)
13-func regUser (userPubKey,userName,promoLink) = WriteSet([DataEntry("userPubKey", userPubKey), DataEntry("userName", userName), DataEntry("promoLink", promoLink)])
13+func regUser (userPubKey,userName,promoLink) = WriteSet([DataEntry("userPubKey", userPubKey)])
1414
1515
1616 @Verifier(tx)
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)
13-func regUser (userPubKey,userName,promoLink) = WriteSet([DataEntry("userPubKey", userPubKey), DataEntry("userName", userName), DataEntry("promoLink", promoLink)])
13+func regUser (userPubKey,userName,promoLink) = WriteSet([DataEntry("userPubKey", userPubKey)])
1414
1515
1616 @Verifier(tx)
1717 func verifier () = match tx {
1818 case inv: InvokeScriptTransaction =>
1919 if ((inv.function == "regUser"))
2020 then sigVerify(tx.bodyBytes, tx.proofs[0], toByteVector(inv.args[0]))
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/026f985 
22.10 ms