tx · BuLcmdKBRBbdveTuLtxJHv4q6cDfsWggwroK1x836t3v

3N8nB5XeXcXTUDeiH6657UHa3wHa2rbZfDk:  -0.09000000 Waves

2021.07.01 18:09 [1594717] smart account 3N8nB5XeXcXTUDeiH6657UHa3wHa2rbZfDk > SELF 0.00000000 Waves

{ "type": 13, "id": "BuLcmdKBRBbdveTuLtxJHv4q6cDfsWggwroK1x836t3v", "fee": 9000000, "feeAssetId": null, "timestamp": 1625152159772, "version": 2, "chainId": 84, "sender": "3N8nB5XeXcXTUDeiH6657UHa3wHa2rbZfDk", "senderPublicKey": "BfXK2ez9xjdgWtoFNsnaGPRFjHcFixy3UUrQ2iN8wVfX", "proofs": [ "YNayBEBGVr4g4VLyqpEvc8pXGvcxNiABpEpuPDa31SG6a1yEjDYBe4d49mqj6FNiXowy2Dk9rSaQaWEW7Y3RJDr" ], "script": "base64:AAIEAAAAAAAAACQIAhIHCgUICAEBARIDCgEIEgQKAggBEgcKBQgBAQEIEgMKAQgAAAABAQAAABZjcmVhdGVQYXJraW5nU3BvdFNsaWNlAAAABAAAAA1wYXJraW5nU3BvdElkAAAACXN0YXJ0VGltZQAAAAdlbmRUaW1lAAAABXNsaWNlCQAETAAAAAIJAQAAAAxJbnRlZ2VyRW50cnkAAAACCQABLAAAAAIJAAEsAAAAAgkAASwAAAACBQAAAA1wYXJraW5nU3BvdElkAgAAAAdfc2xpY2VfCQABpAAAAAEFAAAABXNsaWNlAgAAAApfc3RhcnRUaW1lBQAAAAlzdGFydFRpbWUJAARMAAAAAgkBAAAADEludGVnZXJFbnRyeQAAAAIJAAEsAAAAAgkAASwAAAACCQABLAAAAAIFAAAADXBhcmtpbmdTcG90SWQCAAAAB19zbGljZV8JAAGkAAAAAQUAAAAFc2xpY2UCAAAACF9lbmRUaW1lBQAAAAdlbmRUaW1lCQAETAAAAAIJAQAAAAxCb29sZWFuRW50cnkAAAACCQABLAAAAAIJAAEsAAAAAgkAASwAAAACBQAAAA1wYXJraW5nU3BvdElkA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3BheWVkBAAAAA9hdmFpbGFibGVQYXlvdXQJAQAAABFAZXh0ck5hdGl2ZSgxMDUwKQAAAAIFAAAABHRoaXMJAAEsAAAAAgUAAAANcGFya2luZ1Nwb3RJZAIAAAAQX2F2YWlsYWJsZVBheW91dAQAAAALY3VycmVudFRpbWUIBQAAAAlsYXN0QmxvY2sAAAAJdGltZXN0YW1wAwkBAAAAAiE9AAAAAgkABCUAAAABCAUAAAABaQAAAAZjYWxsZXIFAAAABW93bmVyCQAAAgAAAAECAAAAK2NhbGxlciBkb2VzIG5vdCBtYXRjaCBvd25lciBvZiBwYXJraW5nIHNwb3QDCQAAZgAAAAIFAAAAFXBhcmtpbmdTcG90UGF5b3V0VGltZQkAAGQAAAACCQAAaQAAAAIFAAAAC2N1cnJlbnRUaW1lAAAAAAAAAAPoAAAAAAAAAA4QCQAAAgAAAAECAAAAOnBheW91dCBjYW4gb25seSBoYXBwZW4gb25lIGhvdXIgYWZ0ZXIgcGFya2luZyBzcG90IGVuZHRpbWUJAARMAAAAAgkBAAAADEludGVnZXJFbnRyeQAAAAIJAAEsAAAAAgkAAlgAAAABCAUAAAABaQAAAA10cmFuc2FjdGlvbklkAgAAABBfYXZhaWxhYmxlUGF5b3V0AAAAAAAAAAAACQAETAAAAAIJAQAAAA5TY3JpcHRUcmFuc2ZlcgAAAAMIBQAAAAFpAAAABmNhbGxlcgUAAAAPYXZhaWxhYmxlUGF5b3V0BQAAAAR1bml0CQAETAAAAAIJAQAAAAxCb29sZWFuRW50cnkAAAACCQABLAAAAAIFAAAADXBhcmtpbmdTcG90SWQCAAAABl9wYXllZAYFAAAAA25pbAAAAAEAAAACdHgBAAAABnZlcmlmeQAAAAAJAAH0AAAAAwgFAAAAAnR4AAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAACdHgAAAAGcHJvb2ZzAAAAAAAAAAAACAUAAAACdHgAAAAPc2VuZGVyUHVibGljS2V5kx2G9Q==", "height": 1594717, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: ET2WW1D4xK43gyqKmgwW2NWmDGW1Td28B8BvA7sHQir8 Next: none Diff:
OldNewDifferences
2424 then throw("caller does not match owner of parking spot")
2525 else if ((l > ((p / 1000) + 3600)))
2626 then throw("payout can only happen one hour after parking spot endtime")
27- else [IntegerEntry((toBase58String(f.transactionId) + "_availablePayout"), 0), ScriptTransfer(f.caller, o, unit), BooleanEntry((b + "_payed"), true)]
27+ else if ((o == 0))
28+ then throw("available payout is 0, skipping")
29+ else [IntegerEntry((toBase58String(f.transactionId) + "_availablePayout"), 0), ScriptTransfer(f.caller, o, unit), BooleanEntry((b + "_payed"), true)]
2830 }
2931
3032
99101 }
100102
101103
104+
105+@Callable(f)
106+func uploadImage (b) = {
107+ let l = getIntegerValue(this, (b + "_payoutTime"))
108+ let m = getStringValue(this, (b + "_owner"))
109+ let n = getBoolean(this, (b + "_payed"))
110+ let o = getIntegerValue(this, (b + "_availablePayout"))
111+ let p = lastBlock.timestamp
112+ if ((toString(f.caller) != m))
113+ then throw("caller does not match owner of parking spot")
114+ else if ((l > ((p / 1000) + 3600)))
115+ then throw("payout can only happen one hour after parking spot endtime")
116+ else [IntegerEntry((toBase58String(f.transactionId) + "_availablePayout"), 0), ScriptTransfer(f.caller, o, unit), BooleanEntry((b + "_payed"), true)]
117+ }
118+
119+
102120 @Verifier(E)
103121 func F () = sigVerify(E.bodyBytes, E.proofs[0], E.senderPublicKey)
104122
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 4 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 func a (b,c,d,e) = [IntegerEntry((((b + "_slice_") + toString(e)) + "_startTime"), c), IntegerEntry((((b + "_slice_") + toString(e)) + "_endTime"), d), BooleanEntry((((b + "_slice_") + toString(e)) + "_payed"), false)]
55
66
77 @Callable(f)
88 func createParkingSpot (g,h,c,d,i) = {
99 let j = (c - (c % 3600))
1010 let k = (d - (d % 3600))
1111 ([StringEntry((toBase58String(f.transactionId) + "_owner"), toString(f.caller)), StringEntry((toBase58String(f.transactionId) + "_lat"), g), StringEntry((toBase58String(f.transactionId) + "_long"), h), IntegerEntry((toBase58String(f.transactionId) + "_cost"), i), IntegerEntry((toBase58String(f.transactionId) + "_slice"), 0), IntegerEntry((toBase58String(f.transactionId) + "_payoutTime"), (k + 3600)), IntegerEntry((toBase58String(f.transactionId) + "_availablePayout"), 0), IntegerEntry((toBase58String(f.transactionId) + "_blockedPayout"), 0), IntegerEntry((toBase58String(f.transactionId) + "_blockedPayout"), 0)] ++ a(toBase58String(f.transactionId), j, k, 0))
1212 }
1313
1414
1515
1616 @Callable(f)
1717 func payoutParkingSpot (b) = {
1818 let l = getIntegerValue(this, (b + "_payoutTime"))
1919 let m = getStringValue(this, (b + "_owner"))
2020 let n = getBoolean(this, (b + "_payed"))
2121 let o = getIntegerValue(this, (b + "_availablePayout"))
2222 let p = lastBlock.timestamp
2323 if ((toString(f.caller) != m))
2424 then throw("caller does not match owner of parking spot")
2525 else if ((l > ((p / 1000) + 3600)))
2626 then throw("payout can only happen one hour after parking spot endtime")
27- else [IntegerEntry((toBase58String(f.transactionId) + "_availablePayout"), 0), ScriptTransfer(f.caller, o, unit), BooleanEntry((b + "_payed"), true)]
27+ else if ((o == 0))
28+ then throw("available payout is 0, skipping")
29+ else [IntegerEntry((toBase58String(f.transactionId) + "_availablePayout"), 0), ScriptTransfer(f.caller, o, unit), BooleanEntry((b + "_payed"), true)]
2830 }
2931
3032
3133
3234 @Callable(f)
3335 func payoutParkingSpotSlice (b,e) = {
3436 let q = getIntegerValue(this, (((b + "_slice_") + toString(e)) + "_startTime"))
3537 let r = getIntegerValue(this, (((b + "_slice_") + toString(e)) + "_endTime"))
3638 let l = getIntegerValue(this, (b + "_payoutTime"))
3739 let s = getIntegerValue(this, (b + "_cost"))
3840 let t = ((s * (q - r)) / 3600)
3941 let m = getStringValue(this, (b + "_owner"))
4042 let u = getString(this, (((b + "_slice_") + toString(e)) + "_complaint"))
4143 let v = getBooleanValue(this, (((b + "_slice_") + toString(e)) + "_payed"))
4244 let n = getBoolean(this, (b + "_payed"))
4345 let o = getIntegerValue(this, (b + "_availablePayout"))
4446 let p = lastBlock.timestamp
4547 if ((toString(f.caller) != m))
4648 then throw("caller does not match owner of parking spot")
4749 else if ((((p / 1000) + 3600) > l))
4850 then throw("parking spot payout time is due, please cash out all slices at once")
4951 else if ((r > ((p / 1000) + 3600)))
5052 then throw("you have to wait one hour, until you can receive the payment for this slice")
5153 else if ((u != unit))
5254 then throw("there is an active complaint, please resolve it first")
5355 else if ((v == true))
5456 then throw("slice has already been payed, denying payment")
5557 else if ((n == true))
5658 then throw("whole parking spot has already been payed, denying payment")
5759 else [IntegerEntry((toBase58String(f.transactionId) + "_availablePayout"), (o - t)), ScriptTransfer(f.caller, t, unit), BooleanEntry((((b + "_slice_") + toString(e)) + "_payed"), true)]
5860 }
5961
6062
6163
6264 @Callable(f)
6365 func bookParkingSpotSlice (b,w,c,d,x) = {
6466 let y = value(f.payments[0])
6567 let z = (c - (c % 3600))
6668 let A = (d - (d % 3600))
6769 let q = getIntegerValue(this, (((b + "_slice_") + toString(w)) + "_startTime"))
6870 let r = getIntegerValue(this, (((b + "_slice_") + toString(w)) + "_endTime"))
6971 let B = getIntegerValue(this, (b + "_slice"))
7072 let s = getIntegerValue(this, (b + "_cost"))
7173 let C = ((s * (A - z)) / 3600)
7274 let o = getIntegerValue(this, (b + "_availablePayout"))
7375 let D = getString(this, (((b + "_slice_") + toString(w)) + "_renter"))
7476 if (!(isDefined(y)))
7577 then throw("no payment defined")
7678 else if ((y.assetId != unit))
7779 then throw("payment should be in waves")
7880 else if ((y.amount != C))
7981 then throw((((("payment does not match cost, got '" + toString(y.amount)) + "' Waves, excpected: '") + toString(C)) + "' Waves."))
8082 else if (if ((q > z))
8183 then true
8284 else (A > r))
8385 then throw("time is out of range for parking spot")
8486 else if ((D != unit))
8587 then throw("parking spot has already been booked")
8688 else if (if ((z == q))
8789 then (A == r)
8890 else false)
8991 then [StringEntry((((b + "_slice_") + toString(w)) + "_renter"), x), IntegerEntry((toBase58String(f.transactionId) + "_availablePayout"), (o + C))]
9092 else if (if ((z == q))
9193 then (A != r)
9294 else false)
9395 then ([StringEntry((((b + "_slice_") + toString(w)) + "_renter"), x), IntegerEntry((((b + "_slice_") + toString(w)) + "_startTime"), z), IntegerEntry((((b + "_slice_") + toString(w)) + "_endTime"), A), IntegerEntry((b + "_slice"), (B + 1)), IntegerEntry((toBase58String(f.transactionId) + "_availablePayout"), (o + C))] ++ a(b, A, r, (B + 1)))
9496 else if (if ((A == r))
9597 then (z != q)
9698 else false)
9799 then ([StringEntry((((b + "_slice_") + toString(w)) + "_renter"), x), IntegerEntry((((b + "_slice_") + toString(w)) + "_startTime"), z), IntegerEntry((((b + "_slice_") + toString(w)) + "_endTime"), A), IntegerEntry((b + "_slice"), (B + 1)), IntegerEntry((toBase58String(f.transactionId) + "_availablePayout"), (o + C))] ++ a(b, q, z, (B + 1)))
98100 else (([StringEntry((((b + "_slice_") + toString(w)) + "_renter"), x), IntegerEntry((((b + "_slice_") + toString(w)) + "_startTime"), z), IntegerEntry((((b + "_slice_") + toString(w)) + "_endTime"), A), IntegerEntry((b + "_slice"), (B + 2)), IntegerEntry((toBase58String(f.transactionId) + "_availablePayout"), (o + C))] ++ a(b, q, z, (B + 1))) ++ a(b, A, r, (B + 2)))
99101 }
100102
101103
104+
105+@Callable(f)
106+func uploadImage (b) = {
107+ let l = getIntegerValue(this, (b + "_payoutTime"))
108+ let m = getStringValue(this, (b + "_owner"))
109+ let n = getBoolean(this, (b + "_payed"))
110+ let o = getIntegerValue(this, (b + "_availablePayout"))
111+ let p = lastBlock.timestamp
112+ if ((toString(f.caller) != m))
113+ then throw("caller does not match owner of parking spot")
114+ else if ((l > ((p / 1000) + 3600)))
115+ then throw("payout can only happen one hour after parking spot endtime")
116+ else [IntegerEntry((toBase58String(f.transactionId) + "_availablePayout"), 0), ScriptTransfer(f.caller, o, unit), BooleanEntry((b + "_payed"), true)]
117+ }
118+
119+
102120 @Verifier(E)
103121 func F () = sigVerify(E.bodyBytes, E.proofs[0], E.senderPublicKey)
104122

github/deemru/w8io/026f985 
48.74 ms