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:
Old | New | | Differences |
---|
18 | 18 | | } |
---|
19 | 19 | | let newStakedA4AAmount = (AssetAmount + pmt.amount) |
---|
20 | 20 | | 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.") |
---|
22 | 22 | | else if ((pmt.assetId != CODEAssetID)) |
---|
23 | 23 | | then throw((("Kindly Deposit Only " + toBase58String(CODEAssetID)) + " [CODE].")) |
---|
24 | 24 | | else [StringEntry(("TGID_Of_" + currentKey), TGID)] |
---|
Full:
Old | New | | Differences |
---|
1 | 1 | | {-# STDLIB_VERSION 4 #-} |
---|
2 | 2 | | {-# SCRIPT_TYPE ACCOUNT #-} |
---|
3 | 3 | | {-# CONTENT_TYPE DAPP #-} |
---|
4 | 4 | | let CODEAssetID = base58'Zn3cLHW7aAVPm5aACcTjvg7e7iEy2cKDtbowok5qa9H' |
---|
5 | 5 | | |
---|
6 | 6 | | @Callable(i) |
---|
7 | 7 | | func RegisterTGID (TGID) = { |
---|
8 | 8 | | let currentKey = toBase58String(i.caller.bytes) |
---|
9 | 9 | | let checkTGID = getString(this, ("TGID_Of_" + currentKey)) |
---|
10 | 10 | | let pmt = if ((size(i.payments) == 1)) |
---|
11 | 11 | | then i.payments[0] |
---|
12 | 12 | | else throw("No Payments Attached Please Attach Whitelabled Assets Only.") |
---|
13 | 13 | | let AssetAmount = match getInteger(this, "Staked_Amount") { |
---|
14 | 14 | | case a: Int => |
---|
15 | 15 | | a |
---|
16 | 16 | | case _ => |
---|
17 | 17 | | 0 |
---|
18 | 18 | | } |
---|
19 | 19 | | let newStakedA4AAmount = (AssetAmount + pmt.amount) |
---|
20 | 20 | | 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.") |
---|
22 | 22 | | else if ((pmt.assetId != CODEAssetID)) |
---|
23 | 23 | | then throw((("Kindly Deposit Only " + toBase58String(CODEAssetID)) + " [CODE].")) |
---|
24 | 24 | | else [StringEntry(("TGID_Of_" + currentKey), TGID)] |
---|
25 | 25 | | } |
---|
26 | 26 | | |
---|
27 | 27 | | |
---|