tx · 8JzNUreshQYzDgZuZzKFmS98nMbHs8CwaUJVb8KEqoWr

3N8iygiXd1v34PPaMSQb34SSrBwGxT2DpGK:  -0.01400000 Waves

2022.08.20 16:52 [2192878] smart account 3N8iygiXd1v34PPaMSQb34SSrBwGxT2DpGK > SELF 0.00000000 Waves

{ "type": 13, "id": "8JzNUreshQYzDgZuZzKFmS98nMbHs8CwaUJVb8KEqoWr", "fee": 1400000, "feeAssetId": null, "timestamp": 1661003528522, "version": 2, "chainId": 84, "sender": "3N8iygiXd1v34PPaMSQb34SSrBwGxT2DpGK", "senderPublicKey": "FshLkkgzcLs6iQJ1Z8Nnfhm494tC8xZQczf9iXpZep3Y", "proofs": [ "3NbN2nbMpYZ5i1oFnR46eNkQkV3AV5EG4V5kBXNfa2fWHMK5wynC3kgxZHfZajLkqaTatoMihk6Xd34rVcUfZi2G" ], "script": "base64:AAIEAAAAAAAAAAkIAhIFCgMICAEAAAABAAAAAAtDT0RFQXNzZXRJRAEAAAAgCGWEtw/wimoa8+Jo6C4IkCTD0ydYA80s9i5eC9/aFaQAAAABAAAAAWkBAAAADFJlZ2lzdGVyVEdJRAAAAAMAAAAEVEdJRAAAAApUaXBBc3NldElEAAAABmFtb3VudAQAAAAKY3VycmVudEtleQkAAlgAAAABCAgFAAAAAWkAAAAGY2FsbGVyAAAABWJ5dGVzBAAAAAljaGVja1RHSUQJAAQdAAAAAgUAAAAEdGhpcwkAASwAAAACAgAAAApVc2VyX1RHSURfBQAAAARUR0lEBAAAAANwbXQDCQAAAAAAAAIJAAGQAAAAAQgFAAAAAWkAAAAIcGF5bWVudHMAAAAAAAAAAAEJAAGRAAAAAggFAAAAAWkAAAAIcGF5bWVudHMAAAAAAAAAAAAJAAACAAAAAQIAAAA7Tm8gUGF5bWVudHMgQXR0YWNoZWQgUGxlYXNlIEF0dGFjaCBXaGl0ZWxhYmxlZCBBc3NldHMgT25seS4EAAAAC0Fzc2V0QW1vdW50BAAAAAckbWF0Y2gwCQAEGgAAAAIFAAAABHRoaXMCAAAADVN0YWtlZF9BbW91bnQDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAA0ludAQAAAABYQUAAAAHJG1hdGNoMAUAAAABYQAAAAAAAAAAAAQAAAASbmV3U3Rha2VkQTRBQW1vdW50CQAAZAAAAAIFAAAAC0Fzc2V0QW1vdW50CAUAAAADcG10AAAABmFtb3VudAMJAAAAAAAAAgUAAAAJY2hlY2tUR0lEBQAAAARUR0lECQAAAgAAAAECAAAANlNlcmllcyBOYW1lIEFscmVhZHkgRXhpc3QuIENob29zZSBBbm90aGVyIFNlcmllcyBOYW1lLgMJAQAAAAIhPQAAAAIIBQAAAANwbXQAAAAHYXNzZXRJZAUAAAALQ09ERUFzc2V0SUQJAAACAAAAAQkAASwAAAACCQABLAAAAAICAAAAFEtpbmRseSBEZXBvc2l0IE9ubHkgCQACWAAAAAEFAAAAC0NPREVBc3NldElEAgAAAAggW0NPREVdLgkABEwAAAACCQEAAAALU3RyaW5nRW50cnkAAAACCQABLAAAAAICAAAAClB1YmtleV9PZl8FAAAABFRHSUQFAAAACmN1cnJlbnRLZXkJAARMAAAAAgkBAAAAC1N0cmluZ0VudHJ5AAAAAgkAASwAAAACAgAAAAlUaXBBc3NldF8JAAJYAAAAAQUAAAALQ09ERUFzc2V0SUQJAAJYAAAAAQUAAAALQ09ERUFzc2V0SUQFAAAAA25pbAAAAAAldPMu", "height": 2192878, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: EVVZ2AxR8SVCUzMkCcLjvbp5j3MPJBp8Y7ruy2gf9zvT Next: 9FxdDTZ3mpQnjYyPkUQ9bog7mYDr6GeS419Gnju3kgPk Diff:
OldNewDifferences
11 {-# STDLIB_VERSION 4 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
4-let CODEAssetID = base58'EB4CUQH4fHzzQt9YjcHtA6T7uosHNH9RnQKHgBdZHPCB'
4+let CODEAssetID = base58'Zn3cLHW7aAVPm5aACcTjvg7e7iEy2cKDtbowok5qa9H'
55
66 @Callable(i)
77 func RegisterTGID (TGID,TipAssetID,amount) = {
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 4 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
4-let CODEAssetID = base58'EB4CUQH4fHzzQt9YjcHtA6T7uosHNH9RnQKHgBdZHPCB'
4+let CODEAssetID = base58'Zn3cLHW7aAVPm5aACcTjvg7e7iEy2cKDtbowok5qa9H'
55
66 @Callable(i)
77 func RegisterTGID (TGID,TipAssetID,amount) = {
88 let currentKey = toBase58String(i.caller.bytes)
99 let checkTGID = getString(this, ("User_TGID_" + TGID))
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))
2121 then throw("Series Name Already Exist. Choose Another Series Name.")
2222 else if ((pmt.assetId != CODEAssetID))
2323 then throw((("Kindly Deposit Only " + toBase58String(CODEAssetID)) + " [CODE]."))
2424 else [StringEntry(("Pubkey_Of_" + TGID), currentKey), StringEntry(("TipAsset_" + toBase58String(CODEAssetID)), toBase58String(CODEAssetID))]
2525 }
2626
2727

github/deemru/w8io/169f3d6 
26.13 ms