Skip to content

Commit

Permalink
feat: Add rollup-v2 support for ERC1155 single and batch deposit form…
Browse files Browse the repository at this point in the history
…. [TO-BE-FIXUP]
  • Loading branch information
brunomenezes committed Dec 5, 2024
1 parent a684460 commit ac672be
Show file tree
Hide file tree
Showing 10 changed files with 1,102 additions and 595 deletions.
10 changes: 5 additions & 5 deletions apps/web/src/components/sendTransaction.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ type ApplicationSearchableParams = {
};

const SendTransaction: FC<DepositProps> = ({
initialDepositType = "relay",
initialDepositType = "erc1155Batch",
}) => {
const [depositType, setDepositType] =
useState<DepositType>(initialDepositType);
Expand Down Expand Up @@ -207,19 +207,19 @@ const SendTransaction: FC<DepositProps> = ({
<ERC1155DepositForm
mode="single"
tokens={multiTokens}
applications={applicationAddressList}
applications={applications}
isLoadingApplications={fetching}
onSearchApplications={setOldApplicationCB}
onSearchApplications={updateApplicationSearchParams}
onSearchTokens={setMultiTokenId}
onSuccess={onSuccess}
/>
) : depositType === "erc1155Batch" ? (
<ERC1155DepositForm
mode="batch"
tokens={multiTokens}
applications={applicationAddressList}
applications={applications}
isLoadingApplications={fetching}
onSearchApplications={setOldApplicationCB}
onSearchApplications={updateApplicationSearchParams}
onSearchTokens={setMultiTokenId}
onSuccess={onSuccess}
/>
Expand Down
Loading

0 comments on commit ac672be

Please sign in to comment.