tx · 3L9CV7EooyrwTiAXVP8WFAg8kKgcHWVg4jxe4DjHAE6S
3N7Ym1WK3ZaFp7Vfjvz6KFRGF6AxsAXm76W: -0.01000000 Waves
2021.09.16 01:22 [1704751] smart account 3N7Ym1WK3ZaFp7Vfjvz6KFRGF6AxsAXm76W > SELF 0.00000000 Waves
{
"type": 13,
"id": "3L9CV7EooyrwTiAXVP8WFAg8kKgcHWVg4jxe4DjHAE6S",
"fee": 1000000,
"feeAssetId": null,
"timestamp": 1631744667270,
"version": 2,
"chainId": 84,
"sender": "3N7Ym1WK3ZaFp7Vfjvz6KFRGF6AxsAXm76W",
"senderPublicKey": "4Tgbt8hFUrh9Ljuh7RR6JU7FGF6Vy8J55djUNpJj8DvX",
"proofs": [
"K8sTCbP9hXhEpUvAjhJ9ak7cdJoMewrYWVdBnNmUxqfgjKC8MWkVqLFk2K23ro6zfRuhWAytZMqTDYPqnT7f1fR"
],
"script": "base64:AAIFAAAAAAAAAMoIAhIECgIICBoHCgJhMRIBaRoMCgJhMhIGYWN0aW9uGgoKAmEzEgR0eXBlGhMKAmE0Eg10cmFuc2FjdGlvbklkGhAKAmE1EgpjdXJyZW50S2V5Gg8KAmE2EglwYXlBbW91bnQaFQoCYTcSD2N1cnJlbnRLZXlCeXRlcxoNCgJhOBIHbmFtZU5mdBoQCgJhORIKaGlzdG9yaWNJZBoNCgJiMRIHJG1hdGNoMBoHCgJiMhIBdBoVCgJiMxIPaW5pdGlhbFBvd2VyTmZ0AAAAAAAAAAEAAAACYTEBAAAABXN0YXJ0AAAAAgAAAAJhMgAAAAJhMwQAAAACYTQJAAJYAAAAAQgFAAAAAmExAAAADXRyYW5zYWN0aW9uSWQEAAAAAmE1CAUAAAACYTEAAAAGY2FsbGVyBAAAAAJhNgkBAAAABXZhbHVlAAAAAQgJAAGRAAAAAggFAAAAAmExAAAACHBheW1lbnRzAAAAAAAAAAAAAAAABmFtb3VudAQAAAACYTcJAAJYAAAAAQgIBQAAAAJhMQAAAAZjYWxsZXIAAAAFYnl0ZXMEAAAAAmE4CQABLAAAAAIJAAEsAAAAAgkAASwAAAACCQABLAAAAAIFAAAAAmEzAgAAAAFfBQAAAAJhNwIAAAABXwUAAAACYTQEAAAAAmE5BAAAAAJiMQkABBoAAAACBQAAAAR0aGlzAgAAAApoaXN0b3JpY0lkAwkAAAEAAAACBQAAAAJiMQIAAAADSW50BAAAAAJiMgUAAAACYjEFAAAAAmIyAAAAAAAAAAAABAAAAAJiMwQAAAACYjEJAAQaAAAAAgUAAAAEdGhpcwUAAAACYTMDCQAAAQAAAAIFAAAAAmIxAgAAAANJbnQEAAAAAmIyBQAAAAJiMQUAAAACYjIAAAAAAAAAAGQDCQAAAAAAAAIFAAAAAmEyAgAAAAdCdXkgTkZUCQAETAAAAAIJAARCAAAABQkAASwAAAACCQABLAAAAAIFAAAAAmEzAgAAAAFfCQABLwAAAAIJAAJYAAAAAQgIBQAAAAJhMQAAAAZjYWxsZXIAAAAFYnl0ZXMAAAAAAAAAAAMCAAAAAAAAAAAAAAAAAQAAAAAAAAAAAAcJAARMAAAAAgkBAAAADEludGVnZXJFbnRyeQAAAAIFAAAAAmE4BQAAAAJiMwUAAAADbmlsCQAAAgAAAAECAAAAPU7Do28gZm9pIHBvc3NpdmVsIGNyaWFyIHNldSBORlQuIFZlcmlmaXF1ZSBzdWEgc29saWNpdGHDp8OjbyEAAAAAz7BFNg==",
"height": 1704751,
"applicationStatus": "succeeded",
"spentComplexity": 0
}
View: original | compacted
Prev: C4SMVJMzyn9ZqJ4c5aejsSAypKc9HS5GyBue5myGD8xc
Next: 6B7xT9tgKvjKpJknpWpfHQpLDXNRgDiDp5ph8U2bfGEF
Diff:
Old | New | | Differences |
---|
29 | 29 | | else 100 |
---|
30 | 30 | | } |
---|
31 | 31 | | if ((b == "Buy NFT")) |
---|
32 | | - | then [Issue("UberToken", "The ultimate token. One and only.", 1, 0, false), IntegerEntry(h, l)] |
---|
| 32 | + | then [Issue(((c + "_") + take(toBase58String(a.caller.bytes), 3)), "", 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 | | |
---|
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 | 12 | | let h = ((((c + "_") + 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 | | - | then [Issue("UberToken", "The ultimate token. One and only.", 1, 0, false), IntegerEntry(h, l)] |
---|
| 32 | + | then [Issue(((c + "_") + take(toBase58String(a.caller.bytes), 3)), "", 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 | | |
---|