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:
Old | New | | Differences |
---|
14 | 14 | | } |
---|
15 | 15 | | |
---|
16 | 16 | | |
---|
| 17 | + | |
---|
| 18 | + | @Callable(i) |
---|
| 19 | + | func deleteEntry (key) = $Tuple2([DeleteEntry(key)], unit) |
---|
| 20 | + | |
---|
| 21 | + | |
---|
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 | 10 | | let stateChanges = ((nil ++ (if (isDefined(firstNode)) |
---|
11 | 11 | | then [StringEntry((id + "_next"), value(firstNode)), StringEntry((value(firstNode) + "_prev"), id)] |
---|
12 | 12 | | else nil)) ++ [StringEntry(keyFirstNode, id)]) |
---|
13 | 13 | | $Tuple2(stateChanges, unit) |
---|
14 | 14 | | } |
---|
15 | 15 | | |
---|
16 | 16 | | |
---|
| 17 | + | |
---|
| 18 | + | @Callable(i) |
---|
| 19 | + | func deleteEntry (key) = $Tuple2([DeleteEntry(key)], unit) |
---|
| 20 | + | |
---|
| 21 | + | |
---|