tx · EtHxzrhBkmyAWa8miF4gcTJm2d7J1uSiDf3Ud8bVBGMm

3N8iygiXd1v34PPaMSQb34SSrBwGxT2DpGK:  -0.01400000 Waves

2022.08.20 17:14 [2192898] smart account 3N8iygiXd1v34PPaMSQb34SSrBwGxT2DpGK > SELF 0.00000000 Waves

{ "type": 13, "id": "EtHxzrhBkmyAWa8miF4gcTJm2d7J1uSiDf3Ud8bVBGMm", "fee": 1400000, "feeAssetId": null, "timestamp": 1661004928056, "version": 2, "chainId": 84, "sender": "3N8iygiXd1v34PPaMSQb34SSrBwGxT2DpGK", "senderPublicKey": "FshLkkgzcLs6iQJ1Z8Nnfhm494tC8xZQczf9iXpZep3Y", "proofs": [ "5gRdjwVBotQDeGQyqZ5iRuWoYNvrMoUk14MKWBYpxboxsk7B7woR7SQbb96jHHvJdZ8bFdZQSQ4RQ7vmsxWMgQ84" ], "script": "base64:AAIEAAAAAAAAAAcIAhIDCgEIAAAAAQAAAAALQ09ERUFzc2V0SUQBAAAAIAhlhLcP8IpqGvPiaOguCJAkw9MnWAPNLPYuXgvf2hWkAAAAAQAAAAFpAQAAAAxSZWdpc3RlclRHSUQAAAABAAAABFRHSUQEAAAACmN1cnJlbnRLZXkJAAJYAAAAAQgIBQAAAAFpAAAABmNhbGxlcgAAAAVieXRlcwQAAAAJY2hlY2tUR0lECQAEHQAAAAIFAAAABHRoaXMJAAEsAAAAAgIAAAAIVEdJRF9PZl8FAAAACmN1cnJlbnRLZXkEAAAAA3BtdAMJAAAAAAAAAgkAAZAAAAABCAUAAAABaQAAAAhwYXltZW50cwAAAAAAAAAAAQkAAZEAAAACCAUAAAABaQAAAAhwYXltZW50cwAAAAAAAAAAAAkAAAIAAAABAgAAADtObyBQYXltZW50cyBBdHRhY2hlZCBQbGVhc2UgQXR0YWNoIFdoaXRlbGFibGVkIEFzc2V0cyBPbmx5LgMJAAAAAAAAAgUAAAAJY2hlY2tUR0lEBQAAAARUR0lECQAAAgAAAAECAAAARVRlbGVncmFtIElEIEFscmVhZHkgUmVnaXN0ZXJlZC4gWW91IGp1c3QgbmVlZCB0byBSZWZpbGwgeW91ciBBY2NvdW50LgkABEwAAAACCQEAAAALU3RyaW5nRW50cnkAAAACCQABLAAAAAICAAAACFRHSURfT2ZfBQAAAApjdXJyZW50S2V5BQAAAARUR0lEBQAAAANuaWwAAAAATUHzbw==", "height": 2192898, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 2wQhGWeZbudE9zt8Kmj4PbZeSeHNqyd1TSoZ5b1Zvt83 Next: FZA9Jz7M84yd3KmdbiZYYcqUYLR43o3tExux8f4MPjxL Diff:
OldNewDifferences
1010 let pmt = if ((size(i.payments) == 1))
1111 then i.payments[0]
1212 else throw("No Payments Attached Please Attach Whitelabled Assets Only.")
13- let AssetAmount = match getInteger(this, "Staked_Amount") {
14- case a: Int =>
15- a
16- case _ =>
17- 0
18- }
19- let newStakedA4AAmount = (AssetAmount + pmt.amount)
2013 if ((checkTGID == TGID))
2114 then throw("Telegram ID Already Registered. You just need to Refill your Account.")
22- else if ((pmt.assetId != CODEAssetID))
23- then throw((("Kindly Deposit Only " + toBase58String(CODEAssetID)) + " [CODE]."))
24- else [StringEntry(("TGID_Of_" + currentKey), TGID)]
15+ else [StringEntry(("TGID_Of_" + currentKey), TGID)]
2516 }
2617
2718
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.")
13- let AssetAmount = match getInteger(this, "Staked_Amount") {
14- case a: Int =>
15- a
16- case _ =>
17- 0
18- }
19- let newStakedA4AAmount = (AssetAmount + pmt.amount)
2013 if ((checkTGID == TGID))
2114 then throw("Telegram ID Already Registered. You just need to Refill your Account.")
22- else if ((pmt.assetId != CODEAssetID))
23- then throw((("Kindly Deposit Only " + toBase58String(CODEAssetID)) + " [CODE]."))
24- else [StringEntry(("TGID_Of_" + currentKey), TGID)]
15+ else [StringEntry(("TGID_Of_" + currentKey), TGID)]
2516 }
2617
2718

github/deemru/w8io/169f3d6 
20.22 ms