+ message={`Please ensure the qualifying eToken transactions to dividend recipients have at least one confirmation. The dividend calculator will not detect unconfirmed token balances.`}
+ type="warning"
+ />
+ <br />
+ <AntdFormWrapper>
+ <Form
+ style={{
+ width: 'auto',
+ }}
+ >
+ <Form.Item
+ validateStatus={
+ tokenIdIsValid === null ||
+ tokenIdIsValid
+ ? ''
+ : 'error'
+ }
+ help={
+ tokenIdIsValid === null ||
+ tokenIdIsValid
+ ? ''
+ : 'Invalid eToken ID'
+ }
+ >
+ <Input
+ addonBefore="eToken ID"
+ placeholder="Enter the eToken ID"
+ name="tokenId"
+ value={tokenId}
+ autoComplete="off"
+ onChange={e =>
+ handleTokenIdInput(e)
+ }
+ />
+ </Form.Item>
+ <Form.Item
+ validateStatus={
+ totalDividendIsValid === null ||
+ totalDividendIsValid
+ ? ''
+ : 'error'
+ }
+ help={
+ totalDividendIsValid === null ||
+ totalDividendIsValid
+ ? ''
+ : 'Invalid total XEC dividend'
+ }
+ >
+ <Input
+ addonBefore="Total XEC Dividend"
+ placeholder="Enter the total XEC dividend"
+ name="totalDividend"
+ type="number"
+ value={totalDividend}
+ onPaste={handlePaste}
+ autoComplete="off"
+ onChange={e =>
+ handleTotalDividendInput(e)
+ }
+ />
+ </Form.Item>
+ <Form.Item>
+ One to Many Dividend Payment Outputs
+ <TextArea
+ name="dividendRecipients"
+ placeholder="Please input parameters above."
+ value={dividendRecipients}
+ rows="10"
+ readOnly
+ />
+ </Form.Item>
+ {!dividendOutputIsValid &&
+ etokenHolders > 0 ? (
+ <Alert
+ description={
+ 'At least one dividend is below the minimum ' +
+ fromSmallestDenomination(
+ currency.dustSats,
+ ) +
+ ' XEC dust. Please increase the total XEC dividend.'