tx · Gaq2GgVnRgGbuU2f2r6ggmzqcyzj7LwHW4CXpRWYpshb

3N8iygiXd1v34PPaMSQb34SSrBwGxT2DpGK:  -0.01400000 Waves

2022.08.20 17:21 [2192905] smart account 3N8iygiXd1v34PPaMSQb34SSrBwGxT2DpGK > SELF 0.00000000 Waves

{ "type": 13, "id": "Gaq2GgVnRgGbuU2f2r6ggmzqcyzj7LwHW4CXpRWYpshb", "fee": 1400000, "feeAssetId": null, "timestamp": 1661005333706, "version": 2, "chainId": 84, "sender": "3N8iygiXd1v34PPaMSQb34SSrBwGxT2DpGK", "senderPublicKey": "FshLkkgzcLs6iQJ1Z8Nnfhm494tC8xZQczf9iXpZep3Y", "proofs": [ "21sjvupjuQafuog6X7ofyaqVT35B9nfoVzDHgWhrdnZBDN77oR7mHhj3UtnPcUpH9h1Dx2X6QuZMAPwyhoaarVAq" ], "script": "base64:AAIEAAAAAAAAAAcIAhIDCgEIAAAAAQAAAAALQ09ERUFzc2V0SUQBAAAAIAhlhLcP8IpqGvPiaOguCJAkw9MnWAPNLPYuXgvf2hWkAAAAAQAAAAFpAQAAAAxSZWdpc3RlclRHSUQAAAABAAAABFRHSUQEAAAACmN1cnJlbnRLZXkJAAJYAAAAAQgIBQAAAAFpAAAABmNhbGxlcgAAAAVieXRlcwQAAAAJY2hlY2tUR0lECQAEHQAAAAIFAAAABHRoaXMJAAEsAAAAAgIAAAAIVEdJRF9PZl8FAAAACmN1cnJlbnRLZXkEAAAAA3BtdAMJAAAAAAAAAgkAAZAAAAABCAUAAAABaQAAAAhwYXltZW50cwAAAAAAAAAAAAkAAAIAAAABAgAAAEJObyBQYXltZW50cyBSZXF1aXJlZCB0byBBdHRhY2ggSGVyZS4gVXNlIFRvcHVwIEJvdCB0byBhZGQgQmFsYW5jZS4GAwkAAAAAAAACBQAAAAljaGVja1RHSUQFAAAABFRHSUQJAAACAAAAAQIAAABFVGVsZWdyYW0gSUQgQWxyZWFkeSBSZWdpc3RlcmVkLiBZb3UganVzdCBuZWVkIHRvIFJlZmlsbCB5b3VyIEFjY291bnQuCQAETAAAAAIJAQAAAAtTdHJpbmdFbnRyeQAAAAIJAAEsAAAAAgIAAAAIVEdJRF9PZl8FAAAACmN1cnJlbnRLZXkFAAAABFRHSUQFAAAAA25pbAAAAACyMReQ", "height": 2192905, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: FZA9Jz7M84yd3KmdbiZYYcqUYLR43o3tExux8f4MPjxL Next: 4NDyjCLJpn9rWy83n8VxkZEkSKmNM5Z2poPNDZVtGdAw Diff:
OldNewDifferences
88 let currentKey = toBase58String(i.caller.bytes)
99 let checkTGID = getString(this, ("TGID_Of_" + currentKey))
1010 let pmt = if ((size(i.payments) == 0))
11- then i.payments[0]
12- else throw("No Payments Required to Attach Here. Use Topup Bot to add Balance.")
11+ then throw("No Payments Required to Attach Here. Use Topup Bot to add Balance.")
12+ else true
1313 if ((checkTGID == TGID))
1414 then throw("Telegram ID Already Registered. You just need to Refill your Account.")
1515 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) == 0))
11- then i.payments[0]
12- else throw("No Payments Required to Attach Here. Use Topup Bot to add Balance.")
11+ then throw("No Payments Required to Attach Here. Use Topup Bot to add Balance.")
12+ else true
1313 if ((checkTGID == TGID))
1414 then throw("Telegram ID Already Registered. You just need to Refill your Account.")
1515 else [StringEntry(("TGID_Of_" + currentKey), TGID)]
1616 }
1717
1818

github/deemru/w8io/169f3d6 
19.23 ms