tx · 2wQhGWeZbudE9zt8Kmj4PbZeSeHNqyd1TSoZ5b1Zvt83

3N8iygiXd1v34PPaMSQb34SSrBwGxT2DpGK:  -0.01400000 Waves

2022.08.20 17:09 [2192895] smart account 3N8iygiXd1v34PPaMSQb34SSrBwGxT2DpGK > SELF 0.00000000 Waves

{ "type": 13, "id": "2wQhGWeZbudE9zt8Kmj4PbZeSeHNqyd1TSoZ5b1Zvt83", "fee": 1400000, "feeAssetId": null, "timestamp": 1661004655917, "version": 2, "chainId": 84, "sender": "3N8iygiXd1v34PPaMSQb34SSrBwGxT2DpGK", "senderPublicKey": "FshLkkgzcLs6iQJ1Z8Nnfhm494tC8xZQczf9iXpZep3Y", "proofs": [ "43B7qmN98WkhJrEG5evepVT9W3o86inuqvni9ybUXGybTnS1G9vqsLNydmY9XpiiJxKdzj3b53agkLkgvdQavjkg" ], "script": "base64:AAIEAAAAAAAAAAcIAhIDCgEIAAAAAQAAAAALQ09ERUFzc2V0SUQBAAAAIAhlhLcP8IpqGvPiaOguCJAkw9MnWAPNLPYuXgvf2hWkAAAAAQAAAAFpAQAAAAxSZWdpc3RlclRHSUQAAAABAAAABFRHSUQEAAAACmN1cnJlbnRLZXkJAAJYAAAAAQgIBQAAAAFpAAAABmNhbGxlcgAAAAVieXRlcwQAAAAJY2hlY2tUR0lECQAEHQAAAAIFAAAABHRoaXMJAAEsAAAAAgIAAAAIVEdJRF9PZl8FAAAACmN1cnJlbnRLZXkEAAAAA3BtdAMJAAAAAAAAAgkAAZAAAAABCAUAAAABaQAAAAhwYXltZW50cwAAAAAAAAAAAQkAAZEAAAACCAUAAAABaQAAAAhwYXltZW50cwAAAAAAAAAAAAkAAAIAAAABAgAAADtObyBQYXltZW50cyBBdHRhY2hlZCBQbGVhc2UgQXR0YWNoIFdoaXRlbGFibGVkIEFzc2V0cyBPbmx5LgQAAAALQXNzZXRBbW91bnQEAAAAByRtYXRjaDAJAAQaAAAAAgUAAAAEdGhpcwIAAAANU3Rha2VkX0Ftb3VudAMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAADSW50BAAAAAFhBQAAAAckbWF0Y2gwBQAAAAFhAAAAAAAAAAAABAAAABJuZXdTdGFrZWRBNEFBbW91bnQJAABkAAAAAgUAAAALQXNzZXRBbW91bnQIBQAAAANwbXQAAAAGYW1vdW50AwkAAAAAAAACBQAAAAljaGVja1RHSUQFAAAABFRHSUQJAAACAAAAAQIAAABFVGVsZWdyYW0gSUQgQWxyZWFkeSBSZWdpc3RlcmVkLiBZb3UganVzdCBuZWVkIHRvIFJlZmlsbCB5b3VyIEFjY291bnQuAwkBAAAAAiE9AAAAAggFAAAAA3BtdAAAAAdhc3NldElkBQAAAAtDT0RFQXNzZXRJRAkAAAIAAAABCQABLAAAAAIJAAEsAAAAAgIAAAAUS2luZGx5IERlcG9zaXQgT25seSAJAAJYAAAAAQUAAAALQ09ERUFzc2V0SUQCAAAACCBbQ09ERV0uCQAETAAAAAIJAQAAAAtTdHJpbmdFbnRyeQAAAAIJAAEsAAAAAgIAAAAIVEdJRF9PZl8FAAAACmN1cnJlbnRLZXkFAAAABFRHSUQFAAAAA25pbAAAAAAJoORZ", "height": 2192895, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: EK4Q4pELCEB81y8eum269hKiNCT3TioDegiLDNvrcqAY Next: EtHxzrhBkmyAWa8miF4gcTJm2d7J1uSiDf3Ud8bVBGMm Diff:
OldNewDifferences
1818 }
1919 let newStakedA4AAmount = (AssetAmount + pmt.amount)
2020 if ((checkTGID == TGID))
21- then throw("Series Name Already Exist. Choose Another Series Name.")
21+ then throw("Telegram ID Already Registered. You just need to Refill your Account.")
2222 else if ((pmt.assetId != CODEAssetID))
2323 then throw((("Kindly Deposit Only " + toBase58String(CODEAssetID)) + " [CODE]."))
2424 else [StringEntry(("TGID_Of_" + currentKey), TGID)]
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 4 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let CODEAssetID = base58'Zn3cLHW7aAVPm5aACcTjvg7e7iEy2cKDtbowok5qa9H'
55
66 @Callable(i)
77 func RegisterTGID (TGID) = {
88 let currentKey = toBase58String(i.caller.bytes)
99 let checkTGID = getString(this, ("TGID_Of_" + currentKey))
1010 let pmt = if ((size(i.payments) == 1))
1111 then i.payments[0]
1212 else throw("No Payments Attached Please Attach Whitelabled Assets Only.")
1313 let AssetAmount = match getInteger(this, "Staked_Amount") {
1414 case a: Int =>
1515 a
1616 case _ =>
1717 0
1818 }
1919 let newStakedA4AAmount = (AssetAmount + pmt.amount)
2020 if ((checkTGID == TGID))
21- then throw("Series Name Already Exist. Choose Another Series Name.")
21+ then throw("Telegram ID Already Registered. You just need to Refill your Account.")
2222 else if ((pmt.assetId != CODEAssetID))
2323 then throw((("Kindly Deposit Only " + toBase58String(CODEAssetID)) + " [CODE]."))
2424 else [StringEntry(("TGID_Of_" + currentKey), TGID)]
2525 }
2626
2727

github/deemru/w8io/169f3d6 
22.25 ms