tx · ET2WW1D4xK43gyqKmgwW2NWmDGW1Td28B8BvA7sHQir8

3N8nB5XeXcXTUDeiH6657UHa3wHa2rbZfDk:  -0.09000000 Waves

2021.06.19 22:31 [1577686] smart account 3N8nB5XeXcXTUDeiH6657UHa3wHa2rbZfDk > SELF 0.00000000 Waves

{ "type": 13, "id": "ET2WW1D4xK43gyqKmgwW2NWmDGW1Td28B8BvA7sHQir8", "fee": 9000000, "feeAssetId": null, "timestamp": 1624131094897, "version": 2, "chainId": 84, "sender": "3N8nB5XeXcXTUDeiH6657UHa3wHa2rbZfDk", "senderPublicKey": "BfXK2ez9xjdgWtoFNsnaGPRFjHcFixy3UUrQ2iN8wVfX", "proofs": [ "64KXFqrehNtDRqf5LZ4a4XoE2wdPez1BYaRETrmiwAoYPNjsEoVVfoHpTvpSn9WhxRZRzv1tih2C4HpBUNbLs5JW" ], "script": "base64:AAIEAAAAAAAAAB8IAhIHCgUICAEBARIDCgEIEgQKAggBEgcKBQgBAQEIAAAAAQEAAAAWY3JlYXRlUGFya2luZ1Nwb3RTbGljZQAAAAQAAAANcGFya2luZ1Nwb3RJZAAAAAlzdGFydFRpbWUAAAAHZW5kVGltZQAAAAVzbGljZQkABEwAAAACCQEAAAAMSW50ZWdlckVudHJ5AAAAAgkAASwAAAACCQABLAAAAAIJAAEsAAAAAgUAAAANcGFya2luZ1Nwb3RJZAIAAAAHX3NsaWNlXwkAAaQAAAABBQAAAAVzbGljZQIAAAAKX3N0YXJ0VGltZQUAAAAJc3RhcnRUaW1lCQAETAAAAAIJAQAAAAxJbnRlZ2VyRW50cnkAAAACCQABLAAAAAIJAAEsAAAAAgkAASwAAAACBQAAAA1wYXJraW5nU3BvdElkAgAAAAdfc2xpY2VfCQABpAAAAAEFAAAABXNsaWNlAgAAAAhfZW5kVGltZQUAAAAHZW5kVGltZQkABEwAAAACCQEAAAAMQm9vbGVhbkVudHJ5AAAAAgkAASwAAAACCQABLAAAAAIJAAEsAAAAAgUAAAANcGFya2luZ1N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fc2xpY2UJAABkAAAAAgUAAAANZXhpc3RpbmdTbGljZQAAAAAAAAAAAgkABEwAAAACCQEAAAAMSW50ZWdlckVudHJ5AAAAAgkAASwAAAACCQACWAAAAAEIBQAAAAFpAAAADXRyYW5zYWN0aW9uSWQCAAAAEF9hdmFpbGFibGVQYXlvdXQJAABkAAAAAgUAAAAPYXZhaWxhYmxlUGF5b3V0BQAAAAl0b3RhbENvc3QFAAAAA25pbAkBAAAAFmNyZWF0ZVBhcmtpbmdTcG90U2xpY2UAAAAEBQAAAA1wYXJraW5nU3BvdElkBQAAABRwYXJraW5nU3BvdFN0YXJ0VGltZQUAAAAPYm9va2VkU3RhcnRUaW1lCQAAZAAAAAIFAAAADWV4aXN0aW5nU2xpY2UAAAAAAAAAAAEJAQAAABZjcmVhdGVQYXJraW5nU3BvdFNsaWNlAAAABAUAAAANcGFya2luZ1Nwb3RJZAUAAAANYm9va2VkRW5kVGltZQUAAAAScGFya2luZ1Nwb3RFbmRUaW1lCQAAZAAAAAIFAAAADWV4aXN0aW5nU2xpY2UAAAAAAAAAAAIAAAABAAAAAnR4AQAAAAZ2ZXJpZnkAAAAACQAB9AAAAAMIBQAAAAJ0eAAAAAlib2R5Qnl0ZXMJAAGRAAAAAggFAAAAAnR4AAAABnByb29mcwAAAAAAAAAAAAgFAAAAAnR4AAAAD3NlbmRlclB1YmxpY0tlefT9k9E=", "height": 1577686, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 3L24tHNjvoX89Wq6sbzm9Wz4gZwpQS5GEQcr3msFg16b Next: BuLcmdKBRBbdveTuLtxJHv4q6cDfsWggwroK1x836t3v Diff:
OldNewDifferences
2323 if ((toString(f.caller) != m))
2424 then throw("caller does not match owner of parking spot")
2525 else if ((l > ((p / 1000) + 3600)))
26- then throw("parking spot payout time is due, please cash out all slices at once")
26+ then throw("payout can only happen one hour after parking spot endtime")
2727 else [IntegerEntry((toBase58String(f.transactionId) + "_availablePayout"), 0), ScriptTransfer(f.caller, o, unit), BooleanEntry((b + "_payed"), true)]
2828 }
2929
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)))
26- then throw("parking spot payout time is due, please cash out all slices at once")
26+ then throw("payout can only happen one hour after parking spot endtime")
2727 else [IntegerEntry((toBase58String(f.transactionId) + "_availablePayout"), 0), ScriptTransfer(f.caller, o, unit), BooleanEntry((b + "_payed"), true)]
2828 }
2929
3030
3131
3232 @Callable(f)
3333 func payoutParkingSpotSlice (b,e) = {
3434 let q = getIntegerValue(this, (((b + "_slice_") + toString(e)) + "_startTime"))
3535 let r = getIntegerValue(this, (((b + "_slice_") + toString(e)) + "_endTime"))
3636 let l = getIntegerValue(this, (b + "_payoutTime"))
3737 let s = getIntegerValue(this, (b + "_cost"))
3838 let t = ((s * (q - r)) / 3600)
3939 let m = getStringValue(this, (b + "_owner"))
4040 let u = getString(this, (((b + "_slice_") + toString(e)) + "_complaint"))
4141 let v = getBooleanValue(this, (((b + "_slice_") + toString(e)) + "_payed"))
4242 let n = getBoolean(this, (b + "_payed"))
4343 let o = getIntegerValue(this, (b + "_availablePayout"))
4444 let p = lastBlock.timestamp
4545 if ((toString(f.caller) != m))
4646 then throw("caller does not match owner of parking spot")
4747 else if ((((p / 1000) + 3600) > l))
4848 then throw("parking spot payout time is due, please cash out all slices at once")
4949 else if ((r > ((p / 1000) + 3600)))
5050 then throw("you have to wait one hour, until you can receive the payment for this slice")
5151 else if ((u != unit))
5252 then throw("there is an active complaint, please resolve it first")
5353 else if ((v == true))
5454 then throw("slice has already been payed, denying payment")
5555 else if ((n == true))
5656 then throw("whole parking spot has already been payed, denying payment")
5757 else [IntegerEntry((toBase58String(f.transactionId) + "_availablePayout"), (o - t)), ScriptTransfer(f.caller, t, unit), BooleanEntry((((b + "_slice_") + toString(e)) + "_payed"), true)]
5858 }
5959
6060
6161
6262 @Callable(f)
6363 func bookParkingSpotSlice (b,w,c,d,x) = {
6464 let y = value(f.payments[0])
6565 let z = (c - (c % 3600))
6666 let A = (d - (d % 3600))
6767 let q = getIntegerValue(this, (((b + "_slice_") + toString(w)) + "_startTime"))
6868 let r = getIntegerValue(this, (((b + "_slice_") + toString(w)) + "_endTime"))
6969 let B = getIntegerValue(this, (b + "_slice"))
7070 let s = getIntegerValue(this, (b + "_cost"))
7171 let C = ((s * (A - z)) / 3600)
7272 let o = getIntegerValue(this, (b + "_availablePayout"))
7373 let D = getString(this, (((b + "_slice_") + toString(w)) + "_renter"))
7474 if (!(isDefined(y)))
7575 then throw("no payment defined")
7676 else if ((y.assetId != unit))
7777 then throw("payment should be in waves")
7878 else if ((y.amount != C))
7979 then throw((((("payment does not match cost, got '" + toString(y.amount)) + "' Waves, excpected: '") + toString(C)) + "' Waves."))
8080 else if (if ((q > z))
8181 then true
8282 else (A > r))
8383 then throw("time is out of range for parking spot")
8484 else if ((D != unit))
8585 then throw("parking spot has already been booked")
8686 else if (if ((z == q))
8787 then (A == r)
8888 else false)
8989 then [StringEntry((((b + "_slice_") + toString(w)) + "_renter"), x), IntegerEntry((toBase58String(f.transactionId) + "_availablePayout"), (o + C))]
9090 else if (if ((z == q))
9191 then (A != r)
9292 else false)
9393 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)))
9494 else if (if ((A == r))
9595 then (z != q)
9696 else false)
9797 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)))
9898 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)))
9999 }
100100
101101
102102 @Verifier(E)
103103 func F () = sigVerify(E.bodyBytes, E.proofs[0], E.senderPublicKey)
104104

github/deemru/w8io/026f985 
31.57 ms