Skip to content

Commit

Permalink
crates(orderbook): add missing Erc20ToErc1155 and Erc1155ToErc20
Browse files Browse the repository at this point in the history
  • Loading branch information
ptisserand committed Nov 26, 2024
1 parent 60d33cc commit 1e101c2
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions crates/orderbook/src/events/order_placed.rs
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,14 @@ abigen!(
{
"name": "Erc721ToErc20",
"type": "()"
},
{
"name": "Erc20ToErc1155",
"type": "()"
},
{
"name": "Erc1155ToErc20",
"type": "()"
}
]
},
Expand Down Expand Up @@ -204,6 +212,8 @@ impl From<&RouteType> for crate::RouteType {
match value {
RouteType::Erc20ToErc721 => crate::RouteType::Erc20ToErc721,
RouteType::Erc721ToErc20 => crate::RouteType::Erc721ToErc20,
RouteType::Erc20ToErc1155 => crate::RouteType::Erc20ToErc1155,
RouteType::Erc1155ToErc20 => crate::RouteType::Erc1155ToErc20,
}
}
}
Expand Down

0 comments on commit 1e101c2

Please sign in to comment.