@@ -23,7 +23,7 @@ abstract contract RecipeMarketHubBase is Owned, ReentrancyGuardTransient {
2323 address public immutable POINTS_FACTORY;
2424
2525 /// @notice The minimum percent you can fill an AP offer with, to prevent griefing attacks
26- uint256 public constant MIN_FILL_PERCENT = 0.10e18 ; // == 10%
26+ uint256 public constant MIN_FILL_PERCENT = 0.1e18 ; // == 10%
2727
2828 /// @dev The minimum quantity of tokens for an offer
2929 uint256 internal constant MINIMUM_QUANTITY = 1e6 ;
@@ -148,6 +148,7 @@ abstract contract RecipeMarketHubBase is Owned, ReentrancyGuardTransient {
148148
149149 /// @param offerID Set to numAPOffers (zero-indexed) - ordered separately for AP and IP offers
150150 /// @param marketHash The hash of the weiroll market which the AP offer is for
151+ /// @param ap The address of the AP that created this offer.
151152 /// @param fundingVault The address of the vault where the input tokens will be withdrawn from
152153 /// @param quantity The total amount of input tokens to be deposited
153154 /// @param incentiveAddresses The requested rewards
@@ -156,6 +157,7 @@ abstract contract RecipeMarketHubBase is Owned, ReentrancyGuardTransient {
156157 event APOfferCreated (
157158 uint256 indexed offerID ,
158159 bytes32 indexed marketHash ,
160+ address indexed ap ,
159161 address fundingVault ,
160162 uint256 quantity ,
161163 address [] incentiveAddresses ,
@@ -166,16 +168,18 @@ abstract contract RecipeMarketHubBase is Owned, ReentrancyGuardTransient {
166168 /// @param offerID Set to numIPOffers (zero-indexed) - ordered separately for AP and IP offers
167169 /// @param offerHash Set to the hash of the offer (used to identify IP offers)
168170 /// @param marketHash The hash of the weiroll market which the IP offer is for
171+ /// @param ip The address of the IP that created this offer.
169172 /// @param quantity The total amount of input tokens to be deposited
170173 /// @param incentivesOffered The offered rewards
171174 /// @param incentiveAmounts The offered rewards per input token
172175 /// @param protocolFeeAmounts The offered rewards protocol fee per input token
173176 /// @param frontendFeeAmounts The offered rewards frontend fee per input token
174177 /// @param expiry The timestamp after which the offer is considered expired
175178 event IPOfferCreated (
176- uint256 indexed offerID ,
179+ uint256 offerID ,
177180 bytes32 indexed offerHash ,
178181 bytes32 indexed marketHash ,
182+ address indexed ip ,
179183 uint256 quantity ,
180184 address [] incentivesOffered ,
181185 uint256 [] incentiveAmounts ,
@@ -185,13 +189,15 @@ abstract contract RecipeMarketHubBase is Owned, ReentrancyGuardTransient {
185189 );
186190
187191 /// @param offerHash Hash of the offer (used to identify IP offers)
192+ /// @param ap The address of the AP that filled this offer.
188193 /// @param fillAmount The amount of the offer that was filled in the market input token
189194 /// @param weirollWallet The address of the weiroll wallet containing the AP's funds, created on fill, used to execute the recipes
190195 /// @param incentiveAmounts The amount of incentives allocated to the AP on fill (claimable as per the market's reward type)
191196 /// @param protocolFeeAmounts The protocol fee per incentive on fill (claimable as per the market's reward type)
192197 /// @param frontendFeeAmounts The rewards frontend fee per incentive on fill (claimable as per the market's reward type)
193198 event IPOfferFilled (
194199 bytes32 indexed offerHash ,
200+ address indexed ap ,
195201 uint256 fillAmount ,
196202 address weirollWallet ,
197203 uint256 [] incentiveAmounts ,
@@ -200,13 +206,15 @@ abstract contract RecipeMarketHubBase is Owned, ReentrancyGuardTransient {
200206 );
201207
202208 /// @param offerID The ID of the AP offer filled
209+ /// @param ip The address of the IP that filled this offer.
203210 /// @param fillAmount The amount of the offer that was filled in the market input token
204211 /// @param weirollWallet The address of the weiroll wallet containing the AP's funds, created on fill, used to execute the recipes
205212 /// @param incentiveAmounts The amount of incentives allocated to the AP on fill (claimable as per the market's reward type)
206213 /// @param protocolFeeAmounts The amount taken as the protocol fee per incentive on fill (claimable as per the market's reward type)
207214 /// @param frontendFeeAmounts The amount taken as the frontend fee per incentive on fill (claimable as per the market's reward type)
208215 event APOfferFilled (
209216 uint256 indexed offerID ,
217+ address indexed ip ,
210218 uint256 fillAmount ,
211219 address weirollWallet ,
212220 uint256 [] incentiveAmounts ,
0 commit comments