Description
We need the DEX to support depositing arbitrary ERC-1155 tokens from the EVM side of the virtual machine environment.
Definition of "Done"
Can deposit an ERC-1155 tokens and trade as a limit order on the DEX.
Suggested Solution
Connect the DEX via the XVM or precompiles to a smart contract on the EVM. Have the contract implement the ERC-1155 Receiver interface. That way users can deposit into the DEX by simply transferring their tokens to the DEX smart contract.
Description
We need the DEX to support depositing arbitrary ERC-1155 tokens from the EVM side of the virtual machine environment.
Definition of "Done"
Can deposit an ERC-1155 tokens and trade as a limit order on the DEX.
Suggested Solution
Connect the DEX via the XVM or precompiles to a smart contract on the EVM. Have the contract implement the ERC-1155 Receiver interface. That way users can deposit into the DEX by simply transferring their tokens to the DEX smart contract.