tx · 7rx2eJR7JPXK5wDHtEWWZV1Ymt3T8pjTF2zaywaLmq4j
3N2twj8eT6KSsnAn9pmCg81fj2zMwnDemUA: -0.01400000 Waves
2019.10.26 15:52 [737128] smart account 3N2twj8eT6KSsnAn9pmCg81fj2zMwnDemUA > SELF 0.00000000 Waves
{
"type": 13,
"id": "7rx2eJR7JPXK5wDHtEWWZV1Ymt3T8pjTF2zaywaLmq4j",
"fee": 1400000,
"feeAssetId": null,
"timestamp": 1572094443477,
"version": 1,
"sender": "3N2twj8eT6KSsnAn9pmCg81fj2zMwnDemUA",
"senderPublicKey": "CaLwDVLXcV8Cr9MBZ4fzmW3emUhYEjcGz9uw12Fyf7SF",
"proofs": [
"5a2Y3FGBp6cWPrHm6agCRQuZEeucn8QS32Qg45m8gxGPL3i5nEyWJhydCgjVeK1QxpXcfSHotL5Nhseku249mNqq"
],
"script": "base64:AAIDAAAAAAAAAAgIARIECgIICAAAAAAAAAABAAAAAWkBAAAAAldOAAAAAgAAAARrZXl4AAAABG5vdGUEAAAADVNlbmRlckFkZHJlc3MJAAJYAAAAAQgIBQAAAAFpAAAABmNhbGxlcgAAAAVieXRlcwQAAAAIRmFrZU5vdGUCAAAABERlbnkEAAAABUFkZHIxAgAAACMzTjJ0d2o4ZVQ2S1NzbkFuOXBtQ2c4MWZqMnpNd25EZW1VQQQAAAAES2V5MQIAAAAGTXlLZXkxBAAAAAdBbHJlYWR5AgAAABJLZXkgQWxyZWFkeSBFeGlzdHMEAAAABUFkZHIyAgAAACMzTXJxQmFlcmc4aURiY2ZiNlBYMTdxUXhTZVJldkF1M0hLQgQAAAAFQWRkcjMJAQAAABxAZXh0clVzZXIoYWRkcmVzc0Zyb21TdHJpbmcpAAAAAQIAAAAjM01ycUJhZXJnOGlEYmNmYjZQWDE3cVF4U2VSZXZBdTNIS0IEAAAADFRleHRGcm9tS2V5MQkBAAAAB2V4dHJhY3QAAAABCQAEHQAAAAIJAQAAABxAZXh0clVzZXIoYWRkcmVzc0Zyb21TdHJpbmcpAAAAAQUAAAAFQWRkcjEFAAAABGtleXgEAAAADFRleHRGcm9tS2V5MgkBAAAAEUBleHRyTmF0aXZlKDEwNTMpAAAAAgUAAAAFQWRkcjMFAAAABEtleTEDCQAAAAAAAAIFAAAADFRleHRGcm9tS2V5MQIAAAAACQEAAAAIV3JpdGVTZXQAAAABCQAETAAAAAIJAQAAAAlEYXRhRW50cnkAAAACBQAAAARrZXl4BQAAAAxUZXh0RnJvbUtleTEFAAAAA25pbAMJAAAAAAAAAgUAAAANU2VuZGVyQWRkcmVzcwUAAAAFQWRkcjIJAQAAAAhXcml0ZVNldAAAAAEJAARMAAAAAgkBAAAACURhdGFFbnRyeQAAAAIFAAAABGtleXgFAAAAB0FscmVhZHkFAAAAA25pbAkBAAAACFdyaXRlU2V0AAAAAQkABEwAAAACCQEAAAAJRGF0YUVudHJ5AAAAAgUAAAANU2VuZGVyQWRkcmVzcwUAAAAIRmFrZU5vdGUFAAAAA25pbAAAAACJGorQ",
"chainId": 84,
"height": 737128,
"spentComplexity": 0
}
View: original | compacted
Prev: A1D6YFYiymtQW8iCyUcVx4B3fesTxtnby2rF4VLp6HsP
Next: 88oFh9bsJAGWeMvbCTSrDyR5K1S82XMW3W6bjKf7Gfch
Diff:
Old | New | | Differences |
---|
12 | 12 | | let Already = "Key Already Exists" |
---|
13 | 13 | | let Addr2 = "3MrqBaerg8iDbcfb6PX17qQxSeRevAu3HKB" |
---|
14 | 14 | | let Addr3 = addressFromStringValue("3MrqBaerg8iDbcfb6PX17qQxSeRevAu3HKB") |
---|
15 | | - | let TextFromKey1 = extract(getString(addressFromStringValue(Addr1), Key1)) |
---|
| 15 | + | let TextFromKey1 = extract(getString(addressFromStringValue(Addr1), keyx)) |
---|
16 | 16 | | let TextFromKey2 = getStringValue(Addr3, Key1) |
---|
17 | 17 | | if ((TextFromKey1 == "")) |
---|
18 | 18 | | then WriteSet([DataEntry(keyx, TextFromKey1)]) |
---|
Full:
Old | New | | Differences |
---|
1 | 1 | | {-# STDLIB_VERSION 3 #-} |
---|
2 | 2 | | {-# SCRIPT_TYPE ACCOUNT #-} |
---|
3 | 3 | | {-# CONTENT_TYPE DAPP #-} |
---|
4 | 4 | | |
---|
5 | 5 | | |
---|
6 | 6 | | @Callable(i) |
---|
7 | 7 | | func WN (keyx,note) = { |
---|
8 | 8 | | let SenderAddress = toBase58String(i.caller.bytes) |
---|
9 | 9 | | let FakeNote = "Deny" |
---|
10 | 10 | | let Addr1 = "3N2twj8eT6KSsnAn9pmCg81fj2zMwnDemUA" |
---|
11 | 11 | | let Key1 = "MyKey1" |
---|
12 | 12 | | let Already = "Key Already Exists" |
---|
13 | 13 | | let Addr2 = "3MrqBaerg8iDbcfb6PX17qQxSeRevAu3HKB" |
---|
14 | 14 | | let Addr3 = addressFromStringValue("3MrqBaerg8iDbcfb6PX17qQxSeRevAu3HKB") |
---|
15 | | - | let TextFromKey1 = extract(getString(addressFromStringValue(Addr1), Key1)) |
---|
| 15 | + | let TextFromKey1 = extract(getString(addressFromStringValue(Addr1), keyx)) |
---|
16 | 16 | | let TextFromKey2 = getStringValue(Addr3, Key1) |
---|
17 | 17 | | if ((TextFromKey1 == "")) |
---|
18 | 18 | | then WriteSet([DataEntry(keyx, TextFromKey1)]) |
---|
19 | 19 | | else if ((SenderAddress == Addr2)) |
---|
20 | 20 | | then WriteSet([DataEntry(keyx, Already)]) |
---|
21 | 21 | | else WriteSet([DataEntry(SenderAddress, FakeNote)]) |
---|
22 | 22 | | } |
---|
23 | 23 | | |
---|
24 | 24 | | |
---|