tx · GWLMnidYPvpS9dkDWYp18BuU6MfRQTDKuCHo5LLsuWtS

3N4upXkARvecPGQAtpSQ11CFASTFsvEPiP2:  -0.01000000 Waves

2022.02.21 21:26 [1933781] smart account 3N4upXkARvecPGQAtpSQ11CFASTFsvEPiP2 > SELF 0.00000000 Waves

{ "type": 13, "id": "GWLMnidYPvpS9dkDWYp18BuU6MfRQTDKuCHo5LLsuWtS", "fee": 1000000, "feeAssetId": null, "timestamp": 1645467994367, "version": 2, "chainId": 84, "sender": "3N4upXkARvecPGQAtpSQ11CFASTFsvEPiP2", "senderPublicKey": "5dTGvAkGC1ryvEkRCst923pqULtN3qWs6XXueerWos1D", "proofs": [ "w47PYvmhK15VJTq9tsh9T2EsFN8cjbD2r7UcUCKrJ4Nfk9Yz2YwQ2ZeZsPubsuEqZCNqX3CNgRMHkQKSVEyvTTU" ], "script": "base64:AAIFAAAAAAAAAAcIAhIDCgEIAAAAAgAAAAAMa2V5Rmlyc3ROb2RlAgAAAAlmaXJzdE5vZGUAAAAACWZpcnN0Tm9kZQkABB0AAAACBQAAAAR0aGlzBQAAAAxrZXlGaXJzdE5vZGUAAAABAAAAAWkBAAAAC2luc2VydEZpcnN0AAAAAQAAAAJpZAQAAAAMc3RhdGVDaGFuZ2VzCQAETgAAAAIJAAROAAAAAgUAAAADbmlsAwkBAAAACWlzRGVmaW5lZAAAAAEFAAAACWZpcnN0Tm9kZQkABEwAAAACCQEAAAALU3RyaW5nRW50cnkAAAACCQABLAAAAAIFAAAAAmlkAgAAAAVfbmV4dAkBAAAABXZhbHVlAAAAAQUAAAAJZmlyc3ROb2RlCQAETAAAAAIJAQAAAAtTdHJpbmdFbnRyeQAAAAIJAAEsAAAAAgkBAAAABXZhbHVlAAAAAQUAAAAJZmlyc3ROb2RlAgAAAAVfcHJldgUAAAACaWQFAAAAA25pbAUAAAADbmlsCQAETAAAAAIJAQAAAAtTdHJpbmdFbnRyeQAAAAIFAAAADGtleUZpcnN0Tm9kZQUAAAACaWQFAAAAA25pbAkABRQAAAACBQAAAAxzdGF0ZUNoYW5nZXMFAAAABHVuaXQAAAAASjuz5Q==", "height": 1933781, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: GjVctdxeMZEvRrm783dvzbK9MACnyfsz8d2bNdweL8L6 Next: 3qsBpAqTwiNEQAp4px1Lm9igYVTV5NjWrYJbGvRDynid Diff:
OldNewDifferences
77
88 @Callable(i)
99 func insertFirst (id) = {
10- let stateChanges = (nil ++ (if (isDefined(firstNode))
10+ let stateChanges = ((nil ++ (if (isDefined(firstNode))
1111 then [StringEntry((id + "_next"), value(firstNode)), StringEntry((value(firstNode) + "_prev"), id)]
12- else (nil ++ [StringEntry(keyFirstNode, id)])))
12+ else nil)) ++ [StringEntry(keyFirstNode, id)])
1313 $Tuple2(stateChanges, unit)
1414 }
1515
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) = {
10- let stateChanges = (nil ++ (if (isDefined(firstNode))
10+ let stateChanges = ((nil ++ (if (isDefined(firstNode))
1111 then [StringEntry((id + "_next"), value(firstNode)), StringEntry((value(firstNode) + "_prev"), id)]
12- else (nil ++ [StringEntry(keyFirstNode, id)])))
12+ else nil)) ++ [StringEntry(keyFirstNode, id)])
1313 $Tuple2(stateChanges, unit)
1414 }
1515
1616

github/deemru/w8io/169f3d6 
22.15 ms