tx · DUrYdtL3Pp2YHy7ji3jYXDSppbiQdAsjw4quGpxrQTpH

3N5K25SCwgJw2hE5LGqAZALL8W6eJxu1MG4:  -0.01000000 Waves

2024.08.14 09:15 [3238091] smart account 3N5K25SCwgJw2hE5LGqAZALL8W6eJxu1MG4 > SELF 0.00000000 Waves

{ "type": 13, "id": "DUrYdtL3Pp2YHy7ji3jYXDSppbiQdAsjw4quGpxrQTpH", "fee": 1000000, "feeAssetId": null, "timestamp": 1723616150835, "version": 2, "chainId": 84, "sender": "3N5K25SCwgJw2hE5LGqAZALL8W6eJxu1MG4", "senderPublicKey": "9Qh79U2rQpgqYmAMC6n9qq852WD1SgccXuMoUG33MMt6", "proofs": [ "3SuQhQZqqsVPKntMi5yTBgwXwZNuj6du2vTGoTuTgmYYNGwHLqtC3pBmu4e25jLdYrMD3VZYJncyawxhLiDuS8ct" ], "script": "base64:BgITCAISABIGCgQBCAgIEgUKAwgICAIACWtleW93bmVyMQkApwgBASDjrdey1Io21qI8AxObYBZMNWPHMCK947HpXHsKae68IwAMbWludF9tZXNzYWdlAiZUaGFua3MgdG8gVXNpbmcgU1dSTSBNaW50aW5nIFNlcnZpY2VzLgMBaQEKSXNzdWVfU1dSTQAEBWFzc2V0CQDCCAUCBFNXUk0CmANTV1JNIGlzIGEgZGVjZW50cmFsaXplZCBhcHByb2FjaCB0byBidWlsZGluZyBhbmQgdXRpbGl6aW5nIHRoZSBSZWRkY29pbiBCbG9ja2NoYWluIFRlY2hub2xvZ3kgd2hlcmUgU1dSTSB3b3JrcyBvbiBhIHJlc2VydmUgc3lzdGVtIG9mIFJERCBhcyBsYXllciBzb2x1dGlvbiBvbiBSREQgTmV0d29yayB0byBtaW50IGFuZCBCdXJuIFNXUk0gYWxvbmcgd2l0aCBwcm9vZiBvbiBib3RoIHNpZGUgb2YgbmV0d29yay4gQW4gaW5kZXBlbmRlbnQgcHJvamVjdCBvciBUb2tlbiBoYXZpbmcgbm8gZGlyZWN0IHBhcnRuZXJzaGlw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FD05ld19UeG5fQ291bnRlcgkAzAgCCQELU3RyaW5nRW50cnkCCQCsAgIJAKwCAgkArAICCQCsAgIJAKwCAgkArAICBQpSRERfVHhuX0lEAgFfBQtTV1JNX1R4bl9JRAIBXwUHYWRkcmVzcwIBXwkApAMBBQtNaW50X0Ftb3VudAkApAMBBQ9OZXdfVHhuX0NvdW50ZXIJAMwIAgkBC1N0cmluZ0VudHJ5AgIHbWVzc2FnZQUMbWludF9tZXNzYWdlBQNuaWwBaQEGRGVsZXRlAwNLZXkES2V5MQRLZXkyCQDMCAIJAQtEZWxldGVFbnRyeQEFA0tleQkAzAgCCQELRGVsZXRlRW50cnkBBQRLZXkxCQDMCAIJAQtEZWxldGVFbnRyeQEFBEtleTIFA25pbAECdHgBBnZlcmlmeQAJAPQDAwgFAnR4CWJvZHlCeXRlcwkAkQMCCAUCdHgGcHJvb2ZzAAAIBQJ0eA9zZW5kZXJQdWJsaWNLZXnYVEn2", "height": 3238091, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: Y13U7Tdyuh6ThGVUuqwm7PbyP3G5PyDA1DxUHtjqSsb Next: E1SXpfx2cBxccGGnN3yixkcF2L8DYyyn5M7Jrv7BPMxx Diff:
OldNewDifferences
2424 let k = if ((size(h) == 64))
2525 then true
2626 else false
27- let l = getStringValue(this, ((((((g + "_") + h) + "_") + i) + "_") + toString(f)))
27+ let l = getString(this, ((((((g + "_") + h) + "_") + i) + "_") + toString(f)))
2828 let m = if ((l == ((((((g + "_") + h) + "_") + i) + "_") + toString(f))))
2929 then true
3030 else false
5050 then throw("RDD Hash Length is not valid.")
5151 else if ((m == true))
5252 then throw("Transaction Already Exists in Database.")
53- else [Reissue(fromBase58String(n), f, true), ScriptTransfer(addressFromStringValue(i), f, fromBase58String(n)), IntegerEntry("Txn_Counter", u), StringEntry(toString(u), ((((((g + "_") + h) + "_") + i) + "_") + toString(f))), StringEntry("message", b)]
53+ else [Reissue(fromBase58String(n), f, true), ScriptTransfer(addressFromStringValue(i), f, fromBase58String(n)), IntegerEntry("Txn_Counter", u), StringEntry(((((((g + "_") + h) + "_") + i) + "_") + toString(f)), toString(u)), StringEntry("message", b)]
5454 }
5555
5656
57-@Verifier(v)
58-func w () = sigVerify(v.bodyBytes, v.proofs[0], v.senderPublicKey)
57+
58+@Callable(c)
59+func Delete (v,w,x) = [DeleteEntry(v), DeleteEntry(w), DeleteEntry(x)]
60+
61+
62+@Verifier(y)
63+func z () = sigVerify(y.bodyBytes, y.proofs[0], y.senderPublicKey)
5964
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 6 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let a = addressFromPublicKey(base58'GKmJ6BchUgQfwKp4mp5eX8Y9xLioYRm6e1gDfFgdAcCr')
55
66 let b = "Thanks to Using SWRM Minting Services."
77
88 @Callable(c)
99 func Issue_SWRM () = {
1010 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)
1111 let e = calculateAssetId(d)
1212 if ((c.caller != a))
1313 then throw((("This Address is not Authorized. Only " + toString(a)) + " is Authorized Address to Sign it."))
1414 else [d, Burn(e, 1), StringEntry("SWRM_Asset_ID", toBase58String(e))]
1515 }
1616
1717
1818
1919 @Callable(c)
2020 func Mint_SWRM (f,g,h,i) = {
2121 let j = if ((size(g) == 64))
2222 then true
2323 else false
2424 let k = if ((size(h) == 64))
2525 then true
2626 else false
27- let l = getStringValue(this, ((((((g + "_") + h) + "_") + i) + "_") + toString(f)))
27+ let l = getString(this, ((((((g + "_") + h) + "_") + i) + "_") + toString(f)))
2828 let m = if ((l == ((((((g + "_") + h) + "_") + i) + "_") + toString(f))))
2929 then true
3030 else false
3131 let n = getStringValue("SWRM_Asset_ID")
3232 let o = valueOrErrorMessage(assetInfo(fromBase58String(n)), (("Asset " + n) + " doesn't exist"))
3333 let p = o.name
3434 let q = o.decimals
3535 let r = {
3636 let s = getIntegerValue(this, "Txn_Counter")
3737 if ($isInstanceOf(s, "Int"))
3838 then {
3939 let t = s
4040 t
4141 }
4242 else 0
4343 }
4444 let u = (r + 1)
4545 if ((c.caller != a))
4646 then throw((("This Address is not Authorized. Only " + toString(a)) + " is Authorized Address to Sign it."))
4747 else if ((j == false))
4848 then throw("RDD Hash Length is not valid.")
4949 else if ((k == false))
5050 then throw("RDD Hash Length is not valid.")
5151 else if ((m == true))
5252 then throw("Transaction Already Exists in Database.")
53- else [Reissue(fromBase58String(n), f, true), ScriptTransfer(addressFromStringValue(i), f, fromBase58String(n)), IntegerEntry("Txn_Counter", u), StringEntry(toString(u), ((((((g + "_") + h) + "_") + i) + "_") + toString(f))), StringEntry("message", b)]
53+ else [Reissue(fromBase58String(n), f, true), ScriptTransfer(addressFromStringValue(i), f, fromBase58String(n)), IntegerEntry("Txn_Counter", u), StringEntry(((((((g + "_") + h) + "_") + i) + "_") + toString(f)), toString(u)), StringEntry("message", b)]
5454 }
5555
5656
57-@Verifier(v)
58-func w () = sigVerify(v.bodyBytes, v.proofs[0], v.senderPublicKey)
57+
58+@Callable(c)
59+func Delete (v,w,x) = [DeleteEntry(v), DeleteEntry(w), DeleteEntry(x)]
60+
61+
62+@Verifier(y)
63+func z () = sigVerify(y.bodyBytes, y.proofs[0], y.senderPublicKey)
5964

github/deemru/w8io/026f985 
21.41 ms