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:
Old | New | | Differences |
---|
7 | 7 | | |
---|
8 | 8 | | @Callable(i) |
---|
9 | 9 | | func insertFirst (id) = { |
---|
10 | | - | let stateChanges = (nil ++ (if (isDefined(firstNode)) |
---|
| 10 | + | let stateChanges = ((nil ++ (if (isDefined(firstNode)) |
---|
11 | 11 | | then [StringEntry((id + "_next"), value(firstNode)), StringEntry((value(firstNode) + "_prev"), id)] |
---|
12 | | - | else (nil ++ [StringEntry(keyFirstNode, id)]))) |
---|
| 12 | + | else nil)) ++ [StringEntry(keyFirstNode, id)]) |
---|
13 | 13 | | $Tuple2(stateChanges, unit) |
---|
14 | 14 | | } |
---|
15 | 15 | | |
---|
Full:
Old | New | | Differences |
---|
1 | 1 | | {-# STDLIB_VERSION 5 #-} |
---|
2 | 2 | | {-# SCRIPT_TYPE ACCOUNT #-} |
---|
3 | 3 | | {-# CONTENT_TYPE DAPP #-} |
---|
4 | 4 | | let keyFirstNode = "firstNode" |
---|
5 | 5 | | |
---|
6 | 6 | | let firstNode = getString(this, keyFirstNode) |
---|
7 | 7 | | |
---|
8 | 8 | | @Callable(i) |
---|
9 | 9 | | func insertFirst (id) = { |
---|
10 | | - | let stateChanges = (nil ++ (if (isDefined(firstNode)) |
---|
| 10 | + | let stateChanges = ((nil ++ (if (isDefined(firstNode)) |
---|
11 | 11 | | then [StringEntry((id + "_next"), value(firstNode)), StringEntry((value(firstNode) + "_prev"), id)] |
---|
12 | | - | else (nil ++ [StringEntry(keyFirstNode, id)]))) |
---|
| 12 | + | else nil)) ++ [StringEntry(keyFirstNode, id)]) |
---|
13 | 13 | | $Tuple2(stateChanges, unit) |
---|
14 | 14 | | } |
---|
15 | 15 | | |
---|
16 | 16 | | |
---|