tx · 6izxpS1hMan9CNRX8hewjrZtyCe37X3HAHq7zmzig31V

3N2twj8eT6KSsnAn9pmCg81fj2zMwnDemUA:  -0.01400000 Waves

2019.10.26 17:06 [737196] smart account 3N2twj8eT6KSsnAn9pmCg81fj2zMwnDemUA > SELF 0.00000000 Waves

{ "type": 13, "id": "6izxpS1hMan9CNRX8hewjrZtyCe37X3HAHq7zmzig31V", "fee": 1400000, "feeAssetId": null, "timestamp": 1572098850555, "version": 1, "sender": "3N2twj8eT6KSsnAn9pmCg81fj2zMwnDemUA", "senderPublicKey": "CaLwDVLXcV8Cr9MBZ4fzmW3emUhYEjcGz9uw12Fyf7SF", "proofs": [ "4bUiEh9kMEYNQpfWLPCaCpnR3sYMVAuY8QaocFUSvuBwrB6UeTYGymWWb7Dso1ioseVYgBckGtZQ2hs8sNVDm4fV" ], "script": "base64:AAIDAAAAAAAAAAgIARIECgIICAAAAAAAAAABAAAAAWkBAAAAAldOAAAAAgAAAARrZXl4AAAABG5vdGUEAAAADVNlbmRlckFkZHJlc3MJAAJYAAAAAQgIBQAAAAFpAAAABmNhbGxlcgAAAAVieXRlcwQAAAAFQWRkcjECAAAAIzNOMnR3ajhlVDZLU3NuQW45cG1DZzgxZmoyek13bkRlbVVBBAAAAARLZXkxAgAAAAExBAAAAAVBZGRyMgIAAAAjM01ycUJhZXJnOGlEYmNmYjZQWDE3cVF4U2VSZXZBdTNIS0IEAAAABUFkZHIzCQEAAAAcQGV4dHJVc2VyKGFkZHJlc3NGcm9tU3RyaW5nKQAAAAECAAAAIzNNcnFCYWVyZzhpRGJjZmI2UFgxN3FReFNlUmV2QXUzSEtCBAAAAAl1dWlkRXhpc3QEAAAAByRtYXRjaDAJAAQdAAAAAgUAAAAEdGhpcwUAAAAEa2V5eAMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAAGU3RyaW5nBAAAAAFhBQAAAAckbWF0Y2gwBQAAAAFhAgAAAAROT05FBAAAAAxUZXh0RnJvbUtleTEJAQAAAAdleHRyYWN0AAAAAQkABB0AAAACCQEAAAAcQGV4dHJVc2VyKGFkZHJlc3NGcm9tU3RyaW5nKQAAAAEFAAAABUFkZHIxBQAAAARrZXl4BAAAAAxUZXh0RnJvbUtleTIJAQAAABFAZXh0ck5hdGl2ZSgxMDUzKQAAAAIFAAAABUFkZHIzBQAAAARLZXkxAwkAAAAAAAACBQAAAA1TZW5kZXJBZGRyZXNzBQAAAAVBZGRyMgMJAAAAAAAAAgUAAAAMVGV4dEZyb21LZXkxAgAAAAAJAQAAAAhXcml0ZVNldAAAAAEJAARMAAAAAgkBAAAACURhdGFFbnRyeQAAAAIFAAAABGtleXgFAAAABG5vdGUFAAAAA25pbAkAAAIAAAABAgAAABJLZXkgYWxyZWFkeSBleGlzdHMJAAACAAAAAQIAAAANTm90IHBlcm1pdHRlZAAAAABloGX4", "chainId": 84, "height": 737196, "spentComplexity": 0 } View: original | compacted Prev: ALGBFF93qAskZTXyN33NHcVRSkNr86HPngZEPUMbZ1qx Next: 6rH96xGGZKYML4Tc34G498DtnL3XwJPnogrQ99QwmEsE Diff:
OldNewDifferences
1010 let Key1 = "1"
1111 let Addr2 = "3MrqBaerg8iDbcfb6PX17qQxSeRevAu3HKB"
1212 let Addr3 = addressFromStringValue("3MrqBaerg8iDbcfb6PX17qQxSeRevAu3HKB")
13+ let uuidExist = match getString(this, keyx) {
14+ case a: String =>
15+ a
16+ case _ =>
17+ "NONE"
18+ }
1319 let TextFromKey1 = extract(getString(addressFromStringValue(Addr1), keyx))
1420 let TextFromKey2 = getStringValue(Addr3, Key1)
1521 if ((SenderAddress == Addr2))
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 3 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44
55
66 @Callable(i)
77 func WN (keyx,note) = {
88 let SenderAddress = toBase58String(i.caller.bytes)
99 let Addr1 = "3N2twj8eT6KSsnAn9pmCg81fj2zMwnDemUA"
1010 let Key1 = "1"
1111 let Addr2 = "3MrqBaerg8iDbcfb6PX17qQxSeRevAu3HKB"
1212 let Addr3 = addressFromStringValue("3MrqBaerg8iDbcfb6PX17qQxSeRevAu3HKB")
13+ let uuidExist = match getString(this, keyx) {
14+ case a: String =>
15+ a
16+ case _ =>
17+ "NONE"
18+ }
1319 let TextFromKey1 = extract(getString(addressFromStringValue(Addr1), keyx))
1420 let TextFromKey2 = getStringValue(Addr3, Key1)
1521 if ((SenderAddress == Addr2))
1622 then if ((TextFromKey1 == ""))
1723 then WriteSet([DataEntry(keyx, note)])
1824 else throw("Key already exists")
1925 else throw("Not permitted")
2026 }
2127
2228

github/deemru/w8io/169f3d6 
76.14 ms