tx · 8XLujKpcXEAxkWcWdtub2JR1Zb5wYcEumFAnqcmVxfrf
3N7Ym1WK3ZaFp7Vfjvz6KFRGF6AxsAXm76W: -0.01000000 Waves
2021.09.16 01:00 [1704730] smart account 3N7Ym1WK3ZaFp7Vfjvz6KFRGF6AxsAXm76W > SELF 0.00000000 Waves
{
"type": 13,
"id": "8XLujKpcXEAxkWcWdtub2JR1Zb5wYcEumFAnqcmVxfrf",
"fee": 1000000,
"feeAssetId": null,
"timestamp": 1631743305924,
"version": 2,
"chainId": 84,
"sender": "3N7Ym1WK3ZaFp7Vfjvz6KFRGF6AxsAXm76W",
"senderPublicKey": "4Tgbt8hFUrh9Ljuh7RR6JU7FGF6Vy8J55djUNpJj8DvX",
"proofs": [
"5fVbfoNqeXEUgUAmAYixVjAwhcVv2TVeFR6fuUYWFtxPGVNoW2vc8ntMJqNSjXwVktQXgQNJ2yzcacbJ35uY2k9P"
],
"script": "base64:AAIFAAAAAAAAAMoIAhIECgIICBoHCgJhMRIBaRoMCgJhMhIGYWN0aW9uGgoKAmEzEgR0eXBlGhMKAmE0Eg10cmFuc2FjdGlvbklkGhAKAmE1EgpjdXJyZW50S2V5Gg8KAmE2EglwYXlBbW91bnQaFQoCYTcSD2N1cnJlbnRLZXlCeXRlcxoNCgJhOBIHbmFtZU5mdBoQCgJhORIKaGlzdG9yaWNJZBoNCgJiMRIHJG1hdGNoMBoHCgJiMhIBdBoVCgJiMxIPaW5pdGlhbFBvd2VyTmZ0AAAAAAAAAAEAAAACYTEBAAAABXN0YXJ0AAAAAgAAAAJhMgAAAAJhMwQAAAACYTQJAAJYAAAAAQgFAAAAAmExAAAADXRyYW5zYWN0aW9uSWQEAAAAAmE1CAUAAAACYTEAAAAGY2FsbGVyBAAAAAJhNgkBAAAABXZhbHVlAAAAAQgJAAGRAAAAAggFAAAAAmExAAAACHBheW1lbnRzAAAAAAAAAAAAAAAABmFtb3VudAQAAAACYTcJAAJYAAAAAQgIBQAAAAJhMQAAAAZjYWxsZXIAAAAFYnl0ZXMEAAAAAmE4CQABLAAAAAIJAAEsAAAAAgkAASwAAAACCQABLAAAAAIFAAAAAmEzAgAAAAFfBQAAAAJhNwIAAAABXwUAAAACYTQEAAAAAmE5BAAAAAJiMQkABBoAAAACBQAAAAR0aGlzAgAAAApoaXN0b3JpY0lkAwkAAAEAAAACBQAAAAJiMQIAAAADSW50BAAAAAJiMgUAAAACYjEFAAAAAmIyAAAAAAAAAAAABAAAAAJiMwQAAAACYjEJAAQaAAAAAgUAAAAEdGhpcwUAAAACYTMDCQAAAQAAAAIFAAAAAmIxAgAAAANJbnQEAAAAAmIyBQAAAAJiMQUAAAACYjIAAAAAAAAAAGQDCQAAAAAAAAIFAAAAAmEyAgAAAAdCdXkgTkZUCQAETAAAAAIJAARCAAAABQkAASwAAAACCQABLAAAAAIFAAAAAmEzAgAAAAFfCQABLwAAAAIJAAJYAAAAAQgIBQAAAAJhMQAAAAZjYWxsZXIAAAAFYnl0ZXMAAAAAAAAAAAMCAAAAAAAAAAAAAAAAAQAAAAAAAAAAAAcJAARMAAAAAgkBAAAADEludGVnZXJFbnRyeQAAAAIFAAAAAmE4BQAAAAJiMwUAAAADbmlsCQAAAgAAAAECAAAAPU7Do28gZm9pIHBvc3NpdmVsIGNyaWFyIHNldSBORlQuIFZlcmlmaXF1ZSBzdWEgc29saWNpdGHDp8OjbyEAAAAAz7BFNg==",
"height": 1704730,
"applicationStatus": "succeeded",
"spentComplexity": 0
}
View: original | compacted
Prev: yrrE5EMD1RJjh6dGhhfGhaUGdd5dQEmmeLTozisSXCQ
Next: C4SMVJMzyn9ZqJ4c5aejsSAypKc9HS5GyBue5myGD8xc
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 = { |
---|
13 | | - | let i = getInteger(this, "historicId") |
---|
14 | | - | if ($isInstanceOf(i, "Int")) |
---|
| 12 | + | let h = ((((c + "_") + g) + "_") + d) |
---|
| 13 | + | let i = { |
---|
| 14 | + | let j = getInteger(this, "historicId") |
---|
| 15 | + | if ($isInstanceOf(j, "Int")) |
---|
15 | 16 | | then { |
---|
16 | | - | let j = i |
---|
17 | | - | j |
---|
| 17 | + | let k = j |
---|
| 18 | + | k |
---|
18 | 19 | | } |
---|
19 | 20 | | else 0 |
---|
20 | 21 | | } |
---|
21 | | - | if ((b == "Farm NFT")) |
---|
22 | | - | then throw("NFT Farmado!") |
---|
| 22 | + | let l = { |
---|
| 23 | + | let j = getInteger(this, c) |
---|
| 24 | + | if ($isInstanceOf(j, "Int")) |
---|
| 25 | + | then { |
---|
| 26 | + | let k = j |
---|
| 27 | + | k |
---|
| 28 | + | } |
---|
| 29 | + | else 100 |
---|
| 30 | + | } |
---|
| 31 | + | if ((b == "Buy NFT")) |
---|
| 32 | + | then [Issue(((c + "_") + take(toBase58String(a.caller.bytes), 3)), "", 1, 0, false), IntegerEntry(h, l)] |
---|
23 | 33 | | else throw("Não foi possivel criar seu NFT. Verifique sua solicitação!") |
---|
24 | 34 | | } |
---|
25 | 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 | | - | let h = { |
---|
13 | | - | let i = getInteger(this, "historicId") |
---|
14 | | - | if ($isInstanceOf(i, "Int")) |
---|
| 12 | + | let h = ((((c + "_") + g) + "_") + d) |
---|
| 13 | + | let i = { |
---|
| 14 | + | let j = getInteger(this, "historicId") |
---|
| 15 | + | if ($isInstanceOf(j, "Int")) |
---|
15 | 16 | | then { |
---|
16 | | - | let j = i |
---|
17 | | - | j |
---|
| 17 | + | let k = j |
---|
| 18 | + | k |
---|
18 | 19 | | } |
---|
19 | 20 | | else 0 |
---|
20 | 21 | | } |
---|
21 | | - | if ((b == "Farm NFT")) |
---|
22 | | - | then throw("NFT Farmado!") |
---|
| 22 | + | let l = { |
---|
| 23 | + | let j = getInteger(this, c) |
---|
| 24 | + | if ($isInstanceOf(j, "Int")) |
---|
| 25 | + | then { |
---|
| 26 | + | let k = j |
---|
| 27 | + | k |
---|
| 28 | + | } |
---|
| 29 | + | else 100 |
---|
| 30 | + | } |
---|
| 31 | + | if ((b == "Buy NFT")) |
---|
| 32 | + | then [Issue(((c + "_") + take(toBase58String(a.caller.bytes), 3)), "", 1, 0, false), IntegerEntry(h, l)] |
---|
23 | 33 | | else throw("Não foi possivel criar seu NFT. Verifique sua solicitação!") |
---|
24 | 34 | | } |
---|
25 | 35 | | |
---|
26 | 36 | | |
---|