tx · F4qr6mi4fT4LsQjPsogUX4FoYobARwT8iT2WQ1eLQiqe
3MsX9C2MzzxE4ySF5aYcJoaiPfkyxZMg4cW: -0.04000000 Waves
2021.12.27 21:38 [1853028] smart account 3MsX9C2MzzxE4ySF5aYcJoaiPfkyxZMg4cW > SELF 0.00000000 Waves
{
"type": 13,
"id": "F4qr6mi4fT4LsQjPsogUX4FoYobARwT8iT2WQ1eLQiqe",
"fee": 4000000,
"feeAssetId": null,
"timestamp": 1640630380399,
"version": 2,
"chainId": 84,
"sender": "3MsX9C2MzzxE4ySF5aYcJoaiPfkyxZMg4cW",
"senderPublicKey": "AXbaBkJNocyrVpwqTzD4TpUY8fQ6eeRto9k1m2bNCzXV",
"proofs": [
"4mD7r2bmXH14mcC4q8y88npuNbRAu4emQE2JDR1VQ7rf5LHsE4oz2mjPq3gj7JuatrUdbMRDSw6usaLDitWGEdvS"
],
"script": "base64:AAIFAAAAAAAAANMIAhIECgIICBoJCgFhEgRDT0xTGgkKAWISBFJPV1MaCgoBYxIFcHJvb2YaDgoBZBIJbmZ0RG9tYWluGhIKAWUSDWNvb3Jkc1RvSW5kZXgaBgoBZhIBeBoGCgFnEgF5GgYKAWgSAWkaDgoBaRIJYXNzZXROYW1lGg0KAWoSCGFzc2V0VXJsGgoKAWsSBWFzc2V0GgwKAWwSB2Fzc2V0SWQaCAoBbRIDZ2VuGhIKAW4SDWRhdGFLZXlQcmVmaXgaBwoBbxICdHgaCwoBcBIGdmVyaWZ5AAAABQAAAAABYQAAAAAAAAAEAAAAAAABYgAAAAAAAAAEAAAAAAABYwIAAABYNFB5WlFDUVprenV3Q2ROQXRaN1hlRWdxejRzNHZCdHI3VVNKS1dkZXpXWENCcTlBblVTYmVVb0IyamNIR2U2Z1JlR0VUZEpZejlIU2dBa3JkUk5OaTlldgAAAAABZAIAAAAYaHR0cHM6Ly9uZnQuZ3JpZGdhbmcuY2EvAQAAAAFlAAAAAgAAAAFmAAAAAWcJAABkAAAAAgkAAGgAAAACBQAAAAFmBQAAAAFhBQAAAAFnAAAAAQAAAAFoAQAAAAhwdXJjaGFzZQAAAAIAAAABZgAAAAFnBAAAAAFpCQABLAAAAAIJAAEsAAAAAgUAAAABZgIAAAACLCAFAAAAAWcEAAAAAWoJAAEsAAAAAgkAASwAAAACBQAAAAFkCQACWAAAAAEIBQAAAAFoAAAADXRyYW5zYWN0aW9uSWQCAAAABC5wbmcEAAAAAWsJAARCAAAABQkAASwAAAACBQAAAAFpAgAAAAYgR2VuIDEFAAAAAWoAAAAAAAAAAAEAAAAAAAAAAAAHBAAAAAFsCQAEOAAAAAEFAAAAAWsEAAAAAW0CAAAAAjAxBAAAAAFuCQABLAAAAAIJAAEsAAAAAgUAAAABaQIAAAABLAUAAAABbQkABEwAAAACBQAAAAFrCQAETAAAAAIJAQAAAAtTdHJpbmdFbnRyeQAAAAIFAAAAAW4JAAJYAAAAAQUAAAABbAkABEwAAAACCQEAAAALU3RyaW5nRW50cnkAAAACCQABLAAAAAIFAAAAAW4CAAAABl9hc3NldAUAAAABagkABEwAAAACCQEAAAALU3RyaW5nRW50cnkAAAACCQABLAAAAAIFAAAAAW4CAAAABl9vd25lcgkAAlgAAAABCAgFAAAAAWgAAAAGY2FsbGVyAAAABWJ5dGVzCQAETAAAAAIJAQAAAA5TY3JpcHRUcmFuc2ZlcgAAAAMIBQAAAAFoAAAABmNhbGxlcgAAAAAAAAAAAQUAAAABbAUAAAADbmlsAAAAAQAAAAFvAQAAAAFwAAAAAAkAAfQAAAADCAUAAAABbwAAAAlib2R5Qnl0ZXMJAAGRAAAAAggFAAAAAW8AAAAGcHJvb2ZzAAAAAAAAAAAACAUAAAABbwAAAA9zZW5kZXJQdWJsaWNLZXmISwR5",
"height": 1853028,
"applicationStatus": "succeeded",
"spentComplexity": 0
}
View: original | compacted
Prev: Btx3qbS1P8AbRBuW7wVP2qv2aajKckjgrS6FLpyJ1CNn
Next: DKJFWnG6gGZH7DZMP1HtzLLWat5KG1Y64RV7kNRARc2V
Diff:
Old | New | | Differences |
---|
20 | 20 | | let l = calculateAssetId(k) |
---|
21 | 21 | | let m = "01" |
---|
22 | 22 | | let n = ((i + ",") + m) |
---|
23 | | - | [k, StringEntry(n, toBase58String(l)), StringEntry((n + "_asset"), j), StringEntry((n + "_owner"), toBase58String(h.caller.bytes)), ScriptTransfer(h.caller, 5, l)] |
---|
| 23 | + | [k, StringEntry(n, toBase58String(l)), StringEntry((n + "_asset"), j), StringEntry((n + "_owner"), toBase58String(h.caller.bytes)), ScriptTransfer(h.caller, 1, l)] |
---|
24 | 24 | | } |
---|
25 | 25 | | |
---|
26 | 26 | | |
---|
Full:
Old | New | | Differences |
---|
1 | 1 | | {-# STDLIB_VERSION 5 #-} |
---|
2 | 2 | | {-# SCRIPT_TYPE ACCOUNT #-} |
---|
3 | 3 | | {-# CONTENT_TYPE DAPP #-} |
---|
4 | 4 | | let a = 1024 |
---|
5 | 5 | | |
---|
6 | 6 | | let b = 1024 |
---|
7 | 7 | | |
---|
8 | 8 | | let c = "4PyZQCQZkzuwCdNAtZ7XeEgqz4s4vBtr7USJKWdezWXCBq9AnUSbeUoB2jcHGe6gReGETdJYz9HSgAkrdRNNi9ev" |
---|
9 | 9 | | |
---|
10 | 10 | | let d = "https://nft.gridgang.ca/" |
---|
11 | 11 | | |
---|
12 | 12 | | func e (f,g) = ((f * a) + g) |
---|
13 | 13 | | |
---|
14 | 14 | | |
---|
15 | 15 | | @Callable(h) |
---|
16 | 16 | | func purchase (f,g) = { |
---|
17 | 17 | | let i = ((f + ", ") + g) |
---|
18 | 18 | | let j = ((d + toBase58String(h.transactionId)) + ".png") |
---|
19 | 19 | | let k = Issue((i + " Gen 1"), j, 1, 0, false) |
---|
20 | 20 | | let l = calculateAssetId(k) |
---|
21 | 21 | | let m = "01" |
---|
22 | 22 | | let n = ((i + ",") + m) |
---|
23 | | - | [k, StringEntry(n, toBase58String(l)), StringEntry((n + "_asset"), j), StringEntry((n + "_owner"), toBase58String(h.caller.bytes)), ScriptTransfer(h.caller, 5, l)] |
---|
| 23 | + | [k, StringEntry(n, toBase58String(l)), StringEntry((n + "_asset"), j), StringEntry((n + "_owner"), toBase58String(h.caller.bytes)), ScriptTransfer(h.caller, 1, l)] |
---|
24 | 24 | | } |
---|
25 | 25 | | |
---|
26 | 26 | | |
---|
27 | 27 | | @Verifier(o) |
---|
28 | 28 | | func p () = sigVerify(o.bodyBytes, o.proofs[0], o.senderPublicKey) |
---|
29 | 29 | | |
---|