Skip to content

contract.ExchangeOrdersHolderV1

Aleksey Bykhun edited this page Jan 18, 2023 · 1 revision

ExchangeOrdersHolderV1

Git Source

State Variables

orders

mapping(bytes32 => OrderParams) internal orders;

Functions

add

function add(ExchangeDomainV1.Order calldata order) external;

exists

function exists(ExchangeDomainV1.Order calldata order) external view returns (bool);

prepareKey

function prepareKey(ExchangeDomainV1.Order memory order) internal pure returns (bytes32);

Structs

OrderParams

struct OrderParams {
    uint256 selling;
    uint256 buying;
    uint256 sellerFee;
}
Clone this wiki locally