tx · 9KUJVi34faVgWtBMS9NFSnXqZffRPVWCxzXcDzLz2nvB
3MyL8PcebVFABremMB97pV3FhztcG3ZmH5u: -0.01000000 Waves
2019.07.24 15:25 [600105] smart account 3MyL8PcebVFABremMB97pV3FhztcG3ZmH5u > SELF 0.00000000 Waves
{
"type": 13,
"id": "9KUJVi34faVgWtBMS9NFSnXqZffRPVWCxzXcDzLz2nvB",
"fee": 1000000,
"feeAssetId": null,
"timestamp": 1563971166882,
"version": 1,
"sender": "3MyL8PcebVFABremMB97pV3FhztcG3ZmH5u",
"senderPublicKey": "BCNPdVGTWU3kkpGe1CkywhPU1fD8n8PXTQLqWzHr4JND",
"proofs": [
"3t2Ycu4s8g4srK6DNCG9JGGWjA2m6ZrK3VdnXHPb1dwcLT8ErvAMZj7gh2sQEG7krrz2Kt8M8aj5UAjLkGnFM4Ar"
],
"script": "base64:AAIDAAAAAAAAAAAAAAAAAAAAAQAAAAFpAQAAAAZ0ZWxsbWUAAAADAAAABGhvc3QAAAAJcHVibGljS2V5AAAABnN0YXR1cwQAAAANY2FsbGVyQWRkcmVzcwkAAlgAAAABCAgFAAAAAWkAAAAGY2FsbGVyAAAABWJ5dGVzBAAAAAxoYXNQdWJsaWNLZXkEAAAAByRtYXRjaDAJAAQdAAAAAgUAAAAEdGhpcwUAAAAJcHVibGljS2V5AwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAAARVbml0BAAAAAF4BQAAAAckbWF0Y2gwAgAAAAADCQAAAQAAAAIFAAAAByRtYXRjaDACAAAABlN0cmluZwQAAAABeAUAAAAHJG1hdGNoMAUAAAABeAkBAAAABXRocm93AAAAAAMJAQAAAAIhPQAAAAIFAAAADGhhc1B1YmxpY0tleQIAAAAACQAAAgAAAAECAAAAGFRoaXMgcHVibGljS2V5IGlzIGV4aXN0cwkBAAAACFdyaXRlU2V0AAAAAQkABEwAAAACCQEAAAAJRGF0YUVudHJ5AAAAAgIAAAAEaG9zdAUAAAAEaG9zdAkABEwAAAACCQEAAAAJRGF0YUVudHJ5AAAAAgIAAAAJcHVibGljS2V5BQAAAAlwdWJsaWNLZXkJAARMAAAAAgkBAAAACURhdGFFbnRyeQAAAAICAAAABnN0YXR1cwUAAAAGc3RhdHVzBQAAAANuaWwAAAAAPVQ+YQ==",
"chainId": 84,
"height": 600105,
"spentComplexity": 0
}
View: original | compacted
Prev: none
Next: none
Full:
Old | New | | Differences |
---|
1 | | - | # no script |
---|
| 1 | + | {-# STDLIB_VERSION 3 #-} |
---|
| 2 | + | {-# SCRIPT_TYPE ACCOUNT #-} |
---|
| 3 | + | {-# CONTENT_TYPE DAPP #-} |
---|
| 4 | + | |
---|
| 5 | + | |
---|
| 6 | + | @Callable(a) |
---|
| 7 | + | func tellme (b,c,d) = { |
---|
| 8 | + | let e = toBase58String(a.caller.bytes) |
---|
| 9 | + | let f = { |
---|
| 10 | + | let g = getString(this, c) |
---|
| 11 | + | if ($isInstanceOf(g, "Unit")) |
---|
| 12 | + | then { |
---|
| 13 | + | let h = g |
---|
| 14 | + | "" |
---|
| 15 | + | } |
---|
| 16 | + | else if ($isInstanceOf(g, "String")) |
---|
| 17 | + | then { |
---|
| 18 | + | let h = g |
---|
| 19 | + | h |
---|
| 20 | + | } |
---|
| 21 | + | else throw() |
---|
| 22 | + | } |
---|
| 23 | + | if ((f != "")) |
---|
| 24 | + | then throw("This publicKey is exists") |
---|
| 25 | + | else WriteSet([DataEntry("host", b), DataEntry("publicKey", c), DataEntry("status", d)]) |
---|
| 26 | + | } |
---|
| 27 | + | |
---|
| 28 | + | |
---|