2022-03-31 22:16:43 +02:00
|
|
|
@page "/step4"
|
|
|
|
@inherits Step4Component
|
|
|
|
|
2022-04-04 01:38:53 +02:00
|
|
|
@if (TransactionHash == null)
|
|
|
|
{
|
|
|
|
<TextWithIcon Text="Minting is in progress... Please wait." Icon="loading-3-quarters" Color="blue" Level="4" />
|
|
|
|
}
|
|
|
|
else if (TransactionHash.Value.IsSuccess)
|
2022-03-31 22:16:43 +02:00
|
|
|
{
|
|
|
|
<Result Status="success"
|
2022-04-04 01:38:53 +02:00
|
|
|
Title="Transaction was successfully created!"
|
2022-03-31 22:16:43 +02:00
|
|
|
SubTitle="@($"Transaction: {TransactionHash}. Please wait for 1-5 minutes till transaction is completed.")">
|
|
|
|
<Extra>
|
2022-04-04 01:38:53 +02:00
|
|
|
<Button Type="primary" OnClick="@Reset">Start new mint</Button>
|
2022-03-31 22:16:43 +02:00
|
|
|
</Extra>
|
|
|
|
</Result>
|
|
|
|
}
|
|
|
|
else
|
|
|
|
{
|
2022-04-04 01:38:53 +02:00
|
|
|
<Result Status="error"
|
|
|
|
Title="Failed to create transaction"
|
|
|
|
SubTitle="@("Please ensure that you approve created transactions in Metamask")">
|
|
|
|
<Extra>
|
|
|
|
<Button Type="primary" OnClick="@Retry">Try again</Button>
|
|
|
|
</Extra>
|
|
|
|
</Result>
|
2022-03-31 22:16:43 +02:00
|
|
|
}
|