-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathIBidMarket.sol
35 lines (23 loc) · 1.03 KB
/
IBidMarket.sol
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
// SPDX-License-Identifier: UNLICENSED
pragma solidity ^0.8.0;
import { BidInputParams } from "../../FukuTypes.sol";
interface IBidMarket {
event BidEntered(
uint256 bidId,
uint256 amount,
bytes12 vaultName,
address indexed nft,
uint256 indexed nftIndex,
address indexed bidder
);
event BidAccepted(uint256 bidId, address indexed bidder, address indexed seller, uint256 bidAmount);
event BidWithdrawn(uint256 bidId, address indexed bidder);
event BidModified(uint256 bidId, uint256 amount);
function placeBid(BidInputParams calldata bidInputParams) external;
function placeMultipleBids(BidInputParams[] calldata bidInputParams) external;
function modifyBid(uint256 bidId, uint256 amount) external;
function modifyMultipleBids(uint256[] calldata bidIds, uint256[] calldata amounts) external;
function withdrawBid(uint256 bidId) external;
function withdrawMultipleBids(uint256[] calldata bidIds) external;
function acceptBid(uint256 bidId) external;
}