-- ----------------------------------------------------------------------------
-- Withdrawals within transactions (era-dependent)
--
data TxWithdrawals build era where
TxWithdrawalsNone :: TxWithdrawals build era
TxWithdrawals :: WithdrawalsSupportedInEra era
-> [(StakeAddress, Lovelace,
BuildTxWith build (Witness WitCtxStake era))]
-> TxWithdrawals build era
deriving instance Eq (TxWithdrawals build era)
deriving instance Show (TxWithdrawals build era)