tx · Ed3gArbgg1KoxqytCbZTuPSxsVjccZ7UjYAF6CAoAWyq

3N2twj8eT6KSsnAn9pmCg81fj2zMwnDemUA:  -0.01400000 Waves

2019.10.26 17:50 [737240] smart account 3N2twj8eT6KSsnAn9pmCg81fj2zMwnDemUA > SELF 0.00000000 Waves

{ "type": 13, "id": "Ed3gArbgg1KoxqytCbZTuPSxsVjccZ7UjYAF6CAoAWyq", "fee": 1400000, "feeAssetId": null, "timestamp": 1572101496643, "version": 1, "sender": "3N2twj8eT6KSsnAn9pmCg81fj2zMwnDemUA", "senderPublicKey": "CaLwDVLXcV8Cr9MBZ4fzmW3emUhYEjcGz9uw12Fyf7SF", "proofs": [ "49rd2saHQwRNG3b6762v1MNFFpMivMTjFcyEDVjemaRCGSuWHVqQSuPp8cUuTu579fWT4sfnfGvuAkUs8LCgVjMo" ], "script": "base64:AAIDAAAAAAAAAAgIARIECgIICAAAAAAAAAABAAAAAWkBAAAAAldOAAAAAgAAAARrZXl4AAAABG5vdGUEAAAADVNlbmRlckFkZHJlc3MJAAJYAAAAAQgIBQAAAAFpAAAABmNhbGxlcgAAAAVieXRlcwQAAAAFQWRkcjECAAAAIzNOMnR3ajhlVDZLU3NuQW45cG1DZzgxZmoyek13bkRlbVVBBAAAAARLZXkxAgAAAANhYmMEAAAABUFkZHIyAgAAACMzTXJxQmFlcmc4aURiY2ZiNlBYMTdxUXhTZVJldkF1M0hLQgQAAAAFQWRkcjMJAQAAABxAZXh0clVzZXIoYWRkcmVzc0Zyb21TdHJpbmcpAAAAAQIAAAAjM04ydHdqOGVUNktTc25BbjlwbUNnODFmajJ6TXduRGVtVUEEAAAAC1RleHRGcm9tS2V5BAAAAAckbWF0Y2gwCQAEHQAAAAIFAAAABUFkZHIzBQAAAARrZXl4AwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAAAZTdHJpbmcEAAAAAWEFAAAAByRtYXRjaDAFAAAAAWECAAAABE5PTkUDCQAAAAAAAAIFAAAAC1RleHRGcm9tS2V5AgAAAAROT05FAwkAAAAAAAACBQAAAA1TZW5kZXJBZGRyZXNzBQAAAAVBZGRyMgkBAAAACFdyaXRlU2V0AAAAAQkABEwAAAACCQEAAAAJRGF0YUVudHJ5AAAAAgUAAAAEa2V5eAUAAAAEbm90ZQUAAAADbmlsCQAAAgAAAAECAAAADU5vdCBwZXJtaXR0ZWQJAAACAAAAAQIAAAASS2V5IGFscmVhZHkgZXhpc3RzAAAAACnv5RA=", "chainId": 84, "height": 737240, "spentComplexity": 0 } View: original | compacted Prev: ESf8bHJYSr7qanVQ2ByeAVa96GGJXieWPP33XT9DFhEK Next: BkT7D4Z1hNnA9zYLJTVk5KVJD5iL9SnvkdPzu91jySGc Diff:
OldNewDifferences
99 let Addr1 = "3N2twj8eT6KSsnAn9pmCg81fj2zMwnDemUA"
1010 let Key1 = "abc"
1111 let Addr2 = "3MrqBaerg8iDbcfb6PX17qQxSeRevAu3HKB"
12- let Addr3 = addressFromStringValue("3MrqBaerg8iDbcfb6PX17qQxSeRevAu3HKB")
12+ let Addr3 = addressFromStringValue("3N2twj8eT6KSsnAn9pmCg81fj2zMwnDemUA")
1313 let TextFromKey = match getString(Addr3, keyx) {
1414 case a: String =>
1515 a
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 = "abc"
1111 let Addr2 = "3MrqBaerg8iDbcfb6PX17qQxSeRevAu3HKB"
12- let Addr3 = addressFromStringValue("3MrqBaerg8iDbcfb6PX17qQxSeRevAu3HKB")
12+ let Addr3 = addressFromStringValue("3N2twj8eT6KSsnAn9pmCg81fj2zMwnDemUA")
1313 let TextFromKey = match getString(Addr3, keyx) {
1414 case a: String =>
1515 a
1616 case _ =>
1717 "NONE"
1818 }
1919 if ((TextFromKey == "NONE"))
2020 then if ((SenderAddress == Addr2))
2121 then WriteSet([DataEntry(keyx, note)])
2222 else throw("Not permitted")
2323 else throw("Key already exists")
2424 }
2525
2626

github/deemru/w8io/169f3d6 
48.00 ms