EthRouter
Inherits: ERC721TokenReceiver
Author: out.eth (@outdoteth)
This contract is used to route buy, sell, and change orders to multiple pools in one transaction. It will route the orders to either a private pool or a public pool. If the order goes to a public pool, then users can choose whether or not they would like to pay royalties. The only base token which is supported is native ETH.
State Variables
royaltyRegistry
Functions
receive
constructor
buy
Executes a series of buy operations against public or private pools.
Parameters
sell
Executes a series of sell operations against public or private pools.
Parameters
deposit
Executes a deposit to a private pool (transfers NFTs and ETH to the pool).
Parameters
change
Executes a series of change operations against a private pool.
Parameters
getRoyalty
Gets the royalty and recipient for a given NFT and sale price. Looks up the royalty info from the manifold registry.
Parameters
Returns
Errors
DeadlinePassed
OutputAmountTooSmall
PriceOutOfRange
InvalidRoyaltyFee
Structs
Buy
Sell
Change
Last updated