tx · EW65UFLpqBBk5JjX5Pv9eyDcg7Es1odLns4CeB5G7VvR 3N5K25SCwgJw2hE5LGqAZALL8W6eJxu1MG4: -0.01000000 Waves 2024.08.14 08:58 [3238075] smart account 3N5K25SCwgJw2hE5LGqAZALL8W6eJxu1MG4 > SELF 0.00000000 Waves
{ "type": 13, "id": "EW65UFLpqBBk5JjX5Pv9eyDcg7Es1odLns4CeB5G7VvR", "fee": 1000000, "feeAssetId": null, "timestamp": 1723615062888, "version": 2, "chainId": 84, "sender": "3N5K25SCwgJw2hE5LGqAZALL8W6eJxu1MG4", "senderPublicKey": "9Qh79U2rQpgqYmAMC6n9qq852WD1SgccXuMoUG33MMt6", "proofs": [ "48AYCRoLKCje8LjhYurAibvZe9Jzancz95JyAusyZBVG9KKRXBoRquEm2yfhjnWJ68KxYLmh3voRFSHa1BXLAGML" ], "script": "base64:BgIMCAISABIGCgQBCAgIAgAJa2V5b3duZXIxCQCnCAEBIHzvM7Tf5k+xZmOdsXqdmoV+TtWbaoBQ52uMD8RWj2IjAAxtaW50X21lc3NhZ2UCJlRoYW5rcyB0byBVc2luZyBTV1JNIE1pbnRpbmcgU2VydmljZXMuAgFpAQpJc3N1ZV9TV1JNAAQFYXNzZXQJAMIIBQIEU1dSTQKYA1NXUk0gaXMgYSBkZWNlbnRyYWxpemVkIGFwcHJvYWNoIHRvIGJ1aWxkaW5nIGFuZCB1dGlsaXppbmcgdGhlIFJlZGRjb2luIEJsb2NrY2hhaW4gVGVjaG5vbG9neSB3aGVyZSBTV1JNIHdvcmtzIG9uIGEgcmVzZXJ2ZSBzeXN0ZW0gb2YgUkREIGFzIGxheWVyIHNvbHV0aW9uIG9uIFJERCBOZXR3b3JrIHRvIG1pbnQgYW5kIEJ1cm4gU1dSTSBhbG9uZyB3aXRoIHByb29mIG9uIGJvdGggc2lkZSBvZiBuZXR3b3JrLiBBbiBpbmRlcGVuZGVudCBwcm9qZWN0IG9yIFRva2VuIGhhdmluZyBubyBkaXJlY3QgcGFyd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fQ291bnRlcgULVHhuX0NvdW50ZXIJAMwIAgkBC1N0cmluZ0VudHJ5AgkApAMBBQ9OZXdfVHhuX0NvdW50ZXIJAKwCAgkArAICCQCsAgIJAKwCAgkArAICCQCsAgIFClJERF9UeG5fSUQCAV8FC1NXUk1fVHhuX0lEAgFfBQdhZGRyZXNzAgFfCQCkAwEFC01pbnRfQW1vdW50CQDMCAIJAQtTdHJpbmdFbnRyeQICB21lc3NhZ2UFDG1pbnRfbWVzc2FnZQUDbmlsAQJ0eAEGdmVyaWZ5AAkA9AMDCAUCdHgJYm9keUJ5dGVzCQCRAwIIBQJ0eAZwcm9vZnMAAAgFAnR4D3NlbmRlclB1YmxpY0tleU6n6w8=", "height": 3238075, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 5bnDBrVhszrJvYEZw8Lr6dXvdNkNE3PuB9gM2bKdyF5i Next: GZixBcnTP27VyCeSCdRUukvrvcZNaHnEZ5jzCHwd1kQJ Diff:
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 6 #-} | |
2 | 2 | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | - | let a = addressFromPublicKey(base58' | |
4 | + | let a = addressFromPublicKey(base58'9Qh79U2rQpgqYmAMC6n9qq852WD1SgccXuMoUG33MMt6') | |
5 | 5 | ||
6 | 6 | let b = "Thanks to Using SWRM Minting Services." | |
7 | 7 |
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 6 #-} | |
2 | 2 | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | - | let a = addressFromPublicKey(base58' | |
4 | + | let a = addressFromPublicKey(base58'9Qh79U2rQpgqYmAMC6n9qq852WD1SgccXuMoUG33MMt6') | |
5 | 5 | ||
6 | 6 | let b = "Thanks to Using SWRM Minting Services." | |
7 | 7 | ||
8 | 8 | @Callable(c) | |
9 | 9 | func Issue_SWRM () = { | |
10 | 10 | let d = Issue("SWRM", "SWRM is a decentralized approach to building and utilizing the Reddcoin Blockchain Technology where SWRM works on a reserve system of RDD as layer solution on RDD Network to mint and Burn SWRM along with proof on both side of network. An independent project or Token having no direct partnership relation or development connection with Reddcoin Core Team outside the use of the RDD currency for transactions.", 1, 6, true) | |
11 | 11 | let e = calculateAssetId(d) | |
12 | 12 | if ((c.caller != a)) | |
13 | 13 | then throw((("This Address is not Authorized. Only " + toString(a)) + " is Authorized Address to Sign it.")) | |
14 | 14 | else [d, Burn(e, 1), StringEntry("SWRM_Asset_ID", toBase58String(e))] | |
15 | 15 | } | |
16 | 16 | ||
17 | 17 | ||
18 | 18 | ||
19 | 19 | @Callable(c) | |
20 | 20 | func Mint_SWRM (f,g,h,i) = { | |
21 | 21 | let j = if ((size(g) == 64)) | |
22 | 22 | then true | |
23 | 23 | else false | |
24 | 24 | let k = if ((size(h) == 64)) | |
25 | 25 | then true | |
26 | 26 | else false | |
27 | 27 | let l = getString(this, ((((((g + "_") + h) + "_") + i) + "_") + toString(f))) | |
28 | 28 | let m = if ((l == ((((((g + "_") + h) + "_") + i) + "_") + toString(f)))) | |
29 | 29 | then true | |
30 | 30 | else false | |
31 | 31 | let n = getStringValue("SWRM_Asset_ID") | |
32 | 32 | let o = valueOrErrorMessage(assetInfo(fromBase58String(n)), (("Asset " + n) + " doesn't exist")) | |
33 | 33 | let p = o.name | |
34 | 34 | let q = o.decimals | |
35 | 35 | let r = { | |
36 | 36 | let s = getIntegerValue(this, "Txn_Counter") | |
37 | 37 | if ($isInstanceOf(s, "Int")) | |
38 | 38 | then { | |
39 | 39 | let t = s | |
40 | 40 | t | |
41 | 41 | } | |
42 | 42 | else 0 | |
43 | 43 | } | |
44 | 44 | let u = (r + 1) | |
45 | 45 | if ((c.caller != a)) | |
46 | 46 | then throw((("This Address is not Authorized. Only " + toString(a)) + " is Authorized Address to Sign it.")) | |
47 | 47 | else if ((j == false)) | |
48 | 48 | then throw("RDD Hash Length is not valid.") | |
49 | 49 | else if ((k == false)) | |
50 | 50 | then throw("RDD Hash Length is not valid.") | |
51 | 51 | else if ((m == true)) | |
52 | 52 | then throw("Transaction Already Exists in Database.") | |
53 | 53 | else [Reissue(fromBase58String(n), f, true), ScriptTransfer(addressFromStringValue(i), f, fromBase58String(n)), IntegerEntry("Txn_Counter", r), StringEntry(toString(u), ((((((g + "_") + h) + "_") + i) + "_") + toString(f))), StringEntry("message", b)] | |
54 | 54 | } | |
55 | 55 | ||
56 | 56 | ||
57 | 57 | @Verifier(v) | |
58 | 58 | func w () = sigVerify(v.bodyBytes, v.proofs[0], v.senderPublicKey) | |
59 | 59 |
github/deemru/w8io/026f985 21.27 ms ◑