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:AAIEAAAAAAAAACQIAhIHCgUICAEBARIDCgEIEgQKAggBEgcKBQgBAQEIEgMKAQgAAAABAQAAABZjcmVhdGVQYXJraW5nU3BvdFNsaWNlAAAABAAAAA1wYXJraW5nU3BvdElkAAAACXN0YXJ0VGltZQAAAAdlbmRUaW1lAAAABXNsaWNlCQAETAAAAAIJAQAAAAxJbnRlZ2VyRW50cnkAAAACCQABLAAAAAIJAAEsAAAAAgkAASwAAAACBQAAAA1wYXJraW5nU3BvdElkAgAAAAdfc2xpY2VfCQABpAAAAAEFAAAABXNsaWNlAgAAAApfc3RhcnRUaW1lBQAAAAlzdGFydFRpbWUJAARMAAAAAgkBAAAADEludGVnZXJFbnRyeQAAAAIJAAEsAAAAAgkAASwAAAACCQABLAAAAAIFAAAADXBhcmtpbmdTcG90SWQCAAAAB19zbGljZV8JAAGkAAAAAQUAAAAFc2xpY2UCAAAACF9lbmRUaW1lBQAAAAdlbmRUaW1lCQAETAAAAAIJAQAAAAxCb29sZWFuRW50cnkAAAACCQABLAAAAAIJAAEsAAAAAgkAASwAAAACBQAAAA1wYXJraW5nU3BvdElkAg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BheWVkBAAAAA9hdmFpbGFibGVQYXlvdXQJAQAAABFAZXh0ck5hdGl2ZSgxMDUwKQAAAAIFAAAABHRoaXMJAAEsAAAAAgUAAAANcGFya2luZ1Nwb3RJZAIAAAAQX2F2YWlsYWJsZVBheW91dAQAAAALY3VycmVudFRpbWUIBQAAAAlsYXN0QmxvY2sAAAAJdGltZXN0YW1wAwkBAAAAAiE9AAAAAgkABCUAAAABCAUAAAABaQAAAAZjYWxsZXIFAAAABW93bmVyCQAAAgAAAAECAAAAK2NhbGxlciBkb2VzIG5vdCBtYXRjaCBvd25lciBvZiBwYXJraW5nIHNwb3QDCQAAZgAAAAIFAAAAFXBhcmtpbmdTcG90UGF5b3V0VGltZQkAAGQAAAACCQAAaQAAAAIFAAAAC2N1cnJlbnRUaW1lAAAAAAAAAAPoAAAAAAAAAA4QCQAAAgAAAAECAAAAOnBheW91dCBjYW4gb25seSBoYXBwZW4gb25lIGhvdXIgYWZ0ZXIgcGFya2luZyBzcG90IGVuZHRpbWUJAARMAAAAAgkBAAAADEludGVnZXJFbnRyeQAAAAIJAAEsAAAAAgkAAlgAAAABCAUAAAABaQAAAA10cmFuc2FjdGlvbklkAgAAABBfYXZhaWxhYmxlUGF5b3V0AAAAAAAAAAAACQAETAAAAAIJAQAAAA5TY3JpcHRUcmFuc2ZlcgAAAAMIBQAAAAFpAAAABmNhbGxlcgUAAAAPYXZhaWxhYmxlUGF5b3V0BQAAAAR1bml0CQAETAAAAAIJAQAAAAxCb29sZWFuRW50cnkAAAACCQABLAAAAAIFAAAADXBhcmtpbmdTcG90SWQCAAAABl9wYXllZAYFAAAAA25pbAAAAAEAAAACdHgBAAAABnZlcmlmeQAAAAAJAAH0AAAAAwgFAAAAAnR4AAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAACdHgAAAAGcHJvb2ZzAAAAAAAAAAAACAUAAAACdHgAAAAPc2VuZGVyUHVibGljS2V5kx2G9Q==", "height": 1594717, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: ET2WW1D4xK43gyqKmgwW2NWmDGW1Td28B8BvA7sHQir8 Next: none Diff:
Old | New | Differences | |
---|---|---|---|
24 | 24 | then throw("caller does not match owner of parking spot") | |
25 | 25 | else if ((parkingSpotPayoutTime > ((currentTime / 1000) + 3600))) | |
26 | 26 | then throw("payout can only happen one hour after parking spot endtime") | |
27 | - | else [IntegerEntry((toBase58String(i.transactionId) + "_availablePayout"), 0), ScriptTransfer(i.caller, availablePayout, unit), BooleanEntry((parkingSpotId + "_payed"), true)] | |
27 | + | else if ((availablePayout == 0)) | |
28 | + | then throw("available payout is 0, skipping") | |
29 | + | else [IntegerEntry((toBase58String(i.transactionId) + "_availablePayout"), 0), ScriptTransfer(i.caller, availablePayout, unit), BooleanEntry((parkingSpotId + "_payed"), true)] | |
28 | 30 | } | |
29 | 31 | ||
30 | 32 | ||
99 | 101 | } | |
100 | 102 | ||
101 | 103 | ||
104 | + | ||
105 | + | @Callable(i) | |
106 | + | func uploadImage (parkingSpotId) = { | |
107 | + | let parkingSpotPayoutTime = getIntegerValue(this, (parkingSpotId + "_payoutTime")) | |
108 | + | let owner = getStringValue(this, (parkingSpotId + "_owner")) | |
109 | + | let payedParkingSpot = getBoolean(this, (parkingSpotId + "_payed")) | |
110 | + | let availablePayout = getIntegerValue(this, (parkingSpotId + "_availablePayout")) | |
111 | + | let currentTime = lastBlock.timestamp | |
112 | + | if ((toString(i.caller) != owner)) | |
113 | + | then throw("caller does not match owner of parking spot") | |
114 | + | else if ((parkingSpotPayoutTime > ((currentTime / 1000) + 3600))) | |
115 | + | then throw("payout can only happen one hour after parking spot endtime") | |
116 | + | else [IntegerEntry((toBase58String(i.transactionId) + "_availablePayout"), 0), ScriptTransfer(i.caller, availablePayout, unit), BooleanEntry((parkingSpotId + "_payed"), true)] | |
117 | + | } | |
118 | + | ||
119 | + | ||
102 | 120 | @Verifier(tx) | |
103 | 121 | func verify () = sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey) | |
104 | 122 |
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 4 #-} | |
2 | 2 | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | 4 | func createParkingSpotSlice (parkingSpotId,startTime,endTime,slice) = [IntegerEntry((((parkingSpotId + "_slice_") + toString(slice)) + "_startTime"), startTime), IntegerEntry((((parkingSpotId + "_slice_") + toString(slice)) + "_endTime"), endTime), BooleanEntry((((parkingSpotId + "_slice_") + toString(slice)) + "_payed"), false)] | |
5 | 5 | ||
6 | 6 | ||
7 | 7 | @Callable(i) | |
8 | 8 | func createParkingSpot (lat,long,startTime,endTime,cost) = { | |
9 | 9 | let roundedStartTime = (startTime - (startTime % 3600)) | |
10 | 10 | let roundedEndTime = (endTime - (endTime % 3600)) | |
11 | 11 | ([StringEntry((toBase58String(i.transactionId) + "_owner"), toString(i.caller)), StringEntry((toBase58String(i.transactionId) + "_lat"), lat), StringEntry((toBase58String(i.transactionId) + "_long"), long), IntegerEntry((toBase58String(i.transactionId) + "_cost"), cost), IntegerEntry((toBase58String(i.transactionId) + "_slice"), 0), IntegerEntry((toBase58String(i.transactionId) + "_payoutTime"), (roundedEndTime + 3600)), IntegerEntry((toBase58String(i.transactionId) + "_availablePayout"), 0), IntegerEntry((toBase58String(i.transactionId) + "_blockedPayout"), 0), IntegerEntry((toBase58String(i.transactionId) + "_blockedPayout"), 0)] ++ createParkingSpotSlice(toBase58String(i.transactionId), roundedStartTime, roundedEndTime, 0)) | |
12 | 12 | } | |
13 | 13 | ||
14 | 14 | ||
15 | 15 | ||
16 | 16 | @Callable(i) | |
17 | 17 | func payoutParkingSpot (parkingSpotId) = { | |
18 | 18 | let parkingSpotPayoutTime = getIntegerValue(this, (parkingSpotId + "_payoutTime")) | |
19 | 19 | let owner = getStringValue(this, (parkingSpotId + "_owner")) | |
20 | 20 | let payedParkingSpot = getBoolean(this, (parkingSpotId + "_payed")) | |
21 | 21 | let availablePayout = getIntegerValue(this, (parkingSpotId + "_availablePayout")) | |
22 | 22 | let currentTime = lastBlock.timestamp | |
23 | 23 | if ((toString(i.caller) != owner)) | |
24 | 24 | then throw("caller does not match owner of parking spot") | |
25 | 25 | else if ((parkingSpotPayoutTime > ((currentTime / 1000) + 3600))) | |
26 | 26 | then throw("payout can only happen one hour after parking spot endtime") | |
27 | - | else [IntegerEntry((toBase58String(i.transactionId) + "_availablePayout"), 0), ScriptTransfer(i.caller, availablePayout, unit), BooleanEntry((parkingSpotId + "_payed"), true)] | |
27 | + | else if ((availablePayout == 0)) | |
28 | + | then throw("available payout is 0, skipping") | |
29 | + | else [IntegerEntry((toBase58String(i.transactionId) + "_availablePayout"), 0), ScriptTransfer(i.caller, availablePayout, unit), BooleanEntry((parkingSpotId + "_payed"), true)] | |
28 | 30 | } | |
29 | 31 | ||
30 | 32 | ||
31 | 33 | ||
32 | 34 | @Callable(i) | |
33 | 35 | func payoutParkingSpotSlice (parkingSpotId,slice) = { | |
34 | 36 | let parkingSpotStartTime = getIntegerValue(this, (((parkingSpotId + "_slice_") + toString(slice)) + "_startTime")) | |
35 | 37 | let parkingSpotEndTime = getIntegerValue(this, (((parkingSpotId + "_slice_") + toString(slice)) + "_endTime")) | |
36 | 38 | let parkingSpotPayoutTime = getIntegerValue(this, (parkingSpotId + "_payoutTime")) | |
37 | 39 | let costPerHour = getIntegerValue(this, (parkingSpotId + "_cost")) | |
38 | 40 | let sliceCost = ((costPerHour * (parkingSpotStartTime - parkingSpotEndTime)) / 3600) | |
39 | 41 | let owner = getStringValue(this, (parkingSpotId + "_owner")) | |
40 | 42 | let complaint = getString(this, (((parkingSpotId + "_slice_") + toString(slice)) + "_complaint")) | |
41 | 43 | let payedParkingSpotSlice = getBooleanValue(this, (((parkingSpotId + "_slice_") + toString(slice)) + "_payed")) | |
42 | 44 | let payedParkingSpot = getBoolean(this, (parkingSpotId + "_payed")) | |
43 | 45 | let availablePayout = getIntegerValue(this, (parkingSpotId + "_availablePayout")) | |
44 | 46 | let currentTime = lastBlock.timestamp | |
45 | 47 | if ((toString(i.caller) != owner)) | |
46 | 48 | then throw("caller does not match owner of parking spot") | |
47 | 49 | else if ((((currentTime / 1000) + 3600) > parkingSpotPayoutTime)) | |
48 | 50 | then throw("parking spot payout time is due, please cash out all slices at once") | |
49 | 51 | else if ((parkingSpotEndTime > ((currentTime / 1000) + 3600))) | |
50 | 52 | then throw("you have to wait one hour, until you can receive the payment for this slice") | |
51 | 53 | else if ((complaint != unit)) | |
52 | 54 | then throw("there is an active complaint, please resolve it first") | |
53 | 55 | else if ((payedParkingSpotSlice == true)) | |
54 | 56 | then throw("slice has already been payed, denying payment") | |
55 | 57 | else if ((payedParkingSpot == true)) | |
56 | 58 | then throw("whole parking spot has already been payed, denying payment") | |
57 | 59 | else [IntegerEntry((toBase58String(i.transactionId) + "_availablePayout"), (availablePayout - sliceCost)), ScriptTransfer(i.caller, sliceCost, unit), BooleanEntry((((parkingSpotId + "_slice_") + toString(slice)) + "_payed"), true)] | |
58 | 60 | } | |
59 | 61 | ||
60 | 62 | ||
61 | 63 | ||
62 | 64 | @Callable(i) | |
63 | 65 | func bookParkingSpotSlice (parkingSpotId,desiredSlice,startTime,endTime,renter) = { | |
64 | 66 | let payment = value(i.payments[0]) | |
65 | 67 | let bookedStartTime = (startTime - (startTime % 3600)) | |
66 | 68 | let bookedEndTime = (endTime - (endTime % 3600)) | |
67 | 69 | let parkingSpotStartTime = getIntegerValue(this, (((parkingSpotId + "_slice_") + toString(desiredSlice)) + "_startTime")) | |
68 | 70 | let parkingSpotEndTime = getIntegerValue(this, (((parkingSpotId + "_slice_") + toString(desiredSlice)) + "_endTime")) | |
69 | 71 | let existingSlice = getIntegerValue(this, (parkingSpotId + "_slice")) | |
70 | 72 | let costPerHour = getIntegerValue(this, (parkingSpotId + "_cost")) | |
71 | 73 | let totalCost = ((costPerHour * (bookedEndTime - bookedStartTime)) / 3600) | |
72 | 74 | let availablePayout = getIntegerValue(this, (parkingSpotId + "_availablePayout")) | |
73 | 75 | let existingRenter = getString(this, (((parkingSpotId + "_slice_") + toString(desiredSlice)) + "_renter")) | |
74 | 76 | if (!(isDefined(payment))) | |
75 | 77 | then throw("no payment defined") | |
76 | 78 | else if ((payment.assetId != unit)) | |
77 | 79 | then throw("payment should be in waves") | |
78 | 80 | else if ((payment.amount != totalCost)) | |
79 | 81 | then throw((((("payment does not match cost, got '" + toString(payment.amount)) + "' Waves, excpected: '") + toString(totalCost)) + "' Waves.")) | |
80 | 82 | else if (if ((parkingSpotStartTime > bookedStartTime)) | |
81 | 83 | then true | |
82 | 84 | else (bookedEndTime > parkingSpotEndTime)) | |
83 | 85 | then throw("time is out of range for parking spot") | |
84 | 86 | else if ((existingRenter != unit)) | |
85 | 87 | then throw("parking spot has already been booked") | |
86 | 88 | else if (if ((bookedStartTime == parkingSpotStartTime)) | |
87 | 89 | then (bookedEndTime == parkingSpotEndTime) | |
88 | 90 | else false) | |
89 | 91 | then [StringEntry((((parkingSpotId + "_slice_") + toString(desiredSlice)) + "_renter"), renter), IntegerEntry((toBase58String(i.transactionId) + "_availablePayout"), (availablePayout + totalCost))] | |
90 | 92 | else if (if ((bookedStartTime == parkingSpotStartTime)) | |
91 | 93 | then (bookedEndTime != parkingSpotEndTime) | |
92 | 94 | else false) | |
93 | 95 | then ([StringEntry((((parkingSpotId + "_slice_") + toString(desiredSlice)) + "_renter"), renter), IntegerEntry((((parkingSpotId + "_slice_") + toString(desiredSlice)) + "_startTime"), bookedStartTime), IntegerEntry((((parkingSpotId + "_slice_") + toString(desiredSlice)) + "_endTime"), bookedEndTime), IntegerEntry((parkingSpotId + "_slice"), (existingSlice + 1)), IntegerEntry((toBase58String(i.transactionId) + "_availablePayout"), (availablePayout + totalCost))] ++ createParkingSpotSlice(parkingSpotId, bookedEndTime, parkingSpotEndTime, (existingSlice + 1))) | |
94 | 96 | else if (if ((bookedEndTime == parkingSpotEndTime)) | |
95 | 97 | then (bookedStartTime != parkingSpotStartTime) | |
96 | 98 | else false) | |
97 | 99 | then ([StringEntry((((parkingSpotId + "_slice_") + toString(desiredSlice)) + "_renter"), renter), IntegerEntry((((parkingSpotId + "_slice_") + toString(desiredSlice)) + "_startTime"), bookedStartTime), IntegerEntry((((parkingSpotId + "_slice_") + toString(desiredSlice)) + "_endTime"), bookedEndTime), IntegerEntry((parkingSpotId + "_slice"), (existingSlice + 1)), IntegerEntry((toBase58String(i.transactionId) + "_availablePayout"), (availablePayout + totalCost))] ++ createParkingSpotSlice(parkingSpotId, parkingSpotStartTime, bookedStartTime, (existingSlice + 1))) | |
98 | 100 | else (([StringEntry((((parkingSpotId + "_slice_") + toString(desiredSlice)) + "_renter"), renter), IntegerEntry((((parkingSpotId + "_slice_") + toString(desiredSlice)) + "_startTime"), bookedStartTime), IntegerEntry((((parkingSpotId + "_slice_") + toString(desiredSlice)) + "_endTime"), bookedEndTime), IntegerEntry((parkingSpotId + "_slice"), (existingSlice + 2)), IntegerEntry((toBase58String(i.transactionId) + "_availablePayout"), (availablePayout + totalCost))] ++ createParkingSpotSlice(parkingSpotId, parkingSpotStartTime, bookedStartTime, (existingSlice + 1))) ++ createParkingSpotSlice(parkingSpotId, bookedEndTime, parkingSpotEndTime, (existingSlice + 2))) | |
99 | 101 | } | |
100 | 102 | ||
101 | 103 | ||
104 | + | ||
105 | + | @Callable(i) | |
106 | + | func uploadImage (parkingSpotId) = { | |
107 | + | let parkingSpotPayoutTime = getIntegerValue(this, (parkingSpotId + "_payoutTime")) | |
108 | + | let owner = getStringValue(this, (parkingSpotId + "_owner")) | |
109 | + | let payedParkingSpot = getBoolean(this, (parkingSpotId + "_payed")) | |
110 | + | let availablePayout = getIntegerValue(this, (parkingSpotId + "_availablePayout")) | |
111 | + | let currentTime = lastBlock.timestamp | |
112 | + | if ((toString(i.caller) != owner)) | |
113 | + | then throw("caller does not match owner of parking spot") | |
114 | + | else if ((parkingSpotPayoutTime > ((currentTime / 1000) + 3600))) | |
115 | + | then throw("payout can only happen one hour after parking spot endtime") | |
116 | + | else [IntegerEntry((toBase58String(i.transactionId) + "_availablePayout"), 0), ScriptTransfer(i.caller, availablePayout, unit), BooleanEntry((parkingSpotId + "_payed"), true)] | |
117 | + | } | |
118 | + | ||
119 | + | ||
102 | 120 | @Verifier(tx) | |
103 | 121 | func verify () = sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey) | |
104 | 122 |
github/deemru/w8io/026f985 39.31 ms ◑