tx · 4pqhTe2VbAm1f1N3BbuiHWo5ADubF91hdKmi8wHzky6Y

3MtdJWgm2KSya5uZBAznuYy6mCAWiHruFNe:  -0.01400000 Waves

2019.07.26 12:53 [602882] smart account 3MtdJWgm2KSya5uZBAznuYy6mCAWiHruFNe > SELF 0.00000000 Waves

{ "type": 13, "id": "4pqhTe2VbAm1f1N3BbuiHWo5ADubF91hdKmi8wHzky6Y", "fee": 1400000, "feeAssetId": null, "timestamp": 1564134789707, "version": 1, "sender": "3MtdJWgm2KSya5uZBAznuYy6mCAWiHruFNe", "senderPublicKey": "4AMgyr9MFjyvd1ppoqFg3WSNfYoG7SfdimS8yYPW592m", "proofs": [ "3Yd3Fi66SznTFFMw5yLqNpLFtfFDM3wGsCRUAgJCqHxmz9Y4Nomd3xhfhUB7ds62JbxUh3VtgEKHy5YeEy9TxfLg" ], "script": "base64:AAIDAAAAAAAAAAAAAAABAQAAABVoYXNTdHJpbmdLZXlJbkFjY291bnQAAAACAAAADmFjY291bnRBZGRyZXNzAAAAA2tleQQAAAAHJG1hdGNoMAkABB0AAAACBQAAAA5hY2NvdW50QWRkcmVzcwUAAAADa2V5AwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAAAZTdHJpbmcEAAAAAXgFAAAAByRtYXRjaDAGBwAAAAEAAAABaQEAAAARcmVnaXN0ZXJEZWNTZXJ2ZXIAAAACAAAACXB1YmxpY0tleQAAAARob3N0BAAAABJub2RlQWNjb3VudEFkZHJlc3MJAAJYAAAAAQgIBQAAAAFpAAAABmNhbGxlcgAAAAVieXRlcwQAAAAVaXNEZWNTZXJ2ZXJSZWdpc3RlcmVkCQEAAAAVaGFzU3RyaW5nS2V5SW5BY2NvdW50AAAAAgUAAAAEdGhpcwUAAAAJcHVibGljS2V5AwUAAAAVaXNEZWNTZXJ2ZXJSZWdpc3RlcmVkCQAAAgAAAAECAAAALVN1Y2ggZGVjcnlwdGlvbiBzZXJ2ZXIgd2FzIGFscmVhZHkgcmVnaXN0ZXJlZAkBAAAACFdyaXRlU2V0AAAAAQkABEwAAAACCQEAAAAJRGF0YUVudHJ5AAAAAgUAAAAEaG9zdAUAAAAJcHVibGljS2V5BQAAAANuaWwAAAABAAAAAnR4AQAAAAZ2ZXJpZnkAAAAABvxqyRs=", "chainId": 84, "height": 602882, "spentComplexity": 0 } View: original | compacted Prev: 8Jh9zxp3PDxc9aNj8pHepooHqQtsDLpL96gUcTE9WXxx Next: 3kAvbKQxR9J3kTnWN4eQZo4y17XuuPtdnZPuL4QFT87X Full:
OldNewDifferences
11 {-# STDLIB_VERSION 3 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 func hasStringKeyInAccount (accountAddress,key) = match getString(accountAddress, key) {
55 case x: String =>
66 true
77 case _ =>
88 false
99 }
1010
1111
1212 @Callable(i)
1313 func registerDecServer (publicKey,host) = {
1414 let nodeAccountAddress = toBase58String(i.caller.bytes)
1515 let isDecServerRegistered = hasStringKeyInAccount(this, publicKey)
1616 if (isDecServerRegistered)
1717 then throw("Such decryption server was already registered")
1818 else WriteSet([DataEntry(host, publicKey)])
1919 }
2020
2121
2222 @Verifier(tx)
2323 func verify () = true
2424

github/deemru/w8io/026f985 
16.41 ms