tx · HLpE5JQMkUoAnZNig93vhLumoHPoLGZ3hH7s4fzpoAqh

3N4upXkARvecPGQAtpSQ11CFASTFsvEPiP2:  -0.01000000 Waves

2022.02.21 21:35 [1933788] smart account 3N4upXkARvecPGQAtpSQ11CFASTFsvEPiP2 > SELF 0.00000000 Waves

{ "type": 13, "id": "HLpE5JQMkUoAnZNig93vhLumoHPoLGZ3hH7s4fzpoAqh", "fee": 1000000, "feeAssetId": null, "timestamp": 1645468589255, "version": 2, "chainId": 84, "sender": "3N4upXkARvecPGQAtpSQ11CFASTFsvEPiP2", "senderPublicKey": "5dTGvAkGC1ryvEkRCst923pqULtN3qWs6XXueerWos1D", "proofs": [ "kZeiwRi3KnA3Z2MfKdba3wm5XDRJc1M87qcksb1MAEd9w6yhcCFPovWUTTVHwUmoqkJTtBkXazFP23Jn4mwGEpN" ], "script": "base64:AAIFAAAAAAAAAAwIAhIDCgEIEgMKAQgAAAACAAAAAAdrZXlIZWFkAgAAAARoZWFkAAAAAARoZWFkCQAEHQAAAAIFAAAABHRoaXMFAAAAB2tleUhlYWQAAAACAAAAAWkBAAAABmluc2VydAAAAAEAAAACaWQEAAAADHN0YXRlQ2hhbmdlcwkABE4AAAACCQAETgAAAAIFAAAAA25pbAMJAQAAAAlpc0RlZmluZWQAAAABBQAAAARoZWFkCQAETAAAAAIJAQAAAAtTdHJpbmdFbnRyeQAAAAIJAAEsAAAAAgUAAAACaWQCAAAABV9uZXh0CQEAAAAFdmFsdWUAAAABBQAAAARoZWFkBQAAAANuaWwFAAAAA25pbAkABEwAAAACCQEAAAALU3RyaW5nRW50cnkAAAACBQAAAAdrZXlIZWFkBQAAAAJpZAUAAAADbmlsCQAFFAAAAAIFAAAADHN0YXRlQ2hhbmdlcwUAAAAEdW5pdAAAAAFpAQAAAAtkZWxldGVFbnRyeQAAAAEAAAADa2V5CQAFFAAAAAIJAARMAAAAAgkBAAAAC0RlbGV0ZUVudHJ5AAAAAQUAAAADa2V5BQAAAANuaWwFAAAABHVuaXQAAAAAdMxFUw==", "height": 1933788, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 3qsBpAqTwiNEQAp4px1Lm9igYVTV5NjWrYJbGvRDynid Next: 4B1wWMNzPskCTrCkSynyJDxQzLzojfsu4kqvZRu7bbE1 Diff:
OldNewDifferences
11 {-# STDLIB_VERSION 5 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
4-let a = "firstNode"
4+let a = "head"
55
66 let b = getString(this, a)
77
88 @Callable(c)
9-func insertFirst (d) = {
9+func insert (d) = {
1010 let e = ((nil ++ (if (isDefined(b))
11- then [StringEntry((d + "_next"), value(b)), StringEntry((value(b) + "_prev"), d)]
11+ then [StringEntry((d + "_next"), value(b))]
1212 else nil)) ++ [StringEntry(a, d)])
1313 $Tuple2(e, unit)
1414 }
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 5 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
4-let a = "firstNode"
4+let a = "head"
55
66 let b = getString(this, a)
77
88 @Callable(c)
9-func insertFirst (d) = {
9+func insert (d) = {
1010 let e = ((nil ++ (if (isDefined(b))
11- then [StringEntry((d + "_next"), value(b)), StringEntry((value(b) + "_prev"), d)]
11+ then [StringEntry((d + "_next"), value(b))]
1212 else nil)) ++ [StringEntry(a, d)])
1313 $Tuple2(e, unit)
1414 }
1515
1616
1717
1818 @Callable(c)
1919 func deleteEntry (f) = $Tuple2([DeleteEntry(f)], unit)
2020
2121

github/deemru/w8io/169f3d6 
44.18 ms