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:
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 4 #-} | |
2 | 2 | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | - | let CODEAssetID = base58' | |
4 | + | let CODEAssetID = base58'Zn3cLHW7aAVPm5aACcTjvg7e7iEy2cKDtbowok5qa9H' | |
5 | 5 | ||
6 | 6 | @Callable(i) | |
7 | 7 | func RegisterTGID (TGID,TipAssetID,amount) = { |
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 4 #-} | |
2 | 2 | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | - | let CODEAssetID = base58' | |
4 | + | let CODEAssetID = base58'Zn3cLHW7aAVPm5aACcTjvg7e7iEy2cKDtbowok5qa9H' | |
5 | 5 | ||
6 | 6 | @Callable(i) | |
7 | 7 | func RegisterTGID (TGID,TipAssetID,amount) = { | |
8 | 8 | let currentKey = toBase58String(i.caller.bytes) | |
9 | 9 | let checkTGID = getString(this, ("User_TGID_" + TGID)) | |
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 | 21 | then throw("Series Name Already Exist. Choose Another Series Name.") | |
22 | 22 | else if ((pmt.assetId != CODEAssetID)) | |
23 | 23 | then throw((("Kindly Deposit Only " + toBase58String(CODEAssetID)) + " [CODE].")) | |
24 | 24 | else [StringEntry(("Pubkey_Of_" + TGID), currentKey), StringEntry(("TipAsset_" + toBase58String(CODEAssetID)), toBase58String(CODEAssetID))] | |
25 | 25 | } | |
26 | 26 | ||
27 | 27 |
github/deemru/w8io/169f3d6 26.13 ms ◑