tx · 2jXompdxqeDhCr4JmQr1nCZHKqoRYhYkR6KHDmVrnQ4z
3MyY8HWSxxH8SLxnBHgYZQh26FVgybkTTp9: -0.00100000 Waves
2022.07.29 11:43 [2160884] smart account 3MyY8HWSxxH8SLxnBHgYZQh26FVgybkTTp9 > SELF 0.00000000 Waves
{
"type": 13,
"id": "2jXompdxqeDhCr4JmQr1nCZHKqoRYhYkR6KHDmVrnQ4z",
"fee": 100000,
"feeAssetId": null,
"timestamp": 1659084194511,
"version": 2,
"chainId": 84,
"sender": "3MyY8HWSxxH8SLxnBHgYZQh26FVgybkTTp9",
"senderPublicKey": "69whdb3wz2NxWkDP633fGFWMnqmhZSDPJ5ThCu3x47jU",
"proofs": [
"4jH7axT48kLcQQBcBEwsqk4drpfLn4yUhR3hioH3aRrH5JADgcvG25voB1TUtFBPh8GZmes2Wz1ok8x59ECWpAJV"
],
"script": "base64:AAIFAAAAAAAAAAcIAhIDCgEIAAAAAwAAAAAmQ09VUlNfQ0VSVElGSUNBVEVfREVTQ1JJUFRPTl9MRUZUX1RFWFQCAAAAYFRoaXMgTkZUIGNlcnRpZmljYXRlIGNlcnRpZmllcyB0aGUgY29tcGxldGlvbiBvZiB0aGUgY291cnNlIGZvciBhIHVzZXIgd2l0aCBhIHdhbGxldCBhZGRyZXNzIG9mIAAAAAAnQ09VUlNfQ0VSVElGSUNBVEVfREVTQ1JJUFRPTl9SSUdIVF9URVhUAgAAAKMuIFRoZSB1c2VyIGhhcyBnYWluZWQgaW4tZGVwdGgga25vd2xlZGdlIGluIHVuZGVyc3RhbmRpbmcgdGhlIG9wZXJhdGlvbiBvZiB0aGUgYmxvY2tjaGFpbiwgaW50ZXJhY3Rpbmcgd2l0aCB0aGUgZXhjaGFuZ2UsIGFuZCBzdWNjZXNzZnVsbHkgcGFzc2VkIHRoZSBjb3Vyc2UgZXhhbXMuAAAAABtDT1VSU19DRVJUSUZJQ0FURV9USUxFX1RFWFQCAAAAFk5GVCBDb3Vyc2UgQ2VydGlmaWNhdGUAAAABAAAAAWkBAAAACG15VG9rZW40AAAAAQAAAAdhZGRyZXNzCQAFFAAAAAIJAARMAAAAAgkABEIAAAAFAgAAAApORlQgc2Fkc2FkAgAAAAMyMTMAAAAAAAAAAAEAAAAAAAAAAAAHBQAAAANuaWwFAAAABHVuaXQAAAAAp7FhqQ==",
"height": 2160884,
"applicationStatus": "succeeded",
"spentComplexity": 0
}
View: original | compacted
Prev: 3ToiSjJyPa6qDircWj2pXJkWxBfSBsMnPy6XnCFTFNpq
Next: 5rrTz4bKJhSWDuSccTwrybo8RUHCddm9baQdPohThdNk
Diff:
Old | New | | Differences |
---|
7 | 7 | | |
---|
8 | 8 | | let COURS_CERTIFICATE_TILE_TEXT = "NFT Course Certificate" |
---|
9 | 9 | | |
---|
10 | | - | let ad = "Bob" |
---|
11 | | - | |
---|
12 | | - | let bd = 1 |
---|
13 | | - | |
---|
14 | | - | func lazyIsGood () = { |
---|
15 | | - | let a = "Bob" |
---|
16 | | - | let b = { |
---|
17 | | - | let x = 1 |
---|
18 | | - | "Alice" |
---|
19 | | - | } |
---|
20 | | - | true |
---|
21 | | - | } |
---|
22 | | - | |
---|
23 | | - | |
---|
24 | | - | func getPayment (i) = if ((size(i.payments) == 0)) |
---|
25 | | - | then throw("Payment must be attached") |
---|
26 | | - | else { |
---|
27 | | - | let pmt = i.payments[0] |
---|
28 | | - | if (isDefined(pmt.assetId)) |
---|
29 | | - | then throw("This function accepts WAVES tokens only") |
---|
30 | | - | else pmt.amount |
---|
31 | | - | } |
---|
32 | | - | |
---|
33 | | - | |
---|
34 | | - | @Callable(i) |
---|
35 | | - | func calc () = if (lazyIsGood()) |
---|
36 | | - | then throw("21") |
---|
37 | | - | else throw("1231232131321") |
---|
38 | | - | |
---|
39 | | - | |
---|
40 | | - | |
---|
41 | | - | @Callable(i) |
---|
42 | | - | func f (args) = [StringEntry("entry1", args[0]), StringEntry("entry1", args[1])] |
---|
43 | | - | |
---|
44 | | - | |
---|
45 | | - | |
---|
46 | | - | @Callable(i) |
---|
47 | | - | func fd () = $Tuple2([StringEntry("entry2", "123")], 7777) |
---|
48 | | - | |
---|
49 | | - | |
---|
50 | | - | |
---|
51 | | - | @Callable(i) |
---|
52 | | - | func myToken (title,description) = $Tuple2([Issue(("NFT_" + title), description, 1, 0, false)], unit) |
---|
53 | | - | |
---|
54 | | - | |
---|
55 | | - | |
---|
56 | 10 | | @Callable(i) |
---|
57 | 11 | | func myToken4 (address) = $Tuple2([Issue("NFT sadsad", "213", 1, 0, false)], unit) |
---|
58 | 12 | | |
---|
Full:
Old | New | | Differences |
---|
1 | 1 | | {-# STDLIB_VERSION 5 #-} |
---|
2 | 2 | | {-# SCRIPT_TYPE ACCOUNT #-} |
---|
3 | 3 | | {-# CONTENT_TYPE DAPP #-} |
---|
4 | 4 | | let COURS_CERTIFICATE_DESCRIPTON_LEFT_TEXT = "This NFT certificate certifies the completion of the course for a user with a wallet address of " |
---|
5 | 5 | | |
---|
6 | 6 | | let COURS_CERTIFICATE_DESCRIPTON_RIGHT_TEXT = ". The user has gained in-depth knowledge in understanding the operation of the blockchain, interacting with the exchange, and successfully passed the course exams." |
---|
7 | 7 | | |
---|
8 | 8 | | let COURS_CERTIFICATE_TILE_TEXT = "NFT Course Certificate" |
---|
9 | 9 | | |
---|
10 | | - | let ad = "Bob" |
---|
11 | | - | |
---|
12 | | - | let bd = 1 |
---|
13 | | - | |
---|
14 | | - | func lazyIsGood () = { |
---|
15 | | - | let a = "Bob" |
---|
16 | | - | let b = { |
---|
17 | | - | let x = 1 |
---|
18 | | - | "Alice" |
---|
19 | | - | } |
---|
20 | | - | true |
---|
21 | | - | } |
---|
22 | | - | |
---|
23 | | - | |
---|
24 | | - | func getPayment (i) = if ((size(i.payments) == 0)) |
---|
25 | | - | then throw("Payment must be attached") |
---|
26 | | - | else { |
---|
27 | | - | let pmt = i.payments[0] |
---|
28 | | - | if (isDefined(pmt.assetId)) |
---|
29 | | - | then throw("This function accepts WAVES tokens only") |
---|
30 | | - | else pmt.amount |
---|
31 | | - | } |
---|
32 | | - | |
---|
33 | | - | |
---|
34 | | - | @Callable(i) |
---|
35 | | - | func calc () = if (lazyIsGood()) |
---|
36 | | - | then throw("21") |
---|
37 | | - | else throw("1231232131321") |
---|
38 | | - | |
---|
39 | | - | |
---|
40 | | - | |
---|
41 | | - | @Callable(i) |
---|
42 | | - | func f (args) = [StringEntry("entry1", args[0]), StringEntry("entry1", args[1])] |
---|
43 | | - | |
---|
44 | | - | |
---|
45 | | - | |
---|
46 | | - | @Callable(i) |
---|
47 | | - | func fd () = $Tuple2([StringEntry("entry2", "123")], 7777) |
---|
48 | | - | |
---|
49 | | - | |
---|
50 | | - | |
---|
51 | | - | @Callable(i) |
---|
52 | | - | func myToken (title,description) = $Tuple2([Issue(("NFT_" + title), description, 1, 0, false)], unit) |
---|
53 | | - | |
---|
54 | | - | |
---|
55 | | - | |
---|
56 | 10 | | @Callable(i) |
---|
57 | 11 | | func myToken4 (address) = $Tuple2([Issue("NFT sadsad", "213", 1, 0, false)], unit) |
---|
58 | 12 | | |
---|
59 | 13 | | |
---|