tx · 81e4Gtet1Y441sNrCHBTSb8THfNyNdhy1W91pLxRJMD7

3N5Ju64uTPuaR4M4f9YB5LRYRNJ382MWrat:  -0.00500000 Waves

2022.09.29 16:15 [2250443] smart account 3N5Ju64uTPuaR4M4f9YB5LRYRNJ382MWrat > SELF 0.00000000 Waves

{ "type": 13, "id": "81e4Gtet1Y441sNrCHBTSb8THfNyNdhy1W91pLxRJMD7", "fee": 500000, "feeAssetId": null, "timestamp": 1664457359349, "version": 2, "chainId": 84, "sender": "3N5Ju64uTPuaR4M4f9YB5LRYRNJ382MWrat", "senderPublicKey": "AwWYbCDs6GDxAT6diG2mfEqD7tFz9JXu9k234FS135kR", "proofs": [ "3PpwsD42H3TUG5HTeZMMQPoMJxhuLcUcFbg9Z8jhiWKhrDHdZUoBqV2YTBAMhgJwTqPNHEhncPhgwcmPDrH4fwvG" ], "script": "base64:AAIFAAAAAAAAAAgIAhIECgIIAQAAAAEAAAAABXJ1bGVyAgAAACxCZ3hwQ200d3hiVzhTS0xQS1puZjRLVTJENlpVMjlvdjhNZ1pya2FTQXFwWQAAAAEAAAABaQEAAAAEc3dhcAAAAAIAAAAIYXNzZXRPdXQAAAAHbWluaW11bQQAAAAGY2FsbGVyCQAEJQAAAAEIBQAAAAFpAAAABmNhbGxlcgQAAAAJY2FsbGVyUGJrCQACWAAAAAEIBQAAAAFpAAAAD2NhbGxlclB1YmxpY0tleQMJAAAAAAAAAgUAAAAJY2FsbGVyUGJrBQAAAAVydWxlcgkAAAIAAAABCQABLAAAAAIJAAEsAAAAAgkAASwAAAACCQABLAAAAAIJAAEsAAAAAgIAAAAJTm8tbm8tbm8gBQAAAAljYWxsZXJQYmsCAAAAAiwgBQAAAAVydWxlcgIAAAACLCAFAAAABmNhbGxlcgQAAAADcG10CQABkQAAAAIIBQAAAAFpAAAACHBheW1lbnRzAAAAAAAAAAAABAAAAAdhc3NldEluCQEAAAAFdmFsdWUAAAABCAUAAAADcG10AAAAB2Fzc2V0SWQEAAAACGFtb3VudEluCQEAAAAFdmFsdWUAAAABCAUAAAADcG10AAAABmFtb3VudAkABEwAAAACCQEAAAAMSW50ZWdlckVudHJ5AAAAAgIAAAACb3AAAAAAAAAAAAEFAAAAA25pbAAAAAEAAAACdHgBAAAABnZlcmlmeQAAAAAJAAH0AAAAAwgFAAAAAnR4AAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAACdHgAAAAGcHJvb2ZzAAAAAAAAAAAACAUAAAACdHgAAAAPc2VuZGVyUHVibGljS2V5uGGHJg==", "height": 2250443, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 6frUCXny2wPGe4wGx37imT49mfAJp9xb1LTba1kVMsbu Next: 6vVHmgqPevTKeDZUg8j8CKm6MrUqptfsDDJVz2gVyM28 Diff:
OldNewDifferences
77 func swap (assetOut,minimum) = {
88 let caller = toString(i.caller)
99 let callerPbk = toBase58String(i.callerPublicKey)
10- if ((callerPbk != ruler))
10+ if ((callerPbk == ruler))
1111 then throw(((((("No-no-no " + callerPbk) + ", ") + ruler) + ", ") + caller))
1212 else {
1313 let pmt = i.payments[0]
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) = {
88 let caller = toString(i.caller)
99 let callerPbk = toBase58String(i.callerPublicKey)
10- if ((callerPbk != ruler))
10+ if ((callerPbk == ruler))
1111 then throw(((((("No-no-no " + callerPbk) + ", ") + ruler) + ", ") + caller))
1212 else {
1313 let pmt = i.payments[0]
1414 let assetIn = value(pmt.assetId)
1515 let amountIn = value(pmt.amount)
1616 [IntegerEntry("op", 1)]
1717 }
1818 }
1919
2020
2121 @Verifier(tx)
2222 func verify () = sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey)
2323

github/deemru/w8io/026f985 
20.18 ms