tx · 3qsBpAqTwiNEQAp4px1Lm9igYVTV5NjWrYJbGvRDynid

3N4upXkARvecPGQAtpSQ11CFASTFsvEPiP2:  -0.01000000 Waves

2022.02.21 21:27 [1933782] smart account 3N4upXkARvecPGQAtpSQ11CFASTFsvEPiP2 > SELF 0.00000000 Waves

{ "type": 13, "id": "3qsBpAqTwiNEQAp4px1Lm9igYVTV5NjWrYJbGvRDynid", "fee": 1000000, "feeAssetId": null, "timestamp": 1645468154639, "version": 2, "chainId": 84, "sender": "3N4upXkARvecPGQAtpSQ11CFASTFsvEPiP2", "senderPublicKey": "5dTGvAkGC1ryvEkRCst923pqULtN3qWs6XXueerWos1D", "proofs": [ "3PsKbFtRwUQvA6ot1aRk1dcY8o6HqMdo8uRT4QAVKS8ceog7qW4Ctkoup8cAz4vEP5XVnsn6MndQRC8bAeT4eKaM" ], "script": "base64:AAIFAAAAAAAAAAwIAhIDCgEIEgMKAQgAAAACAAAAAAxrZXlGaXJzdE5vZGUCAAAACWZpcnN0Tm9kZQAAAAAJZmlyc3ROb2RlCQAEHQAAAAIFAAAABHRoaXMFAAAADGtleUZpcnN0Tm9kZQAAAAIAAAABaQEAAAALaW5zZXJ0Rmlyc3QAAAABAAAAAmlkBAAAAAxzdGF0ZUNoYW5nZXMJAAROAAAAAgkABE4AAAACBQAAAANuaWwDCQEAAAAJaXNEZWZpbmVkAAAAAQUAAAAJZmlyc3ROb2RlCQAETAAAAAIJAQAAAAtTdHJpbmdFbnRyeQAAAAIJAAEsAAAAAgUAAAACaWQCAAAABV9uZXh0CQEAAAAFdmFsdWUAAAABBQAAAAlmaXJzdE5vZGUJAARMAAAAAgkBAAAAC1N0cmluZ0VudHJ5AAAAAgkAASwAAAACCQEAAAAFdmFsdWUAAAABBQAAAAlmaXJzdE5vZGUCAAAABV9wcmV2BQAAAAJpZAUAAAADbmlsBQAAAANuaWwJAARMAAAAAgkBAAAAC1N0cmluZ0VudHJ5AAAAAgUAAAAMa2V5Rmlyc3ROb2RlBQAAAAJpZAUAAAADbmlsCQAFFAAAAAIFAAAADHN0YXRlQ2hhbmdlcwUAAAAEdW5pdAAAAAFpAQAAAAtkZWxldGVFbnRyeQAAAAEAAAADa2V5CQAFFAAAAAIJAARMAAAAAgkBAAAAC0RlbGV0ZUVudHJ5AAAAAQUAAAADa2V5BQAAAANuaWwFAAAABHVuaXQAAAAAudPQRg==", "height": 1933782, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: GWLMnidYPvpS9dkDWYp18BuU6MfRQTDKuCHo5LLsuWtS Next: HLpE5JQMkUoAnZNig93vhLumoHPoLGZ3hH7s4fzpoAqh Diff:
OldNewDifferences
1414 }
1515
1616
17+
18+@Callable(i)
19+func deleteEntry (key) = $Tuple2([DeleteEntry(key)], unit)
20+
21+
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 5 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let keyFirstNode = "firstNode"
55
66 let firstNode = getString(this, keyFirstNode)
77
88 @Callable(i)
99 func insertFirst (id) = {
1010 let stateChanges = ((nil ++ (if (isDefined(firstNode))
1111 then [StringEntry((id + "_next"), value(firstNode)), StringEntry((value(firstNode) + "_prev"), id)]
1212 else nil)) ++ [StringEntry(keyFirstNode, id)])
1313 $Tuple2(stateChanges, unit)
1414 }
1515
1616
17+
18+@Callable(i)
19+func deleteEntry (key) = $Tuple2([DeleteEntry(key)], unit)
20+
21+

github/deemru/w8io/169f3d6 
35.27 ms