tx · 6j3spATkA7dn7n7f4u8rcJd6EGTi13mg8SCCgxMqSYTM
3MqEAEVk1NcbRAuEPAX7nyzUqMHbhvRofez: -0.00100000 Waves
2023.11.11 12:43 [2838529] smart account 3MqEAEVk1NcbRAuEPAX7nyzUqMHbhvRofez > SELF 0.00000000 Waves
{
"type": 13,
"id": "6j3spATkA7dn7n7f4u8rcJd6EGTi13mg8SCCgxMqSYTM",
"fee": 100000,
"feeAssetId": null,
"timestamp": 1699695796311,
"version": 2,
"chainId": 84,
"sender": "3MqEAEVk1NcbRAuEPAX7nyzUqMHbhvRofez",
"senderPublicKey": "Brp6cacBXyKUcZr5Uc6VDKsnFcaEeQ8nQzrZQyobDsuf",
"proofs": [
"5xkc3jRJSX9rMRqAva52GtCNNpJTLt1F3xdKQ6Sz97L2iZVKRFX5XXX5YfG5xzfgV9NVLov4bqFkMGGSCRw9S89F"
],
"script": "base64:BgIECAISAAABAWkBCmhlbGxvV29ybGQABAdpbnRMaXN0CQDMCAIAAQkAzAgCAAIJAMwIAgADBQNuaWwEBmxvd2VzdAkBBXZhbHVlAQkAlwMBBQdpbnRMaXN0BAtpbmRleExvd2VzdAkBBXZhbHVlAQkAzwgCBQdpbnRMaXN0BQZsb3dlc3QEDHJlbW92ZUxvd2VzdAkA0QgCBQdpbnRMaXN0BQtpbmRleExvd2VzdAQJbmV3TG93ZXN0CQEFdmFsdWUBCQCXAwEFDHJlbW92ZUxvd2VzdAkAzAgCCQEMSW50ZWdlckVudHJ5AgIGbG93ZXN0BQZsb3dlc3QJAMwIAgkBDEludGVnZXJFbnRyeQICC2luZGV4TG93ZXN0BQtpbmRleExvd2VzdAkAzAgCCQEMSW50ZWdlckVudHJ5AgIJbmV3TG93ZXN0BQluZXdMb3dlc3QFA25pbACqWso3",
"height": 2838529,
"applicationStatus": "succeeded",
"spentComplexity": 0
}
View: original | compacted
Prev: 3qU39z3QzFRJ9DByizeE1e2siqicut3cni9962oWkr6Z
Next: 4FJHiUZJ8E5r9Xy7rChNNZn8jW2pHfsvqMFxWY5FuTCm
Diff:
Old | New | | Differences |
---|
8 | 8 | | let intList = [1, 2, 3] |
---|
9 | 9 | | let lowest = value(min(intList)) |
---|
10 | 10 | | let indexLowest = value(indexOf(intList, lowest)) |
---|
11 | | - | [IntegerEntry("lowest", lowest), IntegerEntry("indexLowest", indexLowest)] |
---|
| 11 | + | let removeLowest = removeByIndex(intList, indexLowest) |
---|
| 12 | + | let newLowest = value(min(removeLowest)) |
---|
| 13 | + | [IntegerEntry("lowest", lowest), IntegerEntry("indexLowest", indexLowest), IntegerEntry("newLowest", newLowest)] |
---|
12 | 14 | | } |
---|
13 | 15 | | |
---|
14 | 16 | | |
---|
Full:
Old | New | | Differences |
---|
1 | 1 | | {-# STDLIB_VERSION 6 #-} |
---|
2 | 2 | | {-# SCRIPT_TYPE ACCOUNT #-} |
---|
3 | 3 | | {-# CONTENT_TYPE DAPP #-} |
---|
4 | 4 | | |
---|
5 | 5 | | |
---|
6 | 6 | | @Callable(i) |
---|
7 | 7 | | func helloWorld () = { |
---|
8 | 8 | | let intList = [1, 2, 3] |
---|
9 | 9 | | let lowest = value(min(intList)) |
---|
10 | 10 | | let indexLowest = value(indexOf(intList, lowest)) |
---|
11 | | - | [IntegerEntry("lowest", lowest), IntegerEntry("indexLowest", indexLowest)] |
---|
| 11 | + | let removeLowest = removeByIndex(intList, indexLowest) |
---|
| 12 | + | let newLowest = value(min(removeLowest)) |
---|
| 13 | + | [IntegerEntry("lowest", lowest), IntegerEntry("indexLowest", indexLowest), IntegerEntry("newLowest", newLowest)] |
---|
12 | 14 | | } |
---|
13 | 15 | | |
---|
14 | 16 | | |
---|