tx · 6rH96xGGZKYML4Tc34G498DtnL3XwJPnogrQ99QwmEsE

3N2twj8eT6KSsnAn9pmCg81fj2zMwnDemUA:  -0.01400000 Waves

2019.10.26 17:08 [737197] smart account 3N2twj8eT6KSsnAn9pmCg81fj2zMwnDemUA > SELF 0.00000000 Waves

{ "type": 13, "id": "6rH96xGGZKYML4Tc34G498DtnL3XwJPnogrQ99QwmEsE", "fee": 1400000, "feeAssetId": null, "timestamp": 1572098947864, "version": 1, "sender": "3N2twj8eT6KSsnAn9pmCg81fj2zMwnDemUA", "senderPublicKey": "CaLwDVLXcV8Cr9MBZ4fzmW3emUhYEjcGz9uw12Fyf7SF", "proofs": [ "37q81hUZ12GKRoFNhvoNmzHeENVtuC342k1GC49HatNRrjnzqXfNMzXuqN2ZTaJ3ixHhGH1NT5VzHsWpS8cES4Um" ], "script": "base64:AAIDAAAAAAAAAAgIARIECgIICAAAAAAAAAABAAAAAWkBAAAAAldOAAAAAgAAAARrZXl4AAAABG5vdGUEAAAADVNlbmRlckFkZHJlc3MJAAJYAAAAAQgIBQAAAAFpAAAABmNhbGxlcgAAAAVieXRlcwQAAAAFQWRkcjECAAAAIzNOMnR3ajhlVDZLU3NuQW45cG1DZzgxZmoyek13bkRlbVVBBAAAAARLZXkxAgAAAANhYmMEAAAABUFkZHIyAgAAACMzTXJxQmFlcmc4aURiY2ZiNlBYMTdxUXhTZVJldkF1M0hLQgQAAAAFQWRkcjMJAQAAABxAZXh0clVzZXIoYWRkcmVzc0Zyb21TdHJpbmcpAAAAAQIAAAAjM01ycUJhZXJnOGlEYmNmYjZQWDE3cVF4U2VSZXZBdTNIS0IEAAAACXV1aWRFeGlzdAQAAAAHJG1hdGNoMAkABB0AAAACBQAAAAR0aGlzBQAAAARrZXl4AwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAAAZTdHJpbmcEAAAAAWEFAAAAByRtYXRjaDAFAAAAAWECAAAABE5PTkUEAAAADFRleHRGcm9tS2V5MQkBAAAAB2V4dHJhY3QAAAABCQAEHQAAAAIJAQAAABxAZXh0clVzZXIoYWRkcmVzc0Zyb21TdHJpbmcpAAAAAQUAAAAFQWRkcjEFAAAABGtleXgEAAAADFRleHRGcm9tS2V5MgkBAAAAEUBleHRyTmF0aXZlKDEwNTMpAAAAAgUAAAAFQWRkcjMFAAAABEtleTEDCQAAAAAAAAIFAAAADVNlbmRlckFkZHJlc3MFAAAABUFkZHIyAwkAAAAAAAACBQAAAAxUZXh0RnJvbUtleTECAAAAAAkBAAAACFdyaXRlU2V0AAAAAQkABEwAAAACCQEAAAAJRGF0YUVudHJ5AAAAAgUAAAAEa2V5eAUAAAAEbm90ZQUAAAADbmlsCQAAAgAAAAECAAAAEktleSBhbHJlYWR5IGV4aXN0cwkAAAIAAAABAgAAAA1Ob3QgcGVybWl0dGVkAAAAAE4ewZ8=", "chainId": 84, "height": 737197, "spentComplexity": 0 } View: original | compacted Prev: 6izxpS1hMan9CNRX8hewjrZtyCe37X3HAHq7zmzig31V Next: DDAsm48kYcLZjrJGrN7FTz1FwrSkmMrzxNzS1yzk6xe2 Diff:
OldNewDifferences
77 func WN (keyx,note) = {
88 let SenderAddress = toBase58String(i.caller.bytes)
99 let Addr1 = "3N2twj8eT6KSsnAn9pmCg81fj2zMwnDemUA"
10- let Key1 = "1"
10+ let Key1 = "abc"
1111 let Addr2 = "3MrqBaerg8iDbcfb6PX17qQxSeRevAu3HKB"
1212 let Addr3 = addressFromStringValue("3MrqBaerg8iDbcfb6PX17qQxSeRevAu3HKB")
1313 let uuidExist = match getString(this, keyx) {
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"
10- let Key1 = "1"
10+ let Key1 = "abc"
1111 let Addr2 = "3MrqBaerg8iDbcfb6PX17qQxSeRevAu3HKB"
1212 let Addr3 = addressFromStringValue("3MrqBaerg8iDbcfb6PX17qQxSeRevAu3HKB")
1313 let uuidExist = match getString(this, keyx) {
1414 case a: String =>
1515 a
1616 case _ =>
1717 "NONE"
1818 }
1919 let TextFromKey1 = extract(getString(addressFromStringValue(Addr1), keyx))
2020 let TextFromKey2 = getStringValue(Addr3, Key1)
2121 if ((SenderAddress == Addr2))
2222 then if ((TextFromKey1 == ""))
2323 then WriteSet([DataEntry(keyx, note)])
2424 else throw("Key already exists")
2525 else throw("Not permitted")
2626 }
2727
2828

github/deemru/w8io/169f3d6 
27.61 ms