tx · 4yLv1fMY9jV1sGSMdqK42fHnEdYGEHAw6NGC89SXYce7
3N7Ym1WK3ZaFp7Vfjvz6KFRGF6AxsAXm76W: -0.01000000 Waves
2021.09.16 01:27 [1704754] smart account 3N7Ym1WK3ZaFp7Vfjvz6KFRGF6AxsAXm76W > SELF 0.00000000 Waves
{
"type": 13,
"id": "4yLv1fMY9jV1sGSMdqK42fHnEdYGEHAw6NGC89SXYce7",
"fee": 1000000,
"feeAssetId": null,
"timestamp": 1631744885606,
"version": 2,
"chainId": 84,
"sender": "3N7Ym1WK3ZaFp7Vfjvz6KFRGF6AxsAXm76W",
"senderPublicKey": "4Tgbt8hFUrh9Ljuh7RR6JU7FGF6Vy8J55djUNpJj8DvX",
"proofs": [
"2cwWvgEYq9ywGRDvP38K6Gk5Qi9EpyDwjEPpRii58KpywFEYDAH8NCXsbENXQ7j38CwKr5ggZWMFvJ6bAMubWP8p"
],
"script": "base64:AAIFAAAAAAAAAMoIAhIECgIICBoHCgJhMRIBaRoMCgJhMhIGYWN0aW9uGgoKAmEzEgR0eXBlGhMKAmE0Eg10cmFuc2FjdGlvbklkGhAKAmE1EgpjdXJyZW50S2V5Gg8KAmE2EglwYXlBbW91bnQaFQoCYTcSD2N1cnJlbnRLZXlCeXRlcxoNCgJhOBIHbmFtZU5mdBoQCgJhORIKaGlzdG9yaWNJZBoNCgJiMRIHJG1hdGNoMBoHCgJiMhIBdBoVCgJiMxIPaW5pdGlhbFBvd2VyTmZ0AAAAAAAAAAEAAAACYTEBAAAABXN0YXJ0AAAAAgAAAAJhMgAAAAJhMwQAAAACYTQJAAJYAAAAAQgFAAAAAmExAAAADXRyYW5zYWN0aW9uSWQEAAAAAmE1CAUAAAACYTEAAAAGY2FsbGVyBAAAAAJhNgkBAAAABXZhbHVlAAAAAQgJAAGRAAAAAggFAAAAAmExAAAACHBheW1lbnRzAAAAAAAAAAAAAAAABmFtb3VudAQAAAACYTcJAAJYAAAAAQgIBQAAAAJhMQAAAAZjYWxsZXIAAAAFYnl0ZXMEAAAAAmE4CQABLAAAAAIJAAEsAAAAAgkAASwAAAACCQABLAAAAAIJAAEsAAAAAgkAASwAAAACBQAAAAJhMwIAAAABXwkAAS8AAAACBQAAAAJhNAAAAAAAAAAACgIAAAABXwUAAAACYTcCAAAAAV8FAAAAAmE0BAAAAAJhOQQAAAACYjEJAAQaAAAAAgUAAAAEdGhpcwIAAAAKaGlzdG9yaWNJZAMJAAABAAAAAgUAAAACYjECAAAAA0ludAQAAAACYjIFAAAAAmIxBQAAAAJiMgAAAAAAAAAAAAQAAAACYjMEAAAAAmIxCQAEGgAAAAIFAAAABHRoaXMFAAAAAmEzAwkAAAEAAAACBQAAAAJiMQIAAAADSW50BAAAAAJiMgUAAAACYjEFAAAAAmIyAAAAAAAAAABkAwkAAAAAAAACBQAAAAJhMgIAAAAHQnV5IE5GVAkABEwAAAACCQAEQgAAAAUJAAEsAAAAAgkAASwAAAACBQAAAAJhMwIAAAABXwkAAS8AAAACBQAAAAJhNAAAAAAAAAAACgIAAAAAAAAAAAAAAAABAAAAAAAAAAAABwkABEwAAAACCQEAAAAMSW50ZWdlckVudHJ5AAAAAgUAAAACYTgFAAAAAmIzBQAAAANuaWwJAAACAAAAAQIAAAA9TsOjbyBmb2kgcG9zc2l2ZWwgY3JpYXIgc2V1IE5GVC4gVmVyaWZpcXVlIHN1YSBzb2xpY2l0YcOnw6NvIQAAAACY+U7N",
"height": 1704754,
"applicationStatus": "succeeded",
"spentComplexity": 0
}
View: original | compacted
Prev: 6B7xT9tgKvjKpJknpWpfHQpLDXNRgDiDp5ph8U2bfGEF
Next: XrGuGWgab475JjPtVwEjuXbNKGkGk9uwejnD9XkLxRA
Diff:
Old | New | | Differences |
---|
9 | 9 | | let e = a.caller |
---|
10 | 10 | | let f = value(a.payments[0].amount) |
---|
11 | 11 | | let g = toBase58String(a.caller.bytes) |
---|
12 | | - | let h = ((((c + "_") + g) + "_") + d) |
---|
| 12 | + | let h = ((((((c + "_") + take(d, 10)) + "_") + g) + "_") + d) |
---|
13 | 13 | | let i = { |
---|
14 | 14 | | let j = getInteger(this, "historicId") |
---|
15 | 15 | | if ($isInstanceOf(j, "Int")) |
---|
Full:
Old | New | | Differences |
---|
1 | 1 | | {-# STDLIB_VERSION 5 #-} |
---|
2 | 2 | | {-# SCRIPT_TYPE ACCOUNT #-} |
---|
3 | 3 | | {-# CONTENT_TYPE DAPP #-} |
---|
4 | 4 | | |
---|
5 | 5 | | |
---|
6 | 6 | | @Callable(a) |
---|
7 | 7 | | func start (b,c) = { |
---|
8 | 8 | | let d = toBase58String(a.transactionId) |
---|
9 | 9 | | let e = a.caller |
---|
10 | 10 | | let f = value(a.payments[0].amount) |
---|
11 | 11 | | let g = toBase58String(a.caller.bytes) |
---|
12 | | - | let h = ((((c + "_") + g) + "_") + d) |
---|
| 12 | + | let h = ((((((c + "_") + take(d, 10)) + "_") + g) + "_") + d) |
---|
13 | 13 | | let i = { |
---|
14 | 14 | | let j = getInteger(this, "historicId") |
---|
15 | 15 | | if ($isInstanceOf(j, "Int")) |
---|
16 | 16 | | then { |
---|
17 | 17 | | let k = j |
---|
18 | 18 | | k |
---|
19 | 19 | | } |
---|
20 | 20 | | else 0 |
---|
21 | 21 | | } |
---|
22 | 22 | | let l = { |
---|
23 | 23 | | let j = getInteger(this, c) |
---|
24 | 24 | | if ($isInstanceOf(j, "Int")) |
---|
25 | 25 | | then { |
---|
26 | 26 | | let k = j |
---|
27 | 27 | | k |
---|
28 | 28 | | } |
---|
29 | 29 | | else 100 |
---|
30 | 30 | | } |
---|
31 | 31 | | if ((b == "Buy NFT")) |
---|
32 | 32 | | then [Issue(((c + "_") + take(d, 10)), "", 1, 0, false), IntegerEntry(h, l)] |
---|
33 | 33 | | else throw("Não foi possivel criar seu NFT. Verifique sua solicitação!") |
---|
34 | 34 | | } |
---|
35 | 35 | | |
---|
36 | 36 | | |
---|