tx · FZA9Jz7M84yd3KmdbiZYYcqUYLR43o3tExux8f4MPjxL
3N8iygiXd1v34PPaMSQb34SSrBwGxT2DpGK: -0.01400000 Waves
2022.08.20 17:18 [2192902] smart account 3N8iygiXd1v34PPaMSQb34SSrBwGxT2DpGK > SELF 0.00000000 Waves
{
"type": 13,
"id": "FZA9Jz7M84yd3KmdbiZYYcqUYLR43o3tExux8f4MPjxL",
"fee": 1400000,
"feeAssetId": null,
"timestamp": 1661005156809,
"version": 2,
"chainId": 84,
"sender": "3N8iygiXd1v34PPaMSQb34SSrBwGxT2DpGK",
"senderPublicKey": "FshLkkgzcLs6iQJ1Z8Nnfhm494tC8xZQczf9iXpZep3Y",
"proofs": [
"LR5agq3q3ZWAz5K3NqdgDC7jXPQDxCda9ZLT7Pa4KAmyxK2DCtCnxjjVfSRKDkXHGFNVTxA6ssMFZcM4xBxBUHW"
],
"script": "base64:AAIEAAAAAAAAAAcIAhIDCgEIAAAAAQAAAAALQ09ERUFzc2V0SUQBAAAAIAhlhLcP8IpqGvPiaOguCJAkw9MnWAPNLPYuXgvf2hWkAAAAAQAAAAFpAQAAAAxSZWdpc3RlclRHSUQAAAABAAAABFRHSUQEAAAACmN1cnJlbnRLZXkJAAJYAAAAAQgIBQAAAAFpAAAABmNhbGxlcgAAAAVieXRlcwQAAAAJY2hlY2tUR0lECQAEHQAAAAIFAAAABHRoaXMJAAEsAAAAAgIAAAAIVEdJRF9PZl8FAAAACmN1cnJlbnRLZXkEAAAAA3BtdAMJAAAAAAAAAgkAAZAAAAABCAUAAAABaQAAAAhwYXltZW50cwAAAAAAAAAAAAkAAZEAAAACCAUAAAABaQAAAAhwYXltZW50cwAAAAAAAAAAAAkAAAIAAAABAgAAAEJObyBQYXltZW50cyBSZXF1aXJlZCB0byBBdHRhY2ggSGVyZS4gVXNlIFRvcHVwIEJvdCB0byBhZGQgQmFsYW5jZS4DCQAAAAAAAAIFAAAACWNoZWNrVEdJRAUAAAAEVEdJRAkAAAIAAAABAgAAAEVUZWxlZ3JhbSBJRCBBbHJlYWR5IFJlZ2lzdGVyZWQuIFlvdSBqdXN0IG5lZWQgdG8gUmVmaWxsIHlvdXIgQWNjb3VudC4JAARMAAAAAgkBAAAAC1N0cmluZ0VudHJ5AAAAAgkAASwAAAACAgAAAAhUR0lEX09mXwUAAAAKY3VycmVudEtleQUAAAAEVEdJRAUAAAADbmlsAAAAAGKB0/w=",
"height": 2192902,
"applicationStatus": "succeeded",
"spentComplexity": 0
}
View: original | compacted
Prev: EtHxzrhBkmyAWa8miF4gcTJm2d7J1uSiDf3Ud8bVBGMm
Next: Gaq2GgVnRgGbuU2f2r6ggmzqcyzj7LwHW4CXpRWYpshb
Diff:
Old | New | | Differences |
---|
7 | 7 | | func RegisterTGID (TGID) = { |
---|
8 | 8 | | let currentKey = toBase58String(i.caller.bytes) |
---|
9 | 9 | | let checkTGID = getString(this, ("TGID_Of_" + currentKey)) |
---|
10 | | - | let pmt = if ((size(i.payments) == 1)) |
---|
| 10 | + | let pmt = if ((size(i.payments) == 0)) |
---|
11 | 11 | | then i.payments[0] |
---|
12 | | - | else throw("No Payments Attached Please Attach Whitelabled Assets Only.") |
---|
| 12 | + | else throw("No Payments Required to Attach Here. Use Topup Bot to add Balance.") |
---|
13 | 13 | | if ((checkTGID == TGID)) |
---|
14 | 14 | | then throw("Telegram ID Already Registered. You just need to Refill your Account.") |
---|
15 | 15 | | 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 | | - | let pmt = if ((size(i.payments) == 1)) |
---|
| 10 | + | let pmt = if ((size(i.payments) == 0)) |
---|
11 | 11 | | then i.payments[0] |
---|
12 | | - | else throw("No Payments Attached Please Attach Whitelabled Assets Only.") |
---|
| 12 | + | else throw("No Payments Required to Attach Here. Use Topup Bot to add Balance.") |
---|
13 | 13 | | if ((checkTGID == TGID)) |
---|
14 | 14 | | then throw("Telegram ID Already Registered. You just need to Refill your Account.") |
---|
15 | 15 | | else [StringEntry(("TGID_Of_" + currentKey), TGID)] |
---|
16 | 16 | | } |
---|
17 | 17 | | |
---|
18 | 18 | | |
---|