+ message={`Please ensure the qualifying eToken transactions to airdrop recipients have at least one confirmation. The airdrop 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}
+ onChange={e =>
+ handleTokenIdInput(e)
+ }
+ />
+ </Form.Item>
+ <Form.Item
+ validateStatus={
+ totalDividendIsValid === null ||
+ totalDividendIsValid
+ ? ''
+ : 'error'
+ }
+ help={
+ totalDividendIsValid === null ||
+ totalDividendIsValid
+ ? ''
+ : 'Invalid total XEC airdrop'
+ }
+ >
+ <Input
+ addonBefore="Total XEC airdrop"
+ placeholder="Enter the total XEC airdrop"
+ name="totalDividend"
+ type="number"
+ value={totalDividend}
+ onChange={e =>
+ handleTotalDividendInput(e)
+ }
+ />
+ </Form.Item>
+ <Form.Item>
+ <SmartButton
+ onClick={() =>
+ calculateXecDividend()
+ }
+ disabled={!dividendCalcInputIsValid}
+ >
+ Calculate Pro-Rata Airdrop
+ </SmartButton>
+ </Form.Item>
+ {showDividendOutputs && (
+ <>
+ {!dividendOutputIsValid &&
+ etokenHolders > 0 && (
+ <>
+ <Alert
+ description={
+ 'At least one airdrop is below the minimum ' +
+ fromSmallestDenomination(
+ currency.dustSats,
+ ) +
+ ' XEC dust. Please increase the total XEC airdrop.'