tx · DgnKv9nW7Kiq2TB1B6Zqc6nQ9xMvG2DScxTWDevBA9p9

3N5K25SCwgJw2hE5LGqAZALL8W6eJxu1MG4:  -0.01000000 Waves

2024.08.14 12:04 [3238266] smart account 3N5K25SCwgJw2hE5LGqAZALL8W6eJxu1MG4 > SELF 0.00000000 Waves

{ "type": 13, "id": "DgnKv9nW7Kiq2TB1B6Zqc6nQ9xMvG2DScxTWDevBA9p9", "fee": 1000000, "feeAssetId": null, "timestamp": 1723626291396, "version": 2, "chainId": 84, "sender": "3N5K25SCwgJw2hE5LGqAZALL8W6eJxu1MG4", "senderPublicKey": "9Qh79U2rQpgqYmAMC6n9qq852WD1SgccXuMoUG33MMt6", "proofs": [ "tohrNra6E2jYeJpdpeK4fP261N7Z8dftmcXCfHt46e2BrLJWfUV71TjMCeo3e4aVgmxTZmny8qAwQCEYgXuGQpM" ], "script": "base64:BgITCAISABIGCgQBCAgIEgUKAwgICAQABE5PTkUCBG5vbmUACWtleW93bmVyMQkApwgBASDjrdey1Io21qI8AxObYBZMNWPHMCK947HpXHsKae68IwAMbWludF9tZXNzYWdlAiZUaGFua3MgdG8gVXNpbmcgU1dSTSBNaW50aW5nIFNlcnZpY2VzLgELZ2V0U3RyQnlLZXkBA2tleQQDc3RyBAckbWF0Y2gwCQCdCAIFBHRoaXMFA2tleQMJAAECBQckbWF0Y2gwAgZTdHJpbmcEAWEFByRtYXRjaDAFAWEFBE5PTkUFA3N0cgMBaQEKSXNzdWVfU1dSTQAEBWFzc2V0CQDCCAUCBFNXUk0CmANTV1JNIGlzIGEgZGVjZW50cmFsaXplZCBhcHByb2FjaCB0byBidWlsZGluZyBhbmQgdXRpbGl6aW5nIHRoZSBSZWRkY29pbiBCbG9ja2NoYWluIFRlY2hub2xvZ3kgd2hlcmUgU1dSTSB3b3JrcyBvbiBhIHJlc2VydmUgc3lzdGVtIG9mIFJERCBhcyBsYXllciBzb2x1dGlvbiBvbiBSREQgTmV0d29yayB0byBtaW50IGFuZCBCdXJ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RlZ2VyRW50cnkCAgtTV1JNX1N1cHBseQURVG90YWxfU1dSTV9TdXBwbHkJAMwIAgkBB1JlaXNzdWUDCQDZBAEFDFNXUk1fQXNzZXRJRAUPbmV3X3N3cm1fc3VwcGx5BgkAzAgCCQEOU2NyaXB0VHJhbnNmZXIDCQERQGV4dHJOYXRpdmUoMTA2MikBBQdhZGRyZXNzBQ9uZXdfc3dybV9zdXBwbHkJANkEAQUMU1dSTV9Bc3NldElECQDMCAIJAQxJbnRlZ2VyRW50cnkCAgtUeG5fQ291bnRlcgUPTmV3X1R4bl9Db3VudGVyCQDMCAIJAQtTdHJpbmdFbnRyeQIJAKwCAgkArAICCQCsAgIJAKwCAgkArAICCQCsAgIFClJERF9UeG5fSUQCAV8FC1NXUk1fVHhuX0lEAgFfBQdhZGRyZXNzAgFfCQCkAwEFC01pbnRfQW1vdW50CQCkAwEFD05ld19UeG5fQ291bnRlcgkAzAgCCQELU3RyaW5nRW50cnkCAgdtZXNzYWdlBQxtaW50X21lc3NhZ2UFA25pbAFpAQZEZWxldGUDA0tleQRLZXkxBEtleTIJAMwIAgkBC0RlbGV0ZUVudHJ5AQUDS2V5CQDMCAIJAQtEZWxldGVFbnRyeQEFBEtleTEJAMwIAgkBC0RlbGV0ZUVudHJ5AQUES2V5MgUDbmlsAQJ0eAEGdmVyaWZ5AAkA9AMDCAUCdHgJYm9keUJ5dGVzCQCRAwIIBQJ0eAZwcm9vZnMAAAgFAnR4D3NlbmRlclB1YmxpY0tleUbuEoY=", "height": 3238266, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: EQKvBahQCyfekeLVZio2CCp5a3t6FADF6eyE8BYFVtQk Next: none Diff:
OldNewDifferences
7373 then throw("RDD Hash Length is not valid.")
7474 else if ((d(((((((m + "_") + n) + "_") + o) + "_") + toString(l))) != a))
7575 then throw("Transaction Already Exists in Database.")
76- else [IntegerEntry("SWRM_Supply", z), Reissue(fromBase58String(s), p, true), ScriptTransfer(addressFromStringValue(o), l, fromBase58String(s)), IntegerEntry("Txn_Counter", x), StringEntry(((((((m + "_") + n) + "_") + o) + "_") + toString(l)), toString(x)), StringEntry("message", c)]
76+ else [IntegerEntry("SWRM_Supply", z), Reissue(fromBase58String(s), p, true), ScriptTransfer(addressFromStringValue(o), p, fromBase58String(s)), IntegerEntry("Txn_Counter", x), StringEntry(((((((m + "_") + n) + "_") + o) + "_") + toString(l)), toString(x)), StringEntry("message", c)]
7777 }
7878
7979
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 6 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let a = "none"
55
66 let b = addressFromPublicKey(base58'GKmJ6BchUgQfwKp4mp5eX8Y9xLioYRm6e1gDfFgdAcCr')
77
88 let c = "Thanks to Using SWRM Minting Services."
99
1010 func d (e) = {
1111 let f = {
1212 let g = getString(this, e)
1313 if ($isInstanceOf(g, "String"))
1414 then {
1515 let h = g
1616 h
1717 }
1818 else a
1919 }
2020 f
2121 }
2222
2323
2424 @Callable(i)
2525 func Issue_SWRM () = {
2626 let j = 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)
2727 let k = calculateAssetId(j)
2828 if ((i.caller != b))
2929 then throw((("This Address is not Authorized. Only " + toString(b)) + " is Authorized Address to Sign it."))
3030 else [j, Burn(k, 1), StringEntry("SWRM_Asset_ID", toBase58String(k))]
3131 }
3232
3333
3434
3535 @Callable(i)
3636 func Mint_SWRM (l,m,n,o) = {
3737 let p = fraction(l, 1, 10000)
3838 let q = if ((size(m) == 64))
3939 then true
4040 else false
4141 let r = if ((size(n) == 64))
4242 then true
4343 else false
4444 let s = getStringValue("SWRM_Asset_ID")
4545 let t = valueOrErrorMessage(assetInfo(fromBase58String(s)), (("Asset " + s) + " doesn't exist"))
4646 let u = t.name
4747 let v = t.decimals
4848 let w = {
4949 let g = getIntegerValue(this, "Txn_Counter")
5050 if ($isInstanceOf(g, "Int"))
5151 then {
5252 let h = g
5353 h
5454 }
5555 else 0
5656 }
5757 let x = (w + 1)
5858 let y = {
5959 let g = getIntegerValue(this, "SWRM_Supply")
6060 if ($isInstanceOf(g, "Int"))
6161 then {
6262 let h = g
6363 h
6464 }
6565 else 0
6666 }
6767 let z = (y + p)
6868 if ((i.caller != b))
6969 then throw((("This Address is not Authorized. Only " + toString(b)) + " is Authorized Address to Sign it."))
7070 else if ((q == false))
7171 then throw("RDD Hash Length is not valid.")
7272 else if ((r == false))
7373 then throw("RDD Hash Length is not valid.")
7474 else if ((d(((((((m + "_") + n) + "_") + o) + "_") + toString(l))) != a))
7575 then throw("Transaction Already Exists in Database.")
76- else [IntegerEntry("SWRM_Supply", z), Reissue(fromBase58String(s), p, true), ScriptTransfer(addressFromStringValue(o), l, fromBase58String(s)), IntegerEntry("Txn_Counter", x), StringEntry(((((((m + "_") + n) + "_") + o) + "_") + toString(l)), toString(x)), StringEntry("message", c)]
76+ else [IntegerEntry("SWRM_Supply", z), Reissue(fromBase58String(s), p, true), ScriptTransfer(addressFromStringValue(o), p, fromBase58String(s)), IntegerEntry("Txn_Counter", x), StringEntry(((((((m + "_") + n) + "_") + o) + "_") + toString(l)), toString(x)), StringEntry("message", c)]
7777 }
7878
7979
8080
8181 @Callable(i)
8282 func Delete (A,B,C) = [DeleteEntry(A), DeleteEntry(B), DeleteEntry(C)]
8383
8484
8585 @Verifier(D)
8686 func E () = sigVerify(D.bodyBytes, D.proofs[0], D.senderPublicKey)
8787

github/deemru/w8io/026f985 
18.58 ms