tx · 843ytfQ7RegrjznQb4NnrCvHV64CdZmgqgu5Vb2gW1Bp

3MpniGh4Ab64nzX6AXtoL5tzeC5EwSyHuaq:  -0.01400000 Waves

2022.01.10 22:25 [1873262] smart account 3MpniGh4Ab64nzX6AXtoL5tzeC5EwSyHuaq > SELF 0.00000000 Waves

{ "type": 13, "id": "843ytfQ7RegrjznQb4NnrCvHV64CdZmgqgu5Vb2gW1Bp", "fee": 1400000, "feeAssetId": null, "timestamp": 1641842694333, "version": 2, "chainId": 84, "sender": "3MpniGh4Ab64nzX6AXtoL5tzeC5EwSyHuaq", "senderPublicKey": "HxF3FdYr3sD3ju9Y1wL4d5kmRtKJGhgSSYQkCyo78xGn", "proofs": [ "3GAk4QL2JJYu9RjAG3LfCvK9CSjt6AgrzdzUdsQ6BQEEmxMxosU4xUudkiegjT8CaesRNT9fDfdM1doSyyHX8k12" ], "script": "base64:AAIFAAAAAAAAAEEIAhIAEgAaDQoBYRIIbXlQdWJLZXkaBgoBYhIBaRoMCgFjEgdwYXltZW50GgcKAWQSAnR4GgsKAWUSBnZlcmlmeQAAAAEAAAAAAWEBAAAAIPvhzx/EchOaJzhclRFzOZsCtGy7ySpoi0epc7fB20UHAAAAAgAAAAFiAQAAAAhwdXJjaGFzZQAAAAAEAAAAAWMJAAGRAAAAAggFAAAAAWIAAAAIcGF5bWVudHMAAAAAAAAAAAADCQEAAAAJaXNEZWZpbmVkAAAAAQgFAAAAAWMAAAAHYXNzZXRJZAkAAAIAAAABAgAAABhPbmx5IHNob3VsZCBwYXkgaW4gd2F2ZXMJAAACAAAAAQIAAAAOV2hhdCBhIGZ1Y2shISEAAAABYgEAAAAJc2V0UHJpY2VzAAAAAAMJAAAAAAAAAggFAAAAAWIAAAAPY2FsbGVyUHVibGljS2V5BQAAAAFhCQAETAAAAAIJAQAAAAxJbnRlZ2VyRW50cnkAAAACAgAAABNpdGVtX0FfY291cG9uX3ByaWNlAAAAAAABycOABQAAAANuaWwJAAACAAAAAQIAAAAZT25seSBvd25lciBjYW4gc2V0IHByaWNlcwAAAAEAAAABZAEAAAABZQAAAAAJAAH0AAAAAwgFAAAAAWQAAAAJYm9keUJ5dGVzCQABkQAAAAIIBQAAAAFkAAAABnByb29mcwAAAAAAAAAAAAgFAAAAAWQAAAAPc2VuZGVyUHVibGljS2V51NsGwg==", "height": 1873262, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 2c3hmrijpqghqr8KW3KCSvvu6avH84Y2BgNgerGrCfRy Next: ED8MN3ziaBjHrfaGmCRhCDweV6AeEQ6BM3jwR9wJV88o Diff:
OldNewDifferences
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let myPubKey = base58'HxF3FdYr3sD3ju9Y1wL4d5kmRtKJGhgSSYQkCyo78xGn'
5+
6+@Callable(i)
7+func purchase () = {
8+ let payment = i.payments[0]
9+ if (isDefined(payment.assetId))
10+ then throw("Only should pay in waves")
11+ else throw("What a fuck!!!")
12+ }
13+
14+
515
616 @Callable(i)
717 func setPrices () = if ((i.callerPublicKey == myPubKey))
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 5 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let myPubKey = base58'HxF3FdYr3sD3ju9Y1wL4d5kmRtKJGhgSSYQkCyo78xGn'
5+
6+@Callable(i)
7+func purchase () = {
8+ let payment = i.payments[0]
9+ if (isDefined(payment.assetId))
10+ then throw("Only should pay in waves")
11+ else throw("What a fuck!!!")
12+ }
13+
14+
515
616 @Callable(i)
717 func setPrices () = if ((i.callerPublicKey == myPubKey))
818 then [IntegerEntry("item_A_coupon_price", 30000000)]
919 else throw("Only owner can set prices")
1020
1121
1222 @Verifier(tx)
1323 func verify () = sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey)
1424

github/deemru/w8io/169f3d6 
53.26 ms