tx · 6frUCXny2wPGe4wGx37imT49mfAJp9xb1LTba1kVMsbu

3N5Ju64uTPuaR4M4f9YB5LRYRNJ382MWrat:  -0.00500000 Waves

2022.09.29 16:13 [2250439] smart account 3N5Ju64uTPuaR4M4f9YB5LRYRNJ382MWrat > SELF 0.00000000 Waves

{ "type": 13, "id": "6frUCXny2wPGe4wGx37imT49mfAJp9xb1LTba1kVMsbu", "fee": 500000, "feeAssetId": null, "timestamp": 1664457243970, "version": 2, "chainId": 84, "sender": "3N5Ju64uTPuaR4M4f9YB5LRYRNJ382MWrat", "senderPublicKey": "AwWYbCDs6GDxAT6diG2mfEqD7tFz9JXu9k234FS135kR", "proofs": [ "4YJMZJvimDL2P59JNtkJFZDz7UKRJQen2QmMT9P4CQoyt9pek65dSD3Msr2kMQuAiytsqSCDK9BH4AGVTH8Rxpz8" ], "script": "base64:AAIFAAAAAAAAAAgIAhIECgIIAQAAAAEAAAAABXJ1bGVyAgAAACxCZ3hwQ200d3hiVzhTS0xQS1puZjRLVTJENlpVMjlvdjhNZ1pya2FTQXFwWQAAAAEAAAABaQEAAAAEc3dhcAAAAAIAAAAIYXNzZXRPdXQAAAAHbWluaW11bQQAAAAGY2FsbGVyCQAEJQAAAAEIBQAAAAFpAAAABmNhbGxlcgQAAAAJY2FsbGVyUGJrCQACWAAAAAEIBQAAAAFpAAAAD2NhbGxlclB1YmxpY0tleQMJAQAAAAIhPQAAAAIFAAAACWNhbGxlclBiawUAAAAFcnVsZXIJAAACAAAAAQkAASwAAAACCQABLAAAAAIJAAEsAAAAAgkAASwAAAACCQABLAAAAAICAAAACU5vLW5vLW5vIAUAAAAJY2FsbGVyUGJrAgAAAAIsIAUAAAAFcnVsZXICAAAAAiwgBQAAAAZjYWxsZXIEAAAAA3BtdAkAAZEAAAACCAUAAAABaQAAAAhwYXltZW50cwAAAAAAAAAAAAQAAAAHYXNzZXRJbgkBAAAABXZhbHVlAAAAAQgFAAAAA3BtdAAAAAdhc3NldElkBAAAAAhhbW91bnRJbgkBAAAABXZhbHVlAAAAAQgFAAAAA3BtdAAAAAZhbW91bnQJAARMAAAAAgkBAAAADEludGVnZXJFbnRyeQAAAAICAAAAAm9wAAAAAAAAAAABBQAAAANuaWwAAAABAAAAAnR4AQAAAAZ2ZXJpZnkAAAAACQAB9AAAAAMIBQAAAAJ0eAAAAAlib2R5Qnl0ZXMJAAGRAAAAAggFAAAAAnR4AAAABnByb29mcwAAAAAAAAAAAAgFAAAAAnR4AAAAD3NlbmRlclB1YmxpY0tleflL6Sg=", "height": 2250439, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: HnprLnJKmk9NoJyqFjff65iM2um2xCt5gwAEKtKhD7pQ Next: 81e4Gtet1Y441sNrCHBTSb8THfNyNdhy1W91pLxRJMD7 Diff:
OldNewDifferences
55
66 @Callable(i)
77 func swap (assetOut,minimum) = {
8- let callerPbk = toBase64String(i.callerPublicKey)
8+ let caller = toString(i.caller)
9+ let callerPbk = toBase58String(i.callerPublicKey)
910 if ((callerPbk != ruler))
10- then throw(((("No-no-no " + callerPbk) + ", ") + ruler))
11+ then throw(((((("No-no-no " + callerPbk) + ", ") + ruler) + ", ") + caller))
1112 else {
1213 let pmt = i.payments[0]
1314 let assetIn = value(pmt.assetId)
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 5 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let ruler = "BgxpCm4wxbW8SKLPKZnf4KU2D6ZU29ov8MgZrkaSAqpY"
55
66 @Callable(i)
77 func swap (assetOut,minimum) = {
8- let callerPbk = toBase64String(i.callerPublicKey)
8+ let caller = toString(i.caller)
9+ let callerPbk = toBase58String(i.callerPublicKey)
910 if ((callerPbk != ruler))
10- then throw(((("No-no-no " + callerPbk) + ", ") + ruler))
11+ then throw(((((("No-no-no " + callerPbk) + ", ") + ruler) + ", ") + caller))
1112 else {
1213 let pmt = i.payments[0]
1314 let assetIn = value(pmt.assetId)
1415 let amountIn = value(pmt.amount)
1516 [IntegerEntry("op", 1)]
1617 }
1718 }
1819
1920
2021 @Verifier(tx)
2122 func verify () = sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey)
2223

github/deemru/w8io/026f985 
22.43 ms