StrategyStandardSaleForFixedPrice
Last updated
Last updated
Strategy that executes an order at a fixed price that can be taken either by a bid or an ask.
Returns
Name | Type | Description |
---|---|---|
Check whether a taker ask order can be executed against a maker bid
Parameters
Name | Type | Description |
---|---|---|
Returns
Name | Type | Description |
---|---|---|
Check whether a taker bid order can be executed against a maker ask
Parameters
Returns
Return protocol fee for this strategy
Returns
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
PROTOCOL_FEE
uint256
protocol fee (e.g., 200 = 2%)
takerAsk
OrderTypes.TakerOrder
taker ask order
makerBid
OrderTypes.MakerOrder
maker bid order
isValid
bool
whether strategy can be executed, tokenId to execute, amount of tokens to execute
price
uint256
price of the transaction
amount
uint256
amount of tokens to transfer
takerBid
OrderTypes.TakerOrder
taker bid order
makerAsk
OrderTypes.MakerOrder
maker ask order
isValid
bool
whether strategy can be executed, tokenId to execute, amount of tokens to execute
price
uint256
price of the transaction
amount
uint256
amount of tokens to transfer
protocolFee
uint256
protocol fee