|
1 | 1 | // SPDX-License-Identifier: MIT
|
2 | 2 | pragma solidity >=0.8.7;
|
3 | 3 |
|
4 |
| -import { BaseMarketConfig } from "../../BaseMarketConfig.sol"; |
5 |
| -import { TestCallParameters, TestOrderContext, TestOrderPayload, TestItem721, TestItem1155, TestItem20 } from "../../Types.sol"; |
| 4 | +import {BaseMarketConfig} from "../../BaseMarketConfig.sol"; |
| 5 | +import {TestCallParameters, TestOrderContext, TestOrderPayload, TestItem721, TestItem1155, TestItem20} from "../../Types.sol"; |
6 | 6 | import "./lib/ConsiderationStructs.sol";
|
7 | 7 | import "./lib/ConsiderationTypeHashes.sol";
|
8 |
| -import { ConsiderationInterface as ISeaport } from "./interfaces/ConsiderationInterface.sol"; |
| 8 | +import {ConsiderationInterface as ISeaport} from "./interfaces/ConsiderationInterface.sol"; |
9 | 9 |
|
10 | 10 | contract SeaportConfig is BaseMarketConfig, ConsiderationTypeHashes {
|
11 | 11 | function name() external view virtual override returns (string memory) {
|
12 |
| - return "Seaport"; |
| 12 | + return "Seaport"; |
13 | 13 | }
|
14 | 14 |
|
15 | 15 | ISeaport internal constant seaport =
|
@@ -53,7 +53,8 @@ contract SeaportConfig is BaseMarketConfig, ConsiderationTypeHashes {
|
53 | 53 | basicComponents.basicOrderType = BasicOrderType(uint256(routeType) * 4);
|
54 | 54 | basicComponents.totalOriginalAdditionalRecipients = 0;
|
55 | 55 | bytes32 digest = _deriveEIP712Digest(_deriveOrderHash(components, 0));
|
56 |
| - bytes memory signature = _sign(offerer, digest); |
| 56 | + (uint8 v, bytes32 r, bytes32 s) = _sign(offerer, digest); |
| 57 | + bytes memory signature = abi.encodePacked(r, s, v); |
57 | 58 | basicComponents.signature = (order.signature = signature);
|
58 | 59 | }
|
59 | 60 |
|
|
0 commit comments