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:
Old | New | | Differences |
---|
1 | 1 | | {-# STDLIB_VERSION 5 #-} |
---|
2 | 2 | | {-# SCRIPT_TYPE ACCOUNT #-} |
---|
3 | 3 | | {-# CONTENT_TYPE DAPP #-} |
---|
4 | | - | let a = "firstNode" |
---|
| 4 | + | let a = "head" |
---|
5 | 5 | | |
---|
6 | 6 | | let b = getString(this, a) |
---|
7 | 7 | | |
---|
8 | 8 | | @Callable(c) |
---|
9 | | - | func insertFirst (d) = { |
---|
| 9 | + | func insert (d) = { |
---|
10 | 10 | | 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))] |
---|
12 | 12 | | else nil)) ++ [StringEntry(a, d)]) |
---|
13 | 13 | | $Tuple2(e, unit) |
---|
14 | 14 | | } |
---|
Full:
Old | New | | Differences |
---|
1 | 1 | | {-# STDLIB_VERSION 5 #-} |
---|
2 | 2 | | {-# SCRIPT_TYPE ACCOUNT #-} |
---|
3 | 3 | | {-# CONTENT_TYPE DAPP #-} |
---|
4 | | - | let a = "firstNode" |
---|
| 4 | + | let a = "head" |
---|
5 | 5 | | |
---|
6 | 6 | | let b = getString(this, a) |
---|
7 | 7 | | |
---|
8 | 8 | | @Callable(c) |
---|
9 | | - | func insertFirst (d) = { |
---|
| 9 | + | func insert (d) = { |
---|
10 | 10 | | 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))] |
---|
12 | 12 | | else nil)) ++ [StringEntry(a, d)]) |
---|
13 | 13 | | $Tuple2(e, unit) |
---|
14 | 14 | | } |
---|
15 | 15 | | |
---|
16 | 16 | | |
---|
17 | 17 | | |
---|
18 | 18 | | @Callable(c) |
---|
19 | 19 | | func deleteEntry (f) = $Tuple2([DeleteEntry(f)], unit) |
---|
20 | 20 | | |
---|
21 | 21 | | |
---|